Searched refs:hard_chunk_size (Results 1 – 7 of 7) sorted by relevance
40 config_.hard_chunk_size = 128 * 1024; in SetUp()77 int64_t new_part_chunks = new_part_conf.size / config_.hard_chunk_size; in TEST_F()82 static_cast<uint64_t>(i * config_.hard_chunk_size / config_.block_size), in TEST_F()85 EXPECT_EQ(config_.hard_chunk_size / config_.block_size, in TEST_F()96 config_.hard_chunk_size = 1024 * 1024; in TEST_F()97 config_.soft_chunk_size = config_.hard_chunk_size; in TEST_F()110 EXPECT_EQ(config_.hard_chunk_size / config_.block_size, in TEST_F()112 EXPECT_EQ((new_part.size() - config_.hard_chunk_size) / config_.block_size, in TEST_F()
127 if (config.hard_chunk_size >= 0) { in GenerateOperations()128 full_chunk_size = std::min(static_cast<size_t>(config.hard_chunk_size), in GenerateOperations()
213 ssize_t hard_chunk_size = -1; member
316 TEST_AND_RETURN_FALSE(hard_chunk_size == -1 || in Validate()317 hard_chunk_size % block_size == 0); in Validate()
46 (config.hard_chunk_size == -1 in GenerateOperations()48 : config.hard_chunk_size / config.block_size); in GenerateOperations()
614 payload_config.hard_chunk_size = FLAGS_chunk_size; in Main()
556 payload_config.hard_chunk_size = chunk_size; in GenerateDeltaFile()571 if (payload_config.hard_chunk_size == -1) in GenerateDeltaFile()573 payload_config.hard_chunk_size = 1024 * 1024; in GenerateDeltaFile()