Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for Uncompressed (0.1 seconds)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                throws CIFSException {
            byte[] decompressed = decompress(compressedData, offset, length, algorithm);
            if (outputBuffer.length - outputOffset < decompressed.length) {
                throw new CIFSException("Output buffer too small");
            }
            System.arraycopy(decompressed, 0, outputBuffer, outputOffset, decompressed.length);
            return decompressed.length;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

        }
    
        @Test
        @DisplayName("Test LZ77+Huffman compression and decompression")
        public void testLZ77HuffmanCompression() throws CIFSException {
            byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_LZ77_HUFFMAN);
            assertNotNull(compressed);
            assertTrue(compressed.length > 0);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[9:16] *}
    
    ### Create a custom `GzipRoute` class { #create-a-custom-gziproute-class }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        server.enqueue(
          MockResponse
            .Builder()
            .setHeader("Content-Type", PLAIN)
            .body(Buffer().writeUtf8("Uncompressed"))
            .build(),
        )
        val response =
          client
            .newCall(
              request()
                .post("Uncompressed".toRequestBody())
                .gzip()
                .build(),
            ).execute()
        val responseBody = response.body
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        callback.assertTextMessage("Hello")
      }
    
      @Test fun serverWithCompressionCompressedHelloTwoChunks() {
        data.write("418460b420bb92fced72".decodeHex()) // first 4 bytes of compressed 'Hello'
        data.write("80833851d9d4f156d9".decodeHex()) // last 3 bytes of compressed 'Hello'
        serverReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientTwoFrameHello() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. src/archive/zip/reader_test.go

    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  7. cmd/object-handlers_test.go

    	}
    
    	globalCompressConfigMu.Lock()
    	compressEnabled := globalCompressConfig.Enabled
    	globalCompressConfigMu.Unlock()
    	if compressEnabled && !r.ObjInfo.IsCompressed() {
    		t.Errorf("Test %s: object found to be uncompressed though compression was enabled", instanceType)
    	}
    }
    
    // Wrapper for calling Copy Object Part API handler tests for both Erasure multiple disks and single node setup.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/compression/CompressionService.java

         * @return the decompressed data
         * @throws CIFSException if decompression fails
         */
        byte[] decompress(byte[] compressedData, int offset, int length, int algorithm) throws CIFSException;
    
        /**
         * Decompresses data into a provided buffer.
         *
         * @param compressedData the compressed data buffer
         * @param offset the offset in the compressed data buffer
         * @param length the length of compressed data
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

          decompress(response)
        } else {
          chain.proceed(chain.request())
        }
    
      /**
       * Returns a decompressed copy of the Response, typically via a streaming Source.
       * If no known decompression or the response is not compressed, returns the response unmodified.
       */
      internal fun decompress(response: Response): Response {
        if (!response.promisesBody()) {
          return response
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 2.9K bytes
    - Click Count (1)
  10. lib/fips140/v1.1.0-rc1.zip

    0x47, 0xae, 0xbb, 0x6f, 0xb7, 0x1e, 0x91, 0x38, 0x64, 0x09} // NewPrivateKey creates a new ECDSA private key from the given D and Q byte // slices. D must be the fixed-length big-endian encoding of the private scalar, // and Q must be the compressed or uncompressed encoding of the public point. func NewPrivateKey[P Point[P]](c *Curve[P], D, Q []byte) (*PrivateKey, error) { fips140.RecordApproved() pub, err := NewPublicKey(c, Q) if err != nil { return nil, err } if len(D) != c.N.Size() { return nil,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top