Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for copy2 (0.08 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            def copy2 = isolated2.isolate()
            copy2 == ["123"]
            !copy2.is(original2)
        }
    
        def "creates isolated set"() {
            expect:
            def original1 = [] as Set
            def isolated1 = isolatableFactory.isolate(original1)
            isolated1 instanceof IsolatedSet
            def copy1 = isolated1.isolate()
            copy1 == [] as Set
            !copy1.is(original1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/streams/DefaultValueStoreTest.groovy

            def block2 = write("test 2")
    
            def copy1 = storeAndLoad(block1)
            def copy2 = storeAndLoad(block2)
    
            read(copy2) == "test 2"
            read(copy1) == "test 1"
        }
    
        def "can persist block address and read block later"() {
            expect:
            def block1 = write("test 1")
            def block2 = write("test 2")
    
            def copy1 = storeAndLoad(block1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

            buildFile << """
                task copy1(type: Copy) {
                    from file('source1')
                    into file('target')
                }
    
                task copy2(type: Copy) {
                    from file('source2')
                    into file('target')
                }
    
                task copyAll {
                    dependsOn copy1, copy2
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

            "Task"                           | "copy1.get()"          | "[copy1]"
            "TaskProvider"                   | "copy1"                | "[copy1]"
            "Array[Task, TaskProvider]"      | "copy1.get(), copy2"   | "[copy1, copy2]"
            "Collection(Task, TaskProvider)" | "[copy1.get(), copy2]" | "[copy1, copy2]"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            state[0] == null
            state[1] == null
    
            def copy = managedFactoryRegistry.lookup(bean.getFactoryId()).fromState(InterfaceBean, state)
            !copy.is(bean)
            copy.name == null
            copy.numbers == null
    
            bean.setName("name")
            bean.setNumbers([12] as Set)
            copy.name == null
            copy.numbers == null
    
            def state2 = bean.unpackState()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir

      // CHECK-DAG: %[[COPY0:.*]] = "tf.TPUCopyWithLayout"(%[[ITER0]]#0, %[[LAYOUT0]]) {device = "/device:TPU:0"}
      // CHECK-DAG: %[[COPY1:.*]] = "tf.TPUCopyWithLayout"(%[[ITER0]]#1, %[[LAYOUT1]]) {device = "/device:TPU:0"}
      // CHECK-DAG: %[[COPY2:.*]] = "tf.TPUCopyWithLayout"(%[[ITER1]], %[[LAYOUT0]]) {device = "/device:TPU:1"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            def state = property.unpackState()
            def copy = managedFactory().fromState(property.publicType(), state)
            !copy.is(property)
            !copy.present
            copy.getOrNull() == null
    
            property.set(someValue())
            copy.getOrNull() == null
    
            def state2 = property.unpackState()
            def copy2 = managedFactory().fromState(property.publicType(), state2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/builtins0.go

    	_ = complex(f2())
    	_ = complex(f3()) // ERROR "too many arguments"
    }
    
    func copy1() {
    	copy() // ERROR "not enough arguments"
    	copy("foo") // ERROR "not enough arguments"
    	copy([ /* ERROR "copy expects slice arguments" */ ...]int{}, []int{})
    	copy([ /* ERROR "copy expects slice arguments" */ ]int{}, [...]int{})
    	copy([ /* ERROR "different element types" */ ]int8{}, "foo")
    
    	// spec examples
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. test/copy1.go

    // Verify that copy arguments requirements are enforced by the
    // compiler.
    
    package main
    
    func main() {
    
    	si := make([]int, 8)
    	sf := make([]float64, 8)
    
    	_ = copy()        // ERROR "not enough arguments"
    	_ = copy(1, 2, 3) // ERROR "too many arguments"
    
    	_ = copy(si, "hi") // ERROR "have different element types(.*int.*string| int and byte)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 851 bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/tasks/Copy.java

     */
    
    package org.gradle.api.tasks;
    
    import org.gradle.api.InvalidUserDataException;
    import org.gradle.api.internal.file.copy.CopyAction;
    import org.gradle.api.internal.file.copy.CopySpecInternal;
    import org.gradle.api.internal.file.copy.DestinationRootCopySpec;
    import org.gradle.api.internal.file.copy.FileCopyAction;
    import org.gradle.work.DisableCachingByDefault;
    
    import java.io.File;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top