- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 758 for compared (0.45 sec)
-
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) -
test/fixedbugs/issue11737.go
// license that can be found in the LICENSE file. // Issue 11737 - invalid == not being caught until generated switch code was compiled package p func f() func s(x interface{}) { switch x { case f: // ERROR "invalid case f \(type func\(\)\) in switch \(incomparable type\)|can only be compared to nil" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 04 23:42:25 UTC 2022 - 437 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
pkg/apis/scheduling/v1beta1/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 *v1beta1.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) -
subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalGroupFactory.java
import javax.annotation.Nullable; import java.util.ArrayList; import java.util.List; /** * Preserves identity of {@see OrdinalGroup} instances so there's a 1-to-1 mapping of ordinals to groups allowing groups * to be freely compared by identity. */ @ServiceScope(Scope.Build.class) public class OrdinalGroupFactory { private final List<OrdinalGroup> groups = new ArrayList<>(); public final OrdinalGroup group(int ordinal) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/fingerprint/classpath/ClasspathFingerprinter.java
import org.gradle.internal.service.scopes.ServiceScope; /** * Responsible for calculating a {@link FileCollectionFingerprint} for a {@link org.gradle.api.file.FileCollection} representing a Java classpath. Compared to {@link RelativePathFileCollectionFingerprinter} this fingerprinter orders files within any sub-tree. * * @see org.gradle.api.tasks.Classpath */ @ServiceScope(Scope.UserHome.class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/fingerprint/classpath/CompileClasspathFingerprinter.java
/** * Responsible for calculating a {@link FileCollectionFingerprint} for a {@link org.gradle.api.file.FileCollection} representing a Java * compile classpath. Compared to {@link RelativePathFileCollectionFingerprinter} this fingerprinter orders files within any sub-tree. * * @see org.gradle.api.tasks.CompileClasspath */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 29 16:58:45 UTC 2022 - 1.3K bytes - Viewed (0)