/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/ |
H A D | boto_resumable_upload.py | 166 def _QueryServicePos(self, conn, file_length): argument 319 cb(total_bytes_uploaded, file_length) 326 if file_length: 327 if total_bytes_uploaded == file_length: 331 '%d-%d' % (total_bytes_uploaded, file_length - 1), file_length) 369 cb(total_bytes_uploaded, file_length) 378 cb(total_bytes_uploaded, file_length) 379 if total_bytes_uploaded != file_length: 385 (total_bytes_uploaded, file_length), 449 if total_bytes_uploaded < file_length: [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/ |
H A D | boto_resumable_upload.py | 151 def _QueryServicePos(self, conn, file_length): argument 306 cb(total_bytes_uploaded, file_length) 313 if file_length: 314 if total_bytes_uploaded == file_length: 316 '*', file_length) 320 file_length) 346 cb(total_bytes_uploaded, file_length) 347 if total_bytes_uploaded != file_length: 353 (total_bytes_uploaded, file_length), 421 if total_bytes_uploaded < file_length: [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/ |
H A D | boto_resumable_upload.py | 166 def _QueryServicePos(self, conn, file_length): argument 319 cb(total_bytes_uploaded, file_length) 326 if file_length: 327 if total_bytes_uploaded == file_length: 331 '%d-%d' % (total_bytes_uploaded, file_length - 1), file_length) 369 cb(total_bytes_uploaded, file_length) 378 cb(total_bytes_uploaded, file_length) 379 if total_bytes_uploaded != file_length: 385 (total_bytes_uploaded, file_length), 449 if total_bytes_uploaded < file_length: [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/disk_cache/simple/ |
H A D | simple_test_util.cc | 40 int64_t file_length = entry_file.GetLength(); in RemoveKeySHA256FromEntry() local 42 if (file_length < static_cast<int64_t>(sizeof(eof_record))) in RemoveKeySHA256FromEntry() 44 if (entry_file.Read(file_length - sizeof(eof_record), in RemoveKeySHA256FromEntry() 59 file_length - sizeof(eof_record) - sizeof(net::SHA256HashValue), in RemoveKeySHA256FromEntry() 78 int64_t file_length = entry_file.GetLength(); in CorruptKeySHA256FromEntry() local 80 if (file_length < static_cast<int64_t>(sizeof(eof_record))) in CorruptKeySHA256FromEntry() 82 if (entry_file.Read(file_length - sizeof(eof_record), in CorruptKeySHA256FromEntry() 112 int64_t file_length = entry_file.GetLength(); in CorruptStream0LengthFromEntry() local 114 if (file_length < static_cast<int64_t>(sizeof(eof_record))) in CorruptStream0LengthFromEntry() 116 if (entry_file.Read(file_length - sizeof(eof_record), in CorruptStream0LengthFromEntry() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/disk_cache/simple/ |
H A D | simple_test_util.cc | 40 int64_t file_length = entry_file.GetLength(); in RemoveKeySHA256FromEntry() local 42 if (file_length < static_cast<int64_t>(sizeof(eof_record))) in RemoveKeySHA256FromEntry() 44 if (entry_file.Read(file_length - sizeof(eof_record), in RemoveKeySHA256FromEntry() 59 file_length - sizeof(eof_record) - sizeof(net::SHA256HashValue), in RemoveKeySHA256FromEntry() 78 int64_t file_length = entry_file.GetLength(); in CorruptKeySHA256FromEntry() local 80 if (file_length < static_cast<int64_t>(sizeof(eof_record))) in CorruptKeySHA256FromEntry() 82 if (entry_file.Read(file_length - sizeof(eof_record), in CorruptKeySHA256FromEntry() 112 int64_t file_length = entry_file.GetLength(); in CorruptStream0LengthFromEntry() local 114 if (file_length < static_cast<int64_t>(sizeof(eof_record))) in CorruptStream0LengthFromEntry() 116 if (entry_file.Read(file_length - sizeof(eof_record), in CorruptStream0LengthFromEntry() [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/gs/ |
H A D | resumable_upload_handler.py | 206 def _query_server_pos(self, conn, file_length): argument 337 cb(total_bytes_uploaded, file_length) 347 if file_length: 348 if total_bytes_uploaded == file_length: 350 '*', file_length) 354 file_length) 382 cb(total_bytes_uploaded, file_length) 383 if total_bytes_uploaded != file_length: 471 if file_length < total_bytes_uploaded: 622 file_length = fp.getkey().size [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/gs/ |
H A D | resumable_upload_handler.py | 206 def _query_server_pos(self, conn, file_length): argument 337 cb(total_bytes_uploaded, file_length) 347 if file_length: 348 if total_bytes_uploaded == file_length: 350 '*', file_length) 354 file_length) 382 cb(total_bytes_uploaded, file_length) 383 if total_bytes_uploaded != file_length: 471 if file_length < total_bytes_uploaded: 622 file_length = fp.getkey().size [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/gs/ |
H A D | resumable_upload_handler.py | 206 def _query_server_pos(self, conn, file_length): argument 337 cb(total_bytes_uploaded, file_length) 347 if file_length: 348 if total_bytes_uploaded == file_length: 350 '*', file_length) 354 file_length) 382 cb(total_bytes_uploaded, file_length) 383 if total_bytes_uploaded != file_length: 471 if file_length < total_bytes_uploaded: 622 file_length = fp.getkey().size [all …]
|
/dports/devel/py-boto/boto-2.49.0/boto/gs/ |
H A D | resumable_upload_handler.py | 206 def _query_server_pos(self, conn, file_length): argument 337 cb(total_bytes_uploaded, file_length) 347 if file_length: 348 if total_bytes_uploaded == file_length: 350 '*', file_length) 354 file_length) 382 cb(total_bytes_uploaded, file_length) 383 if total_bytes_uploaded != file_length: 471 if file_length < total_bytes_uploaded: 622 file_length = fp.getkey().size [all …]
|
/dports/emulators/atari800/atari800-3.1.0/src/ |
H A D | afile.c | 47 int file_length; in AFILE_DetectFileType() local 140 file_length = Util_flen(fp); in AFILE_DetectFileType() 144 if ((file_length-16)%(128+12) == 0 && in AFILE_DetectFileType() 145 header[0]*256 + header[1] == (file_length-16)/(128+12) && in AFILE_DetectFileType() 153 if (file_length >= 4 * 1024 && file_length <= CARTRIDGE_MAX_SIZE in AFILE_DetectFileType() 154 && ((file_length & (file_length - 1)) == 0 || file_length == 40 * 1024)) in AFILE_DetectFileType() 157 if ((header[1] << 7) == file_length) in AFILE_DetectFileType() 159 if ((file_length & 0x7f) == 0) in AFILE_DetectFileType()
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/devices/impl/ |
H A D | TranscodePipeFileSource.java | 144 long file_length = source_file.length(); in handleSocket() local 151 write( os, "Content-Length: " + file_length + NL ); in handleSocket() 152 write( os, "Content-Range: 0-" + (file_length-1) + "/" + file_length + NL ); in handleSocket() 171 write( os, "Content-Range: 0-" + (file_length-1) + "/" + file_length + NL ); in handleSocket() 172 write( os, "Content-Length: " + file_length + NL + NL ); in handleSocket() 174 request_length = file_length; in handleSocket() 209 end = file_length-1; in handleSocket() 219 start = file_length-end; in handleSocket() 220 end = file_length-1; in handleSocket() 240 write( os, "Content-Range: bytes " + start + "-" + end + "/" + file_length + NL ); in handleSocket()
|
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OFILETXT.cpp | 46 file_length = File::file_size(); in FileTxt() 48 data_buf = mem_add( file_length+1 ); in FileTxt() 50 data_buf[file_length] = CHAR_EOF; in FileTxt() 55 file_read( data_buf, file_length ); in FileTxt() 73 file_length = dataSize; in FileTxt() 75 data_buf = mem_add( file_length+1 ); in FileTxt() 77 data_buf[file_length] = CHAR_EOF; in FileTxt() 82 filePtr->file_read( data_buf, file_length ); in FileTxt() 345 err_when( data_ptr-data_buf > file_length ); in read_paragraph()
|
/dports/x11-toolkits/plib/plib-1.8.5/src/ssg/ |
H A D | ssgLoadPCX.cxx | 46 …adFileIntoBuffer(const char *fname, UByte *&buffer, UByte *&bufferorig, unsigned long &file_length) in ReadFileIntoBuffer() argument 58 file_length = ftell(tfile); in ReadFileIntoBuffer() 61 buffer = new UByte[file_length]; in ReadFileIntoBuffer() 64 fread(buffer, file_length, 1, tfile); in ReadFileIntoBuffer() 72 unsigned long file_length; in ssgLoadPCX() local 73 if(!ReadFileIntoBuffer(fname, buffer, bufferorig, file_length)) in ssgLoadPCX() 109 assert(bufferorig + file_length - 768 == buffer); in ssgLoadPCX() 125 if(!ReadFileIntoBuffer(s, alfaBuffer, alfaBufferorig, file_length)) in ssgLoadPCX()
|
/dports/net/gupnp/gupnp-1.4.0/tests/ |
H A D | test-context.c | 113 goffset file_length = 0; in test_gupnp_context_http_ranged_requests() local 123 file_length = g_mapped_file_get_length (file); in test_gupnp_context_http_ranged_requests() 147 file_length - 1, in test_gupnp_context_http_ranged_requests() 148 file_length - 1); in test_gupnp_context_http_ranged_requests() 158 request_range_and_compare (file, session, loop, uri, 500, file_length - 1); in test_gupnp_context_http_ranged_requests() 161 request_range_and_compare (file, session, loop, uri, file_length - 500, file_length - 1); in test_gupnp_context_http_ranged_requests() 176 file_length, in test_gupnp_context_http_ranged_requests() 177 file_length); in test_gupnp_context_http_ranged_requests()
|
/dports/devel/isa-l/isa-l-2.30.0/igzip/ |
H A D | igzip_inflate_test.c | 224 uint64_t compressed_length, file_length; in main() local 246 file_length = get_filesize(file); in main() 247 if (file_length > MAX_INPUT_FILE_SIZE) { in main() 255 compressed_length = compressBound(file_length); in main() 257 if (file_length != 0) { in main() 258 uncompressed_stream = malloc(file_length); in main() 259 uncompressed_test_stream = malloc(file_length); in main() 263 if (uncompressed_stream == NULL && file_length != 0) { in main() 273 if (uncompressed_test_stream == NULL && file_length != 0) { in main() 278 uncompressed_length = fread(uncompressed_stream, 1, file_length, file); in main()
|
/dports/devel/liteide/liteide-x37.4/liteidex/src/3rdparty/qjsonrpc/src/http-parser/contrib/ |
H A D | parsertrace.c | 118 long file_length = ftell(file); in main() local 119 if (file_length == -1) { in main() 125 char* data = malloc(file_length); in main() 126 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 144 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 147 if (nparsed != (size_t)file_length) { in main()
|
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/vendor/http-parser/contrib/ |
H A D | parsertrace.c | 115 long file_length = ftell(file); in main() local 116 if (file_length == -1) { in main() 122 char* data = malloc(file_length); in main() 123 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 141 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 144 if (nparsed != (size_t)file_length) { in main()
|
/dports/databases/cassandra-cpp-driver/cpp-driver-2.16.0/src/third_party/http-parser/contrib/ |
H A D | parsertrace.c | 115 long file_length = ftell(file); in main() local 116 if (file_length == -1) { in main() 122 char* data = malloc(file_length); in main() 123 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 141 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 144 if (nparsed != (size_t)file_length) { in main()
|
/dports/www/firefox/firefox-99.0/third_party/python/aiohttp/vendor/http-parser/contrib/ |
H A D | parsertrace.c | 115 long file_length = ftell(file); in main() local 116 if (file_length == -1) { in main() 122 char* data = malloc(file_length); in main() 123 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 141 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 144 if (nparsed != (size_t)file_length) { in main()
|
/dports/www/http-parser/http-parser-2.9.4/contrib/ |
H A D | parsertrace.c | 115 long file_length = ftell(file); in main() local 116 if (file_length == -1) { in main() 122 char* data = malloc(file_length); in main() 123 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 141 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 144 if (nparsed != (size_t)file_length) { in main()
|
/dports/net-im/psi/psi-1.5/3rdparty/http-parser/contrib/ |
H A D | parsertrace.c | 118 long file_length = ftell(file); in main() local 119 if (file_length == -1) { in main() 125 char* data = malloc(file_length); in main() 126 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 144 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 147 if (nparsed != (size_t)file_length) { in main()
|
/dports/devel/efl/efl-1.25.1/src/static_libs/http-parser/contrib/ |
H A D | parsertrace.c | 118 long file_length = ftell(file); in main() local 119 if (file_length == -1) { in main() 125 char* data = malloc(file_length); in main() 126 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 144 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 147 if (nparsed != (size_t)file_length) { in main()
|
/dports/net/libngtcp2/ngtcp2-224bd62/third-party/http-parser/contrib/ |
H A D | parsertrace.c | 118 long file_length = ftell(file); in main() local 119 if (file_length == -1) { in main() 125 char* data = malloc(file_length); in main() 126 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 144 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 147 if (nparsed != (size_t)file_length) { in main()
|
/dports/www/R-cran-httpuv/httpuv/src/http-parser/contrib/ |
H A D | parsertrace.c | 118 long file_length = ftell(file); in main() local 119 if (file_length == -1) { in main() 125 char* data = malloc(file_length); in main() 126 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 144 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 147 if (nparsed != (size_t)file_length) { in main()
|
/dports/www/node10/node-v10.24.1/deps/http_parser/contrib/ |
H A D | parsertrace.c | 115 long file_length = ftell(file); in main() local 116 if (file_length == -1) { in main() 122 char* data = malloc(file_length); in main() 123 if (fread(data, 1, file_length, file) != (size_t)file_length) { in main() 141 size_t nparsed = http_parser_execute(&parser, &settings, data, file_length); in main() 144 if (nparsed != (size_t)file_length) { in main()
|