search for: unraveling

Displaying 20 results from an estimated 70 matches for "unraveling".

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: " + # ??? puts "Aliases: " + # ??? puts "Number: "
2008 Jun 10
7
Unraveling a FAR*
Hi all, Just looking over fole_s_connect() in win32ole.c and I noticed this bit: hr = CLSIDFromProgID(pBuf, &clsid); ... hr = GetActiveObject(&clsid, 0, &pUnknown); ... hr = pUnknown->lpVtbl->QueryInterface( pUnknown, &IID_IDispatch, (void **)&pDispatch ); Using win32-api, that would be something like: IID_IUnknown =
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 proper...
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
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
2013 Jan 22
2
[LLVMdev] mips16 whitepaper
On 01/21/2013 03:28 PM, Sean Silva wrote: > Please add this to <http://llvm.org/docs/CompilerWriterInfo.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
2004 Jan 08
1
[LLVMdev] Re: idea 10
Hi Valery, Valery A.Khamenya wrote: >>To me this appears more as an algorithmic design issue, this function >>could be rewritten in "continuation passing style", and each >>continuation could be distributed by a load-balancing strategy to the >>computers sharing CPU resources. Using mechanisms such as "futures" (as >>in Mozart) allows to do
2009 Feb 19
0
[LLVMdev] Improving performance with optimization passes
Hi Jon, On 2009-02-19, at 14:00, Jon Harrop wrote: > I'm toying with benchmarks on my HLVM and am unable to get any > performance improvement from optimization passes. I simply copied > the use of PassManager from the Kaleidoscope tutorial: > > Any idea what I might be doing wrong? Has anyone else got this > functionality giving performance boosts from OCaml?
2004 Jul 27
1
Samba 3.0.5 cannot mount Windows 2003 shares
I'm having a real hair-raising problem here and I thought maybe someone could help. At least I hope so. My workstation was running 3.0.2a, upgraded to 3.0.5. After upgrading to 3.0.5, I can no longer mount shares on my 2003 server. This started happening on an upgrade to 3.0.4 as well, I might add. Permissions-wise: I own the directory mounts on the local Linux workstation,
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 to...
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
On Thursday 19 February 2009 19:32:14 Gordon Henriksen wrote: > Hi Jon, > > On 2009-02-19, at 14:00, Jon Harrop wrote: > > I'm toying with benchmarks on my HLVM and am unable to get any > > performance improvement from optimization passes. I simply copied > > the use of PassManager from the Kaleidoscope tutorial: > > > > Any idea what I might be doing
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