Home
last modified time | relevance | path

Searched refs:test_value_bytes (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/endian/test/
Dconversion_test.cpp53 …static unsigned char const test_value_bytes[] = { 0xF1, 0x02, 0xE3, 0x04, 0xD5, 0x06, 0xC7, 0x08 }; variable
58 std::memcpy( &x, test_value_bytes, sizeof( x ) ); in native_value()
71 x += static_cast<U>( test_value_bytes[ i ] ) << ( 8 * i ); in little_value()
85 x += static_cast<U>( test_value_bytes[ i ] ) << ( 8 * ( sizeof( x ) - i - 1 ) ); in big_value()