Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for copySource (0.16 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/file/ProjectCopySpecTest.groovy

            def copyEachFileCalled = false
            def copyNestedEachFileCalled = false
    
            copySource.createFile("file")
            def copySpec = project.copySpec {
                copySpecRootCalled = true
                delegate.duplicatesStrategy "include"
                from copySource
    
                from copySource, {
                    delegate.duplicatesStrategy "include"
                    delegate.eachFile {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 27 10:59:05 UTC 2016
    - 2.7K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    		},
    		copySource:     false,
    		metadata:       nil,
    		encryptionType: "",
    		err:            crypto.ErrInvalidCustomerKey,
    	}, // 2
    	{
    		headers:        http.Header{xhttp.AmzServerSideEncryption: []string{"AES256"}},
    		copySource:     false,
    		metadata:       nil,
    		encryptionType: encrypt.S3,
    		err:            nil,
    	}, // 3
    	{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/copyelim.go

    		values := f.NamedValues[*name]
    		for i, v := range values {
    			if v.Op == OpCopy {
    				values[i] = v.Args[0]
    			}
    		}
    	}
    }
    
    // copySource returns the (non-copy) op which is the
    // ultimate source of v.  v must be a copy op.
    func copySource(v *Value) *Value {
    	w := v.Args[0]
    
    	// This loop is just:
    	// for w.Op == OpCopy {
    	//     w = w.Args[0]
    	// }
    	// but we take some extra care to make sure we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    		header:            h,
    		bucket:            bucket,
    		object:            object,
    		customerKeyHeader: h.Get(xhttp.AmzServerSideEncryptionCustomerKey),
    		copySource:        copySource,
    		metadata:          cloneMSS(oi.UserDefined),
    	}
    
    	if w.copySource {
    		w.customerKeyHeader = h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKey)
    	}
    
    	if err := w.buildDecrypter(w.parts[w.partIndex].Number); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func getDefaultOpts(header http.Header, copySource bool, metadata map[string]string) (opts ObjectOptions, err error) {
    	var clientKey [32]byte
    	var sse encrypt.ServerSide
    
    	opts = ObjectOptions{UserDefined: metadata}
    	if v, ok := header[xhttp.MinIOSourceProxyRequest]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    		fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			if isEncrypted {
    				copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != ""
    				// Attach decrypter on inputReader
    				inputReader, err = DecryptBlocksRequestR(inputReader, h, seqNum, firstPart, oi, copySource)
    				if err != nil {
    					// Call the cleanup funcs
    					for i := len(cFns) - 1; i >= 0; i-- {
    						cFns[i]()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

        def "using a tasks from same project as 'files(#type)' input is allowed"() {
            file("copy1source.txt") << "Copy 1"
            file("copy2source.txt") << "Copy 2"
    
            buildFile << """
                def copy1 = tasks.register("copy1", Copy) {
                    destinationDir = layout.buildDirectory.dir("copy1").get().asFile
                    from file("copy1source.txt")
                }
    
                def copy2 = tasks.register("copy2", Copy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    				// of a value so that a x.Uses==1 rule condition
    				// fires reliably.
    				for i, a := range v.Args {
    					if a.Op != OpCopy {
    						continue
    					}
    					aa := copySource(a)
    					v.SetArg(i, aa)
    					// If a, a copy, has a line boundary indicator, attempt to find a new value
    					// to hold it.  The first candidate is the value that will replace a (aa),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/config/builder.go

    func (b *Builder) Copy() *Builder {
    	return &Builder{
    		t:             b.t,
    		needFrom:      copySources(b.needFrom),
    		needTo:        copySources(b.needTo),
    		needFromAndTo: copySources(b.needFromAndTo),
    		complete:      copySources(b.complete),
    		out:           b.out.Copy(),
    		yamlCount:     b.yamlCount,
    	}
    }
    
    func copySources(sources []Source) []Source {
    	return append([]Source{}, sources...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

         */
        private ValueCollector getBaseValue(boolean forNewExplicitValue) {
            if (forNewExplicitValue != isExplicit() && !value.isEmpty()) {
                return copySources(value);
            }
            return value;
        }
    
        private ValueCollector copySources(ValueCollector conventionCollector) {
            return conventionCollector.isolated();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top