- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 82 for typeOff (0.2 sec)
-
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt
import kotlin.reflect.KMutableProperty import kotlin.reflect.KProperty import kotlin.reflect.full.isSubclassOf import kotlin.reflect.full.memberFunctions import kotlin.reflect.full.memberProperties import kotlin.reflect.typeOf internal class DependencyCollectorFunctionExtractorAndRuntimeResolver( private val gavDependencyParam: DataParameter, private val projectDependencyParam: DataParameter
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:07 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/depBase/dep.go
func (d *Dep) Method() int { // This code below causes various go.itab.* symbols to be generated in // the shared library. Similar code in ../exe/exe.go results in // exercising https://golang.org/issues/17594 reflect.TypeOf(os.Stdout).Elem() return 10 } func F() int { defer func() {}() return V } func H() { // Issue 67635: deadcoded closures causes linker crash. func() { F() }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 1K bytes - Viewed (0) -
pkg/config/analysis/local/helpers_test.go
var K8SCollection1 = r2.Builder{ Group: "testdata.istio.io", Kind: "Kind1", Plural: "Kind1s", Version: "v1alpha1", Proto: "google.protobuf.Struct", ReflectType: reflect.TypeOf(&structpb.Struct{}).Elem(), ProtoPackage: "github.com/gogo/protobuf/types", ClusterScoped: false, ValidateProto: validation.EmptyValidate, }.MustBuild()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 1.7K bytes - Viewed (0) -
security/pkg/pki/util/crypto.go
} } // GetRSAKeySize returns the size if it is RSA key, otherwise it returns an error. func GetRSAKeySize(privKey crypto.PrivateKey) (int, error) { if t := reflect.TypeOf(privKey); t != reflect.TypeOf(&rsa.PrivateKey{}) { return 0, fmt.Errorf("key type is not RSA: %v", t) } pkey := privKey.(*rsa.PrivateKey) return pkey.N.BitLen(), nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirReceiverParameterSymbol.kt
) : KaReceiverParameterSymbol(), KaLifetimeOwner { override val token: KaLifetimeToken get() = analysisSession.token override val psi: PsiElement? = withValidityAssertion { firSymbol.fir.receiverParameter?.typeRef?.psi } init { requireWithAttachment(firSymbol.fir.receiverParameter != null, { "${firSymbol::class} doesn't have an extension receiver." }) { withFirEntry("callable", firSymbol.fir) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/typemap/map.go
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) { interfaceType := reflect.TypeOf((*T)(nil)).Elem() t.inner[interfaceType] = v } func Get[T any](t TypeMap) *T { v, f := t.inner[reflect.TypeFor[T]()] if f { return ptr.Of(v.(T)) } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/kube/krt/internal.go
// We should have a way to opt-in to RV comparison, but not default to it. ap, ok := any(a).(proto.Message) if ok { if reflect.TypeOf(ap.ProtoReflect().Interface()) == reflect.TypeOf(ap) { return proto.Equal(ap, any(b).(proto.Message)) } // If not, this is an embedded proto most likely... Sneaky. // DeepEqual on proto is broken, so fail fast to avoid subtle errors.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go
t.Errorf("unexpected difference on roundtrip from interface{} to interface{}:\n%s", diff) } } { // original to original final := reflect.New(reflect.TypeOf(original)) err = modePair.dec.Unmarshal(cborFromOriginal, final.Interface()) if err != nil { t.Fatalf("unexpected error from Unmarshal into %T: %v", final.Interface(), err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 21:48:12 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.h
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h" #define GET_ATTRDEF_CLASSES #include "tensorflow/compiler/mlir/lite/ir/tfl_ops_attrdefs.h.inc" namespace mlir { namespace TFL { typedef TFLDialect TensorFlowLiteDialect; // The Control type is a token-like value that models control dependencies class ControlType : public Type::TypeBase<ControlType, Type, TypeStorage> { public: using Base::Base;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 2.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/firSymbolUtils.kt
} private fun createContextReceiver( builder: KaSymbolByFirBuilder, contextReceiver: FirContextReceiver ) = KaContextReceiverImpl( builder.typeBuilder.buildKtType(contextReceiver.typeRef), contextReceiver.customLabelName, builder.token ) internal fun FirCallableSymbol<*>.getCallableId(): CallableId? { return when { origin == FirDeclarationOrigin.DynamicScope -> null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 5K bytes - Viewed (0)