Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 2153 (0.01 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .setHeader("Content-Type", "text/event-stream")
            .chunkedBody(
              """
              |event: add
              |data: 73857293
              |
              |event: remove
              |data: 2153
              |
              |event: add
              |data: 113411
              |
              |
              """.trimMargin(),
              8,
            ).build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(new File("/a"), grandParent);
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      // https://github.com/google/guava/issues/2152
      public void testClassPathEntries_urlClassLoader_pathWithSpace() throws Exception {
        URL url = new URL("file:///c:/Documents and Settings/");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList(4, 2, 1, 3), permutations);
        assertNextPermutation(newArrayList(2, 4, 1, 3), permutations);
        assertNextPermutation(newArrayList(2, 1, 4, 3), permutations);
        assertNextPermutation(newArrayList(2, 1, 3, 4), permutations);
        assertNoMorePermutations(permutations);
      }
    
      public void testPermutationSetSize() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentablePlusOne() {
        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

    /**
     * Returns true if the length is not valid for DNS (empty or greater than 253 characters), or if any
     * label is longer than 63 characters. Trailing dots are okay.
     */
    internal fun String.containsInvalidLabelLengths(): Boolean {
      if (length !in 1..253) return true
    
      var labelStart = 0
      while (true) {
        val dot = indexOf('.', startIndex = labelStart)
        val labelLength =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        new RoundToDoubleTester(BigInteger.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_maxPreciselyRepresentablePlusOne() {
        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
    
        cache.invalidateAll();
        assertFalse(cache.asMap().containsKey(654));
        assertFalse(cache.asMap().containsKey(2456));
        assertFalse(cache.asMap().containsKey(2));
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
        cache.put(1, 3);
    
        cache.invalidateAll(ImmutableSet.of(1, 2));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        testReverse(new char[] {'3', '1', '1'}, 0, 2, new char[] {'1', '3', '1'});
        testReverse(new char[] {'3', '1', '1'}, 0, 1, new char[] {'3', '1', '1'});
        testReverse(new char[] {'A', '1', 'B', '2'}, 1, 3, new char[] {'A', 'B', '1', '2'});
      }
    
      private static void testRotate(char[] input, int distance, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.rotate(input, distance);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. gradle/libs.versions.toml

    robolectric-android = "org.robolectric:android-all:16-robolectric-13921718"
    robolectric = "org.robolectric:robolectric:4.16"
    #noinspection UnusedVersionCatalogEntry
    signature-android-apilevel21 = "net.sf.androidscents.signature:android-api-level-21:5.0.1_r2"
    #noinspection UnusedVersionCatalogEntry
    signature-android-apilevel24 = "net.sf.androidscents.signature:android-api-level-24:7.0_r2"
    squareup-moshi = { module = "com.squareup.moshi:moshi", version.ref = "com-squareup-moshi" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision for longs of magnitude over 2^53 (slightly over 9e15))
       */
      public static Stats of(long... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top