Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 640 for handled (0.63 sec)

  1. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act: perform a series of calls to verify order
            handle.ensureDFSResolved();
            handle.hasCapability(7);
            handle.release();
    
            // Assert: verify they happened in order
            InOrder inOrder = inOrder(handle);
            inOrder.verify(handle).ensureDFSResolved();
            inOrder.verify(handle).hasCapability(7);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should handle null delimiter by inserting 'null' string")
        void testJoinWithNullDelimiter() {
            String result = StringUtil.join(null, "first", "second", "third");
            assertEquals("firstnullsecondnullthird", result);
        }
    
        @Test
        @DisplayName("Should handle null elements in array")
        void testJoinWithNullElements() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            MsrpcShareGetInfo rpc;
            DcerpcHandle handle;
            ACE[] aces;
    
            resolveDfs(null);
            final String server = getServerWithDfs();
    
            rpc = new MsrpcShareGetInfo(server, tree.share);
            handle = DcerpcHandle.getHandle("ncacn_np:" + server + "[\\PIPE\\srvsvc]", auth);
    
            try {
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

    import jcifs.smb1.dcerpc.rpc;
    import jcifs.smb1.smb1.SmbException;
    
    /**
     * LSA policy handle for Local Security Authority operations.
     */
    public class LsaPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Constructs an LSA policy handle.
         *
         * @param handle the DCERPC handle
         * @param server the server name
         * @param access the access rights
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(tree.hasCapability(anyInt())).thenReturn(false);
            return new SmbPipeInputStream(handle, tree);
        }
    
        private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(smb2);
            return new SmbPipeInputStream(handle, tree);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        public void setUp() throws IOException {
            MockitoAnnotations.openMocks(this);
    
            // Create temporary directory for test state
            tempDir = Files.createTempDirectory("jcifs-test-handles");
    
            // Set system property for handle state directory
            System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString());
    
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            assertNotNull(capturedRpc);
            assertEquals(mockPolicyHandle, capturedRpc.handle);
            assertEquals(access, capturedRpc.access_mask);
            assertEquals(mockSid, capturedRpc.sid);
            assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbFileHandle.java

     */
    package jcifs;
    
    /**
     * Handle to an open file
     *
     * @author mbechler
     *
     */
    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * Returns the tree handle associated with this file handle
         *
         * @return the tree
         */
        SmbTreeHandle getTree();
    
        /**
         * Checks if this file handle is still valid
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.di.core.SingletonLaContainer;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Implementation of IndexUpdateCallback that handles file list index updates with concurrent processing.
     * This callback processes file events (create, modify, delete) and manages document indexing and deletion
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  10. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            assertSame(pipe, handle.getPipe(), "Handle should reference originating pipe");
            assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type");
        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top