03-21-2012
Is there any other way to decrease the buffer size
10 More Discussions You Might Find Interesting
1. Programming
Hi...
I am trying to read a binary data that have different types of messages of different lengths. I am using fread() but this functions needs the size and count to read the buffer from the file. I think this may cause that the buffer overlaps other messages.
Is there an alternative to read... (1 Reply)
Discussion started by: jlrodz
1 Replies
2. Programming
using namespace std;
void g();
class A {
public :
A() { g();g();g(); cout << "Constructor of A"<< endl ;}
};
inline void g(){ cout << "vijay" <<endl; }
int main() {
A a;
}
when i use inline i get size 303488 Aug 31 12:05 a.out*
when not using inline i get size 303572 Aug 31... (1 Reply)
Discussion started by: vijaysabari
1 Replies
3. AIX
Hi:-
One of our users is getting an error: "There is no process to read data written to a pipe.”
I am trying to find out what the pipe buffer size is currently set to. How do I go about this?
Thanks, (0 Replies)
Discussion started by: janet
0 Replies
4. Red Hat
hi everyone,
can any one help change the buffer cache size in redhat and suse?? this error i got when i installed oracle 10g and it went well and when i try to mount the database using startup cmd it says too many buffer cache parameters (error code : ora-1034)
thnq in advance (0 Replies)
Discussion started by: gsr_kashyap
0 Replies
5. Shell Programming and Scripting
Hi all,
I am using
echo "$EMAILMESSAGE" | mailx -s "$SUBJECT" -b $CC "$TO"
I am receiving the mail but seems to big in font size. Is there any option mailx to decrease the size of the mail generated.
Thanks, (1 Reply)
Discussion started by: shellscripter
1 Replies
6. AIX
Hi
I have found a problem on my AIX 5.1 server. day by day the paging size is increasing,what is the reason behind it and if percentage is at 100 what will happen. Oracle 9i is running on my server.
PAGING SPACE
size,mb 5632
% used 14.6
% free 85.3
How can i decrease the using... (6 Replies)
Discussion started by: dearsumon
6 Replies
7. UNIX for Dummies Questions & Answers
I have a c program and I want to know what command to use to display the current buffer size of the file using Terminal in Unix? (0 Replies)
Discussion started by: Izzy123
0 Replies
8. Programming
Hi,
Can I find size of the file from size of the buffer written?
nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie);
Thank You :) (1 Reply)
Discussion started by: ezee
1 Replies
9. Programming
Hello all
i have simple server running on linux redhat 6.1
it is build with c++
in the server i have huge std vector that holds pointers to cache objects
those cache objects holds allot of data from the DB
any way ...
in some point in time there is simple API that suppose to clean the... (2 Replies)
Discussion started by: umen
2 Replies
10. AIX
Hello,
I would like to reduce the size of filesystem online. We can do online for increase without any problem. So any risk can be occurred with the decrease? This is not an issue, just a discussion for decrease/shrink space with chfs command.
My AIX system is version 6.1 and the filesystem... (2 Replies)
Discussion started by: Phat
2 Replies
LEARN ABOUT REDHAT
tiffbuffer
TIFFBUFFER(3T) TIFFBUFFER(3T)
NAME
TIFFReadBufferSetup, TIFFWriteBufferSetup - I/O buffering control routines
SYNOPSIS
#include <tiffio.h>
int TIFFReadBufferSetup(TIFF*, tdata_t buffer, tsize_t size);
int TIFFWriteBufferSetup(TIFF*, tdata_t buffer, tsize_t size);
DESCRIPTION
The following routines are provided for client-control of the I/O buffers used by the library. Applications need never use these routines;
they are provided only for ``intelligent clients'' that wish to optimize memory usage and/or eliminate potential copy operations that can
occur when working with images that have data stored without compression.
TIFFReadBufferSetup sets up the data buffer used to read raw (encoded) data from a file. If the specified pointer is NULL (zero), then a
buffer of the appropriate size is allocated. Otherwise the caller must guarantee that the buffer is large enough to hold any individual
strip of raw data. TIFFReadBufferSetup returns a non-zero value if the setup was successful and zero otherwise.
TIFFWriteBufferSetup sets up the data buffer used to write raw (encoded) data to a file. If the specified size is -1 then the buffer size
is selected to hold a complete tile or strip, or at least 8 kilobytes, whichever is greater. If the specified buffer is NULL (zero), then
a buffer of the appropriate size is dynamically allocated. TIFFWriteBufferSetup returns a non-zero value if the setup was successful and
zero otherwise.
DIAGNOSTICS
%s: No space for data buffer at scanline %ld. TIFFReadBufferSetup was unable to dynamically allocate space for a data buffer.
%s: No space for output buffer. TIFFWriteBufferSetup was unable to dynamically allocate space for a data buffer.
SEE ALSO
libtiff(3T)
October 15, 1995 TIFFBUFFER(3T)