Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 515 for equality (0.26 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/collect/SetMultimap.java

       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SetMultimap.java

       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/identity.go

    			if (flags&identIgnoreTags) == 0 && f1.Note != f2.Note {
    				return false
    			}
    		}
    		return true
    
    	case TFUNC:
    		// Check parameters and result parameters for type equality.
    		// We intentionally ignore receiver parameters for type
    		// equality, because they're never relevant.
    		if t1.NumParams() != t2.NumParams() ||
    			t1.NumResults() != t2.NumResults() ||
    			t1.IsVariadic() != t2.IsVariadic() {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProjectReportIntegTest.groovy

            "taskReport"            | []
            "propertyReport"        | []
            "htmlDependencyReport"  | []
            // projectReport depends on the other ones, and task order may not be preserved,
            // causing equality comparison between first and second outputs to fail
            //"projectReport"         | []
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ContainerTest.groovy

            Node rootNode = new Node(null, 'root')
    
            when:
            createContainer().appendNode(rootNode)
    
            then:
            new Container(rootNode.classpathentry[0]) == createContainer()
        }
    
        def equality() {
            Container container = createContainer()
            container.nativeLibraryLocation += 'x'
    
            expect:
            container != createContainer()
        }
    
        private Container createContainer() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/OutputTest.groovy

            Node rootNode = new Node(null, 'root')
    
            when:
            createOutput().appendNode(rootNode)
    
            then:
            new Output(rootNode.classpathentry[0]) == createOutput()
        }
    
        def equality() {
            Output output = createOutput()
            output.path += 'x'
    
            expect:
            output != createOutput()
        }
    
        private Output createOutput() {
            return new Output('somePath')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/ClassLoaderIdsTest.groovy

    import static org.gradle.api.internal.initialization.ClassLoaderIds.testTaskClasspath
    import static org.gradle.util.Matchers.strictlyEquals
    
    class ClassLoaderIdsTest extends Specification {
    
        def "equality"() {
            expect:
            strictlyEquals(buildScript("x", "x"), buildScript("x", "x"))
            buildScript("x", "x") != buildScript("x", "y")
            buildScript("x", "x") != buildScript("y", "y")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 09 23:32:23 UTC 2015
    - 1.4K bytes
    - Viewed (0)
  10. src/runtime/libfuzzer.go

    //  2. s1: first string used in the comparison
    //  3. s2: second string used in the comparison
    //  4. result: an integer representing the comparison result. 0 indicates
    //     equality (comparison will ignored by libfuzzer), non-zero indicates a
    //     difference (comparison will be taken into consideration).
    //
    //go:nosplit
    func libfuzzerHookStrCmp(s1, s2 string, fakePC int) {
    	if s1 != s2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top