Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 763 for typeOff (0.15 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt

            }
    
            withBuildScript(
                """
                plugins {
                    my
                }
    
                inline fun <reified T> typeOf(value: T) = typeOf<T>()
    
                println("closureExtension: " + typeOf(closureExtension))
    
                val casted = closureExtension as groovy.lang.Closure<*>
                println(casted.call("some"))
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/TreatInterfaceAsConfigureLambdaTest.kt

        @Test
        fun recognizesLambdaType() {
            assertEquals(typeOf<Int>(), customConfigureLambdas.getTypeConfiguredByLambda(typeOf<MyFunctionalInterface<Int>>()))
            assertTrue { customConfigureLambdas.isConfigureLambdaForType(typeOf<Int>(), typeOf<MyFunctionalInterface<Int>>()) }
            assertFalse { customConfigureLambdas.isConfigureLambdaForType(typeOf<String>(), typeOf<MyFunctionalInterface<Int>>()) }
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

                          bar: typeOf(Capability),
                          boo: typeOf(Child),
                          baz: new TypeOf<List<String>>() {},
                          cat: typeOf(Thing),
                          meo: typeOf(Thing)]
        }
    
        def "can configure extensions by name"() {
            given:
            container.add "foo", extension
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    }
    
    struct CustomQuantizationT : public ::flatbuffers::NativeTable {
      typedef CustomQuantization TableType;
      std::vector<uint8_t> custom{};
    };
    
    struct CustomQuantization FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
      typedef CustomQuantizationT NativeTableType;
      typedef CustomQuantizationBuilder Builder;
      enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/reflect/TypeOfSpec.groovy

            typeOf((Type) String) == new TypeOf<String>() {}
            parameterizedTypeOf(new TypeOf<List<?>>() {}, typeOf(String)) == new TypeOf<List<String>>() {}
            parameterizedTypeOf(new TypeOf<Map<?, ?>>() {}, typeOf(String), typeOf(Integer)) == new TypeOf<Map<String, Integer>>() {}
        }
    
        def "componentType is null on non-array types"() {
            expect:
            typeOf(String).componentType == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 29 11:51:08 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/fix/typecheck.go

    			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)
    }
    
    // Convert between function type strings and lists of types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern uint64_t TFE_GetContextId(TFE_Context* ctx);
    
    // -----------------------------------------------------------------------------
    // Cancellation APIs.
    
    typedef struct TFE_CancellationManager TFE_CancellationManager;
    typedef int64_t TFE_CancellationToken;
    typedef struct TFE_CancelCallback {
      void (*callback)(void* context);
      void* context;
    } TFE_CancelCallback;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/cgo/internal/testshared/testdata/exe/exe.go

    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	runtime.GC()
    	depBase.V = depBase.F() + 1
    
    	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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 906 bytes
    - Viewed (0)
Back to top