Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 146 for sina (0.03 sec)

  1. docs/features/interceptors.md

          @Override public long contentLength() {
            return -1; // We don't know the compressed length in advance!
          }
    
          @Override public void writeTo(BufferedSink sink) throws IOException {
            BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));
            body.writeTo(gzipSink);
            gzipSink.close();
          }
        };
      }
    }
    ```
    
    ### Rewriting Responses
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

       *     sink}
       */
      @CanIgnoreReturnValue
      public long copyTo(ByteSink sink) throws IOException {
        checkNotNull(sink);
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          OutputStream out = closer.register(sink.openStream());
          return ByteStreams.copy(in, out);
        } catch (Throwable e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

          nameValues[i++] = string
        }
        return headerEntries(*nameValues)
      }
    
      private fun writeMedium(
        sink: BufferedSink,
        i: Int,
      ) {
        sink.writeByte(i ushr 16 and 0xff)
        sink.writeByte(i ushr 8 and 0xff)
        sink.writeByte(i and 0xff)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokio/AsyncTimeout$Watchdog;-><init>()V
    HSPLokio/AsyncTimeout$Watchdog;->run()V
    HSPLokio/AsyncTimeout$sink$1;-><init>(Lokio/AsyncTimeout;Lokio/Sink;)V
    HSPLokio/AsyncTimeout$sink$1;->close()V
    HSPLokio/AsyncTimeout$sink$1;->flush()V
    HSPLokio/AsyncTimeout$sink$1;->write(Lokio/Buffer;J)V
    HSPLokio/AsyncTimeout$source$1;-><init>(Lokio/AsyncTimeout;Lokio/Source;)V
    HSPLokio/AsyncTimeout$source$1;->close()V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/form-validator/location.js

    tristan da cunha","saint kitts and nevis","saint lucia","saint martin","saint pierre and miquelon","saint vincent and the grenadines","samoa","san marino","sao tome and principe","saudi arabia","senegal","serbia","seychelles","sierra leone","singapore","sint maarten","slovakia","slovenia","solomon islands","somalia","south africa","south georgia and the south sandwich islands","south sudan","spain","sri lanka","sudan","suriname","svalbard and jan mayen","swaziland","sweden","switzerland","syria","taiw...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkTester.java

    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @param <S> the source or sink type
     * @param <T> the data type (byte[] or String)
     * @param <F> the factory type
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        val extensions = this.extensions!!
        synchronized(this) {
          this.name = name
          this.socket = socket
          this.writer =
            WebSocketWriter(
              isClient = client,
              sink = socket.sink,
              random = random,
              perMessageDeflate = extensions.perMessageDeflate,
              noContextTakeover = extensions.noContextTakeover(client),
              minimumDeflateSize = minimumDeflateSize,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        } else {
          javaNetSocket.soTimeout = chain.readTimeoutMillis()
          okHttpSocket.source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS)
          okHttpSocket.sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS)
          Http1ExchangeCodec(client, this, okHttpSocket)
        }
      }
    
      internal fun useAsSocket() {
        javaNetSocket.soTimeout = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

                override fun contentLength() = 1024L * 1024L * 100L
    
                override fun writeTo(sink: BufferedSink) {
                  val a1024x1024 = "a".repeat(1024 * 1024)
                  repeat(100) {
                    sink.writeUtf8(a1024x1024)
                  }
                }
              },
            ).build()
        val buffer = Buffer()
        multipartBody.writeTo(buffer)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        return client.newCall(request).execute()
      }
    
      private fun writeFile(
        directory: Path,
        file: String,
        content: String,
      ) {
        val sink = fileSystem.sink(directory.div(file)).buffer()
        sink.writeUtf8(content)
        sink.close()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top