Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for ToInterface (0.25 sec)

  1. src/cmd/cgo/out.go

    		// Not supported.
    	case *ast.FuncType:
    		return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("void*")}
    	case *ast.InterfaceType:
    		return &Type{Size: 2 * p.PtrSize, Align: p.PtrSize, C: c("GoInterface")}
    	case *ast.MapType:
    		return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("GoMap")}
    	case *ast.ChanType:
    		return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("GoChan")}
    	case *ast.Ident:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/parser.go

    		}
    	}
    
    	if p.tok == '\n' {
    		p.next()
    		// collect associated methods
    		for p.tok == scanner.Ident {
    			p.expectKeyword("func")
    			if p.tok == '/' {
    				// Skip a /*nointerface*/ or /*asm ID */ comment.
    				p.expect('/')
    				p.expect('*')
    				if p.expect(scanner.Ident) == "asm" {
    					p.parseUnquotedString()
    				}
    				p.expect('*')
    				p.expect('/')
    			}
    			p.expect('(')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/type.go

    	Offset int64
    }
    
    const (
    	fieldIsDDD = 1 << iota // field is ... argument
    	fieldNointerface
    )
    
    func (f *Field) IsDDD() bool       { return f.flags&fieldIsDDD != 0 }
    func (f *Field) Nointerface() bool { return f.flags&fieldNointerface != 0 }
    
    func (f *Field) SetIsDDD(b bool)       { f.flags.set(fieldIsDDD, b) }
    func (f *Field) SetNointerface(b bool) { f.flags.set(fieldNointerface, b) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top