Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for tt (0.01 sec)

  1. cmd/object-api-utils_test.go

    			keys:     []string{"etag", "xyz"},
    			want:     map[string]string{"content-type": "application/octet-stream"},
    		},
    	}
    	for _, tt := range tests {
    		if got := cleanMetadataKeys(tt.metadata, tt.keys...); !reflect.DeepEqual(got, tt.want) {
    			t.Errorf("Test %s failed, expected %v, got %v", tt.name, tt.want, got)
    		}
    	}
    }
    
    // Tests isCompressed method
    func TestIsCompressed(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		{3, -1, 5, false},
    		{4, 5, -1, false},
    		{5, 5, 0, true},
    		{6, 5, 0, true},
    		{7, 5, 4, true},
    	}
    	for _, tt := range tests {
    		if got := isXLMetaErasureInfoValid(tt.data, tt.parity); got != tt.want {
    			t.Errorf("Test %d: Expected %v but received %v -> %#v", tt.name, got, tt.want, tt)
    		}
    	}
    }
    
    // newTestXLMetaV1 - initializes new xlMetaV1Object, adds version, allocates a fresh erasure info and metadata.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. cmd/metacache-entries_test.go

    			dir:      "",
    			sep:      slashSeparator,
    			want:     true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.testName, func(t *testing.T) {
    			e := metaCacheEntry{
    				name: tt.entry,
    			}
    			if got := e.isInDir(tt.dir, tt.sep); got != tt.want {
    				t.Errorf("isInDir() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_metaCacheEntries_resolve(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    	}
    	for _, tt := range tests {
    		t.(*testing.T).Run("", func(t *testing.T) {
    			globalStorageClass.Update(tt.storageClassCfg)
    			actualReadQuorum, actualWriteQuorum, err := objectQuorumFromMeta(ctx, tt.parts, tt.errs, storageclass.DefaultParityBlocks(len(erasureDisks)))
    			if tt.expectedError != nil && err == nil {
    				t.Errorf("Expected %s, got %s", tt.expectedError, err)
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  5. cmd/postpolicyform_test.go

    		},
    	}
    
    	// Run tests
    	for _, tt := range testCases {
    		t.Run(tt.name, func(t *testing.T) {
    			if tt.expired {
    				// Expired already.
    				pp.SetExpires(UTCNow().AddDate(0, 0, -10))
    			} else {
    				// Expires in 10 days.
    				pp.SetExpires(UTCNow().AddDate(0, 0, 10))
    			}
    
    			tt.fv.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String())))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/archive/tar/strconv_test.go

    			ok:   false,
    		},
    	}
    	for _, tt := range tests {
    		b.Run(tt.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for b.Loop() {
    				ts, err := parsePAXTime(tt.in)
    				if (err == nil) != tt.ok {
    					if err != nil {
    						b.Fatal(err)
    					}
    					b.Fatal("expected error")
    				}
    				if !ts.Equal(tt.want) {
    					b.Fatalf("time mismatch: got %v, want %v", ts, tt.want)
    				}
    			}
    		})
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. cmd/auth-handler_test.go

    		{
    			authT: authType(9),
    			pass:  false,
    		},
    	}
    	// Validate all the test cases.
    	for i, tt := range testCases {
    		ok := isSupportedS3AuthType(tt.authT)
    		if ok != tt.pass {
    			t.Errorf("Test %d:, Expected %t, got %t", i+1, tt.pass, ok)
    		}
    	}
    }
    
    func TestIsRequestPresignedSignatureV2(t *testing.T) {
    	testCases := []struct {
    		inputQueryKey   string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/adminlte.min.js

    ch((function(t,a){n.default(ft).append(e._renderItem(escape(a.name),encodeURI(a.link),a.path))})),this.open()},a.open=function(){n.default(ot).parent().addClass(et),n.default(rt).removeClass(tt).addClass(at)},a.close=function(){n.default(ot).parent().removeClass(et),n.default(rt).removeClass(at).addClass(tt)},a.toggle=function(){n.default(ot).parent().hasClass(et)?this.close():this.open()},a._parseItem=function(e,t){var a=this;if(void 0===t&&(t=[]),!n.default(e).hasClass("nav-header")){var i={},...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	// to object (version) on the source tier.
    	TransitionedObjName string `msg:"to"`
    	// TransitionTier is the storage class label assigned to remote tier.
    	TransitionTier string `msg:"tt"`
    	// TransitionVersionID stores a version ID of the object associate
    	// with the remote tier.
    	TransitionVersionID string `msg:"tv"`
    	// ExpireRestored indicates that the restored object is to be expired.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. cmd/testdata/xl-meta-merge.zip

    :›Ö7_]ZéŠzjs®¼N'¼71Ö cxqyKÜo¨ØÞpáЈenKízR}’®úuZLcHƦ 9»/ ¤º ( ¿, £¬øN@\Kª«³_ilgñ¬sÈIQBha2Z V&`ÄØD }ObdmkN~¼ª ˆ¾¾¸< 쾄 ¢€€¸²¦¢ˆ²¾¼ ¨ªŒª¸¾€ª„†8 †ªª °ˆˆ€† >>º²¼<²¾>¨¾¦†>º²¼²¾>¸²¼Š >¨ªŒª¸¾€ª„b> DsqBázM²OªByùmGF¸ ˆ¾ Œ²ªŽ ú²¼òþ Æèö† ¬¾„ †Š€€¾„ˆª¨ ¸¢¼®Š¢®ª†<tt&& îüÊ>ø²¼Š ttʆª ˆ°ª ¬¾¸¸¾jÌX®7±©­­µ«¿7Ÿ©7“м ¢ †ˆ¢¼¨¢¸¾¼ª ú²¼òþ †ª„Œª„ ¾¼ ø²¼Š °¾†ˆ† „м¼²¼® :¤²ˆ ò¼ˆª¸>âúè ¢„¦°²ˆª¦ˆŠ`ª‘+7Ó½—¯µ±½7··>¨¢ˆ¢ ޲ˆ° ˆ°ª €¢ˆ° ˆ¾ ˆ°ª ¨„²Œª ¾„ ¨²„ª¦ˆ¾„’ ²¼ ް²¦° ’¾Š Ž¢¼ˆ ú²¼òþ ˆ¾ †ˆ¾„N^L¢‹/ · xfqEF¸ rtÜ@}¦‘—ÝåÂpGú¨wmë£iåTqU...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top