Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 691 for fails (0.5 sec)

  1. guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.KNOWN_ORDER,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 21:08:15 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Service.java

       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 15.0
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Returns the {@link Throwable} that caused this service to fail.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertBitEquals(VALUES[i], aa.get(i));
          aa.lazySet(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          double unused = Math.E + Math.PI;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      /**
       * Simulate some of the races that can happen on add. We can't easily simulate the race that
       * happens when an {@link AtomicInteger#compareAndSet} fails, but we can simulate the case where
       * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero
       * fails.
       */
      public void testAdd_withFailures() {
        AtomicInteger existing = new AtomicInteger(12);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      }
    
      public void testCreateFromIllegalSizes() {
        try {
          ArrayListMultimap.create(15, -2);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          ArrayListMultimap.create(-15, 2);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCreateFromHashMultimap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LoadingCache.java

       * previously cached values. This method will throw an exception if {@link CacheLoader#loadAll}
       * returns {@code null}, returns a map containing null keys or values, or fails to return an entry
       * for each requested key.
       *
       * <p>Note that duplicate elements in {@code keys}, as determined by {@link Object#equals}, will
       * be ignored.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

                .named("LinkedHashMultiset")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.GENERAL_PURPOSE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

            .named("ArrayList")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionSize.ANY)
            .suppressing(suppressForArrayList())
            .createTestSuite();
      }
    
      public Test testsForLinkedList() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 11.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.KNOWN_ORDER,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 3.2K bytes
    - Viewed (0)
Back to top