Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 330 for next (0.17 sec)

  1. cmd/erasure-healing-common_test.go

    		}
    		if diskIndex != 0 && disk == nil {
    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    	partsMetadata[0] = partsMetadataBackup // Revert before going to the next test
    
    	// Test 3: Not synchronized DataDir
    	partsMetadataBackup = partsMetadata[1]
    	partsMetadata[1].DataDir = "foo-random"
    
    	errs = make([]error, len(erasureDisks))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. cmd/benchmark-utils_test.go

    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    
    	b.RunParallel(func(pb *testing.PB) {
    		i := 0
    		for pb.Next() {
    			// insert the object.
    			objInfo, err := obj.PutObject(context.Background(), bucket, "object"+strconv.Itoa(i),
    				mustGetPutObjReader(b, bytes.NewReader(textData), int64(len(textData)), md5hex, sha256hex), ObjectOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    // If the context is canceled, the stream will be canceled.
    func (s *TypedStream[Req, Resp]) Results(next func(resp Resp) error) (err error) {
    	return s.responses.Results(func(b []byte) error {
    		resp := s.newResp()
    		_, err := resp.UnmarshalMsg(b)
    		if err != nil {
    			return err
    		}
    		return next(resp)
    	})
    }
    
    // Streamer creates a stream.
    type Streamer interface {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    			continue
    		}
    		// v is capital letter here
    		// disregard first letter
    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    		// add underscore when next letter is lowercase
    		if (i != 0 || i == l-1) && ((i > 0 && rune(camel[i-1]) >= 'a') ||
    			(i < l-1 && rune(camel[i+1]) >= 'a')) {
    			b.WriteRune('_')
    		}
    		b.WriteRune(v + 'a' - 'A')
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. docs/debugging/s3-verify/main.go

    	}
    
    	ageDelta, err := time.ParseDuration(minimumObjectAge)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	maxObjectModTime := time.Now().Add(-ageDelta)
    
    	// Next object is used to ignore new objects in the source & target
    	nextObject := func(ch <-chan minio.ObjectInfo) (ctnt minio.ObjectInfo, ok bool) {
    		for {
    			ctnt, ok := <-ch
    			if !ok {
    				return minio.ObjectInfo{}, false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	for host, hm := range m.ByHost {
    		if len(host) > 0 {
    			if hm.Net != nil && len(hm.Net.NetStats.Name) > 0 {
    				stats := hm.Net.NetStats
    				labels := map[string]string{"interface": stats.Name}
    				updateResourceMetrics(interfaceSubsystem, interfaceRxBytes, float64(stats.RxBytes), labels, true)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	endpoints := mustGetNewEndpoints(0, 16, fsDirs...)
    	b.RunParallel(func(pb *testing.PB) {
    		endpoints := endpoints
    		for pb.Next() {
    			initStorageDisksWithErrors(endpoints, storageOpts{cleanUp: false, healthCheck: false})
    		}
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    			pd.QueuedBuckets = append(pd.QueuedBuckets[:i], pd.QueuedBuckets[i+1:]...)
    			// Clear tracker info.
    			if pd.Bucket == bucket {
    				pd.Bucket = "" // empty this out for next bucket
    				pd.Prefix = "" // empty this out for the next bucket
    				pd.Object = "" // empty this out for next object
    			}
    			return true
    		}
    	}
    	return false
    }
    
    func (pd *PoolDecommissionInfo) isBucketDecommissioned(bucket string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  9. cmd/postpolicyform_test.go

    		{
    			policy:  `{"conditions":[["eq","$bucket","asdf"],["eq","$key","hello.txt"]],"conditions":[["eq","$success_action_status","201"],["eq","$Content-Type","plain/text"],["eq","$success_action_status","201"],["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"],["eq","$x-amz-credential","Q3AM3UQ867SPQQA43P2F/20210315/us-east-1/s3/aws4_request"],["eq","$x-amz-date","20210315T091621Z"]]}`,
    			success: false,
    		},
    		// invalid json.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  10. cmd/update.go

    	"crypto/tls"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/klauspost/compress/zstd"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/selfupdate"
    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)
Back to top