MCPcopy Create free account
hub / github.com/ReadyTalk/avian / longPosition

Method longPosition

classpath/java/util/BitSet.java:27–29  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

25 private long[] bits;
26
27 private static int longPosition(int index) {
28 return index >> BITS_PER_LONG_SHIFT;
29 }
30
31 private static long bitPosition(int index) {
32 return 1L << (index % BITS_PER_LONG);

Callers 6

BitSetMethod · 0.95
getMethod · 0.95
setMethod · 0.95
clearMethod · 0.95
nextBitMethod · 0.95
MaskInfoIteratorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected