OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:WithTimeout
(Results
1 - 3
of
3
) sorted by null
/prebuilts/go/darwin-x86/src/context/
context.go
13
//
WithTimeout
, or WithValue. When a Context is canceled, all
16
// The WithCancel, WithDeadline, and
WithTimeout
functions take a
74
// expires;
WithTimeout
arranges for Done to be closed when the timeout
426
//
WithTimeout
returns WithDeadline(parent, time.Now().Add(timeout)).
432
// ctx, cancel := context.
WithTimeout
(ctx, 100*time.Millisecond)
436
func
WithTimeout
(parent Context, timeout time.Duration) (Context, CancelFunc) {
/prebuilts/go/linux-x86/src/context/
context.go
13
//
WithTimeout
, or WithValue. When a Context is canceled, all
16
// The WithCancel, WithDeadline, and
WithTimeout
functions take a
74
// expires;
WithTimeout
arranges for Done to be closed when the timeout
426
//
WithTimeout
returns WithDeadline(parent, time.Now().Add(timeout)).
432
// ctx, cancel := context.
WithTimeout
(ctx, 100*time.Millisecond)
436
func
WithTimeout
(parent Context, timeout time.Duration) (Context, CancelFunc) {
/frameworks/native/cmds/dumpstate/
DumpstateUtil.cpp
90
CommandOptions CommandOptions::DEFAULT = CommandOptions::
WithTimeout
(10).Build();
91
CommandOptions CommandOptions::AS_ROOT = CommandOptions::
WithTimeout
(10).AsRoot().Build();
157
CommandOptions::CommandOptionsBuilder CommandOptions::
WithTimeout
(int64_t timeout) {
Completed in 452 milliseconds