Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for procAuxv (0.19 sec)

  1. src/vendor/golang.org/x/sys/cpu/hwcap_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cpu
    
    import (
    	"os"
    )
    
    const (
    	_AT_HWCAP  = 16
    	_AT_HWCAP2 = 26
    
    	procAuxv = "/proc/self/auxv"
    
    	uintSize = int(32 << (^uint(0) >> 63))
    )
    
    // For those platforms don't have a 'cpuid' equivalent we use HWCAP/HWCAP2
    // These are initialized in cpu_$GOARCH.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    	_AT_HWCAP    = 16 // hardware capability bit vector
    	_AT_SECURE   = 23 // secure mode boolean
    	_AT_RANDOM   = 25 // introduced in 2.6.29
    	_AT_HWCAP2   = 26 // hardware capability bit vector 2
    )
    
    var procAuxv = []byte("/proc/self/auxv\x00")
    
    var addrspace_vec [1]byte
    
    func mincore(addr unsafe.Pointer, n uintptr, dst *byte) int32
    
    var auxvreadbuf [128]uintptr
    
    func sysargs(argc int32, argv **byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top