- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for Run (0.06 sec)
-
cmd/data-usage-cache_test.go
"BETWEEN_1024_B_AND_64_KB": 1, "BETWEEN_64_KB_AND_256_KB": 1, "BETWEEN_1024B_AND_1_MB": 2, "BETWEEN_10_MB_AND_64_MB": 1, }, }, } for i, test := range tests { t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) { var h sizeHistogram for _, sz := range test.sizes { h.add(sz) } got := h.toMap() exp := test.want // what is in exp is in got
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:51:08 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
<Tag> <Key>key1</Key> <Value>value1</Value> </Tag> </Filter>`, expectedErr: errInvalidFilter, }, } for i, tc := range testCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { var filter Filter err := xml.Unmarshal([]byte(tc.inputXML), &filter) if err != nil { t.Fatalf("%d: Expected no error but got %v", i+1, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/grid/debugmsg_string.go
// Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT. package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[debugShutdown-0] _ = x[debugKillInbound-1] _ = x[debugKillOutbound-2] _ = x[debugWaitForExit-3] _ = x[debugSetConnPingDuration-4]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 1K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
err: nil, }, { xml: `<DelMarkerExpiration> <Days> -1 </Days> </DelMarkerExpiration>`, err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/disk/stat_freebsd.go
Files: s.Files, Ffree: uint64(s.Ffree), FSType: getFSType(s.Fstypename[:]), } if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/net_test.go
{"example.org:54321", fmt.Errorf("host in server address should be this server")}, {":-10", fmt.Errorf("port must be between 0 to 65535")}, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { err := CheckLocalServerAddr(testCase.serverAddr) switch { case testCase.expectedErr == nil: if err != nil { t.Errorf("error: expected = <nil>, got = %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
internal/disk/stat_solaris.go
Files: uint64(s.Files), Ffree: uint64(s.Ffree), FSType: getFSType(s.Fstr[:]), } if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/object-api-options_test.go
}, wantObjectAttrs: map[string]struct{}{ "test1": {}, "test2": {}, "test3": {}, "test4": {}, }, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { rec := httptest.NewRecorder() req := httptest.NewRequest("GET", "/test", nil) req.Header = testCase.headers
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
internal/grid/handlers_string.go
package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[handlerInvalid-0] _ = x[HandlerLockLock-1] _ = x[HandlerLockRLock-2] _ = x[HandlerLockUnlock-3] _ = x[HandlerLockRUnlock-4]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/disk/stat_test.go
}, { stat: "1432553 420084 66247626 2398227", expectedIOStats: IOStats{}, expectErr: true, }, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp("", "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.stat) tmpfile.Sync() tmpfile.Close()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.5K bytes - Viewed (0)