Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for clone (9.4 sec)

  1. mockwebserver/api/mockwebserver3.api

    	public final fun chunkedBody (Lokio/Buffer;I)Lmockwebserver3/MockResponse$Builder;
    	public final fun clearHeaders ()Lmockwebserver3/MockResponse$Builder;
    	public synthetic fun clone ()Ljava/lang/Object;
    	public fun clone ()Lmockwebserver3/MockResponse$Builder;
    	public final fun code (I)Lmockwebserver3/MockResponse$Builder;
    	public final fun getBody ()Lmockwebserver3/MockResponseBody;
    	public final fun getCode ()I
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun addHeaderLenient (Ljava/lang/String;Ljava/lang/Object;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun clearHeaders ()Lokhttp3/mockwebserver/MockResponse;
    	public synthetic fun clone ()Ljava/lang/Object;
    	public fun clone ()Lokhttp3/mockwebserver/MockResponse;
    	public final fun getBody ()Lokio/Buffer;
    	public final fun getBodyDelay (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getHeaders ()Lokhttp3/Headers;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

              var gzippedLength: Long? = null
              if ("gzip".equals(headers["Content-Encoding"], ignoreCase = true)) {
                gzippedLength = buffer.size
                GzipSource(buffer.clone()).use { gzippedResponseBody ->
                  buffer = Buffer()
                  buffer.writeAll(gzippedResponseBody)
                }
              }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
      return Collections.unmodifiableList(listOf(*elements.clone()))
    }
    
    /** Closes this, ignoring any checked exceptions. */
    internal fun Socket.closeQuietly() {
      try {
        close()
      } catch (e: AssertionError) {
        throw e
      } catch (rethrown: RuntimeException) {
        if (rethrown.message == "bio == null") {
    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)
  5. api/go1.21.txt

    pkg log/slog, method (*Record) AddAttrs(...Attr) #56345
    pkg log/slog, method (*Record) Add(...interface{}) #56345
    pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060
    pkg log/slog, method (Record) Clone() Record #56345
    pkg log/slog, method (Record) NumAttrs() int #56345
    pkg log/slog, method (*TextHandler) Enabled(context.Context, Level) bool #56345
    pkg log/slog, method (*TextHandler) Handle(context.Context, Record) error #56345
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  6. api/go1.18.txt

    pkg runtime/debug, type BuildSetting struct
    pkg runtime/debug, type BuildSetting struct, Key string
    pkg runtime/debug, type BuildSetting struct, Value string
    pkg strings, func Clone(string) string
    pkg strings, func Cut(string, string) (string, string, bool)
    pkg strings, func Title //deprecated
    pkg sync, method (*Mutex) TryLock() bool
    pkg sync, method (*RWMutex) TryLock() bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

            sourcePos += bytesRead
    
            // Append the upstream bytes to the file.
            fileOperator!!.write(
              FILE_HEADER_SIZE + upstreamPos,
              upstreamBuffer.clone(),
              upstreamBytesRead,
            )
    
            synchronized(this@Relay) {
              // Append new upstream bytes into the buffer. Trim it to its max size.
              buffer.write(upstreamBuffer, upstreamBytesRead)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          apply {
            informationalResponses += response
          }
    
        fun add100Continue() =
          apply {
            addInformationalResponse(MockResponse(code = 100))
          }
    
        public override fun clone(): Builder = build().newBuilder()
    
        fun build(): MockResponse = MockResponse(this)
      }
    
      @ExperimentalOkHttpApi
      companion object {
        private const val CHUNKED_BODY_HEADER = "Transfer-encoding: chunked"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // this assertion ever fails we'll need to refactor this implementation.
        var wildcardMatch: String? = null
        if (domainLabelsUtf8Bytes.size > 1) {
          val labelsWithWildcard = domainLabelsUtf8Bytes.clone()
          for (labelIndex in 0 until labelsWithWildcard.size - 1) {
            labelsWithWildcard[labelIndex] = WILDCARD_LABEL
            val rule = publicSuffixListBytes.binarySearch(labelsWithWildcard, labelIndex)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      override fun clone(): Call = RealCall(client, originalRequest, forWebSocket)
    
      override fun request(): Request = originalRequest
    
      /**
       * Immediately closes the socket connection if it's currently held. Use this to interrupt an
       * in-flight request from any thread. It's the caller's responsibility to close the request body
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
Back to top