Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp477 struct TestDenseMapInfo { struct
478 static inline unsigned getEmptyKey() { return ~0; } in getEmptyKey()
479 static inline unsigned getTombstoneKey() { return ~0U - 1; } in getTombstoneKey()
480 static unsigned getHashValue(const unsigned &Val) { return Val * 37U; } in getHashValue()
481 static unsigned getHashValue(const char *Val) { in getHashValue()
484 static bool isEqual(const unsigned &LHS, const unsigned &RHS) { in isEqual()
487 static bool isEqual(const char *LHS, const unsigned &RHS) { in isEqual()