Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for obj3 (0.02 sec)

  1. cmd/object_api_suite_test.go

    		}
    		if result.Objects[2].Name != "obj1" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "obj1", result.Objects[2].Name)
    		}
    	}
    	// check ordering of results with prefix.
    	{
    		result, err = obj.ListObjects(context.Background(), "bucket", "obj", "", "", 1000)
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    
    	// current version
    	obj1 := ObjectOpts{
    		Name:     "obj1",
    		IsLatest: true,
    	}
    	// non-current version
    	obj2 := ObjectOpts{
    		Name: "obj2",
    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 55.5K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    	}
    
    	bucketName := "bucket"
    	testCases := []testCaseType{
    		{bucketName, "dir/obj1"},
    		{bucketName, "dir/obj2"},
    		{bucketName, "obj3"},
    		{bucketName, "obj_4"},
    	}
    
    	if err = obj.MakeBucket(ctx, bucketName, MakeBucketOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, testCase := range testCases {
    		_, err = obj.PutObject(ctx, testCase.bucket, testCase.object,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "newzen/zen/recurse/again/again/again/pics", "recurse", nil},
    		{testBuckets[0], "obj0", "obj0", nil},
    		{testBuckets[0], "obj1", "obj1", nil},
    		{testBuckets[0], "obj2", "obj2", nil},
    		{testBuckets[1], "obj1", "obj1", nil},
    		{testBuckets[1], "obj2", "obj2", nil},
    		{testBuckets[1], "temporary/0/", "", nil},
    		{testBuckets[3], "A/B", "contentstring", nil},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/evaluator.go

    	return events
    }
    
    // Eval will return a lifecycle event for each object in objs
    func (e *Evaluator) Eval(objs []ObjectOpts) ([]Event, error) {
    	if len(objs) == 0 {
    		return nil, nil
    	}
    	if len(objs) != objs[0].NumVersions {
    		return nil, fmt.Errorf("number of versions mismatch, expected %d, got %d", objs[0].NumVersions, len(objs))
    	}
    	return e.eval(objs, time.Now().UTC()), nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/evaluator_test.go

    			NumVersions: len(verIDs),
    		}
    		if i == 0 {
    			obj.IsLatest = true
    		} else {
    			obj.SuccessorModTime = curModTime.Add(time.Duration(-i+1) * time.Second)
    		}
    		objs = append(objs, obj)
    	}
    	now := time.Date(2025, time.February, 10, 23, 0, 0, 0, time.UTC)
    	gotEvents := evaluator.eval(objs, now)
    	for i := range wantEvents {
    		if gotEvents[i].Action != wantEvents[i].Action {
    			t.Fatalf("got %v, want %v", gotEvents[i], wantEvents[i])
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. docs/site-replication/run-replication-with-checksum-header.sh

    echo "Loading objects to source MinIO instance"
    OBJ_CHKSUM=$(openssl dgst -sha256 -binary </tmp/data/obj | base64)
    aws s3api --endpoint-url=https://localhost:9001 put-object --checksum-algorithm SHA256 --checksum-sha256 "${OBJ_CHKSUM}" --bucket test-bucket --key obj2 --body /tmp/data/obj --no-verify-ssl --profile enterprise
    
    split -n 10 /tmp/data/mpartobj
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        void testEncNdrReferent() {
            Object obj1 = new Object();
            Object obj2 = new Object();
    
            // Test unique/ref type (type 1 or 3)
            ndrBuffer.enc_ndr_referent(obj1, 1);
            assertEquals(4, ndrBuffer.getIndex());
            assertEquals(System.identityHashCode(obj1), Encdec.dec_uint32le(buffer, 0));
    
            ndrBuffer.reset();
            ndrBuffer.enc_ndr_referent(obj2, 3);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. cmd/data-usage_test.go

    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    				t.Error("got objects", e.Objects, "want", w.objs)
    			}
    			if e.Versions != uint64(w.objs) {
    				t.Error("got versions", e.Versions, "want", w.objs)
    			}
    			if e.ObjSizes != w.oSizes {
    				t.Error("got histogram", e.ObjSizes, "want", w.oSizes)
    			}
    		})
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        return Iterables.transform(
            cartesianProduct,
            new Function<List<Optional<?>>, List<Object>>() {
              @Override
              public List<Object> apply(List<Optional<?>> objs) {
                return Lists.transform(objs, OPTIONAL_TO_NULLABLE);
              }
            });
      }
    
      private CacheBuilder<Object, Object> createCacheBuilder(
          @Nullable Integer concurrencyLevel,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top