Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for mathml (0.18 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
    
            this.maxMpxCount = Math.min(this.maxMpxCount, this.server.smaxMpxCount);
            if ( this.maxMpxCount < 1 )
                this.maxMpxCount = 1;
            this.snd_buf_size = Math.min(this.snd_buf_size, this.server.maxBufferSize);
            this.recv_buf_size = Math.min(this.recv_buf_size, this.server.maxBufferSize);
            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

            // CAP_LARGE_WRITE
            if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
                this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
            }
            else {
                log.debug("No support or SMB signing is enabled, not enabling large writes");
                this.writeSizeFile = this.writeSize;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
            if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                this.largeReadX = true;
                this.readSizeFile = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
    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)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                        this.dcListExpiration = now + 1000 * 60 * 15; /* 15 min */
                        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)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                SmbTransport.log.println( "Failed to retrieve DC list from WINS" );
                            }
                        }
                    }
    
                    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 {
    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)
  7. src/main/java/jcifs/config/BaseConfiguration.java

                throw new CIFSException(
                    "The default OEM encoding " + SmbConstants.DEFAULT_OEM_ENCODING + " does not appear to be supported by this JRE.");
            }
    
            this.localPid = (int) ( Math.random() * 65536d );
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                localHostname = "JCIFS" +
                        ( addr[2] & 0xFF ) + "_" +
                        ( addr[3] & 0xFF ) + "_" +
                        Hexdump.toHexString( (int)( Math.random() * (double)0xFF ), 2 );
            }
    
            /* Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
             */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            this.maxReadSize = Math.min(maxBufferSize - Smb2ReadResponse.OVERHEAD, Math.min(tc.getConfig().getReceiveBufferSize(), this.maxReadSize))
                    & ~0x7;
            this.maxWriteSize = Math.min(maxBufferSize - Smb2WriteRequest.OVERHEAD, Math.min(tc.getConfig().getSendBufferSize(), this.maxWriteSize))
                    & ~0x7;
            this.maxTransactSize = Math.min(maxBufferSize - 512, this.maxTransactSize) & ~0x7;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/RandomAccessFileTest.java

            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = ReadWriteTest.getRandom();
            while ( p < length ) {
    
                int rs = Math.min(bufSize, (int) ( length - p ));
                int read = is.read(buffer, 0, rs);
                if ( read < 0 ) {
                    fail("Unexpected EOF");
                }
    
                byte verify[] = new byte[read];
    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)
Back to top