- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,418 for Time (0.02 sec)
-
internal/bucket/lifecycle/lifecycle_test.go
testCases := []struct { modTime time.Time days ExpirationDays expected time.Time }{ { time.Date(2020, time.March, 15, 10, 10, 10, 0, time.UTC), 4, time.Date(2020, time.March, 20, 0, 0, 0, 0, time.UTC), }, { time.Date(2020, time.March, 15, 0, 0, 0, 0, time.UTC), 1, time.Date(2020, time.March, 17, 0, 0, 0, 0, time.UTC), }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java
* @param time The build time of the project in milliseconds. */ public BuildSuccess(MavenProject project, long time) { super(project, time, time); } /** * Creates a new build summary for the specified project. * * @param project The project being summarized, must not be {@code null}. * @param wallTime The wall time of the project in milliseconds.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* target} object, enforcing the specified time limit on each call. This time-limited delegation * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link * Object#toString}. * * <p>If the target method call finishes before the limit is reached, the return value or * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
schema/field.go
switch fieldValue.Elem().Interface().(type) { case time.Time: field.Set = func(ctx context.Context, value reflect.Value, v interface{}) error { switch data := v.(type) { case **time.Time: if data != nil && *data != nil { field.Set(ctx, value, *data) } case time.Time: field.ReflectValueOf(ctx, value).Set(reflect.ValueOf(v)) case *time.Time: if data != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
internal/amztime/parse.go
// extension for http.TimeFormat - return time might be zero // if the timeStr is invalid. func ParseHeader(timeStr string) (time.Time, error) { for _, dateFormat := range httpTimeFormats { t, err := time.Parse(dateFormat, timeStr) if err == nil { return t, nil } } return time.Time{}, ErrMalformedDate } // ParseReplicationTS parse http.TimeFormat first // will try time.RFC3339Nano when parse http.TimeFormat failed
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/log/uds.go
) type UDSLogger struct { mu sync.Mutex loggingServer *http.Server } type cniLog struct { Level string `json:"level"` Time time.Time `json:"time"` Msg string `json:"msg"` Arbitrary map[string]any `json:"-"` } func NewUDSLogger(level istiolog.Level) *UDSLogger { l := &UDSLogger{} mux := http.NewServeMux()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* "expected arrival time of the next request" is actually in the past, then the difference (now - * past) is the amount of time that the RateLimiter was formally unused, and it is that amount of * time which we translate to storedPermits. (We increase storedPermits with the amount of permits * that would have been produced in that idle time). So, if rate == 1 permit per second, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 19.3K bytes - Viewed (0) -
schema/field_test.go
} } newValues["updated_at"] = time.Time{} newValues["active"] = false checkField(t, userSchema, reflectValue, newValues) // test valuer and other type age := myint(10) var nilTime *time.Time newValues2 := map[string]interface{}{ "name": sql.NullString{String: "valuer_and_setter_3", Valid: true}, "id": &sql.NullInt64{Int64: 3, Valid: true},
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0) -
cmd/update-notifier_test.go
{-72 * time.Hour, "another_update_url", ""}, {0, "another_update_url", ""}, {time.Hour, "", ""}, {0 * time.Second, "my_download_url", "now"}, {1 * time.Second, "my_download_url", "1 second before the latest release"}, {37 * time.Second, "my_download_url", "37 seconds before the latest release"}, {60 * time.Second, "my_download_url", "1 minute before the latest release"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 15:36:19 UTC 2023 - 4.1K bytes - Viewed (0) -
cmd/api-datatypes.go
// DeleteMarkerMTime is an embedded type containing time.Time for XML marshal type DeleteMarkerMTime struct { time.Time } // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if t.Time.IsZero() { return nil } return e.EncodeElement(t.Time.Format(time.RFC3339), startElement) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 14 07:26:50 UTC 2024 - 3K bytes - Viewed (0)