- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for New (0.14 sec)
-
src/arena/arena.go
return runtime_arena_heapify(s).(T) } //go:linkname reflect_arena_New reflect.arena_New func reflect_arena_New(a *Arena, typ any) any { return runtime_arena_arena_New(a.a, typ) } //go:linkname runtime_arena_newArena func runtime_arena_newArena() unsafe.Pointer //go:linkname runtime_arena_arena_New func runtime_arena_arena_New(arena unsafe.Pointer, typ any) any
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) -
misc/wasm/wasm_exec.js
throw new Error("globalThis.TextDecoder is not available, polyfill required"); } const encoder = new TextEncoder("utf-8"); const decoder = new TextDecoder("utf-8"); globalThis.Go = class { constructor() { this.argv = ["js"]; this.env = {}; this.exit = (code) => { if (code !== 0) { console.warn("exit code:", code); } }; this._exitPromise = new Promise((resolve) => {
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
doc/next/6-stdlib/99-minor/net/62254.md
The new type [KeepAliveConfig] permits fine-tuning the keep-alive options for TCP connections, via a new [TCPConn.SetKeepAliveConfig]
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 205 bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Errorf("want=%q", data[0:len(written)]) t.Errorf("have=%q", written) } } } } } func TestWriterAppend(t *testing.T) { got := new(bytes.Buffer) var want []byte rn := rand.New(rand.NewSource(0)) w := NewWriterSize(got, 64) for i := 0; i < 100; i++ { // Obtain a buffer to append to. b := w.AvailableBuffer() if w.Available() != cap(b) {
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) -
doc/next/6-stdlib/99-minor/net/http/61472.md
The new [Request.CookiesNamed] method retrieves all cookies that match the given name....
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Mar 20 18:08:20 GMT 2024 - 87 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/net/http/46443.md
[Cookie] now preserves double quotes surrounding a cookie value. The new [Cookie.Quoted] field indicates whether the [Cookie.Value]
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 19 14:33:17 GMT 2024 - 155 bytes - Viewed (0) -
src/cmd/api/api_test.go
"A", "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct", }, ok: false, out: "+pkg syscall, type RawSockaddrInet6 struct\n", }, } for _, tt := range tests { buf := new(strings.Builder) gotOK := compareAPI(buf, tt.features, tt.required, tt.exception) if gotOK != tt.ok { t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok) } if got := buf.String(); got != tt.out {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
} swigDir := strings.TrimSpace(string(output)) _, err = os.Stat(filepath.Join(swigDir, "go")) if err != nil { t.Skip("swig is missing Go support") } // Check that swig has a new enough version. // See https://golang.org/issue/22858. out, err := exec.Command(swig, "-version").CombinedOutput() if err != nil { t.Skipf("failed to get swig version:%s\n%s", err, string(out)) }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
doc/go1.17_spec.html
(or the parameter lists if the block is the function body) with the same type, and at least one of the non-<a href="#Blank_identifier">blank</a> variables is new. As a consequence, redeclaration can only appear in a multi-variable short declaration. Redeclaration does not introduce a new variable; it just assigns a new value to the original. </p> <pre> field1, offset := nextField(str, 0)
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l. To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression matching the new flags. To disallow flags that would otherwise be allowed, set CGO_CFLAGS_DISALLOW to a regular expression matching arguments that must be disallowed. In both cases the regular expression must match
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)