- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 391 for Compare (0.17 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
castOrCopyToList(mapGenerator.order(castOrCopyToList(mapGenerator.getSampleElements(5)))); sort( insertionOrder, new Comparator<V>() { @Override public int compare(V left, V right) { // The indexes are small enough for the subtraction trick to be safe. return indexOfEntryWithValue(left) - indexOfEntryWithValue(right); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
Comparator<IndexedIterator<T>> heapComparator = (o1, o2) -> ComparisonChain.start() .compare(o1.iterator.peek(), o2.iterator.peek(), itemComparator) // When elements are equal, use insertion order to maintain stability .compare(o1.index, o2.index) .result(); queue = new PriorityQueue<>(2, heapComparator);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
internal/etag/etag.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. // Package etag provides an implementation of S3 ETags. // // Each S3 object has an associated ETag that can be // used to e.g. quickly compare objects or check whether // the content of an object has changed. // // In general, an S3 ETag is an MD5 checksum of the object // content. However, there are many exceptions to this rule. // // # Single-part Upload
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 13.2K bytes - Viewed (0) -
cmd/utils.go
// short-circuit single-element list if len(strs) == 1 { return xfix } // compare first to rest for _, str := range strs[1:] { xfixl := len(xfix) strl := len(str) // short-circuit empty strings if xfixl == 0 || strl == 0 { return "" } // maximum possible length maxl := min(strl, xfixl) // compare letters if pre { // prefix, iterate left to right for i := range maxl {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 33K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
return; } // Find oldest leases by last access time leases.entrySet() .stream() .sorted((e1, e2) -> Long.compare(e1.getValue().getLastAccessTime(), e2.getValue().getLastAccessTime())) .limit(count) .forEach(entry -> { Smb2LeaseKey key = entry.getKey();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 39.9K bytes - Viewed (0) -
src/bytes/bytes.go
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 16:42:15 UTC 2025 - 35.5K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) // extract the content from response body. getContent, err := io.ReadAll(response.Body) c.Assert(err, nil) // Compare putContent and getContent. c.Assert(string(getContent), putContent) } // TestGetObjectLarge11MiB - Tests validate fetching of an object of size 11MB. func (s *TestSuiteCommon) TestGetObjectLarge11MiB(c *check) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* @since 4.0 (in Equivalences) */ public static Equivalence<Object> equals() { return Equals.INSTANCE; } /** * Returns an equivalence that uses {@code ==} to compare values and {@link * System#identityHashCode(Object)} to compute the hash code. {@link Equivalence#equivalent} * returns {@code true} if {@code a == b}, including in the case that a and b are both null. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
// Test for equality to allow non-finite values to match; otherwise, use the finite // test. return actual.equals(expected) || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected); } }, "is identical to or " + FINITE_QUANTILE_CORRESPONDENCE); // 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10):Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0)