Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Obj (0.03 sec)

  1. 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) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  2. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (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())
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
                buf.append('}');
            } else if (obj instanceof Integer || obj instanceof Long || obj instanceof Float || obj instanceof Double) {
                buf.append(obj);
            } else if (obj instanceof Boolean) {
                buf.append(obj.toString());
            } else if (obj instanceof Date) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    	defer cancel()
    
    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(context.Background())
    
    	// initialize the server and obtain the credentials and root.
    	// credentials are necessary to sign the HTTP request.
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Unable to initialize server config. %s", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final Object obj = source.get(s);
                        if (obj instanceof Date) {
                            return false;
                        }
                        return !validateDateTimeString(source.get(s));
                    }).collect(Collectors.toList()));
        }
    
        default boolean validateDateTimeString(final Object obj) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		concurrent = len(objects)
    	}
    
    	var mu sync.Mutex
    	eg := errgroup.WithNErrs(len(objects)).WithConcurrency(concurrent)
    	for j, obj := range objects {
    		j := j
    		obj := obj
    		eg.Go(func() error {
    			pinfo, _, err := z.getPoolInfoExistingWithOpts(ctx, bucket, obj.ObjectName, ObjectOptions{
    				NoLock: true,
    			})
    			if err != nil {
    				if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  10. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top