Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 127 for linkname (0.14 sec)

  1. src/net/dnsconfig.go

    	"sync/atomic"
    	"time"
    	_ "unsafe"
    )
    
    // defaultNS is the default name servers to use in the absence of DNS configuration.
    //
    // defaultNS should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/pojntfx/hydrapp/hydrapp
    //   - github.com/mtibben/androiddnsfix
    //   - github.com/metacubex/mihomo
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/net/ipsock_posix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix || js || wasip1 || windows
    
    package net
    
    import (
    	"context"
    	"internal/poll"
    	"net/netip"
    	"runtime"
    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    // capabilities which are controlled by the IPV6_V6ONLY socket option
    // and kernel configuration.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_386.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build 386
    
    package atomic
    
    import "unsafe"
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Load
    //go:linkname Loadp
    //go:linkname LoadAcquintptr
    
    //go:nosplit
    //go:noinline
    func Load(ptr *uint32) uint32 {
    	return *ptr
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/internal/bytealg/compare_generic.go

    	return runtime_cmpstring(a, b)
    }
    
    // runtime.cmpstring calls are emitted by the compiler.
    //
    // runtime.cmpstring should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/zhaochuninhefei/gmgo
    //   - github.com/bytedance/gopkg
    //   - github.com/songzhibin97/gkit
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. test/live_uintptrkeepalive.go

    // license that can be found in the LICENSE file.
    
    // Test escape analysis and liveness inferred for uintptrkeepalive functions.
    //
    // This behavior is enabled automatically for function declarations with no
    // bodies (assembly, linkname), as well as explicitly on complete functions
    // with //go:uintptrkeepalive.
    //
    // This is most important for syscall.Syscall (and similar functions), so we
    // test it explicitly.
    
    package p
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_amd64.go

    // Copyright 2009 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 atomic
    
    import "unsafe"
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Load
    //go:linkname Loadp
    //go:linkname Load64
    
    //go:nosplit
    //go:noinline
    func Load(ptr *uint32) uint32 {
    	return *ptr
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/internal/runtime/exithook/hooks.go

    // uses normal / high-level Go code as opposed to one of the more
    // restricted dialects used for the trickier parts of the runtime.
    package exithook
    
    import (
    	"internal/runtime/atomic"
    	_ "unsafe" // for linkname
    )
    
    // A Hook is a function to be run at program termination
    // (when someone invokes os.Exit, or when main.main returns).
    // Hooks are run in reverse order of registration:
    // the first hook added is the last one run.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_s390x.go

    // Copyright 2016 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 atomic
    
    import "unsafe"
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Load
    //go:linkname Loadp
    //go:linkname Load64
    
    //go:nosplit
    //go:noinline
    func Load(ptr *uint32) uint32 {
    	return *ptr
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	if strings.Contains(n.Sym().Name, "cgo") {
    		return false
    	}
    
    	// Do not instrument globals that are linknamed, because their home package will do the work.
    	if n.Sym().Linkname != "" {
    		return false
    	}
    
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. src/runtime/atomic_pointer.go

    // atomicwb performs a write barrier before an atomic pointer write.
    // The caller should guard the call with "if writeBarrier.enabled".
    //
    // atomicwb should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/bytedance/gopkg
    //   - github.com/songzhibin97/gkit
    //
    // 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 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top