- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 80 for variadicOk (0.16 sec)
-
src/cmd/compile/internal/types2/typestring.go
} func (w *typeWriter) tuple(tup *Tuple, variadic bool) { w.byte('(') if tup != nil { for i, v := range tup.vars { if i > 0 { w.byte(',') } // parameter names are ignored for type identity and thus type hashes if w.ctxt == nil && v.name != "" && w.paramNames { w.string(v.name) w.byte(' ') } typ := v.typ if variadic && i == len(tup.vars)-1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/go/types/typestring.go
} func (w *typeWriter) tuple(tup *Tuple, variadic bool) { w.byte('(') if tup != nil { for i, v := range tup.vars { if i > 0 { w.byte(',') } // parameter names are ignored for type identity and thus type hashes if w.ctxt == nil && v.name != "" && w.paramNames { w.string(v.name) w.byte(' ') } typ := v.typ if variadic && i == len(tup.vars)-1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
if check.recordTypes() { sig := makeSig(S, S, y.typ) sig.variadic = true check.recordBuiltinType(call.Fun, sig) } x.mode = value x.typ = S break } } } // check general case by creating custom signature sig := makeSig(S, S, NewSlice(T)) // []T required for variadic signature sig.variadic = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump
struct AssertTypeEq; template <typename T> struct AssertTypeEq<T, T> { typedef bool type; }; // A unique type used as the default value for the arguments of class // template Types. This allows us to simulate variadic templates // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't // support directly. struct None {}; // The following family of struct and struct templates are used to
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/assignments.go
// typesSummary returns a string of the form "(t1, t2, ...)" where the // ti's are user-friendly string representations for the given types. // If variadic is set and the last type is a slice, its string is of // the form "...E" where E is the slice's element type. func (check *Checker) typesSummary(list []Type, variadic bool) string { var res []string for i, t := range list { var s string switch { case t == nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
r.Sync(pkgbits.SyncSignature) params := r.params() results := r.params() variadic := r.Bool() return types.NewSignatureType(recv, rtparams, tparams, params, results, variadic) } func (r *reader) params() *types.Tuple { r.Sync(pkgbits.SyncParams) params := make([]*types.Var, r.Len()) for i := range params {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/types/builtins.go
if check.recordTypes() { sig := makeSig(S, S, y.typ) sig.variadic = true check.recordBuiltinType(call.Fun, sig) } x.mode = value x.typ = S break } } } // check general case by creating custom signature sig := makeSig(S, S, NewSlice(T)) // []T required for variadic signature sig.variadic = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
// typesSummary returns a string of the form "(t1, t2, ...)" where the // ti's are user-friendly string representations for the given types. // If variadic is set and the last type is a slice, its string is of // the form "...E" where E is the slice's element type. func (check *Checker) typesSummary(list []Type, variadic bool) string { var res []string for i, t := range list { var s string switch { case t == nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/types/subst.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0)