search for: writestream

Displaying 7 results from an estimated 7 matches for "writestream".

Did you mean: writetostream
2006 Mar 21
1
Cannot leave voicemail, Asterisk/Zaptel/libpi v1.0.9
...eone rebooted Box A. Now when I dial an extension associated with a SIP phone connected to Box A, upon leaving voicemail I get in the following: -- x=0, open writing: /mnt/nfs/123/INBOX/msg0004 format: wav49, (nil) Mar 21 17:28:18 WARNING[8576]: app.c:706 ast_play_and_record: Error creating writestream '/mnt/nfs/123/INBOX/msg0004', format 'wav49' Mar 21 17:28:18 WARNING[8576]: app_voicemail.c:787 base_encode: Failed to open log file: /mnt/nfs/123/INBOX/msg0004.wav: No such file or directory -- Executing Hangup("Zap/5-1", "") in new stack Browsing through...
2004 Jun 23
0
Problem with Unavailable Message Creation
...ast_writefile: Unable to open file /var/lib/asterisk/sounds/voicemail/default/18037674315/unavail.WAV: No such file or directory -- x=0, open writing: voicemail/default/18037674315/unavail format: wav49, (nil) Jun 23 18:52:18 WARNING[7175]: app_voicemail.c:1463 play_and_record: Error creating writestream 'voicemail/default/18037674315/unavail', format 'wav49' -- Playing 'vm-review' (language 'en')
2005 Mar 24
1
Error cannot record voicemail
...itefile: Unable to open file /var/spool/asterisk/v oicemail/default/300/INBOX/msg0000.WAV: No such file or directory -- x=0, open writing: /var/spool/asterisk/voicemail/default/300/INBOX/msg0000 format: wav49, (n il) Mar 24 12:48:35 WARNING[344081]: app.c:701 ast_play_and_record: Error creating writestream '/var/spo ol/asterisk/voicemail/default/300/INBOX/msg0000', format 'wav49' Mar 24 12:48:35 WARNING[344081]: app_voicemail.c:784 base_encode: Failed to open log file: /var/spoo l/asterisk/voicemail/default/300/INBOX/msg0000.WAV: No such file or directory Does anyone know what is up...
2015 Apr 30
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
I don't think we should make flush virtual. Why do you need to do it? Can't you set up the base class to write to use the tail of the memory region as the buffer? On 24 April 2015 at 06:46, Yaron Keren <yaron.keren at gmail.com> wrote: > Hi, > > Is this what you're thinking about? > The code is not tested yet, I'd like to know if the overall direction and >
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...o. They both supply Volume objects. New objects are: Volume Holds metadata on a specific object, and a handle to a Transfer object which can read/write it. Transfer Provides a read or write stream to an underlying volume. This will also be extended to provide a file interface. ReadStream/WriteStream Provides read/write streaming access to a volume's data. --- MANIFEST | 12 +- lib/Sys/VirtV2V/Connection/LibVirt.pm | 193 ++------ lib/Sys/VirtV2V/Connection/LibVirtSource.pm | 247 +++++++++ .../LibVirt.pm => Connection/...
2015 May 02
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
Could you dig into why: + raw_ostream &write(unsigned char C) override { + grow(1); + *OutBufCur++ = C; + return *this; + } Is 3 times as fast as raw_svector_ostream? I don't see a good reason why that should be any faster than: raw_ostream &operator<<(char C) { if (OutBufCur >= OutBufEnd) return write(C); *OutBufCur++ = C; return *this; }
2015 May 02
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...-0,0 +1,45 @@ +#include "llvm/ADT/SmallString.h" +#include "llvm/Support/raw_ostream.h" + +#include <ctime> + +using namespace llvm; + +namespace { +const StringRef FuncName = + "thadddddddddsrttttttttttttttttttttttttjouhojkirjdjdsjoiuosiasddjisjsrof"; + +void writeStream(raw_ostream &OS) { + OS << "_Z" << FuncName.size() << FuncName << 'v'; +} + +const unsigned BufferSize = 128; +void test_raw_char_ostream() { + char Buffer[BufferSize]; + raw_char_ostream OS(Buffer, sizeof(Buffer)); + writeStream(OS); +} + +void tes...