Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 426 for structural (0.05 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    **FastAPI** provides a convenience tool to structure your application while keeping all the flexibility.
    
    /// info
    
    If you come from Flask, this would be the equivalent of Flask's Blueprints.
    
    ///
    
    ## An example file structure { #an-example-file-structure }
    
    Let's say you have a file structure like this:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
    
            // FileId is at offset 8 in the request structure
            for (int i = 0; i < 16; i++) {
                assertEquals(fileId[i], buffer[Smb2Constants.SMB2_HEADER_LENGTH + 8 + i]);
            }
        }
    
        @Test
        @DisplayName("Test setFileInformationClass method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_FS_FULL_SIZE_INFORMATION structure used to query comprehensive file system size information.
     * This structure provides complete allocation details including total allocation units, caller-available free units,
     * actual free allocation units, sectors per allocation unit, and bytes per sector.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (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 {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should decode error response with correct structure size")
            void testReadErrorResponseValid() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[256];
                int bufferIndex = 0;
    
                // Write error response structure
                SMBUtil.writeInt2(9, buffer, bufferIndex); // structure size
                buffer[bufferIndex + 2] = 2; // error context count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK data structure. This structure represents a single chunk specification
     * for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunk implements Encodable {
    
        private final long sourceOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK_COPY data structure. This structure is used to perform server-side
     * copy operations with multiple chunk specifications.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunkCopy implements Encodable {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

     */
    package jcifs.internal.fscc;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
     * This structure provides standard file information including allocation size, end-of-file position,
     * number of links, deletion status, and directory flag.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                byte[] buffer = new byte[256];
    
                // Execute
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Verify structure
                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(2, buffer[2]); // Padding
                assertEquals(0x01, buffer[3]); // Read flags
                assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top