Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 346 for sameId (3.6 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

            configurationCacheRun 'myTask'
    
            and: 'convention mapping is ignored just the same'
            configurationCacheRun 'myTask'
        }
    
        def "restores convention mapped task input property explicitly set to null"() {
            given:
            withConventionMappingForPropertyOfType String, '"42"'
            buildFile << '''
                tasks.named("ok") {
                    inputProperty = null
                }
            '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolveConfigurationResolutionBuildOperationResult.java

                            Attribute<String> stringAtt = Attribute.of(name, String.class);
                            String stringValue;
                            if (attributeValue instanceof Named) {
                                stringValue = ((Named) attributeValue).getName();
                            } else if (attributeValue instanceof Object[]) { // don't bother trying to handle primitive arrays specially
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/decls2/decls2a.go

    func (x *T1) f /* ERROR "field and method with the same name f" */ () {}
    
    // Conflict between embedded field and method name,
    // with the embedded field being a basic type.
    type T1b struct {
    	int
    }
    
    func (T1b) int /* ERROR "field and method" */ () {}
    
    type T1c struct {
    	time.Time
    }
    
    func (T1c) Time /* ERROR "field and method with the same name Time" */ () int { return 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/reflect/type_test.go

    func TestStructOfEmbeddedIfaceMethodCall(t *testing.T) {
    	type Named interface {
    		Name() string
    	}
    
    	typ := reflect.StructOf([]reflect.StructField{
    		{
    			Anonymous: true,
    			Name:      "Named",
    			Type:      reflect.TypeFor[Named](),
    		},
    	})
    
    	v := reflect.New(typ).Elem()
    	v.Field(0).Set(
    		reflect.ValueOf(reflect.TypeFor[string]()),
    	)
    
    	x := v.Interface().(Named)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy

                            canBeConsumed = false
                            attributes {
                                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.DOCUMENTATION))
                                attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType, DocsType.JAVADOC))
                            }
                        }
                        sources {
                            assert canBeResolved
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations
    
    In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
    
    ## Import Path
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/alias.go

    	// of Invalid to mark unfinished aliases.
    	if t != Typ[Invalid] {
    		a0.actual = t
    	}
    
    	return t
    }
    
    // asNamed returns t as *Named if that is t's
    // actual type. It returns nil otherwise.
    func asNamed(t Type) *Named {
    	n, _ := Unalias(t).(*Named)
    	return n
    }
    
    // newAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. src/go/types/alias.go

    	// of Invalid to mark unfinished aliases.
    	if t != Typ[Invalid] {
    		a0.actual = t
    	}
    
    	return t
    }
    
    // asNamed returns t as *Named if that is t's
    // actual type. It returns nil otherwise.
    func asNamed(t Type) *Named {
    	n, _ := Unalias(t).(*Named)
    	return n
    }
    
    // newAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

            //can't use the original test directory, because its name will be used as the project name and
            //it doesn't follow the project naming convention; so will use an explicitly named sub-folder
    
            given:
            createDirs("project", "project/one")
            file("project/settings.gradle") << """
                include 'one'
            """
            file("project/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/internal/cpu/cpu.go

    	_            CacheLinePad
    }
    
    // The booleans in ARM contain the correspondingly named cpu feature bit.
    // The struct is padded to avoid false sharing.
    var ARM struct {
    	_            CacheLinePad
    	HasVFPv4     bool
    	HasIDIVA     bool
    	HasV7Atomics bool
    	_            CacheLinePad
    }
    
    // The booleans in ARM64 contain the correspondingly named cpu feature bit.
    // The struct is padded to avoid false sharing.
    var ARM64 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top