Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.9K bytes
    - Click Count (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(
                () ->
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. 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;
        assertThat(stats.requestCount()).isEqualTo(requestCount);
        assertThat(stats.hitCount()).isEqualTo(11);
        assertThat(stats.hitRate()).isEqualTo(11.0 / requestCount);
        int missCount = 23;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertVersionOlder("1.1", "1.2");
            assertVersionOlder("1.0.0", "1.1");
            assertVersionOlder("1.1", "1.2.0");
    
            assertVersionOlder("1.1.2.alpha1", "1.1.2");
            assertVersionOlder("1.1.2.alpha1", "1.1.2.beta1");
            assertVersionOlder("1.1.2.beta1", "1.2");
    
            assertVersionOlder("1.0-alpha-1", "1.0");
            assertVersionOlder("1.0-alpha-1", "1.0-alpha-2");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. 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("")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. .github/workflows/update-rbe.yml

            map sigbuild-r2.13-python3.8 2.13-python3.8
            map sigbuild-r2.13-python3.9 2.13-python3.9
            map sigbuild-r2.13-python3.10 2.13-python3.10
            map sigbuild-r2.13-python3.11 2.13-python3.11
            # TF 2.13 + Clang (containers are the same, but env vars in configs.bzl are different)
            map sigbuild-r2.13-clang 2.13-python3.9
            map sigbuild-r2.13-clang-python3.8 2.13-python3.8
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 7.2K bytes
    - Click Count (1)
  8. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. cmd/batch-job-common-types_test.go

    			objSize: 2 << 10,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: false,
    		},
    		{
    			// 11MiB > 10 MiB -> out of range from right
    			objSize: 11 << 20,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: false,
    		},
    		{
    			//  2MiB < 10MiB -> in range
    			objSize: 2 << 20,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 08 23:22:28 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/math/DoubleUtils.java

      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
      static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1;
    
      static long getSignificand(double d) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
Back to Top