Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/cgo/gcc.go

    }
    
    // hasPointer is used by needsPointerCheck. If top is true it returns
    // whether t is or contains a pointer that might point to a pointer.
    // If top is false it reports whether t is or contains a pointer.
    // f may be nil.
    func (p *Package) hasPointer(f *File, t ast.Expr, top bool) bool {
    	switch t := t.(type) {
    	case *ast.ArrayType:
    		if t.Len == nil {
    			if !top {
    				return true
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top