Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,613 for copy2 (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/net/sendfile_test.go

    			if ctx.Err() != nil {
    				return
    			}
    
    			if _, err := io.Copy(conn, f); err != nil {
    				b.Errorf("failed to copy: %v", err)
    				return
    			}
    		}
    	}(ln, fileName)
    
    	conn, err := Dial("tcp", ln.Addr().String())
    	if err != nil {
    		b.Fatalf("failed to dial: %v", err)
    	}
    	defer conn.Close()
    
    	n, err := io.CopyN(io.Discard, conn, int64(dataSize))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	}
    	// First, copy the dwarf load command into the header. It will be
    	// updated later with new offsets and lengths as necessary.
    	if _, err := outf.Seek(int64(dwarfCmdOffset), 0); err != nil {
    		return err
    	}
    	if _, err := io.CopyN(outf, bytes.NewReader(realdwarf.Raw()), int64(realdwarf.Len)); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/io/io.go

    //
    // If src implements [WriterTo],
    // the copy is implemented by calling src.WriteTo(dst).
    // Otherwise, if dst implements [ReaderFrom],
    // the copy is implemented by calling dst.ReadFrom(src).
    func Copy(dst Writer, src Reader) (written int64, err error) {
    	return copyBuffer(dst, src, nil)
    }
    
    // CopyBuffer is identical to Copy except that it stages through the
    // provided buffer (if one is required) rather than allocating a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. src/internal/trace/batch.go

    	}
    	if size > go122.MaxBatchSize {
    		return batch{}, gen, fmt.Errorf("invalid batch size %d, maximum is %d", size, go122.MaxBatchSize)
    	}
    
    	// Copy out the batch for later processing.
    	var data bytes.Buffer
    	data.Grow(int(size))
    	n, err := io.CopyN(&data, r, int64(size))
    	if n != int64(size) {
    		return batch{}, gen, fmt.Errorf("failed to read full batch: read %d but wanted %d", n, size)
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableIvyModuleResolveMetadataTest.groovy

            immutable.excludes == excludes
    
            def copy = immutable.asMutable()
            copy != metadata
            copy.id == newId
            copy.moduleVersionId == DefaultModuleVersionIdentifier.newId(newId)
            copy.sources == MutableModuleSources.of(sources)
            copy.status == "3"
            copy.branch == "release"
            copy.changing
            copy.missing
            copy.statusScheme == ["1", "2", "3"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableMavenModuleResolveMetadataTest.groovy

            def copy = immutable.asMutable()
            copy.id = newId
            copy.sources = MutableModuleSources.of(sources)
            copy.changing = true
            copy.status = "3"
            copy.statusScheme = ["2", "3"]
            copy.snapshotTimestamp = "123"
            copy.packaging = "pom"
            copy.relocated = true
            def immutableCopy = copy.asImmutable()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacement.kt

                    is ObjectOrigin.CustomConfigureAccessor -> origin.copy(receiver = replace(origin.receiver))
                    is ObjectOrigin.FromLocalValue -> origin.copy(assigned = replace(origin.assigned))
                    is ObjectOrigin.ImplicitThisReceiver -> origin.copy(resolvedTo = replaceInReceiver(origin.resolvedTo))
                    is ObjectOrigin.PropertyDefaultValue -> origin.copy(receiver = replace(origin.receiver))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top