Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _For (0.02 sec)

  1. src/cmd/link/testdata/linkname/badlinkname.go

    // Copyright 2024 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.
    
    // Existing pull linknames in the wild are allowed _for now_,
    // for legacy reason. Test a function and a method.
    // NOTE: this may not be allowed in the future. Don't do this!
    
    package main
    
    import (
    	_ "reflect"
    	"unsafe"
    )
    
    //go:linkname noescape runtime.noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:48:00 UTC 2024
    - 620 bytes
    - Viewed (0)
  2. src/cmd/link/testdata/linkname/fastrand.go

    // Copyright 2024 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.
    
    // Linkname fastrand is allowed _for now_, as it has a
    // linknamed definition, for legacy reason.
    // NOTE: this may not be allowed in the future. Don't do this!
    
    package main
    
    import _ "unsafe"
    
    //go:linkname fastrand runtime.fastrand
    func fastrand() uint32
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 457 bytes
    - Viewed (0)
Back to top