Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 621 for wantSz (0.04 sec)

  1. internal/rest/client_test.go

    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    			//nolint:gocritic
    			if tt.target == nil {
    				var netErrInterface net.Error
    				if errors.As(n, &netErrInterface) != tt.want {
    					t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want)
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. README.md

    * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Required if you want to use the default template configuration.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. schema/serializer_test.go

    			}
    			if err != nil {
    				return
    			}
    			if tt.want == nil && got == nil {
    				return
    			}
    			if tt.want == nil {
    				t.Fatalf("UnixSecondSerializer.Value() = %v, want nil", got)
    			}
    			if got == nil {
    				t.Fatalf("UnixSecondSerializer.Value() = nil, want %v", tt.want)
    			}
    			if gotTime, ok := got.(time.Time); !ok {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:29:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    				}
    			}
    			wantCS := map[string]string{
    				hash.ChecksumCRC32.String():     part.ChecksumCRC32,
    				hash.ChecksumCRC32C.String():    part.ChecksumCRC32C,
    				hash.ChecksumSHA1.String():      part.ChecksumSHA1,
    				hash.ChecksumSHA256.String():    part.ChecksumSHA256,
    				hash.ChecksumCRC64NVME.String(): part.ChecksumCRC64NVME,
    			}
    			if wantCS[checksumType.String()] != crc {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  5. internal/arn/arn_test.go

    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio::us-east-1::role/my-role",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.want, func(t *testing.T) {
    			if got := tt.arn.String(); got != tt.want {
    				t.Errorf("ARN.String() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestNewIAMRoleARN(t *testing.T) {
    	type args struct {
    		resourceID   string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. docs/resiliency/resiliency-tests.sh

    		echo -e "${RED}${1} Failed${NC}"
    		TESTS_RUN_STATUS=$((TESTS_RUN_STATUS & 0))
    	else
    		echo -e "${GREEN}${1} Passed${NC}"
    	fi
    }
    
    function verify_resiliency_healing() {
    	local WANT=$2
    	docs/resiliency/resiliency-verify-healing-script.sh "$WANT"
    	RESULT=$(grep "script passed" <resiliency-verify-healing.log)
    	if [ "$RESULT" != "script passed" ]; then
    		echo -e "${RED}${1} Failed${NC}"
    		TESTS_RUN_STATUS=$((TESTS_RUN_STATUS & 0))
    	else
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. internal/pubsub/pubsub_test.go

    		t.Fatalf("expected 2 subscribers")
    	}
    	if want, got := int32(2), ps.NumSubscribers(Mask(1)); got != want {
    		t.Fatalf("want %d subscribers, got %d", want, got)
    	}
    	if want, got := int32(2), ps.NumSubscribers(Mask(2)); got != want {
    		t.Fatalf("want %d subscribers, got %d", want, got)
    	}
    	if want, got := int32(2), ps.NumSubscribers(Mask(1|2)); got != want {
    		t.Fatalf("want %d subscribers, got %d", want, got)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. utils/utils_unix_test.go

    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    			file: "/go/work/proj/gorm_alias/utils/utils.go",
    			want: "/go/work/proj/gorm_alias/",
    		},
    		{
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Nov 21 02:48:13 UTC 2022
    - 731 bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/filter_test.go

    		filter   Filter
    		userTags string
    		want     bool
    	}{
    		{
    			filter:   noTags,
    			userTags: "",
    			want:     true,
    		},
    		{
    			filter:   noTags,
    			userTags: "A=3",
    			want:     true,
    		},
    		{
    			filter:   oneTag,
    			userTags: "A=3",
    			want:     false,
    		},
    		{
    			filter:   oneTag,
    			userTags: "FOO=1",
    			want:     true,
    		},
    		{
    			filter:   oneTag,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-utils_test.go

    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    			want = hashDeterministicString(m)
    			delete(m, "12312312")
    			m["another"] = ""
    
    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    
    			want = hashDeterministicString(m)
    			m["another"] = "hashDeterministicString"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top