- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for wait (0.16 sec)
-
src/cmd/cgo/internal/test/issue18146.go
time.Sleep(time.Millisecond) continue } t.Error(err) return } cmds = append(cmds, cmd) } failures := 0 for _, cmd := range cmds { err := cmd.Wait() if err == nil { continue } t.Errorf("syscall.Exec failed: %v\n%s", err, cmd.Stdout) failures++ } if failures > 0 { t.Logf("Failed %v of %v attempts.", failures, len(cmds))
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Sep 05 23:35:32 GMT 2023 - 2.8K bytes - Viewed (0) -
src/cmd/api/api_test.go
{"net/http/internal/bar", false}, {"internal/foo", false}, {"internal", false}, } for _, tt := range tests { got := !internalPkg.MatchString(tt.pkg) if got != tt.want { t.Errorf("%s is internal = %v; want %v", tt.pkg, got, tt.want) } } } func BenchmarkAll(b *testing.B) { for i := 0; i < b.N; i++ { for _, context := range contexts {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/cgo/doc.go
linkage to the desired libraries. The main function is provided by _cgo_main.c: int main() { return 0; } void crosscall2(void(*fn)(void*), void *a, int c, uintptr_t ctxt) { } uintptr_t _cgo_wait_runtime_init_done(void) { return 0; } void _cgo_release_context(uintptr_t ctxt) { } char* _cgo_topofstack(void) { return (char*)0; } void _cgo_allocate(void *a, int c) { } void _cgo_panic(void *a, int c) { }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
return 0, err } // In case we're booting a device or emulator alongside all.bash, wait for // it to be ready. adb wait-for-device is not enough, we have to // wait for sys.boot_completed. if err := adb("wait-for-device", "exec-out", "while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;"); err != nil { return 0, err } // Done once per make.bash.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
doc/go1.17_spec.html
immediately, yielding the element type's <a href="#The_zero_value">zero value</a> after any previously sent values have been received. </p> <pre> v1 := <-ch v2 = <-ch f(<-ch) <-strobe // wait until clock pulse and discard received value </pre> <p> A receive expression used in an <a href="#Assignments">assignment</a> or initialization of the special form </p> <pre> x, ok = <-ch
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
throw new Error("total length of command line and environment variables exceeds limit"); } this._inst.exports.run(argc, argv); if (this.exited) { this._resolveExitPromise(); } await this._exitPromise; } _resume() { if (this.exited) { throw new Error("Go program has already exited"); } this._inst.exports.resume(); if (this.exited) {
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
doc/go_spec.html
immediately, yielding the element type's <a href="#The_zero_value">zero value</a> after any previously sent values have been received. </p> <pre> v1 := <-ch v2 = <-ch f(<-ch) <-strobe // wait until clock pulse and discard received value </pre> <p> A receive expression used in an <a href="#Assignment_statements">assignment statement</a> or initialization of the special form </p> <pre>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
for i, context := range contexts { i, context := i, context wg.Add(1) go func() { defer wg.Done() walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src")) }() } wg.Wait() var featureCtx = make(map[string]map[string]bool) // feature -> context name -> true for _, w := range walkers { for _, name := range w.stdPackages { pkg, err := w.import_(name)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
doc/go_mem.html
including <a href="/pkg/sync/#Cond">condition variables</a>, <a href="/pkg/sync/#Map">lock-free maps</a>, <a href="/pkg/sync/#Pool">allocation pools</a>, and <a href="/pkg/sync/#WaitGroup">wait groups</a>. The documentation for each of these specifies the guarantees it makes concerning synchronization. </p> <p> Other packages that provide synchronization abstractions
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} if got, want := h2.Uname, v.h.Uname; got != want { t.Errorf("i=%d: Uname: got %q, want %q", i, got, want) } if got, want := h2.Gname, v.h.Gname; got != want { t.Errorf("i=%d: Gname: got %q, want %q", i, got, want) } if got, want := h2.Linkname, v.h.Linkname; got != want { t.Errorf("i=%d: Linkname: got %v, want %v", i, got, want) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0)