Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for copy2 (1.77 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            file("in-dir").createDir()
            def inFile = file("in.txt").createFile()
            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            inFile.copyTo(copy)
            inFile.delete()
            inFile.createLink(copy)
            run("work")
    
            /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. test/makeslice.go

    	shouldPanic("cap out of range", func() { x := make(T, 0, uint(n)); copy(x, c) })
    	shouldPanic("len out of range", func() { x := make(T, int64(n)); copy(x, c) })
    	shouldPanic("cap out of range", func() { x := make(T, 0, int64(n)); copy(x, c) })
    	shouldPanic("len out of range", func() { x := make(T, uint64(n)); copy(x, c) })
    	shouldPanic("cap out of range", func() { x := make(T, 0, uint64(n)); copy(x, c) })
    }
    
    func testMakeCopyBytes(n uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 07 17:50:24 UTC 2020
    - 5.5K bytes
    - Viewed (0)
  3. docker/Dockerfile.distroless

    # prepare a distroless source context to copy files from
    FROM cgr.dev/chainguard/static@sha256:873e9709e2a83acc995ff24e71c100480f9c0368e0d86eaee9c3c7cb8fb5f0e0 as distroless_source
    
    # prepare a base dev to modify file contents
    FROM ubuntu:noble as ubuntu_source
    
    # Modify contents of container
    COPY --from=distroless_source /etc/ /home/etc
    COPY --from=distroless_source /home/nonroot /home/nonroot
    RUN echo istio-proxy:x:1337: >> /home/etc/group
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 00:17:51 UTC 2024
    - 828 bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/filelock/DefaultLockOptionsTest.groovy

    class DefaultLockOptionsTest extends Specification {
        def "can make copy of options"() {
            def builder = DefaultLockOptions.mode(Exclusive).useCrossVersionImplementation()
    
            when:
            def copy = builder.copyWithMode(Shared)
    
            then:
            !copy.is(builder)
            copy.mode == Shared
            copy.useCrossVersionImplementation
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy

            def copy = dependency.copy()
            copy.capabilities {
                it.requireCapability('org:copy:1')
            }
    
            then:
            dependency.requestedCapabilities == [parsedCapability]
            copy.requestedCapabilities.size() == 2
            copy.requestedCapabilities[0] == parsedCapability
            copy.requestedCapabilities[1].name == 'copy'
    
        }
    
        def "creates deep copy"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenRepositoryContentDescriptor.java

            if (getIncludeSpecs() != null) {
                copy.setIncludeSpecs(Sets.newHashSet(getIncludeSpecs()));
            }
            if (getExcludeSpecs() != null) {
                copy.setExcludeSpecs(Sets.newHashSet(getExcludeSpecs()));
            }
            if (getRequiredAttributes() != null) {
                copy.setRequiredAttributes(Maps.newHashMap(getRequiredAttributes()));
            }
            return copy;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskChildSpecIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "changing child specs of the copy task while executing is disallowed"() {
            given:
            file("some-dir/input.txt") << "Data"
            buildScript """
                task copy(type: Copy) {
                    outputs.cacheIf { true }
                    from ("some-dir")
                    into ("build/output")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    			if sw.physicalRemaining() == 0 {
    				readLastByte = true
    				nf--
    			}
    			_, err = rs.Seek(nf, io.SeekCurrent)
    		} else { // In a data fragment
    			nf = dataEnd - sw.pos
    			nf, err = io.CopyN(sw.fw, rs, nf)
    		}
    		sw.pos += nf
    		if sw.pos >= dataEnd && len(sw.sp) > 1 {
    			sw.sp = sw.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/compress/flate/dict_decoder.go

    	if endPos > len(dd.hist) {
    		endPos = len(dd.hist)
    	}
    
    	// Copy non-overlapping section after destination position.
    	//
    	// This section is non-overlapping in that the copy length for this section
    	// is always less than or equal to the backwards distance. This can occur
    	// if a distance refers to data that wraps-around in the buffer.
    	// Thus, a backwards copy is performed here; that is, the exact bytes in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  10. internal/crypto/header_test.go

    	{
    		Header: http.Header{
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": []string{""},
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key":       []string{""},
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key-Md5":   []string{""},
    		},
    		Expected: true,
    	}, // 4
    	{
    		Header: http.Header{
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top