search for: getresourc

Displaying 17 results from an estimated 17 matches for "getresourc".

Did you mean: getresource
2007 Jul 24
2
Mocking Resolv::DNS?
Hello Rspecers, I have a rails project where I am calling Resolv::DNS.open and then using the block to check a domain name. The code snippet in question is: domain = "mytest.com" Resolv::DNS.open do |dns| @mx = dns.getresources(domain, Resolv::DNS::Resource::IN::MX) end I obviously want to stub this out, especially for speed but can''t quite work out how. I have done: >From what I can tell, Resolv::DNS first is receiving :open and it will then be yielding instances of Resolv::DNS to be using inside the...
2016 Jul 28
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...ich logical dylib contains our symbol + auto LDI = LogicalDylibs.begin(); + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) { + if (auto LMResources = LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) { + Module &SrcM = LMResources->SourceModule->getResource(); + std::string CalledFnName = mangle(FuncName, SrcM.getDataLayout()); + if (auto EC = LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) { + return 0; + } + else + return FnBodyAddr; + } + } +...
2007 May 23
1
java packages - tomcat5?
Have the jpackage-packaged things like tomcat5 been moved into the disto repositories? Do they work with sun java? In particular, tomcat5 used to require jta. The one yum installs doesn't mention it now, but it also doesn't work with sun java 1.5 installed the jpackage way. What am I missing? -- Les Mikesell lesmikesell at gmail.com
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...s our symbol > + auto LDI = LogicalDylibs.begin(); > + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) { > + if (auto LMResources = > LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) { > + Module &SrcM = LMResources->SourceModule->getResource(); > + std::string CalledFnName = mangle(FuncName, > SrcM.getDataLayout()); > + if (auto EC = > LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) { > + return 0; > + } > + else > +...
2016 Jul 29
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...; + auto LDI = LogicalDylibs.begin(); >> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) { >> + if (auto LMResources = >> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) { >> + Module &SrcM = LMResources->SourceModule->getResource(); >> + std::string CalledFnName = mangle(FuncName, >> SrcM.getDataLayout()); >> + if (auto EC = >> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) { >> + return 0; >> + } >> +...
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...= LogicalDylibs.begin(); >>> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) { >>> + if (auto LMResources = >>> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) { >>> + Module &SrcM = LMResources->SourceModule->getResource(); >>> + std::string CalledFnName = mangle(FuncName, >>> SrcM.getDataLayout()); >>> + if (auto EC = >>> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) { >>> + return 0; >>> +...
2016 Jul 30
1
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...begin(); >>>> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) { >>>> + if (auto LMResources = >>>> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) { >>>> + Module &SrcM = LMResources->SourceModule->getResource(); >>>> + std::string CalledFnName = mangle(FuncName, >>>> SrcM.getDataLayout()); >>>> + if (auto EC = >>>> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) { >>>> + return 0; >...
2009 Mar 29
5
Problems installing guest domains
...ain... 0 B 00:00 > ▒ My xend-debug.log file says this: XendInvalidDomain: <Fault 3: ''b5e19b10-7540-902c-b585-f8783447521f''> Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/web/httpserver.py", line 140, in process resource = self.getResource() File "/usr/lib64/python2.4/site-packages/xen/web/httpserver.py", line 172, in getResource return self.getServer().getResource(self) File "/usr/lib64/python2.4/site-packages/xen/web/httpserver.py", line 351, in getResource return self.root.getRequestResource(req) File "...
2006 May 18
4
Email Address verifier--eyes needed...
Folks: I''ve posted a really basic e-mail address verifier to http://wiki.rubygarden.org/Ruby/page/show/VerifyEmailAddress I''d appreciate folks who understand DNS and SMTP having a look at it to see if it looks reasonable. You could comment here or, possibly more usefully, comment on the wiki page itself. Thanks Dave
2018 Nov 01
2
RFC: System (cache, etc.) model for LLVM
...ve to track a pointer to this array. > /// > class TargetExecutionEngineInfo { > public: > typedef ... resource_iterator; > > //===--------------------------------------------------------------------===// > // Resource Information > // > > /// getResource - Get an execution resource by resource ID. > /// > const TargetExecutionResourceInfo &getResource(unsigned Resource) const; > > /// getNumResources - Return the number of resources this target has. > /// > unsigned getNumResources() const; > > /...
2011 Nov 22
1
[LLVMdev] VMKit GNU classpath configure
Thanks for the response. Since X11 is by default installed on OS X when the developer tools are installed. Running autoconf fixed the issue with configure not finding X11, although I did not check why the configure script did not have the correct path (I'm assuming this was the case). Next I'm on to the gtk+ dependencies which I'm going to try to solve with macports if I have to. I
2017 Apr 20
0
Wine release 2.0.1
...Clock Messages are Corrupted Between Wine and ALSA 39920 Nanocad 5.: file open/import dialog does not open 40392 ComicRack 0.9.x (.NET 4.5 app) hangs/crashes on startup when executing WMI query 40938 UE4 games (Ether One Redux, Into the Stars) crash while loading with "BackBuffer->GetResource() has 3 refs, expected 1" error 40952 improper escaping of quotes in command line 41448 Civilization II Unhandled page fault on read access 41579 Rush for Berlin Gold crashes after the intro videos 41623 Odallus The Dark Call crashes while starting if a force feedback enabled cont...
2012 Jul 12
11
Announce: PuppetDB 0.9.2 Available
PuppetDB 0.9.2 is the third beta release on the road to 1.0. Changes include new features and bug fixes. For details on changes in this release, please see the release notes below. # Downloads Available in native package format at http://yum.puppetlabs.com http://apt.puppetlabs.com Source (same license as Puppet): http://github.com/puppetlabs/puppetdb Available for use with Puppet
2019 May 24
1
PROBLEM: VirtIO DRM driver crashes when setting specific 16.16 fixed-point property values
...et the property as described above. I have a personal project that lets you execute specific DRM commands one at a time: https://github.com/Smithay/drm-rs/blob/develop/examples/kms_interactive.rs Here's a snippet of what happens: ``` $ sudo cargo run --example kms_interactive ... KMS>> GetResources # List out DRM resource Connectors: [connector::Handle(31)] Encoders: [encoder::Handle(32)] CRTCS: [crtc::Handle(30)] Framebuffers: [...] Planes: [plane::Handle(28), plane::Handle(29)] KMS>> GetProperties 28 # Get properties of plane with handle 28 Prop...
2019 May 24
1
PROBLEM: VirtIO DRM driver crashes when setting specific 16.16 fixed-point property values
...et the property as described above. I have a personal project that lets you execute specific DRM commands one at a time: https://github.com/Smithay/drm-rs/blob/develop/examples/kms_interactive.rs Here's a snippet of what happens: ``` $ sudo cargo run --example kms_interactive ... KMS>> GetResources # List out DRM resource Connectors: [connector::Handle(31)] Encoders: [encoder::Handle(32)] CRTCS: [crtc::Handle(30)] Framebuffers: [...] Planes: [plane::Handle(28), plane::Handle(29)] KMS>> GetProperties 28 # Get properties of plane with handle 28 Prop...
2017 Feb 03
0
Wine release 2.1
...etrics() 40392 ComicRack 0.9.x (.NET 4.5 app) hangs/crashes on startup when executing WMI query 40592 wininet:http test regression 40629 Noto Nastaliq Urdu font crashes notepad during shaping 40938 UE4 games (Ether One Redux, Into the Stars) crash while loading with "BackBuffer->GetResource() has 3 refs, expected 1" error 41052 Failure to create D3D9 device on i915 41175 Firefox tooltips are partly black 41324 Everspace (UE4) requires bfi opcode 41579 Rush for Berlin Gold crashes after the intro videos 41623 Odallus The Dark Call crashes while starting if a force...
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all, First thing first: It works, I now no longer have a few dropped frames every 10s on my testbox here with the pageflip i-g-t tests. Random notes: - New design has per-crtc locks to protect the crtc input-side (pageflip, cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It also required completely revamped fb lifecycle management, those are now refcounted