MCPcopy Index your code
hub / github.com/MapServer/MapServer / msSetBit

Function msSetBit

mapbits.c:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void msSetBit(ms_bitarray array, int index, int value)
99{
100 array += index / MS_ARRAY_BIT;
101 if (value)
102 *array |= 1 << (index % MS_ARRAY_BIT); /* set bit */
103 else
104 *array &= ~(1 << (index % MS_ARRAY_BIT)); /* clear bit */
105}
106
107void msSetAllBits(ms_bitarray array, int numbits, int value)
108{

Callers 6

treeCollectShapeIdsFunction · 0.85
searchDiskTreeNodeFunction · 0.85
msFilterTreeSearchFunction · 0.85
msSHXLoadPageFunction · 0.85
msShapefileWhichShapesFunction · 0.85
msSHPLayerWhichShapesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected