Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for Unpack (0.13 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ArchivesContinuousIntegrationTest.groovy

            given:
            def packDir = file("pack").createDir()
            def outputDir = file("unpack")
            def sourceFile = file(source)
    
            buildFile << """
                task unpack(type: Sync) {
                    from($type(resources.$resourceType("${sourceFile.toURI()}")))
                    into("unpack")
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/post_calibration_component.mlir

      return %0 : tensor<1x3xf32>
    }
    // CHECK-NO-UNPACK-LABEL: func.func @main_no_unpack
    // CHECK-NO-UNPACK-SAME: (%[[ARG_0:.+]]: tensor<1x1024xf32>) -> tensor<1x3xf32>
    // CHECK-NO-UNPACK-DAG: %[[CONST:.+]] = stablehlo.constant() <{value = dense<{{.*}}> : tensor<1024x3xi8>}> : () -> tensor<1024x3x!quant.uniform<i8<-127:127>:f32:1, {{.*}}>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/archives/groovy/build.gradle

    // tag::zip[]
    // tag::tar[]
    plugins {
        id 'java'
    }
    
    // end::tar[]
    // end::zip[]
    
    // tag::unpack-archive-example[]
    tasks.register('unpackFiles', Copy) {
        from zipTree("src/resources/thirdPartyResources.zip")
        into layout.buildDirectory.dir("resources")
    }
    // end::unpack-archive-example[]
    
    // tag::unpack-archive-subset-example[]
    tasks.register('unpackLibsDirectory', Copy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/files/archives/kotlin/build.gradle.kts

    // tag::zip[]
    // tag::tar[]
    plugins {
        java
    }
    
    // end::tar[]
    // end::zip[]
    
    // tag::unpack-archive-example[]
    tasks.register<Copy>("unpackFiles") {
        from(zipTree("src/resources/thirdPartyResources.zip"))
        into(layout.buildDirectory.dir("resources"))
    }
    // end::unpack-archive-example[]
    
    // tag::unpack-archive-subset-example[]
    tasks.register<Copy>("unpackLibsDirectory") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/DeferredUtil.java

    public class DeferredUtil {
    
        /**
         * Successively unpacks a deferred value until it is resolved to null or something other than Callable (including Groovy Closure) or Kotlin lambda
         * then unpacks the remaining Provider or Factory.
         *
         * Fails when the Provider is not present.
         */
        @Nullable
        public static Object unpack(@Nullable Object deferred) {
            return unpack(ProviderResolutionStrategy.REQUIRE_PRESENT, deferred);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/util/internal/DeferredUtilTest.groovy

            where:
            description | value
            'Provider'  | Providers.notDefined()
            'Provider in Callable'      | { -> Providers.notDefined() }
        }
    
        def "unpack of #description fails"() {
            when:
            DeferredUtil.unpack(value)
            then:
            thrown(MissingValueException)
    
            where:
            description            | value
            'Provider'             | Providers.notDefined()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerTest.groovy

            def output = new ByteArrayOutputStream()
            when:
            def packResult = pack output, prop(DIRECTORY, sourceOutputDir)
    
            then:
            packResult.entries == 4
    
            when:
            def input = new ByteArrayInputStream(output.toByteArray())
            def result = unpack input, prop(DIRECTORY, targetOutputDir)
    
            then:
            targetDataFile.text == "output"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/gradients_test.cc

        // Construct forward graph.
        auto c = Const(scope, 1, {3, 4, 2});
        auto unpack = Unstack(scope, c, 3);
        auto x = Identity(scope, unpack.output[0]);
        auto y = Identity(scope, unpack.output[1]);
        auto z = Identity(scope, unpack.output[2]);
        TF_ASSERT_OK(scope.status());
    
        // Construct grad inputs.
        auto dy = Const(scope, 4, {4, 2});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
  9. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/SrcDistributionIntegrationSpec.groovy

            binZip.exists()
    
            when:
            Expand unpack = new Expand()
            unpack.src = binZip
            unpack.dest = contentsDir.file('build/distributions/unzip')
            AntUtil.execute(unpack)
    
            then:
            TestFile unpackedRoot = new TestFile(contentsDir.file('build/distributions/unzip').listFiles().first())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/SnappyDainPacker.java

                }
            });
        }
    
        @Override
        public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException {
            delegate.unpack(new DelegatingDataSource(input) {
                @Override
                public InputStream openInput() throws IOException {
                    return new SnappyFramedInputStream(super.openInput(), true);
                }
            }, targetFactory);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top