- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 5,349 for fmtB (0.04 sec)
-
test/stringrange.go
r, size := utf8.DecodeRuneInString(s[i:len(s)]) // check it another way if i != offset { fmt.Printf("unexpected offset %d not %d\n", i, offset) ok = false } if r != expect[cnum] { fmt.Printf("unexpected rune %d from DecodeRuneInString: %x not %x\n", i, r, expect[cnum]) ok = false } if c != expect[cnum] { fmt.Printf("unexpected rune %d from range: %x not %x\n", i, r, expect[cnum]) ok = false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 08 21:01:23 UTC 2012 - 1.5K bytes - Viewed (0) -
test/divide.go
// Test divide corner cases. package main import "fmt" func f8(x, y, q, r int8) { if t := x / y; t != q { fmt.Printf("%d/%d = %d, want %d\n", x, y, t, q) panic("divide") } if t := x % y; t != r { fmt.Printf("%d%%%d = %d, want %d\n", x, y, t, r) panic("divide") } } func f16(x, y, q, r int16) { if t := x / y; t != q { fmt.Printf("%d/%d = %d, want %d\n", x, y, t, q) panic("divide") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/conflict.go
return fmt.Sprintf("%q", manager) } managerStr := fmt.Sprintf("%q", encodedManager.Manager) if encodedManager.Subresource != "" { managerStr = fmt.Sprintf("%s with subresource %q", managerStr, encodedManager.Subresource) } if encodedManager.Operation == metav1.ManagedFieldsOperationUpdate { if encodedManager.Time == nil { return fmt.Sprintf("%s using %v", managerStr, encodedManager.APIVersion)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 2.9K bytes - Viewed (0) -
internal/color/color.go
} return fmt.Sprintf }() RedBold = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintFunc() } return fmt.Sprint }() RedBoldf = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).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) -
istioctl/pkg/describe/describe.go
fmt.Fprintf(writer, "WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n") } } } } fmt.Fprintf(writer, "Pod: %s\n", kname(pod.ObjectMeta)) fmt.Fprintf(writer, " Pod Revision: %s\n", revision) if len(ports) > 0 { fmt.Fprintf(writer, " Pod Ports: %s\n", strings.Join(ports, ", ")) } else { fmt.Fprintf(writer, " Pod does not expose ports\n") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0) -
pkg/config/validation/agent/extensionprovider.go
if config == nil { return fmt.Errorf("nil TracingLightStepProvider") } if err := validateExtensionProviderService(config.Service); err != nil { errs = AppendErrors(errs, err) } if err := ValidatePort(int(config.Port)); err != nil { errs = AppendErrors(errs, fmt.Errorf("invalid service port: %v", err)) } if config.AccessToken == "" { errs = AppendErrors(errs, fmt.Errorf("access token is required")) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11K bytes - Viewed (0) -
src/hash/crc32/gen_const_ppc64le.go
fmt.Fprintf(w, "\t/* x^%d mod p(x)%s, x^%d mod p(x)%s, x^%d mod p(x)%s, x^%d mod p(x)%s */\n", i+128, "", i+96, "", i+64, "", i+32, "") fmt.Fprintf(w, "DATA ·%sConst+%d(SB)/8,$0x%08x%08x\n", polyid, j*8, c, d) fmt.Fprintf(w, "DATA ·%sConst+%d(SB)/8,$0x%08x%08x\n", polyid, (j+1)*8, a, b) j += 2 fmt.Fprintf(w, "\n") } fmt.Fprintf(w, "GLOBL ·%sConst(SB),RODATA,$4336\n", polyid)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 20:44:20 UTC 2024 - 4.5K bytes - Viewed (0) -
src/math/big/calibrate_test.go
maxSqr := computeSqrThreshold(200, 500, 10, 3, sqrModeBasic, sqrModeKaratsuba) if minSqr != 0 { fmt.Printf("found basicSqrThreshold = %d\n", minSqr) } else { fmt.Println("no basicSqrThreshold found") } if maxSqr != 0 { fmt.Printf("found karatsubaSqrThreshold = %d\n", maxSqr) } else { fmt.Println("no karatsubaSqrThreshold found") } } func karatsubaLoad(b *testing.B) { BenchmarkMul(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.6K bytes - Viewed (0) -
test/typeparam/minimp.dir/main.go
package main import ( "./a" "fmt" ) func main() { const want = 2 if got := a.Min[int](2, 3); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } if got := a.Min(2, 3); got != want { panic(fmt.Sprintf("want %d, got %d", want, got)) } if got := a.Min[float64](3.5, 2.0); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 855 bytes - Viewed (0) -
cmd/genman/gen_kube_man.go
printOptions(out, command) if len(command.Example) > 0 { fmt.Fprintf(out, "# EXAMPLE\n") fmt.Fprintf(out, "```\n%s\n```\n", command.Example) } if len(command.Commands()) > 0 || len(parent) > 0 { fmt.Fprintf(out, "# SEE ALSO\n") if len(parent) > 0 { fmt.Fprintf(out, "**%s(1)**, ", dparent) } for _, c := range command.Commands() { fmt.Fprintf(out, "**%s-%s(1)**, ", dname, c.Name())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 12:03:09 UTC 2023 - 6.3K bytes - Viewed (0)