search for: parent_fram

Displaying 5 results from an estimated 5 matches for "parent_fram".

Did you mean: parent_frame
2008 Oct 31
3
[LLVMdev] nested function's static link gets clobbered
Fellow developers, I'm parallelizing loops to be called by pthread. The thread body that I pass to pthread_create looks like define i8* @loop1({ i32*, i32* }* nest %parent_frame, i8* %arg) parent_frame is pointer to shared variables in original function 0x00007f0de11c41f0: mov (%r10),%rax 0x00007f0de11c41f3: cmpl $0x63,(%rax) 0x00007f0de11c41f6: jg 0x7f0de11c420c 0x00007f0de11c41fc: mov 0x8(%r10),%rax 0x00007f0de11c4200: incl (%rax) 0x00...
2024 Feb 17
2
Capturing Function Arguments
I'm wrapping a function in R and I want to record all the arguments passed to it, including default values and missing values. I want to be able to snoop on function calls in sourced scripts as part of a unit testing framework. I can capture the values fine, but I'm having trouble evaluating them as if `force()` had been applied to each of them. Here is a minimal example: f0 <-
2008 Nov 01
0
[LLVMdev] nested function's static link gets clobbered
Hi, > I'm parallelizing loops to be called by pthread. The thread body that I pass > to pthread_create looks like > > define i8* @loop1({ i32*, i32* }* nest %parent_frame, i8* %arg) > parent_frame is pointer to shared variables in original function > > 0x00007f0de11c41f0: mov (%r10),%rax > 0x00007f0de11c41f3: cmpl $0x63,(%rax) > 0x00007f0de11c41f6: jg 0x7f0de11c420c > 0x00007f0de11c41fc: mov 0x8(%r10),%rax > 0x00007...
2024 Jul 06
1
Bug? plot.formula does need support plot.first / plot.last param in plot.default
...remaining arguments in the context of the data passed to the method. In order for the lazy evaluation to work, plot.formula would have to (1) know and skip all such arguments by name on line 6, minding partial matching, (2) rewrite them into the form evalq(original_argument_expression, model_frame, parent_frame) so that they would be able to access both the data and the variables visible in the frame of the caller, and (3) give these expressions to do.call() in place of the original ones. (1) sounds especially brittle since plot.formula() may dispatch to other plot.* methods. Additionally, great care wi...
2024 Jul 05
2
Bug? plot.formula does need support plot.first / plot.last param in plot.default
Is the following a bug in your opinion? I think so. This works as expected: ``` with(mtcars, plot(wt, mpg, plot.first = { plot.window(range(wt), range(mpg)) arrows(3, 15, 4, 30) })) ``` This does not. ``` plot(mpg ~ wt, data = mtcars, plot.first = { plot.window(range(wt), range(mpg)) arrows(3, 15, 4, 30) }) ``` With error: ``` Error in arrows(3, 15, 4, 30) : plot.new has not