- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 2,055 for ksize (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/CompactHashing.java
private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256 private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255 private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536 private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535 /** * Returns the power of 2 hashtable size required to hold the expected number of items or the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
private final long lastAccessTime; private final long size; TestInfo(int attributes, long createTime, long lastWriteTime, long lastAccessTime, long size) { this.attributes = attributes; this.createTime = createTime; this.lastWriteTime = lastWriteTime; this.lastAccessTime = lastAccessTime; this.size = size; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
} } return sb.append(']').toString(); } /** Returns best-effort-sized StringBuilder based on the given collection size. */ static StringBuilder newStringBuilderForCollection(int size) { checkNonnegative(size, "size"); return new StringBuilder((int) min(size * 8L, Ints.MAX_POWER_OF_TWO)); } /** * Returns a {@link Collection} of all the permutations of the specified {@link Iterable}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
// after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 } // if (b != address.size) { if (compress == -1) return null // Address didn't have compression or enough groups. address.copyInto(address, address.size - (b - compress), compress, b) address.fill(0.toByte(), compress, compress + (address.size - b)) } return address }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
docs_src/additional_status_codes/tutorial001_an_py310.py
app = FastAPI() items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}} @app.put("/items/{item_id}") async def upsert_item( item_id: str, name: Annotated[str | None, Body()] = None, size: Annotated[int | None, Body()] = None, ): if item_id in items: item = items[item_id] item["name"] = name item["size"] = size return item else:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 686 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Write structure size (4) at offset SMBUtil.writeInt2(4, buffer, offset); SMBUtil.writeInt2(0, buffer, offset + 2); // Reserved field // When int bytesRead = response.readBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesRead); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumMultiset.java
} } @Override int distinctElements() { return distinctElements; } @Override public int size() { return Ints.saturatedCast(size); } @Override public int count(@Nullable Object element) { // isActuallyE checks for null, but we check explicitly to help nullness checkers.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
val rule = findMatchingRule(domainLabels) if (domainLabels.size == rule.size && rule[0][0] != EXCEPTION_MARKER) { return null // The domain is a public suffix. } val firstLabelOffset = if (rule[0][0] == EXCEPTION_MARKER) { // Exception rules hold the effective TLD plus one. domainLabels.size - rule.size } else {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* size} * @throws IllegalArgumentException if {@code size} is negative */ protected AbstractIndexedListIterator(int size, int position) { checkPositionIndex(position, size); this.size = size; this.position = position; } @Override public final boolean hasNext() { return position < size; } @Override @ParametricNullnessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
if (hashTable != null && chooseTableSize(size) == hashTable.length) { @Nullable Object[] uniqueElements = shouldTrim(size, contents.length) ? Arrays.copyOf(contents, size) : contents; result = new RegularImmutableSet<E>( uniqueElements, hashCode, hashTable, hashTable.length - 1, size); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0)