Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 796 for typeOf (0.27 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensionsTest.kt

            val extensions = mock<ExtensionContainer>()
            doNothing().`when`(extensions).add(any<TypeOf<SomeExtension<*>>>(), any(), any())
    
            val instance = SomeExtension("some")
            extensions.add<SomeExtension<String>>("name", instance)
    
            inOrder(extensions) {
                verify(extensions).add(typeOf<SomeExtension<String>>(), "name", instance)
                verifyNoMoreInteractions()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testshared/testdata/exe/exe.go

    	var c *C
    	if reflect.TypeOf(F).Out(0) != reflect.TypeOf(c) {
    		panic("bad reflection results, see golang.org/issue/18252")
    	}
    
    	sp := reflect.New(reflect.TypeOf(slicePtr).Elem())
    	s := sp.Interface()
    
    	if reflect.TypeOf(s) != reflect.TypeOf(slicePtr) {
    		panic("bad reflection results, see golang.org/issue/18729")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 906 bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/TypeOfExtensions.kt

     */
    package org.gradle.kotlin.dsl
    
    import org.gradle.api.reflect.TypeOf
    
    
    /**
     * Creates an instance of [TypeOf] for the given parameterized type.
     *
     * @param T the type
     * @return the [TypeOf] that captures the generic type of the given parameterized type
     */
    inline fun <reified T> typeOf(): TypeOf<T> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 947 bytes
    - Viewed (0)
  4. src/encoding/gob/type_test.go

    	var s []int
    	sint := getTypeUnlocked("slice", reflect.TypeOf(s))
    	var news []int
    	newsint := getTypeUnlocked("slice1", reflect.TypeOf(news))
    	if sint != newsint {
    		t.Errorf("second registration of []int creates new type")
    	}
    	var b []bool
    	sbool := getTypeUnlocked("", reflect.TypeOf(b))
    	if sbool == sint {
    		t.Errorf("registration of []bool creates same type as []int")
    	}
    	str := sbool.string()
    	expected := "[]bool"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/KotlinTypeStringTest.kt

    package org.gradle.kotlin.dsl.accessors
    
    import org.gradle.api.reflect.TypeOf.typeOf
    
    import org.gradle.kotlin.dsl.typeOf
    
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class KotlinTypeStringTest {
    
        @Test
        fun `#kotlinTypeStringFor array type`() {
            assertThat(
                kotlinTypeStringFor(typeOf<Array<String>>()),
                equalTo("Array<String>")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/internal/fmtsort/sort_test.go

    )
    
    var compareTests = [][]reflect.Value{
    	ct(reflect.TypeOf(int(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int8(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int16(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int32(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int64(0)), -1, 0, 1),
    	ct(reflect.TypeOf(uint(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint8(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint16(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint32(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint64(0)), 0, 1, 5),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top