Searched refs:kSizeBytes (Results 1 – 4 of 4) sorted by relevance
38 received_ = std::make_shared<std::vector<uint8_t>>(Link::kSizeBytes); in TimerTick()39 size_t bytes_received = socket_.TryReceive(Link::kSizeBytes, received_->data()); in TimerTick()43 CHECK(bytes_received == Link::kSizeBytes) << "bytes_received == " << bytes_received; in TimerTick()44 packets::PacketView<true> size({packets::View(received_, 0, Link::kSizeBytes)}); in TimerTick()46 received_->resize(Link::kSizeBytes + bytes_left_); in TimerTick()47 offset_ = Link::kSizeBytes; in TimerTick()
21 constexpr size_t Link::kSizeBytes; member in test_vendor_lib::Link28 CHECK(raw->size() >= Link::kSizeBytes + Link::kTypeBytes + 2 * Address::kLength); in Create()33 return static_cast<Link::PacketType>(at(Link::kSizeBytes)); in GetType()37 size_t offset = Link::kSizeBytes + Link::kTypeBytes; in GetSourceAddress()42 size_t offset = Link::kSizeBytes + Link::kTypeBytes + Address::kLength; in GetDestinationAddress()47 return SubViewLittleEndian(Link::kSizeBytes + Link::kTypeBytes + 2 * Address::kLength, size()); in GetPayload()
156 return Link::kTypeBytes + Link::kSizeBytes + 2 * Address::kLength + builder_size; in size()160 insert(static_cast<uint32_t>(size() - Link::kSizeBytes), it); in Serialize()
22 static constexpr size_t kSizeBytes = sizeof(uint32_t);