search for: getlabel

Displaying 20 results from an estimated 24 matches for "getlabel".

Did you mean: netlabel
2001 Aug 24
1
RE: Variable lables (was Re: [R] Reading SAS version 8 data into
...tting functions as well as the > describe() function. I would like to see general support for label attributes in the R plotting and modeling functions. One possible way of implementing this is to create a replacement for the standard "deparse(substitute(blah))" idiom. This function, getlabel(), checks for a label attribute and returns that if present. Otherwise it returns the variable's name as a string. Here's some code I've put together: label <- function(x) attr(x,"label") "label<-" <- function(x, value ) { m <- match.call()...
2007 Nov 01
3
[Bug 13051] New: CNN Cartoon Clicks are not responsive to mouse events
...terpret.c(922): swfdec_action_call_method: no function named unloadMovie on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named init on object unknown SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named getLabel on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named setLabel on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named setSize on object unknown SWFDEC: WARN : swfdec_as_interpr...
2006 Mar 30
5
Patch for wxControl.h
Hello all. This gets past the problem in bigdemo where it won''t start the application at all. That was where it was overflowing the stack on get_label. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2017 Sep 18
0
help matching rows of a data frame
...ot;, c(df[, , drop = FALSE], sep = "\\r")), do.call("paste", c(unique(df)[, , drop = FALSE], sep = "\\r")) ) The last column of df now contains the 'label' i.e. the row number of the first row in df that is the same as the given row. Somewhat less obfuscated getLabels <- function(df) { match( do.call("paste", c(df[, , drop = FALSE], sep = "\\r")), do.call("paste", c(unique(df)[, , drop = FALSE], sep = "\\r")) ) } myDataFrame$label <...
2016 Jun 06
2
Letor stabilisation - project progress
Hello everyone, I have completed introducing some code from v-hasu's branch into mine, mainly for Features, FeatureVector and FeatureManager classes. I have pushed the changes to https://github.com/ayshtmr/xapian/tree/letor-update. I am now proceeding to write unit tests for feature modules. There are a few things that I wanted to clarify: 1. I have introduced a lot of code in a single
2013 Nov 12
2
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
Hi David, Thanks for your efforts here. I have a few comments on your patch, although I realise it's still a work in progress. +class ConstantPool { + MCSymbol *Label; + typedef std::vector<const MCExpr*> EntryVecTy; Use a SmallVector here? + MCSymbol *getLabel() {return Label;} + size_t getNumEntries() {return Entries.size();} + const MCExpr *getEntry(size_t Num) {return Entries[Num];} These can be const. + int64_t ConstantPoolCounter; This can be unsigned. + case AsmToken::Equal: { + const MCSection *Section = getParser().getStreamer().getCurre...
2017 Sep 18
6
help matching rows of a data frame
This question likely has a 1 line answer, I'm just not seeing it. (2, 3, or 10 lines is fine too.) For a vector I can do group <- match(x, unqiue(x)) to get a vector that labels each element of x. What is an equivalent if x is a data frame? The result does not have to be fast: the data set will have < 100 elements. Since this is inside the survival package, and that package is on
2013 Nov 16
2
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
...ments on your patch, > > although I realise it's still a work in progress. > > > > +class ConstantPool { > > + MCSymbol *Label; > > + typedef std::vector<const MCExpr*> EntryVecTy; > > > > Use a SmallVector here? > > > > + MCSymbol *getLabel() {return Label;} size_t getNumEntries() > > + {return Entries.size();} const MCExpr *getEntry(size_t Num) {return > > + Entries[Num];} > > These can be const. > > > > + int64_t ConstantPoolCounter; > > This can be unsigned. > > > > + case AsmToke...
2013 Nov 12
0
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
...ks for your efforts here. I have a few comments on your patch, > although I realise it's still a work in progress. > > +class ConstantPool { > + MCSymbol *Label; > + typedef std::vector<const MCExpr*> EntryVecTy; > > Use a SmallVector here? > > + MCSymbol *getLabel() {return Label;} > + size_t getNumEntries() {return Entries.size();} const MCExpr > + *getEntry(size_t Num) {return Entries[Num];} > These can be const. > > + int64_t ConstantPoolCounter; > This can be unsigned. > > + case AsmToken::Equal: { > + const MCSection...
2013 Dec 17
0
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
...terator CpI = ConstantPools.begin(), CpE = ConstantPools.end(); CpI != CpE; ++CpI) { + const MCSection *Section = CpI->first; + ConstantPool &CP = CpI->second; + MCStreamer &Streamer = getParser().getStreamer(); + Streamer.SwitchSection(Section); + Streamer.EmitLabel(CP.getLabel()); + for (size_t I = 0; I < CP.getNumEntries(); ++I) + Streamer.EmitValue(CP.getEntry(I), 4); + } +} This is missing data-in-code indicators (see EmitDataRegion()). + at RUN: clang -target arm -integrated-as -c %s -o %t + at RUN: llvm-objdump -d %t | FileCheck %s + at RUN: llvm-objd...
2006 Oct 31
0
6407402 Named pipes should work between labeled zones to support write up.
Author: gfaden Repository: /hg/zfs-crypto/gate Revision: 84f19e06f2d07a2e47e5d67eeab39debcef1c738 Log message: 6407402 Named pipes should work between labeled zones to support write up. 6411980 getlabel(2) returns wrong label for lofs mounted FIFOs Files: update: usr/src/uts/common/fs/fifofs/fifosubr.c update: usr/src/uts/common/fs/fifofs/fifovnops.c update: usr/src/uts/common/os/tlabel.c
2006 Mar 30
4
RubyConstants.i patch
This patch fixes the problem with the undefined constants. Apologies to Alex as I didn''t apply his patches yet. The fix is to just removed the _C from the end of the ones that won''t compile anymore. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2013 Dec 17
2
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
...gin(), CpE = > ConstantPools.end(); CpI != CpE; ++CpI) { > + const MCSection *Section = CpI->first; > + ConstantPool &CP = CpI->second; > + MCStreamer &Streamer = getParser().getStreamer(); > + Streamer.SwitchSection(Section); > + Streamer.EmitLabel(CP.getLabel()); > + for (size_t I = 0; I < CP.getNumEntries(); ++I) > + Streamer.EmitValue(CP.getEntry(I), 4); > + } > +} > > This is missing data-in-code indicators (see EmitDataRegion()). I was not aware of that API, thanks for pointing it out. I added the calls in the latest...
2006 Oct 17
0
[684] trunk/wxruby2/swig/classes/RadioBox.i: Un-ignored some methods that now work fine (Roy Sutton)
...rev 684) </span><span class="lines">@@ -10,9 +10,7 @@ </span><span class="cx"> %} </span><span class="cx"> </span><span class="cx"> %ignore wxRadioBox::wxRadioBox(); </span><del>-%ignore wxRadioBox::GetLabel; -%ignore wxRadioBox::SetLabel; -%ignore wxRadioBox::Number; </del><ins>+%ignore wxRadioBox::Number; # Obsolete </ins><span class="cx"> </span><span class="cx"> %ignore wxRadioBox::Show(int item, const bool show = true); </span><sp...
2013 Nov 11
0
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
I have attached an initial patch that implements the ldr pseudo. It still needs some clean up and more tests, but I would like some feedback on the approach I used and if there are any objections to implementing it this way. Here is my approach: Add a finishParse() callback to the target asm parser This callback is invoked when the parse has finished successfully. It will be used to write out
2007 Mar 21
0
[907] branches/wxruby2/wxwidgets_282: Wx::Control API 2.6 -> 2.8
...</span><span class="lines">@@ -23,12 +23,11 @@ </span><span class="cx"> </span><span class="cx"> * "Control#command":#Control_command </span><span class="cx"> * "Control#get_label":#Control_getlabel </span><ins>+* "Control#get_label_text":#Control_getlabeltext </ins><span class="cx"> * "Control#set_label":#Control_setlabel </span><span class="cx"> </span><span class="cx"> </div> </span&g...
2013 Dec 17
0
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
...nstantPools.end(); CpI != CpE; ++CpI) { >> + const MCSection *Section = CpI->first; >> + ConstantPool &CP = CpI->second; >> + MCStreamer &Streamer = getParser().getStreamer(); >> + Streamer.SwitchSection(Section); >> + Streamer.EmitLabel(CP.getLabel()); >> + for (size_t I = 0; I < CP.getNumEntries(); ++I) >> + Streamer.EmitValue(CP.getEntry(I), 4); >> + } >> +} >> >> This is missing data-in-code indicators (see EmitDataRegion()). > > I was not aware of that API, thanks for pointing it out...
2007 Jul 15
0
virtman breaks after installing XEN 3.1 on SELS 10.1
....cfgbootpolicy - Configuring a security policy into the boot configuration xen.xm.console xen.xm.create - Domain creation. xen.xm.dry-run - Tests the security settings for a domain and its resources. xen.xm.dumppolicy - Display currently enforced policy (low-level hypervisor representation). xen.xm.getlabel - Show the label for a domain or resoruce. xen.xm.help - Variable definition and help support for Python defconfig files. xen.xm.labels - Listing available labels for a policy. xen.xm.loadpolicy - Loading a compiled binary policy into the hypervisor. xen.xm.main - Grand unified management applicati...
2013 Nov 01
8
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
In an earlier email[1] I proposed adding support for the ldr pseud-instruction to the ARM integrated assembler. After some discussion the overall consensus seemed to be that it was worth adding. One concern was that we needed to have adequate testing. I promised to provide more details on what the behavior should be and provide some tests before starting the implementation. The FileCheck-ified
2016 Jun 29
2
xapian-letor: FeatureVector discussion
...eVector calculation can be done while parsing the query and qrel file, independently of RankList. Therefore, eliminating the need of maintaing a global qrel storage (map<string, map<string, int> > qrel; in FeatureManager::Internal) and thus eliminating the need of load_relevance(*) and getlabel(*) functions. The score in FeatureVector is simply the label, and fvals will be returned by FeatureManager (by using feature values obtained from each of the Feature sub-class). While ranking, FeatureVector fvals will be computed similarly by FeatureManager, while the score gets assigned later at...