Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for newDir (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    	if !ok {
    		return types.MaybeNoSuchOverloadErr(arg)
    	}
    
    	addr, err := parseIPAddr(s)
    	if err != nil {
    		// Don't add context, we control the error message already.
    		return types.NewErr("%v", err)
    	}
    
    	return apiservercel.IP{
    		Addr: addr,
    	}
    }
    
    func ipToString(arg ref.Val) ref.Val {
    	ip, ok := arg.(apiservercel.IP)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(arg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/format.go

    }
    
    func (d *Format) ConvertToType(typeVal ref.Type) ref.Val {
    	switch typeVal {
    	case FormatType:
    		return d
    	case types.TypeType:
    		return FormatType
    	default:
    		return types.NewErr("type conversion error from '%s' to '%s'", FormatType, typeVal)
    	}
    }
    
    func (d *Format) Equal(other ref.Val) ref.Val {
    	otherDur, ok := other.(*Format)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(other)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/map_fast64.go

    	if h.growing() {
    		evacuate_fast64(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast64(t *maptype, h *hmap, oldbucket uintptr) {
    	b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    	newbit := h.noldbuckets()
    	if !evacuated(b) {
    		// TODO: reuse overflow buckets instead of using new ones, if there
    		// is no iterator using the old buckets.  (If !oldIterator.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/subst.go

    				// a given interface type if they do not get substituted.
    				out = make([]*Func, len(in))
    				copy(out, in)
    				copied = true
    			}
    			newsig := *sig
    			newsig.recv = substVar(sig.recv, new)
    			out[i] = substFunc(method, &newsig)
    		}
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/quantity.go

    }
    
    func (d Quantity) ConvertToType(typeVal ref.Type) ref.Val {
    	switch typeVal {
    	case quantityTypeValue:
    		return d
    	case types.TypeType:
    		return quantityTypeValue
    	default:
    		return types.NewErr("type conversion error from '%s' to '%s'", quantityTypeValue, typeVal)
    	}
    }
    
    func (d Quantity) Equal(other ref.Val) ref.Val {
    	otherDur, ok := other.(Quantity)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(other)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:23:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    		return copiedFiles, fmt.Errorf("write kubeconfig: %v", err)
    	}
    
    	// Install CNI netdir config (if needed) - we write/update this in the shared node CNI netdir,
    	// which may be watched by other CNIs, and so we don't want to trigger writes to this file
    	// unless it's missing or the contents are not what we expect.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/runtime/map_faststr.go

    	if h.growing() {
    		evacuate_faststr(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_faststr(t *maptype, h *hmap, oldbucket uintptr) {
    	b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    	newbit := h.noldbuckets()
    	if !evacuated(b) {
    		// TODO: reuse overflow buckets instead of using new ones, if there
    		// is no iterator using the old buckets.  (If !oldIterator.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/cidr.go

    	switch typeVal {
    	case CIDRType:
    		return d
    	case types.TypeType:
    		return CIDRType
    	case types.StringType:
    		return types.String(d.Prefix.String())
    	}
    	return types.NewErr("type conversion error from '%s' to '%s'", CIDRType, typeVal)
    }
    
    // Equal implements ref.Val.Equal.
    func (d CIDR) Equal(other ref.Val) ref.Val {
    	otherD, ok := other.(CIDR)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/runtime/map_fast32.go

    	if h.growing() {
    		evacuate_fast32(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast32(t *maptype, h *hmap, oldbucket uintptr) {
    	b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    	newbit := h.noldbuckets()
    	if !evacuated(b) {
    		// TODO: reuse overflow buckets instead of using new ones, if there
    		// is no iterator using the old buckets.  (If !oldIterator.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/expand_calls.go

    		a := x.prAssignForArg(v)
    		aux := x.f.OwnAux
    		regs := a.Registers
    		var offset int64
    		if len(regs) == 0 {
    			offset = a.FrameOffset(aux.abiInfo)
    		}
    		auxBase := x.offsetFrom(x.f.Entry, x.sp, offset, types.NewPtr(v.Type))
    		rc.init(regs, aux.abiInfo, nil, auxBase, 0)
    		x.rewriteSelectOrArg(f.Entry.Pos, f.Entry, v, v, m0, v.Type, rc)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
Back to top