Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for answers (0.03 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

            -----END CERTIFICATE-----
            """.trimIndent().decodeCertificatePem()
    
          val handshakeCertificates =
            HandshakeCertificates
              .Builder()
              // TODO reenable in official answers
    //      .addPlatformTrustedCertificates()
              .addTrustedCertificate(cert)
              .build()
    
          clientBuilder
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    @NullUnmarked
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random rng = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/IntMathTest.java

            assertEquals(i + "^" + pow, BigInteger.valueOf(i).pow(pow).intValue(), IntMath.pow(i, pow));
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Math.floorDiv gets wrong answers for negative divisors
      public void testDivNonZero() {
        for (int p : NONZERO_INTEGER_CANDIDATES) {
          for (int q : NONZERO_INTEGER_CANDIDATES) {
            for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

              assertEquals(list.lastIndexOf(key), answer);
              return;
            }
            break;
          case ANY_PRESENT:
            if (list.contains(key)) {
              assertEquals(key, list.get(answer));
              return;
            }
            break;
          case FIRST_AFTER:
            if (list.contains(key)) {
              assertEquals(list.lastIndexOf(key) + 1, answer);
              return;
            }
            break;
          case LAST_BEFORE:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      /**
       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      /**
       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractService.java

              }
            });
      }
    
      /**
       * An immutable snapshot of the current state of the service. This class represents a consistent
       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              }
            });
      }
    
      /**
       * An immutable snapshot of the current state of the service. This class represents a consistent
       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/BigIntegerMath.java

         * 10^floor(log10(x)).
         */
    
        if (approxCmp > 0) {
          /*
           * The code is written so that even completely incorrect approximations will still yield the
           * correct answer eventually, but in practice this branch should almost never be entered, and
           * even then the loop should not run more than once.
           */
          do {
            approxLog10--;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

     *       contents of the current one (for example {@link #transform})
     *   <li>element extraction methods which facilitate the retrieval of certain elements (for example
     *       {@link #last})
     *   <li>query methods which answer questions about the {@code FluentIterable}'s contents (for
     *       example {@link #anyMatch})
     *   <li>conversion methods which copy the {@code FluentIterable}'s contents into a new collection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
Back to top