- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 367 for compareTo (0.06 seconds)
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
@SuppressWarnings("InlineMeInliner") public void testCompare() { for (short x : VALUES) { for (short y : VALUES) { // Only compare the sign of the result of compare(). int expected = Short.compare(x, y); int actual = Shorts.compare(x, y); if (expected == 0) { assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected); } else if (expected < 0) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 27.5K bytes - Click Count (0) -
docs/ru/docs/advanced/security/http-basic-auth.md
Так за минуты или часы они смогут угадать правильные имя пользователя и пароль — с «помощью» нашего приложения — используя лишь время, затраченное на ответ. #### Исправление с помощью `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest } Но в нашем коде мы используем `secrets.compare_digest()`. Вкратце: сравнение `stanleyjobsox` с `stanleyjobson` займёт столько же времени, сколько и сравнение `johndoe` с `stanleyjobson`. То же относится и к паролю.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 7.4K bytes - Click Count (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.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
*/ @CanIgnoreReturnValue @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) { return super.put(key, value); } /** * Compares the specified object to this multimap for equality. * * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values. * Equality does not depend on the ordering of keys or values.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 4.9K 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) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } public void testCompare() { for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { int cmpAsLongs = Long.compare(a, b); int cmpAsUInt = UnsignedInts.compare((int) a, (int) b); assertThat(Integer.signum(cmpAsUInt)).isEqualTo(Integer.signum(cmpAsLongs)); } } } public void testMax_noArgs() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
} }); t.transform(project, systemSessionMock, Sources.buildSource(beforePomFile), tempFile); } Diff diff = DiffBuilder.compare(afterPomFile.toFile()) .withTest(tempFile.toFile()) .ignoreComments() .ignoreWhitespace() .build();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/s3select/sql/analysis.go
result.combine(e.Operand.analyze(s)) result.combine(e.ConditionRHS.analyze(s)) } return result } func (e *ConditionRHS) analyze(s *Select) (result qProp) { switch { case e.Compare != nil: result = e.Compare.Operand.analyze(s) case e.Between != nil: result.combine(e.Between.Start.analyze(s)) result.combine(e.Between.End.analyze(s)) case e.In != nil: result.combine(e.In.analyze(s))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ListMultimap.java
* this map with the more specific generic type {@code Map<K, List<V>>}, call {@link * Multimaps#asMap(ListMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality. * * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same valuesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ListMultimap.java
* this map with the more specific generic type {@code Map<K, List<V>>}, call {@link * Multimaps#asMap(ListMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality. * * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same valuesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0)