Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 397 for Structured (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 token
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/MapIteratorCache.java

    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A map-like data structure that wraps a backing map and caches values while iterating through
     * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If
     * this structure is never mutated, it provides a thread-safe view of the backing map.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify structure size (9)
            assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset));
    
            // Verify tree flags (0)
            assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 2));
    
            // Verify path offset (points to after the 8-byte structure)
            int expectedPathOffset = bodyOffset + 8 - headerStart;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if the response structure is invalid
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_REQUEST_RESUME_KEY response data structure. This structure contains a resume key
     * that can be used for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvRequestResumeKeyResponse implements Decodable {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (3)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Creates a basic negotiate response buffer with minimum valid structure.
         */
        private byte[] createBasicNegotiateResponseBuffer() {
            byte[] buffer = new byte[300]; // Sufficient size for basic structure + offsets
    
            // Structure size (65)
            SMBUtil.writeInt2(65, buffer, 0);
    
            // Security mode
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

        }
    
        /**
         * Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response
         *
         * @return encoded bytes
         */
        public byte[] encode() {
            // NETWORK_INTERFACE_INFO structure per MS-SMB2 2.2.32.5.1
            // Total size: 152 bytes
            byte[] buffer = new byte[Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE];
            ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. internal/kms/kms.go

    	// limit is selected automatically.
    	Limit int
    }
    
    // CreateKeyRequest is a structure containing fields
    // and options for creating keys.
    type CreateKeyRequest struct {
    	// Name is the name of the key that gets created.
    	Name string
    }
    
    // DeleteKeyRequest is a structure containing fields
    // and options for deleting keys.
    type DeleteKeyRequest struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

         */
        public RdmaChannelInfo(int remoteKey, long address, int length) {
            // Create SMB2_RDMA_TRANSFORM structure
            this.transform = new Smb2RdmaTransform(address, remoteKey, length);
        }
    
        /**
         * Create from SMB2 RDMA Transform
         *
         * @param transform the RDMA transform structure
         */
        public RdmaChannelInfo(Smb2RdmaTransform transform) {
            this.transform = transform;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatWithInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(59, buffer, 0); // Invalid structure size (should be 60)
    
                // When & Then
                assertThrows(SMBProtocolDecodingException.class, () -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
Back to Top