Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 112 for whale (0.12 sec)

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

                if(( n = response.dataLength ) <= 0 ) {
                    return (int)((fp - start) > 0L ? fp - start : -1);
                }
                fp += n;
                len -= n;
                response.off += n;
            } while( len > 0 && n == r );
    
            return (int)(fp - start);
        }
    /**
     * This stream class is unbuffered. Therefore this method will always
     * return 0 for streams connected to regular files. However, a 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/DfsTest.java

            DfsReferralData ref = dfs.resolve(context, target, dfsShare, path);
    
            if ( ref != null ) {
                do {
                    log.debug("ref " + ref);
                }
                while ( ( ref.next() != ref ) && ( ref = ref.next() ) != null );
            }
            else {
                log.debug("No ref");
            }
    
            return ref;
        }
    
    
        /**
         * @param dfsShare
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                    }
                    this.fp += n;
                    len -= n;
                    response.adjustOffset(n);
                }
                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

            if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) {
                // this is not too good, probably should better pass the address and check that it is a netbios one.
                // While we could look up the domain controller/KDC we cannot really make the java kerberos implementation
                // use a KDC of our choice.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

         *
         * @param material
         *            The raw Type-2 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type2Message ( byte[] material ) throws IOException {
            parse(material);
        }
    
    
        /**
         * Returns the default flags for a generic Type-2 message in the
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                    long atime = src.lastAccess();
                    int i = 0;
                    long off = 0L;
                    while ( true ) {
                        int read = fis.read(b[ i ]);
                        synchronized ( w ) {
                            w.checkException();
                            while ( !w.isReady() ) {
                                try {
                                    w.wait();
                                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                    int len = 0;
    // TODO: we can use new string routine here
                    try {
                        if(( flags2 & FLAGS2_UNICODE ) == FLAGS2_UNICODE ) {
                            while( buffer[bufferIndex + len] != (byte)0x00 ||
                                            buffer[bufferIndex + len + 1] != (byte)0x00 ) {
                                len += 2;
                                if( len > 256 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            lock = new Object();
        }
        public int read() throws IOException {
            int result = -1;
    
            synchronized( lock ) {
                try {
                    while( used == 0 ) {
                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Name.java

            int c = 0;
    
            do {
                if( dst[i] == '.' ) {
                    dst[i] = (byte)c;
                    c = 0;
                } else {
                    c++;
                }
            } while( i-- > e );
            return scope.length() + 2;
        }
        int readScopeWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
            int n;
            StringBuffer sb;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

            int elemStart = start;
    
            FileNotifyInformationImpl i = new FileNotifyInformationImpl();
            bufferIndex += i.decode(buffer, bufferIndex, len);
            this.notifyInformation.add(i);
    
            while ( i.getNextEntryOffset() > 0 ) {
                bufferIndex = elemStart + i.getNextEntryOffset();
                elemStart = bufferIndex;
    
                i = new FileNotifyInformationImpl();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
Back to top