Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,773 for compared (0.34 sec)

  1. pkg/apis/scheduling/v1/defaults.go

    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    // SetDefaults_PriorityClass sets additional defaults compared to its counterpart
    // in extensions.
    func SetDefaults_PriorityClass(obj *v1.PriorityClass) {
    	if obj.PreemptionPolicy == nil {
    		preemptLowerPriority := apiv1.PreemptLowerPriority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. pkg/apis/scheduling/v1alpha1/defaults.go

    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    // SetDefaults_PriorityClass sets additional defaults compared to its counterpart
    // in extensions.
    func SetDefaults_PriorityClass(obj *v1alpha1.PriorityClass) {
    	if obj.PreemptionPolicy == nil {
    		preemptLowerPriority := apiv1.PreemptLowerPriority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/attributes/DisambiguationRuleChain.java

         * @since 4.0
         */
        void add(Class<? extends AttributeDisambiguationRule<T>> rule, Action<? super ActionConfiguration> configureAction);
    
        /**
         * Adds an ordered disambiguation rule. Values will be compared using the
         * provided comparator, and the rule will automatically select the first
         * value (if multiple candidates have the same attribute value, there will
         * still be an ambiguity).
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableDoubleArray.java

    import java.util.stream.DoubleStream;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable array of {@code double} values, with an API resembling {@link List}.
     *
     * <p>Advantages compared to {@code double[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  5. test/interface/noeq.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test run-time error detection for interface values containing types
    // that cannot be compared for equality.
    
    package main
    
    func main() {
    	cmp(1)
    
    	var (
    		m map[int]int
    		s struct{ x []int }
    		f func()
    	)
    	noCmp(m)
    	noCmp(s)
    	noCmp(f)
    }
    
    func cmp(x interface{}) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 641 bytes
    - Viewed (0)
  6. src/go/types/predicates.go

    }
    
    // An ifacePair is a node in a stack of interface type pairs compared for identity.
    type ifacePair struct {
    	x, y *Interface
    	prev *ifacePair
    }
    
    func (p *ifacePair) identical(q *ifacePair) bool {
    	return p.x == q.x && p.y == q.y || p.x == q.y && p.y == q.x
    }
    
    // A comparer is used to compare types.
    type comparer struct {
    	ignoreTags     bool // if set, identical ignores struct tags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractSerializer.java

     * 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.
     */
    public abstract class AbstractSerializer<T> implements Serializer<T> {
        @Override
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy

        def compare(String s1, String s2) {
            return comparator.compare(new VersionInfo(versionParser.transform(s1)), new VersionInfo(versionParser.transform(s2)))
        }
    
        def "numeric parts are compared as numbers"() {
            expect:
            compare(smaller, larger) < 0
            compare(larger, smaller) > 0
            compare(smaller, smaller) == 0
            compare(larger, larger) == 0
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/predicates.go

    }
    
    // An ifacePair is a node in a stack of interface type pairs compared for identity.
    type ifacePair struct {
    	x, y *Interface
    	prev *ifacePair
    }
    
    func (p *ifacePair) identical(q *ifacePair) bool {
    	return p.x == q.x && p.y == q.y || p.x == q.y && p.y == q.x
    }
    
    // A comparer is used to compare types.
    type comparer struct {
    	ignoreTags     bool // if set, identical ignores struct tags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/internal/bytealg/compare_mipsx.s

    	MOVW	b_len+12(FP), R2
    	BEQ	R3, R4, samebytes
    	SGTU	R1, R2, R7
    	MOVW	R1, R8
    	CMOVN	R7, R2, R8	// R8 is min(R1, R2)
    
    	ADDU	R3, R8	// R3 is current byte in a, R8 is last byte in a to compare
    loop:
    	BEQ	R3, R8, samebytes	// all compared bytes were the same; compare lengths
    
    	MOVBU	(R3), R6
    	ADDU	$1, R3
    	MOVBU	(R4), R7
    	ADDU	$1, R4
    	BEQ	R6, R7 , loop
    	// bytes differed
    	SGTU	R6, R7, R8
    	MOVW	$-1, R6
    	CMOVZ	R8, R6, R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top