- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,760 for sfprintf (0.13 sec)
-
test/fixedbugs/issue30116.go
} func doIndex() { a := []int{1, 2, 3} for _, i := range indexes { printPanic(fmt.Sprintf("slice[%d]", i), func() { _ = a[i] }) } b := [3]int{1, 2, 3} for _, i := range indexes { printPanic(fmt.Sprintf("array[%d]", i), func() { _ = b[i] }) } c := "123" for _, i := range indexes { printPanic(fmt.Sprintf("string[%d]", i), func() { _ = c[i] }) } } func doSlice() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:33:38 UTC 2019 - 2.2K bytes - Viewed (0) -
test/fixedbugs/issue30116u.go
} func doIndex() { a := []int{1, 2, 3} for _, i := range indexes { printPanic(fmt.Sprintf("slice[%d]", i), func() { _ = a[i] }) } b := [3]int{1, 2, 3} for _, i := range indexes { printPanic(fmt.Sprintf("array[%d]", i), func() { _ = b[i] }) } c := "123" for _, i := range indexes { printPanic(fmt.Sprintf("string[%d]", i), func() { _ = c[i] }) } } func doSlice() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:33:38 UTC 2019 - 2.2K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD") _ = w.Flush() } func printMetrics(writer io.Writer, wm workloadMetrics) { w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight) _, _ = fmt.Fprintf(w, "%40s\t", wm.workload) _, _ = fmt.Fprintf(w, "%.3f\t", wm.totalRPS) _, _ = fmt.Fprintf(w, "%.3f\t", wm.errorRPS)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main2.c
die("sigaddset"); } i = pthread_sigmask(SIG_BLOCK, &mask, NULL); if (i != 0) { fprintf(stderr, "pthread_sigmask: %s\n", strerror(i)); exit(EXIT_FAILURE); } if (verbose) { printf("calling kill\n"); } if (kill(0, SIGIO) < 0) { die("kill"); } if (verbose) { printf("waiting for sigioSeen\n"); } // Wait until the signal has been delivered. i = 0;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.7K bytes - Viewed (0) -
cmd/preferredimports/preferredimports.go
} fileInfo, err := os.Stat(pathToFile) if err != nil { panic(fmt.Sprintf("Error stat'ing file: %s\n%s\n", pathToFile, err.Error())) } err = os.WriteFile(pathToFile, buffer.Bytes(), fileInfo.Mode()) if err != nil { panic(fmt.Sprintf("Error writing file: %s\n%s\n", pathToFile, err.Error())) } } } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:44 UTC 2024 - 7.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_fatalf.c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 14:57:16 UTC 2023 - 526 bytes - Viewed (0) -
src/log/slog/value.go
func (v Value) Int64() int64 { if g, w := v.Kind(), KindInt64; g != w { panic(fmt.Sprintf("Value kind is %s, not %s", g, w)) } return int64(v.num) } // Uint64 returns v's value as a uint64. It panics // if v is not an unsigned integer. func (v Value) Uint64() uint64 { if g, w := v.Kind(), KindUint64; g != w { panic(fmt.Sprintf("Value kind is %s, not %s", g, w)) } return v.num }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/mkpreempt.go
fmt.Fprintf(out, "//go:build %s || %sle\n\n", base, base) } fmt.Fprintf(out, "#include \"go_asm.h\"\n") if arch == "amd64" { fmt.Fprintf(out, "#include \"asm_amd64.h\"\n") } fmt.Fprintf(out, "#include \"textflag.h\"\n\n") fmt.Fprintf(out, "TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0\n") } func p(f string, args ...any) { fmted := fmt.Sprintf(f, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/shell.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.8K bytes - Viewed (0) -
src/cmd/go/proxy_test.go
if err != nil { if testing.Verbose() && encPath != "example.com/invalidpath/v1" { fmt.Fprintf(os.Stderr, "go proxy_test: %v\n", err) } continue } encVers := name[i+1:] vers, err := module.UnescapeVersion(encVers) if err != nil { fmt.Fprintf(os.Stderr, "go proxy_test: %v\n", err) continue } modList = append(modList, module.Version{Path: path, Version: vers}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 03 09:56:24 UTC 2023 - 12K bytes - Viewed (0)