Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for linkname (0.16 sec)

  1. test/linkname.go

    // license that can be found in the LICENSE file.
    
    // Tests that linknames are included in export data (issue 18167).
    package ignored
    
    /*
    Without CL 33911, this test would fail with the following error:
    
    main.main: relocation target linkname2.byteIndex not defined
    main.main: undefined: "linkname2.byteIndex"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 28 19:27:20 UTC 2019
    - 456 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/linkname.txt

    Bryan C. Mills <******@****.***> 1659030659 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 219 bytes
    - Viewed (0)
  3. src/runtime/linkname.go

    Russ Cox <******@****.***> 1716433590 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 778 bytes
    - Viewed (0)
  4. pkg/volume/util/volumepathhandler/volume_path_handler.go

    func (v VolumePathHandler) MapDevice(devicePath string, mapPath string, linkName string, bindMount bool) error {
    	// Example of global map path:
    	//   globalMapPath/linkName: plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{podUid}
    	//   linkName: {podUid}
    	//
    	// Example of pod device map path:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. src/runtime/badlinkname_linux.go

    //go:build amd64 || arm64
    
    package runtime
    
    import _ "unsafe"
    
    // As of Go 1.22, the symbols below are found to be pulled via
    // linkname in the wild. We provide a push linkname here, to
    // keep them accessible with pull linknames.
    // This may change in the future. Please do not depend on them
    // in new code.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:47:42 UTC 2024
    - 506 bytes
    - Viewed (0)
  6. src/math/big/arith_decl.go

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    package big
    
    import _ "unsafe" // for linkname
    
    // implemented in arith_$GOARCH.s
    
    // addVV should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/remyoudompheng/bigfft
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/link/testdata/linkname/push.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // "Push" linknames are ok.
    
    package main
    
    import (
    	"cmd/link/testdata/linkname/p"
    	_ "unsafe"
    )
    
    // Push f1 to p.
    //
    //go:linkname f1 cmd/link/testdata/linkname/p.f1
    func f1() { f2() }
    
    // f2 is pushed from p.
    //
    //go:linkname f2
    func f2()
    
    func main() {
    	p.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 426 bytes
    - Viewed (0)
  8. src/syscall/badlinkname_unix.go

    package syscall
    
    import _ "unsafe"
    
    // As of Go 1.22, the symbols below are found to be pulled via
    // linkname in the wild. We provide a push linkname here, to
    // keep them accessible with pull linknames.
    // This may change in the future. Please do not depend on them
    // in new code.
    
    // golang.org/x/sys linknames getsockopt.
    // Do not remove or change the type signature.
    //
    //go:linkname getsockopt
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 679 bytes
    - Viewed (0)
  9. test/linkname3.go

    // errorcheck
    
    // Copyright 2020 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.
    
    // Tests that errors are reported for misuse of linkname.
    package p
    
    import _ "unsafe"
    
    type t int
    
    var x, y int
    
    func F[T any](T) {}
    
    //go:linkname x ok
    
    // ERROR "//go:linkname must refer to declared function or variable"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:27:25 UTC 2024
    - 720 bytes
    - Viewed (0)
  10. src/runtime/time_nofake.go

    import "unsafe"
    
    // faketime is the simulated time in nanoseconds since 1970 for the
    // playground.
    //
    // Zero means not to use faketime.
    var faketime int64
    
    // Exported via linkname for use by time and internal/poll.
    //
    // Many external packages also linkname nanotime for a fast monotonic time.
    // Such code should be updated to use:
    //
    //	var start = time.Now() // at init time
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top