Searched refs:CanLog (Results 1 – 5 of 5) sorted by relevance
34 ASSERT_TRUE(chunk.CanLog(expected_total_len)); in TEST()35 EXPECT_TRUE(chunk.CanLog(chunk_size)); in TEST()36 EXPECT_FALSE(chunk.CanLog(chunk_size + 1)); in TEST()51 EXPECT_FALSE(chunk.CanLog(chunk_size)); in TEST()63 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()66 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()69 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()72 EXPECT_FALSE(chunk.CanLog(1)); in TEST()
38 bool CanLog(size_t len);
102 bool SerializedLogChunk::CanLog(size_t len) { in CanLog() function in SerializedLogChunk
156 ASSERT_TRUE(chunk.CanLog(message.size() + 1)); in AddChunkWithMessages()
91 if (!logs_[log_id].back().CanLog(total_len)) { in Log()