Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Deref (0.04 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

            return userProperties.get(key);
        }
    
        @Override
        public Model getRawModel(Path from, Path p) {
            return Holder.deref(modelByPath.get(p));
        }
    
        @Override
        public Model getRawModel(Path from, String groupId, String artifactId) {
            return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId)));
        }
    
        @Override
        public Path locate(Path path) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/rest/delete_test.go

    				t.Errorf("metadata.DeletionGracePeriodSeconds = %v, want %v", ptr.Deref(tt.args.pod.DeletionGracePeriodSeconds, 0), ptr.Deref(tt.wantDeletionGracePeriodSeconds, 0))
    			}
    			if !utilpointer.Int64Equal(tt.args.options.GracePeriodSeconds, tt.wantGracePeriodSeconds) {
    				t.Errorf("options.GracePeriodSeconds = %v, want %v", ptr.Deref(tt.args.options.GracePeriodSeconds, 0), ptr.Deref(tt.wantGracePeriodSeconds, 0))
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 11:44:07 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. pkg/api/job/warnings.go

    	var warnings []string
    	if spec.CompletionMode != nil && *spec.CompletionMode == batch.IndexedCompletion {
    		completions := ptr.Deref(spec.Completions, 0)
    		parallelism := ptr.Deref(spec.Parallelism, 0)
    		if completions > completionsSoftLimit && parallelism > parallelismSoftLimitForUnlimitedCompletions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 11:44:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    	case *types.Interface:
    		return InterfaceTermSet(typ)
    	default:
    		return []*types.Term{types.NewTerm(false, typ)}, nil
    	}
    }
    
    // Deref returns the type of the variable pointed to by t,
    // if t's core type is a pointer; otherwise it returns t.
    //
    // Do not assume that Deref(T)==T implies T is not a pointer:
    // consider "type T *T", for example.
    //
    // TODO(adonovan): ideally this would live in typesinternal, but that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/struct.go

    			// of a (named or alias) type, and t (= deref(typ)) must be the type of T.
    			// We must delay this check to the end because we don't want to instantiate
    			// (via under(t)) a possibly incomplete type.
    			embeddedTyp := typ // for closure below
    			embeddedPos := pos
    			check.later(func() {
    				t, isPtr := deref(embeddedTyp)
    				switch u := under(t).(type) {
    				case *Basic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/lookup.go

    	if name == "_" {
    		return // blank fields/methods are never found
    	}
    
    	// Importantly, we must not call under before the call to deref below (nor
    	// does deref call under), as doing so could incorrectly result in finding
    	// methods of the pointer base type when T is a (*Named) pointer type.
    	typ, isPtr := deref(T)
    
    	// *typ where typ is an interface (incl. a type parameter) has no methods.
    	if isPtr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. src/go/types/lookup.go

    	if name == "_" {
    		return // blank fields/methods are never found
    	}
    
    	// Importantly, we must not call under before the call to deref below (nor
    	// does deref call under), as doing so could incorrectly result in finding
    	// methods of the pointer base type when T is a (*Named) pointer type.
    	typ, isPtr := deref(T)
    
    	// *typ where typ is an interface (incl. a type parameter) has no methods.
    	if isPtr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. src/go/types/struct.go

    			// of a (named or alias) type, and t (= deref(typ)) must be the type of T.
    			// We must delay this check to the end because we don't want to instantiate
    			// (via under(t)) a possibly incomplete type.
    
    			// for use in the closure below
    			embeddedTyp := typ
    			embeddedPos := f.Type
    
    			check.later(func() {
    				t, isPtr := deref(embeddedTyp)
    				switch u := under(t).(type) {
    				case *Basic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/podtopologyspread/common.go

    				}
    			}
    
    			tsc := topologySpreadConstraint{
    				MaxSkew:            c.MaxSkew,
    				TopologyKey:        c.TopologyKey,
    				Selector:           selector,
    				MinDomains:         ptr.Deref(c.MinDomains, 1),   // If MinDomains is nil, we treat MinDomains as 1.
    				NodeAffinityPolicy: v1.NodeInclusionPolicyHonor,  // If NodeAffinityPolicy is nil, we treat NodeAffinityPolicy as "Honor".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    				structuralTypes = append(structuralTypes, term.Type())
    			}
    		default:
    			structuralTypes = append(structuralTypes, typ)
    		}
    
    		for _, typ := range structuralTypes {
    			strct, ok := typeparams.Deref(typ).Underlying().(*types.Struct)
    			if !ok {
    				// skip non-struct composite literals
    				continue
    			}
    			if isLocalType(pass, typ) {
    				// allow unkeyed locally defined composite literal
    				continue
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top