Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for inflated (0.11 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. src/compress/flate/inflate.go

    cui fliter <******@****.***> 1697167733 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            expect:
            def original = 123
            def isolated = isolatableFactory.isolate(original)
            isolated.coerce(Integer).is(original)
            isolated.coerce(Number).is(original)
            isolated.coerce(Long) == null
            isolated.coerce(Short) == null
            isolated.coerce(Byte) == null
            isolated.coerce(String) == null
        }
    
        def "creates isolated long"() {
            expect:
            def original = 123L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshot != snapshotter.snapshot("other")
        }
    
        def "creates snapshot for isolated string"() {
            expect:
            def isolated = isolatableFactory.isolate("abc")
            snapshotter.snapshot("abc") == snapshotter.snapshot(isolated)
            snapshotter.snapshot("other") != snapshotter.snapshot(isolated)
        }
    
        def "creates snapshot for integer"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            List<String> list = ["foo", "bar"]
    
            when:
            serialize(isolatableFactory.isolate(list))
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == list
        }
    
        def "can serialize/deserialize isolated Set"() {
            Set<String> list = ["foo", "bar"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top