Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for big (0.14 sec)

  1. internal/config/identity/openid/jwks.go

    package openid
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"math/big"
    )
    
    // JWKS - https://tools.ietf.org/html/rfc7517
    type JWKS struct {
    	Keys []*JWKS `json:"keys,omitempty"`
    
    	Kty string `json:"kty"`
    	Use string `json:"use,omitempty"`
    	Kid string `json:"kid,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    // newSignV4ChunkedReader returns a new s3ChunkedReader that translates the data read from r
    // out of HTTP "chunked" format before returning it.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-meta-inline.go

    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	newKeys := make([][]byte, 0, sz)
    	newVals := make([][]byte, 0, sz)
    	var removeKey func(s []byte) bool
    
    	// Copy if big number of compares...
    	if len(keys) > 5 && sz > 5 {
    		mKeys := make(map[string]struct{}, len(keys))
    		for _, key := range keys {
    			mKeys[key] = struct{}{}
    		}
    		removeKey = func(s []byte) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    			noFilename:         true,
    		},
    		// Success case, big body.
    		{
    			objectName:         "test",
    			data:               bytes.Repeat([]byte("a"), 10<<20),
    			expectedRespStatus: http.StatusNoContent,
    			accessKey:          credentials.AccessKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	for i := 0; i < 10*1024; i++ {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    	putContent := buffer.String()
    
    	buf := bytes.NewReader([]byte(putContent))
    
    	objectName := "test-big-object"
    	// create HTTP request for object upload.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buf.Len()), buf, s.accessKey, s.secretKey, s.signer)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/speedtest.go

    		concurrency := opts.concurrencyStart
    
    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    				concurrency = globalEndpoints.NEndpoints()
    			}
    
    			// Check if we have local disks per pool less than
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    		//
    		// This happens repeatedly for all objects that are created concurrently() avoiding this
    		// as a List() call is an important performance improvement.
    		//
    		// Spark based s3a committers are a  big enough use-case to have this optimization.
    		//
    		// A sample code to see the improvements is as follows, this sample code is
    		// simply a read on JSON from MinIO and write it back as "parquet".
    		//
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate serial number: %w", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    		}
    		_, err = buf.WriteTo(conn)
    		if err != nil {
    			gridLogIf(ctx, fmt.Errorf("ws write: %w", err))
    			return
    		}
    
    		if buf.Cap() > writeBufferSize*4 {
    			// Reset buffer if it gets too big, so we don't keep it around.
    			buf = bytes.Buffer{}
    		}
    	}
    }
    
    func (c *Connection) handleMsg(ctx context.Context, m message, subID *subHandlerID) {
    	switch m.Op {
    	case OpMuxServerMsg:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		}
    		uploadedParts = append(uploadedParts, minio.CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    
    	// really big value but its okay on heavily loaded systems. This is just tail end timeout.
    	cctx, ccancel := context.WithTimeout(ctx, 10*time.Minute)
    	defer ccancel()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top