- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 445 for compare (0.2 sec)
-
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare("b", "a") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result()) .isGreaterThan(0); } public void testShortCircuitSecondStep() { assertThat( ComparisonChain.start() .compare("a", "a") .compare("a", "b") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result())
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare("b", "a") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result()) .isGreaterThan(0); } public void testShortCircuitSecondStep() { assertThat( ComparisonChain.start() .compare("a", "a") .compare("a", "b") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 7.5K 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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 39.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
* Comparators}</a>. * * @param a first value to compare, returned if less than or equal to b. * @param b second value to compare. * @throws ClassCastException if the parameters are not <i>mutually comparable</i>. * @since 30.0 */ public static <T extends Comparable<? super T>> T min(T a, T b) { return (a.compareTo(b) <= 0) ? a : b; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 10.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
assertTrue( comparator + ".compare(" + lesser + ", " + t + ")", comparator.compare(lesser, t) < 0); } assertEquals(comparator + ".compare(" + t + ", " + t + ")", 0, comparator.compare(t, t)); for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) { T greater = valuesInExpectedOrder.get(j); assertTrue( comparator + ".compare(" + greater + ", " + t + ")",
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
} /** * Compares the two specified {@code byte} values, treating them as unsigned values between 0 and * 255 inclusive. For example, {@code (byte) -127} is considered greater than {@code (byte) 127} * because it is seen as having the value of positive {@code 129}. * * @param a the first {@code byte} to compare * @param b the second {@code byte} to compare
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Comparators.java
* Comparators}</a>. * * @param a first value to compare, returned if less than or equal to b. * @param b second value to compare. * @throws ClassCastException if the parameters are not <i>mutually comparable</i>. * @since 30.0 */ public static <T extends Comparable<? super T>> T min(T a, T b) { return (a.compareTo(b) <= 0) ? a : b; } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 10.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
"istio.io/istio/operator/pkg/compare" "istio.io/istio/operator/pkg/util" ) // YAMLSuffix is the suffix of a YAML file. const YAMLSuffix = ".yaml" type manifestDiffArgs struct { // compareDir indicates comparison between directory. compareDir bool // verbose generates verbose output. verbose bool // selectResources constrains the list of resources to compare to only the ones in this list, ignoring all others.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
#### Fix it with `secrets.compare_digest()` But in our code we are actually using `secrets.compare_digest()`. In short, it will take the same time to compare `stanleyjobsox` to `stanleyjobson` than it takes to compare `johndoe` to `stanleyjobson`. And the same for the password.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 14:33:05 GMT 2024 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
* to the JDK until JDK 7. * * @param a the first {@code double} to compare * @param b the second {@code double} 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(double a, double b) { return Double.compare(a, b); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0)