- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,360 for Size (0.02 sec)
-
src/test/java/jcifs/BufferCacheTest.java
assertNotNull(buffer2, "Second buffer should not be null"); assertEquals(1024, buffer1.length, "Buffer should have expected size"); assertEquals(1024, buffer2.length, "Buffer should have expected size"); assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
lastWrite.setAccessible(true); lastWrite.setLong(resp, 1630000000000L); java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize"); size.setAccessible(true); size.setInt(resp, 2048); assertEquals(0xABCD, resp.getAttributes()); assertEquals(1630000001000L, resp.getCreateTime());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
} if (size > maxSize) { throw new IllegalArgumentException(fieldName + " size exceeds maximum (" + maxSize + "): " + size); } } /** * Validates buffer size for SMB2/3 * * @param size the buffer size to validate * @param fieldName the field name for error reporting * @throws IllegalArgumentException if size is invalid */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
internal/hash/reader.go
CalculatedSHA256: sha256Hex, } } if r.size >= 0 && size >= 0 && r.size != size { return nil, SizeMismatch{Want: r.size, Got: size} } r.checksum = MD5 r.contentSHA256 = SHA256 if r.size < 0 && size >= 0 { r.src = etag.Wrap(ioutil.HardLimitReader(r.src, size), r.src) r.size = size } if r.actualSize <= 0 && actualSize >= 0 { r.actualSize = actualSizeRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
newDelegate.addAll(delegate); this.table = newDelegate; return; } int size = this.size; if (size < requireEntries().length) { resizeEntries(size); } int minimumTableSize = CompactHashing.tableSize(size); int mask = hashTableMask(); if (minimumTableSize < mask) { // smaller table size will always be less than current mask
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} /** * Set the maximum pool size * @param size the maximum number of connections in the pool */ public void setMaxPoolSize(int size) { if (size <= 0) { throw new IllegalArgumentException("Pool size must be positive"); } this.maxPoolSize = size; log.info("Set maximum pool size to {}", size); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
expectedSize += ((nameLen + 7) / 8) * 8; // size8(nameLen) expectedSize = ((expectedSize + 7) / 8) * 8; // size8(size) assertEquals(expectedSize, request.size()); } @Test @DisplayName("Test size calculation with empty path") void testSizeWithEmptyPath() { request = new Smb2CreateRequest(mockConfig, "");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
private void assertCollectionSize(Collection<?> collection, int size) { assertThat(collection.size()).isEqualTo(size); if (size > 0) { assertThat(collection.isEmpty()).isFalse(); } else { assertThat(collection.isEmpty()).isTrue(); } assertThat(Iterables.size(collection)).isEqualTo(size); assertThat(Iterators.size(collection.iterator())).isEqualTo(size); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0)