Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for equality (0.13 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/internal/DynamicCallContextTracker.java

     * <p>
     * An entry point is a boundary between non-dynamic code and a dynamic lookup. For example,
     * one such boundary is {@code Project.hasProperty}. The object used for entry point is checked
     * for equality with the argument passed to {@code leaveDynamicCall}.
     * <p>
     * The implementations should be thread-safe and should support tracking the context in multiple threads.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

    }
    
    public typealias KtSubtypingComponentMixIn = KaSubtypingComponentMixIn
    
    /**
     * [KaSubtypingErrorTypePolicy] determines the treatment of error types in type equality and subtyping checks.
     */
    public enum class KaSubtypingErrorTypePolicy {
        /**
         * Error types are not considered equal to or subtypes of any other type.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

            this.id = id;
            this.transitive = transitive;
        }
    
        /**
         * The {@code id} uniquely represents a value for this extensible enum.
         * This id should be used to compute the equality and hash code for the instance.
         *
         * @return the id
         */
        @Nonnull
        public String id() {
            return id;
        }
    
        public boolean isTransitive() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go

    				},
    			},
    		},
    		{
    			name: "field access",
    			expression: `Object{
    				intList: [1, 2, 3]
    			}.intList.sum()`,
    			expectedValue: int64(6),
    		},
    		{
    			name:          "equality check",
    			expression:    "Object{spec: Object.spec{replicas: 3}} == Object{spec: Object.spec{replicas: 1 + 2}}",
    			expectedValue: true,
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/initialization/exception/DefaultExceptionAnalyser.java

            Throwable locationAware = null;
            Throwable result = null;
            Throwable contextMatch = null;
            // Guard against malicious overrides of Throwable.equals by
            // using a Set with identity equality semantics.
            Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>());
            for (Throwable current = exception, parent = null; current != null; parent = current, current = current.getCause()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:10:04 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/v1/defaults_test.go

    limitations under the License.
    */
    
    package v1_test
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	v1 "k8s.io/api/admissionregistration/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/admissionregistration/install"
    	utilpointer "k8s.io/utils/pointer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/runtime/tracemap.go

    			// the same value. Both might create nodes, but only one will
    			// succeed on insertion. If two threads race to insert two
    			// different values, then both nodes will *always* get inserted,
    			// because the equality checking below will always fail.
    			//
    			// Performance note: contention on insertion is likely to be
    			// higher for small maps, but since this data structure is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/StandardNetwork.java

      @Override
      public Set<E> edgesConnecting(N nodeU, N nodeV) {
        NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
        if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
          return ImmutableSet.of();
        }
        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/StandardNetwork.java

      @Override
      public Set<E> edgesConnecting(N nodeU, N nodeV) {
        NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
        if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
          return ImmutableSet.of();
        }
        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDouble */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top