Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for inflated (0.29 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

      @Test fun `inflate deflate`() {
        val deflater = MessageDeflater(false)
        val inflater = MessageInflater(false)
    
        val goldenValue = "Hello deflate!".repeat(100).encodeUtf8()
    
        val deflated = deflater.deflate(goldenValue)
        assertThat(deflated.size).isLessThan(goldenValue.size)
        val inflated = inflater.inflate(deflated)
    
        assertThat(inflated).isEqualTo(goldenValue)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

      /** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */
      @Throws(IOException::class)
      fun inflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          inflater.reset()
        }
    
        deflatedBytes.writeAll(buffer)
        deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
    
        val totalBytesToRead = inflater.bytesRead + deflatedBytes.size
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/isolated_projects.adoc

    :gradle-issues: https://github.com/gradle/gradle/issues/
    
    = Isolated Projects
    
    Isolated Projects is a pre-alpha Gradle feature that extends the configuration cache to further improve performance, in particular the performance of Android Studio and IDEA sync.
    
    When isolated projects is enabled, the configuration model of Gradle projects are "isolated" from each other.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:53:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AttributeValuesIntegrationTest.groovy

        configurations.ok.attributes.attribute(attr, value)
    
        value[0].name = 'other'
        value.add(new Thing(name: 'c'))
    
        def isolated = configurations.ok.attributes.getAttribute(attr)
        assert isolated.size() == 2
        assert isolated[0].name == 'a'
        assert isolated[1].name == 'b'
    """
    
            expect:
            succeeds()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

            then: "fetching with Isolated Projects"
            fixture.assertStateStored {
                modelsCreated(":", GradleProject, IsolatedGradleProjectInternal)
                modelsCreated(":lib1", IsolatedGradleProjectInternal)
            }
    
            checkGradleProject(projectModel, expectedProjectModel)
    
            when: "fetching again with Isolated Projects"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/invocation/GradleLifecycle.java

         * @see IsolatedAction for the requirements to isolated actions
         * @since 8.8
         */
        @Incubating
        void beforeProject(IsolatedAction<? super Project> action);
    
        /**
         * Adds an {@link IsolatedAction isolated action} to be called immediately after a project is evaluated.
         *
         * @param action The action to execute.
         * @see IsolatedAction for the requirements to isolated actions
         * @since 8.8
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 21:28:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/tooling/internal/provider/serialization/PayloadSerializerTest.groovy

            reply.class == payloadClass
        }
    
        def "handles nested objects which are not visible from root object ClassLoader"() {
            def parent = isolated(WrapperPayload, PayloadInterface)
            def wrapperClass = parent.loadClass(WrapperPayload.name)
            def payloadClass = isolated(parent, CustomPayload).loadClass(CustomPayload.name)
            assertNotVisible(wrapperClass, payloadClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            then:
            configurationCache.assertStateLoaded()
        }
    
        @Issue("https://github.com/gradle/gradle/issues/26049")
        // Isolated Projects option is explicitly controlled by the test
        @Requires(IntegTestPreconditions.NotIsolatedProjects)
        def "isolated projects flag is part of the cache key"() {
            def isolatedProjects = new IsolatedProjectsFixture(this)
    
            when:
            configurationCacheRun "help"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

        private ZipEntryCompression entryCompression = ZipEntryCompression.DEFLATED;
        private boolean allowZip64;
        private String metadataCharset;
    
        public Zip() {
            getArchiveExtension().set(ZIP_EXTENSION);
            allowZip64 = false;
        }
    
        @Internal
        protected ZipCompressor getCompressor() {
            switch (entryCompression) {
                case DEFLATED:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top