Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 118 for minValue (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

        }
    
        @Test
        void constructor_withMinimumShortValue() {
            // Arrange
            short level = Short.MIN_VALUE;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Assert
            assertEquals(Short.MIN_VALUE, queryPolicy.level);
        }
    
        @Test
        void constructor_withMaximumShortValue() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.sflags2 = Integer.MIN_VALUE;
            serverData.smaxMpxCount = Integer.MIN_VALUE;
            serverData.maxBufferSize = Integer.MIN_VALUE;
            serverData.sessKey = Integer.MIN_VALUE;
            serverData.scapabilities = Integer.MIN_VALUE;
    
            assertEquals(Integer.MIN_VALUE, serverData.sflags2);
            assertEquals(Integer.MIN_VALUE, serverData.smaxMpxCount);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(
            Range.closedOpen(Integer.MIN_VALUE, 0),
            Range.closedOpen(Integer.MIN_VALUE, 0).canonical(integers()));
    
        assertEquals(Range.closedOpen(Integer.MIN_VALUE, 0), Range.lessThan(0).canonical(integers()));
        assertEquals(Range.closedOpen(Integer.MIN_VALUE, 1), Range.atMost(0).canonical(integers()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      }
    
      public void testRoundToDouble_halfMinDouble() {
        BigDecimal minDouble = new BigDecimal(Double.MIN_VALUE);
        BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2));
        new RoundToDoubleTester(halfMinDouble)
            .roundUnnecessaryShouldThrow()
            .setExpectation(Double.MIN_VALUE, UP, CEILING, HALF_UP)
            .setExpectation(0.0, HALF_EVEN, FLOOR, DOWN, HALF_DOWN)
            .test();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/SignedBytes.java

       *     {@link Byte#MAX_VALUE} if it is too large, or {@link Byte#MIN_VALUE} if it is too small
       */
      public static byte saturatedCast(long value) {
        if (value > Byte.MAX_VALUE) {
          return Byte.MAX_VALUE;
        }
        if (value < Byte.MIN_VALUE) {
          return Byte.MIN_VALUE;
        }
        return (byte) value;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        long doubleConversionTest = 0xfffffffffffff402L;
    
        for (long i = -3; i <= 3; i++) {
          testLongsBuilder
              .add(i)
              .add(Long.MAX_VALUE + i)
              .add(Long.MIN_VALUE + i)
              .add(Integer.MIN_VALUE + i)
              .add(Integer.MAX_VALUE + i)
              .add(floatConversionTest + i)
              .add(doubleConversionTest + i);
          BigInteger bigI = BigInteger.valueOf(i);
          testBigIntegersBuilder
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      }
    
      public void testRoundToDouble_halfMinDouble() {
        BigDecimal minDouble = new BigDecimal(Double.MIN_VALUE);
        BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2));
        new RoundToDoubleTester(halfMinDouble)
            .roundUnnecessaryShouldThrow()
            .setExpectation(Double.MIN_VALUE, UP, CEILING, HALF_UP)
            .setExpectation(0.0, HALF_EVEN, FLOOR, DOWN, HALF_DOWN)
            .test();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top