- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 394 for Compare (0.15 sec)
-
buildscripts/checkdeps.sh
PHYS_DIR=$(pwd -P) RESULT=$PHYS_DIR/$TARGET_FILE echo $RESULT } ## FIXME: ## In OSX, 'sort -V' option does not exist, hence ## we have our own version compare function. ## Once OSX has the option, below function is good enough. ## ## check_minimum_version() { ## versions=($(echo -e "$1\n$2" | sort -V)) ## return [ "$1" == "${versions[0]}" ] ## } ##
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(3, ms.size()); } public void testCustomComparator() throws Exception { Comparator<String> comparator = new Comparator<String>() { @Override public int compare(String o1, String o2) { return o2.compareTo(o1); } }; TreeMultiset<String> ms = TreeMultiset.create(comparator); ms.add("b"); ms.add("c"); ms.add("a");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
@J2ktIncompatible @ElementTypesAreNonnullByDefault public final class ArbitraryInstances { private static final Ordering<Field> BY_FIELD_NAME = new Ordering<Field>() { @Override public int compare(Field left, Field right) { return left.getName().compareTo(right.getName()); } }; /** * Returns a new {@code MatchResult} that corresponds to a successful match. Apache Harmony (used
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
var end = 1 while (this[mid + end] != '\n'.code.toByte()) { end++ } val publicSuffixLength = mid + end - mid // Compare the bytes. Note that the file stores UTF-8 encoded bytes, so we must compare the // unsigned bytes. var compareResult: Int var currentLabelIndex = labelIndex var currentLabelByteIndex = 0 var publicSuffixByteIndex = 0
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
docs/distributed/distributed-from-config-file.sh
actual_checksum=$(./mc cat minio3/testbucket/lrgfile | md5sum) if [ "${expected_checksum}" != "${actual_checksum}" ]; then echo "unexpected object checksum, expected: ${expected_checksum} got: ${actual_checksum}" exit fi # Compare the difference of the list of disks and their location, with the below expected output diff <(./mc admin info minio1 --json | jq -r '.info.servers[].drives[] | "\(.pool_index),\(.set_index),\(.disk_index) \(.endpoint)"' | sort) <(
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:49 UTC 2024 - 3.3K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.25.md
- github.com/go-logr/logr: [v1.2.0 → v1.2.3](https://github.com/go-logr/logr/compare/v1.2.0...v1.2.3) - github.com/go-logr/zapr: [v1.2.0 → v1.2.3](https://github.com/go-logr/zapr/compare/v1.2.0...v1.2.3) - github.com/golangplus/testing: [af21d9c → v1.0.0](https://github.com/golangplus/testing/compare/af21d9c...v1.0.0) - github.com/google/cadvisor: [v0.44.1 → v0.45.0](https://github.com/google/cadvisor/compare/v0.44.1...v0.45.0)
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Mon May 06 09:23:20 UTC 2024 - 419.1K bytes - Viewed (0) -
src/archive/zip/reader.go
}) }) } func fileEntryCompare(x, y string) int { xdir, xelem, _ := split(x) ydir, yelem, _ := split(y) if xdir != ydir { return strings.Compare(xdir, ydir) } return strings.Compare(xelem, yelem) } // Open opens the named file in the ZIP archive, // using the semantics of fs.FS.Open: // paths are always slash separated, with no // leading / or ../ elements.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/UsingToStringOrdering.java
@ElementTypesAreNonnullByDefault final class UsingToStringOrdering extends Ordering<Object> implements Serializable { static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering(); @Override public int compare(Object left, Object right) { return left.toString().compareTo(right.toString()); } // preserve singleton-ness, so equals() and hashCode() work correctly private Object readResolve() { return INSTANCE;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
if (index >= 0) { return inclusive ? index : index + 1; } else { return ~index; } } // Pretend the comparator can compare anything. If it turns out it can't // compare two elements, it'll throw a CCE. Only methods that are specified to // throw CCE should call this. @SuppressWarnings("unchecked") Comparator<Object> unsafeComparator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
// concatenations of `alphabets`. // // The skipOffset (generally = 0) can be used to skip a given number // of bytes from the beginning of the infinite stream. This is useful // to compare such streams of bytes that may be split up, because: // // Given the function: // // f := func(r io.Reader) string { // b, _ := io.ReadAll(r) // return string(b) // } //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 4.7K bytes - Viewed (0)