Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Deref (0.08 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. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.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: Tue Nov 07 08:20:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. test/fixedbugs/issue13265.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 13265: nil pointer deref.
    
    package p
    
    func f() {
        var c chan chan chan int
        for ; ; <-<-<-c {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top