- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for m1 (0.13 sec)
-
internal/s3select/sql/timestampfuncs.go
} duration := ts2.Sub(ts1) y1, m1, d1 := ts1.Date() y2, m2, d2 := ts2.Date() switch timePart { case timePartYear: dy := int64(y2 - y1) if m2 > m1 || (m2 == m1 && d2 >= d1) { return FromInt(dy), nil } return FromInt(dy - 1), nil case timePartMonth: m1 += time.Month(12 * y1) m2 += time.Month(12 * y2) return FromInt(int64(m2 - m1)), nil case timePartDay:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Viewed (0) -
cmd/erasure-metadata.go
func GetInternalReplicationState(m map[string][]byte) ReplicationState { m1 := make(map[string]string, len(m)) for k, v := range m { m1[k] = string(v) } return getInternalReplicationState(m1) } // getInternalReplicationState fetches internal replication state from the map m func getInternalReplicationState(m map[string]string) ReplicationState {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 19.2K bytes - Viewed (1)