- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for equalsString (0.62 sec)
-
pkg/test/util/structpath/instance.go
if typeOf.Implements(protoMessageType) { return i.equalsStruct(expected.(proto.Message), path) } switch kind := typeOf.Kind(); kind { case reflect.String: return i.equalsString(reflect.ValueOf(expected).String(), path) case reflect.Bool: return i.equalsBool(reflect.ValueOf(expected).Bool(), path) case reflect.Float32, reflect.Float64:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 9.4K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1_test.go
cntDevB := devB[idx] if cntDevA.ResourceName != cntDevB.ResourceName { return false } if !equalTopology(cntDevA.Topology, cntDevB.Topology) { return false } if !equalStrings(cntDevA.DeviceIds, cntDevB.DeviceIds) { return false } } return true } func equalInt64s(a, b []int64) bool { if len(a) != len(b) { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0)