Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for unpackcmd (0.5 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            then:
            keySetValue == ["some key", "other key"].toSet()
            // provider of the value in the Map entry does not need to be unpacked
            0 * sideEffect1.execute("some value")
            // provider of the whole map on the other hand must be unpacked and propagates the side effect
            1 * sideEffect2.execute(["other key": "other value"])
            0 * _
    
            where:
            getter      | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    	// Start final link command line.
    	// Note: code below knows that link.p[targ] is the target.
    	var (
    		link      []string
    		targ      int
    		ispackcmd bool
    	)
    	if ispkg {
    		// Go library (package).
    		ispackcmd = true
    		link = []string{"pack", packagefile(pkg)}
    		targ = len(link) - 1
    		xmkdirall(filepath.Dir(link[targ]))
    	} else {
    		// Go command.
    		elem := name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            def value = property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            def executionTimeValue = property.calculateExecutionTimeValue()
            then:
            0 * _ // no side effects until values are unpacked
    
            when:
            def unpackedValue = value.get()
            then:
            unpackedValue == toImmutable(expectedUnpackedValue)
            1 * sideEffect1.execute("some value")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            property.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when calling setter or calculated values are not unpacked
    
            when:
            def unpackedValue = getter(property, getter, someOtherValue())
    
            then:
            unpackedValue == someValue()
            1 * sideEffect.execute(someValue())
            0 * _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    include::sample[dir="snippets/files/archives/groovy",files="build.gradle[tags=unpack-archive-example]"]
    ====
    
    As with a normal copy, you can control which files are unpacked via <<#sec:filtering_files,filters>> and even <<#sec:renaming_files,rename files>> as they are unpacked.
    
    More advanced processing can be handled by the link:{groovyDslPath}/org.gradle.api.tasks.AbstractCopyTask.html#eachFile(org.gradle.api.Action)[eachFile()] method.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          if (!data_ty || !data_ty.hasStaticShape()) return failure();
        }
    
        // Compute type of each of the items and shape to use while reshaping inputs
        // so that they can be unpacked to extract out individual items.
        ArrayRef<int64_t> item_shape = out_ty.getShape().drop_front(1);
        auto item_ty = tensorflow::GetTypeFromTFTensorShape(
            item_shape, out_ty.getElementType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        auto unpack = rewriter.create<TF::UnpackOp>(loc, unpack_output_type, input,
                                                    /*axis=*/0);
    
        // Concatenate the unpacked tensors along the first dimension.
        // Since we're concatenating along first dimension, change its dim size to
        // -1.
        output_shape[0] = -1;
        Value scalar_zero = CreateI32SplatConst(loc, &rewriter, {}, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top