search for: ftype

Displaying 20 results from an estimated 66 matches for "ftype".

Did you mean: type
2012 Aug 09
1
Factor moderators in metafor
..., 0.09335, 0.08909, 0.4297, 0.07858, 0.1753, 0.3679, 0.1837, 0.2172, 0.2775, 0.4201, 0.1976, 0.7688, 0.06507, 0.06239, 0.09061, 0.9509, 0.2181, 7.331) VL = SE*SE amph = c(0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) mix = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) ftype = c(0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2) factor(amph) factor(ftype) factor(mix) ## Fit ftype... > rma(KL,VL,mods=ftype) Mixed-Effects Model (k = 19; tau^2 estimator: REML) tau^2 (estimate of residual amount of heterogeneity): 0.0111 (SE = 0.0095) tau (sqrt of the e...
2015 Sep 07
0
[PATCH 4/4] builder: support Simple Streams v1.0 as index metadata
...cloud:released:download.json @@ -0,0 +1,429 @@ +{ + "products": { + "net.cirros-cloud:standard:0.3:i386": { + "arch": "i386", + "versions": { + "20140908": { + "items": { + "lxc.tar.gz": { + "ftype": "lxc.tar.gz", + "md5": "785c524f55bf2493dcddeedba25172f1", + "sha256": "bc20b950cc20e66e0b915748ad6b1ea2360ec03f08ffe6c68dc1b4a82331ab66", + "size": 3204602, + "path": "0.3.3/cirros-0.3.3-i386-...
2011 Dec 04
2
a weird question about gdata:::
...f (missing(perl)) { perl = "perl" } perl = Sys.which(perl) if (perl == "" || perl == "perl") stop(errorMsg) if (.Platform$OS == "windows") { if (length(grep("rtools", tolower(perl))) > 0) { perl.ftype <- shell("ftype perl", intern = TRUE) if (length(grep("^perl=", perl.ftype)) > 0) { perl <- sub("^perl=\"([^\"]*)\".*", "\\1", perl.ftype) } } } if (verbose) cat("Usi...
2012 May 03
5
[PATCH/RFC 0/6] New mux client request to list open tcp forwardings.
These patches implement a new mux client request to list the currently opened TCP forwardings. It also removes some todos regarding keeping the list of forwardings in the options up-to-date. Bert Wesarg (6): attach the forwarding type to struct Forward merge local and remote forward lists generate unique ids for forwardings to be used for identification remove closed forwardings from
2006 Nov 02
6
Multiple items in the where clause while updating...
Hi The following is a database table named friends. +-----+------+------+-------+ | sid | id | fid | ftype | +-----+------+------+-------+ | 30 | 1 | 2 | F | | 31 | 1 | 3 | R | | 32 | 3 | 2 | F | | 33 | 3 | 4 | F | +-----+------+------+-------+ I want to update the ftype field based on id and fid. I want to achive the following. Update friends set ftype=...
2011 Mar 31
3
[LLVMdev] inserting exit function into IR
...is the code snippet. void foo(int argc, char* argv[]) { printf("hello world\n"); exit(0); //***I want to insert this exit } My llvm code snippet is vector<const Type *> params = vector<const Type *>(); params.push_back(Type::getInt32Ty(M.getContext())); FunctionType *fType = FunctionType::get(Type::getVoidTy(M.getContext()), params, false); Constant *temp = M.getFunction("exit", fType); if(!temp){ errs() << "exit function not in symbol table\n"; exit(1); } Function *f = cast<Function>(temp); CallInst *ci = CallInst::Creat...
2014 Oct 27
2
[LLVMdev] How to call a pointer that points to a C function
...thout going through llvm::Module::getOrInsertFunction. This example does not work: static int add(int x, int y); llvm::Value *one, *two; llvm::Constant* addfn = llvm::ConstantInt::get(JB->getIntPtrTy(DataLayout), (intptr_t)add); llvm::Type* args[] = { Int32Ty, Int32Ty }; llvm::FunctionType* ftype = llvm::FunctionType::get(Int32Ty, args); addfn = llvm::ConstantExpr::getPointerCast(addfn, ftype); CreateCall(addfn, one, two); --- Is there a way? Or must I call getOrInsertFunction? Before anyone asks why I am doing this, it is because I have maybe 200 functions with the same signature that...
2015 Sep 07
5
[PATCH 0/4 v3] builder: support for Simple Streams metadata
Hi, this series adds a basic support for Simple Streams v1.0 metadata files. This makes it possible to create a repository .conf files with [cirros] uri=http://download.cirros-cloud.net format=simplestreams to read the latest version of each CirrOS image. Thanks, Pino Toscano (4): builder: add non-int revisions builder: add simple libyajl binding build: expose HAVE_YAJL to automake
2010 Dec 08
1
on NMDS graphics
Hi, I have used Vegan to construct an NMDS ordination plot. I plotted sites of three forest types with the site number in it. My reviewer has asked me to use different symbols for each of the forest types. Can anyone send me how I can do this in R in simple steps. I have used the options like ordiplot, sel and pl syntaxes that are not working for the question that I asked for. Best, Sinu --
2011 Mar 31
0
[LLVMdev] inserting exit function into IR
...uot;); >   exit(0); //***I want to insert this exit > } > My llvm code snippet is > > vector<const Type *> params = vector<const Type *>(); The initialization is unnecessary (but harmless). > params.push_back(Type::getInt32Ty(M.getContext())); > > FunctionType *fType = FunctionType::get(Type::getVoidTy(M.getContext()), > params, false); > > Constant *temp = M.getFunction("exit", fType); M.getOrInsertFunction("exit", fType); > if(!temp){ > > errs() << "exit function not in symbol table\n"; > > exit(1)...
2012 Jun 19
0
[LLVMdev] Cast Pointer Address to Functions
...r Address to Functions > I have a function address held in an uint64_t. I would like to cast > the function address to a function prototype and create a call to the > function in LLVM. How could I do this ? This is what works for us: std::vector<Type*> margs; FunctionType* fType; PointerType* pm3_routine; Value* m3func; Value* result; margs.resize(1); margs[0] = I64; fType = FunctionType::get(I32, margs, false); pm3_routine = PointerType::get(fType, 0); m3func = Builder.CreateIntToPtr(I64_Const((uint64_t)pFunc), pm3_routine, "pm3func...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...at differs. See gen_init_cpio for details +parse() { + local location="$1" + local name="${location/${srcdir}//}" + # change '//' into '/' + name="${name//\/\///}" + local mode="$2" + local uid="$3" + local gid="$4" + local ftype=$(filetype "${location}") + # remap uid/gid to 0 if necessary + [ "$uid" -eq "$root_uid" ] && uid=0 + [ "$gid" -eq "$root_gid" ] && gid=0 + local str="${mode} ${uid} ${gid}" + + [ "${ftype}" == "invalid"...
2012 Jun 18
4
[LLVMdev] Cast Pointer Address to Functions
I have a function address held in an uint64_t. I would like to cast the function address to a function prototype and create a call to the function in LLVM. How could I do this ? Thanks Xin
2002 Dec 20
1
smbclient and large file support
...ly kept in GMT */ time_t mtime; time_t atime; @@ -125,11 +125,11 @@ int blocksize=20; int tarhandle; -static void writetarheader(int f, char *aname, int size, time_t mtime, +static void writetarheader(int f, char *aname, SMB_BIG_UINT size, time_t mtime, char *amode, unsigned char ftype); static void do_atar(char *rname,char *lname,file_info *finfo1); static void do_tar(file_info *finfo); -static void oct_it(long value, int ndgs, char *p); +static void oct_it(SMB_BIG_UINT value, int ndgs, char *p); static void fixtarname(char *tptr, char *fp, int l); static int dotarbuf(int f,...
2011 Apr 05
3
[LLVMdev] inserting a print statement into IR
...I am trying to construct the print statement : printf("value:%d\n", value); This is my llvm code. It is seg faulting at builder.CreateGlobalStringPtr(str,""). Thanks. George vector<const Type *> params; params.push_back(Type::getInt8PtrTy(M.getContext())); FunctionType *fType = FunctionType::get(Type::getInt32Ty(M.getContext()), params, true); Constant *temp = M.getOrInsertFunction("printf",fType); if(!temp){ errs() << "printf function not in symbol table\n"; exit(1); } Function *f = cast<Function>(temp); f->setCallingConv(CallingC...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...io_list} } list_parse() { echo "$1" } parse() { local location="$1" local name="${location/${srcdir}//}" # change '//' into '/' name="${name//\/\///}" local mode="$2" local uid="$3" local gid="$4" local ftype=$(filetype "${location}") # remap uid/gid to 0 if necessary [ "$uid" -eq "$root_uid" ] && uid=0 [ "$gid" -eq "$root_gid" ] && gid=0 local str="${mode} ${uid} ${gid}" [ "${ftype}" == "invalid" ] &am...
2006 Jan 12
2
ActiveRecord models w/ base condition
...he following? I have 3 different AR classes that all map to the same table. The only difference between this AR classes is that they should only return record that match a certain condition. For example, Foo should only return records from table ''list'' that follow the condition ftype="foo", where as Bar, on the other hand, should only return records that follow the condition ftype="bar". I know I can specify conditions and finder_sql with relationships, but I want to define a base level condition for the model. Is this possible? Any suggestions? -Matt ---...
2017 Sep 20
4
xfs not getting it right?
...sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=0, sparse=0 data = bsize=4096 blocks=120799568, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 ftype=1 log =internal log bsize=4096 blocks=58984, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 # mkfs.xfs -f -d su=64m,sw=2 /dev/md10p2 meta-data=/dev/md10p2 isize=512...
2005 Aug 24
1
[LLVMdev] CallInst constructor interface
...ctor<const Type*> formalArgs; formalArgs.push_back(arg1->getType()); formalArgs.push_back(arg2->getType()); ... formalArgs.push_back(argn->getType()); std::vector<Value*> args; args.push_back(arg1); args.push_back(arg2); ... args.push_back(argn); FunctionType *FType = FunctionType::get(RetTy, formalArgs, false); Module *M = before->getParent()->getParent()->getParent(); Function *F = M->getOrInsertFunction(FName, FType); CallInst *call = new CallInst(F, args, "func", before); It seems that for the common case you should just be able t...
2011 Apr 05
0
[LLVMdev] inserting a print statement into IR
...nsert IR (e.g., which LLVM Module * it is modifying, which BasicBlock or Instruction it is to use when inserting instructions, etc)? -- John T. > Thanks. > > George > > vector<const Type *> params; > params.push_back(Type::getInt8PtrTy(M.getContext())); > FunctionType *fType = > FunctionType::get(Type::getInt32Ty(M.getContext()), params, true); > Constant *temp = M.getOrInsertFunction("printf",fType); > if(!temp){ > errs() << "printf function not in symbol table\n"; > exit(1); > } > Function *f = cast<Function>(...