- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 95 for setTag (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/erasure-object-conditional_test.go
// Test Case 3: if-match with wrong ETag // Even if the ETag doesn't match, we should still get read quorum error // because we can't read the object to check the condition. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag", }, CheckPrecondFn: func(oi ObjectInfo) bool { // Precondition fails if ETag doesn't match
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
internal/crypto/key.go
return partKey } // SealETag seals the etag using the object key. // It does not encrypt empty ETags because such ETags indicate // that the S3 client hasn't sent an ETag = MD5(object) and // the backend can pick an ETag value. func (key ObjectKey) SealETag(etag []byte) []byte { if len(etag) == 0 { // don't encrypt empty ETag - only if client sent ETag = MD5(object) return etag } var buffer bytes.Buffer
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
internal/crypto/key_test.go
for i := range key { key[i] = byte(i) } for i, etag := range sealUnsealETagTests { tag, err := hex.DecodeString(etag) if err != nil { t.Errorf("Test %d: failed to decode etag: %s", i, err) } sealedETag := key.SealETag(tag) unsealedETag, err := key.UnsealETag(sealedETag) if err != nil { t.Errorf("Test %d: failed to decrypt etag: %s", i, err) } if !bytes.Equal(unsealedETag, tag) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
cmd/object-handlers-common_test.go
func TestCanonicalizeETag(t *testing.T) { testCases := []struct { etag string canonicalizedETag string }{ { etag: "\"\"\"", canonicalizedETag: "", }, { etag: "\"\"\"abc\"", canonicalizedETag: "abc", }, { etag: "abcd", canonicalizedETag: "abcd", }, { etag: "abcd\"\"", canonicalizedETag: "abcd", }, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.3K bytes - Click Count (0) -
generics.go
assocModel = reflect.New(rel.FieldSchema.ModelType).Interface() fkNil = map[string]any{} setMap = make(map[string]any, len(op.Set)) ownerPKNames []string ownerFKNames []string primaryColumns []any foreignColumns []any ) for _, a := range op.Set { setMap[a.Column.Name] = a.Value } for _, ref := range rel.References { fkNil[ref.ForeignKey.DBName] = nil
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0) -
buildscripts/cicd-corpus/disk4/bucket/testobj/xl.meta
�CSumAlgo�PartNums��PartETags��PartSizes�� ը�PartASizes�� ը�Size� ը�MTime�������MetaSys��x-minio-internal-replica-status�REPLICA�"x-minio-internal-replica-timestamp�2022-03-20T15:17:01.730949636Z�MetaUsr��X-Amz-Replication-Status�REPLICA�etag� 9587ddd31fead633830366f45d221d56�content-type�application/octet-stream�x-amz-storage-class�STANDARD�$��PPb�I(��e��(�������������Ղ�Type�V2Obj� �ID�PPb�I(��e��(�ǤDDir�+O~A߂J^�����3/�EcAlgo�EcM�EcN�EcBSize� �EcIndex�EcDist�...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 20 19:49:05 GMT 2022 - 1K bytes - Click Count (0) -
docs/debugging/s3-check-md5/main.go
continue } if v, ok := object.UserMetadata["X-Amz-Server-Side-Encryption"]; ok && v == "aws:kms" { log.Println("SKIPPED: encrypted with SSE-KMS do not have md5sum as ETag:", objFullPath(object)) continue } parts := 1 multipart := false s := strings.Split(object.ETag, "-") switch len(s) { case 1:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/api-headers.go
// Set last modified time. lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat) w.Header().Set(xhttp.LastModified, lastModified) // Set Etag if available. if objInfo.ETag != "" { w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""} } if objInfo.ContentType != "" { w.Header().Set(xhttp.ContentType, objInfo.ContentType) } if objInfo.ContentEncoding != "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/benchmark-utils_test.go
err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) } objSize := 128 * humanize.MiByte // PutObjectPart returns etag of the object inserted. // etag variable is assigned with that value. var etag string // get text data generated for number of bytes equal to object size. textData := generateBytesData(objSize) // generate md5sum for the generated data.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.1K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
private Log log; /** Plugin container context */ private Map pluginContext; /** * @deprecated Use SLF4J directly */ @Deprecated @Override public void setLog(Log log) { this.log = log; } /** * <p> * Returns the logger that has been injected into this mojo. If no logger has been set up yet, aCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 7.4K bytes - Click Count (0)