Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadChunkLine (0.15 sec)

  1. cmd/streaming-signature-v4_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"io"
    	"strings"
    	"testing"
    )
    
    // Test read chunk line.
    func TestReadChunkLine(t *testing.T) {
    	type testCase struct {
    		reader         *bufio.Reader
    		expectedErr    error
    		chunkSize      []byte
    		chunkSignature []byte
    	}
    	// List of readers used.
    	readers := []io.Reader{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
Back to top