- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 674 for maximal (0.09 seconds)
-
src/main/java/jcifs/util/ResourceManager.java
} } return Collections.unmodifiableSet(result); } /** * Configure resource manager * * @param maxAge maximum resource age in milliseconds * @param cleanupInterval cleanup interval in milliseconds * @param enableLeakDetection enable leak detection * @param enableAutoCleanup enable auto cleanup */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(count, response.getCount()); assertEquals(remaining, response.getRemaining()); } @Test @DisplayName("Should handle maximum integer values") void testMaximumValues() throws SMBProtocolDecodingException { byte[] buffer = createValidWriteResponse(Integer.MAX_VALUE, Integer.MAX_VALUE);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
int command = commandField.getInt(request); // Then assertEquals(0x000F, command); // SMB2_CHANGE_NOTIFY } @Test @DisplayName("Should handle maximum buffer size") void testMaximumBufferSize() { // Given Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(Integer.MAX_VALUE);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
CLAUDE.md
3. Add tests 4. Handle resources properly (try-with-resources) 5. Consider thread safety 6. Update JavaDoc ### When Fixing Bugs 1. Write failing test first 2. Understand root cause 3. Minimal changes 4. Verify no regressions ### When Refactoring 1. Preserve behavior 2. Keep tests green 3. Small incremental steps 4. Don't mix with new features ### Code Quality Checklist
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Fri Nov 28 17:31:34 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0, bytesRead); } @Test @DisplayName("Test size calculation with different buffer sizes") void testSizeCalculationWithDifferentBufferSizes() { // Test with smaller maximum buffer size when(mockConfig.getMaximumBufferSize()).thenReturn(8192); when(mockConfig.getListSize()).thenReturn(16384); request = new Smb2QueryDirectoryRequest(mockConfig);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertThrows(SMBProtocolDecodingException.class, () -> { notifyInfo.decode(buffer, 0, buffer.length); }); } @Test @DisplayName("Test decode with maximum file name length") void testDecodeMaxFileNameLength() throws SMBProtocolDecodingException { // Create a very long filename (but within reasonable bounds) StringBuilder sb = new StringBuilder();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Test void readWireFormat_shouldDelegateToParent() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); byte[] src = new byte[200]; // Setup minimal valid header src[0] = 0x00; src[1] = 0x01; // Transaction ID src[2] = 0x00; // Flags src[3] = 0x00; // Flags src[4] = 0x00; src[5] = 0x01; // Question countCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
@Mock private sid_t mockSidT; private MsrpcLookupSids lookupSids; private jcifs.SID[] testSids; @BeforeEach void setUp() { // Setup is minimal - mocks are configured per test as needed } @Test void constructor_shouldInitializeWithValidParameters() { // Arrange jcifs.SID mockSid1 = mock(jcifs.SID.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
request.writeBytesWireFormat(smallBuffer, 0); }); } @Test @DisplayName("Test file ID boundary values") void testFileIdBoundaryValues() { // Test with file ID having maximum byte values byte[] maxFileId = new byte[16]; Arrays.fill(maxFileId, (byte) 0xFF); Smb2FlushRequest maxRequest = new Smb2FlushRequest(mockConfig, maxFileId); byte[] buffer = new byte[256];
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)