Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for attributes (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                this.attributes = attributes;
                this.creationTime = creationTime;
                this.lastAccessTime = lastAccessTime;
            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-fields.md

    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes { #declare-model-attributes }
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public int getAttributes() throws SmbException {
            if (getUncPath0().length() == 1) {
                return 0;
            }
            exists();
            return attributes & ATTR_GET_MASK;
        }
    
        /**
         * Set the attributes of this file. Attributes are composed into a
         * bitset by bitwise ORing the {@code ATTR_*} constants. Setting the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            long lastModified = System.currentTimeMillis();
            boolean isDirectory = false;
            long attributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
            long creationTime = System.currentTimeMillis() - 10000;
            long lastAccessTime = System.currentTimeMillis() - 5000;
    
            entry.updateChild(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
            assertTrue(entry.hasChild(childName));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. docs/en/docs/js/termynal.js

                div.innerHTML = `<span ${this._attributes(line)}>${line.value || ''}</span>`;
    
                return div.firstElementChild;
            });
        }
    
        /**
         * Helper function for generating attributes string.
         *
         * @param {Object} line - Line data object.
         * @returns {string} - String of attributes.
         */
        _attributes(line) {
            let attrs = '';
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body.md

    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    
    The same as when declaring query parameters, when a model attribute has a default value, it is not required. Otherwise, it is required. Use `None` to make it just optional.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        /**
         * Permission to append data to the file.
         */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /**
         * Permission to read extended attributes.
         */
        int FILE_READ_EA = 0x00000008; // 4
        /**
         * Permission to write extended attributes.
         */
        int FILE_WRITE_EA = 0x00000010; // 5
        /**
         * Permission to execute the file.
         */
        int FILE_EXECUTE = 0x00000020; // 6
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-updates.md

    ///
    
    /// note
    
    Notice that the input model is still validated.
    
    So, if you want to receive partial updates that can omit all the attributes, you need to have a model with all the attributes marked as optional (with default values or `None`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Mask for attributes that can be retrieved from the server
         */
        protected static final int ATTR_GET_MASK = 0x7FFF;
        /**
         * Mask for attributes that can be set on the server
         */
        protected static final int ATTR_SET_MASK = 0x30A7;
        /**
         * Default expiration period for cached attributes in milliseconds
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    The string will be checked to be a valid URL, and documented in JSON Schema / OpenAPI as such.
    
    ## Attributes with lists of submodels { #attributes-with-lists-of-submodels }
    
    You can also use Pydantic models as subtypes of `list`, `set`, etc.:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top