- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 648 for Comparer (0.17 sec)
-
src/cmd/compile/internal/walk/compare.go
} return n case types.TARRAY: // We can compare several elements at once with 2/4/8 byte integer compares inline = t.NumElem() <= 1 || (types.IsSimple[t.Elem().Kind()] && (t.NumElem() <= 4 || t.Elem().Size()*t.NumElem() <= maxcmpsize)) case types.TSTRUCT: inline = compare.EqStructCost(t) <= 4 } cmpl := n.X for cmpl != nil && cmpl.Op() == ir.OCONVNOP {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
operator/pkg/compare/compare.go
} y, err := yaml.Marshal(r.diffTree) if err != nil { return err.Error() } return string(y) } // YAMLCmp compares two yaml texts, return a tree based diff text. func YAMLCmp(a, b string) string { return YAMLCmpWithIgnore(a, b, nil, "") } // YAMLCmpWithIgnore compares two yaml texts, and ignores paths in ignorePaths. func YAMLCmpWithIgnore(a, b string, ignorePaths []string, ignoreYaml string) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
public ComparisonChain compare(int left, int right) { return classify(Ints.compare(left, right)); } @Override public ComparisonChain compare(long left, long right) { return classify(Longs.compare(left, right)); } @Override public ComparisonChain compare(float left, float right) { return classify(Float.compare(left, right)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 21 17:28:11 UTC 2022 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
/** * A specification for which index to return if the list contains at least one element that * compares as equal to the key. */ enum KeyPresentBehavior { /** * Return the index of any list element that compares as equal to the key. No guarantees are * made as to which index is returned, if more than one element compares as equal to the key. */ ANY_PRESENT { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedLists.java
/** * A specification for which index to return if the list contains at least one element that * compares as equal to the key. */ enum KeyPresentBehavior { /** * Return the index of any list element that compares as equal to the key. No guarantees are * made as to which index is returned, if more than one element compares as equal to the key. */ ANY_PRESENT { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.9K bytes - Viewed (0) -
src/slices/slices.go
} for i, v1 := range s1 { v2 := s2[i] if !eq(v1, v2) { return false } } return true } // Compare compares the elements of s1 and s2, using [cmp.Compare] on each pair // of elements. The elements are compared sequentially, starting at index 0, // until one element is not equal to the other. // The result of comparing the first non-matching elements is returned.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 29 14:01:59 UTC 2024 - 13.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Ordering.java
* instead (but note that it does not guarantee which tied minimum element is returned). * * @param a value to compare, returned if less than or equal to the rest. * @param b value to compare * @param c value to compare * @param rest values to compare * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this * ordering. */ @ParametricNullness
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 39.4K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/collect/Ordering.java
* instead (but note that it does not guarantee which tied minimum element is returned). * * @param a value to compare, returned if less than or equal to the rest. * @param b value to compare * @param c value to compare * @param rest values to compare * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this * ordering. */ @ParametricNullness
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 39.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
} return builder.toString(); } /** * Returns a comparator that compares two arrays of unsigned {@code int} values <a * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it * compares, using {@link #compare(int, int)}), 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 - 13.4K bytes - Viewed (0)