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

Function hashmap_get_size

hashmap.h:303–310  ·  view source on GitHub ↗

* Return the number of items in the map. */

Source from the content-addressed store, hash-verified

301 * Return the number of items in the map.
302 */
303static inline unsigned int hashmap_get_size(struct hashmap *map)
304{
305 if (map->do_count_items)
306 return map->private_size;
307
308 BUG("hashmap_get_size: size not set");
309 return 0;
310}
311
312/*
313 * Returns the hashmap entry for the specified key, or NULL if not found.

Callers 15

oidmap_get_sizeFunction · 0.85
all_attrs_initFunction · 0.85
git_attr_internalFunction · 0.85
fetch_bundles_by_tokenFunction · 0.85
strmap_get_sizeFunction · 0.85
t_getFunction · 0.85
t_addFunction · 0.85
t_removeFunction · 0.85
t_iterateFunction · 0.85
t_allocFunction · 0.85
test_oidmap__iterateFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_oidmap__iterateFunction · 0.68