- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for MIN_VALUE (0.04 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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
crawlerContext.setActiveThreadCount(Integer.MIN_VALUE); assertEquals(Integer.MIN_VALUE, crawlerContext.getActiveThreadCount().intValue()); crawlerContext.setNumOfThread(Integer.MIN_VALUE); assertEquals(Integer.MIN_VALUE, crawlerContext.getNumOfThread()); crawlerContext.setMaxThreadCheckCount(Integer.MIN_VALUE); assertEquals(Integer.MIN_VALUE, crawlerContext.getMaxThreadCheckCount());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K 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) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
when(messageBlock.getMid()).thenReturn(maxMid); messageBlock.setMid(maxMid); assertEquals(maxMid, messageBlock.getMid()); // Test with MIN_VALUE long minMid = Long.MIN_VALUE; doNothing().when(messageBlock).setMid(minMid); when(messageBlock.getMid()).thenReturn(minMid); messageBlock.setMid(minMid);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertTrue(info.toString().contains("endOfFile=" + endOfFile)); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, 100L, 1024L, Long.MAX_VALUE, -1L, Long.MIN_VALUE }) @DisplayName("Test constructor with various end of file values") void testConstructorWithVariousValues(long endOfFile) { FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
*/ public static void validateIntegerAddition(int a, int b, String operation) { long result = (long) a + (long) b; if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) { throw new ArithmeticException(operation + " would cause integer overflow: " + a + " + " + b); } } /** * Validates integer multiplication for safe arithmetic *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
void testDecodeWithMinIndexNumber() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[8]; long expectedIndexNumber = Long.MIN_VALUE; // Encode test data SMBUtil.writeInt8(expectedIndexNumber, buffer, 0); // Decode int bytesDecoded = fileInternalInfo.decode(buffer, 0, buffer.length); // Verify
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
*/ public int safeAdd(int a, int b) throws SmbException { totalValidations.incrementAndGet(); long result = (long) a + (long) b; if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) { failedValidations.incrementAndGet(); integerOverflowsPrevented.incrementAndGet(); log.warn("Integer overflow in addition: {} + {} = {}", a, b, result);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
} /** * Test FileEndOfFileInformation with various end of file values */ @ParameterizedTest @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L }) @DisplayName("Test FileEndOfFileInformation with various values") void testFileEndOfFileInformationWithVariousValues(long endOfFile) throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
int result = SMBUtil.readInt4(buffer, 0); assertEquals((int) (input & 0xFFFFFFFFL), result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEF0L }) void testWriteReadInt8RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt8(input, buffer, 0); long result = SMBUtil.readInt8(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)