search for: getid

Displaying 20 results from an estimated 52 matches for "getid".

Did you mean: getidt
2017 Jun 07
1
Operating on RC in a list
...frame unsuccessfully. But dplyr should be able to work with lists too. Right ? Subject <- setRefClass("Subject", fields = list( id = "numeric", measurement = "Measurement", location = "Location"), methods=list(getmeasurement = function() { measurement }, getid = function() { id }, getlocation = function() { location }, summary = function()#Implement other summary methods in appropriate objects as per their responsibilities { paste("Subject summary ID [",id,"] Location [",location$summary(),"]") },show = function(){ cat(&quot...
2006 Mar 13
1
Help on interfacing C++ with R
...is my code: //lib4R.h testing for interfacing C++ with R -- using C++ library in R #include <iostream> using namespace std; class lib4R { public: lib4R(); ~lib4R(); int testIntDivision(int, int); double testDoubleMultiplication(double, double); int getID(); void setID(int); private: int ID; }; // lib4R.cpp : Defines the entry points for the library. #include "lib4R.h" lib4R::lib4R() { cout << "Constructor lib4R()" << endl; } lib4R::~lib4R() { cout << "Destructor ~lib4R()&...
2004 Jun 17
3
[LLVMdev] Primitive types
...PrimitiveID() $16 = PointerTyID (gdb) p t->getPrimitiveSize() $17 = 0 There are a couple of things that I'd like to ask. First, if isPrimitiveType() returns false, that the fact that getPrimitiveID returns reasonable value is quite strange. Maybe, the method is better called just getID, since it can get id for both primitive and derived types. Second, why getPrimitiveSize() returns 0? In seems that LLVM knows the size a pointer occupies (at least it puts in in LLVM assembly), so why not return it? For me, that would be quite convenient -- I would only check that type passed...
2004 Jun 17
0
[LLVMdev] Primitive types
...D > (gdb) p t->getPrimitiveSize() > $17 = 0 > > There are a couple of things that I'd like to ask. First, if > isPrimitiveType() returns false, that the fact that getPrimitiveID > returns reasonable value is quite strange. Maybe, the method is better > called just getID, since it can get id for both primitive and derived > types. You're right, getPrimitiveID seems misnamed. It should be named getTypeID() or something. > Second, why getPrimitiveSize() returns 0? In seems that LLVM knows the size a > pointer occupies (at least it puts in in LLVM ass...
2004 Jun 11
9
Handling Events that don''t take an ID
Hey Kevin, Am I correct in assuming that if I want a particular widget to respond to an event which doesn''t take an ID as an argument (like evt_size or evt_left_down), that I have to inherit a new widget and define the event handler within the inherited class? Here''s a little contrived code example to illustrate what I mean: class MyCtrl < Wx::TextCtrl def
2011 Apr 13
2
[LLVMdev] Extra padding on DWARF debug info?
...XME - extra padding for gdb bug. Asm->OutStreamer.AddComment("4 extra padding bytes for GDB"); Asm->EmitInt8(0); Asm->EmitInt8(0); Asm->EmitInt8(0); Asm->EmitInt8(0); Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("info_end", TheCU->getID())); Does anybody know what the bug is in GDB that this works around? The workaround was added as part of r103439[1], which added support for multiple compilation units in one module. Does the bug ever affect modules with only a single compilation unit? -Ken [1] http://lists.cs.uiuc.edu/pipermai...
2007 Dec 20
2
turn off auto-seek extention - force use timeout
I have an application where a call-in user is prompted to enter an identification number for schedule information. That id number is setup as an extension, and if that extension doesn't exist, it tells them that they are not scheduled, then loops back to ask for the id number again. My problem is that asterisk pre-emptively goes to the i extension (invalid) too early depending on available
2010 Dec 22
1
[LLVMdev] X86 disassembler 0x66 prefix
...ssemble pushl %ebx <stdin>:1:6: warning: invalid instruction encoding 0x53 0x66 0x0f 0x6f 0x8f 0x00 0x00 0x00 0x00 ^ I attach a patch, but I'm not really familiar with this code, so if someone can review/correct, it would be great. The problem is between readPrefixes and getId : prefixLocation depends on buffer position, but necessaryPrefixLocation is never updated to match buffer position. Cheers, Olivier. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101222/4e629a89/attachment...
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
...quot;> <td colspan="<%= num_columns %>"></td> </tr> <% end %> </tbody> </table> # javascript (based on AjaxScaffold code) updateResources: function(request, type) { var resForm = request.responseText; var id = this.getId(request,type); new Insertion.Top(this.getTableBodyElement(type), resForm); var resElement = this.getCreateElement(type, id); Element.show(resElement); TableBodyUtil.highlight(resElement,this.getTableBodyElement(type)); } Many thanks in advance, Sean
2014 Aug 31
2
[LLVMdev] understanding DAG: node creation
Hi, Yes, that's what I would do. If you want LLVM and the register allocator to also know that the instruction explicitly defines the register, I would designate the register into it's own register class and have your instruction write to that class (and there will be only a single option for RA). cheers, Sam Sam Parker Research Student Electronic Systems Design Group Loughborough
2012 Aug 21
2
[LLVMdev] Passing return values on the stack & storing arbitrary sized integers
...=1] ret i32 %div } 4. Instruction Scheduling calls GetCostForDef (in ScheduleDAGRRList.cpp) when hitting the EXTRACT_SUBREG-Node introduced by the Pattern above. 5. GetCostForDef crashes here, as getRepRegClassFor(VT /* == MVT::i64 */) returns NULL: RegClass = TLI->getRepRegClassFor(VT)->getID(); For LLVM versions before 3.1 this did not happen (I don't know why). Solving this problem at the tablegen level means (I guess) not to use an explicitly modelled "ER" register class at all, right? But how can I describe that for example DVSTEP could use any of those registers pair...
2014 Sep 01
3
[LLVMdev] understanding DAG: node creation
...mine nodes, because otherwise nodes xmac and srxacc got > removed on first combine. But since they are chained, they have > MVT::Other return type, and that causes strange crash inside func > GetCostFor in ScheduleDAGRRList.cpp: > > Def RegClass = TLI->getRepRegClassFor(VT)->getID(); > When VT is MVT::Other it returns 0x0, what results crash. > > It got me confused, because reading documentation on CodeGen gave me > an idea, that chain edges are control flow edges, not data edges. So I > don't understand why scheduler tries to assign some register to it....
2009 May 09
1
[LLVMdev] Question on register class
Hello, Given a TargetRegisterClass *RC, I was wondering if there is a way to find out what register class it is directly, instead of comparing it against all the &mytarget::Class1, &mytarget::Class2 etc. This goes back to my original intention of having special query functions for a subset of register classes. Suppose I wanted vector register classes (more than one, say 2-elements and
2011 Apr 13
0
[LLVMdev] Extra padding on DWARF debug info?
...gdb bug. > Asm->OutStreamer.AddComment("4 extra padding bytes for GDB"); > Asm->EmitInt8(0); > Asm->EmitInt8(0); > Asm->EmitInt8(0); > Asm->EmitInt8(0); > Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("info_end", TheCU->getID())); > > Does anybody know what the bug is in GDB that this works around? The > workaround was added as part of r103439[1], which added support for > multiple compilation units in one module. Does the bug ever affect > modules with only a single compilation unit? > It was not a...
2012 Aug 18
1
[LLVMdev] MIPS Register Pressure Limit.
Hello, why LLVM does not define physical register limits for MIPS by overriding the TargetRegisterInfo::getRegPressureLimit function the way it’s done for X86 in x86RegisterInfo.cpp and ARM. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120818/a8e4f353/attachment.html>
2010 Oct 12
2
Fwd: undefining and redefining a Domain from libvirt java bindings
hi, i am trying to undefine a domain by using dm.undefine(); and then trying to create one with same name is giving me error saying 'Domain not found: no domain with matching uuid 'aeae9d4e-17cb-b661-a612-88ac677c28c1' i have attached my test program which reproduces the issue. please let me know where i am going wrong? configuration: libvirt : 0.6.3 Java
2013 Sep 25
0
strsvis breakage when upgrading to from 9.1 to 9-STABLE
...Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.bin/xinstall/../../contrib/mtree/getid.c cc1: warnings being treated as errors /usr/src/usr.bin/xinstall/xinstall.c: In function 'metadata_log': /usr/src/usr.bin/xinstall/xinstall.c:1331: warning: implicit declaration of function 'strsvis' /usr/src/usr.bin/xinstall/xinstall.c:1331: warning: nested extern declaration of &...
2008 Jun 05
0
[LLVMdev] Using annotation attributes
...t; int __attribute__((annotate("annot"))) function() { > > This nicely gets added to the LLVM bitcode in an > @llvm.global.annotations global. Now I had hoped that it'd be easy to extract > a list of functions annotated with my annotation using > > AnnotationManager::getID("annot") > and later on: > function->getAnnotation(AnnotID). > > This does not seem to work, unfortunately. Is this supposed to work in this > way, or am I using the wrong functions? I could of course just try to > manually parse the @llvm.global.annotations constant,...
2012 Jan 20
1
[LLVMdev] Problem with cross class joins in the RegisterCoalescer
Thanks! Our bug is now fixed. Our getMatchingSuperRegClass is huge (more than 300 lines), messy, and incomplete. > Or you could just rebase. On trunk, TableGen writes this difficult function for you. That in itself would be a compelling reason to get the rebase to trunk done. I just curious how large the generated version will be. :-) /Patrik Hägglund -----Original Message----- From: Jakob
2008 Jun 05
5
[LLVMdev] Using annotation attributes
...otate the C code like this: int __attribute__((annotate("annot"))) function() { This nicely gets added to the LLVM bitcode in an @llvm.global.annotations global. Now I had hoped that it'd be easy to extract a list of functions annotated with my annotation using AnnotationManager::getID("annot") and later on: function->getAnnotation(AnnotID). This does not seem to work, unfortunately. Is this supposed to work in this way, or am I using the wrong functions? I could of course just try to manually parse the @llvm.global.annotations constant, but that seems rather tir...