Displaying 14 results from an estimated 14 matches for "outbufstart".
2015 Apr 30
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...>
>>>> While raw_svector_ostream is smart to share the text buffer itself, it's
>>>> inefficient keeping two sets of pointers to the same buffer:
>>>>
>>>> In SmallString: void *BeginX, *EndX, *CapacityX
>>>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
>>>>
>>>> Moreover, at runtime the two sets of pointers need to be coordinated
>>>> between the SmallString and raw_svector_ostream using
>>>> raw_svector_ostream::init, raw_svector_ostream::pwrite,
>>>> raw_svector...
2015 May 02
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...am is smart to share the text buffer itself,
>> it's
>> >>>> inefficient keeping two sets of pointers to the same buffer:
>> >>>>
>> >>>> In SmallString: void *BeginX, *EndX, *CapacityX
>> >>>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
>> >>>>
>> >>>> Moreover, at runtime the two sets of pointers need to be coordinated
>> >>>> between the SmallString and raw_svector_ostream using
>> >>>> raw_svector_ostream::init, raw_svector_ostream::...
2015 Apr 20
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...<< ...
>> Use OS.str()
>>
>> While raw_svector_ostream is smart to share the text buffer itself, it's
>> inefficient keeping two sets of pointers to the same buffer:
>>
>> In SmallString: void *BeginX, *EndX, *CapacityX
>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
>>
>> Moreover, at runtime the two sets of pointers need to be coordinated
>> between the SmallString and raw_svector_ostream using
>> raw_svector_ostream::init, raw_svector_ostream::pwrite, raw_svector_ostream::resync
>> and raw_svector_ostream...
2015 May 02
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...the text buffer itself,
>>> it's
>>> >>>> inefficient keeping two sets of pointers to the same buffer:
>>> >>>>
>>> >>>> In SmallString: void *BeginX, *EndX, *CapacityX
>>> >>>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
>>> >>>>
>>> >>>> Moreover, at runtime the two sets of pointers need to be coordinated
>>> >>>> between the SmallString and raw_svector_ostream using
>>> >>>> raw_svector_ostream::init, raw_s...
2012 Sep 10
2
[LLVMdev] About writing an alias analysis pass for LLVM 3.1
...s analysis pass for LLVM 3.1. The pass
is compiled into a .so library. When I loaded it into opt to perform
evaluation with command:
opt -load my-so-lib -aa-eval foo.bc
the following errors occurred:
opt: raw_ostream.cpp:261: void llvm::raw_ostream::flush_nonempty():
Assertion `OutBufCur > OutBufStart && "Invalid call to flush_nonempty."'
failed.
As stated in the documentation I found on LLVM official website, an
alias analysis pass should subclass both Passand AliasAnalysisclass. I
used GDB for some debugging, and found why the error emerged.
By MyAAnote the pass clas...
2015 Apr 19
6
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...s
SmallString<128> S;
raw_svector_ostream OS(S);
OS<< ...
Use OS.str()
While raw_svector_ostream is smart to share the text buffer itself, it's
inefficient keeping two sets of pointers to the same buffer:
In SmallString: void *BeginX, *EndX, *CapacityX
In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
Moreover, at runtime the two sets of pointers need to be coordinated
between the SmallString and raw_svector_ostream using
raw_svector_ostream::init, raw_svector_ostream::pwrite,
raw_svector_ostream::resync
and raw_svector_ostream::write_impl.
All these functions have non-i...
2012 Sep 10
0
[LLVMdev] About writing an alias analysis pass for LLVM 3.1
...3.1. The pass is compiled into a .so library. When I loaded it into opt to perform evaluation with command:
>
> opt -load my-so-lib -aa-eval foo.bc
>
> the following errors occurred:
>
> opt: raw_ostream.cpp:261: void llvm::raw_ostream::flush_nonempty(): Assertion `OutBufCur > OutBufStart && "Invalid call to flush_nonempty."' failed.
>
> As stated in the documentation I found on LLVM official website, an alias analysis pass should subclass both Pass and AliasAnalysis class. I used GDB for some debugging, and found why the error emerged.
>
> By MyAA...
2015 Jun 17
8
[Bug 11338] New: Rsync Crash - Segmentation fault
https://bugzilla.samba.org/show_bug.cgi?id=11338
Bug ID: 11338
Summary: Rsync Crash - Segmentation fault
Product: rsync
Version: 3.1.1
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter:
2013 Nov 07
2
Segfaults on connection loss
...0, indigest = 0x7ff0d99ef8c0, outdigest = 0x7ff0d99ef8c0,
inmaclength = 0, outmaclength = 0, incompression = 0, outcompression =
0, mychallenge = 0x0, hischallenge = 0x0, buffer = "...", buflen = 0,
reqlen = 0, tcplen = 0, allow_request = 0, outbuf = 0x1ab75d0 "0 ...
17\n", outbufstart = 0, outbuflen = 0, outbufsize = 14, last_ping_time =
1383624085, last_flushed_time = 1383624085, config_tree = 0x1abb580}
(gdb) p c->status.remove
$3 = 1
(gdb) p now
$4 = 1383624087
(gdb) p pingtimeout
$5 = 2
It seems as if something else already cleaned up the connection, also
c->status...
2015 Aug 12
2
SmallString + raw_svector_ostream combination should be more efficient
...>> >>>> inefficient keeping two sets of pointers to the same buffer:
> >>>>>> >>>>
> >>>>>> >>>> In SmallString: void *BeginX, *EndX, *CapacityX
> >>>>>> >>>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
> >>>>>> >>>>
> >>>>>> >>>> Moreover, at runtime the two sets of pointers need to be
> >>>>>> >>>> coordinated
> >>>>>> >>>> between the SmallS...
2015 May 22
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...self, it's
>>>>> >>>> inefficient keeping two sets of pointers to the same buffer:
>>>>> >>>>
>>>>> >>>> In SmallString: void *BeginX, *EndX, *CapacityX
>>>>> >>>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
>>>>> >>>>
>>>>> >>>> Moreover, at runtime the two sets of pointers need to be
>>>>> coordinated
>>>>> >>>> between the SmallString and raw_svector_ostream using
>>>>&...
2013 Apr 16
7
[Bug 9798] New: rsync crash with SIGSEGV when read time out happens
...step_data=0x80a3d24,
inptrp=0xbfffb05c, inend=0xbfffbd48 "\n", outptrp=0xbfffaf84, outend=0x80a5018
"", irreversible=0xbfffaf88) at loop.c:282
#1 0xb7f9cbb2 in __gconv_transform_ascii_internal (step=0x80a2ee8,
data=0x80a2fe8, inptrp=0xbfffb05c, inend=0xbfffbd48 "\n", outbufstart=0x0,
irreversible=0xbfffb018, do_flush=0,
consume_incomplete=0) at skeleton.c:483
#2 0xb7f99ec7 in __gconv (cd=0x80a2fe0, inbuf=0xbfffb05c, inbufend=0xbfffbd48
"\n", outbuf=0xbfffb064, outbufend=0x80a3d24 "", irreversible=0xbfffb018) at
gconv.c:63
#3 0xb7f996fc in iconv (...
2015 Aug 13
2
SmallString + raw_svector_ostream combination should be more efficient
...nefficient keeping two sets of pointers to the same buffer:
> >> >>>>>> >>>>
> >> >>>>>> >>>> In SmallString: void *BeginX, *EndX, *CapacityX
> >> >>>>>> >>>> In raw_ostream: char *OutBufStart, *OutBufEnd, *OutBufCur
> >> >>>>>> >>>>
> >> >>>>>> >>>> Moreover, at runtime the two sets of pointers need to be
> >> >>>>>> >>>> coordinated
> >> >>>>>>...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...1.0.8/src/meta.c Tue Nov 14 14:28:11 2006
+++ tinc-1.0.8.my/src/meta.c Thu Sep 25 11:19:53 2008
@@ -59,7 +59,7 @@
}
/* Add our data to buffer */
- if(c->status.encryptout) {
+ if(c->status.st.encryptout) {
result = EVP_EncryptUpdate(c->outctx, (unsigned char *)c->outbuf + c->outbufstart + c->outbuflen,
&outlen, (unsigned char *)buffer, length);
if(!result || outlen < length) {
@@ -126,7 +126,7 @@
for(node = connection_tree->head; node; node = node->next) {
c = node->data;
- if(c != from && c->status.active)
+ if(c != from && c...