Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for X2 (0.65 sec)

  1. cmd/xl-storage-format-v2-legacy.go

    func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	switch v {
    	case 1:
    		return x.unmarshalV1(bts)
    	case 2:
    		x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x}
    		return x2.UnmarshalMsg(bts)
    	case xlHeaderVersion:
    		return x.UnmarshalMsg(bts)
    	}
    	return bts, fmt.Errorf("unknown xlHeaderVersion: %d", v)
    }
    
    // unmarshalV1 decodes version 1, never released.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    			}
    			for rm, x := range v.XferStats {
    				x2, ok := v2.XferStats[replication.MetricName(rm)]
    				if !ok {
    					x2 = replication.XferStats{}
    				}
    				x2.AvgRate += x.Avg
    				x2.CurrRate += x.Curr
    				if x.Peak > x2.PeakRate {
    					x2.PeakRate = x.Peak
    				}
    				v2.XferStats[replication.MetricName(rm)] = x2
    			}
    			sm.Metrics[dID] = v2
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. doc/go1.17_spec.html

    Thus the length and capacity of a slice literal are the maximum
    element index plus one. A slice literal has the form
    </p>
    
    <pre>
    []T{x1, x2, … xn}
    </pre>
    
    <p>
    and is shorthand for a slice operation applied to an array:
    </p>
    
    <pre>
    tmp := [n]T{x1, x2, … xn}
    tmp[0 : n]
    </pre>
    
    <p>
    Within a composite literal of array, slice, or map type <code>T</code>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/go_spec.html

    Thus the length and capacity of a slice literal are the maximum
    element index plus one. A slice literal has the form
    </p>
    
    <pre>
    []T{x1, x2, … xn}
    </pre>
    
    <p>
    and is shorthand for a slice operation applied to an array:
    </p>
    
    <pre>
    tmp := [n]T{x1, x2, … xn}
    tmp[0 : n]
    </pre>
    
    <p>
    Within a composite literal of array, slice, or map type <code>T</code>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top