Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 135 for MIN_VALUE (0.16 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        for (int i = -3; i <= 3; i++) {
          testIntsBuilder
              .add(i)
              .add(force32(Integer.MIN_VALUE + i))
              .add(force32(Integer.MAX_VALUE + i));
          testLongsBuilder
              .add((long) i)
              .add((long) Integer.MIN_VALUE + i)
              .add((long) Integer.MAX_VALUE + i)
              .add((1L << 32) + i);
        }
        TEST_INTS = testIntsBuilder.build();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CookieTest.kt

          .isEqualTo(Long.MIN_VALUE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=0")!!.expiresAt)
          .isEqualTo(Long.MIN_VALUE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=-9223372036854775808")!!.expiresAt)
          .isEqualTo(Long.MIN_VALUE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=-9223372036854775809")!!.expiresAt)
          .isEqualTo(Long.MIN_VALUE)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemoryAmountTest.groovy

        }
    
        def "invalid bytes #bytes"() {
            when:
            MemoryAmount.of(bytes)
    
            then:
            thrown IllegalArgumentException
    
            where:
            bytes << [0L, -1L, Long.MIN_VALUE]
        }
    
        def "string notation #notation"() {
            given:
            def amount = MemoryAmount.of(notation)
    
            expect:
            amount.bytes == bytes
            amount.toString() == notation
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE));
      }
    
      public void testKnownLongInputs() {
        assertHash(1669671676, murmur3_32().hashLong(0L));
        assertHash(-846261623, murmur3_32().hashLong(-42L));
        assertHash(1871679806, murmur3_32().hashLong(42L));
        assertHash(1366273829, murmur3_32().hashLong(Long.MIN_VALUE));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 08 13:56:22 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                    val long = value as Long
                    if (Int.MIN_VALUE < long && long < Int.MAX_VALUE) KaConstantValue.KaIntConstantValue(long.toInt(), psi)
                    else KaConstantValue.KaLongConstantValue(long, psi)
                }
    
                ConstantValueKind.UnsignedIntegerLiteral -> {
                    val long = value as ULong
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/Escapers.java

       * thread safe.
       *
       * <p>The initial state of the builder is such that:
       *
       * <ul>
       *   <li>There are no replacement mappings
       *   <li>{@code safeMin == Character.MIN_VALUE}
       *   <li>{@code safeMax == Character.MAX_VALUE}
       *   <li>{@code unsafeReplacement == null}
       * </ul>
       *
       * <p>For performance reasons escapers created by this builder are not Unicode aware and will not
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.join(",", 1, 2)).isEqualTo("1,2");
        assertThat(UnsignedLongs.join(",", -1, Long.MIN_VALUE))
            .isEqualTo("18446744073709551615,9223372036854775808");
        assertThat(UnsignedLongs.join("", 1, 2, 3)).isEqualTo("123");
        assertThat(UnsignedLongs.join("", -1, Long.MIN_VALUE))
            .isEqualTo("184467440737095516159223372036854775808");
      }
    
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

      override val routePlanner: RoutePlanner,
      private val taskRunner: TaskRunner,
    ) : ExchangeFinder {
      private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L)
      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
       * Plans currently being connected, and that will later be added to [connectResults]. This is
       * mutated by the call thread only. If is accessed by background connect threads.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          assertThat(UnsignedBytes.checkedCast(UnsignedBytes.toInt(value))).isEqualTo(value);
        }
        assertCastFails(256L);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
          assertThat(UnsignedBytes.saturatedCast(UnsignedBytes.toInt(value))).isEqualTo(value);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.join(",", 1, 2)).isEqualTo("1,2");
        assertThat(UnsignedLongs.join(",", -1, Long.MIN_VALUE))
            .isEqualTo("18446744073709551615,9223372036854775808");
        assertThat(UnsignedLongs.join("", 1, 2, 3)).isEqualTo("123");
        assertThat(UnsignedLongs.join("", -1, Long.MIN_VALUE))
            .isEqualTo("184467440737095516159223372036854775808");
      }
    
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top