Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 386 for tres (0.02 sec)

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

            // Session starts with usage count > 0
            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Create and release trees
            SmbTreeImpl tree = session.getSmbTree("share1", null);
            assertNotNull(tree, "Tree should be created");
            tree.release();
    
            // Release the session (back to initial state)
            session.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero")
        void acquire_release_lifecycle() {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    
            setTree(c, tree);
    
            // Act: first acquire triggers tree.acquire()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

         */
        public static void logon(final UniAddress dc, final int port, final NtlmPasswordAuthentication auth) throws SmbException {
            final SmbTree tree = SmbTransport.getSmbTransport(dc, port).getSmbSession(auth).getSmbTree(LOGON_SHARE, null);
            if (LOGON_SHARE == null) {
                tree.treeConnect(null, null);
            } else {
                final Trans2FindFirst2 req = new Trans2FindFirst2("\\", "*", SmbFile.ATTR_DIRECTORY);
    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. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        // no open option for truncating, need to truncate the file
                        final Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            } catch (final CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeTraverser.java

    import java.util.Queue;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Views elements of a type {@code T} as nodes in a tree, and provides methods to traverse the trees
     * induced by this traverser.
     *
     * <p>For example, the tree
     *
     * {@snippet :
     *        h
     *      / | \
     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeTraverser.java

    import java.util.Iterator;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Views elements of a type {@code T} as nodes in a tree, and provides methods to traverse the trees
     * induced by this traverser.
     *
     * <p>For example, the tree
     *
     * {@snippet :
     *        h
     *      / | \
     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            }
            return root;
          }
        },
        RANDOM {
          /**
           * Generates a tree with topology selected uniformly at random from the topologies of binary
           * trees of the specified size.
           */
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            int[] keys = new int[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeTest.java

            CustomSmbTree inner = middle.unwrap(CustomSmbTree.class);
    
            assertNotNull(middle, "Middle tree should not be null");
            assertNotNull(inner, "Inner tree should not be null");
            assertSame(middleTree, middle, "Should return correct middle tree");
            assertSame(innerTree, inner, "Should return correct inner tree");
        }
    
        /**
         * Test for unwrap with incompatible type.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            }
            return root;
          }
        },
        RANDOM {
          /**
           * Generates a tree with topology selected uniformly at random from the topologies of binary
           * trees of the specified size.
           */
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            int[] keys = new int[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top