/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalRandomTest.java | 137 for (int bound = 2; bound < MAX_INT_BOUND; bound += 524959) { 138 int f = ThreadLocalRandom.current().nextInt(bound); 139 assertTrue(0 <= f && f < bound); 143 (j = ThreadLocalRandom.current().nextInt(bound)) == f) { 144 assertTrue(0 <= j && j < bound); 157 for (int bound = least + 2; bound > least && bound < MAX_INT_BOUND; bound += 49979687) { 158 int f = ThreadLocalRandom.current().nextInt(least, bound); 159 assertTrue(least <= f && f < bound); 163 (j = ThreadLocalRandom.current().nextInt(least, bound)) == f) { 164 assertTrue(least <= j && j < bound); [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 114 public int nextInt(int least, int bound) { in nextInt() argument 115 if (least >= bound) in nextInt() 117 return nextInt(bound - least) + least; in nextInt() 159 public long nextLong(long least, long bound) { in nextLong() argument 160 if (least >= bound) in nextLong() 162 return nextLong(bound - least) + least; in nextLong() 190 public double nextDouble(double least, double bound) { in nextDouble() argument 191 if (least >= bound) in nextDouble() 193 return nextDouble() * (bound - least) + least; in nextDouble()
|
D | Exchanger.java | 284 int bound; // Last recorded value of Exchanger.bound field in Exchanger.Node 323 private volatile int bound; field in Exchanger 348 else if (i <= (m = (b = bound) & MMASK) && q == null) { in arenaExchange() 400 if (p.bound != b) { // stale; reset in arenaExchange() 401 p.bound = b; in arenaExchange() 444 if (NCPU > 1 && bound == 0 && in slotExchange()
|
D | ConcurrentHashMap.java | 1692 for (int i = 0, bound = 0;;) { in transfer() 1695 if (--i >= bound) in transfer() 1705 bound = nextBound; in transfer()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 44 private final static Object bound = new Object(); field in HttpURLConnectionTest 64 synchronized (bound) { in run() 66 bound.notify(); in run() 166 synchronized(bound) { in testGetOutputStream() 168 bound.wait(5000); in testGetOutputStream() 201 synchronized(bound) { in testUsingProxy() 202 if (!server.started) bound.wait(5000); in testUsingProxy() 205 synchronized(bound) { in testUsingProxy() 206 if (!proxy.started) bound.wait(5000); in testUsingProxy() 246 synchronized(bound) { in testUsingProxySelector() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | BoundedGenericMethodsTests.java | 57 Type bound = bounds[0]; in checkBoundedTypeParameter() local 58 assertEquals(BoundedGenericMethods.class, bound); in checkBoundedTypeParameter() 94 Type bound = bounds[0]; in checkReturnType() local 96 assertEquals(BoundedGenericMethods.class, bound); in checkReturnType()
|
D | WildcardTypeTest.java | 64 Type bound = bounds[0]; in checkBoundedTypeParameter() local 65 assertEquals(BoundedWildcardsGenericMethods.class, bound); in checkBoundedTypeParameter() 119 Type bound = bounds[0]; in checkReturnType() local 121 assertEquals(BoundedWildcardsGenericMethods.class, bound); in checkReturnType()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerTest.java | 943 BigInteger bound = i.multiply(two); in testDivRanges() local 944 for (BigInteger j = bound.negate(); j.compareTo(bound) <= 0; j = j in testDivRanges()
|
/libcore/luni/src/main/java/java/util/ |
D | TreeMap.java | 1191 private Node<K, V> bound(Node<K, V> node, Bound fromBound, Bound toBound) { 1258 return bound(node, NO_BOUND, toBound); 1273 return bound(node, fromBound, NO_BOUND); 1327 return bound(find(key, relation), fromBoundForCheck, toBoundForCheck);
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |