- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 653 for HANDLE (0.08 sec)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Act LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, server, access); // Assert assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
} policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800); SID.resolveSids(handle, policyHandle, sids); } finally { if (handle != null) { if (policyHandle != null) { policyHandle.close(); } handle.close(); } } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
// When String stringRep = version.toString(); // Then assertNotNull(stringRep); assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should handle version comparison") void testVersionComparison() { // Test equality assertEquals(DialectVersion.SMB311, DialectVersion.SMB311); assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should handle null file ID in setter") void testSetNullFileId() { assertDoesNotThrow(() -> request.setFileId(null)); } @Test @DisplayName("Should handle various file ID sizes") void testVariousFileIdSizes() { byte[] shortFileId = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// When response.prepare(mockNext); // Then verify(mockNext, times(0)).setTreeId(any(Integer.class)); } @DisplayName("Should handle various share flag combinations") @ParameterizedTest @MethodSource("provideFlagCombinations") void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K 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/main/java/jcifs/SmbTreeHandle.java
/** * Checks if this tree handle refers to the same tree as another * @param th the tree handle to compare with * @return whether the handles refer to the same tree */ boolean isSameTree(SmbTreeHandle th); /** * Checks if this tree handle uses SMB2 or later protocol * @return whether this tree handle uses SMB2+ */ boolean isSMB2(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* @param host * @return tree handle * @throws IOException */ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException { return connectHost(loc, host, null); } /** * * @param loc * @param host * @param referral * @return tree handle * @throws IOException */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
try { // Create RPC handle to witness service this.handle = DcerpcHandle.getHandle( "ncacn_ip_tcp:" + serverAddress.getHostAddress() + "[135]", WITNESS_INTERFACE_UUID, WITNESS_INTERFACE_VERSION, context ); // Bind to witness interface handle.bind();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0)