- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 538 for compare (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
// Digits are greater than letters assertTrue(seven.compareTo(capitalJ) > 0, "expected 7 > J"); assertTrue(capitalJ.compareTo(seven) < 0, "expected J < 1"); assertTrue(seven.compareTo(lowerCaseC) > 0, "expected 7 > c"); assertTrue(lowerCaseC.compareTo(seven) < 0, "expected c < 7"); } @Test void testNonAsciiDigits() { // These should not be treated as digits.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
* * static enum Mode { PREV, SYN, AFTER; } } */ static class MyTokensComparator implements Comparator<MyToken> { @Override public int compare(final MyToken t1, final MyToken t2) { if (t1.startOffset < t2.startOffset) { return -1; } else if (t1.startOffset > t2.startOffset) { return 1; }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 17K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
checkNotNull(fromKey); checkNotNull(toKey); checkArgument(comparator.compare(fromKey, toKey) <= 0); return newView(sortedDelegate.subMap(fromKey, toKey)); } ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { checkNotNull(fromKey); checkNotNull(toKey); checkArgument(comparator.compare(fromKey, toKey) <= 0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0) -
api/go1.21.txt
pkg slices, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0 #57433 pkg slices, func Compact[$0 interface{ ~[]$1 }, $1 comparable]($0) $0 #57433 pkg slices, func CompactFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) bool) $0 #57433 pkg slices, func Compare[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0, $0) int #60091
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
* Returns {@code b} to the {@code k}th power. Even if the result overflows, it will be equal to * {@code BigInteger.valueOf(b).pow(k).intValue()}. This implementation runs in {@code O(log k)} * time. * * <p>Compare {@link #checkedPow}, which throws an {@link ArithmeticException} upon overflow. * * @throws IllegalArgumentException if {@code k < 0} */ @GwtIncompatible // failing testsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
api/go1.26.txt
pkg net/http, type ClientConn struct #75772 pkg net/http, type HTTP2Config struct, StrictMaxConcurrentRequests bool #67813 pkg net/http/httputil, type ReverseProxy struct, Director //deprecated #73161 pkg net/netip, method (Prefix) Compare(Prefix) int #61642 pkg os, method (*Process) WithHandle(func(uintptr)) error #70352 pkg os, var ErrNoHandle error #70352 pkg reflect, method (Value) Fields() iter.Seq2[StructField, Value] #66631
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/ja/docs/advanced/security/http-basic-auth.md
もちろん、攻撃者はこれらを手作業では行わず、プログラムを書いて、1 秒間に数千〜数百万回のテストを行うでしょう。そして 1 回に 1 文字ずつ正しい文字を見つけていきます。 そうすることで、数分から数時間のうちに、攻撃者は私たちのアプリケーションの「助け」(応答にかかった時間)だけを利用して、正しいユーザー名とパスワードを推測できてしまいます。 #### `secrets.compare_digest()` で対策 { #fix-it-with-secrets-compare-digest } しかし、私たちのコードでは実際に `secrets.compare_digest()` を使用しています。 要するに、`stanleyjobsox` と `stanleyjobson` を比較するのにかかる時間は、`johndoe` と `stanleyjobson` を比較するのにかかる時間と同じになります。パスワードでも同様です。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
builder.add("baz"); assertTrue(list.array != builder.contents); } public void testBuilderAsymptotics() { int[] compares = {0}; Comparator<Integer> countingComparator = (i, j) -> { compares[0]++; return i.compareTo(j); }; ImmutableSortedSet.Builder<Integer> builder = new ImmutableSortedSet.Builder<Integer>(countingComparator, 10);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
api/go1.18.txt
pkg net/netip, method (Addr) As16() [16]uint8 pkg net/netip, method (Addr) As4() [4]uint8 pkg net/netip, method (Addr) AsSlice() []uint8 pkg net/netip, method (Addr) BitLen() int pkg net/netip, method (Addr) Compare(Addr) int pkg net/netip, method (Addr) Is4() bool pkg net/netip, method (Addr) Is4In6() bool pkg net/netip, method (Addr) Is6() bool pkg net/netip, method (Addr) IsGlobalUnicast() bool
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
* Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the * first permutation will be in ascending order, and the last will be in descending order. * * <p>Elements that compare equal are considered equal and no new permutations are created by * swapping them. * * <p>An empty iterable has only one permutation, which is an empty list. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0)