Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 515 for equality (0.11 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/SourceFolderTest.groovy

            when:
            createSourceFolder().appendNode(rootNode)
    
            then:
            new SourceFolder(rootNode.classpathentry[0]) == createSourceFolder()
        }
    
        def equality() {
            SourceFolder sourceFolder = createSourceFolder()
            sourceFolder.nativeLibraryLocation += 'x'
    
            expect:
            sourceFolder != createSourceFolder()
        }
    
        def createSourceFolder() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultProjectComponentIdentifierTest.groovy

            def id1 = newProjectId(':myProjectPath1')
            def id2 = newProjectId(projectPath)
            strictlyEquals(id1, id2) == equality
            (id1.hashCode() == id2.hashCode()) == hashCode
            (id1.toString() == id2.toString()) == stringRepresentation
    
            where:
            projectPath       | equality | hashCode | stringRepresentation
            ':myProjectPath1' | true     | true     | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 22 14:22:44 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/equality/semantic.go

    limitations under the License.
    */
    
    package equality
    
    import (
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/conversion"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    )
    
    // Semantic can do semantic deep equality checks for api objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 12:02:53 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectList.java

     *
     * <p>All object equality is determined in terms of object names. That is, calling {@code remove()} with an object that is NOT equal to
     * an existing object in terms of {@code equals}, but IS in terms of name equality will result in the existing collection item with
     * the equal name being removed.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:29 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectSet.java

     *
     * <p>All object equality is determined in terms of object names. That is, calling {@code remove()} with an object that is NOT equal to
     * an existing object in terms of {@code equals}, but IS in terms of name equality will result in the existing collection item with
     * the equal name being removed.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. test/fixedbugs/issue32901.go

    // rundir
    
    // Copyright 2019 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 32901: type descriptor equality bug in gccgo.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 03 14:12:22 UTC 2019
    - 243 bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

        else -> sameType(valueType, isAssignableTo)
    }
    
    
    /**
     * Can't check for equality: TAPI proxies are not equal to the original implementations.
     * TODO: maybe "reify" the TAPI proxies to ensure equality?
     */
    private
    fun sameType(left: DataType, right: DataType) = when (left) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue12536.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 12536: compiler crashes while checking keys in a map literal for equality
    
    package p
    
    func main() {
    	m1 := map[interface{}]interface{}{
    		nil:  0,
    		true: 1,
    	}
    	m2 := map[interface{}]interface{}{
    		true: 1,
    		nil:  0,
    	}
    	println(len(m1))
    	println(len(m2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 14:16:09 UTC 2017
    - 441 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultProjectComponentSelectorTest.groovy

            strictlyEquals(defaultBuildComponentSelector1, defaultBuildComponentSelector2) == equality
            (defaultBuildComponentSelector1.hashCode() == defaultBuildComponentSelector2.hashCode()) == hashCode
            (defaultBuildComponentSelector1.toString() == defaultBuildComponentSelector2.toString()) == stringRepresentation
    
            where:
            projectPath       | equality | hashCode | stringRepresentation
            ':myProjectPath1' | true     | true     | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultLibraryBinaryIdentifierTest.groovy

            (defaultBuildComponentIdentifier1.hashCode() == defaultBuildComponentIdentifier2.hashCode()) == hashCode
            (defaultBuildComponentIdentifier1.toString() == defaultBuildComponentIdentifier2.toString()) == stringRepresentation
    
            where:
            projectPath       | libraryName | variant | equality | hashCode | stringRepresentation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top