MCPcopy Create free account
hub / github.com/catboost/catboost / CountBitsPrivate

Function CountBitsPrivate

util/generic/bitmap.h:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 // better than intrinsics without -mpopcnt
27 template <typename T>
28 static unsigned CountBitsPrivate(T v) noexcept {
29 return static_cast<unsigned>(ByteSums(v) >> 56);
30 }
31
32 template <typename TChunkType, size_t ExtraBits>
33 struct TSanitizeMask {

Callers 1

CountMethod · 0.85

Calls 1

ByteSumsFunction · 0.85

Tested by

no test coverage detected