Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for Turing (0.25 sec)

  1. cmd/utils.go

    // cloneMSS will clone a map[string]string.
    // If input is nil an empty map is returned, not nil.
    func cloneMSS(v map[string]string) map[string]string {
    	r := make(map[string]string, len(v))
    	for k, v := range v {
    		r[k] = v
    	}
    	return r
    }
    
    // URI scheme constants.
    const (
    	httpScheme  = "http"
    	httpsScheme = "https"
    )
    
    // nopCharsetConverter is a dummy charset convert which just copies input to output,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	}
    	fi.Metadata = make(map[string]string, len(j.MetaSys))
    	for k, v := range j.MetaSys {
    		fi.Metadata[k] = string(v)
    	}
    
    	fi.ReplicationState = GetInternalReplicationState(j.MetaSys)
    	if j.FreeVersion() {
    		fi.SetTierFreeVersion()
    		fi.TransitionTier = string(j.MetaSys[metaTierName])
    		fi.TransitionedObjName = string(j.MetaSys[metaTierObjName])
    		fi.TransitionVersionID = string(j.MetaSys[metaTierVersionID])
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. cmd/metrics-v3-types.go

    	}
    	return md.labelSet
    }
    
    func (md *MetricDescriptor) toPromName(namePrefix string) string {
    	return prometheus.BuildFQName(namePrefix, "", string(md.Name))
    }
    
    func (md *MetricDescriptor) toPromDesc(namePrefix string, extraLabels map[string]string) *prometheus.Desc {
    	return prometheus.NewDesc(
    		md.toPromName(namePrefix),
    		md.Help,
    		md.VariableLabels, extraLabels,
    	)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    func (l *Config) LookupGroupMemberships(userDistNames []string, userDNToUsernameMap map[string]string) (map[string]set.StringSet, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return nil, err
    	}
    
    	res := make(map[string]set.StringSet, len(userDistNames))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    	Status       string                 `xml:"-" json:"status,omitempty"`
    	ParentUser   string                 `xml:"-" json:"parentUser,omitempty"`
    	Groups       []string               `xml:"-" json:"groups,omitempty"`
    	Claims       map[string]interface{} `xml:"-" json:"claims,omitempty"`
    	Name         string                 `xml:"-" json:"name,omitempty"`
    	Description  string                 `xml:"-" json:"description,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  6. internal/config/server.go

    type Opts struct {
    	FTP struct {
    		Address          string `yaml:"address"`
    		PassivePortRange string `yaml:"passive-port-range"`
    	} `yaml:"ftp"`
    	SFTP struct {
    		Address       string `yaml:"address"`
    		SSHPrivateKey string `yaml:"ssh-private-key"`
    	} `yaml:"sftp"`
    }
    
    // ServerConfigVersion struct is used to extract the version
    type ServerConfigVersion struct {
    	Version string `yaml:"version"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		if lengthRange.Valid {
    			hashReader.SetExpectedMin(lengthRange.Min)
    			hashReader.SetExpectedMax(lengthRange.Max)
    		}
    	}
    
    	// Extract metadata to be saved from received Form.
    	metadata := make(map[string]string)
    	err = extractMetadataFromMime(ctx, textproto.MIMEHeader(formValues), metadata)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	rawReader := hashReader
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    	if !ok {
    		return madmin.BgHealState{}, false
    	}
    
    	status := madmin.BgHealState{
    		ScannedItemsCount: bgSeq.getScannedItemsCount(),
    	}
    
    	healDisksMap := map[string]struct{}{}
    	for _, ep := range getLocalDisksToHeal() {
    		healDisksMap[ep.String()] = struct{}{}
    	}
    
    	if o == nil {
    		healing := globalBackgroundHealState.getLocalHealingDisks()
    		for _, disk := range healing {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. cmd/httprange.go

    		return nil, fmt.Errorf("'%s' does not have valid range value", rangeString)
    	}
    }
    
    // String returns stringified representation of range for a particular resource size.
    func (h *HTTPRangeSpec) String(resourceSize int64) string {
    	if h == nil {
    		return ""
    	}
    	off, length, err := h.GetOffsetLength(resourceSize)
    	if err != nil {
    		return ""
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cache.go

    	percUtil       float64
    }
    
    // storageMetrics - cached storage metrics.
    type storageMetrics struct {
    	storageInfo                              madmin.StorageInfo
    	ioStats                                  map[string]driveIOStatMetrics
    	onlineDrives, offlineDrives, totalDrives int
    }
    
    func newDataUsageInfoCache() *cachevalue.Cache[DataUsageInfo] {
    	loadDataUsage := func() (u DataUsageInfo, err error) {
    		objLayer := newObjectLayerFn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top