- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,148 for Handler (0.03 sec)
-
src/test/java/jcifs/netbios/LmhostsTest.java
assertNotNull(table.get(name1)); assertNotNull(table.get(name2)); } @Test void testPopulateWithIncludeDirective() throws Exception { // Test that #INCLUDE directive is handled (even if the include fails) String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n"; // Mock SmbFileInputStream to simulate include fileRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(16, bytesRead); assertEquals(2048, response.getCount()); assertEquals(1024, response.getRemaining()); } @Test @DisplayName("Should handle zero count and remaining") void testReadZeroValues() throws SMBProtocolDecodingException { byte[] buffer = createValidWriteResponse(0, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
// ensure file is open if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire(); return this.handle; } return this.handle.acquire(); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@Test @DisplayName("Should handle null domain and workstation") void testNullDomainAndWorkstation() { // When Type1Message type1 = new Type1Message(mockContext, 0, null, null); // Then assertNull(type1.getSuppliedDomain()); assertNull(type1.getSuppliedWorkstation()); } @Test @DisplayName("Should handle case sensitivity in domain and workstation")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertArrayEquals(expectedName, actualName); verify(response, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
"strconv" "strings" "text/scanner" "cmd/asm/internal/flags" "cmd/internal/objabi" "cmd/internal/src" ) // Input is the main input: a stack of readers and some macro definitions. // It also handles #include processing (by pushing onto the input stack) // and parses and instantiates macro definitions. type Input struct { Stack includes []string beginningOfLine bool ifdefStack []bool
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle null root cause") void testConstructorWithNullRootCause() { TransportException exception = new TransportException((Throwable) null); assertNotNull(exception); assertNull(exception.getRootCause()); } @Test @DisplayName("Should handle null message with root cause")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
assertNotNull(messages[0]); assertTrue(messages[0].toLowerCase().contains("success") || messages[0].toLowerCase().contains("completed")); } @Test @DisplayName("Should handle access denied status") void testAccessDeniedStatus() { // Given int status = NtStatus.NT_STATUS_ACCESS_DENIED; // When/Then assertEquals((int) 0xC0000022L, status);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
@Test @DisplayName("Should handle zero values") void shouldHandleZeroValues() { // Given TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L); // When & Then assertEquals(0L, allocInfo.getCapacity()); assertEquals(0L, allocInfo.getFree()); } @Test @DisplayName("Should handle maximum long values")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
import jcifs.internal.smb2.create.CreateContextResponse; /** * SMB2 Durable Handle Reconnect Response Create Context * * MS-SMB2 Section 2.2.14.2.5 */ public class DurableHandleReconnectResponse implements CreateContextResponse { /** * Context name for durable handle reconnect response */ public static final String CONTEXT_NAME = "DHnC";Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2K bytes - Viewed (0)