- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,148 for Handler (0.05 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @Test @DisplayName("Should handle error response structure size 9") void testReadBytesWireFormatErrorResponse() throws Exception { // Given byte[] buffer = new byte[256]; int bufferIndex = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.create.CreateContextResponse; /** * SMB2 Durable Handle Response Create Context * * MS-SMB2 Section 2.2.14.2.3 */ public class DurableHandleResponse implements CreateContextResponse { /** * Context name for durable handle response */ public static final String CONTEXT_NAME = "DHnQ";Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java
this.registrationId = registrationId; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() { return contextHandle; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/os_windows.go
if err != nil { return errInvalidArgument } data := &syscall.Win32finddata{} handle, err := syscall.FindFirstFile(globAllP, data) if err != nil { if err = syscallErrToFileErr(dirPath, err); err == errFileNotFound { return nil } return err } defer syscall.FindClose(handle) for ; ; err = syscall.FindNextFile(handle, data) { if err != nil { if err == syscall.ERROR_NO_MORE_FILES { break }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @throws CIFSException if an error occurs connecting to the tree */ SmbTreeHandleInternal ensureTreeConnected() throws CIFSException; /** * Ensures that the file handle is open and returns it. * * @return file handle * @throws CIFSException if an error occurs opening the file */ SmbFileHandle ensureOpen() throws CIFSException; /** * Receive data from the pipe *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java
package jcifs.smb1.dcerpc.msrpc; /** * MSRPC implementation for opening an LSA policy handle. * This class provides functionality to open a handle to the LSA policy * database on a remote server using the LSA RPC interface. */ public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 { /** * Creates a new request to open an LSA policy handle. * * @param server the server name to connect toRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(signingKey, "Should handle empty session key"); assertEquals(16, signingKey.length, "Should still produce 16-byte key"); } @Test @DisplayName("Should handle null preauth integrity for SMB 3.0.0") void testDeriveKeys_NullPreauthForSMB300() { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java
package jcifs.dcerpc.msrpc; /** * MSRPC implementation for opening an LSA policy handle. * This class provides functionality to open a handle to the LSA policy * database on a remote server using the LSA RPC interface. */ public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 { /** * Creates a new request to open an LSA policy handle. * * @param server the server name to connect toRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
} @Test @DisplayName("Constructor with null request should work") void testConstructorWithNullRequest() { // Test that null request is handled properly SmbNegotiation negotiationWithNullRequest = new SmbNegotiation(null, mockResponse, testRequestBuffer, testResponseBuffer); assertNull(negotiationWithNullRequest.getRequest());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)