search for: enclosing

Displaying 20 results from an estimated 1658 matches for "enclosing".

2005 Nov 24
2
what's the meaning of these in R-lang?
In this case the environment contains the variables local to the function, and its enclosure is the environment of the enclosing function.(R-lang:p11) I want to know if the "enclosing function" means the closure of the function? for example ,if I call function mean(),and the create an environment,say e1,then the enclosure of e1 is the namespace of base package? Right? Thank you!
2009 Dec 11
4
get the enclosing function name
Hi, Is there a way to get the enclosing function name within a function? For example, I would like to have a function getEnclosingFunctionName(). It works like below f = function(){ print(getEnclosingFunctionName()) } f() # will print "f" Thanks Jeff
2008 Jan 02
1
[LLVMdev] problems found with make check on x86 darwin9
...ontend/2007-09-20- GcrootAttribute.c Failed with exit(1) at line 3 while running: /Volumes/mrs5/Packages/llvm-2/bin/llvm-gcc -emit-llvm - S -emit-llvm /Volumes/mrs5/net/llvm/llvm/test/CFrontend/2007-09-20- GcrootAttribute.c -o - | llvm-as llvm-as: assembly parsed, but does not verify as correct! Enclosing function does not specify a collector algorithm. call void @llvm.gcroot( i8** %tmp2, i8* null ) Broken module found, compilation terminated. Enclosing function does not specify a collector algorithm. call void @llvm.gcroot( i8** %tmp, i8* null ) Enclosing function does not specify a collector alg...
2011 Apr 13
2
FW: how to enclose two xyplot
Dear R-users, I have to plot two xyplot, and I wish to enclose this two graphs with just one headline, the same x scale, the same grid etc. These parameters should tie in, in order to obtain, visually, a unique graph formed by two xyplot. I try to give an idea: xyplot1: |_|_|_| xyplot2: |_|_|_| what i want: | | | | |_|_|_| I tried to use the command
2013 Mar 27
1
[LLVMdev] PROPOSAL: struct-access-path aware TBAA (new version)
Hello, After discussions with Daniel, Dan and others, here is an updated proposal for struct-access-path aware TBAA. Given an example struct A { int x; int y; }; struct B { A a; int z; }; struct C { B b1; B b2; int *p; }; struct D { C c; }; The purpose of struct-path-aware TBAA is to say "C::b1.a" will alias with "B::a.x", "C::b1.a" will alias with
2011 Oct 06
1
Issue with read.csv treatment of numerics enclosed in quotes (and a confession)
Dear Help-Rs,   I've been dealing with this problem for some time, using a work-around to deal with it. It's time for me to come clean with my ineptitude and seek a what has got to be a more streamlined solution from the Help-Rverse.   I regularly import delimited text data that contains numerics enclosed in quotes (e.g., "00765288071").  Thing is, for some of these data, I need
2012 Mar 06
3
Inherited node tagging
Dear all, I have observed a behavior that doesn''t seem (to me) to match the documentation. Specially, about tagging, the doc says: " Automatic Tagging All language statements enclosed in a node, define or class structure (read more about puppet control structures [[Language Tutorial]] ) will automatically be tagged with the name of that statement. These automatically- applied
2011 Aug 08
2
enclosing with() in a function
Hi All, I want to enclose with() in a function mean_on_element. Obviously, it is not working. The problem is how to specify the element name with a function body. Does anybody have any suggestion? Thanks! > data=list(x=1:10) > with(data, mean(x)) [1] 5.5 > > mean_on_element=function(data, elem_name) { + with(data, mean(elem_name)) + } > mean_on_element(data, 'x') [1] NA
2011 Feb 18
0
ERROR : Enclosing class/module 'mMysql2' for class Client not known
hi everybody , i am trying to test a simple webapplication but got the following error : molay@molay-VirtualBox:~$ gem install mysql2 Building native extensions. This could take a while... Successfully installed mysql2-0.2.6 1 gem installed Installing ri documentation for mysql2-0.2.6... Enclosing class/module ''mMysql2'' for class Client not known Installing RDoc documentation for mysql2-0.2.6... Enclosing class/module ''mMysql2'' for class Client not known my data base config is showing the corect info - mysql 2 adapter any help ? thanks -- You receive...
2006 Mar 17
3
TFTP problems on FC4
Greetings to all. I am hoping someone can help me out with a problem I am having getting my Cisco phones, 7960s and 7940s, to download the appropriate files from our TFTP server. The TFTP server is running on Fedora Core 4. The TFTP server appears to be setup properly: service tftp { socket_type = dgram protocol = udp wait =
2015 Jan 15
1
Closing over Garbage
...ns) contains the training data itself and related quantities (such as residuals). While this is convenient for some kinds of analysis, it negates the space saving effect of compacting the training data into the model parameters. 2. Any function created in the loop contains the training data in its enclosing environment. For example, a linearising transform defined as linearise <- function(x) { x^gamma } (where gamma is derived from the training data) does not only contain `gamma` but other objects in its enclosing environment as well (e.g. intermediate computations in the loop). If `linearis...
2017 Jul 25
2
why is llvm.stacksave() necessary?
...reference for the alloca instruction states: The ‘alloca‘ instruction allocates memory on the stack frame of the currently executing function, to be automatically released when this function returns to its caller. when using come c code like void myfunc(void){ int i=4; double d[i]; } the ir shows enclosing llvm.stackSave & restore constructs, enclosing the alloca related to 'd'. thellvm.stacksafe reference explains: This intrinsic is used to remember the current state of the function stack... In practice, this pops any alloca blocks from the stack that were allocated after the llvm.stack...
2013 Apr 27
0
[LLVMdev] initializer for function local static variable called enclosing function
Hello, Today I encountered a problem when viewing some code. When executing the complied binary it aborted and give the error message. "initializer for function local static variable called enclosing function" The code is like this, static bool isDumpEnabled = getenv("env_dump_something") ! = 0 When executing this code, this error occurred once. But I don't know why. I had a look at the code in this page, http://www.opensource.apple.com/source/libcppabi/libcppabi-26...
2014 Feb 27
0
[Bug 10475] New: Delete based upon enclosing folder
https://bugzilla.samba.org/show_bug.cgi?id=10475 Summary: Delete based upon enclosing folder Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: me at haravikk.com...
2007 Dec 26
2
Importing Markdown posts to WordPress
I apologize for being off-topic, but I think there's more expertise on this list than I'll find elsewhere. I'm thinking about moving my blog from Movable Type 3.2 to WordPress. As a test, I've set up a local WP installation and imported my old posts--all of which are written in Markdown. They look awful, primarily because the blocks of source code in many of my posts are not being
2008 Mar 10
3
Only 5 tests out of 376 currently failing!
Good news! SuperRedCloth is down to just five failing tests! I was down to 10 or so in mid-February but then I added test cases from "The official reference manual for Textile 2", which added 97 new tests, many of them failing. I''m happy to say, they''re almost all passing now. Four of these last five I just need to check with you on before I deviate from
2008 Jan 03
1
[LLVMdev] ComplexPattern in child ISel nodes
...to make this behavior optional. > > I don't see a compelling reason for making the change. Passing in > the root guarantees the matching code have all the information of > the expression that is being matched. It's easier for the matching > code to extract the immediate enclosing node if that's desired. What's the cleanest code idiom you know for extracting the immediate enclosing node? Walking up from the root testing all the operands? I don't have this problem, but I don't see an obvious solution using the DAG walk method: (node (node ComplexPatter...
2008 Oct 20
3
LIBXML and LibXSLT
Hi, I installed libxml-ruby and libxslt-ruby. It took a while but it''s running now. However, on the libxml site (http://libxml.rubyforge.org/install.xml) it says: "...libxml requires a few other libraries to be installed in order to build and function properly. * libm (math routines: very standard) * libz (zlib) * libiconv * libxml2 ..." And
2010 Jul 15
3
[LLVMdev] [PATCH] Addition to TableGen for dumping intrinsics as XML
The LLVM libraries provide the llvm::Intrinsic::getDeclaration() function, which can provide a standard external declaration for any of the (currently) 762 defined LLVM intrinsics, both for ordinary intrinsics and for overrideable intrinsics with supplied parameter types. Clients that do not link with the LLVM libraries (such as the Open Dylan compiler, which has its own IR and its own bitcode
2011 Dec 13
2
how to manually enter an double quote as data feed?
I'm doing a text mining project where I have to manually enter a double quote as an element inside a vector. I tried char[10]='"'#where i enclosed the double quote in a pair of single quotes. But the result is [1] "\"". Somehow a back slash is added automatically. I also tried to enclose the double quote in a pair of double quotes. That didn't work either.