- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 98 for expectedSizes (0.22 seconds)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
response.readBytesWireFormat(buffer, 0); // Then assertEquals(size * 2, response.getAllocationSize()); assertEquals(expectedSize, response.getEndOfFile()); assertEquals(expectedSize, response.getSize()); } @Test @DisplayName("Should handle response with different fileId and fileName combinations")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return unsafeDelegateList(list); } public static <E> Builder<E> builder() { return new Builder<E>(); } public static <E> Builder<E> builderWithExpectedSize(int expectedSize) { return new Builder<E>(expectedSize); } public static final class Builder<E> extends ImmutableCollection.Builder<E> { private final ArrayList<E> contents; public Builder() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* @since 23.1 */ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } static void checkNoConflict( boolean safe, String conflictDescription, Object entry1, Object entry2) { if (!safe) { throw conflictException(conflictDescription, entry1, entry2); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("size should return correct message size") void testSize() { int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; // size8 method rounds up to 8-byte boundary int expectedAlignedSize = (expectedSize + 7) & ~7; assertEquals(expectedAlignedSize, request.size()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
} public static <K, V> Builder<K, V> builder() { return new Builder<K, V>(); } public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { return new Builder<K, V>(expectedSize); } static <K, V> Entry<K, V> entryOf(K key, V value) { checkEntryNotNull(key, value); return Maps.immutableEntry(key, value); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
Integer.MAX_VALUE - 1, Integer.MAX_VALUE }; for (int expectedSize : largeExpectedSizes) { int capacity = Maps.capacity(expectedSize); assertTrue( "capacity (" + capacity + ") must be >= expectedSize (" + expectedSize + ")", capacity >= expectedSize); } } public void testLinkedHashMap() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* @since 23.1 */ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } static void checkNoConflict( boolean safe, String conflictDescription, Object entry1, Object entry2) { if (!safe) { throw conflictException(conflictDescription, entry1, entry2); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
public Builder(Comparator<? super E> comparator) { this.comparator = checkNotNull(comparator); } Builder(Comparator<? super E> comparator, int expectedSize) { super(expectedSize); this.comparator = checkNotNull(comparator); } @CanIgnoreReturnValue @Override public Builder<E> add(E element) { super.add(element); return this;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} @Override ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) { return (valueComparator == null) ? ImmutableSet.builderWithExpectedSize(expectedSize) : new ImmutableSortedSet.Builder<V>(valueComparator, expectedSize); } @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} @Override ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) { return (valueComparator == null) ? ImmutableSet.builderWithExpectedSize(expectedSize) : new ImmutableSortedSet.Builder<V>(valueComparator, expectedSize); } @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0)