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

Function msSetAllBits

mapbits.c:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void msSetAllBits(ms_bitarray array, int numbits, int value)
108{
109 if (value)
110 memset(array, 0xff, ((numbits + 7) / 8) ); /* set bit */
111 else
112 memset(array, 0x0, ((numbits + 7) / 8) ); /* clear bit */
113}
114
115void msFlipBit(ms_bitarray array, int index)
116{

Callers 1

msShapefileWhichShapesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected