search for: sizetoread

Displaying 4 results from an estimated 4 matches for "sizetoread".

2004 Aug 06
1
About reducing noise..
...opyBuffer(pBuffer + dwLength, cbits, nbBytes); dwLength += nbBytes; } // uninitialize For decoding . SpeexBits bits; int i, tmp; state = speex_decoder_init(&speex_nb_mode); tmp =1; speex_decoder_ctl(state, SPEEX_SET_ENH, &tmp); speex_bits_init(&bits); char temp[10]; long sizeToRead = 4; while(1) { int ret = ReadFile(file,temp, sizeToRead , &bytesRead,NULL); if( bytesRead == 0 ) { break; } nbBytes = atoi(temp); totalBytesRead += bytesRead; ret = ReadFile(file, cbits, nbBytes, &bytesRead, NULL); totalBytesRead += b...
2013 Mar 07
4
[PATCH 0/4] Small refactorings of the protocol layer.
As the start of work to add remote support, I'm taking a close look at the protocol layer in the library. These are some small cleanups. Rich.
2010 Aug 31
13
[PATCH v2] Add progress bars
This is an updated and extended version of the original patch: https://www.redhat.com/archives/libguestfs/2010-August/msg00163.html This adds OCaml and Perl bindings (both tested), support for progress bars in virt-resize, and adds progress notifications to a number of the simpler commands. Still to do is to add progress messages to more commands. There are still a few commands which would be
2013 Mar 07
3
[PATCH 0/3] protocol: Abstract out socket operations.
I've been taking a long hard look at the protocol layer. It has evolved over a long time without any particular direction, and the result is, to say the least, not very organized. These patches take a first step at cleaning up the mess by abstracting out socket operations from the rest of the code. The purpose of this is to allow us to slot in a different connection layer under the