Home
last modified time | relevance | path

Searched refs:additional_size (Results 1 – 25 of 212) sorted by relevance

123456789

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp40 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
41 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
54 const std::string additional_data(additional_size, 'x'); in TEST_CASE()
74 std::string out_data(additional_size, 'z'); in TEST_CASE()
79 …EQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == additional_siz… in TEST_CASE()
/dports/devel/libfshfs/libfshfs-20210722/libfshfs/
H A Dlibfshfs_catalog_btree_key.c151 uint16_t additional_size = 0; in libfshfs_catalog_btree_key_read_data() local
189 additional_size = 2; in libfshfs_catalog_btree_key_read_data()
203 if( (size_t) key_data_size > ( data_size - additional_size ) ) in libfshfs_catalog_btree_key_read_data()
222 (size_t) key_data_size + additional_size, in libfshfs_catalog_btree_key_read_data()
237 catalog_btree_key->data_size = key_data_size + additional_size; in libfshfs_catalog_btree_key_read_data()
239 if( additional_size == 1 ) in libfshfs_catalog_btree_key_read_data()
270 if( ( additional_size == 2 ) in libfshfs_catalog_btree_key_read_data()
314 if( additional_size == 1 ) in libfshfs_catalog_btree_key_read_data()
H A Dlibfshfs_extents_btree_key.c148 uint16_t additional_size = 0; in libfshfs_extents_btree_key_read_data() local
186 additional_size = 2; in libfshfs_extents_btree_key_read_data()
200 if( (size_t) key_data_size > ( data_size - additional_size ) ) in libfshfs_extents_btree_key_read_data()
219 (size_t) key_data_size + additional_size, in libfshfs_extents_btree_key_read_data()
294 extents_btree_key->data_size = key_data_size + additional_size; in libfshfs_extents_btree_key_read_data()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp48 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
49 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
64 const std::string additional_data = random_hex_chars(additional_size); in TEST_CASE()
85 out_data.reserve(additional_size); in TEST_CASE()
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp48 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
49 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
64 const std::string additional_data = random_hex_chars(additional_size); in TEST_CASE()
85 out_data.reserve(additional_size); in TEST_CASE()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp48 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
49 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
64 const std::string additional_data = random_hex_chars(additional_size); in TEST_CASE()
85 out_data.reserve(additional_size); in TEST_CASE()
/dports/devel/libc++/libcxx-10.0.1.src/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp48 constexpr uintmax_t additional_size = 1024; in TEST_CASE() local
49 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
64 const std::string additional_data = random_hex_chars(additional_size); in TEST_CASE()
85 out_data.reserve(additional_size); in TEST_CASE()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/gtest/metaspace/
H A DmetaspaceGtestContexts.cpp115 void ChunkGtestContext::commit_chunk_with_test(Metachunk* c, size_t additional_size) { in commit_chunk_with_test() argument
122 bool b = c->ensure_committed_additional(additional_size); in commit_chunk_with_test()
126 EXPECT_GE(c->free_below_committed_words(), additional_size); in commit_chunk_with_test()
137 void ChunkGtestContext::commit_chunk_expect_failure(Metachunk* c, size_t additional_size) { in commit_chunk_expect_failure() argument
145 bool b = c->ensure_committed_additional(additional_size); in commit_chunk_expect_failure()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/gtest/metaspace/
H A DmetaspaceGtestContexts.cpp115 void ChunkGtestContext::commit_chunk_with_test(Metachunk* c, size_t additional_size) { in commit_chunk_with_test() argument
122 bool b = c->ensure_committed_additional(additional_size); in commit_chunk_with_test()
126 EXPECT_GE(c->free_below_committed_words(), additional_size); in commit_chunk_with_test()
137 void ChunkGtestContext::commit_chunk_expect_failure(Metachunk* c, size_t additional_size) { in commit_chunk_expect_failure() argument
145 bool b = c->ensure_committed_additional(additional_size); in commit_chunk_expect_failure()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/strings/
H A Dstrcat_internal.h39 size_t additional_size = 0; in StrAppendT() local
41 additional_size += cur.size(); in StrAppendT()
42 ReserveAdditionalIfNeeded(dest, additional_size); in StrAppendT()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/strings/
H A Dstrcat.cc34 size_t additional_size = 0; in StrAppendT() local
36 additional_size += cur.size(); in StrAppendT()
37 ReserveAdditionalIfNeeded(dest, additional_size); in StrAppendT()
/dports/databases/mariadb105-client/mariadb-10.5.15/libmariadb/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in ma_dynstr_realloc() argument
78 if (!additional_size) return(FALSE); in ma_dynstr_realloc()
79 if (str->length + additional_size > str->max_length) in ma_dynstr_realloc()
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in ma_dynstr_realloc()
/dports/databases/mariadb104-server/mariadb-10.4.24/libmariadb/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in ma_dynstr_realloc() argument
78 if (!additional_size) return(FALSE); in ma_dynstr_realloc()
79 if (str->length + additional_size > str->max_length) in ma_dynstr_realloc()
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in ma_dynstr_realloc()
/dports/databases/mariadb104-client/mariadb-10.4.24/libmariadb/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size)
78 if (!additional_size) return(FALSE);
79 if (str->length + additional_size > str->max_length)
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/
/dports/databases/mariadb105-server/mariadb-10.5.15/libmariadb/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in ma_dynstr_realloc() argument
78 if (!additional_size) return(FALSE); in ma_dynstr_realloc()
79 if (str->length + additional_size > str->max_length) in ma_dynstr_realloc()
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in ma_dynstr_realloc()
/dports/databases/mariadb103-client/mariadb-10.3.34/libmariadb/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in ma_dynstr_realloc() argument
78 if (!additional_size) return(FALSE); in ma_dynstr_realloc()
79 if (str->length + additional_size > str->max_length) in ma_dynstr_realloc()
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in ma_dynstr_realloc()
/dports/databases/mariadb-connector-c/mariadb-connector-c-3.2.4-src/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in ma_dynstr_realloc() argument
78 if (!additional_size) return(FALSE); in ma_dynstr_realloc()
79 if (str->length + additional_size > str->max_length) in ma_dynstr_realloc()
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in ma_dynstr_realloc()
/dports/databases/mariadb103-server/mariadb-10.3.34/libmariadb/libmariadb/
H A Dma_string.c76 my_bool ma_dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in ma_dynstr_realloc() argument
78 if (!additional_size) return(FALSE); in ma_dynstr_realloc()
79 if (str->length + additional_size > str->max_length) in ma_dynstr_realloc()
81 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in ma_dynstr_realloc()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/mysys/
H A Dstring.c87 my_bool dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size) in dynstr_realloc() argument
91 if (!additional_size) DBUG_RETURN(FALSE); in dynstr_realloc()
92 if (str->length + additional_size > str->max_length) in dynstr_realloc()
94 str->max_length=((str->length + additional_size+str->alloc_increment-1)/ in dynstr_realloc()

123456789