Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for succeeded (0.2 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     future
       * @param executor Executor to run the function in.
       * @return A future that holds result of the function (if the input succeeded) or the original
       *     input's failure (if not)
       */
      public final <T extends @Nullable Object> FluentFuture<T> transformAsync(
          AsyncFunction<? super V, T> function, Executor executor) {
    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)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

          if (executed) {
            return;
          }
          executed = true;
          list = runnables;
          runnables = null; // allow GC to free listeners even if this stays around for a while.
        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           * other callers have added to it.
           *
           * This read is guaranteed to get us the right value because we only set this once (here).
           *
           * requireNonNull is safe because either our compareAndSet succeeded or it failed because
           * another thread did it for us.
           */
          seenExceptionsLocal = requireNonNull(seenExceptions);
        }
        return seenExceptionsLocal;
      }
    
    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)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

              startDraining(true);
              continue DRAINING;
            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
              // a) the final flush() succeeded; next drain (then done)
              // b) we encoded all of the input; next flush
              // c) we ran of out input to encode; next read more input
              if (doneEncoding) { // (a)
                doneFlushing = true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      As there seemed to be no chance of getting her hands up to her
    head, she tried to get her head down to them, and was delighted
    to find that her neck would bend about easily in any direction,
    like a serpent.  She had just succeeded in curving it down into a
    graceful zigzag, and was going to dive in among the leaves, which
    she found to be nothing but the tops of the trees under which she
    had been wandering, when a sharp hiss made her draw back in a
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/IntMathTest.java

            boolean expectedSuccess = fitsInInt(expectedResult);
            try {
              assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k));
              assertTrue(b + "^" + k + " should have succeeded", expectedSuccess);
            } catch (ArithmeticException e) {
              assertFalse(b + "^" + k + " should have failed", expectedSuccess);
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          aa.lazySet(i, VALUES[i]);
          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;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          aa.lazySet(i, VALUES[i]);
          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;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
Back to top