- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 6,312 for KClass (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
*/ internal sealed class Tags { /** * Returns a tags instance that maps [key] to [value]. If [value] is null, this returns a tags * instance that does not have any mapping for [key]. */ abstract fun <T : Any> plus( key: KClass<T>, value: T?, ): Tags abstract operator fun <T : Any> get(key: KClass<T>): T? }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
override fun <T : Any> tag(type: KClass<T>): T? = error("unexpected") override fun <T> tag(type: Class<out T>): T? = error("unexpected") override fun <T : Any> tag( type: KClass<T>, computeIfAbsent: () -> T, ): T = error("unexpected") override fun <T : Any> tag( type: Class<T>, computeIfAbsent: () -> T, ): T = error("unexpected")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging { // Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class) fun enableTaskRunner() = enable(TaskRunner::class) fun logHandler() =Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
} private inline fun <reified Receiver> groovyReceiverAccessors(): String { return groovyReceiverAccessors(Receiver::class) } private fun groovyReceiverAccessors(receiverType: KClass<*>): String { val objectMethods = Any::class.java.declaredMethods.toList() return receiverType .memberFunctions .asSequence()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Jul 07 16:02:18 GMT 2024 - 8.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* val copy = original.clone() * * val myTag = original.tag(MyTag::class) * if (myTag != null) { * copy.tag(MyTag::class) { myTag } * } * ``` * * ```java * Call copy = original.clone(); * * MyTag myTag = original.tag(MyTag.class); * if (myTag != null) { * copy.tag(MyTag.class, () -> myTag); * } * ``` *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.jvm.kt
*/ package okhttp3.internal.publicsuffix import org.junit.runner.Runner import org.junit.runner.notification.RunNotifier import org.junit.runners.JUnit4 actual class PublicSuffixTestRunner( klass: Class<*>, ) : Runner() { private val delegate = JUnit4(klass) override fun getDescription() = delegate.description override fun run(notifier: RunNotifier?) = delegate.run(notifier)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 23 16:58:05 GMT 2025 - 1.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
* which collects necessary information for Build Scan. */ fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService( /* the implementation class to collect information from task execution result */ klass: Class<T>, /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */ taskFilter: (Task) -> Boolean,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java
*/ package jcifs.dcerpc.msrpc; /** * MSRPC implementation for looking up security identifiers (SIDs). * This class provides functionality to resolve SIDs to their corresponding * account names using the LSA RPC interface. */ public class MsrpcLookupSids extends jcifs.dcerpc.msrpc.lsarpc.LsarLookupSids { /** * Creates a new request to lookup SIDs. *
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Base64.java
*/ package jcifs.smb1.util; /** * Utility class for Base64 encoding and decoding operations. * Provides methods to convert between binary data and Base64 encoded strings. */ public class Base64 { /** * Private constructor to prevent instantiation of this utility class. */ private Base64() { // Utility class - not instantiable }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
import jcifs.smb1.dcerpc.msrpc.samr; import jcifs.smb1.dcerpc.msrpc.srvsvc; /** * DCERPC binding information for RPC connections. * This class manages the binding parameters and interface registry for DCERPC communications. */ public class DcerpcBinding { private static HashMap INTERFACES; static { INTERFACES = new HashMap(); INTERFACES.put("srvsvc", srvsvc.getSyntax());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0)