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

Function ewah_pool_free

ewah/ewah_bitmap.c:483–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void ewah_pool_free(struct ewah_bitmap *self)
484{
485 if (!self)
486 return;
487
488 if (bitmap_pool_size == BITMAP_POOL_MAX ||
489 self->alloc_size == 0) {
490 ewah_free(self);
491 return;
492 }
493
494 ewah_clear(self);
495 bitmap_pool[bitmap_pool_size++] = self;
496}
497
498uint32_t ewah_checksum(struct ewah_bitmap *self)
499{

Callers 5

lookup_stored_bitmapFunction · 0.85
read_bitmapFunction · 0.85
free_bitmap_indexFunction · 0.85
free_pseudo_merge_mapFunction · 0.85
compute_xor_offsetsFunction · 0.85

Calls 2

ewah_freeFunction · 0.85
ewah_clearFunction · 0.85

Tested by

no test coverage detected