Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for equality (0.3 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbolBase.kt

    /**
     * [KaFirNamedClassOrObjectSymbolBase] provides shared equality and hash code implementations for FIR-based named class or object symbols so
     * that symbols of different kinds can be compared and remain interchangeable.
     */
    internal sealed class KaFirNamedClassOrObjectSymbolBase : KaNamedClassOrObjectSymbol(), KaFirSymbol<FirRegularClassSymbol> {
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/reflect/deepequal.go

    // Copyright 2009 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.
    
    // Deep equality test via reflection
    
    package reflect
    
    import (
    	"internal/bytealg"
    	"unsafe"
    )
    
    // During deepValueEqual, must keep track of checks that are
    // in progress. The comparison algorithm assumes that all
    // checks in progress are true when it reencounters them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    import (
    	"context"
    	"fmt"
    	"sort"
    	"time"
    
    	rbacv1ac "k8s.io/client-go/applyconfigurations/rbac/v1"
    	"k8s.io/klog/v2"
    
    	rbacv1 "k8s.io/api/rbac/v1"
    	"k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * to the provided {@code standardEquals} method.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose
     * comparator is not consistent with {@code equals}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompiler.java

            } catch (RuntimeException e) {
                // in-process Groovy compilation throws a CompilationFailedException from another classloader, hence testing class name equality
                // TODO:pm Prefer class over class name for equality check once using WorkerExecutor for in-process groovy compilation
                if ((spec.getCompileOptions().isFailOnError() && spec.getGroovyCompileOptions().isFailOnError())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerTest.groovy

            Object o = cl.newInstance(new Object[0])
    
            when:
            def r = serialize(o, serializer)
    
            then:
            cl.isInstance(r)
        }
    
        def "returns true when testing equality between two serializer with the same classloader"() {
            DefaultSerializer rhsSerializer = new DefaultSerializer(getClass().classLoader)
            DefaultSerializer lhsSerializer = new DefaultSerializer(getClass().classLoader)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top