- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 205 for pass (0.16 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
synchronized (collection) { // to allow Collections.synchronized* tests to pass Helpers.assertEqualIgnoringOrder( getSampleElements(), Arrays.asList(collection.stream().toArray())); } } @CollectionFeature.Require(KNOWN_ORDER) public void testStreamToArrayKnownOrder() { synchronized (collection) { // to allow Collections.synchronized* tests to pass
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link * ImmutableSortedSet#of(Comparable)}.</b> */ @DoNotCall("Pass a parameter of type Comparable") @Deprecated public static <E> ImmutableSortedSet<E> of(E element) { throw new UnsupportedOperationException(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a key of type {@code Comparable} to use {@link * ImmutableSortedMap#of(Comparable, Object)}.</b> */ @DoNotCall("Pass a key of type Comparable") @Deprecated public static <K, V> ImmutableSortedMap<K, V> of(K k1, V v1) { throw new UnsupportedOperationException();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link * ImmutableSortedSet#of(Comparable)}.</b> */ @DoNotCall("Pass a parameter of type Comparable") @Deprecated public static <E> ImmutableSortedSet<E> of(E element) { throw new UnsupportedOperationException(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* ImmutableSortedMultiset}, not this dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link * ImmutableSortedMultiset#of(Comparable)}.</b> */ @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)") @Deprecated public static <E> ImmutableSortedMultiset<E> of(E element) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 35.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
fail("Trailing high surrogate should cause exception"); } catch (IllegalArgumentException expected) { // Pass } try { escapeAsString(SIMPLE_ESCAPER, test); fail("Trailing high surrogate should cause exception"); } catch (IllegalArgumentException expected) { // Pass } } public void testNullInput() { UnicodeEscaper e = SIMPLE_ESCAPER; try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the * parameter as non-nullable (since passing null to a FilenameFilter is unsafe in general), but if * someone still manages to pass null, let's continue to have the method work. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
tmp += UnsignedLongs.remainder(longs[j], divisors[j]); } return tmp; } @Benchmark long parseUnsignedLong(int reps) { long tmp = 0; // Given that we make three calls per pass, we scale reps down in order // to do a comparable amount of work to other measurements. int scaledReps = reps / 3 + 1; for (int i = 0; i < scaledReps; i++) { int j = i & ARRAY_MASK;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
} catch (IllegalArgumentException e) { // pass } assertEquals("<lo><hi>", charEscaper.escape("\uDC00\uD800")); try { unicodeEscaper.escape("\uDC00\uD800"); fail("should have failed for bad Unicode input"); } catch (IllegalArgumentException e) { // pass } } // A trivial non-optimized escaper for testing.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} /** * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures * that callers don't pass an {@link Entry} by mistake. */ protected V get(K key) { return getMap().get(key); } protected final K k0() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0)