Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Succeeded (0.04 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. 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)
  3. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_ADDED_PARALLEL_EDGE = "Should not be allowed to add a parallel edge.";
      static final String ERROR_ADDED_EXISTING_EDGE =
          "Reusing an existing edge to connect different nodes succeeded";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Network<Integer, String> createGraph();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
       * this operation fails it may have succeeded in creating some (but not all) of the necessary
       * parent directories.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
       * this operation fails it may have succeeded in creating some (but not all) of the necessary
       * parent directories.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. 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)
Back to top