37 if (
sizeof(
size_t) == 8) {
38 size_t test = 0x0123456789abcdef;
40 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,0);
42 BOOST_CHECK( test == 0x0123456789abcdef);
44 size_t test = 0x01234567;
46 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,0);
48 BOOST_CHECK( test == 0x01234567);
53 if (
sizeof(
size_t) == 8) {
54 size_t test = 0x0123456789abcdef;
56 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,1);
58 BOOST_CHECK( test == 0xef0123456789abcd);
60 size_t test = 0x01234567;
62 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,1);
64 BOOST_CHECK( test == 0x67012345);
69 if (
sizeof(
size_t) == 8) {
70 size_t test = 0x0123456789abcdef;
72 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,2);
74 BOOST_CHECK( test == 0xcdef0123456789ab);
76 size_t test = 0x01234567;
78 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,2);
80 BOOST_CHECK( test == 0x45670123);
85 if (
sizeof(
size_t) == 8) {
86 size_t test = 0x0123456789abcdef;
88 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,3);
90 BOOST_CHECK( test == 0xabcdef0123456789);
92 size_t test = 0x01234567;
94 test = websocketpp::processor::hybi_util::circshift_prepared_key(test,3);
96 BOOST_CHECK( test == 0x23456701);