Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for manches (0.15 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                boolean forceSigning, boolean connectedOnly ) {
            for ( SmbTransportImpl conn : this.connections ) {
                if ( conn.matches(address, port, localAddr, localPort, hostName)
                        && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) {
                    try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            /* JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
                            if (response.received && request.questionType == response.recordType)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                             * JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
                            if ( response.received && request.questionType == response.recordType )
    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)
Back to top