- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,154 for Handle (0.04 sec)
-
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) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
assertEquals("application/octet-stream", mimeMap.getMimeType("doesnotexist")); } @Test @DisplayName("Should handle case insensitive extensions") void testCaseInsensitiveExtensions() throws IOException { assertEquals("application/pdf", mimeMap.getMimeType("PDF"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
} /** * Sets the context handle for the heartbeat. * * @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: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
assertEquals(Smb2LeaseState.SMB2_LEASE_FULL, fullLease); } @Test @DisplayName("Should handle custom state combinations") void testCustomStateCombinations() { int customState = 0x06; // Write + Handle but no Read assertFalse(Smb2LeaseState.hasReadCaching(customState)); assertTrue(Smb2LeaseState.hasWriteCaching(customState));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
NtStatus.NT_STATUS_INVALID_PARAMETER }) @DisplayName("Should handle various status codes") void testVariousStatusCodes(int status) { response.setStatusForTest(status); assertEquals(status, response.getErrorCode()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 255 }) @DisplayName("Should handle various credit values") void testVariousCreditValues(int credits) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
fail("setObject should handle parameter validation gracefully: " + e.getMessage()); } // getObject should handle various inputs try { WebApiUtil.getObject("validKey"); WebApiUtil.getObject(""); WebApiUtil.getObject(null); } catch (Exception e) { fail("getObject should handle parameter validation gracefully: " + e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K 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/main/java/jcifs/internal/witness/WitnessRpcClient.java
throw new IOException("Witness async notify RPC failed", e); } } /** * Generates a registration ID from context handle and share name. * * @param contextHandle the context handle * @param shareName the share name * @return the registration ID */ private String generateRegistrationId(byte[] contextHandle, String shareName) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class); LsaPolicyHandle policy = mock(LsaPolicyHandle.class); jcifs.SID[] none = new jcifs.SID[0]; cache.resolveSids(handle, policy, none); verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0)