OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:coroutine
(Results
1 - 25
of
335
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/python/cpython2/Demo/threads/
Coroutine.py
0
#
Coroutine
implementation using Python threads.
3
# Combines ideas from Guido's Generator module, and from the
coroutine
7
# a
Coroutine
object to control them:
8
# co =
Coroutine
()
20
# co.tran is called the "main
coroutine
". It's special in several
21
# respects: it existed before you created the
Coroutine
object; if any of
23
# exception), EarlyExit error is raised in the main
coroutine
; and the
24
# co.detach() method transfers control directly to the main
coroutine
25
# (you can't use co.tran() for this because the main
coroutine
doesn't
28
#
Coroutine
objects support these methods
[
all
...]
fcmp.py
0
#
Coroutine
example: controlling multiple instances of a single function
3
from
Coroutine
import *
15
co =
Coroutine
()
31
co1 =
Coroutine
(); f1 = co1.create(fringe, co1, l1)
32
co2 =
Coroutine
(); f2 = co2.create(fringe, co2, l2)
README
9
Coroutine
.py Coroutines using threads, by Tim Peters (22 May 94)
/external/python/cpython3/Doc/c-api/
coro.rst
5
Coroutine
Objects
10
Coroutine
objects are what functions declared with an ``async`` keyword
16
The C structure used for
coroutine
objects.
21
The type object corresponding to
coroutine
objects.
31
Create and return a new
coroutine
object based on the *frame* object,
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Transforms/
Coroutines.h
1
//===-- Coroutines.h -
Coroutine
Transformations ----------------*- C++ -*-===//
9
// Declare accessor functions for
coroutine
lowering passes.
20
/// Add all
coroutine
passes to appropriate extension points.
23
/// Lower
coroutine
intrinsics that are not needed by later passes.
30
/// heap allocation for
coroutine
frame where possible.
33
/// Lower all remaining
coroutine
intrinsics.
/external/python/cpython3/Doc/library/
asyncio-sync.rst
35
particular
coroutine
when locked. A primitive lock is in one of two states,
41
until a call to release() in another
coroutine
changes it to unlocked, then
47
When more than one
coroutine
is blocked in acquire() waiting for the state
48
to turn to unlocked, only one
coroutine
proceeds when a release() call
49
resets the state to unlocked; first
coroutine
which is blocked in acquire()
52
:meth:`acquire` is a
coroutine
and should be called with ``yield from``.
95
This method is a :ref:`
coroutine
<
coroutine
>`.
137
true are awakened.
Coroutine
that call :meth:`wait` once the flag is true
145
Otherwise, block until another
coroutine
calls :meth:`set` to set th
[
all
...]
asyncio-task.rst
13
The :keyword:`async def` type of
coroutine
was added in Python 3.5, and
16
Generator-based coroutines should be decorated with :func:`@asyncio.
coroutine
17
<asyncio.
coroutine
>`, although this is not strictly enforced.
23
The word "
coroutine
", like the word "generator", is used for two
26
- The function that defines a
coroutine
28
decorated with ``@asyncio.
coroutine
``). If disambiguation is needed
29
we will call this a *
coroutine
function* (:func:`iscoroutinefunction`
32
- The object obtained by calling a
coroutine
function. This object
35
call it a *
coroutine
object* (:func:`iscoroutine` returns ``True``).
37
Things a
coroutine
can do
[
all
...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
CoroutineManager.java
30
* <p>Support the
coroutine
design pattern.</p>
32
* <p>A
coroutine
set is a very simple cooperative non-preemptive
38
* <li>One
coroutine
in the set has control, which it retains until it
39
* either exits or resumes another
coroutine
.</li>
40
* <li>A
coroutine
is activated when it is resumed by some other
coroutine
42
* <li>An active
coroutine
that gives up control by resuming another in
50
* from one
coroutine
to another. Like pipes, neither
coroutine
is
63
* can optimize the
coroutine
metaphor), isn't necessarily as clear i
[
all
...]
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/
from_address.fail.cpp
12
// <experimental/
coroutine
>
20
// pointer. The user cannot possibly have a typed pointer to the
coroutine
.
24
#include <experimental/
coroutine
>
34
// expected-error@experimental/
coroutine
:* 3 {{coroutine_handle<void>::from_address cannot be called with non-void pointers}}
41
// expected-error@experimental/
coroutine
:* 1 {{static_assert failed "coroutine_handle<promise_type>::from_address cannot be used with pointers to the
coroutine
's promise type; use 'from_promise' instead"}}
43
// expected-error@experimental/
coroutine
:* 1 {{coroutine_handle<promise_type>::from_address cannot be called with non-void pointers}}
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/
from_address.fail.cpp
12
// <experimental/
coroutine
>
20
// pointer. The user cannot possibly have a typed pointer to the
coroutine
.
24
#include <experimental/
coroutine
>
34
// expected-error@experimental/
coroutine
:* 3 {{coroutine_handle<void>::from_address cannot be called with non-void pointers}}
41
// expected-error@experimental/
coroutine
:* 1 {{static_assert failed "coroutine_handle<promise_type>::from_address cannot be used with pointers to the
coroutine
's promise type; use 'from_promise' instead"}}
43
// expected-error@experimental/
coroutine
:* 1 {{coroutine_handle<promise_type>::from_address cannot be called with non-void pointers}}
/external/libcxx/test/std/experimental/language.support/support.coroutines/
includes.pass.cpp
13
// <experimental/
coroutine
>
15
// Test that <experimental/
coroutine
> includes <new>
17
#include <experimental/
coroutine
>
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/language.support/support.coroutines/
includes.pass.cpp
13
// <experimental/
coroutine
>
15
// Test that <experimental/
coroutine
> includes <new>
17
#include <experimental/
coroutine
>
Completed in 1277 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>