Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for delegator (0.2 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.DELEGATION_IN_INTERFACE) { firDiagnostic ->
            DelegationInInterfaceImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.DELEGATION_NOT_TO_INTERFACE) { firDiagnostic ->
            DelegationNotToInterfaceImpl(
                firDiagnostic as KtPsiDiagnostic,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt

    /**
     * An SSLSocketFactory that delegates calls. Sockets created by the delegate are wrapped with ones
     * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback
     * checks on platforms that support it. Unfortunately this wrapping will disable any
     * reflection-based calls to SSLSocket from Platform.
     */
    class FallbackTestClientSocketFactory(
      delegate: SSLSocketFactory,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

    /** An [SSLSession] that delegates all calls.  */
    abstract class DelegatingSSLSession(protected val delegate: SSLSession?) : SSLSession {
      override fun getId(): ByteArray {
        return delegate!!.id
      }
    
      override fun getSessionContext(): SSLSessionContext {
        return delegate!!.sessionContext
      }
    
      override fun getCreationTime(): Long {
        return delegate!!.creationTime
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        delegate!!.removeHandshakeCompletedListener(listener)
      }
    
      @Throws(IOException::class)
      override fun startHandshake() {
        delegate!!.startHandshake()
      }
    
      override fun setUseClientMode(mode: Boolean) {
        delegate!!.useClientMode = mode
      }
    
      override fun getUseClientMode(): Boolean {
        return delegate!!.useClientMode
      }
    
      override fun setNeedClientAuth(need: Boolean) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.name.SpecialNames
    
    internal class FirJavaDeclaredMembersOnlyScope(
        private val delegate: FirContainingNamesAwareScope,
        private val owner: FirJavaClass,
    ) : FirCallableFilteringScope(delegate) {
        init {
            // The `isDeclared` check is based on class IDs. Local classes don't have proper class IDs, but because this scope is used to
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

      }
    
      fun enqueueResponse(response: MockResponse) {
        delegate.enqueueResponse(response.wrap())
      }
    
      override fun shutdown() {
        delegate.shutdown()
      }
    
      fun setFailFast(failFast: Boolean) {
        delegate.setFailFast(failFast)
      }
    
      fun setFailFast(failFastResponse: MockResponse?) {
        delegate.setFailFast(failFastResponse?.wrap())
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Oct 18 12:55:43 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     * non-static scopes.
     */
    internal class FirNonStaticMembersScope(
        private val delegate: FirContainingNamesAwareScope,
    ) : FirCallableFilteringScope(delegate) {
        override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean = !callable.fir.isStatic
    
        override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) {
            delegate.processDeclaredConstructors(processor)
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
      private val delegate: X509ExtendedTrustManager,
      private val insecureHosts: List<String>,
    ) : X509ExtendedTrustManager() {
      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     * this permits any interval to be used.
     */
    internal class ThrottledSink(
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        var bytesLeft = byteCount
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        c = c.superclass
      }
    
      // Didn't find the field we wanted. As a last gasp attempt,
      // try to find the value on a delegate.
      if (fieldName != "delegate") {
        val delegate = readFieldOrNull(instance, Any::class.java, "delegate")
        if (delegate != null) return readFieldOrNull(delegate, fieldType, fieldName)
      }
    
      return null
    }
    
    @JvmField
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top