Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 157 for nmap (0.19 sec)

  1. cmd/data-usage.go

    	}
    }
    
    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		// Prefix usage is empty
    		return map[string]uint64{}, nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    	currentSendCalls  atomic.Int64
    	totalEvents       atomic.Int64
    	eventsSkipped     atomic.Int64
    	eventsErrorsTotal atomic.Int64
    
    	sync.RWMutex
    	targets map[TargetID]Target
    	queue   chan asyncEvent
    	ctx     context.Context
    
    	statLock    sync.RWMutex
    	targetStats map[TargetID]targetStat
    }
    
    type targetStat struct {
    	// The number of concurrent async Send calls per targets
    	currentSendCalls int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    func extractMetadataFromReq(ctx context.Context, r *http.Request) (metadata map[string]string, err error) {
    	return extractMetadata(ctx, textproto.MIMEHeader(r.Form), textproto.MIMEHeader(r.Header))
    }
    
    func extractMetadata(ctx context.Context, mimesHeader ...textproto.MIMEHeader) (metadata map[string]string, err error) {
    	metadata = make(map[string]string)
    
    	for _, hdr := range mimesHeader {
    		// Extract all query values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  4. cmd/tier.go

    type TierConfigMgr struct {
    	sync.RWMutex `msg:"-"`
    	drivercache  map[string]WarmBackend `msg:"-"`
    
    	Tiers           map[string]madmin.TierConfig `json:"tiers"`
    	lastRefreshedAt time.Time                    `msg:"-"`
    }
    
    type tierMetrics struct {
    	sync.RWMutex  // protects requestsCount only
    	requestsCount map[string]struct {
    		success int64
    		failure int64
    	}
    	histogram *prometheus.HistogramVec
    }
    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)
  5. cmd/admin-server-info.go

    	addr := globalLocalNodeName
    	if r != nil {
    		addr = r.Host
    	}
    	if globalIsDistErasure {
    		addr = globalLocalNodeName
    	}
    	poolNumbers := make(map[int]struct{})
    	network := make(map[string]string)
    	for _, ep := range endpointServerPools {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				poolNumbers[endpoint.PoolIdx+1] = struct{}{}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/peer-s3-client.go

    			if err != nil {
    				return err
    			}
    			nodeBuckets[idx] = localBuckets
    			return nil
    		}, idx)
    	}
    
    	errs := g.Wait()
    
    	// The list of buckets in a map to avoid duplication
    	resultMap := make(map[string]BucketInfo)
    
    	for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ {
    		perPoolErrs := make([]error, 0, len(sys.peerClients))
    		for i, client := range sys.peerClients {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    // kmsKeyIDFromMetadata returns any AWS S3 KMS key ID in the
    // metadata, if any. It returns an empty ID if no key ID is
    // present.
    func kmsKeyIDFromMetadata(metadata map[string]string) string {
    	const ARNPrefix = crypto.ARNPrefix
    	if len(metadata) == 0 {
    		return ""
    	}
    	kmsID, ok := metadata[crypto.MetaKeyID]
    	if !ok {
    		return ""
    	}
    	if strings.HasPrefix(kmsID, ARNPrefix) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    // the number of calls of each API and the moving average of
    // the duration of each API.
    type DiskMetrics struct {
    	LastMinute              map[string]AccElem `json:"apiLatencies,omitempty"`
    	APICalls                map[string]uint64  `json:"apiCalls,omitempty"`
    	TotalWaiting            uint32             `json:"totalWaiting,omitempty"`
    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    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)
  9. cmd/post-policy_test.go

    		data               []byte
    		expectedHeaders    map[string]string
    		expectedRespStatus int
    		accessKey          string
    		secretKey          string
    		malformedBody      bool
    	}{
    		// Success case.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusNoContent,
    			expectedHeaders:    map[string]string{"X-Amz-Meta-Uuid": "1234"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  event,
    		Duration:  duration,
    		Path:      pathJoin(oi.Bucket, oi.Name),
    		Error:     "",
    		Message:   getSource(4),
    		Custom:    map[string]string{"version-id": oi.VersionID},
    	}
    }
    
    func (sys *LifecycleSys) trace(oi ObjectInfo) func(event string) {
    	startTime := time.Now()
    	return func(event string) {
    		duration := time.Since(startTime)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top