Searched refs:BYTE_SIZE (Results 1 – 3 of 3) sorted by relevance
26 constexpr uint32_t BYTE_SIZE = 255; variable43 buf[0] = i % BYTE_SIZE; in ProducerTask()44 buf[1] = i / BYTE_SIZE; in ProducerTask()56 if (buf[0] != g_num % BYTE_SIZE || buf[1] != g_num / BYTE_SIZE) { in ConsumerTask()
42 constexpr uint32_t BYTE_SIZE = 8; variable211 offset += BYTE_SIZE; in GetFileSize()213 offset += BYTE_SIZE; in GetFileSize()215 offset += BYTE_SIZE; in GetFileSize()228 uint64_t value = ((static_cast<uint64_t>(high)) << (BYTE_SIZE * sizeof(uint32_t))) | low; in GetFileSize()240 offset += BYTE_SIZE; in GetFileSize()242 offset += BYTE_SIZE; in GetFileSize()244 offset += BYTE_SIZE; in GetFileSize()255 value16 += static_cast<uint16_t>(buff[1] << BYTE_SIZE); in GetFileSize()266 buff[1] = static_cast<uint8_t>(value >> BYTE_SIZE); in GetFileSize()
34 constexpr uint32_t BYTE_SIZE = 8; variable160 value16 += static_cast<uint16_t>(buff[1] << BYTE_SIZE); in ReadLE16()172 uint32_t value = ((static_cast<uint32_t>(high)) << (BYTE_SIZE * sizeof(uint16_t))) | low; in ReadLE32()