Searched refs:kBufferSizeBytes (Results 1 – 4 of 4) sorted by relevance
26 constexpr auto kBufferSizeBytes = 4096; variable33 : CommandProcessor(kBufferSizeBytes, in MockCommandProcessor()
29 constexpr size_t kBufferSizeBytes = 1024; variable31 constexpr std::array<uint8_t, kBufferSizeBytes> kLargestMessage{};38 ByteBuffer<kBufferSizeBytes> buffer_;65 ByteBuffer<kBufferSizeBytes> copy; in TEST_F()87 const ByteBuffer<kBufferSizeBytes> copy{buffer_}; in TEST_F()128 constexpr std::array<uint8_t, kBufferSizeBytes + 1> oversized_message{}; in TEST_F()
29 constexpr size_t kBufferSizeBytes = 1024; variable32 constexpr std::array<uint8_t, kBufferSizeBytes - kHeaderSizeBytes>37 MessageBufferTest() : buffer_{kBufferSizeBytes} {} in MessageBufferTest()42 static_assert(kBufferSizeBytes % (kHeaderSizeBytes + message.size()) == 0, in FillBufferWithMultipleMessages()46 n_written < kBufferSizeBytes / (kHeaderSizeBytes + message.size()); in FillBufferWithMultipleMessages()93 constexpr std::array<uint8_t, kBufferSizeBytes + 1> oversized_message{}; in TEST_F()99 constexpr size_t expected_free = kBufferSizeBytes - kHeaderSizeBytes; in TEST_F()120 kBufferSizeBytes - (kSmallestMessage.size() + kHeaderSizeBytes) - in TEST_F()281 EXPECT_EQ(kBufferSizeBytes, buffer_.GetFreeSize()); in TEST_F()286 EXPECT_EQ(kBufferSizeBytes - kHeaderSizeBytes - kSmallestMessage.size(), in TEST_F()[all …]
60 constexpr size_t kBufferSizeBytes = protocol::kMaxMessageSize * 16; variable78 new CommandProcessor(kBufferSizeBytes, std::unique_ptr<Os>(os_))); in CommandProcessorTest()238 cumulative_payload_bytes <= kBufferSizeBytes; in TEST_F()