MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / Set

Method Set

extensions/flexExtContainer.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 inline void Set(int bit)
51 {
52 const int wordIndex = bit/kWordSize;
53 const int bitIndex = bit&(kWordSize-1);
54
55 const Word word = mBits[wordIndex];
56
57 mBits[wordIndex] = word|(1<<bitIndex);
58 }
59
60 inline void Reset(int bit)
61 {

Callers 1

NvFlexExtGetActiveListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected