- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 69 for linkname (0.55 sec)
-
src/runtime/string.go
// n is the length of the slice. // Buf is a fixed-size buffer for the result, // it is not nil if the result does not escape. // // slicebytetostring should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/cloudwego/frugal // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname slicebytetostring
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
src/go/types/api.go
// // For a tutorial, see https://go.dev/s/types-tutorial. package types import ( "bytes" "fmt" "go/ast" "go/constant" "go/token" . "internal/types/errors" _ "unsafe" // for linkname ) // An Error describes a type-checking error; it implements the error interface. // A "soft" error is an error that still permits a valid interpretation of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/net/url/url.go
} u.Path = path if escp := escape(path, encodePath); p == escp { // Default encoding is fine. u.RawPath = "" } else { u.RawPath = p } return nil } // for linkname because we cannot linkname methods directly func badSetPath(*URL, string) error // EscapedPath returns the escaped form of u.Path. // In general there are multiple possible escaped forms of any path.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0) -
src/cmd/link/link_test.go
{"coro_asm", false}, // pull-only linkname is not ok {"coro2.go", false}, // legacy bad linkname is ok, for now {"fastrand.go", true}, {"badlinkname.go", true}, } for _, test := range tests { test := test t.Run(test.src, func(t *testing.T) { t.Parallel() src := filepath.Join("testdata", "linkname", test.src) exe := filepath.Join(tmpdir, test.src+".exe")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
src/database/sql/convert.go
// Type conversions for Scan. package sql import ( "bytes" "database/sql/driver" "errors" "fmt" "reflect" "strconv" "time" "unicode" "unicode/utf8" _ "unsafe" // for linkname ) var errNilPtr = errors.New("destination pointer is nil") // embedded in descriptive error func describeNamedValue(nv *driver.NamedValue) string { if len(nv.Name) == 0 { return fmt.Sprintf("$%d", nv.Ordinal)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/sema.go
func (t *semTable) rootFor(addr *uint32) *semaRoot { return &t[(uintptr(unsafe.Pointer(addr))>>3)%semTabSize].root } // sync_runtime_Semacquire should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gvisor.dev/gvisor // - github.com/sagernet/gvisor // // Do not remove or change the type signature. // See go.dev/issue/67401. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 19K bytes - Viewed (0) -
src/encoding/json/encode.go
package json import ( "bytes" "cmp" "encoding" "encoding/base64" "fmt" "math" "reflect" "slices" "strconv" "strings" "sync" "unicode" "unicode/utf8" _ "unsafe" // for linkname ) // Marshal returns the JSON encoding of v. // // Marshal traverses the value v recursively. // If an encountered value implements [Marshaler] // and is not a nil pointer, Marshal calls [Marshaler.MarshalJSON]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
} func libc_getfsstat_trampoline() //go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib" // utimensat should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/tetratelabs/wazero // // See go.dev/issue/67401. // //go:linkname utimensat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
src/net/net.go
library functions, such as GetAddrInfo and DnsQuery. */ package net import ( "context" "errors" "internal/poll" "io" "os" "sync" "syscall" "time" _ "unsafe" // for linkname ) // Addr represents a network end point address. // // The two methods [Addr.Network] and [Addr.String] conventionally return strings // that can be passed as the arguments to [Dial], but the exact form
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
AttrABIWrapper // IsPcdata indicates this is a pcdata symbol. AttrPcdata // PkgInit indicates this is a compiler-generated package init func. AttrPkgInit // Linkname indicates this is a go:linkname'd symbol. AttrLinkname // attrABIBase is the value at which the ABI is encoded in // Attribute. This must be last; all bits after this are // assumed to be an ABI value. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0)