- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Greaves (0.19 sec)
-
src/arena/arena.go
runtime_arena_arena_Free(a.a) a.a = nil } // New creates a new *T in the provided arena. The *T must not be used after // the arena is freed. Accessing the value after free may result in a fault, // but this fault is also not guaranteed. func New[T any](a *Arena) *T { return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T) } // MakeSlice creates a new []T with the provided capacity and length. The []T must
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 4.3K bytes - Viewed (0) -
doc/go1.17_spec.html
Polar = polar // Polar and polar denote identical types ) </pre> <h4 id="Type_definitions">Type definitions</h4> <p> A type definition creates a new, distinct type with the same <a href="#Types">underlying type</a> and operations as the given type, and binds an identifier to it. </p> <pre class="ebnf"> TypeDef = identifier Type . </pre>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/archive/tar/writer.go
// err is a persistent error. // It is only the responsibility of every exported method of Writer to // ensure that this error is sticky. err error } // NewWriter creates a new Writer writing to w. func NewWriter(w io.Writer) *Writer { return &Writer{w: w, curr: ®FileWriter{w, 0}} } type fileWriter interface { io.Writer fileState ReadFrom(io.Reader) (int64, error)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
src/bytes/bytes.go
// This allocates a total of 32 bytes even though the upper half // is unused to avoid bounds checks in asciiSet.contains. type asciiSet [8]uint32 // makeASCIISet creates a set of ASCII characters and reports whether all // characters in chars are ASCII. func makeASCIISet(chars string) (as asciiSet, ok bool) { for i := 0; i < len(chars); i++ { c := chars[i] if c >= utf8.RuneSelf {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
doc/go_spec.html
Polar = polar // Polar and polar denote identical types ) </pre> <h4 id="Type_definitions">Type definitions</h4> <p> A type definition creates a new, distinct type with the same <a href="#Underlying_types">underlying type</a> and operations as the given type and binds an identifier, the <i>type name</i>, to it. </p> <pre class="ebnf">
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
src/bytes/buffer.go
// in delim. func (b *Buffer) ReadString(delim byte) (line string, err error) { 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
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
c_ISLNK = 0120000 // Symbolic link c_ISBLK = 060000 // Block special file c_ISCHR = 020000 // Character special file c_ISSOCK = 0140000 // Socket ) // FileInfoHeader creates a partially-populated [Header] from fi. // If fi describes a symlink, FileInfoHeader records link as the link target. // If fi describes a directory, a slash is appended to the name. //
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) -
src/archive/zip/struct.go
func (fi headerFileInfo) Info() (fs.FileInfo, error) { return fi, nil } func (fi headerFileInfo) String() string { return fs.FormatFileInfo(fi) } // FileInfoHeader creates a partially-populated [FileHeader] from an // fs.FileInfo. // Because fs.FileInfo's Name method returns only the base name of // the file it describes, it may be necessary to modify the Name field
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/net/http/httptest/59473.md
The new [NewRequestWithContext] method creates an incoming request with
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 93 bytes - Viewed (0) -
src/archive/tar/reader.go
// ensure that this error is sticky. err error } type fileReader interface { io.Reader fileState WriteTo(io.Writer) (int64, error) } // NewReader creates a new [Reader] reading from r. func NewReader(r io.Reader) *Reader { return &Reader{r: r, curr: ®FileReader{r, 0}} } // Next advances to the next entry in the tar archive.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0)