- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 3,760 for sfprintf (0.27 sec)
-
src/cmd/compile/internal/syntax/dumper.go
p.dump(x.Index(i), nil) p.printf("\n") } p.indent-- } p.printf("}") case reflect.Struct: typ := x.Type() // if span, ok := x.Interface().(lexical.Span); ok { // p.printf("%s", &span) // return // } p.printf("%s {", typ) p.indent++ first := true if n != nil { p.printf("\n") first = false // p.printf("Span: %s\n", n.Span())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 08 17:32:14 UTC 2021 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main0.c
if (!ran_init) { fprintf(stderr, "ERROR: DidInitRun returned unexpected results: %d\n", ran_init); return 1; } int8_t ran_main = DidMainRun(); if (ran_main) { fprintf(stderr, "ERROR: DidMainRun returned unexpected results: %d\n", ran_main); return 1; } int32_t from_pkg = FromPkg(); if (from_pkg != 1024) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.1K bytes - Viewed (0) -
src/go/types/errors.go
func (err *error_) msg() string { if err.empty() { return "no error" } var buf strings.Builder for i := range err.desc { p := &err.desc[i] if i > 0 { fmt.Fprint(&buf, "\n\t") if p.posn.Pos().IsValid() { fmt.Fprintf(&buf, "%s: ", err.check.fset.Position(p.posn.Pos())) } } buf.WriteString(p.msg) } return buf.String() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0) -
src/encoding/gob/encgen.go
log.Fatal("usage: encgen [--output filename]") } var b bytes.Buffer fmt.Fprintf(&b, "// Code generated by go run encgen.go -output %s; DO NOT EDIT.\n", *output) fmt.Fprint(&b, header) printMaps(&b, "Array") fmt.Fprint(&b, "\n") printMaps(&b, "Slice") for _, t := range types { fmt.Fprintf(&b, arrayHelper, t.lower, t.upper) fmt.Fprintf(&b, sliceHelper, t.lower, t.upper, t.zero, t.encoder) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:39:09 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/go/internal/test/cover.go
defer coverMerge.Unlock() expect := fmt.Sprintf("mode: %s\n", cfg.BuildCoverMode) buf := make([]byte, len(expect)) r, err := os.Open(file) if err != nil { // Test did not create profile, which is OK. return } defer r.Close() n, err := io.ReadFull(r, buf) if n == 0 { return } if err != nil || string(buf) != expect { fmt.Fprintf(ew, "error: test wrote malformed coverage profile %s.\n", file)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main1.c
int check_int8(void* handle, const char* fname, int8_t want) { int8_t (*fn)(); fn = (int8_t (*)())dlsym(handle, fname); if (!fn) { fprintf(stderr, "ERROR: missing %s: %s\n", fname, dlerror()); return 1; } signed char ret = fn(); if (ret != want) { fprintf(stderr, "ERROR: %s=%d, want %d\n", fname, ret, want); return 1; } return 0; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/ld_test.go
buf := new(bytes.Buffer) fmt.Fprintf(buf, "TEXT a(SB),$0-0\n") for i := 0; i < 1<<17; i++ { fmt.Fprintf(buf, "\tADD $0, X0, X0\n") } fmt.Fprintf(buf, "\tCALL b(SB)\n") fmt.Fprintf(buf, "\tRET\n") fmt.Fprintf(buf, "TEXT b(SB),$0-0\n") fmt.Fprintf(buf, "\tRET\n") fmt.Fprintf(buf, "TEXT c(SB),$0-0\n") fmt.Fprintf(buf, "\tCALL b(SB)\n") fmt.Fprintf(buf, "\tRET\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 05:45:53 UTC 2023 - 10.3K bytes - Viewed (0) -
samples/tcp-echo/src/main.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 10 19:10:51 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/i22558.go
type big struct { pile [768]int8 } type thing struct { name string next *thing self *thing stuff []big } func test(t *thing, u *thing) { if t.next != nil { return } fmt.Fprintf(os.Stderr, "%s\n", t.name) u.self = u t.self = t t.next = u for _, p := range t.stuff { if isFoo(t, p) { return } } } //go:noinline func isFoo(t *thing, b big) bool { return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 773 bytes - Viewed (0) -
src/internal/coverage/encodemeta/encodefile.go
// Now emit blobs themselves. for k, blob := range blobs { if m.debug { fmt.Fprintf(os.Stderr, "=+= writing blob %d len %d at off=%d hash %s\n", k, len(blob), off2, fmt.Sprintf("%x", md5.Sum(blob))) } if _, err = m.w.Write(blob); err != nil { return fmt.Errorf("error writing %s: %v", m.mfname, err) } if m.debug { fmt.Fprintf(os.Stderr, "=+= wrote package payload of %d bytes\n", len(blob)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 12:40:42 UTC 2022 - 3.4K bytes - Viewed (0)