Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 221 for MAX_VALUE (0.04 sec)

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

            LEAST,
            -Double.MAX_VALUE,
            -1.0,
            -0.5,
            -0.1,
            -0.0,
            0.0,
            0.1,
            0.5,
            1.0,
            Double.MAX_VALUE,
            GREATEST,
            Double.MIN_NORMAL,
            -Double.MIN_NORMAL,
            Double.MIN_VALUE,
            -Double.MIN_VALUE,
            Integer.MIN_VALUE,
            Integer.MAX_VALUE,
            Long.MIN_VALUE,
            Long.MAX_VALUE
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              // We attempted to retry and got another timeout. Give up.
              return null
            }
    
            if (retryAfter(userResponse, Integer.MAX_VALUE) == 0) {
              // specifically received an instruction to retry without delay.
              return userResponse.request
            }
    
            return null
          }
    
          HTTP_MISDIRECTED_REQUEST -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          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();
        TEST_LONGS = testLongsBuilder.build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          };
        } else {
          return super.createAsList();
        }
      }
    
      @Override
      public int size() {
        long distance = domain.distance(first(), last());
        return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (object == null) {
          return false;
        }
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/Escapers.java

       *
       * <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
       * validate the well-formedness of their input.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

        // We cannot read all, as the source does not close.
        // Instead, we ensure that all bytes from source have been processed by inflater.
        do {
          inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
        } while (inflater.bytesRead < totalBytesToRead && !inflater.finished())
      }
    
      @Throws(IOException::class)
      override fun close() = inflaterSource.close()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testIndexOf_specialValues() {
        ImmutableDoubleArray iia =
            ImmutableDoubleArray.of(-0.0, 0.0, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN);
        assertThat(iia.indexOf(-0.0)).isEqualTo(0);
        assertThat(iia.indexOf(0.0)).isEqualTo(1);
        assertThat(iia.indexOf(Double.MAX_VALUE)).isEqualTo(2);
        assertThat(iia.indexOf(Double.POSITIVE_INFINITY)).isEqualTo(3);
        assertThat(iia.indexOf(Double.NaN)).isEqualTo(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

    public class DoubleMathTest extends TestCase {
    
      private static final BigDecimal MAX_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MAX_VALUE);
      private static final BigDecimal MIN_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MIN_VALUE);
    
      private static final BigDecimal MAX_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MAX_VALUE);
      private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      }
    
      @Test fun `max long`() {
        val bytes = "02087fffffffffffffff".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(Long.MAX_VALUE)
        assertThat(Adapters.INTEGER_AS_LONG.toDer(Long.MAX_VALUE)).isEqualTo(bytes)
      }
    
      @Test fun `min long`() {
        val bytes = "02088000000000000000".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(Long.MIN_VALUE)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

      }
    
      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));
        assertHash(-2106506049, murmur3_32().hashLong(Long.MAX_VALUE));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top