Displaying 18 results from an estimated 18 matches for "flength".
Did you mean:
length
2003 Mar 30
1
[RFC][patch] dynamic rolling block and sum sizes II
...<<7)
/* update this if you make incompatible changes */
-#define PROTOCOL_VERSION 26
+#define PROTOCOL_VERSION 27
/* We refuse to interoperate with versions that are not in this range.
* Note that we assume we'll work with later versions: the onus is on
@@ -406,7 +406,8 @@
OFF_T flength; /**< total file length */
size_t count; /**< how many chunks */
size_t remainder; /**< flength % block_length */
- size_t n; /**< block_length */
+ size_t blength; /**< block_length */
+ size_t s2length; /**< sum2_length */
struct sum_buf *sums; /**< points to info f...
2003 Mar 23
1
[RFC] dynamic checksum size
...<<7)
/* update this if you make incompatible changes */
-#define PROTOCOL_VERSION 26
+#define PROTOCOL_VERSION 27
/* We refuse to interoperate with versions that are not in this range.
* Note that we assume we'll work with later versions: the onus is on
@@ -385,7 +385,8 @@
OFF_T flength; /**< total file length */
size_t count; /**< how many chunks */
size_t remainder; /**< flength % block_length */
- size_t n; /**< block_length */
+ size_t blength; /**< block_length */
+ size_t s2length; /**< csum_length */
struct sum_buf *sums; /**< points to info f...
2002 Apr 23
1
patch: timeout problem solved
...= (len%block_len);
+ size_t i;
+ struct sum_struct sum;
OFF_T offset = 0;
- count = (len+(block_len-1))/block_len;
-
- s = (struct sum_struct *)malloc(sizeof(*s));
- if (!s) out_of_memory("generate_sums");
-
- s->count = count;
- s->remainder = remainder;
- s->n = n;
- s->flength = len;
-
- if (count==0) {
- s->sums = NULL;
- return s;
- }
+ sum.count = (len+(block_len-1))/block_len;
+ sum.remainder = (len%block_len);
+ sum.n = block_len;
+ sum.flength = len;
+ /* not needed here sum.sums = NULL; */
- if (verbose > 3)
+ if (sum.count && verbose > 3)...
2004 Dec 27
7
[Bug 2187] rsync large file getting verification failed using -z
https://bugzilla.samba.org/show_bug.cgi?id=2187
------- Additional Comments From qiucheng@csc.com.cn 2004-12-27 01:15 -------
Created an attachment (id=869)
--> (https://bugzilla.samba.org/attachment.cgi?id=869&action=view)
error log
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact
2003 Oct 05
2
Possible security hole
Maybe security related mails should be sent elsewhere? I didn't notice
any so here it goes:
sender.c:receive_sums()
s->count = read_int(f);
..
s->sums = (struct sum_buf *)malloc(sizeof(s->sums[0])*s->count);
if (!s->sums) out_of_memory("receive_sums");
for (i=0; i < (int) s->count;i++) {
s->sums[i].sum1 = read_int(f);
2003 Oct 01
0
AW: problem with batch mode:
...ting pid=395
recv_file_name(old.zip)
received 1 names
recv_file_list done
get_local_name count=1 ../new.zip
generator starting pid=395 count=1
delta transmission enabled
recv_generator(../new.zip,0)
generating and sending sums for 0
send_files(0, ../old.zip)
count=624 rem=638 blength=700 s2length=2 flength=436738
recv_files(1) starting
send_files mapped ../old.zip of size 498783
calling match_sums ../old.zip
old.zip
built hash table
hash search b=700 len=498783
match at 700 last_match=0 j=1 len=700 n=700
match at 1400 last_match=1400 j=2 len=700 n=0
match at 2100 last_match=2100 j=3 len=700 n=0
match...
2003 Sep 30
2
problem with batch mode:
Hi!
I try to use batch mode to send only the difference between two packed CDs
by email over a slow line.
I create the diff with:
rsync -avvv --write-batch=rs CD-ROM-V6.6.32.zip CD-ROM-V6.6.31.zip
where
alfred:/Auslieferung/CD # l -n
-rw-r--r-- 1 0 0 453248121 Sep 2 16:22 CD-ROM-V6.6.31.zip
-rw-r--r-- 1 0 0 407416499 Sep 29 13:39 CD-ROM-V6.6.32.zip
resulting
2008 Oct 09
1
Error when reading a SAS transport file
...t from
test <- lookup.xport("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt")
print(test)
for the first SAS dataset:
SAS xport file
--------------
Filename: `D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt'
Variables in data set `ADMIN':
dataset name type format flength fdigits iformat iflength
ifdigits label nobs
ADMIN CEN numeric 5 0 0
0 Centre 696
ADMIN PNO numeric 6 0 0
0...
2004 Jul 16
6
[Bug 1529] 32bit rollover problem rsyncing files greater than 4GB in size
https://bugzilla.samba.org/show_bug.cgi?id=1529
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From wayned@samba.org 2004-07-14 09:55
2004 Jul 16
0
[Bug 1529] New: 32bit rollover problem rsyncing files greater than 4GB in size
...ile to consider
recv_file_list done
get_local_name count=1 ./
recv_files(1) starting
generator starting pid=25013 count=1
delta transmission enabled
recv_generator(bigtestfile,0)
send_file_list done
send_files starting
generating and sending sums for 0
count=56894 rem=56488 blength=56888 s2length=4 flength=3236585472
Killed by signal 2.
The interesting thing is that the actual file size on both ends is
7531552768, but the size claimed by rsync is exactly 4gig less than that,
which is also the remainder of the size that fits in a 32bit unsigned int, which
looks like a 32bit rollover or var size erro...
2006 Oct 25
0
rsync 2.6.8 timeouts
...tory)
received 1 names
done
recv_file_list done
get_local_name count=1 /cvsroot/uclinux533/CVSROOT/history
recv_files(1) starting
generator starting pid=27391 count=1
delta-transmission enabled
recv_generator(history,0)
generating and sending sums for 0
count=33367 rem=2109 blength=33352 s2length=3 flength=1112824941
generate_files phase=1
and then nothing.
If I strace the process, I get
home/home/rgetz/testcvs/gcc1 # strace -p 27391
Process 27391 attached - interrupt to quit
select(5, [4], [], NULL, {22, 983000}) = 0 (Timeout)
select(5, [4], [], NULL, {60, 0}) = 0 (Timeout)
select(5, [4],...
2018 May 11
4
[Bug 13433] New: out_of_memory in receive_sums on large files
...ority: P5
Component: core
Assignee: wayned at samba.org
Reporter: toasty at dragondata.com
QA Contact: rsync-qa at samba.org
I'm attempting to rsync a 4TB file. It fails with:
generating and sending sums for 0
count=33554432 rem=0 blength=131072 s2length=6 flength=4398046511104
chunk[0] offset=0 len=131072 sum1=8d15ed6f
chunk[1] offset=131072 len=131072 sum1=3d66e7f7
[omitted]
chunk[6550] offset=858521600 len=131072 sum1=d70deab6
chunk[6551] offset=858652672 len=131072 sum1=657e34df
send_files(0, /bay3/b.tc)
count=33554432 n=131072 rem=0
ERROR: out of memory...
2004 Jan 26
1
--link-dest not working with rsync daemon?
...move
send_file_list done
deleting in .
recv_files(2) starting
generator starting pid=1001 count=2
delta transmission enabled
recv_generator(.,0)
set modtime of . to (1075148267) Mon Jan 26 15:17:47 2004
./
recv_generator(foo,1)
generating and sending sums for 1
count=1 rem=4 blength=700 s2length=2 flength=4
generate_files phase=1
recv_files(foo)
recv mapped foo of size 4
foo
got file_sum
renaming .foo.cJC1Ra to foo
set modtime of foo to (1075148267) Mon Jan 26 15:17:47 2004
recv_files phase=1
generate_files phase=2
recv_generator(.,0)
set modtime of . to (1075148267) Mon Jan 26 15:17:47 2004
recv_fi...
2020 Jun 10
2
Delta-compression and --write-devices
...ver] change_dir(/root)
-generator starting pid=2490
+generator starting pid=2486
delta-transmission enabled
-recv_generator(dm-7,0)
+recv_generator(file,0)
-gen mapped dm-7 of size 0 ***
+gen mapped file of size 64400243
generating and sending sums for 0
+count=8026 rem=7643 blength=8024 s2length=3 flength=64400243 %%%
recv_files(1) starting
The line I marked with *** seems to indicate the size of dm-7 is 0. The
line marked with %%% seems to indicate that in case of the destination
being a file hashes are produced, but that lack of this line in the
output when the destination is a device seems to...
2003 Mar 20
1
rsync 2.5.6 still hangs
...'file_33' is the largest file, about 20M (but only about 200K
difference). I tried doing the same with -vvvv (which shows the individual
checksums), and it had this:
recv_generator(file_33,32)
gen mapped file_33 of size 21308244
generating and sending sums for 32
count=10014 rem=580 n=2128 flength=21308244
chunk[0] offset=0 len=2128 sum1=77f93b94
chunk[1] offset=2128 len=2128 sum1=3ec13ce7
chunk[2] offset=4256 len=2128 sum1=99573c59
chunk[3] offset=6384 len=2128 sum1=6a7735a9
<snip>
chunk[7800] offset=16598400 len=2128 sum1=cc0995f1
chunk[7801] offset=16600528 len=2128 sum1=6c2a8f1b
ch...
2007 Nov 15
1
Problem with rsync recent file logic ?
...et_local_name count=2 /tmp/test_rsync/
recv_files(2) starting
generator starting pid=12320 count=2
delta transmission enabled
recv_generator(.,0)
recv_generator(maxim_file.dat,1)
generating and sending sums for 1
send_files(1, /tmp/test_rsync/maxim_file.dat)
count=729 rem=128 blength=720 s2length=2 flength=524288
send_files mapped /tmp/test_rsync/maxim_file.dat of size 524288
calling match_sums /tmp/test_rsync/maxim_file.dat
maxim_file.dat
built hash table
hash search b=720 len=524288
done hash search
sending file_sum
false_alarms=0 tag_hits=5722 matches=0
sender finished /tmp/test_rsync/maxim_file.d...
2019 Mar 26
1
IMAP coredumps for one user
...1eb8591
"body", length_ = 4, static npos = 2147483647}
t = {<icu::Replaceable> = {<icu::UObject> = {<icu::UMemory> = {<No
data fields>}, _vptr$UObject = 0x822c3bc0 <vtable for
icu::UnicodeString+16>}, <No data fields>}, fUnion = {fStackFields =
{fLengthAndFlags = 130,
fBuffer = u<error reading variable>}, fFields =
{fLengthAndFlags = 130, fLength = 6553711, fCapacity = 121, fArray =
0x7fffffffe270 u<error reading variable>}}}
s2 = <optimized out>
sp2 = <optimized out>
#11 0x0000000081ec0667 in...
2007 Sep 22
0
rsync build on IA64 using icc
...^
receiver.c(56): remark #1419: external declaration in primary source file
extern struct filter_list_struct server_filter_list;
^
receiver.c(167): remark #1599: declaration hides variable "len" (declared at line 133)
int32 len = sum.flength - offset;
^
receiver.c(175): remark #981: operands are evaluated in unspecified order
full_fname(fname), (double)j, (double)offset);
^
receiver.c(174): remark #981: operands are evaluated in unspecified order
rsyserr(FERROR, errno, "lseek of %s returned %.0f, not...