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

Function find_strmap_entry

strmap.c:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17static struct strmap_entry *find_strmap_entry(struct strmap *map,
18 const char *str)
19{
20 struct strmap_entry entry;
21 hashmap_entry_init(&entry.ent, strhash(str));
22 entry.key = str;
23 return hashmap_get_entry(&map->map, &entry, ent, NULL);
24}
25
26void strmap_init(struct strmap *map)
27{

Callers 6

strmap_putFunction · 0.85
strmap_get_entryFunction · 0.85
strmap_getFunction · 0.85
strmap_containsFunction · 0.85
strintmap_incrFunction · 0.85
strset_addFunction · 0.85

Calls 2

hashmap_entry_initFunction · 0.85
strhashFunction · 0.85

Tested by

no test coverage detected