Home
last modified time | relevance | path

Searched defs:IntPolicy (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Draw_hash_set_benchmark.cc38 struct IntPolicy { struct
39 using slot_type = int64_t;
40 using key_type = int64_t;
41 using init_type = int64_t;
43 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
44 static void destroy(void*, int64_t*) {} in destroy()
45 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
49 static int64_t& element(slot_type* slot) { return *slot; } in element()
52 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
Draw_hash_set_test.cc315 using IntPolicy = ValuePolicy<int64_t>; typedef