Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for fails (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      }
    
      /**
       * Returns a new {@code Future} whose result is asynchronously derived from the result of this
       * {@code Future}. If the input {@code Future} fails, the returned {@code Future} fails with the
       * same exception (and the function is not invoked).
       *
       * <p>More precisely, the returned {@code Future} takes its result from a {@code Future} produced
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
        assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
      }
    
      /** Fails with message "should throw exception". */
      public void shouldThrow() {
        fail("Should throw exception");
      }
    
      /** Fails with message "should throw " + exceptionName. */
      public void shouldThrow(String exceptionName) {
        fail("Should throw " + exceptionName);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  }
                })
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionSize.ANY)
            .suppressing(suppressForHashSet())
            .createTestSuite();
      }
    
      public Test testsForLinkedHashSet() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
        assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
      }
    
      /** Fails with message "should throw exception". */
      public void shouldThrow() {
        fail("Should throw exception");
      }
    
      /** Fails with message "should throw " + exceptionName. */
      public void shouldThrow(String exceptionName) {
        fail("Should throw " + exceptionName);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  }
                })
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertThat(keySet).containsExactly(1, 3, 6, 8);
    
        // get fails to save 1, put saves 3
        cache.asMap().put(3, -3);
        getAll(cache, asList(1));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(6, 8, 3);
    
        // get(K, Callable) fails to save 8, replace saves 6
        cache.asMap().replace(6, -6);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            if (existingCounter.compareAndSet(oldValue, newValue)) {
              if (newValue == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
                countMap.remove(element, existingCounter);
              }
              return oldValue;
            }
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        initCollectionWithNullElement();
        expectReturnsTrue(disjoint);
        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            future.addListener(listener, directExecutor());
          }
        }
      }
    
      /**
       * Fails this future with the given Throwable if {@link #allMustSucceed} is true. Also, logs the
       * throwable if it is an {@link Error} or if {@link #allMustSucceed} is {@code true}, the
       * throwable did not cause this future to fail, and it is the first time we've seen that
       * particular Throwable.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top