HomeSort by relevance Sort by last modified time
    Searched refs:ComplexKey (Results 1 - 2 of 2) sorted by null

  /system/core/libutils/tests/
LruCache_test.cpp 28 struct ComplexKey {
31 explicit ComplexKey(int k) : k(k) {
35 ComplexKey(const ComplexKey& other) : k(other.k) {
39 ~ComplexKey() {
43 bool operator ==(const ComplexKey& other) const {
47 bool operator !=(const ComplexKey& other) const {
54 ssize_t ComplexKey::instanceCount = 0;
56 template<> inline hash_t hash_type(const ComplexKey& value) {
80 typedef LruCache<ComplexKey, ComplexValue> ComplexCache
    [all...]
BasicHashtable_test.cpp 31 struct ComplexKey {
34 explicit ComplexKey(int k) : k(k) {
38 ComplexKey(const ComplexKey& other) : k(other.k) {
42 ~ComplexKey() {
46 bool operator ==(const ComplexKey& other) const {
50 bool operator !=(const ComplexKey& other) const {
57 ssize_t ComplexKey::instanceCount = 0;
59 template<> inline hash_t hash_type(const ComplexKey& value) {
83 typedef key_value_pair_t<ComplexKey, ComplexValue> ComplexEntry
    [all...]

Completed in 54 milliseconds