Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 305 for maxValue (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            byte[] smallBuffer = new byte[10];
    
            // Test with maximum offset
            int result = response.writeSetupWireFormat(smallBuffer, Integer.MAX_VALUE);
            assertEquals(0, result);
    
            result = response.readSetupWireFormat(smallBuffer, Integer.MAX_VALUE, 0);
            assertEquals(0, result);
    
            // Test with negative length (should still return 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigDecimalMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Test very large timeout
            generator.setCommandTimeout(Long.MAX_VALUE);
            assertTrue(true);
    
            // Test destroy timeout
            generator.setCommandDestroyTimeout(0L);
            assertTrue(true);
    
            generator.setCommandDestroyTimeout(-1L);
            assertTrue(true);
    
            generator.setCommandDestroyTimeout(Long.MAX_VALUE);
            assertTrue(true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

        }
    
        /**
         * Parameterised test for a selection of edge and typical values.
         */
        @ParameterizedTest(name = "Encode and decode {0}")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
        public void testEncodeWithVariousValues(long val) throws NdrException {
            NdrHyper hyper = new NdrHyper(val);
            // Create buffer with extra space for alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      private static final char[] ARRAY234 = {(char) 2, (char) 3, (char) 4};
    
      private static final char LEAST = Character.MIN_VALUE;
      private static final char GREATEST = Character.MAX_VALUE;
    
      private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

        Iterables.addAll(queue, elements);
        return queue;
      }
    
      // LinkedBlockingDeque
    
      /**
       * Creates an empty {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}.
       *
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque() {
        return new LinkedBlockingDeque<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            // Test executing BoostQuery with very large boost value
            Term term = new Term("field", "large");
            TermQuery termQuery = new TermQuery(term);
            BoostQuery boostQuery = new BoostQuery(termQuery, Float.MAX_VALUE);
    
            QueryContext context = new QueryContext("test", false);
            QueryBuilder result = queryProcessor.execute(context, boostQuery, 1.0f);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
        void testCapacityEdgeValues(long capacity) {
            when(mockAllocInfo.getCapacity()).thenReturn(capacity);
            assertEquals(capacity, mockAllocInfo.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

      }
    
      fun getMaxConcurrentStreams(): Int {
        val bit = 1 shl MAX_CONCURRENT_STREAMS
        return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE
      }
    
      fun getMaxFrameSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_FRAME_SIZE
        return if (bit and set != 0) values[MAX_FRAME_SIZE] else defaultValue
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CartesianList.java

          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
        return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top