Searched refs:positiveMask (Results 1 – 2 of 2) sorted by relevance
165 long positiveMask = numberOfBits == 64 ? -1 : ((1l << numberOfBits) - 1); in genRandomLongs() local166 long negativeMask = ~positiveMask; in genRandomLongs()173 l = l & positiveMask; in genRandomLongs()180 array[r.nextInt(array.length)] = positiveMask; in genRandomLongs()
270 long positiveMask = numberOfBits == 64 ? -1 : ((1l << numberOfBits) - 1); in genRandomLongs() local271 long negativeMask = ~positiveMask; in genRandomLongs()278 l = l & positiveMask; in genRandomLongs()285 array[r.nextInt(array.length)] = positiveMask; in genRandomLongs()