Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Deref (0.04 sec)

  1. pkg/apis/batch/validation/validation.go

    		}
    	}
    
    	if spec.PodFailurePolicy != nil {
    		allErrs = append(allErrs, validatePodFailurePolicy(spec, fldPath.Child("podFailurePolicy"))...)
    	}
    	if spec.SuccessPolicy != nil {
    		if ptr.Deref(spec.CompletionMode, batch.NonIndexedCompletion) != batch.IndexedCompletion {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("successPolicy"), *spec.SuccessPolicy, "requires indexed completion mode"))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller.go

    	reason := metrics.PodCreateNew
    	if feature.DefaultFeatureGate.Enabled(features.JobPodReplacementPolicy) {
    		if ptr.Deref(job.Spec.PodReplacementPolicy, batch.TerminatingOrFailed) == batch.Failed && jobCtx.failed > 0 {
    			reason = metrics.PodRecreateFailed
    		} else if jobCtx.failed > 0 || ptr.Deref(jobCtx.terminating, 0) > 0 {
    			reason = metrics.PodRecreateTerminatingOrFailed
    		}
    	}
    	if succeeded > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	if !ok {
    		return false
    	}
    
    	addr := ""
    	deref := ""
    	if p.isVariable(index.X) {
    		addr = "&"
    		deref = "*"
    	}
    
    	fmt.Fprintf(sb, "_cgoIndex%d := %s%s; ", i, addr, gofmtPos(index.X, index.X.Pos()))
    	origX := index.X
    	index.X = ast.NewIdent(fmt.Sprintf("_cgoIndex%d", i))
    	if deref == "*" {
    		index.X = &ast.StarExpr{X: index.X}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    				}
    			}
    			typ = check.typ(e.Type)
    			base = typ
    
    		case hint != nil:
    			// no composite literal type present - use hint (element type of enclosing type)
    			typ = hint
    			base, _ = deref(coreType(typ)) // *T implies &T{}
    			if base == nil {
    				check.errorf(e, InvalidLit, "invalid composite literal element type %s (no core type)", typ)
    				goto Error
    			}
    
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    				break
    			}
    			typ = check.typ(e.Type)
    			base = typ
    
    		case hint != nil:
    			// no composite literal type present - use hint (element type of enclosing type)
    			typ = hint
    			base, _ = deref(coreType(typ)) // *T implies &T{}
    			if base == nil {
    				check.errorf(e, InvalidLit, "invalid composite literal element type %s (no core type)", typ)
    				goto Error
    			}
    
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top