Searched refs:max_proto_size (Results 1 – 4 of 4) sorted by relevance
/external/icing/icing/file/ |
D | portable-file-backed-proto-log_benchmark.cc | 63 int max_proto_size = (1 << 24) - 1; // 16 MiB in BM_Write() local 72 compress, max_proto_size)) in BM_Write() 116 int max_proto_size = (1 << 24) - 1; // 16 MiB in BM_Read() local 125 compress, max_proto_size)) in BM_Read() 171 int max_proto_size = (1 << 24) - 1; // 16 MiB in BM_Erase() local 180 compress, max_proto_size)) in BM_Erase() 210 int max_proto_size = (1 << 24) - 1; // 16 MiB in BM_UpdateChecksum() local 219 compress, max_proto_size)) in BM_UpdateChecksum() 252 int max_proto_size = (1 << 24) - 1; // 16 MiB in BM_UpdateChecksumWithCachedChecksum() local 261 compress, max_proto_size)) in BM_UpdateChecksumWithCachedChecksum() [all …]
|
D | file-backed-proto-log.h | 82 const int32_t max_proto_size; member 88 : compress(compress_in), max_proto_size(max_proto_size_in) {} in compress() 103 int32_t max_proto_size = 0; member 313 if (options.max_proto_size <= 0) { in Create() 316 options.max_proto_size)); in Create() 321 if (options.max_proto_size > constants::kMaxProtoSize) { in Create() 324 options.max_proto_size)); in Create() 352 header->max_proto_size = options.max_proto_size; in InitializeNewFile() 406 if (header->max_proto_size > options.max_proto_size) { in InitializeExistingFile() 410 header->max_proto_size, options.max_proto_size)); in InitializeExistingFile() [all …]
|
D | portable-file-backed-proto-log.h | 108 const int32_t max_proto_size; member 121 max_proto_size(max_proto_size_in), in compress() 622 if (options.max_proto_size <= 0) { in Create() 625 options.max_proto_size)); in Create() 630 if (options.max_proto_size > constants::kMaxProtoSize) { in Create() 633 options.max_proto_size)); in Create() 674 header->SetMaxProtoSize(options.max_proto_size); in InitializeNewFile() 743 if (existing_max_proto_size > options.max_proto_size) { in InitializeExistingFile() 747 header->GetMaxProtoSize(), options.max_proto_size)); in InitializeExistingFile() 748 } else if (existing_max_proto_size < options.max_proto_size) { in InitializeExistingFile() [all …]
|
D | portable-file-backed-proto-log_test.cc | 149 int max_proto_size = 1; in TEST_F() local 155 compress_, max_proto_size, compression_level_))); in TEST_F()
|