Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 143 for newRat (0.12 sec)

  1. pkg/apis/certificates/validation/validation.go

    	isNamespaced := false
    	allErrs := apivalidation.ValidateObjectMeta(&csr.ObjectMeta, isNamespaced, ValidateCertificateRequestName, field.NewPath("metadata"))
    
    	specPath := field.NewPath("spec")
    	err := validateCSR(csr)
    	if err != nil {
    		allErrs = append(allErrs, field.Invalid(specPath.Child("request"), csr.Spec.Request, fmt.Sprintf("%v", err)))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	allErrs = append(allErrs, ValidateNetworking(c, field.NewPath("networking"))...)
    	allErrs = append(allErrs, ValidateAPIServer(&c.APIServer, field.NewPath("apiServer"))...)
    	allErrs = append(allErrs, ValidateControllerManager(&c.ControllerManager, field.NewPath("controllerManager"))...)
    	allErrs = append(allErrs, ValidateScheduler(&c.Scheduler, field.NewPath("scheduler"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. pkg/registry/core/service/allocator/bitmap_test.go

    			max:       65535,
    			reserved:  256,
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			subTests := []sets.Int{
    				sets.NewInt(),
    				sets.NewInt(0),
    				sets.NewInt(0, 2, 5),
    				sets.NewInt(0, 1, 2, 3, 4, 5, 6, 7),
    			}
    
    			for i, ts := range subTests {
    				m := tc.allocator(tc.max, "test", tc.reserved)
    				for offset := range ts {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 10 08:56:31 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

            when:
            1 * one.missing >> false
            0 * componentSelectionRules.apply(_, _)
    
            then:
            chooser.selectNewestComponent(one, two) == one
        }
    
        def "chooses newest matching version without requiring metadata"() {
            given:
            def a = component('1.2')
            def b = component('1.3')
            def c = component('2.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/builtin.go

    		//     panicmakeslicecap()
    		// }
    		nif := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OGT, typecheck.Conv(l, types.Types[types.TUINT64]), ir.NewInt(base.Pos, i)), nil, nil)
    		niflen := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OLT, l, ir.NewInt(base.Pos, 0)), nil, nil)
    		niflen.Body = []ir.Node{mkcall("panicmakeslicelen", nil, init)}
    		nif.Body.Append(niflen, mkcall("panicmakeslicecap", nil, init))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. pkg/volume/util/resize_util.go

    		return oldPV, fmt.Errorf("unexpected error marshaling old PV %q with error : %v", oldPV.Name, err)
    	}
    
    	newData, err := json.Marshal(newPV)
    	if err != nil {
    		return oldPV, fmt.Errorf("unexpected error marshaling new PV %q with error : %v", newPV.Name, err)
    	}
    
    	patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, oldPV)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  7. src/runtime/mspanset.go

    		if top < spineLen {
    			unlock(&b.spineLock)
    			goto retry
    		}
    
    		spine := b.spine.Load()
    		if spineLen == b.spineCap {
    			// Grow the spine.
    			newCap := b.spineCap * 2
    			if newCap == 0 {
    				newCap = spanSetInitSpineCap
    			}
    			newSpine := persistentalloc(newCap*goarch.PtrSize, cpu.CacheLineSize, &memstats.gcMiscSys)
    			if b.spineCap != 0 {
    				// Blocks are allocated off-heap, so
    				// no write barriers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    func (cu containersByEvictUnit) NumEvictUnits() int {
    	return len(cu)
    }
    
    // Newest first.
    type byCreated []containerGCInfo
    
    func (a byCreated) Len() int           { return len(a) }
    func (a byCreated) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
    func (a byCreated) Less(i, j int) bool { return a[i].createTime.After(a[j].createTime) }
    
    // Newest first.
    type sandboxByCreated []sandboxGCInfo
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/complit.go

    		lhs.RType = n.RType
    
    		zero := ir.NewAssignStmt(base.Pos, i, ir.NewInt(base.Pos, 0))
    		cond := ir.NewBinaryExpr(base.Pos, ir.OLT, i, ir.NewInt(base.Pos, tk.NumElem()))
    		incr := ir.NewAssignStmt(base.Pos, i, ir.NewBinaryExpr(base.Pos, ir.OADD, i, ir.NewInt(base.Pos, 1)))
    
    		var body ir.Node = ir.NewAssignStmt(base.Pos, lhs, rhs)
    		body = typecheck.Stmt(body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/range.go

    		// if hv2 < utf8.RuneSelf
    		nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    		nif.Cond = ir.NewBinaryExpr(base.Pos, ir.OLT, hv2, ir.NewInt(base.Pos, utf8.RuneSelf))
    
    		// hv1++
    		nif.Body = []ir.Node{ir.NewAssignStmt(base.Pos, hv1, ir.NewBinaryExpr(base.Pos, ir.OADD, hv1, ir.NewInt(base.Pos, 1)))}
    
    		// } else {
    		// hv2, hv1 = decoderune(ha, hv1)
    		fn := typecheck.LookupRuntime("decoderune")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
Back to top