Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 341 for linkname (0.17 sec)

  1. src/runtime/mbarrier.go

    //
    // TODO: Perfect for go:nosplitrec since we can't have a safe point
    // anywhere in the bulk barrier or memmove.
    //
    // typedmemmove should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/RomiChan/protobuf
    //   - github.com/segmentio/encoding
    //
    // 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
    - 15.7K bytes
    - Viewed (0)
  2. src/runtime/vdso_linux_amd64.go

    // Copyright 2012 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 runtime
    
    import _ "unsafe" // for linkname
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/amd64/galign.go arch.MAXWIDTH initialization.
    	vdsoArrayMax = 1<<50 - 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 816 bytes
    - Viewed (0)
  3. src/os/executable_darwin.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 os
    
    import (
    	"errors"
    	_ "unsafe" // for linkname
    )
    
    //go:linkname executablePath
    var executablePath string // set by ../runtime/os_darwin.go
    
    var initCwd, initCwdErr = Getwd()
    
    func executable() (string, error) {
    	ep := executablePath
    	if len(ep) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 675 bytes
    - Viewed (0)
  4. src/runtime/timestub.go

    //go:build !faketime && !windows && !(linux && amd64)
    
    package runtime
    
    import _ "unsafe" // for go:linkname
    
    // time_now should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/phuslu/log
    //   - github.com/sethvargo/go-limiter
    //   - github.com/ulule/limiter/v3
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 889 bytes
    - Viewed (0)
  5. src/runtime/security_unix.go

    	// environment variable values (currently we only force GOTRACEBACK=none)
    	//
    	// Other packages may also disable specific functionality when secure mode
    	// is enabled (determined by using linkname to call isSecureMode).
    
    	secureEnv()
    }
    
    func secureEnv() {
    	var hasTraceback bool
    	for i := 0; i < len(envs); i++ {
    		if stringslite.HasPrefix(envs[i], "GOTRACEBACK=") {
    			hasTraceback = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 866 bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    	}
    	return
    }
    
    // runtime_FrameStartLine returns the start line of the function in a Frame.
    //
    // runtime_FrameStartLine should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/grafana/pyroscope-go/godeltaprof
    //
    // 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
    - 40K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprognet/waiters.go

    	"net"
    	"internal/runtime/atomic"
    	"sync"
    	"time"
    	_ "unsafe" // for go:linkname
    )
    
    // The bug is that netpollWaiters increases monotonically.
    // This doesn't cause a problem until it overflows.
    // Use linkname to see the value.
    //
    //go:linkname netpollWaiters runtime.netpollWaiters
    var netpollWaiters atomic.Uint32
    
    func init() {
    	register("NetpollWaiters", NetpollWaiters)
    }
    
    func NetpollWaiters() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/runtime/runtime.go

    //
    // It contains an even number of elements, (tag, value) pairs.
    var auxv []uintptr
    
    // golang.org/x/sys/cpu uses getAuxv via linkname.
    // Do not remove or change the type signature.
    // (See go.dev/issue/57336.)
    //
    // getAuxv should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cilium/ebpf
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/testing/newcover.go

    // license that can be found in the LICENSE file.
    
    // Support for test coverage with redesigned coverage implementation.
    
    package testing
    
    import (
    	"fmt"
    	"internal/goexperiment"
    	"os"
    	_ "unsafe" // for linkname
    )
    
    // cover2 variable stores the current coverage mode and a
    // tear-down function to be called at the end of the testing run.
    var cover2 struct {
    	mode        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top