- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,154 for Handle (0.06 sec)
-
src/main/java/jcifs/smb/SIDCacheImpl.java
synchronized (this.sidCache) { try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc)) { final SamrPolicyHandle policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030); final SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid.unwrap(sid_t.class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K 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/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/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/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/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) -
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)