Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 329 for untracked (0.3 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    include::sample[dir="snippets/tasks/incrementalBuild-incrementalBuildAdvanced/groovy",files="build.gradle[tags=git-clone]"]
    ====
    <1> Declare the task as untracked.
    <2> Use the output directory to run the external tool.
    <3> Add the task and configure the output directory in your build.
    
    [[sec:configure_input_normalization]]
    === Configure input normalization
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

                task unpack(type: Copy) {
                    from $treeMethod("$archName")
                    into 'unpacked'
                }
                """
    
            when:
            run "unpack"
            and:
            then:
            file("unpacked/testdir").mode == 0753
            file("unpacked/testdir/reference.txt").mode == 0762
            where:
            taskName | packMethod | treeMethod
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

        }
    
        def "getProperty(String) is tracked for non-string values"() {
            when:
            def result = getMapUnderTestToRead().getProperty('keyWithNonStringValue')
    
            then:
            result == null
            1 * listener.onAccess('keyWithNonStringValue', NON_STRING_VALUE)
        }
    
        def "getProperty(String, String) is tracked for non-string values"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingSetTest.groovy

        def "contains of existing element is tracked"() {
            when:
            def result = set.contains('existing')
    
            then:
            result
            1 * listener.onAccess('existing')
            0 * listener._
        }
    
        def "contains of null is tracked"() {
            when:
            def result = set.contains(null)
    
            then:
            !result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AbstractAccessTrackingMapTest.groovy

        def "get(null) is not tracked and throws"() {
            when:
            getMapUnderTestToRead().get(null)
    
            then:
            thrown(NullPointerException)
            0 * onAccess._
        }
    
        def "getOrDefault(null) is not tracked and throws"() {
            when:
            getMapUnderTestToRead().getOrDefault(null, "defaultValue")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            0 * onChange._
        }
    
        def "remove(null) is not tracked and throws"() {
            when:
            getMapUnderTestToWrite().remove(null)
    
            then:
            thrown(NullPointerException)
            0 * onAccess._
            0 * onChange._
            0 * onRemove._
        }
    
        def "keySet().remove(null) is not tracked and throws"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.h

    }
    
    // Returns true if the given `value` has the specified rank or has unranked
    // type.
    inline bool IsOfRankOrUnranked(Value value, int64_t rank) {
      RankedTensorType type = GetRankedTensorTypeForOperand(value);
      return !type || type.getRank() == rank;
    }
    
    // Returns true if the given `value` has at least the specified rank or has
    // unranked type.
    inline bool HasRankAtLeast(Value value, int64_t rank) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            when:
            provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            provider.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when values are not unpacked
    
            when:
            counter.set(23)
            def unpackedValue = getter(provider, method, 88)
            then:
            unpackedValue == 23
            1 * sideEffect.execute(23)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/DefaultToolingModelParameterCarrierFactory.kt

                return viewBuilder.build(parameter)!!
            }
    
            override fun getHash(): HashCode {
                val unpacked = ToolingParameterProxy.unpackProperties(parameter)
                return Hashing.hashHashable(valueSnapshotter.snapshot(unpacked))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/test/framework/suite_test.go

    		var ref OtherInterface
    		tracked := &resource.FakeResource{IDValue: "1"}
    		err := act(&ref, tracked)
    		g.Expect(err).To(BeNil())
    		g.Expect(tracked).To(Equal(ref))
    	})
    	t.Run("slice reference", func(t *testing.T) {
    		g := NewWithT(t)
    		existing := &resource.FakeResource{IDValue: "1"}
    		tracked := &resource.FakeResource{IDValue: "2"}
    		ref := []OtherInterface{existing}
    		err := act(&ref, tracked)
    		g.Expect(err).To(BeNil())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top