- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 863 for IBytes (0.03 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32 int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32; // The size8 method aligns to 8-byte boundary int alignedSize = (expectedSize + 7) & ~7; assertEquals(alignedSize, size); } @Test @DisplayName("Should write correct bytes to wire format") void testWriteBytesWireFormat() {
Registered: 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/smb1/NetServerEnum2Test.java
// Verify domain String writtenDomain = new String(dst, currentIndex, testDomain.length(), StandardCharsets.US_ASCII); assertEquals(testDomain.toUpperCase(), writtenDomain); // Verify total bytes written assertEquals(currentIndex + testDomain.length() + 1, bytesWritten); } /** * Test the writeParametersWireFormat method for NET_SERVER_ENUM3. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]); // Verify remaining bytes are zeros for (int i = 4; i < 24; i++) { assertEquals((byte) 0x00, SMBUtil.SMB_HEADER[i]); } } @Test void testSMB2Header() { assertNotNull(SMBUtil.SMB2_HEADER); // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type1Message(invalidBytes); }); } @Test @DisplayName("Should handle parsing null message bytes") void testNullMessageBytes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
In this example, we didn't declare any Pydantic model. In fact, the request body is not even <abbr title="converted from some plain format, like bytes, into Python objects">parsed</abbr> as JSON, it is read directly as `bytes`, and the function `magic_data_reader()` would be in charge of parsing it in some way. Nevertheless, we can declare the expected schema for the request body.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ### `HTMLResponse` Nimmt Text oder Bytes entgegen und gibt eine HTML-Response zurück, wie Sie oben gelesen haben. ### `PlainTextResponse` Nimmt Text oder Bytes entgegen und gibt eine Plain-Text-Response zurück. {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *} ### `JSONResponse`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 13.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
reader.read("ANY") { header -> val bytes = reader.readUnknown() return AnyValue( tagClass = header.tagClass, tag = header.tag, constructed = header.constructed, length = header.length, bytes = bytes, ) } } override fun toDer( writer: DerWriter,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
public HandleGuid() { this.guid = UUID.randomUUID(); } public HandleGuid(byte[] bytes) { if (bytes.length != 16) { throw new IllegalArgumentException("GUID must be 16 bytes"); } ByteBuffer bb = ByteBuffer.wrap(bytes); long mostSig = bb.getLong(); long leastSig = bb.getLong(); this.guid = new UUID(mostSig, leastSig); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// InterfaceIndex (4 bytes) writeInt4(buffer, 0, interfaceIndex); // Capability (4 bytes) writeInt4(buffer, 4, capability); // Reserved (4 bytes) writeInt4(buffer, 8, 0); // LinkSpeed (8 bytes) writeInt8(buffer, 12, linkSpeed * 1000000L); // Convert to bps
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
* @param fileId the 16-byte file ID from the previous open */ public DurableHandleReconnect(byte[] fileId) { if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); } this.fileId = Arrays.copyOf(fileId, 16); } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Get the file ID
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0)