- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 114 for minValue (0.04 sec)
-
android/guava-tests/test/com/google/common/math/MathTesting.java
integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE)); // Add small multiples of MIN_VALUE and MIN_NORMAL for (int scale = 1; scale <= 4; scale++) { for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { fractionalBuilder.add(d * scale).add(-d * scale); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
assertEquals(Long.MAX_VALUE, dictionaryItem.getId()); } public void test_getId_minValue() { // Test with minimum Long value dictionaryItem.id = Long.MIN_VALUE; assertEquals(Long.MIN_VALUE, dictionaryItem.getId()); } public void test_multipleInstances() { // Test that different instances have independent ID values
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
// The comparator b2 - b1 with MAX_VALUE and MIN_VALUE causes overflow List<Integer> executionOrder = PriorityTrackingBooster.getExecutionOrder(); assertEquals(3, executionOrder.size()); assertEquals(Integer.valueOf(Integer.MIN_VALUE), executionOrder.get(0)); assertEquals(Integer.valueOf(Integer.MAX_VALUE), executionOrder.get(1));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/base/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. */ // We use this method only for cases in which we need to decompose to primitives.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* Long.MIN_VALUE} * <li>{@link Math#absExact(long)}, which throws {@link ArithmeticException} when passed {@code * Long.MIN_VALUE} * <li>this method, {@code LongMath.saturatedAbs(long)}, which returns {@code Long.MAX_VALUE} * when passed {@code Long.MIN_VALUE} * </ul> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Test case 5: Min int value int minIntValue = Integer.MIN_VALUE; NdrLong ndrLongMin = new NdrLong(minIntValue); assertEquals(minIntValue, ndrLongMin.value, "Constructor should correctly initialize with Integer.MIN_VALUE."); } @Test void encode_shouldCallEncNdrLongWithCorrectValue() throws NdrException { int testValue = 98765;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
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()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
*/ @NullMarked @GwtCompatible public class SignedBytesTest extends TestCase { private static final byte[] EMPTY = {}; private static final byte[] ARRAY1 = {(byte) 1}; private static final byte LEAST = Byte.MIN_VALUE; private static final byte GREATEST = Byte.MAX_VALUE; private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST}; public void testCheckedCast() { for (byte value : VALUES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
// Test with minimum integer value int minFlags = Integer.MIN_VALUE; AvFlags minAvFlags = new AvFlags(minFlags); assertNotNull(minAvFlags, "AvFlags object should not be null for min flags"); assertEquals(minFlags, minAvFlags.getFlags(), "Flags should match Integer.MIN_VALUE"); // Test with a negative integer int negativeFlags = -12345;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0)