Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 93 for 1123 (0.02 seconds)

  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)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. 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",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. 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())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

        /** RFC 1123 date formatter */
        private static final DateTimeFormatter RFC_1123_FORMATTER =
                DateTimeFormatter.ofPattern("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.ENGLISH).withZone(ZoneId.of("GMT"));
    
        /**
         * Parses the last modified date from a string value.
         * Supports RFC 1123, RFC 1036, and ANSI C date formats.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  5. 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}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  6. 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(
                () ->
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

        /**
         * Parses the last modified date from a string value.
         * First attempts to parse using Apache DateUtils (which supports RFC 1123, RFC 1036, and ANSI C formats).
         * Falls back to a custom pattern for non-standard formats.
         *
         * @param value The date string to parse
         * @return The parsed date, or null if parsing fails
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  8. 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(
                () ->
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. 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));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  10. android/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));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
Back to Top