Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 132 for MIN_VALUE (0.14 sec)

  1. guava/src/com/google/common/primitives/Longs.java

          return null;
        }
        long accum = -digit;
    
        long cap = Long.MIN_VALUE / radix;
    
        while (index < string.length()) {
          digit = AsciiDigits.digit(string.charAt(index++));
          if (digit < 0 || digit >= radix || accum < cap) {
            return null;
          }
          accum *= radix;
          if (accum < Long.MIN_VALUE + digit) {
            return null;
          }
          accum -= digit;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(Http2.TYPE_SETTINGS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(0) // Settings are always on the connection stream 0.
        frame.writeShort(4) // SETTINGS_INITIAL_WINDOW_SIZE
        frame.writeInt(Int.MIN_VALUE)
        assertFailsWith<IOException> {
          reader.nextFrame(requireSettings = false, BaseTestHandler())
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

                Lists.newArrayList(),
                null)
            .inOrder();
      }
    
      public void testNatural() {
        Ordering<Integer> comparator = Ordering.natural();
        Helpers.testComparator(comparator, Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE);
        try {
          comparator.compare(1, null);
          fail();
        } catch (NullPointerException expected) {
        }
        try {
          comparator.compare(null, 2);
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CharMatcher.java

       * worthwhile tradeoff in a browser.
       */
      public CharMatcher precomputed() {
        return Platform.precomputeCharMatcher(this);
      }
    
      private static final int DISTINCT_CHARS = Character.MAX_VALUE - Character.MIN_VALUE + 1;
    
      /**
       * This is the actual implementation of {@link #precomputed}, but we bounce calls through a method
       * on {@link Platform} so that we can have different behavior in GWT.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

       * worthwhile tradeoff in a browser.
       */
      public CharMatcher precomputed() {
        return Platform.precomputeCharMatcher(this);
      }
    
      private static final int DISTINCT_CHARS = Character.MAX_VALUE - Character.MIN_VALUE + 1;
    
      /**
       * This is the actual implementation of {@link #precomputed}, but we bounce calls through a method
       * on {@link Platform} so that we can have different behavior in GWT.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInts {
      static final long INT_MASK = 0xffffffffL;
    
      private UnsignedInts() {}
    
      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInts.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInts {
      static final long INT_MASK = 0xffffffffL;
    
      private UnsignedInts() {}
    
      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
      private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4};
    
      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      public void testHashCode() {
        for (byte value : VALUES) {
          assertThat(Bytes.hashCode(value)).isEqualTo(((Byte) value).hashCode());
        }
      }
    
      public void testContains() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedLongs.java

       * longs, that is, {@code a <= b} as unsigned longs if and only if {@code flip(a) <= flip(b)} as
       * signed longs.
       */
      private static long flip(long a) {
        return a ^ Long.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code long} values, treating them as unsigned values between {@code
       * 0} and {@code 2^64 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * longs, that is, {@code a <= b} as unsigned longs if and only if {@code flip(a) <= flip(b)} as
       * signed longs.
       */
      private static long flip(long a) {
        return a ^ Long.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code long} values, treating them as unsigned values between {@code
       * 0} and {@code 2^64 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top