search for: cmpbuffer

Displaying 5 results from an estimated 5 matches for "cmpbuffer".

Did you mean: cmdbuffer
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...hfile->prev = hashfiles->prev; + hashfile->next->prev = hashfile; + hashfile->prev->next = hashfile; + } + } + closedir(d); + + return hashfiles; +} + + +struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files) +{ + int amt, hamt; + char buffer[BUFSIZ], cmpbuffer[BUFSIZ]; + struct hashfile_struct *iter, *next; + + if (!files) + return NULL; + + iter = files; /* in case files are 0 bytes */ + while ((amt = read(fd, buffer, BUFSIZ)) > 0) { + iter = files; + do { + /* Icky bit to resync when we steal the first node. */ + if (!files) + files = iter...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...hfile->prev = hashfiles->prev; + hashfile->next->prev = hashfile; + hashfile->prev->next = hashfile; + } + } + closedir(d); + + return hashfiles; +} + + +struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files) +{ + int amt, hamt; + char buffer[BUFSIZ], cmpbuffer[BUFSIZ]; + struct hashfile_struct *iter, *next, *best; + uint32 nlink; + + if (!files) + return NULL; + + iter = files; /* in case files are 0 bytes */ + while ((amt = read(fd, buffer, BUFSIZ)) > 0) { + iter = files; + do { + /* Icky bit to resync when we steal the first node. */ + if (!f...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...hfile->prev = hashfiles->prev; + hashfile->next->prev = hashfile; + hashfile->prev->next = hashfile; + } + } + closedir(d); + + return hashfiles; +} + + +struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files) +{ + int amt, hamt; + char buffer[BUFSIZ], cmpbuffer[BUFSIZ]; + struct hashfile_struct *iter, *next, *best; + uint32 nlink; + + if (!files) + return NULL; + + iter = files; /* in case files are 0 bytes */ + while ((amt = read(fd, buffer, BUFSIZ)) > 0) { + iter = files; + do { + /* Icky bit to resync when we steal the first node. */ + if (!f...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...hfile->prev = hashfiles->prev; + hashfile->next->prev = hashfile; + hashfile->prev->next = hashfile; + } + } + closedir(d); + + return hashfiles; +} + + +struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files) +{ + int amt, hamt; + char buffer[BUFSIZ], cmpbuffer[BUFSIZ]; + struct hashfile_struct *iter, *next, *best; + uint32 nlink; + + if (!files) + return NULL; + + iter = files; /* in case files are 0 bytes */ + while ((amt = read(fd, buffer, BUFSIZ)) > 0) { + iter = files; + do { + /* Icky bit to resync when we steal the first node. */ + if (!f...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...hfile->prev = hashfiles->prev; + hashfile->next->prev = hashfile; + hashfile->prev->next = hashfile; + } + } + closedir(d); + + return hashfiles; +} + + +struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files) +{ + int amt, hamt; + char buffer[BUFSIZ], cmpbuffer[BUFSIZ]; + struct hashfile_struct *iter, *next; + + if (!files) + return NULL; + + iter = files; /* in case files are 0 bytes */ + while ((amt = read(fd, buffer, BUFSIZ)) > 0) { + iter = files; + do { + /* Icky bit to resync when we steal the first node. */ + if (!files) + files = iter...