- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,412 for sizes (0.03 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} @Test @DisplayName("Test size method without input buffer") void testSizeWithoutInputBuffer() { request = new Smb2QueryInfoRequest(mockConfig); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40) // size8 rounds up to nearest multiple of 8Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertEquals((byte) 0xEE, negotiation.getResponseRaw()[0]); } @Test @DisplayName("Test with different buffer sizes") void testWithDifferentBufferSizes() { // Test with buffers of different sizes byte[] smallBuffer = new byte[] { 0x01 }; byte[] mediumBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/bytes/bytes_test.go
} func TestEqualExhaustive(t *testing.T) { var size = 128 if testing.Short() { size = 32 } a := make([]byte, size) b := make([]byte, size) b_init := make([]byte, size) // randomish but deterministic data for i := 0; i < size; i++ { a[i] = byte(17 * i) b_init[i] = byte(23*i + 100) } for len := 0; len <= size; len++ { for x := 0; x <= size-len; x++ { for y := 0; y <= size-len; y++ {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 23 23:54:14 UTC 2025 - 62.9K bytes - Viewed (0) -
src/bytes/boundary_test.go
for i := range b { idx := Index(b[i:], q[:j]) if idx != -1 { t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx) } } q[j-1] = 0 } // Test differing alignments and sizes of q which always end on a page boundary. q[len(q)-1] = 1 // difference is only found on the last byte for j := 0; j < len(q); j++ { for i := range b { idx := Index(b[i:], q[j:]) if idx != -1 {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 30 20:05:58 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
override fun close() { if (closed) return closed = true detachTimeout(timeout) state = STATE_READ_RESPONSE_HEADERS } } /** * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility * to buffer chunks; typically by using a buffered sink with this sink. */ private inner class ChunkedSink : Sink {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
* Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() { byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId) // Simulate some data rawData[0] = 48; // size rawData[16] = 0x01; // machineId start rawData[17] = 0x02; AvSingleHost avSingleHost = new AvSingleHost(rawData);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
/** * Gets the negotiated send buffer size. * * @return the send buffer size */ int getSendBufferSize(); /** * Gets the negotiated receive buffer size. * * @return the receive buffer size */ int getReceiveBufferSize(); /** * Gets the negotiated maximum transaction buffer size. * * @return the transaction buffer sizeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link Base64}. * * These tests cover the public static encode/decode methods for different * payload sizes, padding rules, and error conditions such as null and empty * input. */ @ExtendWith(MockitoExtension.class) class Base64Test { /** * Data provider for various byte arrays and the expected Base64 string.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
@DisplayName("Should handle edge case structure sizes") void testEdgeCaseStructureSizes() { // Test minimum invalid size (0) byte[] buffer = new byte[256]; SMBUtil.writeInt2(0, buffer, 0); SMBProtocolDecodingException ex1 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Structure size != 4", ex1.getMessage());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (2)