|
@ -46,28 +46,29 @@ int main() { |
|
|
// }
|
|
|
// }
|
|
|
|
|
|
|
|
|
// uint32_t sum = 0;
|
|
|
// uint32_t sum = 0;
|
|
|
// for (uint32_t head = 0; head < 1; ++head) {
|
|
|
for (uint32_t head = 0; head < 16; ++head) { |
|
|
// auto prefix = (uint64_t)head << 32;
|
|
|
auto prefix = (uint64_t)head << 32; |
|
|
// for (uint64_t range = 0; range < 0x100000000; ++range) {
|
|
|
for (uint64_t range = 0; range < 0x100000000; ++range) { |
|
|
// uint64_t code = prefix | range;
|
|
|
uint64_t code = prefix | range; |
|
|
// if (CommonCode::check(code)) {
|
|
|
if (CommonCode::check(code)) { |
|
|
// printf("%09lX\n", code);
|
|
|
printf("%09lX\n", code); |
|
|
// ++sum;
|
|
|
// ++sum;
|
|
|
// }
|
|
|
} |
|
|
// if (range % 0x1000000 == 0) {
|
|
|
// if (range % 0x1000000 == 0) {
|
|
|
// std::cout << range / 0x1000000 << std::endl;
|
|
|
// std::cout << range / 0x1000000 << std::endl;
|
|
|
// }
|
|
|
// }
|
|
|
// }
|
|
|
} |
|
|
// }
|
|
|
} |
|
|
// std::cout << "sum: " << sum << std::endl;
|
|
|
// std::cout << "sum: " << sum << std::endl;
|
|
|
|
|
|
|
|
|
uint64_t error_code = 0x02EFFF7C0; |
|
|
// uint64_t error_code = 0x02EFFF7C0;
|
|
|
|
|
|
// uint64_t error_code = 0x07B4EFC00;
|
|
|
|
|
|
|
|
|
if (CommonCode::check(error_code)) { |
|
|
// if (CommonCode::check(error_code)) {
|
|
|
std::cout << "true" << std::endl; |
|
|
// std::cout << "true" << std::endl;
|
|
|
} else { |
|
|
// } else {
|
|
|
std::cout << "false" << std::endl; |
|
|
// std::cout << "false" << std::endl;
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|