Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for three (0.4 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SmbTreeImpl ) {
                SmbTreeImpl tree = (SmbTreeImpl) obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    
        public SmbTreeImpl acquire () {
            return acquire(true);
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/OplockTests.java

                            if ( resp2 != null && !trans.isDisconnected() ) {
                                tree.send(new SmbComClose(sess.getConfig(), resp2.getFid(), 0L));
                            }
                        }
                    }
                    finally {
                        if ( resp != null && !trans.isDisconnected() ) {
                            tree.send(new SmbComClose(sess.getConfig(), resp.getFid(), 0L));
                        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. README.md

     * Google patches: various bugfixes, lastAccess support, retrying requests
     * A proper test suite
     * Various fixes
    
    ## Others
    
    ### This jcifs or jcifs-ng
    
    jcifs-ng will be a proper choice for many users. 
    There are a lot of SMB devices in the world.
    Some of them only work with the old jcifs library.
    If you want to support many SMB devices, CodeLibs jcifs library will be helpful.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed May 10 09:29:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            addr = getCachedAddress(name);
    
            if ( addr == null ) {
                /*
                 * This is almost exactly like InetAddress.java. See the
                 * comments there for a description of how the LOOKUP_TABLE prevents
                 * redundant queries from going out on the wire.
                 */
                if ( ( addr = (NbtAddress) checkLookupTable(name) ) == null ) {
                    try {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                if ( this.andxOffset == 0 ) { /* Snap server workaround */
                    this.andxCommand = (byte) 0xFF;
                }
    
                /*
                 * no point in calling readParameterWordsWireFormat if there are no more
                 * parameter words. besides, win98 doesn't return "OptionalSupport" field
                 */
    
                if ( this.wordCount > 2 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

            addr = getAddress();
            if (tree != null) {
                trans = tree.session.transport;
            } else {
                trans = SmbTransport.getSmbTransport(addr, url.getPort());
                tree = trans.getSmbSession(auth).getSmbTree(share, null);
            }
    
            String hostName = getServerWithDfs();
            tree.inDomainDfs = dfs.resolve(hostName, tree.share, null, auth) != null;
            if (tree.inDomainDfs) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileAttributesTest.java

                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                    }
                    else if ( last == null ) {
                        // don't have enough credits/space for the first request, block until available
                        // for space there is nothing we can do, callers need to make sure that a single message fits
    
                        try {
                            long timeout = getResponseTimeout(chain);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         * 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).
         * 
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top