- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 211 for compares (0.07 seconds)
-
cmd/leak-detect_test.go
snapshot := LeakDetect{ relevantRoutines: make(map[string]bool), } for _, g := range pickRelevantGoroutines() { snapshot.relevantRoutines[g] = true } return snapshot } // CompareCurrentSnapshot - Compares the initial relevant stack trace with the current one (during the time of invocation). func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string { var stackDiff []string for _, g := range pickRelevantGoroutines() {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
} } // IOException handling is done by calling code } /** * Compares two SMB files by name. * @param f1 first file to compare * @param f1name name of first file * @param f2 second file to compare * @return comparison result for sorting * @throws IOException if an I/O error occurs */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b} */ @InlineMe(replacement = "Boolean.compare(a, b)") public static int compare(boolean a, boolean b) { return Boolean.compare(a, b); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Booleans.java
* @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b} */ @InlineMe(replacement = "Boolean.compare(a, b)") public static int compare(boolean a, boolean b) { return Boolean.compare(a, b); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
#### Fix it with `secrets.compare_digest()` { #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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 5K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
r := NewDummyDataGen(100, 0) r.Seek(int64(len(alphabets)), 0) checkEq(readAll(r), readAll(NewDummyDataGen(100-int64(len(alphabets)), 0))) } // Compares all the bytes returned by the given readers. Any Read // errors cause a `false` result. A string describing the error is // also returned. func cmpReaders(r1, r2 io.Reader) (bool, string) { bufLen := 32 * 1024
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
} /** * Compares the two specified {@code short} values. The sign of the value returned is the same as * that of {@code ((Short) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Short#compare} method instead. * * @param a the first {@code short} to compare * @param b the second {@code short} to compareCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Shorts.java
} /** * Compares the two specified {@code short} values. The sign of the value returned is the same as * that of {@code ((Short) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Short#compare} method instead. * * @param a the first {@code short} to compare * @param b the second {@code short} to compareCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* <li>Ensures no null repository entries exist in the list</li> * </ul> * * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)} * method, which typically compares repository IDs and URLs. * * @param repositories the list of repositories to validate, may be {@code null} * @return the same list if validation passes, or {@code null} if input was {@code null}
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
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 */ @InlineMe(replacement = "Double.compare(a, b)") public static int compare(double a, double b) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 27.6K bytes - Click Count (0)