Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for obj10 (0.03 sec)

  1. cmd/object_api_suite_test.go

    		}
    		if result.Objects[0].Name != "obj0" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "obj0", result.Objects[0].Name)
    		}
    		if result.Objects[1].Name != "obj1" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "obj1", result.Objects[1].Name)
    		}
    		if result.Objects[2].Name != "obj10" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "newPrefix1", "newPrefix1", nil},
    		{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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_windows_test.go

    	}
    
    	// Try to create a file that includes a file in its path components.
    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    	if err != errFileAccessDenied {
    		t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K 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,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    		defer os.RemoveAll(dir)
    	}
    
    	type testCaseType struct {
    		bucket string
    		object string
    	}
    
    	bucketName := "bucket"
    	testCases := []testCaseType{
    		{bucketName, "dir/obj1"},
    		{bucketName, "dir/obj1"},
    	}
    
    	err = obj.MakeBucket(ctx, bucketName, MakeBucketOptions{
    		VersioningEnabled: true,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	names := make([]ObjectToDelete, len(testCases))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	r = r*1664525 + 1013904223
    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) 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")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top