- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,148 for COMPARE (0.1 sec)
-
guava/src/com/google/common/primitives/UnsignedBytes.java
* * @param a the first {@code byte} to compare * @param b the second {@code byte} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ public static int compare(byte a, byte b) { return toInt(a) - toInt(b); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/AnnotatableMember.java
annotations.add(annotationMember); } public String getSignature() { return signature; } protected ComparisonChain compare(AnnotatableMember o) { return super.compare(o) .compare(signature == null ? "" : signature, o.signature == null ? "" : o.signature); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.6K bytes - Viewed (0) -
test/cmp6.go
use(t3 == t3) // ERROR "struct|expected|cannot compare" use(t4 == t4) // ERROR "cannot be compared|non-comparable|cannot compare" // Slices, functions, and maps too. var x []int var f func() var m map[int]int use(x == x) // ERROR "slice can only be compared to nil|cannot compare" use(f == f) // ERROR "func can only be compared to nil|cannot compare" use(m == m) // ERROR "map can only be compared to nil|cannot compare"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
} final PrunedTag other = (PrunedTag) obj; return StringUtils.compare(tag, other.tag) == 0 // && StringUtils.compare(css, other.css) == 0 // && StringUtils.compare(id, other.id) == 0 // && StringUtils.compare(attrName, other.attrName) == 0 // && StringUtils.compare(attrValue, other.attrValue) == 0; } public void setId(final String id) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K 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/cmp/cmp.go
// // Note that floating-point types may contain NaN ("not-a-number") values. // An operator such as == or < will always report false when // comparing a NaN value with any other value, NaN or not. // See the [Compare] function for a consistent way to compare NaN values. type Ordered interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 16:31:02 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/SignedBytes.java
* * @param a the first {@code byte} to compare * @param b the second {@code byte} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ // TODO(kevinb): if Ints.compare etc. are ever removed, *maybe* remove this
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 7.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseInsensitiveVfsRelativePathTest.groovy
compareCharsIgnoringCase(char1, char2) == caseInsensitiveResult compareCharsIgnoringCase(char2, char1) == -caseInsensitiveResult compareChars(char1, char2) == Character.compare(char1, char2) compareChars(char2, char1) == Character.compare(char2, char1) !equalChars(char1, char2, CASE_SENSITIVE) equalChars(char1, char2, CASE_INSENSITIVE) == (caseInsensitiveResult == 0) !equalChars(char2, char1, CASE_SENSITIVE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.7K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
d := c.ztunnelDump workloads := maps.Values(d.WorkloadState) workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int { if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 { return r } return cmp.Compare(a.Info.Namespace, b.Info.Namespace) }) workloads = slices.FilterInPlace(workloads, func(state WorkloadState) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/features.go
const ( Go1_18 = "go1.18" Go1_19 = "go1.19" Go1_20 = "go1.20" Go1_21 = "go1.21" Go1_22 = "go1.22" ) // Future is an invalid unknown Go version sometime in the future. // Do not use directly with Compare. const Future = "" // AtLeast reports whether the file version v comes after a Go release. // // Use this predicate to enable a behavior once a certain Go release // has happened (and stays enabled in the future).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.3K bytes - Viewed (0)