Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for COPY (0.04 sec)

  1. cmd/object-handlers_test.go

    			t.Fatalf("Test %d: Failed to create HTTP request for copy Object: <ERROR> %v", i, err)
    		}
    		// "X-Amz-Copy-Source" header contains the information about the source bucket and the object to copied.
    		if testCase.copySourceHeader != "" {
    			reqV2.Header.Set("X-Amz-Copy-Source", testCase.copySourceHeader)
    		}
    		if testCase.copyModifiedHeader != "" {
    			reqV2.Header.Set("X-Amz-Copy-Source-If-Modified-Since", testCase.copyModifiedHeader)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	}
    
    	if sc != "" {
    		defaultMeta[xhttp.AmzStorageClass] = sc
    	}
    
    	// if x-amz-metadata-directive says COPY then we
    	// return the default metadata.
    	if isDirectiveCopy(r.Header.Get(xhttp.AmzMetadataDirective)) {
    		return defaultMeta, nil
    	}
    
    	// Copy is default behavior if not x-amz-metadata-directive is set.
    	return defaultMeta, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * mapping in the underlying map and determine which satisfy the filter. When a live view is
       * <i>not</i> needed, it may be faster to copy the filtered map and use the copy.
       *
       * <p><b>Warning:</b> {@code keyPredicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

       * mapping in the underlying map and determine which satisfy the filter. When a live view is
       * <i>not</i> needed, it may be faster to copy the filtered map and use the copy.
       *
       * <p><b>Warning:</b> {@code keyPredicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	response.Body.Close()
    }
    
    // TestCopyObject - Validates copy object.
    // The following is the test flow.
    // 1. Create bucket.
    // 2. Insert Object.
    // 3. Use "X-Amz-Copy-Source" header to copy the previously created object.
    // 4. Validate the content of copied object.
    func (s *TestSuiteCommon) TestCopyObject(c *check) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    			ReplicationRequest: true,
    		},
    	})
    	return err
    }
    
    // filterReplicationStatusMetadata filters replication status metadata for COPY
    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * need to be on the same host. This operation does not copy extended
     * file attibutes such as ACLs but it does copy regular attributes as
     * well as create and last write times. This method is almost twice as
     * efficient as manually copying as it employs an additional write
     * thread to read and write data concurrently.
     * <p/>
     * It is not possible (nor meaningful) to copy entire workgroups or
     * servers.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"crypto/rsa"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  9. fastapi/routing.py

                response_class, self.default_response_class
            )
            current_tags = self.tags.copy()
            if tags:
                current_tags.extend(tags)
            current_dependencies = self.dependencies.copy()
            if dependencies:
                current_dependencies.extend(dependencies)
            current_callbacks = self.callbacks.copy()
            if callbacks:
                current_callbacks.extend(callbacks)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    <code>len(src)</code> and <code>len(dst)</code>.
    As a special case, <code>copy</code> also accepts a destination argument assignable
    to type <code>[]byte</code> with a source argument of a string type.
    This form copies the bytes from the string into the byte slice.
    </p>
    
    <pre class="grammar">
    copy(dst, src []T) int
    copy(dst []byte, src string) int
    </pre>
    
    <p>
    Examples:
    </p>
    
    <pre>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top