- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for set_field (0.08 sec)
-
src/cmd/compile/internal/types/type.go
func (t *Type) Fields() []*Field { return t.fields().Slice() } // setFields sets struct type t's fields to fields. func (t *Type) setFields(fields []*Field) { // If we've calculated the width of t before, // then some other type such as a function signature // might now have the wrong type. // Rather than try to track and invalidate those, // enforce that SetFields cannot be called once // t's width has been calculated.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)