- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for seller (0.2 sec)
-
src/cmd/addr2line/addr2line_test.go
os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } // addr2linePath returns the path to the "addr2line" binary to run. func addr2linePath(t testing.TB) string { t.Helper() testenv.MustHaveExec(t) addr2linePathOnce.Do(func() { addr2lineExePath, addr2linePathErr = os.Executable() }) if addr2linePathErr != nil { t.Fatal(addr2linePathErr) } return addr2lineExePath }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
src/builtin/builtin.go
// goroutine. When a function F calls panic, normal execution of F stops // immediately. Any functions whose execution was deferred by F are run in // the usual way, and then F returns to its caller. To the caller G, the // invocation of F then behaves like a call to panic, terminating G's // execution and running any deferred functions. This continues until all
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
// The C string is allocated in the C heap using malloc. // It is the caller's responsibility to arrange for it to be // freed, such as by calling C.free (be sure to include stdlib.h // if C.free is needed). func C.CString(string) *C.char // Go []byte slice to C array // The C array is allocated in the C heap using malloc. // It is the caller's responsibility to arrange for it to be
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/bufio/bufio_test.go
} func (w *teststringwriter) WriteString(s string) (int, error) { w.writeString += s return len(s), nil } func (w *teststringwriter) check(t *testing.T, write, writeString string) { t.Helper() if w.write != write { t.Errorf("write: expected %q, got %q", write, w.write) } if w.writeString != writeString { t.Errorf("writeString: expected %q, got %q", writeString, w.writeString) } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/bytes/buffer.go
slice, err := b.readSlice(delim) return string(slice), err } // NewBuffer creates and initializes a new [Buffer] using buf as its // initial contents. The new [Buffer] takes ownership of buf, and the // caller should not use buf after this call. NewBuffer is intended to // prepare a [Buffer] to read existing data. It can also be used to set // the initial size of the internal buffer for writing. To do that,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/archive/tar/common.go
} } if sysStat != nil { return h, sysStat(fi, h, doNameLookups) } return h, nil } // FileInfoNames extends [fs.FileInfo]. // Passing an instance of this to [FileInfoHeader] permits the caller // to avoid a system-dependent name lookup by specifying the Uname and Gname directly. type FileInfoNames interface { fs.FileInfo // Uname should give a user name. Uname() (string, error)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
misc/go_android_exec/exitcode_test.go
} if want := 1; want != code { t.Errorf("want exit code %d, got %d", want, code) } } func TestExitCodeMissing(t *testing.T) { var wantErr *regexp.Regexp check := func(text string) { t.Helper() var out strings.Builder f, exitStr := newExitCodeFilter(&out) if want := "exitcode="; want != exitStr { t.Fatalf("test assumes exitStr will be %q, but got %q", want, exitStr) } f.Write([]byte(text))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed May 03 14:54:58 GMT 2023 - 2.1K bytes - Viewed (0) -
src/archive/zip/writer.go
} return nil } // CreateHeader adds a file to the zip archive using the provided [FileHeader] // for the file metadata. [Writer] takes ownership of fh and may mutate // its fields. The caller must not modify fh after calling [Writer.CreateHeader]. // // This returns a [Writer] to which the file contents should be written. // The file's contents must be written to the io.Writer before the next
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0)