Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for 1123 (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
        assertThat("Thu, 01 Jan 1970 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri, 06 Jun 2014 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
      }
    
      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertTrue(permutationSet.contains(newArrayList(1, 2, 3)));
        assertTrue(permutationSet.contains(newArrayList(2, 3, 1)));
        assertFalse(permutationSet.contains(newArrayList(1, 2)));
        assertFalse(permutationSet.contains(newArrayList(1, 1, 2, 3)));
        assertFalse(permutationSet.contains(newArrayList(1, 2, 3, 4)));
        assertFalse(permutationSet.contains(null));
      }
    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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

    private val BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS =
      arrayOf(
        // HTTP formats required by RFC2616 but with any timezone:
        // RFC 822, updated by RFC 1123 with any TZ.
        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
        // ANSI C's asctime() format
        "EEE MMM d HH:mm:ss yyyy",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
        assertEquals(requestCount, stats.requestCount());
        assertEquals(11, stats.hitCount());
        assertThat(stats.hitRate()).isEqualTo(11.0 / requestCount);
        int missCount = 23;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA")
        }
      }
    
      @Test fun readPaddedDataFrame() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

       *   <li>Underscores ('_') are permitted wherever dashes ('-') are permitted.
       *   <li>Parts other than the final part may start with a digit, as mandated by <a
       *       href="https://tools.ietf.org/html/rfc1123#section-2">RFC 1123</a>.
       * </ul>
       *
       * @param domain A domain name (not IP address)
       * @throws IllegalArgumentException if {@code domain} is not syntactically valid according to
       *     {@link #isValid}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.34.md

    - cloud.google.com/go/vmwareengine: v1.0.3
    - cloud.google.com/go/vpcaccess: v1.7.4
    - cloud.google.com/go/webrisk: v1.9.4
    - cloud.google.com/go/websecurityscanner: v1.6.4
    - cloud.google.com/go/workflows: v1.12.3
    - cloud.google.com/go: v0.112.0
    - github.com/BurntSushi/toml: [v0.3.1](https://github.com/BurntSushi/toml/tree/v0.3.1)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        testSortDescending(new byte[] {1}, new byte[] {1});
        testSortDescending(new byte[] {1, 2}, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {-1, 1, -2, 2}, new byte[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

        assertInvalid("HTTP/1.1_200 OK")
      }
    
      @Test
      fun nonThreeDigitCode() {
        assertInvalid("HTTP/1.1  OK")
        assertInvalid("HTTP/1.1 2 OK")
        assertInvalid("HTTP/1.1 20 OK")
        assertInvalid("HTTP/1.1 2000 OK")
        assertInvalid("HTTP/1.1 two OK")
        assertInvalid("HTTP/1.1 2")
        assertInvalid("HTTP/1.1 2000")
        assertInvalid("HTTP/1.1 two")
      }
    
      @Test
      fun truncated() {
        assertInvalid("")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top