MCPcopy Create free account
hub / github.com/git/git / get_test_entry

Function get_test_entry

t/unit-tests/u-hashmap.c:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static struct test_entry *get_test_entry(struct hashmap *map, const char *key,
50 unsigned int ignore_case)
51{
52 return hashmap_get_entry_from_hash(
53 map, ignore_case ? strihash(key) : strhash(key), key,
54 struct test_entry, ent);
55}
56
57static int key_val_contains(const char *key_val[][2], char seen[], size_t n,
58 struct test_entry *entry)

Callers 2

t_getFunction · 0.85
t_addFunction · 0.85

Calls 2

strihashFunction · 0.85
strhashFunction · 0.85

Tested by

no test coverage detected