search for: isdone

Displaying 7 results from an estimated 7 matches for "isdone".

2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
Thank you Lang. I attached the ELF object file here for your reference. Here is the IR dump of JittedOpExpr LLVM function. IrExprGetValue1 LLVM function calls to external function expr->evalfunc(expr, econtext, isNull, isDone); which should be pointed by 0x7fe4801fa1f8. However, only the first time MCJIT generated object point to expr->evalfunc but second time when program load from object cache does not. In the second time, before program load object cache, brand new llvm::Module and llvm::ExecutionEngine are create...
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
Hi, All I have a problem to reuse mcjit jitted code loaded from ObjectCache from a file. In the first run, I use MCJIT generate function JittedOpExpr object code as following and it runs OK. 0x7fe4801fa1f8 at instruction 0x00007fe4cc6c2014 points to 0x69382E which is the beginning of ExecEvalVar function. Then I save the object code into a file after implementing notifyObjectCompiled method.
2016 Jun 14
2
Calling a null pointer. How undefined it is?
...for a coroutine. I stripped all coroutine related details to get to the essence of the question. Let's say I have a state machine that looks like this: struct State { FnPtr Fn; State() : Fn(&SomeFunction) {} void Go() { (*Fn)(); } void Stop() { Fn = nullptr; } bool IsDone() { return Fn == nullptr; } }; Fn field serves two purposes: * Cheap check for done. What can be better than compare with zero! * Guard against programmer mistake: accidentally calling Go() when in a Stopped state. Is it an appropriate use of undefined behavior? Thank you, Gor P.S. This i...
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...= l[:69] + ">" - + self.entry_win.addstr(idp, 2, l) if idx == curline: self.entry_win.attroff(curses.A_REVERSE) @@ -349,7 +350,7 @@ class Grub: self.command_line_mode() if self.isdone: return - + # bound at the top and bottom if curline < 0: curline = 0 @@ -357,11 +358,11 @@ class Grub: curline = len(img.lines) - 1 if self.isdone: - # Fix to allow pygrub comma...
2008 Jan 30
1
Waiting bar
Hi, I would like to know if it is possible to generate a waiting bar in R when you execute your programs like in Matlab, to make the program more living. Particularly for the loops, it can be useful to know how many time left... Thanks in advance, Lo?c Joffre -- View this message in context: http://www.nabble.com/Waiting-bar-tp15186895p15186895.html Sent from the R help mailing list archive at
2006 Jan 20
2
Effect.Slideshow and Ajax.Slideshow
...) - callback called after the frame is changed ''startPaused'' (boolean - default false) - if you don''t want the slideshow to start automatically, set this to true Public Variables: .currentFrame - the DOM element that is currently showing .isPaused - whether it is paused .isDone - if it has rendered it''s last frame and isn''t repeating Public Methods: .pause() - lets you pause the slideshow on the current frame .play() - resumes playing the slideshow .goForward() - goes to the next frame in the buffer, cannot be used if randomize is true .goBackward() - g...
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site... http://wiki.rubyonrails.org/rails/pages/CalendarHelper The error I am getting is: NameError in Placements#list undefined local variable or method `date_format'' for #<PlacementsController:0xb78f9ef4> RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace