- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,625 for init (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
List<Element> queryList = Lists.newArrayListWithCapacity(numQueries); int numGoodQueries = (int) (numQueries * hitRate + 0.5); // add good queries int size = elementsInSet.size(); if (size > 0) { int minCopiesOfEachGoodQuery = numGoodQueries / size; int extras = numGoodQueries % size; for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
FALSE_FIRST(-1, "Booleans.falseFirst()"); private final int trueValue; private final String toString; BooleanComparator(int trueValue, String toString) { this.trueValue = trueValue; this.toString = toString; } @Override public int compare(Boolean a, Boolean b) { int aVal = a ? trueValue : 0; int bVal = b ? trueValue : 0; return bVal - aVal; }
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
FALSE_FIRST(-1, "Booleans.falseFirst()"); private final int trueValue; private final String toString; BooleanComparator(int trueValue, String toString) { this.trueValue = trueValue; this.toString = toString; } @Override public int compare(Boolean a, Boolean b) { int aVal = a ? trueValue : 0; int bVal = b ? trueValue : 0; return bVal - aVal; }
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-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
private final transient int mask; private final transient int hashCode; 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);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt
streamId: Int, streamDependency: Int, weight: Int, exclusive: Boolean, ) { fail("") } override fun pushPromise( streamId: Int, associatedStreamId: Int, headerBlock: List<Header>, ) { fail("") } override fun alternateService( streamId: Int, origin: String, protocol: ByteString, host: String, port: Int, maxAge: Long, ) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
private int getLeftChildIndex(int i) { return i * 2 + 1; } private int getRightChildIndex(int i) { return i * 2 + 2; } private int getParentIndex(int i) { return (i - 1) / 2; } private int getGrandparentIndex(int i) { return getParentIndex(getParentIndex(i)); // (i - 3) / 4 } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
val codepointDelta: Int, ) : MappedRange { private val absoluteDelta = abs(codepointDelta) val b1: Int get() = when { codepointDelta < 0 -> 0x40 or (absoluteDelta shr 14) codepointDelta > 0 -> 0x50 or (absoluteDelta shr 14) else -> error("Unexpected codepointDelta of 0") } val b2: Int get() = absoluteDelta shr 7 and 0x7f val b3: IntCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
checkInitialCapacity(4, 8, 2); } private static void checkInitialCapacity( int concurrencyLevel, int initialCapacity, int segmentSize) { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap( createMapMaker().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity)); for (int i = 0; i < map.segments.length; i++) { assertEquals(segmentSize, map.segments[i].table.length());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 35.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
checkInitialCapacity(4, 8, 2); } private static void checkInitialCapacity( int concurrencyLevel, int initialCapacity, int segmentSize) { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap( createMapMaker().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity)); for (int i = 0; i < map.segments.length; i++) { assertEquals(segmentSize, map.segments[i].table.length());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 35.5K bytes - Click Count (0)