Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nextInt (0.14 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

                    if ( retries != 1 ) {
                        // backoff, but don't delay the first attempt as there are various reasons that can be fixed
                        // immediately
                        Thread.sleep(500 + RAND.nextInt(1000));
                    }
                }
                catch ( InterruptedException e ) {
                    log.debug("interrupted sleep in send", e);
                }
    
                if ( request != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

        static final void randBytes ( Random r, byte[] buffer ) {
            // regular nextBytes is not reproducible if the reads are not aligned
            for ( int i = 0; i < buffer.length; i++ ) {
                buffer[ i ] = (byte) r.nextInt(256);
            }
    
        }
    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)
Back to top