- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for Gillet (0.27 sec)
-
guava-tests/test/com/google/common/collect/MultimapsTest.java
TreeMultimap<String, Integer> empty = TreeMultimap.create(); TreeMultimap<String, Integer> filled = TreeMultimap.create(); filled.put("a", 1); filled.put("a", 2); filled.put("b", 2); filled.put("c", 3); CollectorTester.of(collector, equivalence) .expectCollects(empty) .expectCollects( filled, mapEntry("a", 1), mapEntry("a", 2), mapEntry("b", 2), mapEntry("c", 3)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
InputStream in = new ByteArrayInputStream(PRE_FILLED_100); byte[] b = ByteStreams.toByteArray(in, 100); assertThat(b).isEqualTo(PRE_FILLED_100); } public void testToByteArray_withSize_givenSmallerSize() throws IOException { InputStream in = new ByteArrayInputStream(PRE_FILLED_100); byte[] b = ByteStreams.toByteArray(in, 80); assertThat(b).isEqualTo(PRE_FILLED_100); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
public ImmutableBiMap<K, V> buildOrThrow() { switch (size) { case 0: return of(); case 1: // requireNonNull is safe because the first `size` elements have been filled in. Entry<K, V> onlyEntry = requireNonNull(entries[0]); return of(onlyEntry.getKey(), onlyEntry.getValue()); default: /*
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 16:03:42 GMT 2023 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
Map<V, K> backwardDelegate = Maps.newHashMapWithExpectedSize(n); for (int i = 0; i < n; i++) { // requireNonNull is safe because the first `n` elements have been filled in. Entry<K, V> e = RegularImmutableMap.makeImmutable(requireNonNull(entryArray[i])); entryArray[i] = e; V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue()); if (oldValue != null) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.6K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
if (execResult.code != 0) { System.out.println("Failed to kill daemon process " + pid + ". Maybe already killed?\nStdout:\n" + execResult.stdout + "\nStderr:\n" + execResult.stderr); } } static void forEachLeakingJavaProcess(File rootProjectDir, BiConsumer<String, String> action) {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 26 09:46:00 GMT 2024 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeManyConstants() { // Test the thorough test inputs, which also includes special constants in the Miller-Rabin // tests. for (long l : POSITIVE_LONG_CANDIDATES) { assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l)); } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} catch (InterruptedException e) { /* ignore */ } try { // Fill up heap so soft references get cleared. filler = new byte[Math.max(filler.length, filler.length * 2)]; } catch (OutOfMemoryError e) { } } CacheTesting.processPendingNotifications(cache); assertEquals(1, cache.size()); assertEquals(1, removalListener.getCount()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY; return empty; } else if (n == 1) { // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1])); return new RegularImmutableMap<K, V>(null, alternatingKeysAndValues, 1); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 22.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testCompound_instance() { Comparator<String> comparator = byCharAt(1).compound(byCharAt(0)); Helpers.testComparator( comparator, ImmutableList.of("red", "yellow", "violet", "blue", "indigo", "green", "orange")); } public void testCompound_instance_generics() { Ordering<Object> objects = Ordering.explicit((Object) 1); Ordering<Number> numbers = Ordering.explicit((Number) 1);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testCompound_instance() { Comparator<String> comparator = byCharAt(1).compound(byCharAt(0)); Helpers.testComparator( comparator, ImmutableList.of("red", "yellow", "violet", "blue", "indigo", "green", "orange")); } public void testCompound_instance_generics() { Ordering<Object> objects = Ordering.explicit((Object) 1); Ordering<Number> numbers = Ordering.explicit((Number) 1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0)