- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,372 for REFLECT (0.13 sec)
-
platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/AsmClassGeneratorUtils.java
*/ package org.gradle.model.internal.asm; import javax.annotation.Nonnull; import java.lang.reflect.Constructor; import java.lang.reflect.GenericArrayType; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import static org.objectweb.asm.Type.getType; public class AsmClassGeneratorUtils {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:25 UTC 2024 - 7K bytes - Viewed (0) -
pkg/kubelet/server/stats/testing/mock_stats_provider.go
// // mockgen -source=handler.go -destination=testing/mock_stats_provider.go -package=testing Provider // // Package testing is a generated GoMock package. package testing import ( context "context" reflect "reflect" v1 "github.com/google/cadvisor/info/v1" v2 "github.com/google/cadvisor/info/v2" gomock "go.uber.org/mock/gomock" v10 "k8s.io/api/core/v1" types "k8s.io/apimachinery/pkg/types"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 11.8K bytes - Viewed (0) -
callbacks/helper_test.go
} if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); !loaded { t.Fatalf("loaded should be true") } // t1 already exist but t2 not if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf([]*testM{&t1, &t2, &t3})); loaded { t.Fatalf("loaded should be false") } if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf([]*testM{&t2, &t3})); !loaded { t.Fatalf("loaded should be true") } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/ConfigureLambdaHandler.kt
import java.lang.reflect.Proxy import kotlin.reflect.KClass import kotlin.reflect.KType import kotlin.reflect.KTypeProjection import kotlin.reflect.KVariance import kotlin.reflect.full.createType import kotlin.reflect.full.declaredMemberFunctions import kotlin.reflect.full.instanceParameter import kotlin.reflect.full.isSubtypeOf import kotlin.reflect.typeOf interface ConfigureLambdaHandler {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 6K bytes - Viewed (0) -
utils/utils.go
} } return false } func AssertEqual(x, y interface{}) bool { if reflect.DeepEqual(x, y) { return true } if x == nil || y == nil { return false } xval := reflect.ValueOf(x) yval := reflect.ValueOf(y) if xval.Kind() == reflect.Ptr && xval.IsNil() || yval.Kind() == reflect.Ptr && yval.IsNil() { return false } if valuer, ok := x.(driver.Valuer); ok {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/time_test.go
// runtime.timeTimer (exported for testing as TimeTimer) // must have time.Timer and time.Ticker as a prefix // (meaning those two must have the same layout). runtimeTimeTimer := reflect.TypeOf(runtime.TimeTimer{}) check := func(name string, typ reflect.Type) { n1 := runtimeTimeTimer.NumField() n2 := typ.NumField() if n1 != n2+1 { t.Errorf("runtime.TimeTimer has %d fields, want %d (%s has %d fields)", n1, n2+1, name, n2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 03:40:04 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/typemap/map.go
package typemap import ( "reflect" "istio.io/istio/pkg/ptr" ) // TypeMap provides a map that holds a map of Type -> Value. There can be only a single value per type. // The value stored for a type must be of the same type as the key. type TypeMap struct { inner map[reflect.Type]any } func NewTypeMap() TypeMap { return TypeMap{make(map[reflect.Type]any)} } func Set[T any](t TypeMap, v T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/vet/testdata/stdversion/stdversion.go
package stdversion import "reflect"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 142 bytes - Viewed (0) -
pkg/kubelet/eviction/mock_threshold_notifier_test.go
// // Package eviction is a generated GoMock package. package eviction import ( context "context" reflect "reflect" time "time" gomock "go.uber.org/mock/gomock" v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1" ) // MockManager is a mock of Manager interface. type MockManager struct { ctrl *gomock.Controller
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 13.2K bytes - Viewed (0)