/src/vppinfra/

span class="n">key[1]; return clib_xxhash (tmp); #endif } static inline u8 * format_bihash_kvp_16_8_32 (u8 * s, va_list * args) { clib_bihash_kv_16_8_32_t *v = va_arg (*args, clib_bihash_kv_16_8_32_t *); s = format (s, "key %llu %llu value %llu", v->key[0], v->key[1], v->value); return s; } static inline int clib_bihash_key_compare_16_8_32 (u64 * a, u64 * b) { #if defined(CLIB_HAVE_VEC128) && defined(CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE) u64x2 v; v = u64x2_load_unaligned (a) ^ u64x2_load_unaligned (b); return u64x2_is_all_zero (v); #else return ((a[0] ^ b[0]) | (a[1] ^ b[1])) == 0; #endif } #undef __included_bihash_template_h__ #include <vppinfra/bihash_template.h> #endif /* __included_bihash_16_8_32_h__ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */