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

Function ewah_iterator_init

ewah/ewah_bitmap.c:358–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358void ewah_iterator_init(struct ewah_iterator *it, struct ewah_bitmap *parent)
359{
360 it->buffer = parent->buffer;
361 it->buffer_size = parent->buffer_size;
362 it->pointer = 0;
363
364 it->lw = 0;
365 it->rl = 0;
366 it->compressed = 0;
367 it->literals = 0;
368 it->b = 0;
369
370 if (it->pointer < it->buffer_size)
371 read_new_rlw(it);
372}
373
374void ewah_or_iterator_init(struct ewah_or_iterator *it,
375 struct ewah_bitmap **parents, size_t nr)

Callers 8

dump_ewah_object_idsFunction · 0.85
rebuild_bitmapFunction · 0.85
ewah_to_bitmapFunction · 0.85
ewah_bitmap_is_subsetFunction · 0.85
bitmap_or_ewahFunction · 0.85
ewah_bitmap_popcountFunction · 0.85
bitmap_equals_ewahFunction · 0.85
ewah_or_iterator_initFunction · 0.85

Calls 1

read_new_rlwFunction · 0.85

Tested by

no test coverage detected