- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 139 for Kass (0.22 sec)
-
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* verify() method, which is called after each sequence and is guaranteed to be called * using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
Iterator<Integer> iter = new AbstractIterator<Integer>() { @Override public Integer computeNext() { throw exception; } }; // It should pass through untouched try { iter.hasNext(); fail("No exception thrown"); } catch (SomeUncheckedException e) { assertSame(exception, e); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} } public void testNulls() { /* * Don't bother testing. All non-primitive parameters are used only to construct error messages. * We never want to pass null for them, so we haven't annotated them to say that null is * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls * that NullPointerTester wants. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
public void testBadArguments_null() { try { new PercentEscaper(null, false); fail("Expected null pointer exception for null parameter"); } catch (NullPointerException expected) { // pass } } /** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link * IllegalArgumentException}. */ public void testBadArguments_badchars() { String msg =
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader. // This is a sanity check that the test doesn't spuriously pass because // the resource is visible to the system class loader. assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
Iterator<Integer> iter = new AbstractIterator<Integer>() { @Override public Integer computeNext() { throw exception; } }; // It should pass through untouched try { iter.hasNext(); fail("No exception thrown"); } catch (SomeUncheckedException e) { assertSame(exception, e); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/* * Using weak references here could let us release exceptions earlier, but: * * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent * pass. * * 2. We would probably choose to compare exceptions using == instead of equals() (for * consistency with how weak references are cleared). That's a behavior change -- arguably the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
return new FunctionToCacheLoader<>(function); } /** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and * implement {@link #load load} instead. * * <p>The returned object is serializable if {@code supplier} is serializable. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
*/ /* * These generators also rely on consecutive integer inputs (not necessarily in order, but no * holes). */ // SetCreationTester has some tests that pass in duplicates. Dedup them. private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) { SortedSet<E> set = newTreeSet(); for (E element : elements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 15.5K bytes - Viewed (0)