- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 158 for original (0.15 sec)
-
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/go/internal/cmdflag/flag.go
// A FlagNotDefinedError indicates a flag-like argument that does not correspond // to any registered flag in a FlagSet. type FlagNotDefinedError struct { RawArg string // the original argument, like --foo or -foo=value Name string HasValue bool // is this the -foo=value or --foo=value form? Value string // only provided if HasValue is true } func (e FlagNotDefinedError) Error() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 02:38:04 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/go/internal/str/path.go
// Joining a relative path to a bare Windows drive letter produces a path // relative to the working directory on that drive, but the original path // was absolute, not relative. Keep the leading path separator so that it // remains absolute when joined to prefix. } else { // Prefix ends in a regular path element, so strip the path separator that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/cgo/handle.go
// breaking the cgo pointer passing rules. A Handle is an integer // value that can represent any Go value. A Handle can be passed // through C and back to Go, and Go code can use the Handle to // retrieve the original Go value. // // The underlying type of Handle is guaranteed to fit in an integer type // that is large enough to hold the bit pattern of any pointer. The zero
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:59:11 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
// constant initialization expression, pos is the position of // the original expression, and not of the currently declared // constant identifier. Use the provided errpos instead. // TODO(gri) We may also want to augment the error message and // refer to the position (pos) in the original expression. if check.errpos.Pos().IsKnown() { assert(check.iota != nil) pos = check.errpos }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/math/acosh.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math // The original C code, the long comment, and the constants // below are from FreeBSD's /usr/src/lib/msun/src/e_acosh.c // and came with this notice. The go code is a simplified // version of the original C. // // ==================================================== // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/objdump/main.go
// // file:line // address: assembly // address: assembly // ... // // Each stanza gives the disassembly for a contiguous range of addresses // all mapped to the same original source file and line number. // This mode is intended for use by pprof. package main import ( "flag" "fmt" "log" "os" "regexp" "strconv" "strings" "cmd/internal/objfile"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.7K 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/math/tan.go
// license that can be found in the LICENSE file. package math /* Floating-point tangent. */ // The original C code, the long comment, and the constants // below were from http://netlib.sandia.gov/cephes/cmath/sin.c, // available from http://www.netlib.org/cephes/cmath.tgz. // The go code is a simplified version of the original C. // // tan.c // // Circular tangent // // SYNOPSIS: // // double x, y, tan();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 08 17:27:54 UTC 2022 - 3.7K bytes - Viewed (0) -
src/math/atanh.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math // The original C code, the long comment, and the constants // below are from FreeBSD's /usr/src/lib/msun/src/e_atanh.c // and came with this notice. The go code is a simplified // version of the original C. // // ==================================================== // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2K bytes - Viewed (0)