Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for _elem (0.18 sec)

  1. statement.go

    			for destValue.Kind() == reflect.Ptr {
    				destValue = destValue.Elem()
    			}
    
    			if stmt.ReflectValue != destValue {
    				if !destValue.CanAddr() {
    					destValueCanAddr := reflect.New(destValue.Type())
    					destValueCanAddr.Elem().Set(destValue)
    					stmt.Dest = destValueCanAddr.Interface()
    					destValue = destValueCanAddr.Elem()
    				}
    
    				switch destValue.Kind() {
    				case reflect.Struct:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/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 (3)
  3. src/cmd/api/main_test.go

    	case *types.Array:
    		fmt.Fprintf(buf, "[%d]", typ.Len())
    		w.writeType(buf, typ.Elem())
    
    	case *types.Slice:
    		buf.WriteString("[]")
    		w.writeType(buf, typ.Elem())
    
    	case *types.Struct:
    		buf.WriteString("struct")
    
    	case *types.Pointer:
    		buf.WriteByte('*')
    		w.writeType(buf, typ.Elem())
    
    	case *types.Tuple:
    		panic("should never see a tuple type")
    
    	case *types.Signature:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top