- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 6,404 for KClass (0.2 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 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 Apr 03 11:42:14 GMT 2026 - 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K 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 Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 3.1K 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Fri May 23 16:58:05 GMT 2025 - 1.1K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
import java.net.http.HttpClient import java.net.http.HttpRequest import java.net.http.HttpResponse data class GitHubPullRequestSearchResult(val items: List<GitHubPullRequest>) data class GitHubUser(val login: String, val name: String?) data class GitHubPullRequestMilestone(val title: String) data class GitHubPullRequest( val number: Int, val user: GitHubUser, val milestone: GitHubPullRequestMilestone?,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java
*/ package jcifs.smb1.dcerpc.ndr; /** * Base class for NDR (Network Data Representation) objects used in DCE/RPC communication. * This abstract class defines the interface for encoding and decoding NDR data types. */ public abstract class NdrObject { /** * Default constructor for NDR object */ public NdrObject() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrObject.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.ndr; /** * Base class for NDR (Network Data Representation) objects used in DCE/RPC communication. * This abstract class defines the interface for encoding and decoding NDR data types. */ public abstract class NdrObject { /** * Default constructor for NDR object */ public NdrObject() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarClose.java
*/ package jcifs.dcerpc.msrpc; import jcifs.dcerpc.rpc.policy_handle; import jcifs.dcerpc.msrpc.lsarpc.LsarClose; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation. */ public class MsrpcLsarClose extends LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param handle the policy handle to close */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.4K bytes - Click Count (0)