MCPcopy Index your code
hub / github.com/git/git / bucket

Function bucket

hashmap.c:104–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static inline unsigned int bucket(const struct hashmap *map,
105 const struct hashmap_entry *key)
106{
107 return key->hash & (map->tablesize - 1);
108}
109
110int hashmap_bucket(const struct hashmap *map, unsigned int hash)
111{

Callers 3

rehashFunction · 0.85
find_entry_ptrFunction · 0.85
hashmap_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected