Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Briand (0.17 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

        Random rand = new Random(1);
        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            assertTrue(LongMath.isPrime(p));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnRandomComposites() {
        Random rand = new Random(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LongMathTest.java

        Random rand = new Random(1);
        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            assertTrue(LongMath.isPrime(p));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnRandomComposites() {
        Random rand = new Random(1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top