Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,119 for handled (0.18 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java

    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for opening an alias handle.
     * This class provides functionality to open a handle to a SAM alias
     * (local group) using the SAMR RPC interface.
     */
    public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias {
    
        /**
         * Creates a new request to open an alias handle.
         *
         * @param handle the domain handle
         * @param access the desired access rights
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java

     *
     * This class implements the SAMR OpenDomain operation for obtaining
     * a handle to a specific domain in the Security Account Manager.
     */
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        /**
         * Creates a new request to open a domain handle.
         *
         * @param handle the SAM policy handle
         * @param access the desired access rights
         * @param sid the security identifier of the domain
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test PRINT share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT, response.getShareType(), "Should handle PRINT share type");
            }
    
            @Test
            @DisplayName("Should handle share flags")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.io.File;
    import java.util.Collection;
    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top