Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for hugger (0.15 sec)

  1. cmd/net.go

    	"github.com/minio/minio/internal/logger"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // IPv4 addresses of local host.
    var localIP4 = mustGetLocalIP4()
    
    // mustSplitHostPort is a wrapper to net.SplitHostPort() where error is assumed to be a fatal.
    func mustSplitHostPort(hostPort string) (host, port string) {
    	xh, err := xnet.ParseHost(hostPort)
    	if err != nil {
    		logger.FatalIf(err, "Unable to split host port %s", hostPort)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class.go

    package storageclass
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    	"sync"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Standard constants for all storage class
    const (
    	// Reduced redundancy storage class
    	RRS = "REDUCED_REDUNDANCY"
    	// Standard storage class
    	STANDARD = "STANDARD"
    )
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    		SSHHandshakeDeadline: 2 * time.Minute,
    		Logger:               new(sftpLogger),
    		SSHConfig:            sshConfig,
    		HandleSFTPSession:    handleSFTPSession,
    	})
    	if err != nil {
    		logger.Fatal(err, "Unable to start SFTP Server")
    	}
    
    	err = sftpServer.Listen()
    	if err != nil {
    		logger.Fatal(err, "SFTP Server had an unrecoverable error while accepting connections")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	logger.FatalIf(getBandwidthRPC.Register(gm, server.GetBandwidth), "unable to register handler")
    	logger.FatalIf(getBucketStatsRPC.Register(gm, server.GetBucketStatsHandler), "unable to register handler")
    	logger.FatalIf(getCPUsHandler.Register(gm, server.GetCPUsHandler), "unable to register handler")
    	logger.FatalIf(getLastDayTierStatsRPC.Register(gm, server.GetLastDayTierStatsHandler), "unable to register handler")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    	"container/ring"
    	"context"
    	"sync"
    	"sync/atomic"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/logger/target/console"
    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v2/logger/message/log"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // number of log messages to buffer
    const defaultLogBufferCount = 10000
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    func mustGetUUID() string {
    	u, err := uuid.NewRandom()
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return u.String()
    }
    
    // mustGetUUIDBytes - get a random UUID as 16 bytes unencoded.
    func mustGetUUIDBytes() []byte {
    	u, err := uuid.NewRandom()
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return u[:]
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. internal/crypto/key.go

    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/bucket-versioning-handler.go

    	"encoding/xml"
    	"io"
    	"net/http"
    
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	bucketVersioningConfig = "versioning.xml"
    
    	// Maximum size of bucket versioning configuration payload sent to the PutBucketVersioningHandler.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. internal/hash/reader.go

    func (r *Reader) ActualSize() int64 { return r.actualSize }
    
    // ETag returns the ETag computed by an underlying etag.Tagger.
    // If the underlying io.Reader does not implement etag.Tagger
    // it returns nil.
    func (r *Reader) ETag() etag.ETag {
    	if t, ok := r.src.(etag.Tagger); ok {
    		return t.ETag()
    	}
    	return nil
    }
    
    // MD5Current returns the MD5 checksum of the content
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  10. cmd/metacache-manager.go

    		m.mu.RUnlock()
    		if b.bucket != bucket {
    			logger.Info("getBucket: cached bucket %s does not match this bucket %s", b.bucket, bucket)
    			debug.PrintStack()
    		}
    		return b
    	}
    
    	m.mu.RUnlock()
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	// See if someone else fetched it while we waited for the lock.
    	b, ok = m.buckets[bucket]
    	if ok {
    		if b.bucket != bucket {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top