Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Before (0.14 sec)

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

                @SuppressWarnings ( "resource" )
                SmbTransportInternal trans = dc.unwrap(SmbTransportInternal.class);
                // the tconHostName is from the DC referral, that referral must be resolved
                // before following deeper ones. Otherwise e.g. samba will return a broken
                // referral.
                synchronized ( trans ) {
                    try {
                        // ensure connected
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                    // this needs to be done before the reference to the remote hostname later
                    transport.ensureConnected();
    
                    if ( waitForState(transport) == 2 ) {
                        // already connected
                        return null;
                    }
                    int before = this.connectionState.getAndSet(1);
                    if ( before == 1 ) {
    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)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.Properties;
    
    import jcifs.context.BaseContext;
    import org.hamcrest.CoreMatchers;
    import org.junit.Assert;
    import org.junit.Before;
    import org.junit.Test;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.Credentials;
    import jcifs.DialectVersion;
    import jcifs.SmbResource;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

                      SmbTransportInternal t = (SmbTransportInternal) sess.getTransport() ) {
    
                    int before = t.getInflightRequests();
                    if ( before > 0 ) {
                        log.warn("Have existing inflight requests");
                    }
                    f.exists();
                    assertEquals(before, t.getInflightRequests());
                }
            }
        }
    
    
        @Test
        // BUG #14
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            return this.andx;
        }
    
    
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            /*
             * the default limit is 0 batched messages before this
             * one, meaning this message cannot be batched.
             */
            return 0;
        }
    
    
        /*
         * We overload this method from ServerMessageBlock because
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response, Set<RequestParam> params )
                throws SmbException {
            ensureConnected(); /* must negotiate before we can test flags2, useUnicode, etc */
            if ( this.smb2 && ! ( request instanceof ServerMessageBlock2 ) ) {
                throw new SmbException("Not an SMB2 request " + request.getClass().getName());
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            if ( log.isDebugEnabled() ) {
                log.debug("queryPath: " + path);
            }
    
            /*
             * We really should do the referral before this in case
             * the redirected target has different capabilities. But
             * the way we have been doing that is to call exists() which
             * calls this method so another technique will be necessary
    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)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                            }
                            if ( response.received && response.resultCode == 0 ) {
    
                                /*
                                 * Before we return, in anticipation of this address being cached we must
                                 * augment the addresses name's hashCode to distinguish those resolved by
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                new URL( null, "smb1://" + name + "/", Handler.SMB_HANDLER ) :
                new URL( context.url, name + (( attributes & ATTR_DIRECTORY ) > 0 ? "/" : "" )));
    
            /* why was this removed before? DFS? copyTo? Am I going around in circles? */
            auth = context.auth;
    
    
            if( context.share != null ) {
                this.tree = context.tree;
                this.dfsReferral = context.dfsReferral;
    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