- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parseEndpointSet (0.16 sec)
-
cmd/endpoint-ellipses.go
} // Parses all arguments and returns an endpointSet which is a collection // of endpoints following the ellipses pattern, this is what is used // by the object layer for initializing itself. func parseEndpointSet(setDriveCount uint64, args ...string) (ep endpointSet, err error) { argPatterns := make([]ellipses.ArgPattern, len(args)) for i, arg := range args { patterns, perr := ellipses.FindEllipsesPatterns(arg)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
[][]uint64{{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}}, }, true, }, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { gotEs, err := parseEndpointSet(0, testCase.arg) if err != nil && testCase.success { t.Errorf("Expected success but failed instead %s", err) } if err == nil && !testCase.success { t.Errorf("Expected failure but passed instead")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0)