Home
last modified time | relevance | path

Searched refs:preallocation_size (Results 1 – 5 of 5) sorted by relevance

/rocksdb-6.9/db/compaction/
Dcompaction.cc494 uint64_t preallocation_size = 0; in OutputFilePreallocationSize() local
498 preallocation_size += file->fd.GetFileSize(); in OutputFilePreallocationSize()
505 preallocation_size = std::min(max_output_file_size_, preallocation_size); in OutputFilePreallocationSize()
512 preallocation_size + (preallocation_size / 10)); in OutputFilePreallocationSize()
/rocksdb-6.9/db/
Ddb_wal_test.cc450 size_t preallocation_size = *(static_cast<size_t*>(arg)); in TEST_F() local
451 ASSERT_EQ(expected_preallocation_size, preallocation_size); in TEST_F()
469 size_t preallocation_size = *(static_cast<size_t*>(arg)); in TEST_F() local
470 ASSERT_EQ(expected_preallocation_size, preallocation_size); in TEST_F()
489 size_t preallocation_size = *(static_cast<size_t*>(arg)); in TEST_F() local
490 ASSERT_EQ(expected_preallocation_size, preallocation_size); in TEST_F()
510 size_t preallocation_size = *(static_cast<size_t*>(arg)); in TEST_F() local
511 ASSERT_EQ(expected_preallocation_size, preallocation_size); in TEST_F()
Ddb_test_util.h263 size_t preallocation_size = preallocation_block_size(); in NewWritableFile() local
265 &preallocation_size); in NewWritableFile()
362 size_t preallocation_size = preallocation_block_size(); in NewWritableFile() local
364 &preallocation_size); in NewWritableFile()
Ddb_universal_compaction_test.cc255 size_t preallocation_size = *(static_cast<size_t*>(arg)); in TEST_P() local
257 ASSERT_LE(preallocation_size, options.target_file_size_base * 1.1); in TEST_P()
/rocksdb-6.9/java/rocksjni/
Doptions.cc1110 JNIEnv* env, jobject, jlong jhandle, jlong preallocation_size) { in Java_org_rocksdb_Options_setManifestPreallocationSize() argument
1112 preallocation_size); in Java_org_rocksdb_Options_setManifestPreallocationSize()
1115 ->manifest_preallocation_size = preallocation_size; in Java_org_rocksdb_Options_setManifestPreallocationSize()
5505 JNIEnv* env, jobject, jlong jhandle, jlong preallocation_size) { in Java_org_rocksdb_DBOptions_setManifestPreallocationSize() argument
5507 preallocation_size); in Java_org_rocksdb_DBOptions_setManifestPreallocationSize()
5510 ->manifest_preallocation_size = preallocation_size; in Java_org_rocksdb_DBOptions_setManifestPreallocationSize()