MCPcopy Create free account
hub / github.com/citusdata/postgresql-hll / numfilled

Function numfilled

src/hll.c:1039–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037}
1038
1039static size_t numfilled(multiset_t const * i_msp)
1040{
1041 ms_compressed_t const * mscp = &i_msp->ms_data.as_comp;
1042 size_t nfilled = 0;
1043 size_t nregs = i_msp->ms_nregs;
1044 for (size_t ii = 0; ii < nregs; ++ii)
1045 if (mscp->msc_regs[ii] > 0)
1046 ++nfilled;
1047
1048 return nfilled;
1049}
1050
1051static char *
1052multiset_tostring(multiset_t const * i_msp)

Callers 3

multiset_tostringFunction · 0.85
multiset_packFunction · 0.85
multiset_packed_sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected