Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Succeeded (0.06 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) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. 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(seenExceptionsField);
        }
        return seenExceptionsLocal;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. docs/recipes.md

                .readTimeout(500, TimeUnit.MILLISECONDS)
                .build()
            try {
              client1.newCall(request).execute().use { response ->
                println("Response 1 succeeded: $response")
              }
            } catch (e: IOException) {
              println("Response 1 failed: $e")
            }
    
            // Copy to customize OkHttp for this request.
            val client2 = client.newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       *     output 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)
       * @since 19.0 (in 11.0 as {@code transform})
       */
      public static <I extends @Nullable Object, O extends @Nullable Object>
          ListenableFuture<O> transformAsync(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/StandardTable.java

        }
    
        @Override
        public void remove() {
          columnIterator.remove();
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator.remove() succeeded, so it must have returned a value, so it must have been
           * initialized by next() -- which initializes rowEntry, too.
           *
           * - rowEntry isn't cleared except below. If it was cleared below, then either
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  6. android/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            if (future.wasInterrupted()) {
              // We were cancelled, it is possible that setFuture could have succeeded too.
              assertThat(numSuccessfulSetCalls.get()).isIn(Range.closed(1, 2));
            } else {
              assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
            }
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            if (future.wasInterrupted()) {
              // We were cancelled, it is possible that setFuture could have succeeded too.
              assertThat(numSuccessfulSetCalls.get()).isIn(Range.closed(1, 2));
            } else {
              assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
            }
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.31.md

      Additionally, if you enable the `JobSuccessPolicy` feature gate, the Job gets "CompletionsReached" reason for the "SuccessCriteriaMet" and "Complete" condition type
      when the number of succeeded Job Pods (`.status.succeeded`) reached the desired completions (`.spec.completions`). ([#126067](https://github.com/kubernetes/kubernetes/pull/126067), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:49:57 UTC 2025
    - 429.6K bytes
    - Viewed (0)
Back to top