OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:coroutines
(Results
1 - 16
of
16
) sorted by null
/external/python/cpython3/Lib/asyncio/
__init__.py
9
from .
coroutines
import *
26
coroutines
.__all__ +
runners.py
3
from . import
coroutines
36
if not
coroutines
.iscoroutine(main):
base_tasks.py
5
from . import
coroutines
15
coro =
coroutines
._format_coroutine(task._coro)
26
# 'async def'
coroutines
tasks.py
1
"""Support for tasks,
coroutines
and the scheduler."""
21
from . import
coroutines
24
from .
coroutines
import coroutine
105
if not
coroutines
.iscoroutine(coro):
221
# We use the `send` method directly, because
coroutines
336
"""Wait for the Futures and
coroutines
given by fs to complete.
340
Coroutines
will be wrapped in Tasks.
351
if futures.isfuture(fs) or
coroutines
.iscoroutine(fs):
354
raise ValueError('Set of
coroutines
/Futures is empty.')
489
"""Return an iterator whose values are
coroutines
[
all
...]
streams.py
12
from . import
coroutines
238
if
coroutines
.iscoroutine(res):
455
# to a read coroutine. Running two read
coroutines
at the same time
locks.py
10
from .
coroutines
import coroutine
207
If any other
coroutines
are blocked waiting for the lock to become
263
"""Set the internal flag to true. All
coroutines
waiting for it to
275
"""Reset the internal flag to false. Subsequently,
coroutines
calling
303
allows one or more
coroutines
to wait until they are notified by another
390
This method wakes up at most n of the
coroutines
waiting for the
391
condition variable; it is a no-op if no
coroutines
are waiting.
unix_events.py
19
from . import
coroutines
81
if (
coroutines
.iscoroutine(callback) or
82
coroutines
.iscoroutinefunction(callback)):
83
raise TypeError("
coroutines
cannot be used "
[
all
...]
base_events.py
38
from . import
coroutines
373
self.set_debug(
coroutines
._is_debug_mode())
698
if (
coroutines
.iscoroutine(callback) or
699
coroutines
.iscoroutinefunction(callback)):
701
f"
coroutines
cannot be used with {method}()")
[
all
...]
/developers/samples/android/ui/graphics/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicViewModel.kt
26
import kotlinx.
coroutines
.CoroutineScope
27
import kotlinx.
coroutines
.Job
28
import kotlinx.
coroutines
.asCoroutineDispatcher
29
import kotlinx.
coroutines
.launch
/external/kotlinc/lib/
kotlin-main-kts.jar
kotlin-stdlib.jar
kotlin-scripting-compiler.jar
kotlin-scripting-common.jar
kotlin-scripting-jvm.jar
/external/python/cpython3/Lib/test/test_asyncio/
test_tasks.py
19
from asyncio import
coroutines
34
coroutines
= asyncio.
coroutines
36
old_debug =
coroutines
._DEBUG
38
coroutines
._DEBUG = enabled
41
coroutines
._DEBUG = old_debug
345
if
coroutines
._DEBUG:
347
if
coroutines
._DEBUG:
366
if
coroutines
._DEBUG:
373
generator=not
coroutines
._DEBUG
[
all
...]
test_events.py
32
from asyncio import
coroutines
[
all
...]
Completed in 616 milliseconds