Searched refs:once (Results 1 – 9 of 9) sorted by relevance
/build/soong/android/ |
D | onceper.go | 28 func (once *OncePer) maybeWaitFor(key OnceKey, value interface{}) interface{} { 33 value, _ = once.values.Load(key) 45 func (once *OncePer) Once(key OnceKey, value func() interface{}) interface{} { 47 if v, ok := once.values.Load(key); ok { 48 return once.maybeWaitFor(key, v) 53 if v, loaded := once.values.LoadOrStore(key, waiter); loaded { 55 return once.maybeWaitFor(key, v) 62 once.values.Store(key, v) 73 func (once *OncePer) Get(key OnceKey) interface{} { 74 v, ok := once.values.Load(key) [all …]
|
D | onceper_test.go | 23 once := OncePer{} 26 a := once.Once(key, func() interface{} { return "a" }).(string) 27 b := once.Once(key, func() interface{} { return "b" }).(string) 39 once := OncePer{} 44 …go once.Once(key, func() interface{} { close(ch); time.Sleep(100 * time.Millisecond); return "foo"… 46 a := once.Once(key, func() interface{} { return "bar" }).(string) 54 once := OncePer{} 57 a := once.Once(key, func() interface{} { return "a" }).(string) 58 b := once.Get(key).(string) 70 once := OncePer{} [all …]
|
/build/soong/cc/config/ |
D | x86_darwin_host.go | 125 once sync.Once member 137 macTools.once.Do(func() {
|
/build/soong/ui/build/ |
D | sandbox_linux.go | 54 once sync.Once 73 sandboxConfig.once.Do(func() {
|
/build/make/ |
D | Usage.txt | 55 (after running the build once), split among these two files: 69 -j <N> Run <N> processes at once 70 -j Autodetect the number of processes to run at once,
|
/build/soong/docs/ |
D | clion.md | 38 ### Edit multiple projects at once
|
D | perf.md | 172 spent of 13.137 secounds. While Android-aosp_arm.mk was only included once, and
|
/build/make/tools/releasetools/ |
D | pylintrc | 59 # file where it should appear only once).You can also use "--disable=all" to
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | android_3p-bundle.js | 2477 …)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.… 2479 …&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.status…
|