- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,029 for sizeOf (0.57 sec)
-
src/test/java/jcifs/internal/AllocInfoTest.java
1024L * 1024L * 1024L * 1024L * 10L // 10 TB }; for (long size : typicalSizes) { TestAllocInfo allocInfo = new TestAllocInfo(size, size / 2); assertEquals(size, allocInfo.getCapacity()); assertEquals(size / 2, allocInfo.getFree()); } } } @Nested @DisplayName("Usage Pattern Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (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()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@Test @DisplayName("Should read valid structure with size 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[10]; int bufferIndex = 2; SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4 SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved fieldRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32 + this.info.size()); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
* The class also supports configuration options such as: * </p> * <ul> * <li>Output encoding</li> * <li>Maximum compression ratio and uncompression size</li> * <li>Initial buffer size</li> * <li>Memory size for temporary file storage</li> * <li>Maximum term sizes for alphanumeric and symbolic terms</li> * <li>Custom Tika configuration</li> * <li>Tesseract OCR configuration for image-based documents</li>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
// When called at high frequency, boxing size generates too much garbage, // so avoid doing that if we can. if (size < 0) { throw new IllegalArgumentException(String.format("Invalid size: %s", size)); } return newDataOutput(new ByteArrayOutputStream(size)); } /** * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// is `10000`. switch { case b >= '0' && b <= '9': size = size<<4 | int(b-'0') case b >= 'a' && b <= 'f': size = size<<4 | int(b-('a'-10)) case b >= 'A' && b <= 'F': size = size<<4 | int(b-('A'-10)) default: cr.err = errMalformedEncoding return n, cr.err } if size > maxChunkSize { cr.err = errChunkTooBig return n, cr.err } }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/data-scanner_test.go
bucket: bucket, prefix: "", objectName: obj, lifeCycle: lc, replication: test.replCfg, } var ( sizeS sizeSummary gots []ObjectInfo ) item.applyActions(t.Context(), objAPI, test.objInfos, test.lr, &sizeS, func(oi ObjectInfo, sz, _ int64, _ *sizeSummary) { if sz != 0 { gots = append(gots, oi) } }) if len(gots) != len(test.wants) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
this.closeFlags = flags; } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)