Searched refs:Index (Results 1 – 2 of 2) sorted by relevance
51 using Index = uint32_t;53 static constexpr Index kInitialHashBuckets = (1 << 7) - 1;54 static constexpr Index kAvgChainLength = 2;55 static constexpr Index kInvalidIndex = static_cast<Index>(-1);60 Index next = kInvalidIndex;65 Partition(Index size, const Hash& hasher);68 Index HashBuckets() const { return hash_buckets_; } in HashBuckets()74 const Index hash_buckets_;108 HashTable<Key, T, Hash>::Partition::Partition(Index size, const Hash& hasher) in Partition()133 Index bucket_index = hasher_.Hash(key) % hash_buckets_; in Insert()[all …]
77 class Index {79 explicit Index(dex::u2 mapEntryType) : map_entry_type_(mapEntryType) {} in Index() function80 ~Index() = default;82 Index(const Index&) = delete;83 Index& operator=(const Index&) = delete;150 Index<dex::StringId> string_ids;151 Index<dex::TypeId> type_ids;152 Index<dex::ProtoId> proto_ids;153 Index<dex::FieldId> field_ids;154 Index<dex::MethodId> method_ids;[all …]