search for: buffsize

Displaying 20 results from an estimated 39 matches for "buffsize".

Did you mean: buf_size
2000 Apr 01
1
Bug ? mine or ? in R core
.../* Caller looks like: */ /* */ /* "odbcFetchRows"<- */ /* function(channel,max=0,transposing=F,buffsize=1000,debug=0) */ /* { */ /* erg<-.Call("RODBCFetchRows",as.integer(channel),max=as.real(max), */ /* transposing=as.logical(transposing), */ /*...
2009 Dec 18
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...ame effect as calling TheStream.current_pos(), + // but that interface is private. + return TheStream->tell() - TheStream->GetNumBytesInBuffer(); + } + + public: + /// circular_raw_ostream - Open the specified file for + /// writing. + /// + /// As a side effect, if BuffSize is nonzero, the given Stream is + /// set to be Unbuffered. This is because circular_raw_ostream + /// does its own buffering, so it doesn't want another layer of + /// buffering to be happening underneath it. + /// + circular_raw_ostream(raw_ostream &Stream, size_t BuffSize...
2010 Jan 24
0
Setting the value of max in calls to sqlGetResults
...ackage When issuing a SqlQuery, I get the following error > library(RODBC) > channel <- odbcConnect("OraLSH", <user>, <password>) > sqlQuery(channel,"select sysdate from dual") Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize, : negative length vectors are not allowed > close(channel) > q() I know I can replace the call to sqlQuery with calls to its component functions odbcQuery and sqlGetResults to get the same result (and the same error) > library(RODBC) > channel <- odbcConnect("OraLSH",...
2010 Jan 24
0
Setting thevalue of max in calls to sqlGetResults
...ackage When issuing a SqlQuery, I get the following error > library(RODBC) > channel <- odbcConnect("OraLSH", <user>, <password>) > sqlQuery(channel,"select sysdate from dual") Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize, : negative length vectors are not allowed > close(channel) > q() I know I can replace the call to sqlQuery with calls to its component functions odbcQuery and sqlGetResults to get the same result (and the same error) > library(RODBC) > channel <- odbcConnect("OraLSH",...
2009 Dec 18
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...ame effect as calling TheStream.current_pos(), + // but that interface is private. + return TheStream->tell() - TheStream->GetNumBytesInBuffer(); + } + + public: + /// circular_raw_ostream - Open the specified file for + /// writing. + /// + /// As a side effect, if BuffSize is nonzero, the given Stream is + /// set to be Unbuffered. This is because circular_raw_ostream + /// does its own buffering, so it doesn't want another layer of + /// buffering to be happening underneath it. + /// + circular_raw_ostream(raw_ostream &Stream, size_t BuffSize...
2009 Dec 19
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
.... > + virtual uint64_t current_pos() { This is now const on mainline. > + public: > + /// circular_raw_ostream - Open the specified file for > + /// writing. This is not a file, please read the comments you're copying :) > + /// > + /// As a side effect, if BuffSize is nonzero, the given Stream is > + /// set to be Unbuffered. This is because circular_raw_ostream > + /// does its own buffering, so it doesn't want another layer of > + /// buffering to be happening underneath it. > + /// Again, I don't think this should happen an...
2012 Jul 30
1
why querying Sybase IQ using RODBC returns error ?
...sql, ...) x <- sqlQuery(chan, sql, as.is = as.is) return(x) } R> R> R> R> x <- sybaseiq.query("select * from syagprd1.orders where tradedate='120727' and acct='DVW'") Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize, : negative length vectors are not allowed R> x [1] "42000 -131 [Sybase][ODBC Driver][Sybase IQ]Syntax error near 'order' on line 1" [2] "[RODBC] ERROR: Could not SQLExecDirect 'select * from syagprd1.or...
2009 Dec 18
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...ame effect as calling TheStream.current_pos(), + // but that interface is private. + return TheStream->tell() - TheStream->GetNumBytesInBuffer(); + } + + public: + /// circular_raw_ostream - Open the specified file for + /// writing. + /// + /// As a side effect, if BuffSize is nonzero, the given Stream is + /// set to be Unbuffered. This is because circular_raw_ostream + /// does its own buffering, so it doesn't want another layer of + /// buffering to be happening underneath it. + /// + circular_raw_ostream(raw_ostream &Stream, size_t BuffSize...
2009 Dec 17
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
.../ As a side effect, the given Stream is set to be Unbuffered. + /// This is because circular_raw_ostream does its own buffering, + /// so it doesn't want another layer of buffering to be happening + /// underneath it. + /// + circular_raw_ostream(raw_ostream &Stream, unsigned BuffSize = 8192, + bool Delete = false) + : raw_ostream(/*unbuffered*/true), + TheStream(0), + DeleteStream(PRESERVE_STREAM), + BufferSize(BuffSize), + BufferArray(0) { + if (BufferSize > 0) + BufferArray = new char[B...
2009 Dec 19
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...t; This is now const on mainline. Ok. > > + public: > > + /// circular_raw_ostream - Open the specified file for > > + /// writing. > > This is not a file, please read the comments you're copying :) :) > > + /// > > + /// As a side effect, if BuffSize is nonzero, the given Stream is > > + /// set to be Unbuffered. This is because circular_raw_ostream > > + /// does its own buffering, so it doesn't want another layer of > > + /// buffering to be happening underneath it. > > + /// > > Again, I don'...
2009 Dec 18
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...iven Stream is set to be Unbuffered. > + /// This is because circular_raw_ostream does its own buffering, > + /// so it doesn't want another layer of buffering to be happening > + /// underneath it. > + /// > + circular_raw_ostream(raw_ostream &Stream, unsigned BuffSize = 8192, > + bool Delete = false) > + : raw_ostream(/*unbuffered*/true), > + TheStream(0), > + DeleteStream(PRESERVE_STREAM), > + BufferSize(BuffSize), > + BufferArray(0) { > + if (BufferSize > 0...
2009 Dec 18
4
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...Unbuffered. > > + /// This is because circular_raw_ostream does its own buffering, > > + /// so it doesn't want another layer of buffering to be happening > > + /// underneath it. > > + /// > > + circular_raw_ostream(raw_ostream &Stream, unsigned BuffSize = 8192, > > + bool Delete = false) > > + : raw_ostream(/*unbuffered*/true), > > + TheStream(0), > > + DeleteStream(PRESERVE_STREAM), > > + BufferSize(BuffSize), > > + BufferArray(0) { >...
2009 Dec 18
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 13:53, David Greene wrote: > > > + void releaseStream() { > > > + // Delete the stream if needed. Otherwise, transfer the buffer > > > + // settings from this raw_ostream back to the underlying stream. > > > + if (!TheStream) > > > + return; > > > + if (DeleteStream) > > > +
2009 Dec 21
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
...+ return TheStream->tell() - TheStream->GetNumBytesInBuffer(); + } + + public: + /// circular_raw_ostream - Construct an optionally + /// circular-buffered stream, handing it an underlying stream to + /// do the "real" output. + /// + /// As a side effect, if BuffSize is nonzero, the given Stream is + /// set to be Unbuffered. This is because circular_raw_ostream + /// does its own buffering, so it doesn't want another layer of + /// buffering to be happening underneath it. + /// + /// "Owns" tells the circular_raw_ostream whether i...
2007 Jun 24
0
JSpeex help
...into a Java application. > > I'm using the following code to capture audio: > > ======= > > // open line > line = (TargetDataLine)AudioSystem.getLine( dataLineInfo ); > line.open( format ); > line.start(); > > // write audio capture to buffer (ostream) > int buffSize = (int)format.getSampleRate() * format.getFrameSize(); > byte buffer[] = new byte[buffSize]; > > ostream = new ByteArrayOutputStream(); > > while( state == 1 ) > { > int count = line.read( buffer , 0 , buffer.length ); > > if( count > 0 ) > ostream.write( buffer , 0...
2008 Oct 24
0
RODBC performance seems slow
...e an order of magnitude slower in retrieving rows from a table than ODBC (or JDBC) access in other tools. I'm wondering why that is, and whether there are things I can do to improve performance beyond what I've tried. I've checked the documentation, and have tried the rows_at_time= and buffsize= options, which helped a little, but it is still running much, much slower than what I'm seeing from other querying tools. I'm running R version 2.7.1 on Windows XP 32-bit, RODBC version 1.2-3, and connecting to SQL Server 2005 running on a separate server via an ODBC DSN. The tabl...
2008 Nov 21
3
hda: no DRQ after issuing WRITE
...nel: ide0: reset: success Found one website that told me too try hdparm -i to see whats up: /dev/hda: Model=ST3500320AS, FwRev=SD15, SerialNo= Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 AdvancedPM=no WriteCache=enabl...
2008 Jul 03
1
RODBC Access limit?
I have been using RODBC to connect to an Access database to capture data to create plots. Recently I found incomplete charts. Upon investigation I discovered that the data retrieved stopped at 3276 rows (records) out of a table with over 5600 records. I've tried changing "max","buffsize", and "rows_at_time" but it still returns only 3276 rows. Is this a limitation in R or Access? Is there an easy work around? Thanks for any helpful suggestions. -- View this message in context: http://www.nabble.com/RODBC-Access-limit--tp18253443p18253443.html Sent from...
2012 Jul 04
1
RODBC tables
Dear Sir/Madam, I am desperately in need of some help. I am trying to access tables from the oracle database and inserting them into R via a data frame and I keep getting an error saying that "Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize, : negative length vectors are not allowed". My connection is fine and my code for this is: check<-odbcConnect(dsn="********",uid="*********",pwd="******") There are terms instead of the *'s but I am not sure if I should disclose them because this is w...
2002 Dec 07
6
kjournald using up majority cpu%.
We run several RH7.2/7.3 servers & recently 2 of them, although still working fine, have started to show kjournald as generally using over 50% cpu% on 'top' - virtually continuously. Free cpu% generally less than 25% now! Both machines are also using software RAID5 EIDE ....... otherwise are standard server installs. Any info on what kjournald is & why it should have recently