Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 704 for equality (0.15 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtCallableSignature.kt

     *            // On the other hand, a `KaCallableSignature` carries instantiated type information `(Int) -> String`.
     * }
     * ```
     *
     * Equality of [KaCallableSignature] is derived from its content.
     */
    public sealed class KaCallableSignature<out S : KaCallableSymbol> : KaLifetimeOwner {
        /**
         * The original symbol for this signature.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for equality test.
       *   <li>Equality test is not performed on method return values unless the method is a visible
       *       static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/VariableTest.groovy

            when:
            createVariable().appendNode(rootNode)
    
            then:
            new Variable(rootNode.classpathentry[0], fileReferenceFactory) == createVariable()
        }
    
        def equality() {
            Variable variable = createVariable()
            Variable same = createVariable()
            Variable different = createVariable()
            different.path = '/other'
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/logic_test.go

    // license that can be found in the LICENSE file.
    
    package test
    
    import "testing"
    
    // Tests to make sure logic simplification rules are correct.
    
    func TestLogic64(t *testing.T) {
    	// test values to determine function equality
    	values := [...]int64{-1 << 63, 1<<63 - 1, -4, -3, -2, -1, 0, 1, 2, 3, 4}
    
    	// golden functions we use repeatedly
    	zero := func(x int64) int64 { return 0 }
    	id := func(x int64) int64 { return x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Sets the default value for {@code type}. The default value isn't used in testing {@link
       * Object#equals} because more than one sample instances are needed for testing inequality. To set
       * distinct values for equality testing, use {@link #setDistinctValues} instead.
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDefault(Class<T> type, T value) {
        nullPointerTester.setDefault(type, value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/poset.go

    // that A<C.
    //
    // It is possible to record equality relations between SSA values with SetEqual and check
    // equality with Equal. Equality propagates into the transitive closure for the partial
    // order so that if we know that A<B<C and later learn that A==D, Ordered will return
    // true for D<C.
    //
    // It is also possible to record inequality relations between nodes with SetNonEqual;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  7. src/maps/maps_test.go

    		t.Error("Equal(nil, nil) = false, want true")
    	}
    	if ms := map[int]int{1: 2}; Equal(m1, ms) {
    		t.Errorf("Equal(%v, %v) = true, want false", m1, ms)
    	}
    
    	// Comparing NaN for equality is expected to fail.
    	mf := map[int]float64{1: 0, 2: math.NaN()}
    	if Equal(mf, mf) {
    		t.Errorf("Equal(%v, %v) = true, want false", mf, mf)
    	}
    }
    
    // equal is simply ==.
    func equal[T comparable](v1, v2 T) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 17:05:56 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java

    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE;
    
    /**
     * Methods for dealing with paths on the file system.
     *
     * There are methods for checking equality and for comparing two paths.
     * All methods for equality and comparing need to be called with the correct case-sensitivity according to the underlying file system.
     *
     * A segment of a path is the part between two file separators.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/ClassPathEncodingExtensions.kt

    import org.gradle.internal.serialize.graph.writeFile
    
    
    internal
    fun Encoder.writeClassPath(classPath: ClassPath) {
        // Ensure that the proper type is going to be restored,
        // because it is important for the equality checks.
        if (classPath is TransformedClassPath) {
            writeBoolean(true)
            writeTransformedClassPath(classPath)
        } else {
            writeBoolean(false)
            writeDefaultClassPath(classPath)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/collections/ImmutableFilteredListTest.groovy

            then:
            list.size() == 8
            for (int i = 0; i < 8; i++) {
                assert list.get(i) == i + 1
            }
        }
    
        def "list equality works"() {
            expect:
            ImmutableFilteredList.allOf([1, 2, 3, 4, 5, 6, 7, 8]) == [1, 2, 3, 4, 5, 6, 7, 8]
            [1, 2, 3, 4, 5, 6, 7, 8] == ImmutableFilteredList.allOf([1, 2, 3, 4, 5, 6, 7, 8])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top