Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for Implicits (0.12 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

            }
    
            private void writeImplicitList(Encoder encoder, Collection<ImplicitInputRecord<?, ?>> implicits) throws Exception {
                encoder.writeSmallInt(implicits.size());
                for (ImplicitInputRecord<?, ?> implicit : implicits) {
                    writeAny(encoder, implicit.getInput());
                    writeAny(encoder, implicit.getOutput());
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutorTest.groovy

            Multimap<String, ImplicitInputRecord<?, ?>> implicits = HashMultimap.create()
            def record = Mock(ImplicitInputRecord)
            if (expired) {
                implicits.put('SomeService', record)
            }
            def cachedEntry = new CrossBuildCachingRuleExecutor.CachedEntry<ComponentMetadata>(0, implicits, cachedResult)
            def ruleServices = [:]
            def someService = Mock(SomeService)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataSupplierRuleExecutorTest.groovy

            Multimap<String, ImplicitInputRecord<?, ?>> implicits = HashMultimap.create()
            def record = Mock(ImplicitInputRecord)
            if (expired) {
                implicits.put('SomeService', record)
            }
            def cachedEntry = new CrossBuildCachingRuleExecutor.CachedEntry<ComponentMetadata>(0, implicits, cachedResult)
            def someService = Mock(SomeService)
            def ruleServices = [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/go/types/api.go

    // or nil if not found.
    //
    // For dot-imports, the package name is ".".
    //
    // Precondition: the Defs and Implicts maps are populated.
    func (info *Info) PkgNameOf(imp *ast.ImportSpec) *PkgName {
    	var obj Object
    	if imp.Name != nil {
    		obj = info.Defs[imp.Name]
    	} else {
    		obj = info.Implicits[imp]
    	}
    	pkgname, _ := obj.(*PkgName)
    	return pkgname
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api.go

    // or nil if not found.
    //
    // For dot-imports, the package name is ".".
    //
    // Precondition: the Defs and Implicts maps are populated.
    func (info *Info) PkgNameOf(imp *syntax.ImportDecl) *PkgName {
    	var obj Object
    	if imp.LocalPkgName != nil {
    		obj = info.Defs[imp.LocalPkgName]
    	} else {
    		obj = info.Implicits[imp]
    	}
    	pkgname, _ := obj.(*PkgName)
    	return pkgname
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/ureader.go

    	var dict readerDict
    
    	{
    		r := pr.tempReader(pkgbits.RelocObjDict, idx, pkgbits.SyncObject1)
    		if implicits := r.Len(); implicits != 0 {
    			errorf("unexpected object with %v implicit type parameter(s)", implicits)
    		}
    
    		dict.bounds = make([]typeInfo, r.Len())
    		for i := range dict.bounds {
    			dict.bounds[i] = r.typInfo()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    // TODO(adonovan): make this a library function or method of Info.
    func imported(info *types.Info, spec *ast.ImportSpec) *types.Package {
    	obj, ok := info.Implicits[spec]
    	if !ok {
    		obj = info.Defs[spec.Name] // renaming import
    	}
    	return obj.(*types.PkgName).Imported()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		GoVersion: cfg.GoVersion,
    	}
    	info := &types.Info{
    		Types:      make(map[ast.Expr]types.TypeAndValue),
    		Defs:       make(map[*ast.Ident]types.Object),
    		Uses:       make(map[*ast.Ident]types.Object),
    		Implicits:  make(map[ast.Node]types.Object),
    		Instances:  make(map[*ast.Ident]types.Instance),
    		Scopes:     make(map[ast.Node]*types.Scope),
    		Selections: make(map[*ast.SelectorExpr]*types.Selection),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/go/types/check_test.go

    	info := Info{
    		Types:        make(map[ast.Expr]TypeAndValue),
    		Instances:    make(map[*ast.Ident]Instance),
    		Defs:         make(map[*ast.Ident]Object),
    		Uses:         make(map[*ast.Ident]Object),
    		Implicits:    make(map[ast.Node]Object),
    		Selections:   make(map[*ast.SelectorExpr]*Selection),
    		Scopes:       make(map[ast.Node]*Scope),
    		FileVersions: make(map[*ast.File]string),
    	}
    
    	// typecheck
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/check_test.go

    	info := Info{
    		Types:        make(map[syntax.Expr]TypeAndValue),
    		Instances:    make(map[*syntax.Name]Instance),
    		Defs:         make(map[*syntax.Name]Object),
    		Uses:         make(map[*syntax.Name]Object),
    		Implicits:    make(map[syntax.Node]Object),
    		Selections:   make(map[*syntax.SelectorExpr]*Selection),
    		Scopes:       make(map[syntax.Node]*Scope),
    		FileVersions: make(map[*syntax.PosBase]string),
    	}
    
    	// typecheck
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top