Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 690 for _attributes (0.06 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    tasks.withType<Test>().configureEach {
        shouldRunAfter(codeQuality)
    }
    tasks.check {
        dependsOn(codeQuality)
    }
    
    val rules by configurations.creating {
        isCanBeConsumed = false
    
        attributes {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.RESOURCES))
        }
    }
    
    val buildLibs = if (project.name != "gradle-kotlin-dsl-accessors") {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPlugin.java

                    compositeConfiguration.setCanBeResolved(false);
                    compositeConfiguration.getAttributes().attribute(ARTIFACT_FORMAT, ArtifactTypeDefinition.DIRECTORY_TYPE);
                    compositeConfiguration.getAttributes().attribute(Attribute.of("composite", Boolean.class), true);
                    sub.getArtifacts().add(COMPOSITE_CONFIGURATION_NAME, distributionArchive.getArchiveTask());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 22 19:01:26 GMT 2021
    - 7.9K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (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"));
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionDownloadPluginFuncTest.groovy

                    from('current-marker.txt')
                    into("build/local")
                }
                configurations {
                    extracted {
                        attributes {
                              attribute(ArtifactAttributes.ARTIFACT_FORMAT, "directory")
                        }
                    }
                }
                artifacts {
                    it.add("default", buildTar)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.7K bytes
    - Click Count (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`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. 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.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    La chaîne sera vérifiée comme URL valide et documentée comme telle dans JSON Schema / OpenAPI.
    
    ## Attributs avec des listes de sous-modèles { #attributes-with-lists-of-submodels }
    
    Vous pouvez également utiliser des modèles Pydantic comme sous-types de `list`, `set`, etc. :
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

                  // Ignore this attribute, it isn't recognizable as a date.
                }
              }
    
              attributeName.equals("max-age", ignoreCase = true) -> {
                try {
                  deltaSeconds = parseMaxAge(attributeValue)
                  persistent = true
                } catch (_: NumberFormatException) {
                  // Ignore this attribute, it isn't recognizable as a max age.
                }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
Back to Top