Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 408 for equality (0.5 sec)

  1. test/fixedbugs/issue67160.go

    // Test to make sure that we don't try using larger loads for
    // generated equality functions on architectures that can't do
    // unaligned loads.
    
    package main
    
    // T has a big field that wants to be compared with larger loads/stores.
    // T is "special" because of the unnamed field, so it needs a generated equality function.
    // T is an odd number of bytes in size and has alignment 1.
    type T struct {
    	src [8]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:34:04 UTC 2024
    - 767 bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultIsolatedProjectSpec.groovy

            def subject = new DefaultIsolatedProject(project, project)
    
            when:
            def hashCode = subject.hashCode()
            def equality = subject.equals(new DefaultIsolatedProject(project, project))
    
            then:
            hashCode == 42
            equality
            1 * project.hashCode() >> 42
            1 * project.equals(project) >> true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 13:01:58 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractSerializer.java

     */
    
    package org.gradle.internal.serialize;
    
    import com.google.common.base.Objects;
    
    /**
     * This abstract class provide a sensible default implementation for {@code Serializer} equality. This equality
     * implementation is required to enable cache instance reuse within the same Gradle runtime. Serializers are used
     * as cache parameter which need to be compared to determine compatible cache.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. pkg/registry/flowcontrol/ensurer/flowschema.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package ensurer
    
    import (
    	flowcontrolv1 "k8s.io/api/flowcontrol/v1"
    	"k8s.io/apimachinery/pkg/api/equality"
    	flowcontrolclient "k8s.io/client-go/kubernetes/typed/flowcontrol/v1"
    	flowcontrollisters "k8s.io/client-go/listers/flowcontrol/v1"
    	flowcontrolapisv1 "k8s.io/kubernetes/pkg/apis/flowcontrol/v1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/data/MavenDependencyKeyTest.groovy

            strictlyEquals(key1, key2) == equality
            (key1.hashCode() == key2.hashCode()) == hashCode
            (key1.toString() == key2.toString()) == stringRepresentation
    
            where:
            groupId     | artifactId     | type  | classifier | equality | hashCode | stringRepresentation
            'group-one' | 'artifact-one' | 'jar' | null       | false    | false    | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package ensurer
    
    import (
    	flowcontrolv1 "k8s.io/api/flowcontrol/v1"
    	"k8s.io/apimachinery/pkg/api/equality"
    	flowcontrolclient "k8s.io/client-go/kubernetes/typed/flowcontrol/v1"
    	flowcontrollisters "k8s.io/client-go/listers/flowcontrol/v1"
    	flowcontrolapisv1 "k8s.io/kubernetes/pkg/apis/flowcontrol/v1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top