HomeSort by relevance Sort by last modified time
    Searched defs:primes (Results 1 - 23 of 23) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
primes.py 5 def primes(min, max): function
8 primes = [2]
11 for p in primes:
15 primes.append(i)
27 primes(min, max)
  /external/testng/src/test/java/test/testng387/
FailedDPTest.java 20 static final List<Integer> primes = Arrays.asList(2, 3, 5, 7); field in class:FailedDPTest
40 if (primes.contains(i)){
TestNG387.java 27 assertEqualsNoOrder(failed.toArray(), FailedDPTest.primes.toArray());
  /prebuilts/go/darwin-x86/src/math/big/
prime_test.go 14 var primes = []string{ var
32 // http://primes.utm.edu/lists/small/small3.html
38 // ECC primes: http://tools.ietf.org/html/draft-ladd-safecurves-02
130 for i, s := range primes {
  /prebuilts/go/linux-x86/src/math/big/
prime_test.go 14 var primes = []string{ var
32 // http://primes.utm.edu/lists/small/small3.html
38 // ECC primes: http://tools.ietf.org/html/draft-ladd-safecurves-02
130 for i, s := range primes {
  /external/tpm2/
RSAData.c 71 // Following table contains a byte that is the difference between two successive primes. This reduces the
74 // When the table size is at its max, the table will have all primes less than 2^16. This is 6542 primes in
583 const __int16 primes[NUM_PRIMES]= variable
    [all...]
RSAKeySieve.c 211 if(bits < 1536) return 5; // for 512 and 1K primes
327 // This function is used to access the next prime number in the sequence of primes. It requires a pre-
343 // Modifies the input parameter to be a valid value for the number of primes. The adjusted value is either the
370 UINT32 primes // IN: the table length
375 iter->final = AdjustNumberOfPrimes(primes);
384 // This macro sets the default number of primes to the indicated value.
457 UINT32 primes // IN: the number of primes to use
476 primes = AdjustNumberOfPrimes(primes);
580 UINT32 primes; local
    [all...]
  /external/valgrind/drd/tests/
omp_prime.c 44 int* primes; local
78 primes = malloc(n * sizeof(primes[0]));
96 primes[total] = i;
106 printf("%d\n", primes[i]);
111 free(primes);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DHGenParameterSpecTest.java 43 int[] primes = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE}; local
45 for (int i=0; i<primes.length; i++) {
46 DHGenParameterSpec ps = new DHGenParameterSpec(primes[i],
50 ps.getPrimeSize(), primes[i]);
  /libcore/luni/src/main/java/java/math/
Primality.java 31 private static final int[] primes = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, field in class:Primality
47 private static final BigInteger BIprimes[] = new BigInteger[primes.length];
62 // * It encodes how many i-bit primes there are in the table for
71 static {// To initialize the dual table of BigInteger primes
72 for (int i = 0; i < primes.length; i++) {
73 BIprimes[i] = BigInteger.valueOf(primes[i]);
90 int[] modules = new int[primes.length];
96 if (l < primes[primes.length - 1]) {
97 for (i = 0; l >= primes[i]; i++) {
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CalendarCache.java 79 if (pIndex < primes.length - 1) {
80 arraySize = primes[++pIndex];
113 static private final int primes[] = { // 5, 17, 31, 47, // for testing field in class:CalendarCache
120 private int arraySize = primes[pIndex];
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CalendarCache.java 77 if (pIndex < primes.length - 1) {
78 arraySize = primes[++pIndex];
111 static private final int primes[] = { // 5, 17, 31, 47, // for testing field in class:CalendarCache
118 private int arraySize = primes[pIndex];
  /external/boringssl/src/crypto/bn/
prime.c 134 /* The quick sieve algorithm approach to weeding out primes is Philip
138 /* NUMPRIMES is the number of primes that fit into a uint16_t. */
141 /* primes contains all the primes that fit into a uint16_t. */
142 static const uint16_t primes[NUMPRIMES] = { variable
499 BN_ULONG mod = BN_mod_word(a, primes[i]);
650 BN_ULONG maxdelta = BN_MASK2 - primes[NUMPRIMES - 1];
660 BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]);
688 * 1) It's greater than primes[i] because we shouldn't reject
693 * primes because there aren't many small primes wher
    [all...]
  /libcore/luni/src/test/java/libcore/java/math/
BigIntegerTest.java 121 int[] primes = new int[1024]; local
124 for (int rep = 0; rep < primes.length; ++rep) { // Manual flakiness protection for random tests.
128 primes[rep] = b.intValue();
130 for (int i = 0; i < primes.length; ++i) {
131 if (primes[i] == 2) {
133 } else if (primes[i] == 3) {
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
st.c 72 static const long primes[] = { variable
119 i < (int )(sizeof(primes)/sizeof(primes[0]));
122 if (newsize > size) return primes[i];
  /external/valgrind/coregrind/
m_hashtable.c 57 static const SizeT primes[N_HASH_PRIMES] = { variable
72 SizeT n_chains = primes[0];
99 /* If we've run out of primes, do nothing. */
100 if (old_chains == primes[N_HASH_PRIMES-1])
103 vg_assert(old_chains >= primes[0]
104 && old_chains < primes[N_HASH_PRIMES-1]);
107 if (primes[i] > new_chains) {
108 new_chains = primes[i];
114 vg_assert(new_chains > primes[0]
115 && new_chains <= primes[N_HASH_PRIMES-1])
    [all...]
  /toolchain/binutils/binutils-2.25/bfd/
hash.c 310 /* These are primes that are near, but slightly smaller than, a
312 static const unsigned long primes[] = local
345 const unsigned long *low = &primes[0];
346 const unsigned long *high = &primes[sizeof (primes) / sizeof (primes[0])];
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/misc/common/robolectric/lib/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 

Completed in 511 milliseconds