- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addUpdate (0.07 sec)
-
internal/s3select/sql/timestampfuncs.go
var duration time.Duration switch timePart { case timePartYear: return FromTimestamp(t.AddDate(int(qty), 0, 0)), nil case timePartMonth: return FromTimestamp(t.AddDate(0, int(qty), 0)), nil case timePartDay: return FromTimestamp(t.AddDate(0, 0, int(qty))), nil case timePartHour: duration = time.Duration(qty) * time.Hour case timePartMinute:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
cmd/postpolicyform_test.go
formValues.Set("X-Amz-Algorithm", tt.XAmzAlgorithm) formValues.Set("X-Amz-Credential", tt.XAmzCredential) if tt.Expired { // Expired already. pp.SetExpires(UTCNow().AddDate(0, 0, -10)) } else { // Expires in 10 days. pp.SetExpires(UTCNow().AddDate(0, 0, 10)) } formValues.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String()))) formValues.Set("Success_action_status", tt.SuccessActionStatus)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
).isEqualTo(10L) assertThat( Headers.Builder() .add("abc", "def") .add("ghi", "jkl") .build() .byteCount(), ).isEqualTo(20L) } @Test fun addDate() { val expected = Date(0L) val headers = Headers.Builder() .add("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0)