- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for min (0.25 sec)
-
cmd/sts-handlers_test.go
ldapUserPolicyMappings: map[string][]string{ "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) -
internal/dsync/utils.go
package dsync import ( "math/rand" "time" ) func backoffWait(min, unit, cap time.Duration) func(*rand.Rand, uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(r *rand.Rand, attempt uint) time.Duration { sleep := min sleep += unit * time.Duration(attempt) if sleep > cap { sleep = cap }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 13 15:42:21 GMT 2023 - 1.2K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
func xlMetaV2TrimData(buf []byte) []byte { metaBuf, min, maj, err := checkXL2V1(buf) if err != nil { return buf } if maj == 1 && min < 1 { // First version to carry data. return buf } // Skip header _, metaBuf, err = msgp.ReadBytesZC(metaBuf) if err != nil { storageLogIf(GlobalContext, err) return buf } // Skip CRC if maj > 1 || min >= 2 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.5K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
// getMD5Sum returns MD5 sum of given data. func getMD5Sum(data []byte) []byte { hash := md5.New() hash.Write(data) return hash.Sum(nil) } func main() { flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL") flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key") flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Feb 17 01:15:57 GMT 2024 - 6.3K bytes - Viewed (0) -
cmd/update.go
return } const ( // Kubernetes deployment doc link. kubernetesDeploymentDoc = "https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes" // Mesos deployment doc link. mesosDeploymentDoc = "https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes" ) func getDownloadURL(releaseTag string) (downloadURL string) {
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) -
internal/bucket/bandwidth/reader.go
r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 06 03:21:59 GMT 2023 - 3.1K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
trnDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errTransitionInvalidDate } // Allow only date timestamp specifying midnight GMT hr, min, sec := trnDate.Clock() nsec := trnDate.Nanosecond() loc := trnDate.Location() if !(hr == 0 && min == 0 && sec == 0 && nsec == 0 && loc.String() == time.UTC.String()) { return errTransitionDateNotMidnight } *tDate = TransitionDate{trnDate} return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 10 17:07:49 GMT 2022 - 5.1K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
signedHeaders = append(signedHeaders, "expect") // expected header values. expectedHost := "play.min.io:9000" expectedContentSha256 := "1234abcd" expectedTime := UTCNow().Format(iso8601Format) expectedTransferEncoding := "gzip" expectedExpect := "100-continue" r, err := http.NewRequest(http.MethodGet, "http://play.min.io:9000", nil) if err != nil { t.Fatal("Unable to create http.Request :", err) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 14.3K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
wantOK: true, }, { name: "max", fields: fields{ value: []byte(strconv.FormatInt(math.MaxInt64, 10)), }, want: math.MaxInt64, wantOK: true, }, { name: "min", fields: fields{ value: []byte(strconv.FormatInt(math.MinInt64, 10)), }, want: math.MinInt64, wantOK: true, }, { name: "max-overflow", fields: fields{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 12.5K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
{bucketNames[0], "", "min", "", "", 10, listMultipartResults[4], nil, true}, // Test case with keyMarker set equal to number of parts in the result. (Test number 18). {bucketNames[0], "", "min", "", "", 1, listMultipartResults[5], nil, true}, // Test case with keyMarker set to 0. (Test number 19). {bucketNames[0], "", "min", "", "", 0, listMultipartResults[6], nil, true},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0)