Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for variadicOk (0.14 sec)

  1. src/cmd/compile/internal/typecheck/iexport.go

    //             tilde bool
    //             Type  typeOff
    //         }
    //     }
    //
    //
    //
    //     type Signature struct {
    //         Params   []Param
    //         Results  []Param
    //         Variadic bool  // omitted if Results is empty
    //     }
    //
    //     type Param struct {
    //         Pos  Pos
    //         Name stringOff
    //         Type typOff
    //     }
    //
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/universe.go

    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    	_StringData
    
    	// testing support
    	_Assert
    	_Trace
    )
    
    var predeclaredFuncs = [...]struct {
    	name     string
    	nargs    int
    	variadic bool
    	kind     exprKind
    }{
    	_Append:  {"append", 1, true, expression},
    	_Cap:     {"cap", 1, false, expression},
    	_Clear:   {"clear", 1, false, statement},
    	_Close:   {"close", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/go/types/universe.go

    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    	_StringData
    
    	// testing support
    	_Assert
    	_Trace
    )
    
    var predeclaredFuncs = [...]struct {
    	name     string
    	nargs    int
    	variadic bool
    	kind     exprKind
    }{
    	_Append:  {"append", 1, true, expression},
    	_Cap:     {"cap", 1, false, expression},
    	_Clear:   {"clear", 1, false, statement},
    	_Close:   {"close", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/examples/types.go

    // All types may be parameterized, including interfaces.
    type I1[T any] interface{
    	m1(T)
    }
    
    // There is no such thing as a variadic generic type.
    type _[T ... /* ERROR "invalid use of '...'" */ any] struct{}
    
    // Generic interfaces may be embedded as one would expect.
    type I2 interface {
    	I1(int)     // method!
    	I1[string]  // embedded I1
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top