Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 370 for linkname (0.2 sec)

  1. src/runtime/env_posix.go

    }
    
    func lowerASCII(c byte) byte {
    	if 'A' <= c && c <= 'Z' {
    		return c + ('a' - 'A')
    	}
    	return c
    }
    
    // _cgo_setenv should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/ebitengine/purego
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname _cgo_setenv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/route/empty.s

    // Copyright 2018 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.
    
    //go:build darwin && go1.12
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 255 bytes
    - Viewed (0)
  3. src/runtime/symtabinl.go

    // Copyright 2023 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 (
    	"internal/abi"
    	_ "unsafe" // for linkname
    )
    
    // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table.
    type inlinedCall struct {
    	funcID    abi.FuncID // type of the called function
    	_         [3]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue42401.go

    // 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.
    
    // Issue 42401: linkname doesn't work correctly when a variable symbol
    // is both imported (possibly through inlining) and linkname'd.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 09 16:09:16 UTC 2020
    - 323 bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go

    // Copyright 2023 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.
    
    //go:build go1.21
    
    package cpu
    
    import (
    	_ "unsafe" // for linkname
    )
    
    //go:linkname runtime_getAuxv runtime.getAuxv
    func runtime_getAuxv() []uintptr
    
    func init() {
    	getAuxvFn = runtime_getAuxv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 357 bytes
    - Viewed (0)
  6. src/go/types/badlinkname.go

    package types
    
    import _ "unsafe"
    
    // This should properly be in infer.go, but that file is auto-generated.
    
    // infer should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/goplus/gox
    //
    // 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
    - 702 bytes
    - Viewed (0)
  7. src/os/executable_solaris.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 (
    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    //go:linkname executablePath
    var executablePath string // set by sysauxv in ../runtime/os3_solaris.go
    
    var initCwd, initCwdErr = Getwd()
    
    func executable() (string, error) {
    	path := executablePath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  8. src/runtime/badlinkname.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import _ "unsafe"
    
    // These should be an internal details
    // but widely used packages access them using linkname.
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    
    // Notable members of the hall of shame include:
    //   - github.com/dgraph-io/ristretto
    //   - github.com/outcaste-io/ristretto
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 661 bytes
    - Viewed (0)
  9. 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)
  10. test/fixedbugs/issue30061.go

    // compile
    
    // Copyright 2019 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.
    
    // Make sure we can linkname to memmove with an unsafe.Pointer argument.
    
    package p
    
    import "unsafe"
    
    //go:linkname memmove runtime.memmove
    func memmove(to, from unsafe.Pointer, n uintptr)
    
    var V1, V2 int
    
    func F() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 01 23:43:09 UTC 2019
    - 465 bytes
    - Viewed (0)
Back to top