OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nThreads
(Results
1 - 22
of
22
) sorted by null
/external/guava/guava-tests/test/com/google/common/collect/
ConcurrentHashMultisetBasherTest.java
66
int
nThreads
= 20;
68
int nTasks =
nThreads
* tasksPerThread;
69
ExecutorService pool = Executors.newFixedThreadPool(
nThreads
);
MapMakerTest.java
116
int
nThreads
= 100;
129
ExecutorService threadPool = Executors.newFixedThreadPool(
nThreads
);
145
while (computedCount.get() <
nThreads
) {
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_capi.py
63
context.
nThreads
= n // context.n
68
for i in range(context.
nThreads
):
87
if nFinished == context.
nThreads
:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_capi.py
63
context.
nThreads
= n // context.n
68
for i in range(context.
nThreads
):
87
if nFinished == context.
nThreads
:
/libcore/luni/src/main/java/java/util/concurrent/
Executors.java
48
* {@code
nThreads
} threads will be active processing tasks.
56
* @param
nThreads
the number of threads in the pool
58
* @throws IllegalArgumentException if {@code
nThreads
<= 0}
60
public static ExecutorService newFixedThreadPool(int
nThreads
) {
61
return new ThreadPoolExecutor(
nThreads
,
nThreads
,
108
* at most {@code
nThreads
} threads will be active processing
117
* @param
nThreads
the number of threads in the pool
121
* @throws IllegalArgumentException if {@code
nThreads
<= 0}
123
public static ExecutorService newFixedThreadPool(int
nThreads
, ThreadFactory threadFactory)
[
all
...]
/frameworks/wilhelm/src/
ThreadPool.c
81
static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned
nThreads
);
93
unsigned
nThreads
= 0; // number of threads successfully created
154
++
nThreads
;
163
ThreadPool_deinit_internal(tp, initialized,
nThreads
);
167
static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned
nThreads
)
173
if (0 <
nThreads
) {
185
for (i = 0; i <
nThreads
; ++i) {
/external/valgrind/unittest/
bigtest.cc
639
int
nThreads
= 2;
654
int count = round(it->second /
nThreads
);
692
nThreads
= round(nThreads_double);
693
CHECK(
nThreads
>= 2);
769
mainThreadPool = new ThreadPool(
nThreads
- 1);
771
for (int i = 0; i <
nThreads
- 1; i++) {
/external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderTest.java
469
int
nThreads
= 100;
483
ExecutorService threadPool = Executors.newFixedThreadPool(
nThreads
);
499
while (computedCount.get() <
nThreads
) {
535
int
nThreads
= 100;
571
ExecutorService threadPool = Executors.newFixedThreadPool(
nThreads
);
CacheLoadingTest.java
[
all
...]
/external/chromium_org/third_party/icu/source/test/intltest/
tzfmttst.cpp
443
int32_t
nThreads
= threadCount;
520
for (i = 0; i <
nThreads
; i++) {
539
for (i = 0; i <
nThreads
; i++) {
/external/icu4c/test/intltest/
tzfmttst.cpp
567
int32_t
nThreads
= threadCount;
644
for (i = 0; i <
nThreads
; i++) {
663
for (i = 0; i <
nThreads
; i++) {
[
all
...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java
541
int
nThreads
= 100;
549
ExecutorService threadPool = Executors.newFixedThreadPool(
nThreads
);
/prebuilts/devtools/tools/lib/
sdk-common.jar
/prebuilts/gradle-plugin/com/android/tools/sdk-common/22.2.0/
sdk-common-22.2.0.jar
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 373 milliseconds