- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for Deref (0.15 sec)
-
src/runtime/callers_test.go
// at runtime.sigpanic, because non-open-coded defers (which may be used in // non-opt or race checker mode) include an extra 'deferreturn' frame (which is // where the nil pointer deref happens). state := 1 want := []string{"runtime.Callers", "runtime_test.TestCallersDeferNilFuncPanic.func1", "runtime.gopanic", "runtime.panicmem", "runtime.sigpanic"} defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
src/go/types/signature.go
// of types the receiver type is dependent on (see issues go.dev/issue/51232, go.dev/issue/51233). check.later(func() { // spec: "The receiver type must be of the form T or *T where T is a type name." rtyp, _ := deref(recv.typ) atyp := Unalias(rtyp) if !isValid(atyp) { return // error was reported before } // spec: "The type denoted by T is called the receiver base type; it must not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/compile/internal/types2/signature.go
// of types the receiver type is dependent on (see issues go.dev/issue/51232, go.dev/issue/51233). check.later(func() { // spec: "The receiver type must be of the form T or *T where T is a type name." rtyp, _ := deref(recv.typ) atyp := Unalias(rtyp) if !isValid(atyp) { return // error was reported before } // spec: "The type denoted by T is called the receiver base type; it must not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)