Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for three (0.19 sec)

  1. 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.
    Plain Text
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed May 10 09:29:34 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  3. 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);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.tree;
    
    
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.TreeConnectResponse;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  5. 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));
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

    import jcifs.internal.smb2.nego.Smb2NegotiateResponse;
    import jcifs.internal.smb2.tree.Smb2TreeConnectRequest;
    import jcifs.internal.smb2.tree.Smb2TreeDisconnectRequest;
    
    
    class SmbTreeImpl implements SmbTreeInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeImpl.class);
    
        private static AtomicLong TREE_CONN_COUNTER = new AtomicLong();
    
        /*
         * 0 - not connected
         * 1 - connecting
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  7. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                    // It is more critical than other attributes because append mode depends on it.
                    // We do only really care if we open for writing and not shared for writing
                    // otherwise there are no guarantees anyway, but this stuff is legacy anyways.
                    SmbComSeek seekReq = new SmbComSeek(config, 0);
                    seekReq.setMode(0x2); // from EOF
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K 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);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( isOpen() ) {
                return;
            }
            fid = open0( flags, access, attrs, options );
            opened = true;
            tree_num = tree.tree_num;
        }
        boolean isOpen() {
            boolean ans = opened && isConnected() && tree_num == tree.tree_num;
            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top