- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 141 for subfield (0.24 sec)
-
src/runtime/malloc_test.go
"NumGC": {nz, le(1e9)}, "NumForcedGC": {nz, le(1e9)}, "GCCPUFraction": {le(0.99)}, "EnableGC": {eq(true)}, "DebugGC": {eq(false)}, "BySize": nil, } rst := reflect.ValueOf(st).Elem() for i := 0; i < rst.Type().NumField(); i++ { name, val := rst.Type().Field(i).Name, rst.Field(i).Interface() checks, ok := fields[name] if !ok { t.Errorf("unknown MemStats field %s", name) continue } for _, check := range checks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/util/iptables/testing/parse.go
// returns a pointer to the Value of that field, and the value of its "negatable" tag. func findParamField(value reflect.Value, param string) (*reflect.Value, bool) { typ := value.Type() for i := 0; i < typ.NumField(); i++ { field := typ.Field(i) if field.Tag.Get("param") == param { fValue := value.Field(i) return &fValue, field.Tag.Get("negatable") == "true" } } return nil, false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 11.6K bytes - Viewed (0) -
schema/field.go
for i := 0; i < rvType.NumField(); i++ { for key, value := range ParseTagSetting(rvType.Field(i).Tag.Get("gorm"), ";") { if _, ok := field.TagSettings[key]; !ok { field.TagSettings[key] = value } } } for i := 0; i < rvType.NumField(); i++ { newFieldType := rvType.Field(i).Type
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
fmt.Fprintf(w, " %+v", n.Sym()) } // Print Node-specific fields of basic type in header line. v := reflect.ValueOf(n).Elem() t := v.Type() nf := t.NumField() for i := 0; i < nf; i++ { tf := t.Field(i) if tf.PkgPath != "" { // skip unexported field - Interface will fail continue } k := tf.Type.Kind()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go
for _, f := range current { if visited[f.typ] { continue } visited[f.typ] = true // Scan f.typ for fields to include. for i := 0; i < f.typ.NumField(); i++ { sf := f.typ.Field(i) if sf.PkgPath != "" { // unexported continue } tag := sf.Tag.Get("json") if tag == "-" { continue } name, opts := parseTag(tag)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 13.1K bytes - Viewed (0) -
src/reflect/all_test.go
{setField(struct{ _, a, _ uintptr }{}, 0*unsafe.Sizeof(uintptr(0)), 1), true}, {setField(struct{ _, a, _ uintptr }{}, 1*unsafe.Sizeof(uintptr(0)), 1), false}, {setField(struct{ _, a, _ uintptr }{}, 2*unsafe.Sizeof(uintptr(0)), 1), true}, {struct{ _, a, _ func() }{}, true}, // incomparable struct with blank fields
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
*k.Mode &= 0777 } }, func(vs *core.VolumeSource, c fuzz.Continue) { // Exactly one of the fields must be set. v := reflect.ValueOf(vs).Elem() i := int(c.RandUint64() % uint64(v.NumField())) t := v.Field(i).Addr() for v.Field(i).IsNil() { c.Fuzz(t.Interface()) } }, func(i *core.ISCSIVolumeSource, c fuzz.Continue) { i.ISCSIInterface = c.RandString()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/converter_test.go
// unknown fields (e.g. fields on struct, inlined struct, slice, etc) func TestUnknownFields(t *testing.T) { // simples checks that basic unknown fields are found // in fields, subfields and slices. var simplesData = `{ "ca": [ { "aa": 1, "ab": "ab", "ac": true, "unknown1": 24 } ], "cc": "ccstring", "unknown2": "foo" }`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 16:02:13 UTC 2023 - 22.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
continue; } if (hasPropertyDesc(fname)) { final PropertyDescImpl pd = (PropertyDescImpl) propertyDescCache.get(field.getName()); pd.setField(field); continue; } if (FieldUtil.isPublicField(field)) { final PropertyDescImpl pd = new PropertyDescImpl(field.getName(), field.getType(), null, null, field, this);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0)