Omgili - forum search, search forums  
  

Discussions about buffer size

Displaying 1 - 10 out of 23,772 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hello, I have set the buffer to size 100. I display the buffer in the main function where the buffer is declared. However, when I pass the buffer to the function and get the sizeof '4', I was thinking it should be 100, as that is the size of the buffer...
Started by on , 5 posts by 5 people.  
In C, you have to pass the size of the buffer separately, which is part of the reason buffer overruns happen....
You are using the size of the pointer to the buffer (4 bytes), rather than the size of the buffer.
When CreateFile Function is called without the flag FILE_FLAG_NO_BUFFERING, what is the size of the inner buffer of operating system? If my buffer size is larger than the inner buffer of Windows, can I fully use up the throughput of disk?
Started by on , 3 posts by 3 people.  
However....
Rather than relying on anything specific, you should simply do reads and writes with buffer the cache size.
I don't see how the size of your buffer will affect throughput, but I'm sure someone of free RAM.
You mean.
What's the optimal buffer size to use with a stream from HttpWebResponse.GetResponseStream()? Online examples vary from 256b to as much as 5Kb. What gives? I guess buffer sizes might be situational. If so what are the situations to use what type of buffer...
Started by on , 3 posts by 3 people.  
In fact, more important than the buffer size is how long you hold H/W (bus speed, cache size, etc), but I've seem cases where a 4MB buffer was slower than the 4KB if you go with a buffer equal....
To different GC rules ).
Ask your Facebook Friends
The GetModuleFileName() takes a buffer and size of buffer as input; however its return value can only tell us how many characters is has copied, and if the size is not enough ( ERROR_INSUFFICIENT_BUFFER ). How do I determine the real required buffer size...
Started by on , 3 posts by 3 people.  
Otherwise....
If it fit, you are done.
Allocate a buffer (don't forget room for nul answer would be to allocate a buffer of size MAX_PATH , retrieve the name and check for errors.
The size needed to allocate sufficient buffer.
When using MyISAM the configuration setting key_buffer_size defines the size of the global buffer where MySQL caches frequently used blocks of index data. What is the corresponding setting for InnoDB?
Started by on , 3 posts by 3 people.  
Innodb_buffer_pool_size is the setting that controls the size of the memory buffer....
The size in the operating system.
As far as I know, the best setting you can adjust for InnoDB is innodb_buffer_pool_size .
Is there a way to set the default buffer size for JSPs in Tomcat? I know I can set them on every page, but am hoping there's a global option somewhere.
Started by on , 3 posts by 3 people.  
OutputBuffer); } Basing my judgement on this piece of code, it seems that increasing buffer size might measure actual performance when you increase buffer size from jsps? Does it help to do so a filter to your web application....
What is the maximum size of buffers memcpy and other functions can handle? Is this implementation dependent? Is this restricted by the size(size_t) passed in as an argument?
Started by on , 7 posts by 7 people.  
In this case, you just have to find out what size a size_t is in your implementation....
This can reasonably on the memory model the compiler compiles to .
On a standard from the early 90's or later), the size argument is a size_t .
Hello, I use this code to create a .zip with a list of files: ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(zipFile)); for (int i=0;i<srcFiles.length;i++){ String fileName=srcFiles[i].getName(); ZipEntry zipEntry = new ZipEntry(fileName...
Started by on , 3 posts by 3 people.  
The biggest....
The biggest impact for LZ77 are dictionary size and sliding window, which are not controlled by the buffer size%).
The buffer size used when feeding the data into the deflater should have almost no impact.
I want to send 'packets' of data (i.e. discrete messages) between two programs through named pipes. Given that I have to supply a buffer and a buffer size to read , and given that the read command is blocking (I believe), I either have to have a buffer...
Started by on , 3 posts by 3 people.  
I either have to have a buffer size that guarantees I never get an under-run, What sort of messages to know the size....
And given...
You say: Given that I have to supply a buffer and a buffer size to read, You do...
I am writing an application which needs to read fairly large files. I have always wondered what's the optimum size for the read buffer on a modern Windows XP computer. I googled and found many examples which had 1024 as the optimum size. Here is a snippet...
Started by on , 3 posts by 3 people.  
You need to set a bufferDepends....
Generally, there is no "one size fits all" buffer size.
A 1k buffer size seems a bit small.
You can see this link Default cluster size for NTFS, FAT, and exFAT Bye.
size.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
SIZE_DATA_BUFFERS    Query hints exceed maximum command buffer size of 1023 bytes   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost