- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,040 for handler1 (0.13 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should handle empty buffer encoding") void testEmptyBufferEncoding() { byte[] buffer = new byte[256]; testMessage.setBytesWritten(0); int len = testMessage.encode(buffer, 0); assertTrue(len >= Smb2Constants.SMB2_HEADER_LENGTH); } @Test @DisplayName("Should handle large MID values")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos()); assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt()); } @Test @DisplayName("Should handle empty arrays in decode") void testDecodeEmptyArrays() throws SMBProtocolDecodingException { // Arrange context = new PreauthIntegrityNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
// Lease completely broken - invalidate cache entry.invalidate(); } if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) { // Lost handle cache - may need to close directory handle changeNotifier.stopWatching(directoryPath); } // Forward to base lease manager baseLeaseManager.handleLeaseBreak(leaseKey, newState); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
byte[] buffer = new byte[1024]; int result = echoResponse.writeBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Should handle different buffer positions") void testWriteBytesWireFormatDifferentPositions() { byte[] buffer = new byte[1024]; assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception") void fetchMore_handles_no_more_files_exception() throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
NtStatus.NT_STATUS_SHARING_VIOLATION, NtStatus.NT_STATUS_INVALID_PARAMETER }) @DisplayName("Should handle various NT status codes") void testVariousNTStatusCodes(int ntStatus) { // When SmbException exception = new SmbException(ntStatus, false); // Then assertNotNull(exception);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
} /** * Checks whether the asynchronous interim response has been handled. * * @return whether the interim response has been handled */ public boolean isAsyncHandled() { return this.asyncHandled; } /** * Sets whether the asynchronous interim response has been handled. * * @param asyncHandled * the asyncHandled to set */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
api/go1.22.txt
pkg math/rand/v2, type Source interface, Uint64() uint64 #61716 pkg math/rand/v2, type Zipf struct #61716 pkg net, method (*TCPConn) WriteTo(io.Writer) (int64, error) #58808 pkg net/http, func FileServerFS(fs.FS) Handler #51971 pkg net/http, func NewFileTransportFS(fs.FS) RoundTripper #51971 pkg net/http, func ServeFileFS(ResponseWriter, *Request, fs.FS, string) #51971 pkg net/http, method (*Request) PathValue(string) string #61410
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum()); assertEquals(mockPolicyHandle, message.handle); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
} /** * Sets the context handle for the async notify request. * * @param contextHandle the context handle from registration */ public void setContextHandle(byte[] contextHandle) { this.contextHandle = contextHandle != null ? contextHandle.clone() : null; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0)