OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nThreads
(Results
1 - 18
of
18
) 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
) {
/libcore/luni/src/main/java/java/util/concurrent/
Executors.java
48
* <tt>
nThreads
</tt> 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
,
70
* at most <tt>
nThreads
</tt> threads will be active processing
79
* @param
nThreads
the number of threads in the pool
83
* @throws IllegalArgumentException if {@code
nThreads
<= 0}
85
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/icu4c/test/intltest/
tzfmttst.cpp
450
int32_t
nThreads
= threadCount;
527
for (i = 0; i <
nThreads
; i++) {
546
for (i = 0; i <
nThreads
; i++) {
/external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java
541
int
nThreads
= 100;
549
ExecutorService threadPool = Executors.newFixedThreadPool(
nThreads
);
/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
/prebuilts/sdk/current/
android.jar
Completed in 432 milliseconds