Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 101 (0.21 sec)

  1. internal/store/batch_test.go

    		if err := batch.Add(i, i); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    		if _, ok := batch.GetByKey(i); !ok {
    			t.Fatalf("failed to get the item by key %v after adding", i)
    		}
    	}
    	err := batch.Add(101, 101)
    	if err == nil || !errors.Is(err, ErrBatchFull) {
    		t.Fatalf("Expected err %v but got %v", ErrBatchFull, err)
    	}
    	if !batch.IsFull() {
    		t.Fatal("Expected batch.IsFull to be true but got false")
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/etag/etag_test.go

    }{
    	{String: "3b83ef96387f1465", ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101}},                                                                    // 0
    	{String: "3b83ef96387f14655fc854ddc3c6bd57", ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}},               // 1
    	{String: `"3b83ef96387f14655fc854ddc3c6bd57"`, ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}},             // 2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    97, 116, 115, 62, 60, 66, 121, 116, 101, 115, 83, 99, 97, 110, 110, 101, 100, 62, 53, 48, 60, 47, 66, 121, 116, 101, 115, 83, 99, 97, 110, 110, 101, 100, 62, 60, 66, 121, 116, 101, 115, 80, 114, 111, 99, 101, 115, 115, 101, 100, 62, 53, 48, 60, 47, 66, 121, 116, 101, 115, 80, 114, 111, 99, 101, 115, 115, 101, 100, 62, 60, 66, 121, 116, 101, 115, 82, 101, 116, 117, 114, 110, 101, 100, 62, 50, 53, 60, 47, 66, 121, 116, 101, 115, 82, 101, 116, 117, 114, 110, 101, 100, 62, 60, 47, 83, 116, 97, 116, 115,...
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter_test.go

    			ObjectSizeLessThan:    100 * humanize.MiByte,
    		},
    	}
    
    	tests := []struct {
    		filter  Filter
    		objSize int64
    		want    bool
    	}{
    		{
    			filter:  fiLt,
    			objSize: 101 * humanize.MiByte,
    			want:    false,
    		},
    		{
    			filter:  fiLt,
    			objSize: 99 * humanize.MiByte,
    			want:    true,
    		},
    		{
    			filter:  fiGt,
    			objSize: 1*humanize.MiByte - 1,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. cmd/apierrorcode_string.go

    	_ = x[ErrNegativeExpires-96]
    	_ = x[ErrAuthHeaderEmpty-97]
    	_ = x[ErrExpiredPresignRequest-98]
    	_ = x[ErrRequestNotReadyYet-99]
    	_ = x[ErrUnsignedHeaders-100]
    	_ = x[ErrMissingDateHeader-101]
    	_ = x[ErrInvalidQuerySignatureAlgo-102]
    	_ = x[ErrInvalidQueryParams-103]
    	_ = x[ErrBucketAlreadyOwnedByYou-104]
    	_ = x[ErrInvalidDuration-105]
    	_ = x[ErrBucketAlreadyExists-106]
    	_ = x[ErrMetadataTooLarge-107]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    				set:  true,
    				Days: 1,
    			},
    		},
    		{
    			ID:     "rule-with-sz-lt-and-gt",
    			Status: "Enabled",
    			Filter: Filter{
    				set: true,
    				And: And{
    					ObjectSizeGreaterThan: 101 * humanize.MiByte,
    					ObjectSizeLessThan:    200 * humanize.MiByte,
    				},
    			},
    			Expiration: Expiration{
    				set:  true,
    				Days: 1,
    			},
    		},
    	}
    	tests := []struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  7. cmd/erasure-sets_test.go

    		{"Cost Benefit Analysis (2009-2010).pptx", 133},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 185},
    		{"SHØRT", 97},
    		{"There are far too many object names, and far too few bucket names!", 101},
    		{"a/b/c/", 193},
    		{"/a/b/c", 116},
    		{string([]byte{0xff, 0xfe, 0xfd}), 61},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    			bucketName: bucketName,
    			objectName: objectName,
    			byteRange:  "bytes=10-100",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedContent:    bytesData[0].byteData[10:101],
    			expectedRespStatus: http.StatusPartialContent,
    		},
    		// Test case - 4.
    		// Test case with invalid range.
    		{
    			bucketName: bucketName,
    			objectName: objectName,
    			byteRange:  "bytes=-0",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top