Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for linkname (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/http/clone.go

    // license that can be found in the LICENSE file.
    
    package http
    
    import (
    	"mime/multipart"
    	"net/textproto"
    	"net/url"
    	_ "unsafe" // for linkname
    )
    
    // cloneURLValues should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/searKing/golang
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/syscall/linkname_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package syscall
    
    import _ "unsafe" // for linkname
    
    // mmap should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - modernc.org/memory
    //   - github.com/ncruces/go-sqlite3
    //
    // 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
    - 532 bytes
    - Viewed (0)
  10. src/os/os_unix_test.go

    	if err != nil {
    		t.Fatalf("stat %s: %s", f.Name(), err)
    	}
    
    	linkname := f.Name() + "2"
    	if err := Symlink(f.Name(), linkname); err != nil {
    		if runtime.GOOS == "android" && IsPermission(err) {
    			t.Skip("skipping test on Android; permission error creating symlink")
    		}
    		t.Fatalf("link %s -> %s: %v", f.Name(), linkname, err)
    	}
    	defer Remove(linkname)
    
    	// Can't change uid unless root, but can try
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top