Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for Obj (0.01 seconds)

  1. internal/bucket/lifecycle/lifecycle_test.go

    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    			transRuleID: 2,
    		},
    	}
    	for i, tc := range tests {
    		w := httptest.NewRecorder()
    		lc.SetPredictionHeaders(w, tc.obj)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  2. cmd/test-utils_test.go

    func initAPIHandlerTest(ctx context.Context, obj ObjectLayer, endpoints []string, makeBucketOptions MakeBucketOptions) (string, http.Handler, error) {
    	initAllSubsystems(ctx)
    
    	initConfigSubsystem(ctx, obj)
    
    	globalIAMSys.Init(ctx, obj, globalEtcdClient, 2*time.Second)
    
    	// get random bucket name.
    	bucketName := getRandomBucketName()
    	// Create bucket.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  3. cmd/object-api-multipart_test.go

    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		// failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	res, err := obj.NewMultipartUpload(context.Background(), bucket, "\\", opts)
    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  4. cmd/object-api-listobjects_test.go

    func testListObjectsOnVersionedBuckets(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, true)
    }
    
    // Unit test for ListObjects.
    func testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, false)
    }
    
    func _testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler, versioned bool) {
    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)
  5. cmd/batch-handlers.go

    						}
    					}
    				}
    				for obj := range walkCh {
    					if obj.Item.DeleteMarker || !obj.Item.VersionPurgeStatus.Empty() || obj.Item.Size >= int64(smallerThan) {
    						slowCh <- obj
    						continue
    					}
    
    					batch = append(batch, obj.Item)
    
    					if len(batch) < *r.Source.Snowball.Batch {
    						continue
    					}
    					writeFn(batch)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  6. cmd/xl-storage-format-v2.go

    		if ver.header.Type == DeleteType {
    			continue
    		}
    
    		obj, err := x.getIdx(i)
    		if err != nil {
    			return nil, err
    		}
    		switch ver.header.Type {
    		case ObjectType:
    			if obj.ObjectV2 == nil {
    				return nil, errors.New("obj.ObjectV2 unexpectedly nil")
    			}
    			dds = append(dds, uuid.UUID(obj.ObjectV2.DataDir).String())
    			if obj.ObjectV2.VersionID == [16]byte{} {
    				dds = append(dds, nullVersionID)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  7. cmd/erasure-server-pool.go

    		loi.IsTruncated = true
    	}
    	for _, obj := range objects {
    		if obj.IsDir && obj.ModTime.IsZero() && delimiter != "" {
    			// Only add each once.
    			// With slash delimiter we only get the directory once.
    			found := false
    			if delimiter != slashSeparator {
    				for _, p := range loi.Prefixes {
    					if found {
    						break
    					}
    					found = p == obj.Name
    				}
    			}
    			if !found {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  8. cmd/bucket-replication-utils_gen.go

    				return
    			}
    		case "bkt":
    			z.Bucket, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "obj":
    			z.Object, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Object")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 59.3K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/arm.s

    //	LTYPE8 cond ioreg ',' '[' reglist ']'
    //	{
    //		var g obj.Addr
    //
    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64($6);
    //		outcode($1, $2, &$3, 0, &g);
    //	}
    	MOVM	0(R1), [R2,R5,R8,g] // MOVM	(R1), [R2,R5,R8,g]
    	MOVM	(R1), [R2-R5] // MOVM (R1), [R2,R3,R4,R5]
    	MOVM	(R1), [R2]
    
    //	LTYPE8 cond '[' reglist ']' ',' ioreg
    //	{
    //		var g obj.Addr
    //
    //		g = nullgen;
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Click Count (0)
  10. cmd/bucket-handlers.go

    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if obj := getObjectLocation(r, globalDomainNames, bucket, object); obj != "" {
    		w.Header().Set(xhttp.Location, obj)
    	}
    
    	// Notify object created event.
    	defer sendEvent(eventArgs{
    		EventName:    event.ObjectCreatedPost,
    		BucketName:   objInfo.Bucket,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
Back to Top