- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,166 for handle2 (0.1 sec)
-
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/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/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/main/java/org/codelibs/core/xml/SAXParserUtil.java
* @param handler * The SAX {@link DefaultHandler} to use. Must not be {@literal null}. */ public static void parse(final SAXParser parser, final InputSource inputSource, final DefaultHandler handler) { assertArgumentNotNull("parser", parser); assertArgumentNotNull("inputSource", inputSource); assertArgumentNotNull("handler", handler); try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When request.setSessionBinding(false); // Then assertFalse((boolean) sessionBindingField.get(request)); } @Test @DisplayName("Should handle chain operation correctly") void testChain() { // Given ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class); // When boolean result = request.chain(nextMessage);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.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/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) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(level1, queryPolicy1.level); assertEquals(level2, queryPolicy2.level); assertSame(mockPolicyHandle, queryPolicy1.handle); assertSame(mockPolicyHandle2, queryPolicy2.handle); assertSame(mockNdrObject, queryPolicy1.info); assertSame(mockNdrObject2, queryPolicy2.info); } @Test void constructor_shouldInitializeRetvalToZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0)