Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isWrapper (0.11 sec)

  1. src/cmd/internal/objabi/funcid.go

    	"deferreturn": abi.FuncIDWrapper,
    }
    
    // Get the function ID for the named function in the named file.
    // The function should be package-qualified.
    func GetFuncID(name string, isWrapper bool) abi.FuncID {
    	if isWrapper {
    		return abi.FuncIDWrapper
    	}
    	if strings.HasPrefix(name, "runtime.") {
    		if id, ok := funcIDs[name[len("runtime."):]]; ok {
    			return id
    		}
    	}
    	return abi.FuncIDNormal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 21:33:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top