- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 970 for Length (0.05 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java
@GwtCompatible @NullMarked public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} // enum singleton pattern private enum StringLengthComparator implements Comparator<String> { INSTANCE; @Override public int compare(String a, String b) { return a.length() - b.length(); } } private static final Comparator<String> STRING_LENGTH = StringLengthComparator.INSTANCE; @Override protected <E extends Comparable<? super E>> SortedSet<E> of() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 46.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
val length = readInt(source) if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null. try { val certificateFactory = CertificateFactory.getInstance("X.509") val result = ArrayList<Certificate>(length) for (i in 0 until length) { val line = source.readUtf8LineStrict() val bytes = Buffer()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 26.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java
@GwtCompatible @NullMarked public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
static <K, V> ImmutableBiMap<K, V> fromEntries(Entry<K, V>... entries) { return fromEntryArray(entries.length, entries); } static <K, V> ImmutableBiMap<K, V> fromEntryArray(int n, @Nullable Entry<K, V>[] entryArray) { checkPositionIndex(n, entryArray.length); int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); int mask = tableSize - 1;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 11K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return asList(contents).iterator(); } @Override public @Nullable Object[] toArray() { @Nullable Object[] result = new @Nullable Object[contents.length]; arraycopy(contents, 0, result, 0, contents.length); return result; } /* * a "type A" unmodifiable collection freaks out proactively, even if there * wasn't going to be any actual work to do anyway */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
private static long fingerprint(byte[] bytes) { return fingerprint(bytes, bytes.length); } /** Convenience method to compute a fingerprint on a subset of a byte array. */ private static long fingerprint(byte[] bytes, int length) { return HASH_FN.hashBytes(bytes, 0, length).asLong(); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
checkArgument(type.isEnum()); this.enumConstants = type.getEnumConstants(); this.counts = new int[enumConstants.length]; } private boolean isActuallyE(@Nullable Object o) { if (o instanceof Enum) { Enum<?> e = (Enum<?>) o; int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt
includes.map { if (it.endsWith("/**")) { Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?") } else { Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+") } } } private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 12 23:20:08 GMT 2024 - 2.4K bytes - Click Count (0) -
clause/select_test.go
clause.NamedExpr{"?", []interface{}{clause.Column{Name: "id"}}}, clause.NamedExpr{"?", []interface{}{clause.Column{Name: "name"}}}, clause.NamedExpr{"LENGTH(?)", []interface{}{clause.Column{Name: "mobile"}}}, }, }, }, clause.From{}}, "SELECT `id`, `name`, LENGTH(`mobile`) FROM `users`", nil, }, { []clause.Interface{clause.Select{ Expression: clause.CommaExpression{ Exprs: []clause.Expression{Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Feb 18 01:06:43 GMT 2023 - 1.7K bytes - Click Count (0)