- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,094 for sameId (0.45 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/OpaqueComponentArtifactIdentifierTest.groovy
def id = new OpaqueComponentArtifactIdentifier(new File("one")) def sameId = new OpaqueComponentArtifactIdentifier(new File("one")) def differentId = new OpaqueComponentArtifactIdentifier(new File("two")) expect: Matchers.strictlyEquals(id, sameId) id != differentId }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/ComponentFileArtifactIdentifierTest.groovy
def id = new ComponentFileArtifactIdentifier(componentId, "one") def sameId = new ComponentFileArtifactIdentifier(componentId, "one") def differentComponent = new ComponentFileArtifactIdentifier(otherId, "one") def differentName = new ComponentFileArtifactIdentifier(componentId, "two") expect: Matchers.strictlyEquals(id, sameId) id != differentComponent id != differentName }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/lookup.go
return 0, false } type instanceLookup struct { // buf is used to avoid allocating the map m in the common case of a small // number of instances. buf [3]*Named m map[*Named][]*Named } func (l *instanceLookup) lookup(inst *Named) *Named { for _, t := range l.buf { if t != nil && Identical(inst, t) { return t } } for _, t := range l.m[inst.Origin()] { if Identical(inst, t) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 19.8K bytes - Viewed (0) -
src/go/types/lookup.go
return 0, false } type instanceLookup struct { // buf is used to avoid allocating the map m in the common case of a small // number of instances. buf [3]*Named m map[*Named][]*Named } func (l *instanceLookup) lookup(inst *Named) *Named { for _, t := range l.buf { if t != nil && Identical(inst, t) { return t } } for _, t := range l.m[inst.Origin()] { if Identical(inst, t) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 19.9K bytes - Viewed (0) -
src/go/types/object.go
// setParent sets the parent scope of the object. setParent(*Scope) // sameId reports whether obj.Id() and Id(pkg, name) are the same. // If foldCase is true, names are considered equal if they are equal with case folding // and their packages are ignored (e.g., pkg1.m, pkg1.M, pkg2.m, and pkg2.M are all equal). sameId(pkg *Package, name string, foldCase bool) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
// setParent sets the parent scope of the object. setParent(*Scope) // sameId reports whether obj.Id() and Id(pkg, name) are the same. // If foldCase is true, names are considered equal if they are equal with case folding // and their packages are ignored (e.g., pkg1.m, pkg1.M, pkg2.m, and pkg2.M are all equal). sameId(pkg *Package, name string, foldCase bool) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/scope.go
} // InsertLazy is like Insert, but allows deferring construction of the // inserted object until it's accessed with Lookup. The Object // returned by resolve must have the same name as given to InsertLazy. // If s already contains an alternative object with the same name, // InsertLazy leaves s unchanged and returns false. Otherwise it // records the binding and returns true. The object's parent scope // will be set to s after resolve is called.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/scope.go
} // InsertLazy is like Insert, but allows deferring construction of the // inserted object until it's accessed with Lookup. The Object // returned by resolve must have the same name as given to InsertLazy. // If s already contains an alternative object with the same name, // InsertLazy leaves s unchanged and returns false. Otherwise it // records the binding and returns true. The object's parent scope // will be set to s after resolve is called.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.9K bytes - Viewed (0) -
src/go/types/predicates.go
if alias, _ := t.(*Alias); alias != nil && alias.tparams != nil && alias.targs == nil { return true } named := asNamed(t) return named != nil && named.obj != nil && named.inst == nil && named.TypeParams().Len() > 0 } // Comparable reports whether values of type T are comparable. func Comparable(T Type) bool { return comparable(T, true, nil, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/predicates.go
if alias, _ := t.(*Alias); alias != nil && alias.tparams != nil && alias.targs == nil { return true } named := asNamed(t) return named != nil && named.obj != nil && named.inst == nil && named.TypeParams().Len() > 0 } // Comparable reports whether values of type T are comparable. func Comparable(T Type) bool { return comparable(T, true, nil, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0)