#include #include typedef struct { uint64_t hi; uint64_t lo; } uint128_t; int srch128(uint128_t, size_t, uint128_t *); int srch128(uint128_t t, size_t size, uint128_t *a) { for (int i = 0; i < (signed)size; i++) if (t.hi == a[i].hi && t.lo == a[i].lo) return i; return -1; }