Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for humanize (0.17 sec)

  1. cmd/xl-storage-format_test.go

    		// part size 2MiB, total size 4MiB
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 3, 0},
    		// part size 2MiB, total size 5MiB
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  2. cmd/update-notifier.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"runtime"
    	"strings"
    	"time"
    
    	"github.com/cheggaaa/pb"
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/color"
    )
    
    // prepareUpdateMessage - prepares the update message, only if a
    // newer version is available.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers.go

    import (
    	"bytes"
    	"encoding/json"
    	"io"
    	"net/http"
    
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	// As per AWS S3 specification, 20KiB policy JSON data is allowed.
    	maxBucketPolicySize = 20 * humanize.KiByte
    
    	// Policy configuration file.
    	bucketPolicyConfig = "policy.json"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. cmd/perf-tests.go

    package cmd
    
    import (
    	"context"
    	"encoding/gob"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/randreader"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/dustin/go-humanize/LICENSE

    = vendor/github.com/dustin/go-humanize licensed under: =
    
    Copyright (c) 2005-2008  Dustin Sallings <******@****.***>
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func TestSizeHistogramToMap(t *testing.T) {
    	tests := []struct {
    		sizes []int64
    		want  map[string]uint64
    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/debugging/s3-verify/go.sum

    github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
    github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
    github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
    github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. internal/config/cache/cache.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cache
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/env"
    	"github.com/tinylib/msgp/msgp"
    )
    
    // Cache related keys
    const (
    	Enable    = "enable"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    	return nil
    }
    
    // BatchJobSize supports humanized byte values in yaml files type BatchJobSize uint64
    type BatchJobSize int64
    
    // UnmarshalYAML to parse humanized byte values
    func (s *BatchJobSize) UnmarshalYAML(unmarshal func(interface{}) error) error {
    	var batchExpireSz string
    	err := unmarshal(&batchExpireSz)
    	if err != nil {
    		return err
    	}
    	sz, err := humanize.ParseBytes(batchExpireSz)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/globals.go

    	globalRefreshIAMInterval = 10 * time.Minute
    
    	// Limit of location constraint XML for unauthenticated PUT bucket operations.
    	maxLocationConstraintSize = 3 * humanize.MiByte
    
    	// Maximum size of default bucket encryption configuration allowed
    	maxBucketSSEConfigSize = 1 * humanize.MiByte
    
    	// diskFillFraction is the fraction of a disk we allow to be filled.
    	diskFillFraction = 0.99
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top