- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 987 for typeOf (0.18 sec)
-
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) -
test/recover.go
} func test14reflect2() { f := reflect.TypeOf(T6{}).Method(0).Func.Interface().(func(T6)) defer f(T6{}) panic(14) } // function created by reflect.MakeFunc func reflectFunc(args []reflect.Value) (results []reflect.Value) { mustRecoverBody(doubleRecover(), recover(), recover(), 15) return nil } func test15() { f := reflect.MakeFunc(reflect.TypeOf((func())(nil)), reflectFunc).Interface().(func())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 10.6K bytes - Viewed (0) -
src/reflect/benchmark_test.go
for pb.Next() { PointerTo(t) } }) } type B1 struct { X int Y int Z int } func BenchmarkFieldByName1(b *testing.B) { t := TypeOf(B1{}) b.RunParallel(func(pb *testing.PB) { for pb.Next() { t.FieldByName("Z") } }) } func BenchmarkFieldByName2(b *testing.B) { t := TypeOf(S3{}) b.RunParallel(func(pb *testing.PB) { for pb.Next() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectCollectionSchema.java
*/ interface NamedDomainObjectSchema { /** * The name of the domain object. */ String getName(); /** * The public type of the domain object. */ TypeOf<?> getPublicType(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 04 05:48:20 UTC 2018 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensions.kt
* * @param T the extension type * @return the extension or null if not found * * @see [ExtensionContainer.findByType] * @since 5.0 */ inline fun <reified T : Any> ExtensionContainer.findByType(): T? = findByType(typeOf<T>()) /** * Looks for the extension of the specified type and configures it with the supplied action. * * @param T the extension type * @param action the configuration action *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.1K bytes - Viewed (0) -
test/shift2.go
var ( a1 int = 2.0 << s // typeof(2.0) is int in this context => legal shift d1 = f(2.0 << s) // typeof(2.0) is int in this context => legal shift ) // constant shift expressions const c uint = 5 var ( a2 int = 2.0 << c // a2 == 64 (type int) b2 = 2.0 << c // b2 == 64 (untyped integer) _ = f(b2) // verify b2 has type int c2 float64 = 2 << c // c2 == 64.0 (type float64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.3K bytes - Viewed (0) -
pkg/volume/csi/csi_metrics_test.go
_, err := metricsGetter.GetMetrics() if err == nil { t.Errorf("test should fail, but no error occurred") } else if reflect.TypeOf(tc.exitError) != reflect.TypeOf(err) { t.Fatalf("expected exitError type: %v got: %v (%v)", reflect.TypeOf(transientError), reflect.TypeOf(err), err) } } } func getRawVolumeInfo() *csipbv1.NodeGetVolumeStatsResponse { return &csipbv1.NodeGetVolumeStatsResponse{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go
} if nativeTypeToCELType(t, field.Type).CelType().Equal(declField.Type.CelType()).Value() != true { t.Errorf("expected field %q to have type %v, got %v", field.Name, field.Type, declField.Type) } } } func nativeTypeToCELType(t *testing.T, nativeType reflect.Type) *apiservercel.DeclType { switch nativeType { case reflect.TypeOf(""): return apiservercel.StringType
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 7.3K bytes - Viewed (0) -
test/typeparam/nested.go
} var tests []test type intish interface{ ~int } type Int int type GlobalInt = Int // allow access to global Int, even when shadowed func F[A intish]() { add := func(B, T interface{}) { tests = append(tests, test{ TArgs: [2]reflect.Type{ reflect.TypeOf(A(0)), reflect.TypeOf(B), }, Instance: reflect.TypeOf(T), }) } type Int int type T[B intish] struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 17:23:27 UTC 2022 - 3K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/uk.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.4K bytes - Viewed (0)