- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 7,470 for Time (0.12 sec)
-
src/time/time.go
// that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and // [Time.UnmarshalText] are not concurrency-safe. // // Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods. // The [Time.Sub] method subtracts two instants, producing a [Duration]. // The [Time.Add] method adds a Time and a Duration, producing a Time. //
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-29 17:58 - 50.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
} return false } // Unix returns the local time corresponding to the given Unix time // by wrapping time.Unix. func Unix(sec int64, nsec int64) Time { return Time{time.Unix(sec, nsec)} } // Rfc3339Copy returns a copy of the Time at second-level precision. func (t Time) Rfc3339Copy() Time { copied, _ := time.Parse(time.RFC3339, t.Format(time.RFC3339)) return Time{copied} }
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-29 21:48 - 5.2K bytes - Viewed (0) -
src/runtime/time.go
return true } // A timeTimer is a runtime-allocated time.Timer or time.Ticker // with the additional runtime state following it. // The runtime state is inaccessible to package time. type timeTimer struct { c unsafe.Pointer // <-chan time.Time init bool timer } // newTimer allocates and returns a new time.Timer or time.Ticker (same layout) // with the given parameters. //
Registered: 2024-06-12 16:32 - Last Modified: 2024-03-29 14:36 - 37.5K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/time.gox
>) <type 2 chan <- <type 3 "Time" <type 4 struct { .time.sec <type -4>; .time.nsec <type -3>; .time.loc <type 5 *<type 6 "Location" <type 7 struct { .time.name <type -16>; .time.zone <type 8 [] <type 9 ".time.zone" <type 10 struct { .time.name <type -16>; .time.offset <type -11>; .time.isDST <type -15>; }>>>; .time.tx <type 11 [] <type 12 ".time.zoneTrans" <type 13 struct { .time.when <type -4>; .time.index <type -5>; .time.isstd <type -15>; .time.isutc <type -15>; }>>>; .time.cacheStart...
Registered: 2024-06-12 16:32 - Last Modified: 2021-09-30 21:33 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.time; import java.util.concurrent.TimeUnit; /** * Instruments for observing time. */ public abstract class Time { private static final Clock CLOCK = new MonotonicClock(); /** * A clock that is guaranteed not to go backwards. *
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-11 20:20 - 2.2K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
### Timer changes Go 1.23 makes two significant changes to the implementation of [time.Timer] and [time.Ticker]. <!-- go.dev/issue/61542 --> First, `Timer`s and `Ticker`s that are no longer referred to by the program become eligible for garbage collection immediately, even if their `Stop` methods have not been called. Earlier versions of Go did not collect unstopped `Timer`s until after they had fired and never collected unstopped `Ticker`s.
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-23 20:49 - 1.5K bytes - Viewed (0) -
src/archive/zip/testdata/time-go.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: 2024-06-12 16:32 - Last Modified: 2017-11-06 19:50 - 148 bytes - Viewed (0) -
src/archive/zip/testdata/time-win7.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: 2024-06-12 16:32 - Last Modified: 2017-11-06 19:50 - 114 bytes - Viewed (0) -
src/archive/zip/testdata/time-winzip.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: 2024-06-12 16:32 - Last Modified: 2017-11-06 19:50 - 150 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/duration/duration_test.go
{d: 3 * time.Hour, want: "3h"}, {d: 3*time.Hour + time.Minute, want: "3h1m"}, {d: 8*time.Hour - time.Millisecond, want: "7h59m"}, {d: 8 * time.Hour, want: "8h"}, {d: 8*time.Hour + 59*time.Minute, want: "8h"}, {d: 2*24*time.Hour - time.Millisecond, want: "47h"}, {d: 2 * 24 * time.Hour, want: "2d"}, {d: 2*24*time.Hour + time.Hour, want: "2d1h"},
Registered: 2024-06-15 01:39 - Last Modified: 2020-04-17 18:04 - 4.5K bytes - Viewed (0)