Home
last modified time | relevance | path

Searched refs:managers (Results 1 – 25 of 216) sorted by relevance

123456789

/external/python/cpython2/Doc/library/
Dcontextlib.rst16 :ref:`context-managers`.
24 function for :keyword:`with` statement context managers, without needing to
69 Combine multiple context managers into a single nested context manager.
76 used with a variable number of context managers as follows::
80 with nested(*managers):
83 Note that if the :meth:`__exit__` method of one of the nested context managers
85 passed to any remaining outer context managers. Similarly, if the
86 :meth:`__exit__` method of one of the nested managers raises an exception, any
88 :meth:`__exit__` methods of any remaining outer context managers. In general,
93 as the context managers are all constructed before the function is invoked, the
[all …]
Dsets.rst199 >>> managers = Set(['Jane', 'Jack', 'Susan', 'Zack'])
200 >>> employees = engineers | programmers | managers # union
201 >>> engineering_management = engineers & managers # intersection
202 >>> fulltime_management = managers - engineers - programmers # difference
211 >>> for group in [engineers, programmers, managers, employees]: # doctest: +SKIP
/external/syzkaller/dashboard/app/
Dmain.go160 var managers []*uiManager
168 managers, err = loadManagers(c)
185 Managers: managers,
217 managers, err := managerList(c, bug.Namespace)
231 Bugs: []*uiBug{createUIBug(c, dup, state, managers)},
235 uiBug := createUIBug(c, bug, state, managers)
240 dups, err := loadDupsForBug(c, r, bug, state, managers)
371 managers, err := managerList(c, ns)
393 uiBug := createUIBug(c, bug, state, managers)
456 func loadDupsForBug(c context.Context, r *http.Request, bug *Bug, state *ReportingState, managers […
[all …]
Dapi.go338 managers, err := managerList(c, ns)
363 if err := addCommitsToBug(c, bug, manager, managers, fixCommits, presentCommits); err != nil {
372 if err := addCommitsToBug(c, canon, manager, managers,
382 func addCommitsToBug(c context.Context, bug *Bug, manager string, managers []string,
404 for _, mgr := range managers {
434 var managers []string
439 managers = append(managers, build.Manager)
441 return managers, nil
Dentities.go248 var managers []*Manager
250 GetAll(c, &managers)
257 for i, mgr := range managers {
Djobs.go189 func pollPendingJobs(c context.Context, managers []string) (interface{}, error) {
191 job, jobKey, err := loadPendingJob(c, managers)
429 func loadPendingJob(c context.Context, managers []string) (*Job, *datastore.Key, error) {
440 for _, mgr := range managers {
/external/python/cpython3/Doc/library/
Dcontextlib.rst13 :ref:`context-managers`.
39 :ref:`async-context-managers`.
47 function for :keyword:`with` statement context managers, without needing to
89 :func:`contextmanager` uses :class:`ContextDecorator` so the context managers
92 each function call (this allows the otherwise "one-shot" context managers
94 managers support multiple invocations in order to be used as decorators).
103 :ref:`asynchronous context manager <async-context-managers>`.
106 function for :keyword:`async with` statement asynchronous context managers,
157 .. _simplifying-support-for-single-optional-context-managers:
282 Context managers inheriting from ``ContextDecorator`` have to implement
[all …]
/external/syzkaller/syz-ci/
Dsyz-ci.go137 managers := make([]*Manager, len(cfg.Managers))
139 managers[i] = createManager(cfg, mgrcfg, stop)
141 for _, mgr := range managers {
150 jp := newJobProcessor(cfg, managers)
Djobs.go24 managers []*Manager member
30 func newJobProcessor(cfg *Config, managers []*Manager) *JobProcessor {
33 managers: managers,
62 for _, mgr := range jp.managers {
74 for _, m := range jp.managers {
/external/tensorflow/tensorflow/compiler/xla/service/
Dtransfer_manager.cc206 auto* managers = GetPlatformTransferManagers(); in RegisterTransferManager() local
207 CHECK(managers->find(platform_id) == managers->end()); in RegisterTransferManager()
208 (*managers)[platform_id].creation_function = creation_function; in RegisterTransferManager()
215 auto* managers = GetPlatformTransferManagers(); in GetForPlatform() local
217 auto it = managers->find(platform->id()); in GetForPlatform()
218 if (it == managers->end()) { in GetForPlatform()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_runtime.cc34 static auto* managers = new absl::flat_hash_map<int, XfeedManager*>(); in GetXfeedManager() local
38 auto it = managers->find(device_ordinal); in GetXfeedManager()
39 if (it == managers->end()) { in GetXfeedManager()
40 it = managers->emplace(device_ordinal, new XfeedManager()).first; in GetXfeedManager()
/external/python/cpython2/Lib/
Dcontextlib.py89 def nested(*managers): argument
109 for mgr in managers:
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DX509KeyManagerTest.java71 KeyManager[] managers = kmf.getKeyManagers(); in test_ChooseClientAlias_KeyType() local
72 for (KeyManager manager : managers) { in test_ChooseClientAlias_KeyType()
/external/syzkaller/docs/
Dhub.md1 # Connecting several managers via Hub
31 And start managers. Once they triage local corpus, they will connect to the hub
Dci.md4 It runs several syz-manager's, polls and rebuilds images for managers and polls
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DX509KeyManagerTest.java67 KeyManager[] managers = kmf.getKeyManagers(); in test_ChooseClientAlias_KeyType() local
68 for (KeyManager manager : managers) { in test_ChooseClientAlias_KeyType()
/external/python/cpython2/Lib/test/
Dtest_with.py56 def __init__(self, *managers): argument
57 self.managers = managers
66 for mgr in self.managers:
91 def __init__(self, *managers): argument
92 Nested.__init__(self, *managers)
/external/python/cpython3/Lib/test/
Dtest_with.py55 def __init__(self, *managers): argument
56 self.managers = managers
65 for mgr in self.managers:
90 def __init__(self, *managers): argument
91 Nested.__init__(self, *managers)
/external/python/cpython2/Demo/tix/samples/
DSHList2.py77 managers = [
116 for key,name,posn in managers :
/external/python/cpython3/Doc/includes/
Dmp_newtype.py2 from multiprocessing.managers import BaseManager, BaseProxy
/external/syzkaller/syz-ci/testdata/
Dexample.cfg8 "managers": [
/external/python/cpython2/Doc/includes/
Dmp_newtype.py10 from multiprocessing.managers import BaseManager, BaseProxy
/external/syzkaller/dashboard/dashapi/
Ddashapi.go144 func (dash *Dashboard) JobPoll(managers []string) (*JobPollResp, error) {
145 req := &JobPollReq{Managers: managers}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Dpass-pipelines.ll11 ; pass managers.
42 ; causing new loop pass managers.
/external/llvm/test/Other/
Dpass-pipelines.ll11 ; pass managers.
42 ; causing new loop pass managers.

123456789