Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for trial (0.06 seconds)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Comparator<byte[]> comparator2 = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Random rnd = new Random(714958103);
        for (int trial = 0; trial < 100; trial++) {
          byte[] left = new byte[1 + rnd.nextInt(32)];
          rnd.nextBytes(left);
          byte[] right = left.clone();
          assertThat(comparator1.compare(left, right)).isEqualTo(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. lib/fips140/v1.1.0-rc1.zip

    positives for adversarially chosen values. // // isPrime is not constant-time. func isPrime(w []byte) bool { mr, err := millerRabinSetup(w) if err != nil { // w is zero, one, or even. return false } // Before Miller-Rabin, rule out most composites with trial divisions. for i := 0; i < len(primes); i += 3 { p1, p2, p3 := primes[i], primes[i+1], primes[i+2] r := mr.w.Nat().DivShortVarTime(p1 * p2 * p3) if r%p1 == 0 || r%p2 == 0 || r%p3 == 0 { return false } } // iterations is the number of Miller-Rabin rounds,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top