Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Max (0.12 sec)

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

                int min = 1; /* Don't include NT_STATUS_SUCCESS */
                int max = NT_STATUS_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > NT_STATUS_CODES[mid] ) {
                        min = mid + 1;
                    } else if( errcode < NT_STATUS_CODES[mid] ) {
                        max = mid - 1;
                    } else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        public DcerpcBind() {
        }
        DcerpcBind(DcerpcBinding binding, DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        public DcerpcBinding getBinding () {
            return this.binding;
        }
    
    
        /**
         * @return the max_recv
         */
        int getMaxRecv () {
            return this.max_recv;
        }
    
    
        /**
         * @return the max_xmit
         */
        int getMaxXmit () {
            return this.max_xmit;
        }
    
    
        /**
         * Get a handle to a service
         * 
         * @param url
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS =
                Integer.parseInt(System.getProperty("http.maxRedirects", "20"));
    
        private static final int LM_COMPATIBILITY =
                Config.getInt("jcifs.smb1.smb.lmCompatibility", 0);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            Decodable i = createInformation(this.expectInfoType, this.expectInfoClass);
            if ( i != null ) {
                i.decode(buffer, bufferOffset, bufferLength);
            }
            bufferIndex = Math.max(bufferIndex, bufferOffset + bufferLength);
            this.info = i;
            return bufferIndex - start;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/SessionServicePacket.java

        /**
         * 
         */
        public static final int NEGATIVE_SESSION_RESPONSE = 0x83;
        static final int SESSION_RETARGET_RESPONSE = 0x84;
        static final int SESSION_KEEP_ALIVE = 0x85;
    
        static final int MAX_MESSAGE_SIZE = 0x0001FFFF;
        static final int HEADER_LENGTH = 4;
    
    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NamingTest.java

            }
            runFilenameTest(splitString(str, 8));
        }
    
    
        private static String makeCharsetString ( Charset cs, int min, int max, int... excludes ) {
            ByteBuffer buf = ByteBuffer.allocate(128);
            Arrays.sort(excludes);
            for ( int i = 128; i < 255; i++ ) {
                int idx = Arrays.binarySearch(excludes, i);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

                        log.warn("Failed to retrieve DC list from WINS");
                    }
                }
    
                int max = Math.min(this.dcList.length, this.netbiosLookupRespLimit);
                for ( int j = 0; j < max; j++ ) {
                    int i = dcListCounter++ % max;
                    if ( this.dcList[ i ] != null ) {
                        try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            }
                        }
                    }
    
                    int max = Math.min( dc_list.length, LOOKUP_RESP_LIMIT );
                    for (int j = 0; j < max; j++) {
                        int i = dc_list_counter++ % max;
                        if (dc_list[i] != null) {
                            try {
                                return interrogate( dc_list[i] );
    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)
  10. src/main/java/jcifs/SmbConstants.java

     * 
     * @author mbechler
     *
     * @internal
     */
    @SuppressWarnings ( "javadoc" )
    public interface SmbConstants {
    
        static final int DEFAULT_PORT = 445;
    
        static final int DEFAULT_MAX_MPX_COUNT = 10;
        static final int DEFAULT_RESPONSE_TIMEOUT = 30000;
        static final int DEFAULT_SO_TIMEOUT = 35000;
        static final int DEFAULT_RCV_BUF_SIZE = 0xFFFF;
        static final int DEFAULT_SND_BUF_SIZE = 0xFFFF;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
Back to top