- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 98 for minValue (0.07 seconds)
-
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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (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")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (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); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 11.3K bytes - Click Count (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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (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.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 1.9K bytes - Click Count (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 boundariesCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (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() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 8K bytes - Click Count (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;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (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.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 1.9K bytes - Click Count (0) -
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()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0)