MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / countOnesInByte

Function countOnesInByte

CesiumGeometry/src/Availability.cpp:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8};
27
28uint8_t countOnesInByte(uint8_t _byte) { return ones_in_byte[_byte]; }
29
30uint32_t countOnesInBuffer(std::span<const std::byte> buffer) {
31 uint32_t count = 0;

Callers 10

computeAvailabilityMethod · 0.85
addSubtreeMethod · 0.85
addNodeMethod · 0.85
findChildNodeIndexMethod · 0.85
computeAvailabilityMethod · 0.85
addSubtreeMethod · 0.85
addNodeMethod · 0.85
findChildNodeIndexMethod · 0.85
countOnesInBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected