Lines Matching defs:index
77 pub index: u64,
110 index: 0,
235 Some(index) => {
236 match create_dir_all_with_permission((transfer.local_path[0..index]).to_string(), 0o750) {
275 index: usize,
281 let pos = (index as u64) * (FILE_PACKAGE_PAYLOAD_SIZE as u64);
320 index: pos,
427 let mut index = 0;
429 while index < workers_count {
432 index,
438 index += 1;
457 if (index as u64) * (FILE_PACKAGE_PAYLOAD_SIZE as u64) < _file_size {
460 index,
466 index += 1;
477 let file_index = header.index;
525 tbase.index += buffer.len() as u64;
527 "transfer file [{}] index {} / {}",
529 tbase.index,
532 if tbase.index >= tbase.file_size {