- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 692 for object1 (0.07 seconds)
-
internal/lsync/lrwmutex_test.go
ctx := t.Context() lrwm := NewLRWMutex() if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("1st read lock acquired, waiting...") if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("2nd read lock acquired, waiting...") go func() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/erasure-object.go
Bucket: bucket, Object: object, VersionID: goi.VersionID, } } return goi, ObjectNotFound{ Bucket: bucket, Object: object, } } } } // Determine whether to mark object deleted for replication markDelete := goi.VersionID != "" // Default deleteMarker to true if object is under versioningCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0) -
cmd/object-handlers.go
// do an additional verification whether object exists when object is deletemarker and request // is from replication if opts.CheckDMReplicationReady { topts := opts topts.VersionID = "" goi, gerr := getObjectInfo(ctx, bucket, object, topts) if gerr == nil || goi.VersionID != "" { // object layer returned more info because object is deleted w.Header().Set(xhttp.MinIOTargetReplicationReady, "true")Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 120.6K bytes - Click Count (0) -
cmd/object-handlers_test.go
// Read last byte of object fmt.Sprintf("bytes=-%d", 1), // Read all but first byte of object "bytes=1-", // Read first half of object fmt.Sprintf("bytes=%d-%d", 0, objLen/2), // Read last half of object fmt.Sprintf("bytes=-%d", objLen/2), // Read middle half of object fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4), // Read 100MiB of the object from the beginning
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
cmd/object-api-interface.go
AskDisks string // dictates how many disks are being listed VersionsSort WalkVersionsSortOrder // sort order for versions of the same object; default: Ascending order in ModTime Limit int // maximum number of items, 0 means no limit } // ExpirationOptions represents object options for object expiration at objectLayer. type ExpirationOptions struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.5K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
t.Errorf("Test %d: %s: Expected number of object in the result to be '%d', but found '%d' objects instead", i+1, instanceType, len(testCase.resultL.Objects), len(resultL.Objects)) } for j := 0; j < len(testCase.resultL.Objects); j++ { if j >= len(resultL.Objects) { t.Errorf("Test %d: %s: Expected object name to be \"%s\", but not nothing instead", i+1, instanceType, testCase.resultL.Objects[j].Name)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
cmd/object-api-options.go
Object: object, Err: err, } } opts.VersionID = vid opts.Versioned = versioned opts.VersionSuspended = versionSuspended // For directory objects skip creating new versions. if isDirObject(object) && vid == "" { opts.VersionID = nullVersionID } return opts, nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/object-api-datatypes_gen.go
return } case "Objects": var zb0002 uint32 zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { err = msgp.WrapError(err, "Objects") return } if cap(z.Objects) >= int(zb0002) { z.Objects = (z.Objects)[:zb0002] } else { z.Objects = make([]ObjectInfo, zb0002) } for za0001 := range z.Objects {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 71.7K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
z := obj.(*erasureServerPools) xl := z.serverPools[0].sets[0] bucket := "test-bucket" object := "test-object" err = obj.MakeBucket(ctx, bucket, MakeBucketOptions{}) if err != nil { t.Fatal(err) } // Put an initial object so it exists _, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("initial-value")), int64(len("initial-value")), "", ""), ObjectOptions{})
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) -
cmd/object-api-interface_gen.go
Klaus Post <******@****.***> 1759093161 +0200
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.7K bytes - Click Count (0)