- Sort Score
- Result 10 results
- Languages All
Results 31 - 33 of 33 for elem1 (0.3 sec)
-
src/encoding/xml/marshal_test.go
`</top>` { // TODO(rogpeppe): re-enable this test in // https://go-review.googlesource.com/#/c/5910/ continue } vt := reflect.TypeOf(test.Value) dest := reflect.New(vt.Elem()).Interface() err := Unmarshal([]byte(test.ExpectXML), dest) t.Run(fmt.Sprintf("%d", i), func(t *testing.T) { switch fix := dest.(type) { case *Feed: fix.Author.InnerXML = ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
// these fields are chosen such that, if status is extracted as properties["status"], it's validation is not lost. if statusSubresourceEnabled { v := reflect.ValueOf(schema).Elem() for i := 0; i < v.NumField(); i++ { // skip zero values if value := v.Field(i).Interface(); reflect.DeepEqual(value, reflect.Zero(reflect.TypeOf(value)).Interface()) { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
} } } // Test to catch new fields in FilterChainMatch message. func TestFilterChainMatchFields(t *testing.T) { fcm := listener.FilterChainMatch{} e := reflect.ValueOf(&fcm).Elem() // If this fails, that means new fields have been added to FilterChainMatch, filterChainMatchEqual function needs to be updated. if e.NumField() != 14 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0)