Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseCopyPartRangeSpec (0.2 sec)

  1. cmd/copy-part-range_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "testing"
    
    // Test parseCopyPartRange()
    func TestParseCopyPartRangeSpec(t *testing.T) {
    	// Test success cases.
    	successCases := []struct {
    		rangeString string
    		offsetBegin int64
    		offsetEnd   int64
    	}{
    		{"bytes=2-5", 2, 5},
    		{"bytes=2-9", 2, 9},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top