search for: buffe

Displaying 20 results from an estimated 417 matches for "buffe".

Did you mean: buffer
2020 Jun 01
1
[PATCH] erlang: Port to libei for Erlang 23
...guestfs_set_error_handler (g, NULL, NULL); - while ((buf = read_message ()) != NULL) { - message = erl_decode (buf); - free (buf); + while ((buff = read_message ()) != NULL) { + if (ei_x_new_with_version (&reply) != 0) + error (EXIT_FAILURE, 0, "could not allocate reply buffer"); - ret = dispatch (message); - erl_free_term (message); + index = 0; + if (ei_decode_version (buff, &index, &version) != 0) + error (EXIT_FAILURE, 0, "could not interpret the input message"); - write_reply (ret); - erl_free_term (ret); + if (d...
2005 Apr 11
2
[LLVMdev] JIT and array pointers
On Sun, 2005-04-10 at 19:47 -0500, Chris Lattner wrote: > On Mon, 11 Apr 2005, Paul wrote: > > I'm trying to pass an array pointer to my run-time generated module, and > > after a long time of searching for the answer, the only thing I got was > > a headache. Basically I have a few arrays (few megabytes which will > > sometimes be accessed as 8 / 16 / 32 / 64 bit
2005 Apr 11
0
[LLVMdev] JIT and array pointers
On Mon, 11 Apr 2005, dummy1 at boxpl.com wrote: >> There are many possible ways to do this, can you be a bit more specific >> about what you're trying to do? > Here is a basic example: Ah, ok, I see what you're trying to do. Below is some *pseudo* code for the basic idea: > ============================================ > unsigned int buff[4096]; > > int main
2002 Jan 13
1
rsynd-2.5.1 / batch.c patch
Platform: Compaq OpenVMS Alpha 7.3 Compiler: Compaq C T6.5 The following patch is an update to a previous patch that I submitted. The only change from the previous patch is that the const qualifier has been added to write_batch_*() routines to improve compiler efficiency. Because the gdiff -u was done against the distribution it includes the previous patch. The functions with no parameters
2015 Oct 11
2
[PATCH] cpu.c: initialize a variable
Some debugging tools don't like if a code uses unitialized variables. The code in cpu.c uses the value of fxsr.buff[50], so it makes sense to explicitely initialize it (because fxsave can fail to do it). -------------- next part -------------- A non-text attachment was scrubbed... Name: cpu_init_val.patch Type: application/octet-stream Size: 409 bytes Desc: not available Url :
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano"). So I looked into the code and found the following in character.c (triggered by substr()): I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain compilers. When called with len<0 the code is assumed to re-size buff to MAXELTSIZE: realloc(buff, 0); buff = (char *) realloc(buff, MAXELTSI...
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano"). So I looked into the code and found the following in character.c (triggered by substr()): I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain compilers. When called with len<0 the code is assumed to re-size buff to MAXELTSIZE: realloc(buff, 0); buff = (char *) realloc(buff, MAXELTSI...
2004 Sep 12
0
Help needed: division by zero in winword etc.
Hi, in quite a few programs i can not browse the filesystem when opening a "listbox"; to be more clear: for example when i do in winword Open and the listbox appears, and i try to open the pull down menu winword just quits(without an error message in wine). In another program like "Camel join" it quits as soon as i go up to the level of "my computer" with a message
2004 Aug 06
0
Submission: Patch to libshout/sock.c for MacOSX
...1024, fmt, ap); #else vsprintf(buff, fmt, ap); #endif va_end(ap); return (sock_write_bytes(sockfd, buff, strlen(buff)) > 0); } /* * Read one line of at max len bytes from sockfd into buff. * If ok, return 1 and nullterminate buff. Otherwize return 0. * Terminating \n is not put into the buffer. * Assert Class: 2 */ int sock_read_line(SOCKET sockfd, char *buff, const int len) { char c = '\0'; int read_bytes, pos; if (!sock_valid_socket(sockfd)) { return 0; } else if (!buff) { return 0; } else if (len <= 0) { return 0; } pos = 0; read_bytes = recv(sockfd, &amp...
2002 Jan 30
1
"Buff" memory grows
Hi. I have shifted from redhat 7.1 to 7.2, and have several machines running both versions now. I have noticed, that the memory usage patern is very different on machines using ext2 and ext3 - the ones using ext2 usually use 5-10 MB of "buff" memory, but the ones with ext3 grow to 50MB on machines with 128MB, and to 250MB with on machine with 512 MB. I have conducted a test, and changed
2018 May 21
2
[RFC PATCH net-next 10/12] vhost_net: build xdp buff
On Mon, 21 May 2018 17:04:31 +0800 Jason wrote: > This patch implement build XDP buffers in vhost_net. The idea is do > userspace copy in vhost_net and build XDP buff based on the > page. Vhost_net can then submit one or an array of XDP buffs to > underlayer socket (e.g TUN). TUN can choose to do XDP or call > build_skb() to build skb. To support build skb, vnet header we...
2002 Feb 11
0
RSYNC 2.5.2 type mismatches in batch.c
Platform: OpenVMS Alpha 7.3 Compiler: Compaq C T6.5-002 on OpenVMS Alpha V7.3 Comile flags: /WARN=ENABLE=(LEVEL4, QUESTCODE) Best guess at UNIX equivalents of above compile flags: LEVEL4 = All warnings QUESTCODE = Do LINT processing on source. -John wb8tyw@qsl.network Personal Opinion Only batch.c (char *) is being used as a type, when a generic structure is being passed. (void *) appears
2018 May 21
0
[RFC PATCH net-next 10/12] vhost_net: build xdp buff
This patch implement build XDP buffers in vhost_net. The idea is do userspace copy in vhost_net and build XDP buff based on the page. Vhost_net can then submit one or an array of XDP buffs to underlayer socket (e.g TUN). TUN can choose to do XDP or call build_skb() to build skb. To support build skb, vnet header were also stored into...
2006 Jan 10
2
Problem with Action:Originate with ASterisk Manager
Hi Asterisk-users, I am working with Aterisk Manager API's. I can login successfuly with the following. char buff[256]; strcpy(buff, "Action: Login\r\nUsername: admin\r\nSecret: unix\r\n\r\n"); send(msock, buff, 255); Now I want to try Action: Originate, therefore I tried the following char buff1[256]; strcpy(buff1, "Action: Originate\r\nChannel:
2002 Feb 07
1
Latest version of the batch mode cleanup patch
Here's the latest version of the batch mode cleanup patch. Index: batch.c =================================================================== RCS file: /cvsroot/rsync/batch.c,v retrieving revision 1.12 diff -u -r1.12 batch.c --- batch.c 24 Jan 2002 08:09:46 -0000 1.12 +++ batch.c 6 Feb 2002 19:47:57 -0000 @@ -8,55 +8,38 @@ #include "rsync.h" #include <time.h> -char
2004 Sep 13
1
bitmap() doesn't finish with file in Windows (PR#7224)
Full_Name: Tom Short Version: 1.9.0 OS: Win2000 Submission from: (NULL) (64.65.255.41) POSSIBLE WISHLIST, POSSIBLE BUG: The following code works on Debian, but fails on Windows 2000 with 'Error in file("test.png", "r") : unable to open connection': bitmap("test.png") plot(c(1,2,3)) dev.off() x = file("test.png","r") The problem is
2012 Nov 12
3
nomenclature for conf files
It might sound stupid, but I'd like to know if there's any difference. Are those 3 line the same? WITH_KMS=YES WITH_KMS="YES" WITH_KMS=yes Best regards Zoran
2025 Apr 10
1
table() and as.character() performance for logical values
Chain?of?calls?of?C?functions?in?coerce.c?for?as.character(<logical>)?in?R: do_asatomic ascommon coerceVector coerceToString StringFromLogical?(for?each?element) The?definition?of?'StringFromLogical'?in?coerce.c?: attribute_hidden?SEXP?StringFromLogical(int?x,?int?*warn) { ????int?w; ????formatLogical(&x,?1,?&w); ????if?(x?==?NA_LOGICAL)?return?NA_STRING;
2004 Aug 06
0
iceS 0.2.2 bug?
I havent had the time to look into this further, and since i'm not a much of a C progammer, i'm afraid i might never figure it out so i thought i'd report it here. i'm running icecast 1.3.11 and feeding it with iceS 0.2.2. i've got 7 streams running, each running a different playlist out of my collection in random order. one of the streams runs for a few hours and then
2007 Apr 18
3
Problems with the Speex Jitter Buffer
Hi, I am using the JitterBuffer. Since there is not so much documentation I think I dont use it in a correct way. All the packets are recieved (I control the sequence numbers) but the JitterBuffer often tells me he has no packet. I am using it in the following way: I am not sure if I use the ticks correctly but I think it ca...