Searched refs:CanLog (Results 1 – 6 of 6) sorted by relevance
37 ASSERT_TRUE(chunk.CanLog(expected_total_len)); in TEST()38 EXPECT_TRUE(chunk.CanLog(chunk_size)); in TEST()39 EXPECT_FALSE(chunk.CanLog(chunk_size + 1)); in TEST()54 EXPECT_FALSE(chunk.CanLog(chunk_size)); in TEST()66 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()69 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()72 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()75 EXPECT_FALSE(chunk.CanLog(1)); in TEST()
80 bool SerializedLogChunk::CanLog(size_t len) { in CanLog() function in SerializedLogChunk
70 bool CanLog(size_t len);
39 if (!log_buffer.back().CanLog(total_len)) { in LogToLogBuffer()
156 ASSERT_TRUE(chunk.CanLog(message.size() + 1)); in AddChunkWithMessages()
78 if (!chunk.CanLog(sizeof(SerializedLogEntry) + entry.msg.size())) { in CreateChunk()