Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 545 for _attributes (0.06 sec)

  1. docs/debugging/xattr/main.go

    	flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified")
    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    		log.Fatalln("setting an attribute requires a non-zero value")
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            };
    
            for (int attributes : attributeFlags) {
                // Given
                FileBasicInfo info =
                        new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, attributes);
    
                // When & Then
                assertEquals(attributes, info.getAttributes());
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("setAttributes should accept valid attributes")
            void testSetAttributes() throws CIFSException {
                // Given
                int newAttributes = 0x01; // FILE_ATTRIBUTE_READONLY
    
                // When/Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/MediaType.java

      /**
       * Replaces all parameters with the given attribute with parameters using the given
       * values. If there are no values, any existing parameters with the given attribute are removed.
       *
       * @throws IllegalArgumentException if either {@code attribute} or {@code values} is invalid
       * @since 24.0
       */
      public MediaType withParameters(String attribute, Iterable<String> values) {
        checkNotNull(attribute);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

                    0x00000037 // Combined attributes
            };
    
            for (int attr : attributes) {
                FileBasicInfo info = new FileBasicInfo(0L, 0L, 0L, 0L, attr);
                assertEquals(attr, info.getAttributes());
    
                // Verify in toString
                String str = info.toString();
                assertTrue(str.contains("attributes=0x"));
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    Es wird getestet, ob der String eine gültige URL ist, und als solche wird er in JSON Schema / OpenAPI dokumentiert.
    
    ## Attribute mit Listen von Kindmodellen { #attributes-with-lists-of-submodels }
    
    Sie können Pydantic-Modelle auch als Typen innerhalb von `list`, `set`, usw. verwenden:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Attributes.COMBINE_APPEND;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Attributes.COMBINE_CHILDREN;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Attributes.COMBINE_MERGE;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Attributes.COMBINE_OVERRIDE;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Attributes.COMBINE_SELF;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top