Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for MIN_VALUE (0.11 sec)

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

          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
        }
        assertCastFails(1L << 32);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

        }
      }
    
      public static final class DoublesAsListHeadSubListGenerator extends TestDoubleListGenerator {
        @Override
        protected List<Double> create(Double[] elements) {
          Double[] suffix = {Double.MIN_VALUE, Double.MAX_VALUE};
          Double[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        # o cursorSelectFetchSize: (NotRequired - Default null)
        #  The fetch size of JDBC parameter for cursor select.
        #  For example, specify Integer.MIN_VALUE to enable fetch of MySQL.
        #
        #; cursorSelectFetchSize = Integer.MIN_VALUE
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        }
      }
    
      public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE};
          Float[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        }
      }
    
      public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE};
          Float[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

        }
      }
    
      public static final class IntsAsListHeadSubListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE};
          Integer[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/LongMath.java

      }
    
      /**
       * Returns {@code true} if {@code x} represents a power of two.
       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
        }
        assertCastFails(1L << 32);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/math/LongMath.java

      }
    
      /**
       * Returns {@code true} if {@code x} represents a power of two.
       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top