Searched refs:isProbablePrime (Results 1 – 10 of 10) sorted by relevance
126 if (!bi.isProbablePrime(17)) { in test_isProbablePrimeI()130 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()134 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()140 .valueOf(a).isProbablePrime(5)); in test_isProbablePrimeI()141 } else if (BigInteger.valueOf(a).isProbablePrime(17)) { in test_isProbablePrimeI()149 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()156 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()168 if (!bi.isProbablePrime(80)) { in test_isProbablePrimeI()172 if (!bi.isProbablePrime(80)) { in test_isProbablePrimeI()183 c.isProbablePrime(80) ); in test_isProbablePrimeI()[all …]
169 if (!bi.isProbablePrime(17)) { in test_isProbablePrimeI()173 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()177 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()183 .valueOf(a).isProbablePrime(5)); in test_isProbablePrimeI()184 } else if (BigInteger.valueOf(a).isProbablePrime(17)) { in test_isProbablePrimeI()192 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()199 if (bi.isProbablePrime(17)) { in test_isProbablePrimeI()
109 assertTrue(b.isProbablePrime(100)); in test_Constructor_IILjava_util_Random()113 assertTrue(b.isProbablePrime(100)); in test_Constructor_IILjava_util_Random()117 assertTrue(b.isProbablePrime(100)); in test_Constructor_IILjava_util_Random()127 assertTrue(b.isProbablePrime(100)); in test_Constructor_IILjava_util_Random()148 assertTrue(b.isProbablePrime(100)); in test_probablePrime()152 assertTrue(b.isProbablePrime(100)); in test_probablePrime()156 assertTrue(b.isProbablePrime(100)); in test_probablePrime()
119 .filter(bi -> bi.isProbablePrime(certainty)) in checkPrime()154 .filter(b -> !b.isProbablePrime(certainty)).collect(toList());187 Assert.assertTrue(mp.isProbablePrime(certainty), in checkMersennePrimes()
46 boolean b = num.isProbablePrime(certainties[i]); in testProbablePrime()
810 Assert.assertTrue(p1.isProbablePrime(100), p1.toString(16)); in prime()819 Assert.assertTrue(p1.isProbablePrime(100), "Mersenne prime "+i+ " failed."); in prime()825 Assert.assertTrue(p1.isProbablePrime(100), "Customer prime "+i+ " failed."); in prime()831 Assert.assertFalse(c1.isProbablePrime(100), "Carmichael "+i+ " reported as prime."); in prime()847 if (f2.isProbablePrime(100)) { in prime()849 if (f3.isProbablePrime(100)) { in prime()851 Assert.assertFalse(c1.isProbablePrime(100), "Computed Carmichael " in prime()865 Assert.assertFalse(c1.isProbablePrime(100), in prime()873 Assert.assertFalse(c1.isProbablePrime(100), in prime()918 Assert.assertFalse(p2.isProbablePrime(100), in nextProbablePrime()
123 public boolean isProbablePrime(int certainty) { return false; } in isProbablePrime() method in BigInteger
137 if (!p.isProbablePrime(128)) { in testKeyAttributes()
3926 public boolean isProbablePrime(int certainty) {
5352 method public boolean isProbablePrime(int);