Searched refs:to_byte (Results 1 – 4 of 4) sorted by relevance
46 const byte b = to_byte<12>();51 const byte b = to_byte(uc);65 const byte b = to_byte<0xFF>();67 byte a = to_byte<0x00>();68 CHECK((b | a) == to_byte<0xFF>());69 CHECK(a == to_byte<0x00>());72 CHECK(a == to_byte<0xFF>());74 a = to_byte<0x01>();75 CHECK((b & a) == to_byte<0x01>());78 CHECK(a == to_byte<0x01>());[all …]
171 E, "gsl::to_byte(t) must be provided an unsigned char, otherwise data loss may occur. "172 "If you are calling to_byte with an integer contant use: gsl::to_byte<t>() version.");184 constexpr byte to_byte(T t) noexcept190 constexpr byte to_byte() noexcept
129 void Request::AddRange(uint64_t from_byte, uint64_t to_byte) { in AddRange() argument131 ranges_.emplace_back(from_byte, to_byte); in AddRange()
262 void AddRange(uint64_t from_byte, uint64_t to_byte);