- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 214 for compareIDs (0.16 sec)
-
src/go/types/util.go
// out this code allows more of the rest of the code // to be shared. package types import ( "go/ast" "go/constant" "go/token" ) const isTypes2 = false // cmpPos compares the positions p and q and returns a result r as follows: // // r < 0: p is before q // r == 0: p and q are the same position (but may not be identical) // r > 0: p is after q //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/CacheVersionTest.groovy
expect: CacheVersion.parse("") == CacheVersion.empty() CacheVersion.parse("42") == CacheVersion.of(42) CacheVersion.parse("1.2.3.4.5") == CacheVersion.of(1, 2, 3, 4, 5) } def "compares versions"() { expect: CacheVersion.of(2) > CacheVersion.of(1) CacheVersion.of(1) < CacheVersion.of(2) CacheVersion.of(1) == CacheVersion.of(1) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/versions.go
// The versions x and y must begin with a "go" prefix: "go1.21" not "1.21". // Invalid versions, including the empty string, compare less than // valid versions and equal to each other. // The language version "go1.21" compares less than the // release candidate and eventual releases "go1.21rc1" and "go1.21.0". // Custom toolchain suffixes are ignored during comparison: // "go1.21.0" and "go1.21.0-bigcorp" are equal.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbsolutePathChangeDetector.java
import org.gradle.internal.execution.history.changes.CompareStrategy.ChangeDetector; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; /** * Compares by absolute paths and file contents. Order does not matter. */ public class AbsolutePathChangeDetector<S> implements ChangeDetector<S> { private final ItemComparator<S> itemComparator;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.9K bytes - Viewed (0) -
src/go/version/version.go
// The versions x and y must begin with a "go" prefix: "go1.21" not "1.21". // Invalid versions, including the empty string, compare less than // valid versions and equal to each other. // The language version "go1.21" compares less than the // release candidate and eventual releases "go1.21rc1" and "go1.21.0". func Compare(x, y string) int { return gover.Compare(stripGo(x), stripGo(y)) } // IsValid reports whether the version x is valid.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 19:56:48 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/TrivialChangeDetector.java
import org.gradle.internal.execution.history.changes.CompareStrategy.ChangeDetector; import org.gradle.internal.execution.history.changes.CompareStrategy.ChangeFactory; import java.util.Map; /** * Compares collections if either current or previous are empty, or both current and previous have one element. */ public class TrivialChangeDetector<S> implements ChangeDetector<S> { private final ItemComparator<S> itemComparator;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/IgnoredPathCompareStrategy.java
import org.gradle.internal.fingerprint.impl.IgnoredPathFingerprintingStrategy; import org.gradle.internal.hash.HashCode; import java.util.Comparator; import java.util.List; import java.util.Map; /** * Compares {@link FileCollectionFingerprint}s ignoring the path. */ public class IgnoredPathCompareStrategy extends AbstractFingerprintCompareStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/maps/maps.go
for key, value := range subset { if supersetValue, ok := superset[key]; !ok || supersetValue != value { return false } } return true } // EqualFunc is like Equal, but compares values using eq. // Keys are still compared with ==. func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool { return maps.EqualFunc(m1, m2, eq)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 01 22:48:35 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
import java.util.Random; /** * Benchmarks for {@link CharStreams#copy}. * * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and * Reader implementations, this compares the performance of the different options. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) public class CharStreamsCopyBenchmark { enum CopyStrategy {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:59:54 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/StaticVersionComparator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.8K bytes - Viewed (0)