- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 75 for expectedSize (0.07 sec)
-
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); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (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) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
void testSizeWithVariousCombinations(int algoCount, int saltSize, int expectedSize) { int[] hashAlgos = algoCount > 0 ? new int[algoCount] : null; byte[] salt = saltSize > 0 ? new byte[saltSize] : null; PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); assertEquals(expectedSize, context.size()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
builderMap = result; } return result; } ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) { return ImmutableList.builderWithExpectedSize(expectedSize); } /** * Provides a hint for how many values will be associated with each key newly added to the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
*/ @DoNotCall("Use naturalOrder (which does not accept an expected size)") @Deprecated public static <E> ImmutableSortedSet.Builder<E> builderWithExpectedSize(int expectedSize) { throw new UnsupportedOperationException(); } /** * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
cmd/xl-storage.go
// checkPart is a light check of an existing and size of a part, without doing a bitrot operation // For any unexpected error, return checkPartUnknown (zero) func (s *xlStorage) checkPart(volumeDir, path, dataDir string, partNum int, expectedSize int64, skipAccessCheck bool) (resp int) { partPath := pathJoin(path, dataDir, fmt.Sprintf("part.%d", partNum)) filePath := pathJoin(volumeDir, partPath) st, err := Lstat(filePath) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(400L, SMBUtil.readInt8(buffer, EXPECTED_SIZE)); assertEquals(500L, SMBUtil.readInt8(buffer, EXPECTED_SIZE + 8)); assertEquals(600, SMBUtil.readInt4(buffer, EXPECTED_SIZE + 16)); // Verify third chunk assertEquals(700L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2)); assertEquals(800L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2 + 8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
modTimesThreeNone[i] = threeNanoSecs } testCases := []struct { modTimes []time.Time expectedTime time.Time errs []error _tamperBackend tamperKind }{ { modTimes: modTimesThreeFour, expectedTime: threeNanoSecs, errs: []error{ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// This is the expected behavior for Windows FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time assertEquals(expectedTime, decoded.getCreateTime()); assertEquals(expectedTime, decoded.getLastAccessTime()); assertEquals(expectedTime, decoded.getLastWriteTime()); assertEquals(0, decoded.getAttributes()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)