Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 312 for maxValue (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            assertEquals(-456L, dictionaryItem.getId());
        }
    
        public void test_getId_maxValue() {
            // Test with maximum Long value
            dictionaryItem.id = Long.MAX_VALUE;
            assertEquals(Long.MAX_VALUE, dictionaryItem.getId());
        }
    
        public void test_getId_minValue() {
            // Test with minimum Long value
            dictionaryItem.id = Long.MIN_VALUE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
            .setExpectation(Double.MAX_VALUE, values())
            .test();
      }
    
      public void testRoundToDouble_maxDoublePlusOne() {
        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. callbacks/helper.go

    func ConvertMapToValuesForCreate(stmt *gorm.Statement, mapValue map[string]interface{}) (values clause.Values) {
    	values.Columns = make([]clause.Column, 0, len(mapValue))
    	selectColumns, restricted := stmt.SelectAndOmitColumns(true, false)
    
    	keys := make([]string, 0, len(mapValue))
    	for k := range mapValue {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    
    	for _, k := range keys {
    		value := mapValue[k]
    		if stmt.Schema != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                request.setPadding((byte) 0xFF);
                request.setReadFlags((byte) 0xFF);
                request.setReadLength(Integer.MAX_VALUE);
                request.setOffset(Long.MAX_VALUE);
                request.setMinimumCount(Integer.MAX_VALUE);
                request.setRemainingBytes(Integer.MAX_VALUE);
    
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

         */
        @Nested
        @DisplayName("Wire format method behaviour")
        class WireFormatMethods {
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE })
            @DisplayName("writeSetupWireFormat returns 0 for all indices")
            void writeSetupWireFormatReturnsZero(int index) {
                TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/AllocInfoTest.java

            void shouldHandleMaximumLongValues() {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(Long.MAX_VALUE, Long.MAX_VALUE);
    
                // When & Then
                assertEquals(Long.MAX_VALUE, allocInfo.getCapacity());
                assertEquals(Long.MAX_VALUE, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle minimum long values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle maximum values correctly")
            void testMaximumValues() {
                request.setOffset(Long.MAX_VALUE);
                request.setRemainingBytes(Integer.MAX_VALUE);
                request.setWriteFlags(Integer.MAX_VALUE);
                request.setData(new byte[10], 0, 10);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SmbCircuitBreaker.java

        private final AtomicLong totalBackpressureRejections = new AtomicLong(0);
    
        // Enhanced metrics
        private final AtomicLong minResponseTime = new AtomicLong(Long.MAX_VALUE);
        private final AtomicLong maxResponseTime = new AtomicLong(0);
        private final AtomicInteger consecutiveFailures = new AtomicInteger(0);
        private final AtomicInteger consecutiveSuccesses = new AtomicInteger(0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

        longValues.addAll(Iterables.transform(POSITIVE_INTEGER_CANDIDATES, TO_LONG));
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 31 and 63).
        longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
    
        // Now add values near 2^N for lots of values of N.
        for (int exponent : asList(32, 33, 39, 40, 41, 47, 48, 49, 55, 56, 57)) {
          long x = 1L << exponent;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top