Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,435 for deflated (0.14 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val deflated = deflater.deflate(goldenValue)
        assertThat(deflated.size).isLessThan(goldenValue.size)
        val inflated = inflater.inflate(deflated)
    
        assertThat(inflated).isEqualTo(goldenValue)
      }
    
      @Test fun `inflate deflate empty message`() {
        val deflater = MessageDeflater(false)
        val inflater = MessageInflater(false)
    
        val goldenValue = "".encodeUtf8()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/compress/flate/inflate_test.go

    		"the quick brown fox jumped over",
    	}
    
    	deflated := make([]bytes.Buffer, 2)
    	for i, s := range ss {
    		w, _ := NewWriter(&deflated[i], 1)
    		w.Write([]byte(s))
    		w.Close()
    	}
    
    	inflated := make([]bytes.Buffer, 2)
    
    	f := NewReader(&deflated[0])
    	io.Copy(&inflated[0], f)
    	f.(Resetter).Reset(&deflated[1], nil)
    	io.Copy(&inflated[1], f)
    	f.Close()
    
    	for i, s := range ss {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:23:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

                it.put("dir/deflated.txt", "bytes".bytes, ClasspathEntryVisitor.Entry.CompressionMethod.DEFLATED)
            }
    
            then:
            def zip = new ZipTestFixture(file)
            zip.hasCompression("store.txt", ZipEntry.STORED)
            zip.hasCompression("undefined.txt", ZipEntry.DEFLATED)
            zip.hasCompression("dir/deflated.txt", ZipEntry.DEFLATED)
        }
    
        def "can construct a directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

        /**
         * Sets the compression level of the entries of the archive. If set to {@link ZipEntryCompression#DEFLATED} (the default), each entry is
         * compressed using the DEFLATE algorithm. If set to {@link ZipEntryCompression#STORED} the entries of the archive are left uncompressed.
         *
         * @param entryCompression {@code STORED} or {@code DEFLATED}
         */
        public void setEntryCompression(ZipEntryCompression entryCompression) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/AbstractZipEntry.java

            switch (entry.getMethod()) {
                case java.util.zip.ZipEntry.STORED:
                    return ZipCompressionMethod.STORED;
                case java.util.zip.ZipEntry.DEFLATED:
                    return ZipCompressionMethod.DEFLATED;
                default:
                    return ZipCompressionMethod.OTHER;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/ZipEntryCompression.java

    /**
     * Specifies the compression level of an archives contents.
     */
    public enum ZipEntryCompression {
        /** Contents are not compressed */
        STORED,
    
        /** Contents are compressed using the 'deflate' algorithm */
        DEFLATED
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 890 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.bundling.Zip.xml

                    <td>metadataCharset</td>
                    <td>Platform default encoding</td>
                </tr>
                <tr>
                    <td>entryCompression</td>
                    <td><literal>ZipEntryCompression.DEFLATED</literal></td>
                </tr>
                <tr>
                    <td>metadataCharset</td>
                    <td>Platform default encoding</td>
                </tr>
                <tr>
                    <td>zip64</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1003 bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathEntryVisitor.java

         */
        void visit(Entry entry) throws IOException;
    
        interface Entry {
            enum CompressionMethod {
                /**
                 * The entry is compressed with DEFLATE algorithm.
                 */
                DEFLATED,
                /**
                 * The entry is not compressed and stored as is.
                 */
                STORED,
                /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 30 22:03:46 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

                switch (entry.getCompressionMethod()) {
                    case STORED:
                        return CompressionMethod.STORED;
                    case DEFLATED:
                        return CompressionMethod.DEFLATED;
                    default:
                        // Zip entries can be in many formats but JARs are unlikely to have them as JVM doesn't
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java

    public interface ZipEntry {
        /**
         * The compression method used for an entry
         */
        enum ZipCompressionMethod {
            /**
             * The entry is compressed with DEFLATE algorithm.
             */
            DEFLATED,
    
            /**
             * The entry is stored uncompressed.
             */
            STORED,
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top