Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getLeFuncName (0.32 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    func isValidLeFunc(f uintptr) error {
    	ret := funcptrtest(f, "")
    	if ret != 0 {
    		return fmt.Errorf("Bad pointer, not an LE function ")
    	}
    	return nil
    }
    
    // Retrieve function name from descriptor
    func getLeFuncName(f uintptr) (string, error) {
    	// assume it has been checked, only check ppa1 validity here
    	entry := ((*[2]uintptr)(unsafe.Pointer(f)))[1]
    	preamp := ((*[4]uint32)(unsafe.Pointer(entry - eyecatcherOffset)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top