- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,029 for sizeOf (0.33 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
return new Smb2LeaseBreakResponse(tc.getConfig()); } @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + STRUCTURE_SIZE); } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) { int start = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
private var contentLength = -1L @get:JvmName("boundary") val boundary: String get() = boundaryByteString.utf8() /** The number of parts in this multipart body. */ @get:JvmName("size") val size: Int get() = parts.size fun part(index: Int): Part = parts[index] override fun isOneShot(): Boolean = parts.any { it.body.isOneShot() } /** A combination of [type] and [boundaryByteString]. */Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
* `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`. * `compresslevel` - Used during GZip compression. It is an integer ranging from 1 to 9. Defaults to `9`. Lower value results in faster compression but larger file sizes, while higher value results in slower compression but smaller file sizes. ## Other middlewares { #other-middlewares } There are many other ASGI middlewares.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:59:07 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
@Test @DisplayName("Should read valid structure with size 4") void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; 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 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
@DisplayName("Should handle various data sizes in hexdump") void testHexdumpVariousSizes(int size) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); byte[] data = createTestData(size); Hexdump.hexdump(ps, data, 0, size); String output = baos.toString(); assertNotNull(output);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.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 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, key128, key256); assertNotNull(context, "Context should be created with different key sizes"); }, "Should accept different key sizes"); } @Test @DisplayName("Should be immutable after creation") void testImmutability() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/bytes/buffer.go
// converted to int they correspond to the rune size that was read. type readOp int8 // Don't use iota for these, as the values need to correspond with the // names and comments, which is easier to see when being explicit. const ( opRead readOp = -1 // Any other read operation. opInvalid readOp = 0 // Non-read operation. opReadRune1 readOp = 1 // Read rune of size 1. opReadRune2 readOp = 2 // Read rune of size 2.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
class ReadBytesWireFormatTests { @Test @DisplayName("Should read valid structure size of 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write structure size = 4 SMBUtil.writeInt2(4, buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
@Test @DisplayName("Should handle different session key sizes") void testDeriveKeys_DifferentSessionKeySizes() { // Test with various session key sizes int[] keySizes = { 8, 16, 24, 32, 64, 128 }; int dialect = Smb2Constants.SMB2_DIALECT_0311; for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0)