Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 119 for caster (0.17 sec)

  1. internal/grid/connection.go

    	switch m.Op {
    	case OpMuxServerMsg:
    		c.handleMuxServerMsg(ctx, m)
    	case OpResponse:
    		c.handleResponse(m)
    	case OpMuxClientMsg:
    		c.handleMuxClientMsg(ctx, m)
    	case OpUnblockSrvMux:
    		c.handleUnblockSrvMux(m)
    	case OpUnblockClMux:
    		c.handleUnblockClMux(m)
    	case OpDisconnectServerMux:
    		c.handleDisconnectServerMux(m)
    	case OpDisconnectClientMux:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class.go

    	return ssc != "" || rrsc != ""
    }
    
    // DefaultParityBlocks returns default parity blocks for 'drive' count
    func DefaultParityBlocks(drive int) int {
    	switch drive {
    	case 1:
    		return 0
    	case 3, 2:
    		return 1
    	case 4, 5:
    		return 2
    	case 6, 7:
    		return 3
    	default:
    		return 4
    	}
    }
    
    // LookupConfig - lookup storage class config and override with valid environment settings if any.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. internal/cachevalue/cache.go

    // An Update function must be set to provide an updated value when needed.
    type Cache[T any] struct {
    	// updateFn must return an updated value.
    	// If an error is returned the cached value is not set.
    	// Only one caller will call this function at any time, others will be blocking.
    	// The returned value can no longer be modified once returned.
    	// Should be set before calling Get().
    	updateFn func() (T, error)
    
    	// ttl for a cached value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. cmd/namespace-lock.go

    	}
    	const readLock = true
    	for _, path := range li.paths {
    		li.ns.unlock(li.volume, path, readLock)
    	}
    }
    
    func getSource(n int) string {
    	var funcName string
    	pc, filename, lineNum, ok := runtime.Caller(n)
    	if ok {
    		filename = pathutil.Base(filename)
    		funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(),
    			"github.com/minio/minio/cmd.")
    	} else {
    		filename = "<unknown>"
    		lineNum = 0
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    //
    // NewReader may try merge the given size, MD5 and SHA256 values
    // into src - if src is a Reader - to avoid computing the same
    // checksums multiple times.
    // NewReader enforces S3 compatibility strictly by ensuring caller
    // does not send more content than specified size.
    func NewReader(ctx context.Context, src io.Reader, size int64, md5Hex, sha256Hex string, actualSize int64) (*Reader, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    	if len(in) == 1 {
    		for {
    			select {
    			case <-ctxDone:
    				return ctx.Err()
    			case v, ok := <-in[0]:
    				if !ok {
    					return nil
    				}
    				select {
    				case <-ctxDone:
    					return ctx.Err()
    				case out <- v:
    				}
    			}
    		}
    	}
    
    	selectFrom := func(idx int) error {
    		select {
    		case <-ctxDone:
    			return ctx.Err()
    		case entry, ok := <-in[idx]:
    			if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    			// unconsumedTimer fires.
    			select {
    			// Check after a second
    			case <-time.After(time.Second):
    				h.mutex.Unlock()
    				continue
    
    			case <-h.ctx.Done():
    				h.mutex.Unlock()
    				// discard result and return.
    				return errHealStopSignalled
    
    			// Timeout if no results consumed for too long.
    			case <-unconsumedTimer.C:
    				h.mutex.Unlock()
    				return errHealIdleTimeout
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. internal/crypto/sse-kms.go

    // and checks whether they are well-formed. It returns the sealed object key
    // on success. If the metadata contains both, a KMS master key ID and a sealed
    // KMS data key it returns both. If the metadata does not contain neither a
    // KMS master key ID nor a sealed KMS data key it returns an empty keyID and
    // KMS data key. Otherwise, it returns an error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-health.go

    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    		"Count of online drives in the cluster")
    	healthDrivesCountMD = NewGaugeMD(healthDrivesCount,
    		"Count of all drives in the cluster")
    )
    
    // loadClusterHealthDriveMetrics - `MetricsLoaderFn` for cluster storage drive metrics
    // such as online, offline and total drives.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/tier.go

    		}
    		if creds.AzSP.ClientSecret != "" {
    			cfg.Azure.SPAuth.ClientSecret = creds.AzSP.ClientSecret
    		}
    	case madmin.GCS:
    		if creds.CredsJSON == nil {
    			return errTierMissingCredentials
    		}
    		cfg.GCS.Creds = base64.URLEncoding.EncodeToString(creds.CredsJSON)
    	case madmin.MinIO:
    		if creds.AccessKey == "" || creds.SecretKey == "" {
    			return errTierMissingCredentials
    		}
    		cfg.MinIO.AccessKey = creds.AccessKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top