- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for varType (0.16 sec)
-
src/go/types/struct.go
// (go.dev/issue/25627). addInvalid := func(ident *ast.Ident) { typ = Typ[Invalid] tag = "" add(ident, true) } for _, f := range list.List { typ = check.varType(f.Type) tag = check.tag(f.Tag) if len(f.Names) > 0 { // named fields for _, name := range f.Names { add(name, false) } } else { // embedded field
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/struct.go
for i, f := range e.FieldList { // Fields declared syntactically with the same type (e.g.: a, b, c T) // share the same type expression. Only check type if it's a new type. if i == 0 || f.Type != prev { typ = check.varType(f.Type) prev = f.Type } tag = "" if i < len(e.TagList) { tag = check.tag(e.TagList[i]) } if f.Name != nil { // named field add(f.Name, false) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go
func buildTestEnv() (*cel.Env, error) { fooType := common.SchemaDeclType(simpleMapSchema("foo", spec.StringProperty()), true).MaybeAssignTypeName("fooType") barType := common.SchemaDeclType(simpleMapSchema("bar", spec.Int64Property()), true).MaybeAssignTypeName("barType") env, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true).Extend( environment.VersionedOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 4.1K bytes - Viewed (0) -
src/internal/syscall/windows/registry/syscall.go
//sys regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, buflen *uint32) (regerrno error) = advapi32.RegEnumValueW //sys regDeleteValue(key syscall.Handle, name *uint16) (regerrno error) = advapi32.RegDeleteValueW
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 07:20:34 UTC 2023 - 1.4K bytes - Viewed (0)