Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for MATCHES (0.19 sec)

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

            if( service != null && service.startsWith( "??" ) == false ) {
                this.service = service;
            }
            this.service0 = this.service;
            this.connectionState = 0;
        }
    
        boolean matches( String share, String service ) {
            return this.share.equalsIgnoreCase( share ) &&
                    ( service == null || service.startsWith( "??" ) ||
                    this.service.equalsIgnoreCase( service ));
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  3. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  5. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  6. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * entries.
     * <p>
     * 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
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  8. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  9. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  10. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
Back to top