Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newNames (0.17 sec)

  1. pkg/apis/core/validation/validation.go

    	return allErrs
    }
    
    func validateOnlyDeletedSchedulingGates(newGates, oldGates []core.PodSchedulingGate, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if len(newGates) == 0 {
    		return allErrs
    	}
    
    	additionalGates := make(map[string]int)
    	for i, newGate := range newGates {
    		additionalGates[newGate.Name] = i
    	}
    
    	for _, oldGate := range oldGates {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    		base.Fatalf("deferStructFnField is %q, not fn", name)
    	}
    
    	n := ir.NewDeclNameAt(src.NoXPos, ir.OTYPE, ir.Pkgs.Runtime.Lookup("_defer"))
    	typ := types.NewNamed(n)
    	n.SetType(typ)
    	n.SetTypecheck(1)
    
    	// build struct holding the above fields
    	typ.SetUnderlying(types.NewStruct(fields))
    	types.CalcStructSize(typ)
    
    	deferType = typ
    	return typ
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top