- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,189 for sprint (0.32 sec)
-
cni/pkg/config/config.go
b.WriteString("MonitoringPort: " + fmt.Sprint(c.MonitoringPort) + "\n") b.WriteString("LogUDSAddress: " + fmt.Sprint(c.LogUDSAddress) + "\n") b.WriteString("CNIEventAddress: " + fmt.Sprint(c.CNIEventAddress) + "\n") b.WriteString("ZtunnelUDSAddress: " + fmt.Sprint(c.ZtunnelUDSAddress) + "\n") b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n") b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 5.9K bytes - Viewed (0) -
test/typeswitch1.go
*len = byte(x) } func whatis(x interface{}) string { switch xx := x.(type) { default: return fmt.Sprint("default ", xx) case int, int8, int16, int32: return fmt.Sprint("signed ", xx) case int64: return fmt.Sprint("signed64 ", int64(xx)) case uint, uint8, uint16, uint32: return fmt.Sprint("unsigned ", xx) case uint64: return fmt.Sprint("unsigned64 ", uint64(xx)) case nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1.6K bytes - Viewed (0) -
test/fixedbugs/issue5162.go
} if s := fmt.Sprint(onesA == onesB, onesA != twos, onesB != twos); s != "true true true" { println("fail in CheckEqNNN_TTTExtraVar:", s) } if s := fmt.Sprint(onesB == onesX); s != "true" { println("extra var fail in CheckEqNNN_TTTExtraVar") } } ` func main() { fmt.Print("// run\n\n") fmt.Print("// THIS FILE IS AUTO-GENERATED\n\n") fmt.Print("package main\n\n") fmt.Println(`import "fmt"`)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 19:01:50 UTC 2013 - 2.3K bytes - Viewed (0) -
src/internal/fmtsort/sort_test.go
type sortTest struct { data any // Always a map. print string // Printed result using our custom printer. } var sortTests = []sortTest{ { map[int]string{7: "bar", -3: "foo"}, "-3:foo 7:bar", }, { map[uint8]string{7: "bar", 3: "foo"}, "3:foo 7:bar", }, { map[string]string{"7": "bar", "3": "foo"}, "3:foo 7:bar", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.9K bytes - Viewed (0) -
internal/color/color.go
if IsTerminal() { return color.New(color.FgYellow).SprintfFunc() } return fmt.Sprintf }() Green = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgGreen).SprintFunc() } return fmt.Sprint }() Greenf = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgGreen).SprintfFunc() } return fmt.Sprintf
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/logger/console.go
if msg == "" { fmt.Fprintln(Output, args...) } else { fmt.Fprintf(Output, msg, args...) } } type errorMsg struct{} var errorMessage errorMsg func (i errorMsg) json(msg string, args ...interface{}) { var message string if msg != "" { message = fmt.Sprintf(msg, args...) } else { message = fmt.Sprint(args...) } logJSON, err := json.Marshal(&log.Entry{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_test_simple.txt
for i := 0; i < b.N; i++ { _ = fmt.Sprint("Test for bench") } } -- example_test.go -- package testlist import ( "fmt" ) func ExampleSimple() { fmt.Println("Test with Output.") // Output: Test with Output. } func ExampleWithEmptyOutput() { fmt.Println("") // Output: } func ExampleNoOutput() { _ = fmt.Sprint("Test with no output") } -- test_test.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 856 bytes - Viewed (0) -
src/go/build/constraint/expr_test.go
return } if x.String() != tt.x.String() { t.Errorf("Constraint(%q):\nhave %v\nwant %v", tt.in, x, tt.x) } }) } } var plusBuildLinesTests = []struct { in string out []string err error }{ {"x", []string{"x"}, nil}, {"x && !y", []string{"x,!y"}, nil}, {"x || y", []string{"x y"}, nil}, {"x && (y || z)", []string{"x", "y z"}, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 18 22:36:55 UTC 2021 - 7.6K bytes - Viewed (0) -
utils/tests/utils.go
t.Errorf("%v: expect: %v, got %v after time round", utils.FileWithLineNum(), expect.(time.Time), curTime) } } else if fmt.Sprint(got) != fmt.Sprint(expect) { t.Errorf("%v: expect: %#v, got %#v", utils.FileWithLineNum(), expect, got) } } if fmt.Sprint(got) == fmt.Sprint(expect) { return } if reflect.Indirect(reflect.ValueOf(got)).IsValid() != reflect.Indirect(reflect.ValueOf(expect)).IsValid() {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/test/framework/components/gcemetadata/kube.go
return nil, err } c.address = net.JoinHostPort(lb, fmt.Sprint(svc.Spec.Ports[0].Port)) c.addressVM = net.JoinHostPort(lb, fmt.Sprint(svc.Spec.Ports[1].Port)) } else { c.address = net.JoinHostPort(svc.Spec.ClusterIP, fmt.Sprint(svc.Spec.Ports[0].Port)) c.addressVM = net.JoinHostPort(svc.Spec.ClusterIP, fmt.Sprint(svc.Spec.Ports[1].Port)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 3.4K bytes - Viewed (0)