/external/mbedtls/scripts/mbedtls_dev/ |
D | bignum_data.py | 23 from Cryptodome.Util.number import isPrime, getPrime #type: ignore #pylint: disable=import-error 135 if isPrime(prime, 1e-30):
|
/external/swiftshader/third_party/marl/examples/ |
D | primes.cpp | 34 bool isPrime(int i) { in isPrime() function 67 if (isPrime(i)) { in main()
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
D | SortAndPruneComposites.java | 69 if (isPrime(n)) { in pruneComposites() 82 public boolean isPrime(int n) { in isPrime() method in SortAndPruneComposites
|
/external/guava/android/guava-tests/benchmark/com/google/common/math/ |
D | IntMathBenchmark.java | 105 int isPrime(int reps) { in isPrime() method in IntMathBenchmark 109 if (IntMath.isPrime(positive[j])) { in isPrime()
|
D | LongMathBenchmark.java | 107 int isPrime(int reps) { in isPrime() method in LongMathBenchmark 111 if (LongMath.isPrime(positive[j])) { in isPrime()
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | IntMathBenchmark.java | 105 int isPrime(int reps) { in isPrime() method in IntMathBenchmark 109 if (IntMath.isPrime(positive[j])) { in isPrime()
|
D | LongMathBenchmark.java | 107 int isPrime(int reps) { in isPrime() method in LongMathBenchmark 111 if (LongMath.isPrime(positive[j])) { in isPrime()
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
D | CoreTutorial.java | 44 isPrime(7); in run() 47 private boolean isPrime(final int n) { in isPrime() method in CoreTutorial.TestTarget
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | LongMathTest.java | 899 assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); in testIsPrimeSmall() 908 assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l)); in testIsPrimeManyConstants() 919 assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l)); in testIsPrimeOnUniformRandom() 930 assertTrue(LongMath.isPrime(p)); in testIsPrimeOnRandomPrimes() 942 assertFalse(LongMath.isPrime(p * q)); in testIsPrimeOnRandomComposites() 950 LongMath.isPrime(-1); in testIsPrimeThrowsOnNegative()
|
D | IntMathTest.java | 761 assertEquals(LongMath.isPrime(i), IntMath.isPrime(i)); in testIsPrime() 768 assertEquals(LongMath.isPrime(n), IntMath.isPrime(n)); in testIsPrime()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | LongMathTest.java | 899 assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); in testIsPrimeSmall() 908 assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l)); in testIsPrimeManyConstants() 919 assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l)); in testIsPrimeOnUniformRandom() 930 assertTrue(LongMath.isPrime(p)); in testIsPrimeOnRandomPrimes() 942 assertFalse(LongMath.isPrime(p * q)); in testIsPrimeOnRandomComposites() 950 LongMath.isPrime(-1); in testIsPrimeThrowsOnNegative()
|
D | IntMathTest.java | 761 assertEquals(LongMath.isPrime(i), IntMath.isPrime(i)); in testIsPrime() 768 assertEquals(LongMath.isPrime(n), IntMath.isPrime(n)); in testIsPrime()
|
/external/guava/android/guava/src/com/google/common/math/ |
D | IntMath.java | 724 public static boolean isPrime(int n) { in isPrime() method 725 return LongMath.isPrime(n); in isPrime()
|
D | LongMath.java | 1004 public static boolean isPrime(long n) { in isPrime() method
|
/external/guava/guava/src/com/google/common/math/ |
D | IntMath.java | 724 public static boolean isPrime(int n) { in isPrime() method 725 return LongMath.isPrime(n); in isPrime()
|
D | LongMath.java | 1004 public static boolean isPrime(long n) { in isPrime() method
|
/external/bcc/tools/ |
D | tclcalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
D | phpcalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
D | perlcalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
D | rubycalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
D | javacalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
D | pythoncalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
/external/bcc/tools/lib/ |
D | ucalls_example.txt | 23 slowy/App.isPrime 8969 4841017.64
|
/external/ktfmt/core/src/test/java/com/facebook/ktfmt/format/ |
D | FormatterTest.kt | 3454 |val Int.isPrime: Boolean in handle extension properties()
|