- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 987 for typeOf (0.37 sec)
-
test/fixedbugs/bug444.go
// The no-op conversion here used to confuse the compiler // into doing a load-effective-address of nil. // See issue 3670. package main import "reflect" type T interface {} var x bool func main() { reflect.TypeOf(nil) reflect.TypeOf(T(nil)) // used to miscompile shouldPanic() } func f() byte { return []byte(nil)[0] // used to miscompile } func shouldPanic() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 645 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java
public Class<?> getDeclaredType() { return getPublicType().getConcreteClass(); } public TypeOf<Object> getPublicType() { if (object instanceof HasPublicType) { return uncheckedCast(((HasPublicType) object).getPublicType()); } return TypeOf.<Object>typeOf(GeneratedSubclasses.unpackType(object)); } public Class<?> getImplementationType() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionContainer.java
* * @param type extension type * @return extension or null */ @Nullable <T> T findByType(Class<T> type); /** * Looks for the extension of a given type (useful to avoid casting). If none found null is returned. * * @param type extension type * @return extension or null * @since 3.5 */ @Nullable <T> T findByType(TypeOf<T> type); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 05 16:56:20 UTC 2019 - 9.1K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/brazil.js
* * @version 2.3.77 * @website http://formvalidator.net/ * @author Victor Jonsson, http://victorjonsson.se * @license MIT */
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionAwareExtensions.kt
/** * Returns the extension of the specified type. * * @param T the extension type. */ inline fun <reified T : Any> ExtensionAware.the(): T = extensions.getByType(typeOf<T>()) /** * Returns the extension of the specified [extensionType]. * * @param T the extension type. * @param extensionType the reified extension type. */ fun <T : Any> ExtensionAware.the(extensionType: KClass<T>): T =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.5K bytes - Viewed (0) -
src/testing/fuzz.go
reflect.TypeOf(([]byte)("")): true, reflect.TypeOf((string)("")): true, reflect.TypeOf((bool)(false)): true, reflect.TypeOf((byte)(0)): true, reflect.TypeOf((rune)(0)): true, reflect.TypeOf((float32)(0)): true, reflect.TypeOf((float64)(0)): true, reflect.TypeOf((int)(0)): true, reflect.TypeOf((int8)(0)): true, reflect.TypeOf((int16)(0)): true, reflect.TypeOf((int32)(0)): true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 22.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaProvider.kt
import org.gradle.api.reflect.TypeOf import org.gradle.internal.service.scopes.Scope import org.gradle.internal.service.scopes.ServiceScope import org.gradle.kotlin.dsl.* import java.io.Serializable @ServiceScope(Scope.UserHome::class) interface ProjectSchemaProvider { fun schemaFor(scriptTarget: Any): TypedProjectSchema? } data class SchemaType(val value: TypeOf<*>) { companion object {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:46 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/internal/tasks/DefaultGroovySourceSetTest.groovy
import org.gradle.util.TestUtil import org.gradle.util.internal.CollectionUtils import org.junit.Rule import spock.lang.Specification import static org.gradle.api.reflect.TypeOf.typeOf class DefaultGroovySourceSetTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/IdeaPluginTest.groovy
import org.gradle.api.reflect.TypeOf import org.gradle.api.tasks.Delete import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel import org.gradle.plugins.ide.idea.model.IdeaModel import org.gradle.test.fixtures.AbstractProjectBuilderSpec import org.gradle.util.TestUtil import spock.lang.Issue import static org.gradle.api.reflect.TypeOf.typeOf class IdeaPluginTest extends AbstractProjectBuilderSpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/kubelet/container/testing/mock_runtime_cache.go
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPods", reflect.TypeOf((*MockRuntimeCache)(nil).GetPods), arg0) } // MockpodsGetter is a mock of podsGetter interface. type MockpodsGetter struct { ctrl *gomock.Controller recorder *MockpodsGetterMockRecorder } // MockpodsGetterMockRecorder is the mock recorder for MockpodsGetter. type MockpodsGetterMockRecorder struct { mock *MockpodsGetter }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4K bytes - Viewed (0)