Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Watcher (0.21 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

                t = (SmbTree)e.nextElement();
                if( t.matches( share, service )) {
                    return t;
                }
            }
            t = new SmbTree( this, share, service );
            trees.addElement( t );
            return t;
        }
        boolean matches( NtlmPasswordAuthentication auth ) {
            return this.auth == auth || this.auth.equals( auth );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        int getBatchLimit( byte command ) {
            /* 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
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ReadWriteTest.java

                try {
                    try ( OutputStream os = f.getOutputStream() ) {
                        writeRandom(bufSize, length, os);
                    }
    
                    assertEquals("File size matches", length, f.length());
    
                    try ( InputStream is = f.getInputStream() ) {
                        verifyRandom(bufSize, length, is);
                    }
    
                }
                finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                if( SSN_LIMIT != 1 ) {
                    ListIterator iter = CONNECTIONS.listIterator();
                    while( iter.hasNext() ) {
                        conn = (SmbTransport)iter.next();
                        if( conn.matches( address, port, localAddr, localPort, hostName ) &&
                                ( SSN_LIMIT == 0 || conn.sessions.size() < SSN_LIMIT )) {
                            return conn;
                        }
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * The wildcard expression may consist of two special meta
         * characters in addition to the normal filename characters. The '*'
         * character matches any number of characters in part of a name. If
         * the expression begins with one or more '?'s then exactly that
         * many characters will be matched whereas if it ends with '?'s
         * it will match that many characters <i>or less</i>.
         * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ContextConfigTest.java

    import jcifs.DialectVersion;
    import jcifs.SmbResource;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.SingletonContext;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbFile;
    import org.mockito.Matchers;
    
    import static org.junit.Assert.*;
    
    
    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( "javadoc" )
    public class ContextConfigTest {
    
        private SingletonContext context;
    
    
    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)
  7. src/test/java/jcifs/tests/RandomAccessFileTest.java

                }
    
                byte verify[] = new byte[read];
                ReadWriteTest.randBytes(r, verify);
                byte actual[] = Arrays.copyOfRange(buffer, 0, read);
    
                assertArrayEquals("Data matches at offset " + p, actual, verify);
    
                p += read;
            }
            assertEquals("Expecting EOF", -1, is.read(buffer, 0, 1));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                this.releases = new LinkedList<>();
            }
            else {
                this.acquires = null;
                this.releases = null;
            }
        }
    
    
        boolean matches ( String shr, String servc ) {
            return this.share.equalsIgnoreCase(shr) && ( servc == null || servc.startsWith("??") || this.service.equalsIgnoreCase(servc) );
        }
    
    
        @Override
    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)
  9. src/main/java/jcifs/ACE.java

     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            while ( iter.hasNext() ) {
                SmbSessionImpl ssn = iter.next();
                if ( ssn.matches(tf, targetHost, targetDomain) ) {
                    if ( log.isTraceEnabled() ) {
                        log.trace("Reusing existing session " + ssn);
                    }
                    return ssn.acquire();
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top