Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for override (0.16 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          name = "BOOLEAN",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 1L,
          codec =
            object : BasicDerAdapter.Codec<Boolean> {
              override fun decode(reader: DerReader): Boolean = reader.readBoolean()
    
              override fun encode(
                writer: DerWriter,
                value: Boolean,
              ) = writer.writeBoolean(value)
            },
        )
    
      val INTEGER_AS_LONG =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

            }
          }
        }
    
        override fun put(element: T) {
          taskRunner.lock.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
        override fun peek(): T = error("unsupported")
    
        override fun offer(
          element: T,
          timeout: Long,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            override fun visitElement(element: FirElement) {
                element.acceptChildren(this)
            }
    
            override fun visitAnonymousFunction(anonymousFunction: FirAnonymousFunction) = visitFunction(anonymousFunction)
            override fun visitPropertyAccessor(propertyAccessor: FirPropertyAccessor) = visitFunction(propertyAccessor)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        call.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              exceptionRef.set(e)
              latch.countDown()
            }
    
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

          object : Call {
            override fun request(): Request = TODO()
    
            override fun execute(): Response = TODO()
    
            override fun enqueue(responseCallback: Callback) = TODO()
    
            override fun cancel() = TODO()
    
            override fun isExecuted(): Boolean = TODO()
    
            override fun isCanceled(): Boolean = TODO()
    
            override fun timeout(): Timeout = TODO()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    
    internal class KtFirSymbolContainingDeclarationProvider(
        override val analysisSession: KtFirAnalysisSession,
        override val token: KtLifetimeToken,
    ) : KtSymbolContainingDeclarationProvider(), KtFirAnalysisSessionComponent {
        override fun getContainingDeclaration(symbol: KtSymbol): KtDeclarationSymbol? {
            if (!hasParentSymbol(symbol)) {
                return null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
        override fun coordinatorWait(
          taskRunner: TaskRunner,
          nanos: Long,
        ) {
          taskRunner.lock.assertHeld()
          if (nanos > 0) {
            taskRunner.condition.awaitNanos(nanos)
          }
        }
    
        override fun <T> decorate(queue: BlockingQueue<T>) = queue
    
        override fun execute(
          taskRunner: TaskRunner,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

      }
    
      fun String.toOneShotRequestBody(): RequestBody {
        return object : RequestBody() {
          override fun contentType() = null
    
          override fun isOneShot(): Boolean = true
    
          override fun contentLength() = ******@****.***8Size()
    
          override fun writeTo(sink: BufferedSink) {
            sink.writeUtf8(this@toOneShotRequestBody)
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

          return object : ResponseBody() {
            override fun contentType() = original.contentType()
    
            override fun contentLength() = original.contentLength()
    
            override fun source() = uppercase(original.source()).buffer()
          }
        }
    
        private fun uppercase(original: Source): Source {
          return object : ForwardingSource(original) {
            override fun read(
              sink: Buffer,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead)
              cacheBody.emitCompleteSegments()
              return bytesRead
            }
    
            override fun timeout(): Timeout = source.timeout()
    
            @Throws(IOException::class)
            override fun close() {
              if (!cacheRequestClosed &&
                !discard(ExchangeCodec.DISCARD_STREAM_TIMEOUT_MILLIS, MILLISECONDS)
              ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top