Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for exp (0.13 sec)

  1. cmd/test-utils_test.go

    	}
    	if len(partSizes) > 1 {
    		asMultipart = true
    	}
    
    	checkRespErr := func(rec *httptest.ResponseRecorder, exp int) {
    		t.Helper()
    		if rec.Code != exp {
    			b, err := io.ReadAll(rec.Body)
    			t.Fatalf("Expected: %v, Got: %v, Body: %s, err: %v", exp, rec.Code, string(b), err)
    		}
    	}
    
    	if !asMultipart {
    		srcData := NewDummyDataGen(partSizes[0], 0)
    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)
  2. internal/bucket/lifecycle/lifecycle_test.go

    	// The earlier upcoming lifecycle event must be picked, i.e rule with id "Transition-10"
    	if exp := ExpectedExpiryTime(opts.ModTime, 10); exp != event.Due {
    		t.Fatalf("Expected due %v but got %v, ruleID=%v", exp, event.Due, event.RuleID)
    	}
    
    	// DelMarkerExpiration
    	lc = Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "delmarker-exp-20",
    				Status: "Enabled",
    				DelMarkerExpiration: DelMarkerExpiration{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	// with the remote tier.
    	TransitionVersionID string `msg:"tv"`
    	// ExpireRestored indicates that the restored object is to be expired.
    	ExpireRestored bool `msg:"exp"`
    
    	// DataDir of the file
    	DataDir string `msg:"dd"`
    
    	// Indicates if this object is still in V1 format.
    	XLV1 bool `msg:"v1"`
    
    	// Date and time when the file was last modified, if Deleted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/trie"
    	"github.com/minio/pkg/v2/wildcard"
    	"github.com/valyala/bytebufferpool"
    	"golang.org/x/exp/slices"
    )
    
    const (
    	// MinIO meta bucket.
    	minioMetaBucket = ".minio.sys"
    	// Multipart meta prefix.
    	mpartMetaPrefix = "multipart"
    	// MinIO Multipart meta prefix.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. cmd/bucket-replication.go

    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/tinylib/msgp/msgp"
    	"github.com/zeebo/xxh3"
    	"golang.org/x/exp/maps"
    	"golang.org/x/exp/slices"
    )
    
    const (
    	throttleDeadline = 1 * time.Hour
    	// ReplicationReset has reset id and timestamp of last reset operation
    	ReplicationReset = "replication-reset"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/generic-handlers.go

    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/grid"
    	xnet "github.com/minio/pkg/v2/net"
    	"golang.org/x/exp/maps"
    	"golang.org/x/exp/slices"
    
    	"github.com/minio/minio/internal/amztime"
    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/crypto"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast.go

    func (f *File) saveExport2(x interface{}, context astContext) {
    	n, ok := x.(*ast.FuncDecl)
    	if !ok {
    		return
    	}
    
    	for _, exp := range f.ExpFunc {
    		if exp.Func.Name.Name == n.Name.Name {
    			exp.Func = n
    			break
    		}
    	}
    }
    
    type astContext int
    
    const (
    	ctxProg astContext = iota
    	ctxEmbedType
    	ctxType
    	ctxStmt
    	ctxExpr
    	ctxField
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    	if err != nil {
    		return fmt.Errorf("STS credential could not be verified: %w", err)
    	}
    
    	mapClaims := claims.Map()
    	expiry, err := auth.ExpToInt64(mapClaims["exp"])
    	if err != nil {
    		return fmt.Errorf("Expiry claim was not found: %v: %w", mapClaims, err)
    	}
    
    	cred := auth.Credentials{
    		AccessKey:    stsCred.AccessKey,
    		SecretKey:    stsCred.SecretKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  9. cmd/bucket-replication-metrics.go

    }
    
    // updateExponentialMovingAverage processes the measurements captured so far.
    func (m *rateMeasurement) updateExponentialMovingAverage(endTime time.Time) {
    	// Calculate aggregate avg bandwidth and exp window avg
    	m.lock.Lock()
    	defer func() {
    		m.startTime = endTime
    		m.lock.Unlock()
    	}()
    
    	if m.startTime.IsZero() {
    		return
    	}
    
    	if endTime.Before(m.startTime) {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	"github.com/minio/madmin-go/v3"
    	minio "github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    	"github.com/minio/minio-go/v7/pkg/set"
    	ldap "github.com/minio/pkg/v2/ldap"
    	"golang.org/x/exp/slices"
    )
    
    func runAllIAMSTSTests(suite *TestSuiteIAM, c *check) {
    	suite.SetUpSuite(c)
    	// The STS for root test needs to be the first one after setup.
    	suite.TestSTSForRoot(c)
    	suite.TestSTS(c)
    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)
Back to top