- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 82 for MAX_VALUE (1.68 sec)
-
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 8); // Max times SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 16); SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 24); SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 32); SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // Max allocation size SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // Max end of file
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
void testDecodeWithMaxValues() throws SMBProtocolDecodingException { // Prepare test data with maximum values byte[] buffer = new byte[22]; long maxLong = Long.MAX_VALUE; int maxInt = Integer.MAX_VALUE; // Encode test data int offset = 0; SMBUtil.writeInt8(maxLong, buffer, offset); offset += 8; SMBUtil.writeInt8(maxLong, buffer, offset);
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/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Test case 4: Max int value int maxIntValue = Integer.MAX_VALUE; NdrLong ndrLongMax = new NdrLong(maxIntValue); assertEquals(maxIntValue, ndrLongMax.value, "Constructor should correctly initialize with Integer.MAX_VALUE."); // Test case 5: Min int value int minIntValue = Integer.MIN_VALUE;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
private final AtomicLong totalBackpressureRejections = new AtomicLong(0); // Enhanced metrics private final AtomicLong minResponseTime = new AtomicLong(Long.MAX_VALUE); private final AtomicLong maxResponseTime = new AtomicLong(0); private final AtomicInteger consecutiveFailures = new AtomicInteger(0); private final AtomicInteger consecutiveSuccesses = new AtomicInteger(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} @Test @DisplayName("Should create lock with maximum values") void testConstructorWithMaxValues() { long maxOffset = Long.MAX_VALUE; long maxLength = Long.MAX_VALUE; int flags = 0xFFFFFFFF; lock = new Smb2Lock(maxOffset, maxLength, flags); assertNotNull(lock); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
void testWithEdgeCaseTimeValues() { // Test with various time values including edge cases long[][] timeValues = { { 0L, 0L, 0L, 0L }, // All zeros { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max values { 1L, 2L, 3L, 4L }, // Small values { -1L, -2L, -3L, -4L } // Negative values (though unusual for file times) };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
when(config.getNotifyBufferSize()).thenReturn(Integer.MAX_VALUE); Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId); // When byte[] buffer = new byte[512]; req.writeBytesWireFormat(buffer, 0); // Then int readBufferSize = SMBUtil.readInt4(buffer, 4); assertEquals(Integer.MAX_VALUE, readBufferSize); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, Integer.MAX_VALUE)); assertEquals(0, response.readParametersWireFormat(buffer, 0, Integer.MAX_VALUE)); assertEquals(0, response.readDataWireFormat(buffer, 0, Integer.MAX_VALUE)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
// Given Integer largeTimeout = Integer.MAX_VALUE; when(request.getOverrideTimeout()).thenReturn(largeTimeout); // When Integer result = request.getOverrideTimeout(); // Then assertNotNull(result); assertEquals(Integer.MAX_VALUE, result.intValue()); verify(request, times(1)).getOverrideTimeout(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)