- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,535 for Comparer (0.19 sec)
-
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) -
src/internal/bytealg/count_ppc64x.s
VCMPEQUB V0, V1, V0 VCNTMBB V0, $1, R14 // Sum the value of bit 0 of each byte of the compare into R14. SRD $56, R14, R14 // The result of VCNTMBB is shifted. Unshift it. ADD R14, R18, R18 ADD $16, R3, R3 ANDCC $15, R4, R4 small_tail_p10: SLD $56, R4, R6 LXVLL R3, R6, V0 VCMPEQUB V0, V1, V0 VCLRRB V0, R4, V0 // If <16B being compared, clear matches of the 16-R4 bytes.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 20:30:44 UTC 2023 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
} return builder.toString(); } /** * Returns a comparator that compares two {@code byte} arrays <a * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it * compares, using {@link #compare(byte, byte)}), the first pair of values that follow any common
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLongs.java
} return builder.toString(); } /** * Returns a comparator that compares two arrays of unsigned {@code long} values <a * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it * compares, using {@link #compare(long, long)}), the first pair of values that follow any common
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java
abstract String getDescription(); /** * @return comparator that compares operations, slowest first, then alphabetically */ public static Comparator<? super Operation> slowestFirst() { return new Comparator<Operation>() { @Override public int compare(Operation o1, Operation o2) { long byElapsedTime = o2.getElapsedTime() - o1.getElapsedTime();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 12:58:53 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java
package org.gradle.util.internal; import com.google.common.base.Objects; import com.google.common.collect.Ordering; import javax.annotation.Nullable; import java.util.Locale; /** * Represents, parses, and compares version numbers. Supports a couple of different schemes: <ul> <li>MAJOR.MINOR.MICRO-QUALIFIER (the default).</li> <li>MAJOR.MINOR.MICRO.PATCH-QUALIFIER.</li> </ul> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go
pre string // decimal or "" } // compare returns -1, 0, or +1 depending on whether // x < y, x == y, or x > y, interpreted as toolchain versions. // The versions x and y must not begin with a "go" prefix: just "1.21" not "go1.21". // Malformed versions compare less than well-formed versions and equal to each other. // The language version "1.21" compares less than the release candidate and eventual releases "1.21rc1" and "1.21.0".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:52:54 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/TaskNameComparator.java
package org.gradle.plugins.ide.internal.tooling.model; import java.io.Serializable; import java.util.Comparator; /** * Compares task names to create ordering for selector launching. */ public class TaskNameComparator implements Comparator<String>, Serializable { @Override public int compare(String taskName1, String taskName2) { int depthDiff = getDepth(taskName1) - getDepth(taskName2); if (depthDiff != 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/test/framework/resource/version.go
} } return IstioVersion(s), nil } // Compare compares two Istio versions. Returns -1 if version "v" is less than "other", 0 if the same, // and 1 if "v" is greater than "other". func (v IstioVersion) Compare(other IstioVersion) int { ver := model.ParseIstioVersion(string(v)) otherVer := model.ParseIstioVersion(string(other)) return ver.Compare(otherVer) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.7K bytes - Viewed (0) -
src/internal/bytealg/equal_ppc64x.s
CMP R5, $32 // Use overlapping VSX loads for len <= 32 BLE check17_32 // Do a pair of overlapping VSR compares CMP R5, $64 BLE check33_64 // Hybrid check + overlap compare. setup64: SRD $6, R5, R6 // number of 64 byte chunks to compare MOVD R6, CTR MOVD $16, R14 // index for VSX loads and stores MOVD $32, R15 MOVD $48, R16 ANDCC $0x3F, R5, R5 // len%64==0? PCALIGN $16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 16:47:45 UTC 2023 - 4.9K bytes - Viewed (0)