Home
last modified time | relevance | path

Searched refs:primes (Results 1 – 25 of 60) sorted by relevance

123

/external/python/cpython2/Demo/scripts/
Dprimes.py5 def primes(min, max): function
8 primes = [2]
11 for p in primes:
15 primes.append(i)
27 primes(min, max)
/external/igt-gpu-tools/lib/
Digt_primes.c131 unsigned long *primes, in mark_multiples() argument
142 clear_bit(m, primes); in mark_multiples()
151 static unsigned long *primes; in igt_next_prime_number() local
168 nprimes = realloc(primes, sz / sizeof(long)); in igt_next_prime_number()
180 primes = nprimes; in igt_next_prime_number()
184 return find_next_bit(primes, last, x + 1); in igt_next_prime_number()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java79 if (pIndex < primes.length - 1) { in rehash()
80 arraySize = primes[++pIndex]; in rehash()
113 static private final int primes[] = { // 5, 17, 31, 47, // for testing field in CalendarCache
120 private int arraySize = primes[pIndex];
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java77 if (pIndex < primes.length - 1) { in rehash()
78 arraySize = primes[++pIndex]; in rehash()
111 static private final int primes[] = { // 5, 17, 31, 47, // for testing field in CalendarCache
118 private int arraySize = primes[pIndex];
/external/swiftshader/third_party/marl/examples/
Dprimes.cpp64 std::vector<int> primes; in main() local
67 primes.push_back(i); in main()
77 for (auto prime : primes) { in main()
DBUILD.bazel36 name = "primes",
38 "primes.cpp",
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/
DNumbersBenchmark.kt41 private const val primes = 100 in <lambda>() constant
74 fun primes() = runBlocking { in <lambda>() method
75 primesFlow().take(primes).count() in <lambda>()
79 fun primesRx() = generateRxPrimes().take(primes.toLong()).count().blockingGet() in <lambda>()
/external/bcc/tools/
Dcthreads_example.txt28 0.924 27462 pthread primes_thread [primes]
29 0.927 27463 pthread primes_thread [primes]
30 0.928 27464 pthread primes_thread [primes]
31 0.928 27465 pthread primes_thread [primes]
Djavathreads_example.txt28 0.924 27462 pthread primes_thread [primes]
29 0.927 27463 pthread primes_thread [primes]
30 0.928 27464 pthread primes_thread [primes]
31 0.928 27465 pthread primes_thread [primes]
Dfunclatency_example.txt85 # ./funclatency /home/user/primes:* -p $(pidof primes) -F
86 Tracing 15 functions for "/home/user/primes:*"... Hit Ctrl-C to end.
136 an exponential distribution -- very few primes take a very long time to test,
/external/bcc/tools/lib/
Duthreads_example.txt28 0.924 27462 pthread primes_thread [primes]
29 0.927 27463 pthread primes_thread [primes]
30 0.928 27464 pthread primes_thread [primes]
31 0.928 27465 pthread primes_thread [primes]
/external/testng/src/test/java/test/testng387/
DFailedDPTest.java20 static final List<Integer> primes = Arrays.asList(2, 3, 5, 7); field in FailedDPTest
40 if (primes.contains(i)){ in isNotPrime()
DTestNG387.java27 assertEqualsNoOrder(failed.toArray(), FailedDPTest.primes.toArray()); in testInvocationCounterIsCorrectForMethodWithDataProvider()
/external/swiftshader/third_party/marl/kokoro/macos/
Dpresubmit.sh22 ./primes > /dev/null
32 $BUILD_ROOT/bazel/bin/bazel run //examples:primes > /dev/null
/external/swiftshader/third_party/marl/kokoro/ubuntu/
Dpresubmit.sh22 ./primes > /dev/null
43 $BUILD_ROOT/bazel/bin/bazel run //examples:primes > /dev/null
/external/python/rsa/tests/
Dtest_key.py55 primes = [64123, 64123, 64123, 50957, 39317, 33107]
58 return primes.pop(0)
/external/rust/crates/quote/tests/
Dtest.rs50 let primes = &[X, X, X, X]; in test_iter() localVariable
52 assert_eq!("X X X X", quote!(#(#primes)*).to_string()); in test_iter()
54 assert_eq!("X , X , X , X ,", quote!(#(#primes,)*).to_string()); in test_iter()
56 assert_eq!("X , X , X , X", quote!(#(#primes),*).to_string()); in test_iter()
/external/openssh/
DMakefile.in362 echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \
363 mv "$(DESTDIR)$(sysconfdir)/primes" "$(DESTDIR)$(sysconfdir)/moduli"; \
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp430 const std::vector<deUint32> primes = ut::generatePrimes(availableDescriptorCount); in init() local
431 const deUint32 primeCount = static_cast<deUint32>(primes.size()); in init()
437 data[idx].x() = static_cast<pixelType::Element>(primes[idx % primeCount]); in init()
638 const std::vector<deUint32> primes = ut::generatePrimes(availableDescriptorCount); in createVertexAttributeBuffer() local
639 const deUint32 primeCount = static_cast<deUint32>(primes.size()); in createVertexAttributeBuffer()
647 data[invIdx].index.x() = primes[invIdx % primeCount]; in createVertexAttributeBuffer()
659 const deUint32 prime = primes[primeIdx]; in createVertexAttributeBuffer()
1109 const std::vector<deUint32> primes = ut::generatePrimes(variables.availableDescriptorCount); in updateDescriptors() local
1110 const deUint32 primeCount = static_cast<deUint32>(primes.size()); in updateDescriptors()
1168 primes[primeIdx], // elementIndex in updateDescriptors()
[all …]
/external/swiftshader/third_party/marl/kokoro/windows/
Dpresubmit.bat31 Release\primes.exe > nul
58 !BAZEL_DIR!\bazel run //examples:primes > nul
/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dbignum.txt32 prime field. However, it is possible to use multiple primes and
79 transforms modulo three different primes to get the
Dmulmod-64.txt7 Calculate (a * b) % p using special primes
23 Special primes:
/external/python/futures/futures.egg-info/
DSOURCES.txt5 primes.py
/external/XNNPACK/tools/
Dgenerate-pack-test.py15 from primes import next_prime
Dgenerate-bilinear-test.py15 from primes import next_prime

123