- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 61 for Elem (0.15 sec)
-
callbacks.go
for stmt.ReflectValue.Kind() == reflect.Ptr { if stmt.ReflectValue.IsNil() && stmt.ReflectValue.CanAddr() { stmt.ReflectValue.Set(reflect.New(stmt.ReflectValue.Type().Elem())) } stmt.ReflectValue = stmt.ReflectValue.Elem() } if !stmt.ReflectValue.IsValid() { db.AddError(ErrInvalidValue) } } for _, f := range p.fns { f(db) } if stmt.SQL.Len() > 0 {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 8.6K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/TreeMultiset.java
*/ @CheckForNull private AvlNode<E> pred; @CheckForNull private AvlNode<E> succ; AvlNode(@ParametricNullness E elem, int elemCount) { checkArgument(elemCount > 0); this.elem = elem; this.elemCount = elemCount; this.totalCount = elemCount; this.distinctElements = 1; this.height = 1; this.left = null;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 34.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
// assumes that each set is a singleton or less (as is done for the samples) for (Object elem : elements) { @SuppressWarnings("unchecked") // safe by generator contract Entry<String, Collection<Integer>> entry = (Entry<String, Collection<Integer>>) elem; Integer value = Iterables.getOnlyElement(entry.getValue()); builder.put(entry.getKey(), value); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
utils/tests/utils.go
t.Run(name, func(t *testing.T) { AssertEqual(t, reflect.ValueOf(got).Index(i).Interface(), reflect.ValueOf(expect).Index(i).Interface()) }) } } else { name := reflect.ValueOf(got).Type().Elem().Name() t.Errorf("%v expects length: %v, got %v (expects: %+v, got %+v)", name, reflect.ValueOf(expect).Len(), reflect.ValueOf(got).Len(), expect, got) } return } }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Mar 10 09:21:56 GMT 2023 - 3.9K bytes - Viewed (0) -
callbacks/update.go
db.Statement.ReflectValue = reflect.ValueOf(db.Statement.Model) for db.Statement.ReflectValue.Kind() == reflect.Ptr { db.Statement.ReflectValue = db.Statement.ReflectValue.Elem() } if dest, ok := db.Statement.Dest.(map[string]interface{}); ok { for _, rel := range db.Statement.Schema.Relationships.BelongsTo { if _, ok := dest[rel.Name]; ok {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 05:44:55 GMT 2024 - 9.4K bytes - Viewed (1) -
cmd/object-api-utils_test.go
"github.com/minio/minio/internal/crypto" "github.com/minio/pkg/v2/trie" ) func pathJoinOld(elem ...string) string { trailingSlash := "" if len(elem) > 0 { if hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) { trailingSlash = SlashSeparator } } return path.Join(elem...) + trailingSlash } func BenchmarkPathJoinOld(b *testing.B) { b.Run("PathJoin", func(b *testing.B) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 23.4K bytes - Viewed (0) -
src/main/webapp/js/jquery-3.6.3.min.js
his.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e...
JavaScript - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Fri Feb 17 12:13:41 GMT 2023 - 87.8K bytes - Viewed (5) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
L155: if (typeof options.locale.customRangeLabel === 'string'){ L156: //Support unicode chars in the custom range name. L157: var elem = document.createElement('textarea'); L158: elem.innerHTML = options.locale.customRangeLabel; L159: var rangeHtml = elem.value; L160: this.locale.customRangeLabel = rangeHtml; L161: } L162: } L163: this.container.addClass(this.locale.direction); L164: ...
JavaScript - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 13 04:21:06 GMT 2020 - 65.7K bytes - Viewed (0) -
tests/update_test.go
DB.AutoMigrate(&ElementWithIgnoredField{}) elem := ElementWithIgnoredField{Value: "foo", IgnoredField: 10} DB.Save(&elem) DB.Model(&ElementWithIgnoredField{}). Where("id = ?", elem.Id). Updates(&ElementWithIgnoredField{Value: "bar", IgnoredField: 100}) var result ElementWithIgnoredField if err := DB.First(&result, elem.Id).Error; err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Dec 04 03:50:58 GMT 2023 - 30.3K bytes - Viewed (0) -
callbacks/helper.go
} type visitMap = map[reflect.Value]bool // Check if circular values, return true if loaded func loadOrStoreVisitMap(visitMap *visitMap, v reflect.Value) (loaded bool) { if v.Kind() == reflect.Ptr { v = v.Elem() } switch v.Kind() { case reflect.Slice, reflect.Array: loaded = true for i := 0; i < v.Len(); i++ { if !loadOrStoreVisitMap(visitMap, v.Index(i)) { loaded = false } }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 14 12:32:57 GMT 2022 - 3.7K bytes - Viewed (0)