- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,664 for deflated (0.11 sec)
-
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: 2024-06-16 04:42 - Last Modified: 2024-01-06 05:31 - 5K bytes - Viewed (0) -
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: 2024-06-12 18:38 - Last Modified: 2024-02-09 14:05 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/AbstractZipEntry.java
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-28 12:11 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.bundling.Zip.xml
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-27 17:53 - 1003 bytes - Viewed (0) -
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: 2024-06-12 18:38 - Last Modified: 2024-03-12 02:21 - 5.6K bytes - Viewed (0) -
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: 2024-06-12 18:38 - Last Modified: 2024-05-28 12:11 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java
private void configureCompression(ZipArchiveEntry entry, CompressionMethod compressionMethod, byte[] contents) { if (shouldCompress(compressionMethod)) { entry.setMethod(ZipArchiveEntry.DEFLATED); } else { entry.setMethod(ZipArchiveEntry.STORED); // A stored ZipEntry requires setting size and CRC32 upfront. // See https://stackoverflow.com/q/1206970.
Registered: 2024-06-12 18:38 - Last Modified: 2024-02-09 14:05 - 6.9K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
return !unsafe } @Override ZipEntry.ZipCompressionMethod getCompressionMethod() { return ZipEntry.ZipCompressionMethod.DEFLATED } } return new DefaultZipEntryContext(zipEntry, file.path, "foo.zip") } RegularFileSnapshotContext snapshotContext(File file, FileType fileType = FileType.RegularFile) {
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 15:09 - 7.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy
then: cachedClasspath.asFiles == [cachedFile] def zip = new ZipTestFixture(cachedFile) zip.hasCompression("a.class", ZipEntry.DEFLATED) zip.hasCompression("res.txt", ZipEntry.STORED) } def "uses non-file URL from origin"() { given: def file = testDir.file("thing.jar") jar(file)
Registered: 2024-06-12 18:38 - Last Modified: 2024-06-11 09:51 - 20.8K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
If you want this update with the old behavior use [this interceptor][legacy_interceptor]. * Fix: Don't crash decompressing web sockets messages. We had a bug where we assumed deflated bytes in would always yield deflated bytes out and this isn't always the case! * Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
Registered: 2024-06-16 04:42 - Last Modified: 2024-04-17 13:25 - 25.2K bytes - Viewed (0)