search for: linenumb

Displaying 20 results from an estimated 73 matches for "linenumb".

Did you mean: linenum
2007 May 15
1
Efficiently reading random lines form a large file
I need to read two different random lines at a time from a large ASCII file (120 x 296976) containing space delimited 0-1 entries. The following code does the job and it's reasonable fast for my needs: lineNumber = sample(120, 2) line1 = scan(filename, what = "integer", skip=lineNumber[1]-1, nlines=1) line2 = scan(filename, what = "integer", skip=lineNumber[2]-1, nlines=1) > system.time(for (i in 50){ + lineNumber = sample(120, 2) + line1 = scan(filename, what = "in...
2009 Sep 23
2
[LLVMdev] DebugFactory
...s of DIFactory to take a > Constant* instead of uint64. ok. Feel free to add /// CreateBasicType - Create a basic type like int, float, etc. DIBasicType CreateBasicType(DIDescriptor Context, const std::string &Name, DICompileUnit CompileUnit, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, unsigned Encoding); variants that take Constant*, for example, /// CreateBasicType - Create a basic type like in...
2009 Jul 09
5
[LLVMdev] Source file information.
...information associated with a CallInst (LLVM call instruction) held in the variable CI. It uses the findStopPoint() function in llvm/Analyis/DebugInfo.h: // // Get the line number and source file information for the call. // const DbgStopPointInst * StopPt = findStopPoint (CI); Value * LineNumber; Value * SourceFile; if (StopPt) { LineNumber = StopPt->getLineValue(); SourceFile = StopPt->getFileName(); } -- John T. Török Edwin wrote: > On 2009-07-09 11:17, Aaron Gray wrote: > >>>> -----Original Message----- >>>> From: llvmdev-bounces...
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler. Regards, Richard Gorton Cognitive Electronics rcgorton at cog-e.com ---------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name:
2009 Jul 09
0
[LLVMdev] Source file information.
...information associated with a CallInst (LLVM call instruction) held in the variable CI. It uses the findStopPoint() function in llvm/Analyis/DebugInfo.h: // // Get the line number and source file information for the call. // const DbgStopPointInst * StopPt = findStopPoint (CI); Value * LineNumber; Value * SourceFile; if (StopPt) { LineNumber = StopPt->getLineValue SourceFile = StopPt->getFileName(); } -- John T. Hi John, What I am after is to be able to emit line number information for COFF (Common Object File Format) object module files, basically it comes down to...
2004 May 14
3
type checking --- just a thought
...e for a nice standardized language feature. on the other hand, the effort and complexity may not be worth the extra functionality. and one beg to the language maintainers for something that I hope is simple: in R 1.8.2, please add to the "source" function information where (file:linenumber) dies or ends. regards, /ivo
2005 Dec 18
3
connection tracking
Hello I have some rules inserted in the NAT table dual SNAT and DNAT for a connection They use at some moment the same port of the outside network. The problem i have is that the connection tracking in the kernel checks first the oldest rule and then the newest one. I use a system based on ARM XScale processor. Is that the default behaviour and how can i change this behaviour? Marius
2002 Oct 04
1
Does the perl language have an equivalent to browser?
I'm asking on this list because the question will be more easily understood than on a Perl list. Lots of talented people using R also know how to use Perl, so it's easier to ask them. Running a Perl script with the -d switch can do some pretty neat things, but as far as I can tell, every line has to be done individually. Is there a way to specify where to stop in the way browser() does
2011 Dec 29
4
[newbie] read row from file into vector
summary: how to read a row (not column) from a file into a vector (not a data frame)? details: I'm using $ lsb_release -ds Linux Mint Debian Edition $ uname -rv 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 $ R --version R version 2.14.1 (2011-12-22) I'm new to R (having previously used it only for graphics), but have worked in many other languages. I've got a CSV file from
2015 Jan 20
2
Problem with Cisco Phones
...ventmsg> <softkeyevent>Conference</softkeyevent> <dialogid> <callid>203a07fc-eb4b001c-1bf7ad61-614d38c1 at xxx.xxx.xxx.xxx</callid> <localtag>203a07fceb4b00ed3e4e2321-d9cb1581</localtag> <remotetag>as4a087ee2</remotetag> </dialogid> <linenumber>0</linenumber> <participantnum>0</participantnum> <consultdialogid> <callid>203a07fc-eb4b001d-14750420-d3d10a57 at xxx.xxx.xxx.xxx</callid> <localtag>203a07fceb4b00ee46f74fd6-4ed3acbd</localtag> <remotetag>as18747c6d</remotetag> </...
2009 Sep 23
0
[LLVMdev] DebugFactory
On Wed, Sep 23, 2009 at 1:51 PM, Dan Gohman <gohman at apple.com> wrote: > > On Sep 22, 2009, at 4:49 PM, Talin wrote: > >> >> // Calculate the size of the specified LLVM type. >> Constant * DebugInfoBuilder::getSize(const Type * type) { >> Constant * one = ConstantInt::get(Type::Int32Ty, 1); >> return ConstantExpr::getPtrToInt( >>
2004 Nov 21
2
Extracting Now Playing!!!
Is their anyway that i can ecport the now current playing song into a text file iam using ices 0.4 and icecast 2.0 -- Thankyou Richard
2004 Nov 21
2
Extracting Now Playing!!!
...t i can ecport the now current playing song into a > > text file iam using ices 0.4 and icecast 2.0 > > > > -- > > Thankyou > > Richard > > Hi! > > Have a look into the ices.cue file. There are a lot of usefull infos > like artist, songtitle, filename, linenumber, a.s.o. ;) > > Greetz > Tol > > > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > -- Thankyou Richard
2009 Sep 23
2
[LLVMdev] DebugFactory
On Sep 22, 2009, at 4:49 PM, Talin wrote: > > // Calculate the size of the specified LLVM type. > Constant * DebugInfoBuilder::getSize(const Type * type) { > Constant * one = ConstantInt::get(Type::Int32Ty, 1); > return ConstantExpr::getPtrToInt( > ConstantExpr::getGetElementPtr( > ConstantPointerNull::get(PointerType::getUnqual(type)), >
2009 Oct 02
0
[LLVMdev] DebugFactory
...onstant* instead of uint64. > > ok. Feel free to add > /// CreateBasicType - Create a basic type like int, float, etc. > DIBasicType CreateBasicType(DIDescriptor Context, const std::string > &Name, > DICompileUnit CompileUnit, unsigned > LineNumber, > uint64_t SizeInBits, uint64_t AlignInBits, > uint64_t OffsetInBits, unsigned Flags, > unsigned Encoding); > > variants that take Constant*, for example, > > /// CreateBasicType...
2009 Dec 17
2
Sweave Makefile issue
...es Rfile = prepareScript.R RNWFILES = $(wildcard *.Rnw) TEXFILES = $(wildcard *.tex) DEPENDS = $(patsubst %.Rnw,%.tex,$(RNWFILES)) $(TEXFILES) RERUN = "(There were undefined references|Rerun to get (citations|cross-references|the bars) (correct|right)|Table widths have changed. Rerun LaTeX.|Linenumber reference failed)" RERUNBIB = "No file.*\.bbl|Citation.*undefined" all : $(MASTER) $(MASTER) : $(DEPENDS) %.tex : %.Rnw SWEAVE '$<' %.pdf : %.tex @pdflatex $< @egrep -c $(RERUNBIB) $*.log && (bibtex $*;pdflatex $<); true @egrep $(RERUN...
2016 Feb 16
3
slightly off-topic, RAID program for on-board SAS 2308-4i ?
Does anyone know what program can be used to query the RAID status from the OS for an on-board LSI SAS 2308-4i? On this page: http://docs.avagotech.com/docs/12351997 there is a curious note on the left that reads: "Integrated MegaRAID support available upon request" After one mostly fruitless round of chatting with LSI/Avago/Broadcom and one completely fruitless round of chatting
2007 Aug 23
1
missing --vanilla option in INSTALL (PR#9877)
...} $library = Win32::GetShortPathName($library) if $library =~ / /; print "installing to '$library'\n"; } I think that in the R_runR function there should be also a --vanilla option, otherwise the process might be slow depending on the content of .Rprofile file. The linenumber of the critical point is 132. Sincerely yours Vilmos Prokaj
2009 Jul 09
0
[LLVMdev] Source file information.
On 2009-07-09 11:17, Aaron Gray wrote: >>> -----Original Message----- >>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] >>> >> On >> >>> Behalf Of Saman Aliari Zonouz >>> Sent: Thursday, July 09, 2009 11:44 AM >>> To: llvmdev at cs.uiuc.edu >>> Subject: [LLVMdev] Source file
2007 Apr 23
1
Error Reporting
...ine number from the user's R program. joke.R:22: Error in `[.data.frame`(x, r, vars, drop = drop) : undefined columns selected: "non.existing.name" in "data.frame.name" I don't understand why this is difficult (simply storing the currently executing line and/or linenumber) as the program executes---but then, I am a lousy freerider who does not look at the code. (All I do is occasionally donate to the R org.) of course, I appreciate the great language you have put together. just begging to make it a little better. (yes, I do not want to use ESS.) regards, /ivo