- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for elem3 (0.05 sec)
-
callbacks/query.go
switch db.Statement.ReflectValue.Kind() { case reflect.Struct: queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType case reflect.Slice: queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType } } if queryFields { stmt := gorm.Statement{DB: db} // smaller struct
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 09:51:44 UTC 2024 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
return nil, nil, nil } const numObjects = 10 store := cache.NewIndexer(storeElementKey, storeElementIndexers(nil)) for i := 0; i < numObjects; i++ { elem := makeTestStoreElement(makeTestPod(fmt.Sprintf("pod-%d", i), uint64(i))) store.Add(elem) } wci, err := newCacheIntervalFromStore(numObjects, store, getAttrsFunc, "", false) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
// so we must ensure the value we created is available on the heap (not a problem // for normal usage) if !tt.args.v.CanAddr() { x := reflect.New(tt.args.v.Type()) x.Elem().Set(tt.args.v) tt.args.v = x.Elem() } growSlice(tt.args.v, tt.args.maxCapacity, tt.args.sizes...) if tt.cap != tt.args.v.Cap() { t.Errorf("Unexpected capacity: got=%d want=%d", tt.args.v.Cap(), tt.cap) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
} return append(subpath, typ.String()) } } return nil } for { atyp, ok := typ.Underlying().(*types.Array) if !ok { break } typ = atyp.Elem() } ttyp, ok := typ.Underlying().(*types.Tuple) if ok { for i := 0; i < ttyp.Len(); i++ { subpath := lockPath(tpkg, ttyp.At(i).Type(), seen) if subpath != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
case types.TSLICE: // struct { byte *array; int len; int cap; } clobberPtr(b, v, offset) case types.TARRAY: for i := int64(0); i < t.NumElem(); i++ { clobberWalk(b, v, offset+i*t.Elem().Size(), t.Elem()) } case types.TSTRUCT: for _, t1 := range t.Fields() { clobberWalk(b, v, offset+t1.Offset, t1.Type) } default: base.Fatalf("clobberWalk: unexpected type, %v", t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
d := f.SplitSlot(name, ".data", u.Size(), t) return c, d } func (f *Func) SplitSlice(name *LocalSlot) (*LocalSlot, *LocalSlot, *LocalSlot) { ptrType := types.NewPtr(name.Type.Elem()) lenType := types.Types[types.TINT] p := f.SplitSlot(name, ".ptr", 0, ptrType) l := f.SplitSlot(name, ".len", ptrType.Size(), lenType) c := f.SplitSlot(name, ".cap", ptrType.Size()+lenType.Size(), lenType)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(S(RAW|RW|LW) x (MOVDconst [c])) => (S(RAW|RW|LW)const [c&31 | (c>>5&1*31)] x) (Addr {sym} base) => (MOVDaddr {sym} [0] base) (LocalAddr <t> {sym} base mem) && t.Elem().HasPointers() => (MOVDaddr {sym} (SPanchored base mem)) (LocalAddr <t> {sym} base _) && !t.Elem().HasPointers() => (MOVDaddr {sym} base) (OffPtr [off] ptr) => (ADD (MOVDconst <typ.Int64> [off]) ptr) (MOVDaddr {sym} [n] p:(ADD x y)) && sym == nil && n == 0 => p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K 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) -
src/cmd/compile/internal/ssa/rewritePPC64.go
v_0 := v.Args[0] b := v.Block typ := &b.Func.Config.Types // match: (LocalAddr <t> {sym} base mem) // cond: t.Elem().HasPointers() // result: (MOVDaddr {sym} (SPanchored base mem)) for { t := v.Type sym := auxToSym(v.Aux) base := v_0 mem := v_1 if !(t.Elem().HasPointers()) { break } v.reset(OpPPC64MOVDaddr) v.Aux = symToAux(sym)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
doc/go_spec.html
an entry for each type parameter. </p> <p> For example, given the type equation with the bound type parameter <code>P</code> </p> <pre> [10]struct{ elem P, list []P } ≡<sub>A</sub> [10]struct{ elem string; list []string } </pre> <p> type inference starts with an empty map. Unification first compares the top-level structure of the LHS and RHS types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0)