Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 257 for maxValue (0.53 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE));
        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE));
        assertEquals(
            Integer.MAX_VALUE,
            ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

        0x7ffffffffffffe00L, // halfway between 2^63 and next-lower double
        0x7ffffffffffffe01L, // above + 1
        0x7ffffffffffffdffL, // above - 1
        Long.MAX_VALUE - (1L << 11) + 1,
        Long.MAX_VALUE - 2,
        Long.MAX_VALUE - 1,
        Long.MAX_VALUE,
        -16,
        -1L << 53,
        -(1L << 53) - 1,
        -(1L << 53) - 2,
        -(1L << 53) - 3,
        -(1L << 53) - 4,
        -1L << 54,
        -(1L << 54) - 1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", 0));
      }
    
      public void testCheckPositive_maxInt() {
        MathPreconditions.checkPositive("int", Integer.MAX_VALUE);
      }
    
      public void testCheckPositive_minInt() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkPositive("int", Integer.MIN_VALUE));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
        assertMean(0, -1, 2);
        assertMean(0, Integer.MIN_VALUE + 2, Integer.MAX_VALUE);
        assertMean(0, 0, 1);
        assertMean(-1, -1, 0);
        assertMean(-1, Integer.MIN_VALUE, Integer.MAX_VALUE);
    
        // x == y == mean
        assertMean(1, 1, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

                new long[] {MIN_VALUE, (long) 1},
                new long[] {(long) 1},
                new long[] {(long) 1, MIN_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE - (long) 1},
                new long[] {MAX_VALUE, MAX_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE, MAX_VALUE});
    
        Comparator<long[]> comparator = Longs.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. scan.go

    		}
    	}
    }
    
    func scanIntoMap(mapValue map[string]interface{}, values []interface{}, columns []string) {
    	for idx, column := range columns {
    		if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() {
    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        BigDecimal maxDoubleAsBD = new BigDecimal(Double.MAX_VALUE);
        new RoundToDoubleTester(maxDoubleAsBD).setExpectation(Double.MAX_VALUE, values()).test();
      }
    
      public void testRoundToDouble_maxDoublePlusOne() {
        BigDecimal maxDoubleAsBD = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE);
        new RoundToDoubleTester(maxDoubleAsBD)
            .setExpectation(Double.MAX_VALUE, DOWN, FLOOR, HALF_EVEN, HALF_UP, HALF_DOWN)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

      }
    
      /*
       * binomial(biggestBinomials[k], k) fits in a long, but not binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        3810779,
        121977,
        16175,
        4337,
        1733,
        887,
        534,
        361,
        265,
        206,
        169,
        143,
        125,
        111,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, 42, -1, null);
            assertEquals(42, problem.getLineNumber());
    
            problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null);
            assertEquals(Integer.MAX_VALUE, problem.getLineNumber());
    
            // this case is not specified, might also return -1
            problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top