Displaying 6 results from an estimated 6 matches for "doprocess".
2020 May 11
2
Segfault on read.socket with long message
...blank line.
output <- character()
repeat {
inlen <- read.socket(sock,loop=TRUE)
flog.trace("Got message of length %s",inlen)
if (inlen=="quit") break
inmess <- fromJSON(read.socket(sock,as.integer(inlen)),false)
outmess <- doProcess(inmess)
output <- toJSON(outmess)
flog.trace("Sending message of length %s",nchar(output))
write.socket(sock,paste(nchar(output),"\n"))
write.socket(sock,output)
}
}
}
doProcess() is the payload, but it is not getting that far. Instead I...
2020 May 12
1
Segfault on read.socket with long message
...t; ??? repeat {
>> ????? inlen <- read.socket(sock,loop=TRUE)
>> ????? flog.trace("Got message of length %s",inlen)
>> ????? if (inlen=="quit") break
>> ????? inmess <- fromJSON(read.socket(sock,as.integer(inlen)),false)
>> ????? outmess <- doProcess(inmess)
>> ????? output <- toJSON(outmess)
>> ????? flog.trace("Sending message of length %s",nchar(output))
>> ????? write.socket(sock,paste(nchar(output),"\n"))
>> ????? write.socket(sock,output)
>> ??? }
>> ? }
>> }
>>
>&g...
2020 May 12
0
Segfault on read.socket with long message
...<- character()
> ??? repeat {
> ????? inlen <- read.socket(sock,loop=TRUE)
> ????? flog.trace("Got message of length %s",inlen)
> ????? if (inlen=="quit") break
> ????? inmess <- fromJSON(read.socket(sock,as.integer(inlen)),false)
> ????? outmess <- doProcess(inmess)
> ????? output <- toJSON(outmess)
> ????? flog.trace("Sending message of length %s",nchar(output))
> ????? write.socket(sock,paste(nchar(output),"\n"))
> ????? write.socket(sock,output)
> ??? }
> ? }
> }
>
> doProcess() is the payload, but i...
2006 Sep 06
2
Getting subframe type=verbatim on 16 bit files
...(flacState != FLAC__STREAM_ENCODER_OK)
return false; // bad settings for doing this compression so quit...
// shoot the final data buffer to the encoder....
// we would have called process_interleaved if we had not created an
array per channel above...
if (!flacCompressor.DoProcess())
{
flacState = flacCompressor.get_state();
return false;
}
flacState = flacCompressor.get_state();
flacCompressor.finish();
flacCompressor.Release();
return true;
}
********************************************
This message is intended o...
2006 Sep 06
0
Getting subframe type=verbatim on 16 bit files
...> return false; // bad settings for doing this compression so
> quit...
>
> // shoot the final data buffer to the encoder....
> // we would have called process_interleaved if we had not created
> an
> array per channel above...
> if (!flacCompressor.DoProcess())
> {
> flacState = flacCompressor.get_state();
> return false;
> }
>
> flacState = flacCompressor.get_state();
> flacCompressor.finish();
>
> flacCompressor.Release();
>
> return true;
> }
_______________...
2006 Sep 07
2
Getting subframe type=verbatim on 16 bit files
...// bad settings for doing this compression so
>> quit...
>>
>> // shoot the final data buffer to the encoder....
>> // we would have called process_interleaved if we had not created
>> an
>> array per channel above...
>> if (!flacCompressor.DoProcess())
>> {
>> flacState = flacCompressor.get_state();
>> return false;
>> }
>>
>> flacState = flacCompressor.get_state();
>> flacCompressor.finish();
>>
>> flacCompressor.Release();
>>
>&...