Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for typeOf (0.27 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java

         * @return the {@literal TypeOf} that captures the generic type of the given {@literal Type}
         */
        public static <T> TypeOf<T> typeOf(Type type) {
            return new TypeOf<T>(
                Cast.<ModelType<T>>uncheckedCast(
                    ModelType.of(typeWhichCannotBeNull(type)))) {
            };
        }
    
        /**
         * Constructs a new parameterized type from a given parameterized type definition and an array of type arguments.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/fix/typecheck.go

    			// Propagate types across binary ops that require two args of the same type.
    			switch n.Op {
    			case token.EQL, token.NEQ: // TODO: more cases. This is enough for the cftype fix.
    				if typeof[n.X] != "" && typeof[n.Y] == "" {
    					typeof[n.Y] = typeof[n.X]
    				}
    				if typeof[n.X] == "" && typeof[n.Y] != "" {
    					typeof[n.X] = typeof[n.Y]
    				}
    			}
    		}
    	}
    	walkBeforeAfter(f, before, after)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  3. pkg/ctrlz/assets/static/js/clipboard-1.7.1.min.js

     * Licensed MIT © Zeno Rocha
     */
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. pkg/config/schema/collections/collections.gen.go

    		VersionAliases: []string{
    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        val extensions: List<ProjectSchemaEntry<TypeOf<*>>>,
        val conventions: List<ProjectSchemaEntry<TypeOf<*>>>,
        val tasks: List<ProjectSchemaEntry<TypeOf<*>>>,
        val containerElements: List<ProjectSchemaEntry<TypeOf<*>>>
    )
    
    
    internal
    fun targetSchemaFor(target: Any, targetType: TypeOf<*>): TargetTypedSchema {
    
        val extensions = mutableListOf<ProjectSchemaEntry<TypeOf<*>>>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/main/webapp/js/suggestor.js

                              1
                          ) {
                            if (typeof listDeselectedCssInfo !== "undefined") {
                              $(this).css(listDeselectedCssInfo);
                            } else {
                              if (
                                typeof boxCssInfo === "undefined" ||
                                typeof boxCssInfo["background-color"] === "undefined"
                              ) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. pkg/config/schema/collections/collections.agent.gen.go

    		VersionAliases: []string{
    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/internal/reflectlite/all_test.go

    		{TypeOf(uint16(0)), ""},
    		{TypeOf(uint32(0)), ""},
    		{TypeOf(uint64(0)), ""},
    		{TypeOf(uintptr(0)), ""},
    		{TypeOf(float32(0)), ""},
    		{TypeOf(float64(0)), ""},
    		{TypeOf(complex64(0)), ""},
    		{TypeOf(complex128(0)), ""},
    		{TypeOf(byte(0)), ""},
    		{TypeOf(rune(0)), ""},
    		{TypeOf([]byte(nil)), ""},
    		{TypeOf([]rune(nil)), ""},
    		{TypeOf(string("")), ""},
    		{TypeOf((*any)(nil)).Elem(), ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

        }
    
        @Override
        public <T> T getByType(Class<T> type) {
            return getByType(typeOf(type));
        }
    
        @Override
        public <T> T getByType(TypeOf<T> type) {
            return extensionsStorage.getByType(type);
        }
    
        @Override
        public <T> T findByType(Class<T> type) {
            return findByType(typeOf(type));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                """
    
                plugins { id("my.plugin") }
    
                inline fun <reified T> typeOf(value: T) = typeOf<T>()
    
                println("nested: " + typeOf(nested))
                nested { println("nested{} " + typeOf(this)) }
    
                println("beans: " + typeOf(beans))
                beans { println("beans{} " + typeOf(beans)) }
    
                // ensure API usage
                println(beans.create("bar").name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top