Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for randombytes (0.06 sec)

  1. kotlin-js-store/yarn.lock

      integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==
      dependencies:
        side-channel "^1.0.4"
    
    randombytes@^2.1.0:
      version "2.1.0"
      resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
      integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==
      dependencies:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

            Random r = getRandom();
            while ( p < length ) {
                randBytes(r, buffer);
                int w = Math.min(bufSize, (int) ( length - p ));
                os.write(buffer, 0, w);
                p += w;
            }
            log.debug("Write " + length + " took " + ( System.currentTimeMillis() - start ));
        }
    
    
        static final void randBytes ( Random r, byte[] buffer ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/RandomAccessFileTest.java

                int read = is.read(buffer, 0, rs);
                if ( read < 0 ) {
                    fail("Unexpected EOF");
                }
    
                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;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
Back to top