Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 567 for butter (0.24 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt

    import okio.BufferedSink
    import okio.GzipSink
    import okio.buffer
    
    internal class GzipRequestBody(
      val delegate: RequestBody,
    ) : RequestBody() {
      override fun contentType() = delegate.contentType()
    
      // We don't know the compressed length in advance!
      override fun contentLength() = -1L
    
      override fun writeTo(sink: BufferedSink) {
        GzipSink(sink).buffer().use(delegate::writeTo)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 04 17:43:43 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

          BufferedSink bufferedSink = Okio.buffer(sink(sink));
          delegate.writeTo(bufferedSink);
          bufferedSink.flush();
        }
    
        public Sink sink(Sink sink) {
          return new ForwardingSink(sink) {
            private long totalBytesWritten = 0L;
            private boolean completed = false;
    
            @Override
            public void write(Buffer source, long byteCount) throws IOException {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/core/misc/Base64Util.java

    /**
     * Utility class for handling Base64 encoding and decoding.
     * <p>
     * This class now uses the standard {@link java.util.Base64} implementation
     * instead of a custom implementation, providing better security and performance.
     * The API remains backward compatible with previous versions.
     * </p>
     *
     * @author higa
     */
    public abstract class Base64Util {
    
        /**
         * Do not instantiate.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog.jsp

                                            </button>
                                            <button type="submit" class="btn btn-default" name="reset"
                                                    value="<la:message key="labels.crud_button_reset" />">
                                                <la:message key="labels.crud_button_reset"/>
                                            </button>
                                        </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        public fun body(body: Buffer): Builder = body(body.toMockResponseBody())
    
        public fun body(body: MockResponseBody): Builder =
          apply {
            setHeader("Content-Length", body.contentLength)
            this.body = body
          }
    
        /** Sets the response body to the UTF-8 encoded bytes of [body]. */
        public fun body(body: String): Builder = body(Buffer().writeUtf8(body))
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.http.promisesBody
    import okio.BufferedSource
    import okio.Source
    import okio.buffer
    
    /**
     * Transparent Compressed response support.
     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 2.9K bytes
    - Click Count (1)
  7. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that sleeps [periodDelayNanos] every [bytesPerPeriod] bytes. Unlike [okio.Throttler],
     * this permits any interval to be used.
     */
    internal class ThrottledSink(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append returns the same buffer instance
        @Test
        public void test_append_returnsSameBuffer() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test";
    
            StringBuilder result = monitorTarget.append(buf, "key", supplier);
            assertSame(buf, result);
        }
    
        // Test appendTimestamp returns the same buffer instance
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

    import java.io.IOException
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    
    class PostPath {
      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    import java.security.PublicKey
    import java.security.Signature
    import java.security.SignatureException
    import java.security.cert.CertificateFactory
    import java.security.cert.X509Certificate
    import okio.Buffer
    import okio.ByteString
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    internal data class Certificate(
      val tbsCertificate: TbsCertificate,
      val signatureAlgorithm: AlgorithmIdentifier,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top