- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Sprint (0.72 sec)
-
src/bytes/bytes_test.go
b[i+j] = byte(0) } } } } var bmbuf []byte func valName(x int) string { if s := x >> 20; s<<20 == x { return fmt.Sprintf("%dM", s) } if s := x >> 10; s<<10 == x { return fmt.Sprintf("%dK", s) } return fmt.Sprint(x) } func benchBytes(b *testing.B, sizes []int, f func(b *testing.B, n int)) { for _, n := range sizes { if isRaceBuilder && n > 4<<10 { continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
typecheck(src, &conf, info) got := fmt.Sprint(errs) if !strings.Contains(got, test.wantErr) { t.Errorf("%q: unexpected error: got %q, want substring %q", src, got, test.wantErr) } // Assert that declarations were type checked nonetheless. var gotObjs []string for id, obj := range info.Defs { if obj != nil { objStr := strings.ReplaceAll(fmt.Sprintf("%s:%T", id.Value, obj), "types2", "types")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Errorf("%s: len(Peek(%d)) = %v; want %v", tt.name, tt.peekSize, len(peekBuf), tt.peekSize) continue } } discarded, err := br.Discard(tt.n) if ge, we := fmt.Sprint(err), fmt.Sprint(tt.wantErr); discarded != tt.want || ge != we { t.Errorf("%s: Discard(%d) = (%v, %v); want (%v, %v)", tt.name, tt.n, discarded, ge, tt.want, we) continue } if bn := br.Buffered(); bn != tt.wantBuffered {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
} addTestVet(b, p, run, nil) print := &work.Action{ Mode: "test print", Actor: work.ActorFunc(builderPrintTest), Deps: []*work.Action{run}, Package: p, IgnoreFail: true, // print even if test failed } return build, run, print, nil } // Build Package structs describing: // pmain - pkg.test binary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/cgo/out.go
fmt.Fprint(fgo2, "\tif e != 0 {\n") fmt.Fprint(fgo2, "\t\treturn ") if !void { fmt.Fprint(fgo2, "r, ") } fmt.Fprint(fgo2, "e\n") fmt.Fprint(fgo2, "\t}\n") fmt.Fprint(fgo2, "\treturn ") if !void { fmt.Fprint(fgo2, "r, ") } fmt.Fprint(fgo2, "nil\n") } else if !void { fmt.Fprint(fgo2, "\treturn r\n") } fmt.Fprint(fgo2, "}\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/cmd/dist/build.go
format = "set %s=%s\r\n" } xprintf(format, "GO111MODULE", "") xprintf(format, "GOARCH", goarch) xprintf(format, "GOBIN", gorootBin) xprintf(format, "GODEBUG", os.Getenv("GODEBUG")) xprintf(format, "GOENV", "off") xprintf(format, "GOFLAGS", "") xprintf(format, "GOHOSTARCH", gohostarch) xprintf(format, "GOHOSTOS", gohostos) xprintf(format, "GOOS", goos) xprintf(format, "GOPROXY", os.Getenv("GOPROXY"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
} if !first { fmt.Printf(",") } fmt.Print(&s.registers[r]) first = false } fmt.Printf("]") } } if avoid := s.desired[b.ID].avoid; avoid != 0 { fmt.Printf(" avoid=%v", s.RegMaskString(avoid)) } fmt.Println() } } } // A desiredState represents desired register assignments. type desiredState struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
for _, n := range names { if n.Kind == "fconst" { fmt.Fprintf(&b, "\t%s,\n", n.C) } else { fmt.Fprintf(&b, "\t0,\n") } } fmt.Fprintf(&b, "\t1\n") fmt.Fprintf(&b, "};\n") // do the same work for strings. for i, n := range names { if n.Kind == "sconst" { fmt.Fprintf(&b, "const char __cgodebug_str__%d[] = %s;\n", i, n.C)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
} if getD.set { if !getD.value { base.Fatalf("go: -d flag may not be set to false") } fmt.Fprintf(os.Stderr, "go: -d flag is deprecated. -d=true is a no-op\n") } if *getF { fmt.Fprintf(os.Stderr, "go: -f flag is a no-op\n") } if *getFix { fmt.Fprintf(os.Stderr, "go: -fix flag is a no-op\n") } if *getM { base.Fatalf("go: -m flag is no longer supported") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0)