- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for probe (0.15 sec)
-
guava/src/com/google/common/collect/ImmutableSortedMap.java
// even though K doesn't explicitly implement Comparable. comparator = (Comparator<? super K>) NATURAL_ORDER; } if (map instanceof ImmutableSortedMap) { // TODO(kevinb): Prove that this cast is safe, even though // Collections.unmodifiableSortedMap requires the same key type. @SuppressWarnings("unchecked") ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} /** * This test attempts to cause a future to wait for longer than it was requested to from a timed * get() call. As measurements of time are prone to flakiness, it tries to assert based on ranges * derived from observing how much time actually passed for various operations. */ @SuppressWarnings({"DeprecatedThreadMethods", "ThreadPriorityCheck"})
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
this.random = random; } public int nextCodePoint() { int needle = random.nextInt(sum); int l = 0; int r = prob.length - 1; int c = prob.length / 2; int lv = prob[l]; int rv = prob[r]; int cv = prob[c]; while (true) { if (needle == cv) { return chars[c - 1]; } else if ((lv <= needle) && (needle < cv)) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
(a, b) -> { count.incrementAndGet(); assertThat(a.equals(String.valueOf(b))).isTrue(); }); assertThat(count.get()).isEqualTo(100000); // of course, this test doesn't prove that anything actually happened in parallel... } // TODO(kevinb): switch to importing Truth's assertThat(DoubleStream) if we get that added private static IterableSubject assertThatDoubleStream(DoubleStream stream) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
android/pom.xml
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Mar 12 20:26:18 GMT 2024 - 19.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
verifyScenario(alteration.mutate(scenario), level + 1); } } } /** * An aggregation of an ordering with a list (of size > 1) that should prove to be in strictly * increasing order according to that ordering. */ private static class Scenario<T extends @Nullable Object> { final Ordering<T> ordering; final List<T> strictlyOrderedList;
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
verifyScenario(alteration.mutate(scenario), level + 1); } } } /** * An aggregation of an ordering with a list (of size > 1) that should prove to be in strictly * increasing order according to that ordering. */ private static class Scenario<T extends @Nullable Object> { final Ordering<T> ordering; final List<T> strictlyOrderedList;
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) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("bar", Iterables.getLast(iterable, "qux")); } /** * {@link ArrayList} extension that forbids the use of {@link Collection#iterator} for tests that * need to prove that it isn't called. */ private static class DiesOnIteratorArrayList extends ArrayList<String> { /** @throws UnsupportedOperationException all the time */ @Override public Iterator<String> iterator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
public int hashCode() { // Warning: this is broken if size() == 0, so it is critical that we // substitute an empty ImmutableSet to the user in place of this // It's a weird formula, but tests prove it works. int adjust = size() - 1; for (int i = 0; i < axes.size(); i++) { adjust *= 31; adjust = ~~adjust; // in GWT, we have to deal with integer overflow carefully }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/pom.xml
<dependency> <groupId>org.checkerframework</groupId> <artifactId>checker-qual</artifactId> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> </dependency> <dependency> <groupId>com.google.j2objc</groupId> <artifactId>j2objc-annotations</artifactId> </dependency> </dependencies> <build> <resources>
XML - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 11 16:37:45 GMT 2024 - 8.9K bytes - Viewed (0)