Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for trees (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
            assertEquals(tree1, tree2);
    
            // Test non-equal trees (different share)
            assertNotEquals(tree1, tree3);
    
            // Test non-equal trees (different service)
            assertNotEquals(tree1, tree4);
    
            // Test with different object type
            assertNotEquals(tree1, new Object());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                            // Get or create tree
                            SmbTreeImpl tree = session.getSmbTree(share, null);
                            assertNotNull(tree, "Tree should not be null");
    
                            // Verify we can acquire the tree
                            tree.acquire();
                            successCount.incrementAndGet();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            this.localPort = localPort;
            this.auth = auth;
            trees = new Vector();
            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree(String share, final String service) {
            SmbTree t;
    
            if (share == null) {
                share = "IPC$";
            }
            for (final Enumeration e = trees.elements(); e.hasMoreElements();) {
                t = (SmbTree) e.nextElement();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007.py hl[3,5] *}
    
    ## Sub-dependencies with `yield` { #sub-dependencies-with-yield }
    
    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    **FastAPI** will make sure that the "exit code" in each dependency with `yield` is run in the correct order.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc;
    import jcifs.util.transport.TransportException;
    
    /**
     * This class encapsulates the logic for switching tree connections
     *
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     *
     * @author mbechler
     *
     */
    class SmbTreeConnection implements AutoCloseable {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

        /**
         * Property {@code jcifs.smb.client.strictResourceLifecycle} (bool, default false)
         *
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. ci/official/utilities/extract_resultstore_links.py

        testsuites.attrib = suite_attrib
        testsuite.attrib = suite_attrib
        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
        f.write(b'<?xml version="1.0"?>\n')
        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. docs/fr/docs/alternatives.md

    Requests a un design très simple et intuitif, il est très facile à utiliser, avec des valeurs par défaut raisonnables, tout en étant très puissant et personnalisable.
    
    C'est pourquoi, comme le dit le site officiel :
    
    > Requests est l'un des packages Python les plus téléchargés de tous les temps
    
    La façon dont vous l'utilisez est très simple. Par exemple, pour faire une requête `GET`, vous devez écrire :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        @Mock
        Configuration cfg;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        private void stubValidTree(long treeId, boolean connected, boolean smb2) {
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getTreeId()).thenReturn(treeId);
            lenient().when(tree.isConnected()).thenReturn(connected);
            lenient().when(tree.isSMB2()).thenReturn(smb2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        SmbFileHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        // Prepare SMB2 flow with a given response
        private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(mock(Configuration.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top