- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for twoprint (0.29 sec)
-
doc/go_mem.html
In this program: </p> <pre> var a string var once sync.Once func setup() { a = "hello, world" } func doprint() { once.Do(setup) print(a) } func twoprint() { go doprint() go doprint() } </pre> <p> calling <code>twoprint</code> will call <code>setup</code> exactly once. The <code>setup</code> function will complete before either call of <code>print</code>.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
b = bytes.TrimFunc(b, func(r rune) bool { return r == '{' || r == '}' || r == '\n' || r == '\r' }) } toPrint = append(toPrint, fmt.Sprintf("%s%s", b0, string(b))) } } sort.Strings(toPrint) fmt.Printf("{\n%s\n}\n", strings.Join(toPrint, ",\n")) if len(combineFiles) > 0 { for k, v := range combineFiles { if err := combine(v, k); err != nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 19.7K bytes - Viewed (1) -
api/go1.txt
pkg syscall (linux-386), const PR_ENDIAN_BIG ideal-int pkg syscall (linux-386), const PR_ENDIAN_LITTLE ideal-int pkg syscall (linux-386), const PR_ENDIAN_PPC_LITTLE ideal-int pkg syscall (linux-386), const PR_FPEMU_NOPRINT ideal-int pkg syscall (linux-386), const PR_FPEMU_SIGFPE ideal-int pkg syscall (linux-386), const PR_FP_EXC_ASYNC ideal-int pkg syscall (linux-386), const PR_FP_EXC_DISABLED ideal-int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
api/go1.1.txt
pkg syscall (linux-386), const PR_ENDIAN_BIG = 0 pkg syscall (linux-386), const PR_ENDIAN_LITTLE = 1 pkg syscall (linux-386), const PR_ENDIAN_PPC_LITTLE = 2 pkg syscall (linux-386), const PR_FPEMU_NOPRINT = 1 pkg syscall (linux-386), const PR_FPEMU_SIGFPE = 2 pkg syscall (linux-386), const PR_FP_EXC_ASYNC = 2 pkg syscall (linux-386), const PR_FP_EXC_DISABLED = 0 pkg syscall (linux-386), const PR_FP_EXC_DIV = 65536
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (linux-arm-cgo), const PR_ENDIAN_LITTLE ideal-int pkg syscall (linux-arm-cgo), const PR_ENDIAN_PPC_LITTLE ideal-int pkg syscall (linux-arm-cgo), const PR_FPEMU_NOPRINT ideal-int pkg syscall (linux-arm-cgo), const PR_FPEMU_SIGFPE ideal-int pkg syscall (linux-arm-cgo), const PR_FP_EXC_ASYNC ideal-int pkg syscall (linux-arm-cgo), const PR_FP_EXC_DISABLED ideal-int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2)