Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 766 for enclosing (0.59 sec)

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

        }
    
        // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing
        // the transfer stream.
        var transparentGzip = false
        if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) {
          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = cookieJar.loadForRequest(userRequest.url)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

            .addInterceptor { chain ->
              assertThat(chain.request().header("Accept-Encoding")).isNull()
              Response
                .Builder()
                .request(chain.request())
                .protocol(Protocol.HTTP_1_1)
                .code(200)
                .message("OK")
                .body("Hello".toResponseBody())
                .header("Content-Encoding", "piedpiper")
                .build()
            }.build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    // fitsInBase256 reports whether x can be encoded into n bytes using base-256
    // encoding. Unlike octal encoding, base-256 encoding does not require that the
    // string ends with a NUL character. Thus, all n bytes are available for output.
    //
    // If operating in binary mode, this assumes strict GNU binary mode; which means
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Encdec.java

            default -> throw new IllegalArgumentException("Unsupported time encoding");
            };
        }
    
        /*
         * Decode times
         */
    
        /**
         * Decodes a Date value according to the specified time encoding type.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @param enc the time encoding type (e.g., TIME_1970_SEC_32BE)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      /** Public suffix that is backed by an ICANN-style domain name registry */
      REGISTRY('!', '?');
    
      /** The character used for an inner node in the trie encoding */
      private final char innerNodeCode;
    
      /** The character used for a leaf node in the trie encoding */
      private final char leafNodeCode;
    
      PublicSuffixType(char innerNodeCode, char leafNodeCode) {
        this.innerNodeCode = innerNodeCode;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 10 15:48:57 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. api/go1.22.txt

    pkg debug/elf, const R_MIPS_PC32 R_MIPS #61974
    pkg encoding/base32, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base32, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg encoding/base64, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base64, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *     has a 'Content-Encoding' header.
         */
        fun gzip() =
          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            void testEncodeIn() throws NdrException {
                // Given: Close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // When: Encoding input
                message.encode_in(mockNdrBuffer);
    
                // Then: Should encode handle
                verify(mockPolicyHandle).encode(mockNdrBuffer);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  10. okhttp-zstd/src/main/kotlin/okhttp3/zstd/Zstd.kt

    import okhttp3.CompressionInterceptor
    import okio.BufferedSource
    import okio.Source
    
    /**
     * Support for Zstandard encoding. Use via the [CompressionInterceptor].
     */
    object Zstd : CompressionInterceptor.DecompressionAlgorithm {
      override val encoding: String get() = "zstd"
    
      override fun decompress(compressedSource: BufferedSource): Source = compressedSource.zstdDecompress()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 18:34:32 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top