- Sort Score
- Result 10 results
- Languages All
Results 51 - 57 of 57 for linkage (0.19 sec)
-
src/net/ipsock.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import ( "context" "internal/bytealg" "runtime" "sync" _ "unsafe" // for linkname ) // BUG(rsc,mikio): On DragonFly BSD and OpenBSD, listening on the // "tcp" and "udp" networks does not listen for both IPv4 and IPv6 // connections. This is due to the fact that IPv4 traffic will not be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_arm.go
//go:build arm package atomic import ( "internal/cpu" "unsafe" ) const ( offsetARMHasV7Atomics = unsafe.Offsetof(cpu.ARM.HasV7Atomics) ) // Export some functions via linkname to assembly in sync/atomic. // //go:linkname Xchg //go:linkname Xchguintptr //go:linkname Xadd type spinlock struct { v uint32 } //go:nosplit func (l *spinlock) lock() { for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 4.8K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_wasm.go
// license that can be found in the LICENSE file. // TODO(neelance): implement with actual atomic operations as soon as threads are available // See https://github.com/WebAssembly/design/issues/1073 // Export some functions via linkname to assembly in sync/atomic. // //go:linkname Load //go:linkname Loadp //go:linkname Load64 //go:linkname Loadint32 //go:linkname Loadint64 //go:linkname Loaduintptr //go:linkname LoadAcquintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 5.4K bytes - Viewed (0) -
src/net/dnsclient.go
// SRV-like "underscore labels"; see golang.org/issue/12421). // // isDomainName should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/sagernet/sing // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname isDomainName
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/cpu/cpu.go
// license that can be found in the LICENSE file. // Package cpu implements processor feature detection // used by the Go standard library. package cpu import _ "unsafe" // for linkname // DebugOptions is set to true by the runtime if the OS supports reading // GODEBUG early in runtime startup. // This should not be changed after it is initialized. var DebugOptions bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 7.1K bytes - Viewed (0) -
src/net/interface.go
// Solaris, the MulticastAddrs method of Interface is not implemented. // errNoSuchInterface should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/sagernet/sing // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname errNoSuchInterface var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0) -
src/sync/mutex.go
// // Values containing the types defined in this package should not be copied. package sync import ( "internal/race" "sync/atomic" "unsafe" ) // Provided by runtime via linkname. func throw(string) func fatal(string) // A Mutex is a mutual exclusion lock. // The zero value for a Mutex is an unlocked mutex. // // A Mutex must not be copied after first use. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0)