- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 254 for street (0.97 sec)
-
doc/go_spec.html
</ul> <p> <a href="#Struct_types">Struct tags</a> are ignored when comparing struct types for identity for the purpose of conversion: </p> <pre> type Person struct { Name string Address *struct { Street string City string } } var data *struct { Name string `json:"name"` Address *struct { Street string `json:"street"` City string `json:"city"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/struct.go
) // ---------------------------------------------------------------------------- // API // A Struct represents a struct type. type Struct struct { fields []*Var // fields != nil indicates the struct is set up (possibly with len(fields) == 0) tags []string // field tags; nil if there are no tags } // NewStruct returns a new struct with the given fields and corresponding field tags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
oldType.Go = sub.Go } } // Check for non-pointer "struct <tag>{...}; typedef struct <tag> *<name>" // typedefs that should be marked Incomplete. if ptr, ok := dt.Type.(*dwarf.PtrType); ok { 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.
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/compile/internal/ssa/poset.go
// the search is aborted and true is returned. The root node is // visited too. // If strict, ignore edges across a path until at least one // strict edge is found. For instance, for a chain A<=B<=C<D<=E<F, // a strict walk visits D,E,F. // If the visit ends, false is returned. func (po *poset) dfs(r uint32, strict bool, f func(i uint32) bool) bool { closed := newBitset(int(po.lastidx + 1)) open := make([]uint32, 1, 64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 17:23:05 UTC 2023 - 37.2K bytes - Viewed (0) -
src/archive/tar/strconv.go
return s } b := make([]byte, 0, len(s)) for _, c := range s { if c < 0x80 && c != 0x00 { b = append(b, byte(c)) } } return string(b) } type parser struct { err error // Last error seen } type formatter struct { err error // Last error seen } // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/test/abiutils_test.go
IN 0: R{ I0 } spilloffset: 0 typ: struct { int64; struct {} } IN 1: R{ I1 } spilloffset: 16 typ: struct { int64; struct {} } IN 2: R{ F0 I2 } spilloffset: 32 typ: struct { float64; struct { int64; struct {} }; struct {} } OUT 0: R{ F0 I0 } spilloffset: -1 typ: struct { float64; struct { int64; struct {} }; struct {} } OUT 1: R{ F1 I1 } spilloffset: -1 typ: struct { float64; struct { int64; struct {} }; struct {} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 14.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
// The src strings (without prefix) are constructed such that the number of semicolons // plus one corresponds to the number of fields expected in the respective struct. for _, src := range []string{ `struct { x Missing }`, `struct { Missing }`, `struct { *Missing }`, `struct { unsafe.Pointer }`, `struct { P }`, `struct { *I }`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
// the text of the most recently returned token is, and where it was found. // The underlying scanner elides all spaces except newline, so the input looks like a stream of // Tokens; original spacing is lost but we don't need it. type TokenReader interface { // Next returns the next token. Next() ScanToken // The following methods all refer to the most recent token returned by Next.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/identity.go
// for struct identity. func IdenticalIgnoreTags(t1, t2 *Type) bool { return identical(t1, t2, identIgnoreTags, nil) } // IdenticalStrict is like Identical, but matches types exactly, without the // exception for shapes. func IdenticalStrict(t1, t2 *Type) bool { return identical(t1, t2, identStrict, nil) } type typePair struct { t1 *Type t2 *Type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 20:57:01 UTC 2023 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/selection.go
// (excluding qualified identifiers). // // If x is a struct or *struct, a selector expression x.f may denote a // sequence of selection operations x.a.b.c.f. The SelectionKind // describes the kind of the final (explicit) operation; all the // previous (implicit) operations are always field selections. // Each element of Indices specifies an implicit field (a, b, c) // by its index in the struct type of the field selection operand. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 5.8K bytes - Viewed (0)