Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 704 for equality (0.2 sec)

  1. test/codegen/strings.go

    	bsink = []byte("0123456789")
    
    	// 1650538808 = 0x62613938
    	// amd64:`MOVQ\t\$3978425819141910832`,`MOVL\t\$1650538808`
    	bsink = []byte("0123456789ab")
    }
    
    // self-equality is always true. See issue 60777.
    func EqualSelf(s string) bool {
    	// amd64:`MOVL\t\$1, AX`,-`.*memequal.*`
    	return s == s
    }
    func NotEqualSelf(s string) bool {
    	// amd64:`XORL\tAX, AX`,-`.*memequal.*`
    	return s != s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/LibraryTest.groovy

            when:
            createLibrary().appendNode(rootNode)
    
            then:
            new Library(rootNode.classpathentry[0], fileReferenceFactory) == createLibrary()
        }
    
        def equality() {
            Library library = createLibrary()
            Library same = createLibrary()
            Library differentPath = createLibrary()
            differentPath.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)
  3. subprojects/core/src/main/java/org/gradle/api/internal/attributes/ImmutableAttributes.java

         * from external variants that are selection candidates during resolution will <strong>NOT</strong>
         * have their type information available.
         *
         * As type is part of attribute equality, this method will in many cases <strong>NOT</strong> be useful to
         * locate these attributes within an {@link org.gradle.api.attributes.AttributeContainer} that was created
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

                    // Strings and primitive wrappers are tested with "equals", user types are tested for reference
                    // equality to avoid problems with poorly-defined user-provided equality.
                    if (!simpleOrRefEquals(newValue, v)) {
                        reportChange(k, newValue);
                    }
                    return newValue;
                });
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultModuleComponentSelectorTest.groovy

            strictlyEquals(selector1, selector2) == equality
            (selector1.hashCode() == selector2.hashCode()) == hashCode
            (selector1.toString() == selector2.toString()) == stringRepresentation
    
            where:
            group         | name         | version | equality | hashCode | stringRepresentation
            'some-group'  | 'some-name'  | '1.0'   | true     | true     | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DataStructuralEquality.kt

    import org.gradle.internal.declarativedsl.dom.DeclarativeDocument.ValueNode.ValueFactoryNode
    
    
    /**
     * Checks the data in the content of the documents for equality structurally, ignoring:
     * * the [DeclarativeDocument] implementations,
     * * the differences in the source information, like source identifiers or the offsets in the source data,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/listener.go

    	n := match.GetMatcherTree().GetInput().GetName()
    
    	var m map[string]*matcher.Matcher_OnMatch
    	equality := "="
    	switch v := match.GetMatcherTree().GetTreeType().(type) {
    	case *matcher.Matcher_MatcherTree_ExactMatchMap:
    		m = v.ExactMatchMap.Map
    	case *matcher.Matcher_MatcherTree_PrefixMatchMap:
    		m = v.PrefixMatchMap.Map
    		equality = "^"
    	case *matcher.Matcher_MatcherTree_CustomMatch:
    		tc := v.CustomMatch.GetTypedConfig()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.h

        }
    
       private:
        explicit DeadnessPredicate(void* pred) : pred_(pred) {}
    
        // This is really a Predicate*, but we don't want to expose that
        // implementation detail to our clients.  `pred_` has pointer equality so we
        // can just compare the pointer in operator== and operator!=.
        void* pred_;
    
        friend class DeadnessAnalysis;
      };
    
      virtual absl::StatusOr<DeadnessPredicate> GetPredicateFor(Node* n,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. pkg/registry/storage/csidriver/strategy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package csidriver
    
    import (
    	"context"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/apiserver/pkg/storage/names"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:01:37 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/AbstractCompositeSpecTest.java

                        return satisfy;
                    }
                });
            }
            return result.toArray(new Spec[0]);
        }
    
        @Test
        public void equality() {
            assert createCompositeSpec(spec1).equals(createCompositeSpec(spec1));
            assertFalse(createCompositeSpec(spec1).equals(createCompositeSpec(spec2)));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top