Home
last modified time | relevance | path

Searched refs:FutureType (Results 1 – 2 of 2) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DPoolService.java18 public class PoolService<FutureType> {
20 private ExecutorCompletionService<FutureType> m_completionService;
40 public List<FutureType> submitTasksAndWait(List<? extends Callable<FutureType>> tasks) { in submitTasksAndWait()
41 List<FutureType> result = Lists.newArrayList(); in submitTasksAndWait()
43 for (Callable<FutureType> callable : tasks) { in submitTasksAndWait()
48 Future<FutureType> take = m_completionService.take(); in submitTasksAndWait()
/external/python/cpython3/Modules/
D_asynciomodule.c111 static PyTypeObject FutureType; variable
116 #define Future_CheckExact(obj) Py_IS_TYPE(obj, &FutureType)
119 #define Future_Check(obj) PyObject_TypeCheck(obj, &FutureType)
1529 static PyTypeObject FutureType = { variable
1743 if (!PyObject_TypeCheck(fut, &FutureType)) { in future_new_iter()
2534 .tp_base = &FutureType,
3463 if (PyModule_AddType(m, &FutureType) < 0) { in PyInit__asyncio()