Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 359 for 10 (0.12 sec)

  1. internal/config/dns/operator_dns.go

    	"net/url"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/config"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    var (
    	defaultOperatorContextTimeout = 10 * time.Second
    	// ErrNotImplemented - Indicates the functionality which is not implemented
    	ErrNotImplemented = errors.New("The method is not implemented")
    )
    
    func (c *OperatorDNS) addAuthHeader(r *http.Request) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. internal/grid/types.go

    		*b = nil
    	}
    }
    
    // URLValues can be used for url.Values.
    type URLValues map[string][]string
    
    var urlValuesPool = sync.Pool{
    	New: func() interface{} {
    		return make(map[string][]string, 10)
    	},
    }
    
    // NewURLValues returns a new URLValues.
    func NewURLValues() *URLValues {
    	u := URLValues(urlValuesPool.Get().(map[string][]string))
    	return &u
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. buildscripts/verify-healing.sh

    		foundFiles2=$(find ${WORK_DIR}/$nextInES/1/ | grep -v .minio.sys | grep xl.meta | wc -l)
    		test $foundFiles1 -eq $foundFiles2
    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  4. cmd/encryption-v1_test.go

    			}
    			if skip != 0 || sn != 0 || ps != 0 || o != 0 || l != getEncSize(test.decSz) {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		if test.decSz >= 10 {
    			// first 10 bytes
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(&HTTPRangeSpec{false, 0, 9})
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			rLen := pkgSz + 32
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  5. cmd/update.go

    	"github.com/minio/selfupdate"
    	gopsutilcpu "github.com/shirou/gopsutil/v3/cpu"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	envMinisignPubKey = "MINIO_UPDATE_MINISIGN_PUBKEY"
    	updateTimeout     = 10 * time.Second
    )
    
    // For windows our files have .exe additionally.
    var minioReleaseWindowsInfoURL = MinioReleaseURL + "minio.exe.sha256sum"
    
    // minioVersionToReleaseTime - parses a standard official release
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. internal/grid/grid_types_msgp_test.go

    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *testResponse) Msgsize() (s int) {
    	s = 1 + 7 + msgp.IntSize + 10 + msgp.StringPrefixSize + len(z.OrgString) + 9 + 1 + 4 + msgp.IntSize + 7 + msgp.StringPrefixSize + len(z.Embedded.String)
    	return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  7. internal/s3select/sql/value.go

    	switch x := v.value.(type) {
    	case nil, Missing:
    		return ""
    	case bool:
    		if x {
    			return "true"
    		}
    		return "false"
    	case string:
    		return x
    	case int64:
    		return strconv.FormatInt(x, 10)
    	case float64:
    		return strconv.FormatFloat(x, 'g', -1, 64)
    	case time.Time:
    		return FormatSQLTimestamp(x)
    	case []byte:
    		return string(x)
    	case []Value:
    		b, _ := json.Marshal(x)
    		return string(b)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils.go

    			// But some clients deviate from this rule. Hence we consider Content-Length for signature
    			// calculation to be compatible with such clients.
    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    		}
    	}
    	return extractedSignedHeaders, ErrNone
    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    		{parts3, errs3, 12, 12, parts3SC, nil},
    		{parts4, errs4, 10, 10, parts4SC, nil},
    		{parts5, errs5, 14, 14, parts5SC, nil},
    		{parts6, errs6, 12, 12, parts6SC, nil},
    		{parts7, errs7, 11, 11, parts7SC, nil},
    	}
    	for _, tt := range tests {
    		tt := tt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    						if err != nil {
    							start, rangeLen = 0, ci.Size
    						}
    
    						// Set content length.
    						w.Header().Set(xhttp.ContentLength, strconv.FormatInt(rangeLen, 10))
    						if rs != nil {
    							contentRange := fmt.Sprintf("bytes %d-%d/%d", start, start+rangeLen-1, ci.Size)
    							w.Header().Set(xhttp.ContentRange, contentRange)
    						}
    
    						io.Copy(w, bytes.NewReader(ci.Data))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top