- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for PROVIDED (0.26 sec)
-
src/arena/arena.go
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) -
src/cmd/cgo/doc.go
duration of a C function call. Memory may be pinned more than once and must be unpinned exactly the same number of times it has been pinned. Go code may pass a Go pointer to C provided the memory to which it points does not contain any Go pointers to memory that is unpinned. When passing a pointer to a field in a struct, the Go memory in question is
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) -
doc/go1.17_spec.html
}--> <h2 id="Introduction">Introduction</h2> <p> This is the reference manual for the Go programming language as it was for language version 1.17, in October 2021, before the introduction of generics. It is provided for historical interest. The current reference manual can be found <a href="/doc/go_spec.html">here</a>. For more information and other documents, see <a href="/">go.dev</a>. </p> <p>
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) -
doc/next/6-stdlib/99-minor/slices/65238.md
The [Repeat] function returns a new slice that repeats the
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 101 bytes - Viewed (0) -
LICENSE
modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 01 22:40:04 GMT 2016 - 1.4K bytes - Viewed (0) -
src/bytes/bytes.go
return TrimRightFunc(TrimLeftFunc(s, f), f) } // TrimPrefix returns s without the provided leading prefix string. // If s doesn't start with prefix, s is returned unchanged. func TrimPrefix(s, prefix []byte) []byte { if HasPrefix(s, prefix) { return s[len(prefix):] } return s } // TrimSuffix returns s without the provided trailing suffix string. // If s doesn't end with suffix, s is returned unchanged.
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) -
src/archive/tar/writer.go
package tar import ( "errors" "fmt" "io" "io/fs" "path" "sort" "strings" "time" ) // Writer provides sequential writing of a tar archive. // [Writer.WriteHeader] begins a new file with the provided [Header], // and then Writer can be treated as an io.Writer to supply that file's data. type Writer struct { w io.Writer pad int64 // Amount of padding to write after current file entry
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/builtin/builtin.go
// argument, not a pointer to it. The specification of the result depends on // the type: // // Slice: The size specifies the length. The capacity of the slice is // equal to its length. A second integer argument may be provided to // specify a different capacity; it must be no smaller than the // length. For example, make([]int, 0, 10) allocates an underlying array // of size 10 and returns a slice of length 0 and capacity 10 that is
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) -
doc/go_spec.html
f1 := apply[[]int] // type argument for S explicitly provided, type argument for E inferred f2 := apply[[]string, string] // both type arguments explicitly provided var bytes []byte r := apply(bytes, func(byte) byte { … }) // both type arguments inferred from the function arguments </pre> <p> For a generic type, all type arguments must always be provided explicitly. </p>
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/archive/zip/struct.go
directoryRecords uint64 directorySize uint64 directoryOffset uint64 // relative to file commentLen uint16 comment string } // timeZone returns a *time.Location based on the provided offset. // If the offset is non-sensible, then this uses an offset of zero. func timeZone(offset time.Duration) *time.Location { const ( minOffset = -12 * time.Hour // E.g., Baker island at -12:00
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)