- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 401 for Structured (0.04 sec)
-
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/internal/smb2/io/Smb2ReadResponseTest.java
assertEquals(0, bytesWritten); } @Test @DisplayName("Should handle error response structure size 9") void testReadBytesWireFormatErrorResponse() throws Exception { // Given byte[] buffer = new byte[256]; int bufferIndex = 0; // Write structure size (9) - indicates error response SMBUtil.writeInt2(9, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
} @Test @DisplayName("Should read valid structure from wire format") void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int offset = 10; // Write valid structure (16 bytes) SMBUtil.writeInt2(16, buffer, offset); // Structure size buffer[offset + 2] = (byte) 0x01; // Share type (DISK)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.7.md
* This change add nonResourceURL to kubectl auth cani ([#46432](https://github.com/kubernetes/kubernetes/pull/46432), [@CaoShuFeng](https://github.com/CaoShuFeng)) * Webhook added to the API server which omits structured audit log events. ([#45919](https://github.com/kubernetes/kubernetes/pull/45919), [@ericchiang](https://github.com/ericchiang))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 308.7K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
byte[] buffer = new byte[512]; int offset = 0; // Set header start position for the response setHeaderStart(response, 64); // Write structure header (9 bytes) SMBUtil.writeInt2(9, buffer, offset); // Structure size SMBUtil.writeInt2(80 - 64, buffer, offset + 2); // Buffer offset (relative to header) SMBUtil.writeInt4(50, buffer, offset + 4); // Total length of notification data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 8, 24)); // Verify total bytes written (structure + lock data) assertEquals(24 + 24, bytesWritten); // 24 for structure, 24 for lock } @Test @DisplayName("Should write request structure correctly with multiple locks") void testWriteBytesWireFormatMultipleLocks() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
This way, its schema will show up in the API docs user interface: <img src="/img/tutorial/dataclasses/image01.png"> ## Dataclasses in Nested Data Structures { #dataclasses-in-nested-data-structures } You can also combine `dataclasses` with other type annotations to make nested data structures.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K 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/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
assertEquals(4, bytesWritten); // Verify structure size (4) is written at offset assertEquals(4, SMBUtil.readInt2(buffer, offset)); // Verify reserved field (0) is written at offset + 2 assertEquals(0, SMBUtil.readInt2(buffer, offset + 2)); } @Test @DisplayName("Should write exact wire format structure") void testWriteBytesWireFormatStructure() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
*/ package jcifs.internal.smb2.rdma; import jcifs.internal.util.SMBUtil; /** * SMB2 RDMA Transform structure for READ/WRITE channel info. * * As per MS-SMB2 2.2.13.1.1 and 2.2.21.1.1 */ public class Smb2RdmaTransform { // SMB_DIRECT_BUFFER_DESCRIPTOR_V1 structure private long offset; // 8 bytes: Offset within registered buffer private int token; // 4 bytes: RDMA provider tokenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0)