Displaying 20 results from an estimated 70 matches for "unravel".
Did you mean:
travel
2008 Jun 07
2
Unraveling a protoent struct
I''m spacing - how do I unravel a protent struct pointer?
require ''win32/api''
include Win32
getprotobyname = API.new(''getprotobyname'', ''P'', ''P'', ''ws2_32'')
ptr = getprotobyname.call(''tcp'')
puts "Name: " + # ???...
2008 Jun 10
7
Unraveling a FAR*
...thing like:
IID_IUnknown = [0,0,0,192,0,0,0,0,0,0,70].pack(''ISSCCCCCCCC'')
clsid = 0.chr * 16
unknown = 0.chr * IID_IUnknown.size
hr = CLSIDFromProgID(multi_to_wide(server), clsid)
...
GetActiveObject(clsid, nil, unknown)
...
???
And here is where I''m stuck. How do I unravel a pointer to a struct and
then call a function on it? What is the equivalent of
pUnknown->lpVtbl->QueryInterface() ?
BTW, the prototype for GetActiveObject is:
HRESULT GetActiveObject(
REFCLSID rclsid,
void FAR* pvReserved,
IUnknown FAR* FAR* ppunk
);
Thanks,
Dan
T...
2008 Apr 16
8
Will acts_as_taggable_on_steroids and better_nested_set work together?
I am having this crazy problem where it ONLY shows up in testing.
This is my test code
<code>
def test_should_destroy
task1 = Task.new(:description => "tmp",
:done => false,
:user => User.find_by_login(''admin''))
assert task1.save
assert task1.destroy
end
</code>
This is my task model
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
...#39;'s deprecated, but people seem to still be using
win32-changenotify, so I thought I''d see if I could make it pure Ruby.
Also, I thought it would be a good opportunity to test passing a custom
Win32::Event object.
I''m mostly done I think, but I''m having trouble unraveling the
FILE_NOTIFY_INFORMATION struct buffer. Please check out the latest
lib/win32/changenotify.rb from CVS and take a look at both the custom
wait method and the get_file_action private method.
The notification is clearly getting picked up, but I''m just not
unraveling the struct pro...
2005 May 28
4
bitopts functions overflowing page boundarys
u.inuse.type_info is at the end of the pfn_info structure, and is
u32 for both x86_32 and x86_64--in this location it can also be the
last 32 bits of a page.
several functions use bitopts.h functions to manipulate this member, and
on x86_64 these functions use u64 instructions, which will overflow the
page boundary, and possibly the end of memory as we see here:
(XEN)
2011 Mar 24
0
[LLVMdev] Reversing a function's CFG?
This is in reply to the posting below.
I am not a compiler writer type, so I am probably in over my head a bit.
Several years ago I was a bit interested in something called code slicers.
An example of one (probably no longer supported) is UNRAVEL
(http://www.itl.nist.gov/div897/sqg/unravel/unravel.html )
Their basic idea is to identify the algorithm which serves to determine the
value of variable at a specific location in the code.
That is they seek to determine all the paths which influence a computation
result. They do not make any assum...
2004 Aug 06
2
Shout: "couldn't connect"
I am running Icecast 1.3.12-debian, with libshout 2.0 and Shout 2.0.1. When I
run example.pl in the Shout build directory directory, I get the error
"couldn't connect..." I'm not sure where to look to unravel this error. Icecast
is working fine and streaming static files smoothly.
2007 May 05
1
rsync --delete-existing needed
Hi,
I made the mistake of doing an rsync of a directory into the wrong
destination,
so that the destination became a mix of two directories of unrelated files.
Top unravel the mess, I could need something like a --delete-existing
option.
The semantics would be to delete at the destination ONLY those files that
exists at the
source.
I tried to concoct a combination of options that would do this, but without
success. I thought someone here might know the answer. O...
2013 Jan 22
2
[LLVMdev] mips16 whitepaper
...nfo.html>
> (docs/CompilerWriterInfo.rst)
>
> -- Sean Silva
I will. I owe a very long mips16 write up , especially for floating
point when I'm done.
It's very complicated the way they implemented hard float in gcc and it
is not documented.
It took me some thinking and study to unravel it all. They do different
things for pic/non pic
and the interoperability with mips32 is what makes in complicated.
I have come up with another totally different way to implement floating
point in mips16 which I hope
to have time to do in the future. It's probably about 2 months work but
ma...
2004 Jan 08
1
[LLVMdev] Re: idea 10
...em I see is that the Fibonacci function you propose only fits
to a particular domain of "distributed computing", and does not cover
the broad range of needs that arise in distributed computing. As I
presented in an earlier post, parallelization can be implemented in many
ways, and can unravel many issues.
Anyway, I'm curious to see how the Fibonacci function could be
optimized. What kind of optimizations would you propose ?
-- Se'bastien
2009 Feb 19
0
[LLVMdev] Improving performance with optimization passes
...(e.g.
> alloca a struct, store a struct into it and read only one field
> without using the rest of the struct) and this does not appear to be
> optimized away.
I think first-class aggregates are mostly used for passing arguments
in llvm-gcc and clang; maybe mem2reg can't see unravel the loads. Have
you tried emitting loads and stores of the scalar elements to see if
mem2reg can eliminate the allocas then?
— Gordon
P.S. This is not a trivial problem domain. Here's an interesting paper
on the subject.
COLE: Compiler Optimization Level Exploration
http://users.elis.u...
2004 Jul 27
1
Samba 3.0.5 cannot mount Windows 2003 shares
...o fails with the same error if I try to do a "mount -t cifs
yadda yadda".
I have SMB signing disabled on the 2003 server and this was working fine
until the upgrade to 3.0.4 and now 3.0.5. I've spent the better part of
two days trying to figure out what's going on, but cannot unravel it.
Can anyone here give me some pointers on what I can check?
Thanks in advance.
--JM
2004 Jun 01
1
include directory and all files under
Sorry, but it seems everytime I setup a different rsync operation
(client only) I end up here unraveling the include/exclude stuff I
need.
The documentation is quite good but I guess the subject is just quite
a bit to chew.
To cut to the chase:
I want to sync up my own snapshot repository of openbsd. The basic
install files. They reside at:
rsync://carroll.cac.psu.edu/openbsd/snapshots/i386...
2004 Jan 08
0
[LLVMdev] Re: idea 10
Hello Se'bastien,
> I'm not sure to correctly understand what you mean, but I interpret it
> as LLVM deciding where the code should be executed, like some
> load-balancing strategy.
in this particular example it was really like that.
However I've tried to emphasize as well, that a decision
"where to execute" is strongly connected with
LLVM optimizations, which
2013 Sep 17
0
[LLVMdev] [RFC] Internal command line options should not be statically initialized.
...tandard passes will be initialized up front. The problem would be with plugins using -load, but I fail to see how that can work with -help today anyway.
>
Guess so. Seems weird, especially for slightly buggy cases like debug
info where most things happen during initialization. (Unfortunate, but
unraveling it is a pretty big project at the moment)
-eric
> -Andy
>
>>
>> -eric
>>
>>
>> On Tue, Sep 17, 2013 at 10:10 AM, Andrew Trick <atrick at apple.com> wrote:
>>> LLVM's internal command line library needs to evolve. We have an immediate need...
2004 Jun 22
3
Regression Modeling query
Hi All
I received a raw data set with one record per tennis player (both male and
female) and then i cured it by aggregation i.e by 4 age groups, 2 gender
levels and 6 income levels. Gender and Income are categorical variables.
Please advise me how to use 'R' to model this data set (Actually, i want to
know the right regression technique and steps to do that, including removing
2013 Sep 17
3
[LLVMdev] [RFC] Internal command line options should not be statically initialized.
On Sep 17, 2013, at 10:31 AM, Eric Christopher <echristo at gmail.com> wrote:
> Hi Andy,
>
> I definitely agree with the desire to remove command line options and
> having them be initialized as part of the pass would be general
> goodness. However, a few possible issues:
>
> a) a number of command line options aren't really connected to passes
> per-se
2009 Feb 19
1
[LLVMdev] Improving performance with optimization passes
...ca a struct, store a struct into it and read only one field
> > without using the rest of the struct) and this does not appear to be
> > optimized away.
>
> I think first-class aggregates are mostly used for passing arguments
> in llvm-gcc and clang; maybe mem2reg can't see unravel the loads. Have
> you tried emitting loads and stores of the scalar elements to see if
> mem2reg can eliminate the allocas then?
If I could do that I wouldn't be in this mess! ;-)
I am only generating these temporary structs on the stack because I cannot
load and store struct elements...
2013 Jan 21
2
[LLVMdev] mips16 whitepaper
I found this the other day while surfing the web. For those wanting to
understand about Mips 16, it's a very easy and quick read. If you
already understand Mips, it will make the llvm Mips16 port much easier
to understand. It has just the overview information one needs. Of course
full Mips 16 documentation is available at Mips.com.
-------------- next part --------------
A non-text
2013 Jan 21
0
[LLVMdev] mips16 whitepaper
Please add this to <http://llvm.org/docs/CompilerWriterInfo.html>
(docs/CompilerWriterInfo.rst)
-- Sean Silva