Home
last modified time | relevance | path

Searched refs:Future (Results 1 – 25 of 224) sorted by relevance

123456789

/third_party/python/Doc/library/
Dasyncio-future.rst15 *Future* objects are used to bridge **low-level callback-based code**
19 Future Functions
26 * an instance of :class:`asyncio.Future`,
28 * a Future-like object with a ``_asyncio_future_blocking``
38 * *obj* argument as is, if *obj* is a :class:`Future`,
39 a :class:`Task`, or a Future-like object (:func:`isfuture`
64 Deprecation warning is emitted if *obj* is not a Future-like object
70 Wrap a :class:`concurrent.futures.Future` object in a
71 :class:`asyncio.Future` object.
74 Deprecation warning is emitted if *future* is not a Future-like object
[all …]
Dconcurrent.futures.rst34 and returns a :class:`Future` object representing the execution of the
116 Deadlocks can occur when the callable associated with a :class:`Future` waits on
117 the results of another :class:`Future`. For example::
231 Calling :class:`Executor` or :class:`Future` methods from a callable submitted
308 Future Objects
311 The :class:`Future` class encapsulates the asynchronous execution of a callable.
312 :class:`Future` instances are created by :meth:`Executor.submit`.
314 .. class:: Future
316 Encapsulates the asynchronous execution of a callable. :class:`Future`
384 The following :class:`Future` methods are meant for use in unit tests and
[all …]
Dasyncio-task.rst182 A :class:`Future` is a special **low-level** awaitable object that
185 When a Future object is *awaited* it means that the coroutine will
186 wait until the Future is resolved in some other place.
188 Future objects in asyncio are needed to allow callback-based code
191 Normally **there is no need** to create Future objects at the
194 Future objects, sometimes exposed by libraries and some asyncio
206 A good example of a low-level function that returns a Future object
365 If any Task or Future from the *aws* sequence is *cancelled*, it is
368 cancellation of one submitted Task/Future to cause other
436 or not all positional arguments are Future-like objects
[all …]
Dasyncio-exceptions.rst38 Invalid internal state of :class:`Task` or :class:`Future`.
41 *Future* object that already has a result value set.
Dasyncio-dev.rst91 :class:`concurrent.futures.Future` to access the result::
199 If a :meth:`Future.set_exception` is called but the Future object is
202 Future object is garbage collected.
D__future__.rst1 :mod:`__future__` --- Future statement definitions
5 :synopsis: Future statement definitions
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreadPool.cpp84 auto Future = PackagedTask.get_future(); in asyncImpl() local
95 return Future.share(); in asyncImpl()
133 auto Future = std::async(std::launch::deferred, std::move(Task)).share(); in asyncImpl() local
136 PackagedTaskTy PackagedTask([Future]() { Future.get(); }); in asyncImpl()
138 return Future; in asyncImpl()
/third_party/python/Lib/asyncio/
Dfutures.py29 class Future: class
293 _PyFuture = Future
370 concurrent.futures.Future):
373 concurrent.futures.Future):
408 assert isinstance(future, concurrent.futures.Future), \
423 Future = _CFuture = _asyncio.Future variable
D__main__.py23 future = concurrent.futures.Future()
/third_party/python/Lib/test/
Dtest_concurrent_futures.py26 PENDING, RUNNING, CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED, Future,
36 f = Future()
764 futures_list = [Future() for _ in range(8)]
1276 f = Future()
1287 f = Future()
1298 f = Future()
1317 f = Future()
1331 f = Future()
1342 f = Future()
1353 f = Future()
[all …]
/third_party/skia/site/docs/dev/testing/
Dskiagold.md73 Future improvements:
111 Future improvements:
131 Future improvements:
171 Future improvements:
/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py109 Future = None variable in BaseTaskTests
115 return self.__class__.Future(loop=loop)
1895 class Fut(asyncio.Future):
2855 BaseFuture = cls.Future
2872 class Future(CommonFuture, BaseFuture): class
2876 fut = self.Future(loop=self.loop)
2898 cls.Future = Future
2914 Future = type(self).Future
2923 Future.set_result(task, 'spam')
2941 Future = type(self).Future
[all …]
/third_party/python/Misc/NEWS.d/
D3.6.0b3.rst165 Fix iterator of C implemented asyncio.Future doesn't accept non-None value
226 Fix C implemented asyncio.Future didn't work on Windows.
262 Fix how StopIteration exception is raised in _asyncio.Future.
D3.7.0a4.rst303 Prevent Python crash from happening when Future._log_traceback is set to
313 asyncio: Add Task.get_loop() and Future.get_loop()
333 NotImplementedError. Task._step() and Future.__await__() raise proper
384 Optimize asyncio.Future schedule/add/remove callback. The optimization
/third_party/python/Lib/concurrent/futures/
D__init__.py15 Future,
Dthread.py172 f = _base.Future()
/third_party/python/Lib/unittest/test/testmock/
Dtestasync.py177 fut = asyncio.Future()
181 self.assertIsInstance(mock, asyncio.Future)
449 fut = asyncio.Future()
453 self.assertIsInstance(result, asyncio.Future)
456 fut = asyncio.Future()
461 self.assertIsInstance(result, asyncio.Future)
474 value = asyncio.Future()
/third_party/skia/site/docs/user/release/
Dschedule.md32 Skia is maintaining 82 for our customers. Future dates are subject to change.
/third_party/openssl/doc/man3/
DSSL_get0_peer_scts.pod18 the peer's certificate for SCTs. Future calls will return the same SCTs.
/third_party/json/docs/mkdocs/docs/api/macros/
Djson_use_implicit_conversions.md20 !!! info "Future behavior change"
Djson_use_global_udls.md22 !!! info "Future behavior change"
/third_party/rust/crates/either/src/
Dlib.rs29 use core::future::Future;
1073 impl<L, R> Future for Either<L, R>
1075 L: Future,
1076 R: Future<Output = L::Output>,
/third_party/rust/crates/cxx/book/src/
Dasync.md18 rust::Future<Ret> doThing(Arg arg) {
/third_party/json/docs/mkdocs/docs/api/basic_json/
Doperator_ValueType.md50 !!! info "Future behavior change"
/third_party/mesa3d/docs/_extra/specs/
DMESA_configless_context.spec121 Future extensions may specify required behavior in this case.

123456789