- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for StructName (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go
return nil } func writeFuncHeader(b *buffer, structName string, indent int) { s := fmt.Sprintf("var map_%s = map[string]string {\n", structName) b.addLine(s, indent) } func writeFuncFooter(b *buffer, structName string, indent int) { b.addLine("}\n", indent) // Closes the map definition s := fmt.Sprintf("func (%s) SwaggerDoc() map[string]string {\n", structName) b.addLine(s, indent)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 03 07:33:58 UTC 2017 - 7K bytes - Viewed (0) -
cmd/fieldnamedocscheck/field_name_docs_check.go
typesMap[strings.ToLower(p.Name)] = p } } structName := ks[0].Name rc = checkFieldNameAndDoc(structName, "", ks[0].Doc, typesMap) || rc for _, p := range ks[1:] { rc = checkFieldNameAndDoc(structName, p.Name, p.Doc, typesMap) || rc } } if rc { os.Exit(1) } } func checkFieldNameAndDoc(structName, fieldName, doc string, typesMap kubeTypesMap) bool { rc := false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 18:32:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/debug/dwarf/type.go
} func (t *StructType) String() string { if t.StructName != "" { return t.Kind + " " + t.StructName } return t.Defn() } func (f *StructField) bitOffset() int64 { if f.BitOffset != 0 { return f.BitOffset } return f.DataBitOffset } func (t *StructType) Defn() string { s := t.Kind if t.StructName != "" { s += " " + t.StructName } if t.Incomplete { s += " /*incomplete*/"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0) -
src/debug/dwarf/type_test.go
continue } got := bitInfoDump(field) want := expectedBitOffsets[field.Name] if got != want { t.Errorf("%s: field %s in %s: got info %q want %q", tag, field.Name, t1.StructName, got, want) } } } if e.Tag != TagCompileUnit { r.SkipChildren() } } } var bitfieldTests = map[string]string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 15:49:05 UTC 2022 - 8.8K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
if strct, ok := ptr.Type.(*dwarf.StructType); ok { if c.badStructPointerTypedef(dt.Name, strct) { c.incompleteStructs[strct.StructName] = true // Make sure we update any previously computed type. name := "_Ctype_struct_" + strct.StructName if oldType := typedef[name]; oldType != nil { oldType.Go = c.Ident(incomplete) } } } } t.Go = name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"StructType", Type, 0}, {"StructType.CommonType", Field, 0}, {"StructType.Field", Field, 0}, {"StructType.Incomplete", Field, 0}, {"StructType.Kind", Field, 0}, {"StructType.StructName", Field, 0}, {"Tag", Type, 0}, {"TagAccessDeclaration", Const, 0}, {"TagArrayType", Const, 0}, {"TagAtomicType", Const, 14}, {"TagBaseType", Const, 0}, {"TagCallSite", Const, 14},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg debug/dwarf, type StructType struct, Field []*StructField pkg debug/dwarf, type StructType struct, Incomplete bool pkg debug/dwarf, type StructType struct, Kind string pkg debug/dwarf, type StructType struct, StructName string pkg debug/dwarf, type StructType struct, embedded CommonType pkg debug/dwarf, type Tag uint32 pkg debug/dwarf, type Type interface { Common, Size, String }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)