Lines Matching refs:chunk
152 auto chunk = SerializedLogChunk{kChunkSize}; in AddChunkWithMessages()
156 ASSERT_TRUE(chunk.CanLog(message.size() + 1)); in AddChunkWithMessages()
157 chunk.Log(sequence, log_time(), 0, 1, 1, message.c_str(), message.size() + 1); in AddChunkWithMessages()
160 chunk.FinishWriting(); in AddChunkWithMessages()
162 log_chunks_[buffer].emplace_back(std::move(chunk)); in AddChunkWithMessages()
297 auto chunk = SerializedLogChunk{kChunkSize}; in TEST()
298 chunk.Log(1, log_time(), 0, 1, 1, "abc", 3); in TEST()
299 chunk.Log(2, log_time(), 0, 1, 1, "abc", 3); in TEST()
300 chunk.Log(3, log_time(), 0, 1, 1, "abc", 3); in TEST()
301 chunk.FinishWriting(); in TEST()
304 log_chunks[LOG_ID_MAIN].emplace_back(std::move(chunk)); in TEST()