Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for io (0.35 sec)

  1. cmd/sts-handlers_test.go

    							"uid=dillon,ou=people,ou=swengg,dc=min,dc=io": {"mypolicy"},
    							"uid=liza,ou=people,ou=swengg,dc=min,dc=io":   {"consoleAdmin"},
    						},
    						ldapGroupPolicyMappings: map[string][]string{
    							"cn=projectb,ou=groups,ou=swengg,dc=min,dc=io": {"mypolicy"},
    							"cn=projecta,ou=groups,ou=swengg,dc=min,dc=io": {"consoleAdmin"},
    						},
    					},
    				}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"path"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/klauspost/readahead"
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/erasure-server-pool.go

    				if err != nil {
    					continue
    				}
    				for _, si := range stats {
    					found++
    					var r io.ReadCloser
    					if !si.Dir {
    						r, err = disk.ReadFileStream(ctx, volume, si.Name, 0, si.Size)
    						if err != nil {
    							continue
    						}
    					} else {
    						r = io.NopCloser(bytes.NewBuffer([]byte{}))
    					}
    					// Keep disk path instead of ID, to ensure that the downloaded zip file can be
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/iam.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/ldap"
    	"github.com/minio/pkg/v2/policy"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    // UsersSysType - defines the type of users and groups system that is
    // active on the server.
    type UsersSysType string
    
    // Types of users configured in the server.
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/test-utils_test.go

    	// If the body is read in the handler the same request cannot be made use of.
    	buf, err := io.ReadAll(anonReq.Body)
    	if err != nil {
    		t.Fatal(failTestStr(anonTestStr, err.Error()))
    	}
    
    	// creating 2 read closer (to set as request body) from the body content.
    	readerOne := io.NopCloser(bytes.NewBuffer(buf))
    	readerTwo := io.NopCloser(bytes.NewBuffer(buf))
    
    	anonReq.Body = readerOne
    
    	// call the HTTP handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    package s3select
    
    import (
    	"bytes"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/klauspost/cpuid/v2"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/simdjson-go"
    )
    
    func newStringRSC(s string) io.ReadSeekCloser {
    	return newBytesRSC([]byte(s))
    }
    
    func newBytesRSC(b []byte) io.ReadSeekCloser {
    	r := bytes.NewReader(b)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		return int64(n), err
    	}
    
    	h := verifier.algorithm.New()
    	if _, err = io.Copy(h, io.LimitReader(file, offset)); err != nil {
    		return 0, err
    	}
    
    	if n, err = io.ReadFull(file, buffer); err != nil {
    		return int64(n), err
    	}
    
    	if _, err = h.Write(buffer); err != nil {
    		return 0, err
    	}
    
    	if _, err = io.Copy(h, file); err != nil {
    		return 0, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	defer globalNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    	if r.ContentLength > maxBucketPolicySize {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	iamPolicyBytes, err := io.ReadAll(io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	iamPolicy, err := policy.ParseConfig(bytes.NewReader(iamPolicyBytes))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/binary"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/lithammer/shortuuid/v4"
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top