Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for COMPRESSED (0.05 seconds)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

        }
    
        /**
         * Decompresses GZIP-compressed data.
         *
         * @param compressed The GZIP-compressed data to decompress
         * @return Decompressed data
         * @throws IORuntimeException if decompression fails
         */
        protected byte[] gzipDecompress(final byte[] compressed) {
            try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  2. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

                method.setAccessible(true);
    
                // Compressed forms should remain unchanged
                assertEquals("::1", method.invoke(null, "::1"));
                assertEquals("2001:db8::1", method.invoke(null, "2001:db8::1"));
    
                // Expanded forms should be compressed
                assertEquals("::1", method.invoke(null, "0:0:0:0:0:0:0:1"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            }
            return address;
        }
    
        /**
         * Compresses an IPv6 address string to its canonical compressed form.
         * For example, "0:0:0:0:0:0:0:1" becomes "::1"
         *
         * @param ipv6Address the IPv6 address string to compress
         * @return the compressed IPv6 address string
         */
        protected static String compressIPv6(final String ipv6Address) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
            byte[] decompressed = searchHelper.gzipDecompress(compressed);
    
            assertEquals(testData, new String(decompressed));
            // For small strings, gzip overhead might make compressed data larger
            // So we just verify that compression/decompression works correctly
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    ## Use cases { #use-cases }
    
    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. [`msgpack`](https://msgpack.org/index.html)).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

            .build(),
        )
        val call = client.newCall(Request(url = server.url("/")))
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      /** Use a header that is large even when it is compressed. */
      @Test
      fun largeCompressedResponseHeader() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Set-Cookie", "a=${randomString(256 * 1024)}")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/flags/flags.go

    	Std        = flag.Bool("std", false, "building standard library")
    )
    
    var DebugFlags struct {
    	CompressInstructions int    `help:"use compressed instructions when possible (if supported by architecture)"`
    	MayMoreStack         string `help:"call named function before all stack growth checks"`
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

                + "|application/pdf" //
                + "|application/x-freemind" //
                + "|application/lha" //
                + "|application/x-lha" //
                + "|application/x-lha-compressed" //
                + "|text/xml" //
                + "|text/xml-external-parsed-entity" //
                + "|text/html)";
    
        // HTML rule pattern from webHtmlRule in rule.xml
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. okhttp-osgi-tests/build.gradle.kts

    }
    
    normalization {
      runtimeClasspath {
        /*
           - The below two ignored files are generated during test execution
           by the test: okhttp/src/test/java/okhttp3/osgi/OsgiTest.java
    
           - The compressed index.xml file contains a timestamp property which
           changes with every test execution, such that running the test
           actually changes the test classpath itself. This means that it
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top