- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 1,122 for fails (0.02 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
// call get() twice to make sure that memoization doesn't interfere // with throwing the exception for (int i = 0; i < 2; i++) { try { memoizedSupplier.get(); fail("failed to throw NullPointerException"); } catch (NullPointerException e) { // this is what should happen } } } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends V> valueFunction) { checkNotNull(comparator); checkNotNull(keyFunction); checkNotNull(valueFunction); /* * We will always fail if there are duplicate keys, and the keys are always sorted by * the Comparator, so the entries can come in an arbitrary order -- so we report UNORDERED. */ return Collector.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends V> valueFunction) { checkNotNull(comparator); checkNotNull(keyFunction); checkNotNull(valueFunction); /* * We will always fail if there are duplicate keys, and the keys are always sorted by * the Comparator, so the entries can come in an arbitrary order -- so we report UNORDERED. */ return Collector.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) { assertFalse("Expected no more permutations, but there was one.", permutations.hasNext()); try { permutations.next(); fail("Expected NoSuchElementException."); } catch (NoSuchElementException expected) { } } private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
try { SuggestCreator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } // Test process with properties path public void test_process_withPropertiesPath() { try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
} public void test_init() { DocumentHelper documentHelper = new DocumentHelper(); try { documentHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_getTitle() { DocumentHelper documentHelper = new DocumentHelper();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
// The cache candidate wasn't applicable. Close it. cacheCandidate.body.closeQuietly() } // If we're forbidden from using the network and the cache is insufficient, fail. if (networkRequest == null && cacheResponse == null) { return Response .Builder() .request(chain.request()) .protocol(Protocol.HTTP_1_1) .code(HTTP_GATEWAY_TIMEOUT)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
cmd/sftp-server-driver.go
} cctx, cancel := context.WithCancel(context.Background()) defer cancel() if prefix == "" { // if all objects are not deleted yet this call may fail. return clnt.RemoveBucket(cctx, bucket) } objectsCh := make(chan minio.ObjectInfo) // Send object names that are needed to be removed to objectsCh go func() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
cmd/ftp-server-driver.go
if err != nil { return err } cctx, cancel := context.WithCancel(context.Background()) defer cancel() if prefix == "" { // if all objects are not deleted yet this call may fail. return clnt.RemoveBucket(cctx, bucket) } objectsCh := make(chan minio.ObjectInfo) // Send object names that are needed to be removed to objectsCh go func() { defer xioutil.SafeClose(objectsCh)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.3K bytes - Viewed (0)