Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for obj2 (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/test-utils_test.go

    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 any) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	for _, objectName := range []string{"foo bar 1", "foo bar 2", "obj2", "obj2/"} {
    		buffer := bytes.NewReader([]byte("Hello World"))
    		request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top