search for: tname

Displaying 20 results from an estimated 48 matches for "tname".

Did you mean: name
2009 Sep 26
3
evaluate a set of symbols within an IF statement
Hello, writing some R code to cleanse a data set, if the following set of symbols are identified then perform some actions. trying to write the minimum code to do this. tname = "VIX" checkticker = c("VIX", "TYX", "TNX", "IRX") if (tname == checkticker) { //perform some operations } result i get is > tname == checkticker [1] TRUE FALSE FALSE FALSE how do i evaluate this whole list to a single bool...
2010 Oct 07
1
model.frame deficiency
The model.frame function has trouble with a certain type of really long formula. Here is a test: tname <- paste('var', 1:50, sep='') tmat <- matrix(rnorm(500), ncol=50, dimnames=list(NULL, tname)) tdata <- data.frame(tmat) temp1 <- paste( paste(tname, tname, sep='='), collapse=', ') temp2 <- paste("~1 + cbind(", temp1, ")") model.fr...
2015 Jan 21
2
[pciutils patch] add virtio vendor capability support
...freely distributed and used under the terms of the GNU GPL. + */ + +#include <stdio.h> +#include <string.h> + +#include "lspci.h" + +void +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + break; + case 4: + tn...
2015 Jan 21
2
[pciutils patch] add virtio vendor capability support
...freely distributed and used under the terms of the GNU GPL. + */ + +#include <stdio.h> +#include <string.h> + +#include "lspci.h" + +void +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + break; + case 4: + tn...
2006 Jul 28
0
reserved words
...working with and a management area that lists what changes are to be done (with ability to cancel, etc..). So, there are no model files for the entries. They are created dynamically with the following lib: module Stone module Dynamic class << self def klass(table_name) tname = class_name_from_table(table_name) const_missing(tname) rescue NameError define_klass(table_name) end def objeck(table_name) klass(table_name).new end private def class_name_from_table(table_name) Inflector.camelize(table_na...
2015 Jan 21
2
[pciutils patch v2] add virtio vendor capability support
...distributed and used under the terms of the GNU GPL. + */ + +#include <stdio.h> +#include <string.h> + +#include "lspci.h" + +static void +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) + { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + br...
2015 Jan 21
2
[pciutils patch v2] add virtio vendor capability support
...distributed and used under the terms of the GNU GPL. + */ + +#include <stdio.h> +#include <string.h> + +#include "lspci.h" + +static void +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) + { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + br...
2016 Jul 12
3
Xapian 1.4.0 released
On Mon, Jul 11, 2016 at 02:02:56PM -0700, Kevin Duraj wrote: > You are saying that when I search for "delve Xapian 1.4" on Google, a > company worth of 491 Billion of Dollars and you saying that their top > of the search result has nothing to do with Xapian. > > https://www.google.com/search?q=xapian+delve&ie=utf-8&oe=utf-8#q=delve+xapian+1.4 Well, I'm not
2015 Jan 19
3
[PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support
Hi, > BTW: is there a tool (or pciutils patch) which can decode the virtio > capabilities? Searched for a patch today, and all google found me was this mail asking for one :-o So I went ahead and coded one up. Attached. While hacking it up I've noticed spec doesn't match reality. The "Virtio Structure PCI Capabilities" section here ...
2015 Jan 19
3
[PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support
Hi, > BTW: is there a tool (or pciutils patch) which can decode the virtio > capabilities? Searched for a patch today, and all google found me was this mail asking for one :-o So I went ahead and coded one up. Attached. While hacking it up I've noticed spec doesn't match reality. The "Virtio Structure PCI Capabilities" section here ...
2011 Nov 17
2
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...asses (first is a loop pass) which are two different files and two different opts but I need to keep the data consistent (ie, I want the changes to show up the resulting .bc output file from the first (loop) pass so the second pass can use these new names. Currently, when I print out "BB->getName().str()" after the code below, I get the correct renaming but this doesn't show up in the output file. I'm calling the opt like this: opt -load Release/lib/OptFile.so -optTag -S <file.bc> -o file.ll I have also tried: opt -load Release/lib/OptFile.so -optTag <file.bc> -...
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
...hosts. +The possible values are +.Dq rsa1 +for protocol version 1 and +.Dq rsa +or +.Dq dsa +for protocol version 2. +Multiple values may be specified by separating them with commas. +The default is +.Dq rsa1 . +Specifying the +.Pa -t +option again later on the line will change the value for the hostnames that +follow, allowing you to get different key-types from different hosts. +.It Fl f Ar filename Read hosts or .Pa addrlist namelist pairs from this file, one per line. @@ -64,33 +99,59 @@ will read hosts or .Pa addrlist namelist pairs from the standard input. +It is legal to specify multip...
2012 Jul 18
2
[LLVMdev] Phi translation
...k_itr->end(); ++bblock_inst_itr) { Then, I look for PHI instructions: if(bblock_inst_itr->getOpcode() == Instruction::PHI) { If I find one, I allocate space: string name = "phi"; name.insert(3,to_string(phi)); Twine tname= Twine(name); AllocaInst alloca = AllocaInst(bblock_inst_itr->getOperand(0)->getType(),tname,func_bblock_itr->begin()); and then i go through the operands one by one to find where to put store instructions: for(unsigned int i = 0; i < bblock_inst_itr->...
2016 May 21
1
Using an MCStreamer Directly to produce an object file?
...alls like the above, I be sure to do the keep call: Out->keep(); I'm aware that the calls to EmitInstruction(); and EmitLabel(); need to have their arguments properly constructed first, and I do try to do that using the context I had set up before, so, something like: const llvm::Twine tname("my_label_name"); llvm::MCSymbol* mcs = Ctx.getOrCreateSymbol(tname); Str->EmitLabel(mcs); Or even something more complicated like setting up an MCInst and all it's operands: llvm::MCInst *llinst = new MCInst(); llinst->setOpcode(input_opcode); llinst->addOperand...
2011 Nov 10
1
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
Ryan, [ Please continue the discussion on mailing for the benefit of everyone. ] On Nov 10, 2011, at 10:31 AM, Ryan Taylor wrote: > I need to iterate bottom up on the nodes, but within that I want to break up BBs within a loop. I could just create a loop pass as another opt and call that, I just thought it'd be easier to get the loop info inside the opt I'm already doing. It is
2011 Nov 17
0
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
LLVMers, So, I'm trying to write a pass that changes the names of the basic blocks through the use of Value, so: Value *V = *BasicBlockPtr; const Twine Tname("new_name"); V->setName(Tname); But when I run the opt and look at the IR output nothing is changed? Not sure what I'm doing wrong. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2011 Nov 17
2
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
Nick, Thanks for this info, though this didn't help my problem at all. On Wed, Nov 16, 2011 at 7:21 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > Never create a Twine as a local variable. > > V->setName(Twine("new_name")); > > should work fine, however. Note that Twine itself has an implicit > constructor from const char *, so this code: > > V->setName("new_name"); > > should also work fine. > > Nick > > Ryan Taylor wrote: > >> Basi...
2012 Jul 18
1
[LLVMdev] (no subject)
...k_itr->end(); ++bblock_inst_itr) { Then, I look for PHI instructions: if(bblock_inst_itr->getOpcode() == Instruction::PHI) { If I find one, I allocate space: string name = "phi"; name.insert(3,to_string(phi)); Twine tname= Twine(name); AllocaInst alloca = AllocaInst(bblock_inst_itr->getOperand(0)->getType(),tname,func_bblock_itr->begin()); and then i go through the operands one by one to find where to put store instructions: for(unsigned int i = 0; i < bblock_inst_itr->...
2007 May 02
1
Query about RODBC to access MySQL from Windows
...llows :- host : zion.xxx.xxx.xxx default database : default_db port : 3306 username : uname password : pwd Running " use default_db; show tables;" command from the command prompt on the db server returns 500 rows. I find this problem while running any query. Running "select * from tname limit 100" returns 0 rows whereas tname has around a million records. In the past, I have used MySQL clients for Windows to access the database without encountering any such problem I even tried setting up the "mysqldsn" DSN as a system DSN instead of a user DSN. I would like to...
2011 Nov 17
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
Never create a Twine as a local variable. V->setName(Twine("new_name")); should work fine, however. Note that Twine itself has an implicit constructor from const char *, so this code: V->setName("new_name"); should also work fine. Nick Ryan Taylor wrote: > Basically I have two separate passes (first is a loop pass)...