- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 155 for original (0.12 sec)
-
src/crypto/x509/pkcs8_test.go
if err != nil { t.Errorf("%s: failed to marshal into PKCS#8: %s", test.name, err) continue } if !bytes.Equal(derBytes, reserialised) { t.Errorf("%s: marshaled PKCS#8 didn't match original: got %x, want %x", test.name, reserialised, derBytes) continue } if ecKey, isEC := privKey.(*ecdsa.PrivateKey); isEC { ecdhKey, err := ecKey.ECDH() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 19 16:45:10 UTC 2022 - 9K bytes - Viewed (0) -
src/go/types/object_test.go
// the same Func Object as the original method. See also go.dev/issue/34421. func TestEmbeddedMethod(t *testing.T) { const src = `package p; type I interface { error }` pkg := mustTypecheck(src, nil, nil) // get original error.Error method eface := Universe.Lookup("error") orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error") if orig == nil { t.Fatalf("original error.Error not found") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/dist/README
in practice any release ≥ Go 1.20.6 but < Go 1.x will work as the bootstrap base. Releases ≥ Go 1.x are very likely to work as well. See https://go.dev/s/go15bootstrap for more details about the original bootstrap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 25 17:20:22 UTC 2023 - 1K bytes - Viewed (0) -
src/net/main_windows_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import "internal/poll" var ( // Placeholders for saving original socket system calls. origWSASocket = wsaSocketFunc origClosesocket = poll.CloseFunc origConnect = connectFunc origConnectEx = poll.ConnectExFunc origListen = listenFunc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:36:30 UTC 2023 - 1K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue59740.go
func f(F[int]) {} func g[T any](F[T]) {} func _() { g(f /* ERROR "type func(F[int]) of f does not match F[T] (cannot infer T)" */) // type inference/unification must not panic } // original test case from issue type List[T any] func(T, func(T, List[T]) T) T func nil[T any](n T, _ List[T]) T { return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 12:32:24 UTC 2023 - 800 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/trim.go
} // If the original block contained u = φ(u0, u1, ..., un) and // the current phi is // v = φ(v0, v1, ..., u, ..., vk) // then the merged phi is // v = φ(v0, v1, ..., u0, ..., vk, u1, ..., un) v.SetArg(i, u.Args[0]) v.AddArgs(u.Args[1:]...) } else { // If the original block contained u = φ(u0, u1, ..., un) and // the current phi is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
// The underlying scanner elides all spaces except newline, so the input looks like a stream of // Tokens; original spacing is lost but we don't need it. type TokenReader interface { // Next returns the next token. Next() ScanToken // The following methods all refer to the most recent token returned by Next. // Text returns the original string representation of the token. Text() string // File reports the source file name of the token.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/net/http/responsecontroller.go
type ResponseController struct { rw ResponseWriter } // NewResponseController creates a [ResponseController] for a request. // // The ResponseWriter should be the original value passed to the [Handler.ServeHTTP] method, // or have an Unwrap method returning the original ResponseWriter. // // If the ResponseWriter implements any of the following methods, the ResponseController // will call them as appropriate: // // Flush()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue57522.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p // A simplified version of the code in the original report. type S[T any] struct{} var V = S[any]{} func (fs *S[T]) M(V.M /* ERROR "V.M is not a type" */) {} // Other minimal reproducers. type S1[T any] V1.M /* ERROR "V1.M is not a type" */ type V1 = S1[any]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 11 22:29:34 UTC 2023 - 728 bytes - Viewed (0) -
src/go/internal/typeparams/typeparams.go
return &ast.IndexListExpr{ X: x, Lbrack: lbrack, Indices: exprs, Rbrack: rbrack, } } } // IndexExpr wraps an ast.IndexExpr or ast.IndexListExpr. // // Orig holds the original ast.Expr from which this IndexExpr was derived. // // Note: IndexExpr (intentionally) does not wrap ast.Expr, as that leads to // accidental misuse such as encountered in golang/go#63933. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:05 UTC 2024 - 1.7K bytes - Viewed (0)