- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,026 for size8 (0.12 sec)
-
guava/src/com/google/common/collect/ImmutableCollection.java
checkNotNull(other); int size = size(); if (other.length < size) { Object[] internal = internalArray(); if (internal != null) { return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other); } other = ObjectArrays.newArray(other, size); } else if (other.length > size) { other[size] = null; } copyIntoArray(other, 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@Test @DisplayName("Test readBytesWireFormat with valid structure size") void testReadBytesWireFormatValidStructureSize() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); byte[] buffer = new byte[512]; int bufferIndex = 0; // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(expectedSize, req.size()); } @Test @DisplayName("Should align size to 8-byte boundary") void testSizeAlignment() { int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
cmd/erasure-coding.go
return e.encoder().Reconstruct(data) } // ShardSize - returns actual shared size from erasure blockSize. func (e *Erasure) ShardSize() int64 { return ceilFrac(e.blockSize, int64(e.dataBlocks)) } // ShardFileSize - returns final erasure size from original size. func (e *Erasure) ShardFileSize(totalLength int64) int64 { if totalLength == 0 { return 0 }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
void testSizeAlignment() { int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @Test @DisplayName("Should have consistent size regardless of parameters") void testSizeConsistency() { int originalSize = request.size(); request.setReadLength(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/archive/zip/reader.go
func NewReader(r io.ReaderAt, size int64) (*Reader, error) { if size < 0 { return nil, errors.New("zip: size cannot be negative") } zr := new(Reader) var err error if err = zr.init(r, size); err != nil && err != ErrInsecurePath { return nil, err } return zr, err } func (r *Reader) init(rdr io.ReaderAt, size int64) error { end, baseOffset, err := readDirectoryEnd(rdr, size)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return max transact size") void testGetMaxTransactSize() throws Exception { // Given setPrivateField(response, "maxTransactSize", 1048576); // When int size = response.getMaxTransactSize(); // Then assertEquals(1048576, size); } @Test @DisplayName("Should return transaction buffer size")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
docs/distributed/DESIGN.md
- Choice of erasure set size is automatic based on the number of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (2) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
assertNotNull(e); } } public void test_evaluate_withDifferentWindowSizes() { // Test with different window sizes final String testModelName = "test_model"; // Test with small window size ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override public String getLtrModelName() { return testModelName;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// Test when data length exceeds outputBuffer size byte[] buffer = new byte[2000]; int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen)); assertEquals("Payload exceeds buffer size", exception.getMessage()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0)