Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for longText (0.24 sec)

  1. cmd/utils.go

    func restQueries(keys ...string) []string {
    	var accumulator []string
    	for _, key := range keys {
    		accumulator = append(accumulator, key, "{"+key+":.*}")
    	}
    	return accumulator
    }
    
    // Suffix returns the longest common suffix of the provided strings
    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    			v2, ok := sm.Metrics[dID]
    			if !ok {
    				v2 = madmin.SRMetric{}
    				v2.Failed.ErrCounts = make(map[string]int)
    			}
    
    			// use target endpoint metrics from node which has been up the longest
    			if v2.LastOnline.After(v.LastOnline) || v2.LastOnline.IsZero() {
    				v2.Endpoint = v.Endpoint
    				v2.LastOnline = v.LastOnline
    				v2.Latency = v.Latency
    				v2.Online = v.Online
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
Back to top