- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 269 for Implicits (0.42 sec)
-
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) -
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) -
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go
} case *types.Interface: for i := 0; i < T.NumMethods(); i++ { addObj(T.Method(i)) } for i := 0; i < T.NumEmbeddeds(); i++ { addType(T.EmbeddedType(i)) // walk Embedded for implicits } case *types.Union: for i := 0; i < T.Len(); i++ { addType(T.Term(i).Type()) } case *types.TypeParam: if !typs[T] { typs[T] = true addObj(T.Obj())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
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) -
src/go/ast/scope.go
// flag to disable syntactic object resolution (which also saves CPU // and memory), and instead use the type checker [go/types] if object // resolution is desired. See the Defs, Uses, and Implicits fields of // the [types.Info] struct for details. type Object struct { Kind ObjKind Name string // declared name Decl any // corresponding Field, XxxSpec, FuncDecl, LabeledStmt, AssignStmt, Scope; or nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
for _, test := range tests { info := Info{ Implicits: make(map[syntax.Node]Object), } name := mustTypecheck(test.src, nil, &info).Name() // the test cases expect at most one Implicits entry if len(info.Implicits) > 1 { t.Errorf("package %s: %d Implicits entries found", name, len(info.Implicits)) continue } // extract Implicits entry, if any var got string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
} for _, test := range tests { info := Info{ Implicits: make(map[ast.Node]Object), } name := mustTypecheck(test.src, nil, &info).Name() // the test cases expect at most one Implicits entry if len(info.Implicits) > 1 { t.Errorf("package %s: %d Implicits entries found", name, len(info.Implicits)) continue } // extract Implicits entry, if any var got string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)