Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTestReaderEOF (0.17 sec)

  1. cmd/object_api_suite_test.go

    import (
    	"bytes"
    	"context"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/kms"
    )
    
    // Return pointer to testOneByteReadEOF{}
    func newTestReaderEOF(data []byte) io.Reader {
    	return &testOneByteReadEOF{false, data}
    }
    
    // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error.
    type testOneByteReadEOF struct {
    	eof  bool
    	data []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
Back to top