Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for Deref (0.12 sec)

  1. cmd/kube-proxy/app/server.go

    		"This parameter is ignored if a config file is specified by --config.")
    
    	fs.Int32Var(o.config.IPTables.MasqueradeBit, "iptables-masquerade-bit", ptr.Deref(o.config.IPTables.MasqueradeBit, 14), "If using the iptables or ipvs proxy mode, the bit of the fwmark space to mark packets requiring SNAT with.  Must be within the range [0, 31].")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/parser.go

    	if p.tok == '?' {
    		// Anonymous.
    		p.next()
    		return ""
    	}
    	// The package path is redundant for us. Don't try to parse it.
    	_, name := p.parseUnquotedQualifiedName()
    	return name
    }
    
    func deref(typ types.Type) types.Type {
    	if p, _ := typ.(*types.Pointer); p != nil {
    		typ = p.Elem()
    	}
    	return typ
    }
    
    // Field = Name Type [string] .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy.go

    		// below .spec.completions, however, this it is ok if the
    		// status.completedIndexes go beyond completions just after a user scales
    		// down a Job.
    		isIndexed := ptr.Deref(newJob.Spec.CompletionMode, batch.NonIndexedCompletion) == batch.IndexedCompletion
    
    		isJobFinishedChanged := batchvalidation.IsJobFinished(oldJob) != batchvalidation.IsJobFinished(newJob)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. pkg/controller/cronjob/utils_test.go

    				t.Errorf("Wrong number of annotations")
    			}
    
    			scheduledAnnotation := job.ObjectMeta.Annotations[batchv1.CronJobScheduledTimestampAnnotation]
    			timeZoneLocation, err := time.LoadLocation(ptr.Deref(tt.timeZone, ""))
    			if err != nil {
    				t.Errorf("Wrong timezone location")
    			}
    			if len(job.ObjectMeta.Annotations) != 0 && scheduledAnnotation != tt.expectedScheduledTime().Format(time.RFC3339) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    		}
    		deref := false
    		if !ssa.CanSSA(n.Rhs[0].Type()) {
    			if res.Op != ssa.OpLoad {
    				s.Fatalf("dottype of non-load")
    			}
    			mem := s.mem()
    			if res.Args[1] != mem {
    				s.Fatalf("memory no longer live from 2-result dottype load")
    			}
    			deref = true
    			res = res.Args[0]
    		}
    		s.assign(n.Lhs[0], res, deref, 0)
    		s.assign(n.Lhs[1], resok, false, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/object.go

    	// check if the receiver is set (we cannot just look for non-nil obj.typ).
    	if sig, _ := obj.typ.(*Signature); sig != nil && sig.recv != nil {
    		_, isPtr := deref(sig.recv.typ)
    		return isPtr
    	}
    
    	// If a method's type is not set it may be a method/function that is:
    	// 1) client-supplied (via NewFunc with no signature), or
    	// 2) internally created but not yet type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. 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)
  8. src/go/types/object.go

    	// check if the receiver is set (we cannot just look for non-nil obj.typ).
    	if sig, _ := obj.typ.(*Signature); sig != nil && sig.recv != nil {
    		_, isPtr := deref(sig.recv.typ)
    		return isPtr
    	}
    
    	// If a method's type is not set it may be a method/function that is:
    	// 1) client-supplied (via NewFunc with no signature), or
    	// 2) internally created but not yet type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    	assert(origm != nil)
    
    	check := t.check
    	// Ensure that the original method is type-checked.
    	if check != nil {
    		check.objDecl(origm, nil)
    	}
    
    	origSig := origm.typ.(*Signature)
    	rbase, _ := deref(origSig.Recv().Type())
    
    	// If rbase is t, then origm is already the instantiated method we're looking
    	// for. In this case, we return origm to preserve the invariant that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. pkg/apis/networking/validation/validation.go

    		Kind:     params.Kind,
    		Name:     params.Name,
    	}, fldPath)...)
    
    	if params.Scope == nil {
    		allErrs = append(allErrs, field.Required(fldPath.Child("scope"), ""))
    		return allErrs
    	}
    
    	scope := ptr.Deref(params.Scope, "")
    
    	if !supportedIngressClassParametersReferenceScopes.Has(scope) {
    		allErrs = append(allErrs, field.NotSupported(fldPath.Child("scope"), scope,
    			supportedIngressClassParametersReferenceScopes.List()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 14:48:01 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top