Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for copySource (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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