HomeSort by relevance Sort by last modified time
    Searched defs:Pool (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/v8/tools/testrunner/local/
pool_unittest.py 8 from pool import Pool
18 pool = Pool(3)
19 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]):
25 pool = Pool(3)
26 for result in pool.imap_unordered(Run, [[x] for x in range(0, 12)]):
35 pool = Pool(3
    [all...]
pool.py 66 class Pool():
execution.py 35 from pool import Pool
205 def _MaybeRerun(self, pool, test):
225 pool.add([TestJob(test)])
229 def _ProcessTestNormal(self, test, result, pool):
248 self._MaybeRerun(pool, test)
252 def _ProcessTestPredictable(self, test, result, pool):
295 pool.add([TestJob(test)])
310 pool = Pool(jobs
    [all...]
  /external/clang/tools/libclang/
CXString.h 73 /// \brief A string pool used for fast allocation/deallocation of strings.
81 std::vector<CXStringBuf *> Pool;
92 /// \brief Return this buffer to the pool.
98 /// \brief Returns true if the CXString data is managed by a pool.
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfStringPool.h 30 StringMap<EntryTy, BumpPtrAllocator &> Pool;
43 bool empty() const { return Pool.empty(); }
45 /// Get a reference to an entry in the string pool.
AddressPool.h 28 DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
39 /// \brief Returns the index into the address pool with the given
45 bool isEmpty() { return Pool.empty(); }
  /external/llvm/lib/Target/NVPTX/
ManagedStringPool.h 1 //===-- ManagedStringPool.h - Managed String Pool ---------------*- C++ -*-===//
10 // The strings allocated from a managed string pool are owned by the string
11 // pool and will be deleted together with the managed string pool.
23 /// ManagedStringPool - The strings allocated from a managed string pool are
24 /// owned by the string pool and will be deleted together with the managed
25 /// string pool.
27 SmallVector<std::string *, 8> Pool;
32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin();
33 while (Current != Pool.end())
    [all...]
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /external/llvm/unittests/Support/
ThreadPool.cpp 93 ThreadPool Pool;
95 Pool.async([this, &checked_in, i] {
102 Pool.wait();
113 ThreadPool Pool;
115 Pool.async(TestFunc, std::ref(checked_in), i);
117 Pool.wait();
123 ThreadPool Pool;
125 Pool.async([this, &i] {
129 Pool.async([&i] { ++i; });
132 Pool.wait()
    [all...]
  /frameworks/base/core/java/android/util/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /frameworks/compile/mclinker/unittests/
StringTableTest.cpp 20 StrSymPool* Pool = new StrSymPool(1, 1, *R);
21 m_pTestee = new StringTable(*Pool);
  /frameworks/support/v4/java/android/support/v4/util/
Pools.java 47 * Interface for managing a pool of objects.
51 public static interface Pool<T> {
54 * @return An instance from the pool if such, null otherwise.
59 * Release an instance to the pool.
62 * @return Whether the instance was put in the pool.
64 * @throws IllegalStateException If the instance is already in the pool.
74 * Simple (non-synchronized) pool of objects.
78 public static class SimplePool<T> implements Pool<T> {
86 * @param maxPoolSize The max pool size.
88 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /packages/apps/Camera2/src/android/util/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /packages/apps/Gallery2/src/android/util/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /developers/samples/android/common/src/java/com/example/android/common/util/
Pools.java 26 * The object pool pattern provided by the {@link Pool} interface facilitates
29 * improvement, as objects are only created once and returned to the Pool when
31 * {@link Pools} keep track of these unused objects. An object pool provides two
34 * <li><b>{@link Pool#acquire()}:</b> Returns an used object if one is
36 * <li><b> {@link Pool#release(Object)}:</b> Adds the given object to the pool,
40 * This class contains the interface defining a {@link Pool}, an implementation
41 * based on a fixed length array ({@link SimplePool}) and a synchronized pool
69 * Interface for managing a pool of objects
    [all...]
  /cts/suite/audio_quality/test_description/processing/
calc_delay.py 24 from multiprocessing import Pool
53 pool = Pool(processes = 4)
55 result = pool.map(convolutionstar, TASK)
  /cts/tools/utils/
buildCts.py 28 from multiprocessing import Pool
96 pool = Pool(processes=2)
100 pool.close()
101 pool.join()
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
s3put 36 from multiprocessing import Pool
212 pool = Pool(processes=parallel_processes)
218 pool.apply_async(_upload_part, [bucketname, aws_key, aws_secret, mp.id,
221 pool.close()
222 pool.join()
  /external/llvm/include/llvm/Support/
StringPool.h 1 //===-- StringPool.h - Interned string pool ---------------------*- C++ -*-===//
10 // This file declares an interned string pool, which helps reduce the cost of
15 // StringPool Pool;
16 // PooledStringPtr Str = Pool.intern("wakka wakka");
25 // strings in the string pool are reference-counted (automatically).
39 /// StringPool - An interned string pool. Use the intern method to add a
43 /// PooledString - This is the value of an entry in the pool's interning
46 StringPool *Pool; ///< So the string can remove itself.
50 PooledString() : Pool(nullptr), Refcount(0) { }
63 /// intern - Adds a string to the pool and returns a reference-counte
    [all...]
  /frameworks/base/tools/layoutlib/rename_font/
build_font.py 26 from multiprocessing import Pool
93 pool = Pool(processes=None)
94 pool.map(convert_font, input_fonts)
  /external/clang/lib/Sema/
IdentifierResolver.cpp 41 IdDeclInfo Pool[POOL_SIZE];
403 IdDeclInfo *IDI = &CurPool->Pool[CurIndex];
  /external/llvm/include/llvm/CodeGen/PBQP/
CostAllocator.h 38 PoolEntry(ValuePool &Pool, ValueKeyT Value)
39 : Pool(Pool), Value(std::move(Value)) {}
40 ~PoolEntry() { Pool.removeEntry(this); }
43 ValuePool &Pool;
  /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
__init__.py 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array',
227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None):
229 Returns a process pool object
231 from multiprocessing.pool import Pool
232 return Pool(processes, initializer, initargs, maxtasksperchild)

Completed in 633 milliseconds

1 2 3