Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 212 for elem2 (0.39 sec)

  1. src/runtime/mbitmap.go

    		}
    		return tp
    	}
    
    	// Move up elem and addr.
    	// Offsets within an element are always at a ptrBits*goarch.PtrSize boundary.
    	if n >= tp.typ.Size_ {
    		// elem needs to be moved to the element containing
    		// tp.addr + n.
    		oldelem := tp.elem
    		tp.elem += (tp.addr - tp.elem + n) / tp.typ.Size_ * tp.typ.Size_
    		tp.addr = tp.elem + alignDown(n-(tp.elem-oldelem), ptrBits*goarch.PtrSize)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. pkg/config/schema/collections/collections.gen.go

    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/subst.go

    			return subst.check.newAliasInstance(subst.pos, t.orig, targs, subst.ctxt)
    		}
    
    	case *Array:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    			return &Array{len: t.len, elem: elem}
    		}
    
    	case *Slice:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    			return &Slice{elem: elem}
    		}
    
    	case *Struct:
    		if fields, copied := subst.varList(t.fields); copied {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. pkg/config/schema/collections/collections.agent.gen.go

    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/type.go

    		*types = (*types)[1:]
    
    	case TPTR:
    		elem := SubstAny(t.Elem(), types)
    		if elem != t.Elem() {
    			t = t.copy()
    			t.extra = Ptr{Elem: elem}
    		}
    
    	case TARRAY:
    		elem := SubstAny(t.Elem(), types)
    		if elem != t.Elem() {
    			t = t.copy()
    			t.extra.(*Array).Elem = elem
    		}
    
    	case TSLICE:
    		elem := SubstAny(t.Elem(), types)
    		if elem != t.Elem() {
    			t = t.copy()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  6. scan.go

    				if !update {
    					if !isPtr {
    						elem = elem.Elem()
    					}
    					if isArrayKind {
    						if reflectValue.Len() >= int(db.RowsAffected) {
    							reflectValue.Index(int(db.RowsAffected - 1)).Set(elem)
    						}
    					} else {
    						reflectValue = reflect.Append(reflectValue, elem)
    					}
    				}
    			}
    
    			if !update {
    				db.Statement.ReflectValue.Set(reflectValue)
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/go/types/subst.go

    			return subst.check.newAliasInstance(subst.pos, t.orig, targs, subst.ctxt)
    		}
    
    	case *Array:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    			return &Array{len: t.len, elem: elem}
    		}
    
    	case *Slice:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    			return &Slice{elem: elem}
    		}
    
    	case *Struct:
    		if fields, copied := subst.varList(t.fields); copied {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/temp.go

    // allocated temporary variable of type [len]elem. This variable is
    // initialized, and elem must not contain pointers.
    func stackBufAddr(len int64, elem *types.Type) *ir.AddrExpr {
    	if elem.HasPointers() {
    		base.FatalfAt(base.Pos, "%v has pointers", elem)
    	}
    	tmp := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(elem, len))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/path/filepath/path_unix.go

    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_plan9.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    	return a == b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 970 bytes
    - Viewed (0)
  10. callbacks/preload.go

    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    			fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem)
    		}
    
    		datas, ok := identityMap[utils.ToStringKey(fieldValues...)]
    		if !ok {
    			return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface())
    		}
    
    		for _, data := range datas {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top