- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for MIN_VALUE (0.05 sec)
-
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);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
void shouldHandleMinimumLongValues() { // Given TestAllocInfo allocInfo = new TestAllocInfo(Long.MIN_VALUE, Long.MIN_VALUE); // When & Then assertEquals(Long.MIN_VALUE, allocInfo.getCapacity()); assertEquals(Long.MIN_VALUE, allocInfo.getFree()); } @Test @DisplayName("Should calculate used space correctly")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
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); assertEquals(Integer.MIN_VALUE, problem.getLineNumber()); } @Test void testGetColumnNumber() { DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// Test boundary values for safe operations assertEquals(Integer.MAX_VALUE, validator.safeAdd(Integer.MAX_VALUE, 0)); assertEquals(Integer.MIN_VALUE, validator.safeAdd(Integer.MIN_VALUE, 0)); assertEquals(0, validator.safeMultiply(0, Integer.MAX_VALUE)); assertEquals(1, validator.safeMultiply(1, 1)); // Test exact buffer boundariesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckPositive_minInt() { assertThrows( IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", Integer.MIN_VALUE)); } public void testCheckPositive_positiveInt() { MathPreconditions.checkPositive("int", 1); } public void testCheckPositive_negativeInt() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet.closedOpen(1, 1), ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE), ImmutableSortedSet.of(), ImmutableSet.of()) .testEquals(); // not testing hashCode for these because it takes forever to compute assertEquals( ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.<Integer>all(), integers()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0)