Home
last modified time | relevance | path

Searched refs:file_offset (Results 251 – 275 of 3942) sorted by relevance

1...<<11121314151617181920>>...158

/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/pluginsimpl/local/disk/
H A DDiskManagerRandomReadController.java65 long file_offset, in createRequest() argument
72 if ( file_offset < 0 || file_offset >= file.getLength()){ in createRequest()
77 if ( length <= 0 || file_offset + length > file.getLength()){ in createRequest()
95 return( controller.addRequest( file, file_offset, length, reverse_order, listener )); in createRequest()
160 long file_offset, in addRequest() argument
169 if ( file_offset >= file_length ){ in addRequest()
171 Debug.out( "Invalid request offset: " + file_offset + ", file length=" + file_length ); in addRequest()
176 if ( file_offset + length > file_length ){ in addRequest()
697 private long file_offset; field in DiskManagerRandomReadController.DiskManagerRandomReadRequestImpl
714 file_offset = _file_offset; in DiskManagerRandomReadRequestImpl()
[all …]
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc175 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
176 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
180 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
187 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
188 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
189 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
206 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
207 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
216 file_info_->file->Read(IOOptions(), file_offset, size_to_read, in ReadNonMmap()
222 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/rocksdb/rocksdb-6.26.1/table/plain/
H A Dplain_table_key_coding.cc175 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
176 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
180 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
187 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
188 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
189 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
206 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
207 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
216 file_info_->file->Read(IOOptions(), file_offset, size_to_read, in ReadNonMmap()
222 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc175 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
176 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
180 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
187 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
188 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
189 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
206 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
207 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
216 file_info_->file->Read(IOOptions(), file_offset, size_to_read, in ReadNonMmap()
222 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/rocksdb-lite/rocksdb-6.26.1/table/plain/
H A Dplain_table_key_coding.cc175 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
176 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
180 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
187 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
188 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
189 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
206 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
207 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
216 file_info_->file->Read(IOOptions(), file_offset, size_to_read, in ReadNonMmap()
222 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc175 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
176 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
180 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
187 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
188 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
189 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
206 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
207 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
216 file_info_->file->Read(IOOptions(), file_offset, size_to_read, in ReadNonMmap()
222 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/table/plain/
H A Dplain_table_key_coding.cc170 assert(file_offset + len <= file_info_->data_end_offset); in GetFromBuffer()
171 return Slice(buffer->buf.get() + (file_offset - buffer->buf_start_offset), in GetFromBuffer()
175 bool PlainTableFileReader::ReadNonMmap(uint32_t file_offset, uint32_t len, in ReadNonMmap() argument
182 if (file_offset >= buffer->buf_start_offset && in ReadNonMmap()
183 file_offset + len <= buffer->buf_start_offset + buffer->buf_len) { in ReadNonMmap()
184 *out = GetFromBuffer(buffer, file_offset, len); in ReadNonMmap()
201 assert(file_offset + len <= file_info_->data_end_offset); in ReadNonMmap()
202 uint32_t size_to_read = std::min(file_info_->data_end_offset - file_offset, in ReadNonMmap()
210 Status s = file_info_->file->Read(file_offset, size_to_read, &read_result, in ReadNonMmap()
216 new_buffer->buf_start_offset = file_offset; in ReadNonMmap()
[all …]
/dports/lang/micropython/micropython-1.17/ports/stm32/mboot/
H A Dfwupdate.py59 file_offset = 11
65 file_offset += 274
66 file_offset_t = file_offset
72 file_offset += 8 + e_size
74 if t_size != file_offset - file_offset_t:
75 print("corrupt DFU", t_size, file_offset - file_offset_t)
78 if size != file_offset:
79 print("corrupt DFU", size, file_offset)
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dphbf.c325 file_recovery->offset_error=file_offset; in photorec_bf_pad()
417 (long long unsigned)file_offset, in photorec_bf_pad()
435 (unsigned long long)file_offset, in photorec_bf_pad()
539 uint64_t file_offset; in photorec_bf_frag() local
564 file_offset >= blocksize && in photorec_bf_frag()
565 (original_offset_error <= file_offset+6*512 || in photorec_bf_frag()
567 file_offset -= blocksize) in photorec_bf_frag()
575 file_recovery->checkpoint_offset = file_offset; in photorec_bf_frag()
576 file_recovery->file_size=file_offset; in photorec_bf_frag()
586 (long long unsigned)file_offset); in photorec_bf_frag()
[all …]
/dports/emulators/yuzu/yuzu-0b47f7a46/src/core/file_sys/
H A Dromfs.cpp67 void ProcessFile(VirtualFile file, std::size_t file_offset, std::size_t data_offset, in ProcessFile() argument
70 auto entry = GetEntry<FileEntry>(file, file_offset + this_file_offset); in ProcessFile()
82 void ProcessDirectory(VirtualFile file, std::size_t dir_offset, std::size_t file_offset, in ProcessDirectory() argument
91 ProcessFile(file, file_offset, data_offset, entry.first.child_file, current); in ProcessDirectory()
95 ProcessDirectory(file, dir_offset, file_offset, data_offset, entry.first.child_dir, in ProcessDirectory()
115 const u64 file_offset = header.file_meta.offset; in ExtractRomFS() local
122 ProcessDirectory(file, dir_offset, file_offset, header.data_offset, 0, root); in ExtractRomFS()
/dports/devel/liblnk/liblnk-20210417/liblnk/
H A Dliblnk_data_block.c245 off64_t file_offset, in liblnk_data_block_read_file_io_handle() argument
281 file_offset, in liblnk_data_block_read_file_io_handle()
282 file_offset ); in liblnk_data_block_read_file_io_handle()
289 file_offset, in liblnk_data_block_read_file_io_handle()
300 file_offset, in liblnk_data_block_read_file_io_handle()
301 file_offset ); in liblnk_data_block_read_file_io_handle()
348 if( (off64_t) data_block->size > (off64_t) ( io_handle->file_size - file_offset ) ) in liblnk_data_block_read_file_io_handle()
/dports/devel/libvslvm/libvslvm-20210807/libvslvm/
H A Dlibvslvm_metadata_area.c191 off64_t file_offset, in libvslvm_metadata_area_read_data() argument
449 (off64_t) ( file_offset + offset ), in libvslvm_metadata_area_read_data()
507 off64_t file_offset, in libvslvm_metadata_area_read_file_io_handle() argument
532 file_offset, in libvslvm_metadata_area_read_file_io_handle()
533 file_offset ); in libvslvm_metadata_area_read_file_io_handle()
540 file_offset, in libvslvm_metadata_area_read_file_io_handle()
551 file_offset, in libvslvm_metadata_area_read_file_io_handle()
552 file_offset ); in libvslvm_metadata_area_read_file_io_handle()
560 file_offset, in libvslvm_metadata_area_read_file_io_handle()
/dports/net/mpich2/mpich2-1.5/src/mpi/romio/adio/ad_zoidfs/
H A Dad_zoidfs_io.c25 uint64_t file_offset = offset; in ZOIDFS_IOContig() local
34 file_offset = fd->fp_ind; in ZOIDFS_IOContig()
41 1, &file_offset, &file_len, ZOIDFS_NO_OP_HINT)); in ZOIDFS_IOContig()
46 1, &file_offset, &file_len, ZOIDFS_NO_OP_HINT)); in ZOIDFS_IOContig()
62 fd->fp_sys_posn = file_offset + file_len; in ZOIDFS_IOContig()
/dports/net/openmpi3/openmpi-3.1.6/ompi/mca/io/romio314/romio/adio/ad_zoidfs/
H A Dad_zoidfs_io.c26 uint64_t file_offset = offset; in ZOIDFS_IOContig() local
35 file_offset = fd->fp_ind; in ZOIDFS_IOContig()
42 1, &file_offset, &file_len, ZOIDFS_NO_OP_HINT)); in ZOIDFS_IOContig()
47 1, &file_offset, &file_len, ZOIDFS_NO_OP_HINT)); in ZOIDFS_IOContig()
63 fd->fp_sys_posn = file_offset + file_len; in ZOIDFS_IOContig()
/dports/net/openmpi/openmpi-4.1.1/ompi/mca/io/romio321/romio/adio/ad_zoidfs/
H A Dad_zoidfs_io.c26 uint64_t file_offset = offset; in ZOIDFS_IOContig() local
35 file_offset = fd->fp_ind; in ZOIDFS_IOContig()
42 1, &file_offset, &file_len, ZOIDFS_NO_OP_HINT)); in ZOIDFS_IOContig()
47 1, &file_offset, &file_len, ZOIDFS_NO_OP_HINT)); in ZOIDFS_IOContig()
63 fd->fp_sys_posn = file_offset + file_len; in ZOIDFS_IOContig()
/dports/devel/libvhdi/libvhdi-20210425/libvhdi/
H A Dlibvhdi_file_information.c264 off64_t file_offset, in libvhdi_file_information_read_file_io_handle() argument
290 file_offset, in libvhdi_file_information_read_file_io_handle()
291 file_offset ); in libvhdi_file_information_read_file_io_handle()
298 file_offset, in libvhdi_file_information_read_file_io_handle()
309 file_offset, in libvhdi_file_information_read_file_io_handle()
310 file_offset ); in libvhdi_file_information_read_file_io_handle()
/dports/devel/libfsapfs/libfsapfs-20210424/libfsapfs/
H A Dlibfsapfs_object.c146 off64_t file_offset, in libfsapfs_object_read_file_io_handle() argument
171 file_offset, in libfsapfs_object_read_file_io_handle()
172 file_offset ); in libfsapfs_object_read_file_io_handle()
179 file_offset, in libfsapfs_object_read_file_io_handle()
190 file_offset, in libfsapfs_object_read_file_io_handle()
191 file_offset ); in libfsapfs_object_read_file_io_handle()
/dports/www/h2o-devel/h2o-dcc7134/deps/brotli/research/
H A Ddeorummolae.cc65 std::vector<size_t>* file_offset, int* next_terminator) { in buildFullText() argument
67 file_offset->resize(0); in buildFullText()
70 file_offset->push_back(full_text->size()); in buildFullText()
113 std::vector<size_t>* file_map, std::vector<size_t>* file_offset, in poisonData() argument
116 pos -= file_offset->at(f); in poisonData()
137 std::vector<size_t>* file_offset) { in cutMatch() argument
143 sa->at(i), length, data, file_map, file_offset, next_terminator); in cutMatch()
147 sa->at(index), length, data, file_map, file_offset, next_terminator); in cutMatch()
187 std::vector<size_t> file_offset; in DM_generate() local
201 buildFullText(&data, &full_text, &file_map, &file_offset, &next_terminator); in DM_generate()
[all …]
/dports/devel/libfsxfs/libfsxfs-20210726/libfsxfs/
H A Dlibfsxfs_inode_information.c426 off64_t file_offset, in libfsxfs_inode_information_read_file_io_handle() argument
440 file_offset, in libfsxfs_inode_information_read_file_io_handle()
441 file_offset ); in libfsxfs_inode_information_read_file_io_handle()
448 file_offset, in libfsxfs_inode_information_read_file_io_handle()
459 file_offset, in libfsxfs_inode_information_read_file_io_handle()
460 file_offset ); in libfsxfs_inode_information_read_file_io_handle()
477 file_offset, in libfsxfs_inode_information_read_file_io_handle()
478 file_offset ); in libfsxfs_inode_information_read_file_io_handle()

1...<<11121314151617181920>>...158