/dports/www/writefreely/writefreely-0.13.1/vendor/github.com/guregu/null/zero/ |
H A D | time.go | 14 type Time struct { struct 15 Time time.Time member 16 Valid bool 20 func (t *Time) Scan(value interface{}) error { 53 func TimeFrom(t time.Time) Time { 59 func TimeFromPtr(t *time.Time) Time { 67 func (t Time) ValueOrZero() time.Time { 141 func (t *Time) SetValid(v time.Time) { 148 func (t Time) Ptr() *time.Time { 156 func (t Time) IsZero() bool { [all …]
|
/dports/www/writefreely/writefreely-0.13.1/vendor/github.com/guregu/null/ |
H A D | time.go | 13 type Time struct { struct 14 Time time.Time member 28 err = fmt.Errorf("null: cannot scan type %T into null.Time: %v", value, value) 43 func NewTime(t time.Time, valid bool) Time { 51 func TimeFrom(t time.Time) Time { 56 func TimeFromPtr(t *time.Time) Time { 64 func (t Time) ValueOrZero() time.Time { 132 func (t *Time) SetValid(v time.Time) { 138 func (t Time) Ptr() *time.Time { 147 func (t Time) IsZero() bool { [all …]
|
/dports/sysutils/sensu-go/sensu-go-5.11.1/vendor/github.com/echlebek/crock/ |
H A D | time.go | 27 type Time struct { struct 28 running int64 29 now atomic.Value 30 mu sync.Mutex 31 done chan struct{} 32 events map[int64][]idFunc 36 Resolution time.Duration 40 Multiplier float64 56 func (t *Time) Now() time.Time { 70 func (t *Time) Start() { [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/csharp/src/Apache.Arrow/Flatbuf/Types/ |
H A D | Time.cs | 14 internal struct Time : IFlatbufferObject struct 16 private Table __p; 17 public ByteBuffer ByteBuffer { get { return __p.bb; } } 18 public static Time GetRootAsTime(ByteBuffer _bb) { return GetRootAsTime(_bb, new Time()); } in GetRootAsTime() 20 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; } in __init() 21 public Time __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 26 public static Offset<Time> CreateTime(FlatBufferBuilder builder, in CreateTime() 35 public static void StartTime(FlatBufferBuilder builder) { builder.StartObject(2); } in StartTime() 36 …tic void AddUnit(FlatBufferBuilder builder, TimeUnit unit) { builder.AddShort(0, (short)unit, 1); } in AddUnit() 37 …atic void AddBitWidth(FlatBufferBuilder builder, int bitWidth) { builder.AddInt(1, bitWidth, 32); } in AddBitWidth() [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/csharp/src/Apache.Arrow/Flatbuf/Types/ |
H A D | Time.cs | 14 internal struct Time : IFlatbufferObject struct 16 private Table __p; 17 public ByteBuffer ByteBuffer { get { return __p.bb; } } 18 public static Time GetRootAsTime(ByteBuffer _bb) { return GetRootAsTime(_bb, new Time()); } in GetRootAsTime() 20 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; } in __init() 21 public Time __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 26 public static Offset<Time> CreateTime(FlatBufferBuilder builder, in CreateTime() 35 public static void StartTime(FlatBufferBuilder builder) { builder.StartObject(2); } in StartTime() 36 …tic void AddUnit(FlatBufferBuilder builder, TimeUnit unit) { builder.AddShort(0, (short)unit, 1); } in AddUnit() 37 …atic void AddBitWidth(FlatBufferBuilder builder, int bitWidth) { builder.AddInt(1, bitWidth, 32); } in AddBitWidth() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/csharp/src/Apache.Arrow/Flatbuf/Types/ |
H A D | Time.cs | 14 internal struct Time : IFlatbufferObject struct 16 private Table __p; 17 public ByteBuffer ByteBuffer { get { return __p.bb; } } 18 public static Time GetRootAsTime(ByteBuffer _bb) { return GetRootAsTime(_bb, new Time()); } in GetRootAsTime() 20 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; } in __init() 21 public Time __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 26 public static Offset<Time> CreateTime(FlatBufferBuilder builder, in CreateTime() 35 public static void StartTime(FlatBufferBuilder builder) { builder.StartObject(2); } in StartTime() 36 …tic void AddUnit(FlatBufferBuilder builder, TimeUnit unit) { builder.AddShort(0, (short)unit, 1); } in AddUnit() 37 …atic void AddBitWidth(FlatBufferBuilder builder, int bitWidth) { builder.AddInt(1, bitWidth, 32); } in AddBitWidth() [all …]
|
/dports/astro/py-kosmorrolib/kosmorrolib-1.0.1/kosmorrolib/ |
H A D | events.py | 45 start_time: Time, end_time: Time, timezone: int 73 def is_in_conjunction(time: Time): 139 def _search_oppositions(start_time: Time, end_time: Time, timezone: int) -> [Event]: 165 def get_angle(time: Time): 207 start_time: Time, end_time: Time, timezone: int 222 def f(time: Time): 259 def get_distance(time: Time): 284 def f(start_time: Time, end_time: Time, timezone: int) -> [Event]: 323 def f(start_time: Time, end_time: Time, timezone: int) -> [Event]: 349 start_time: Time, end_time: Time, timezone: int [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/nancy/ |
H A D | time.h | 31 struct Time { struct 33 Time() { _milliseconds = 0; } in Time() argument 34 Time(const uint32 &t) { _milliseconds = t; } in Time() argument 38 …Time &operator=(const Time &t) { if (this != &t) _milliseconds = t._milli… argument 71 uint16 getSeconds() { return (_milliseconds / 1000) % 60; } in getSeconds() 72 uint16 getMinutes() { return (_milliseconds / 60000) % 60; } in getMinutes() 73 uint16 getTotalHours() { return _milliseconds / 3600000; } in getTotalHours() 75 uint16 getHours() { return (_milliseconds / 3600000) % 24; } // Used for player time in getHours() 76 uint16 getDays() { return _milliseconds / 86400000; } // up to 49.7 days in getDays()
|
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` argument 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/net/concourse-fly/concourse-6.7.1/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/misc/concourse/concourse-6.7.2/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/hashicorp/consul/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` argument 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/www/fabio/fabio-1.5.14/vendor/github.com/hashicorp/consul/consul-1.4.2/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` argument 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/consul/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` argument 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/sysutils/helm/helm-3.5.2/vendor/sigs.k8s.io/kustomize/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/sigs.k8s.io/kustomize/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/devel/mutagen/mutagen-0.11.8/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` argument 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/hashicorp/consul/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/hashicorp/vault/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` anonMember 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/prometheus/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/ |
H A D | time.go | 33 type Time struct { struct 34 time.Time `protobuf:"-"` argument 40 func (t *Time) DeepCopyInto(out *Time) { 45 func (t Time) String() string { 50 func NewTime(time time.Time) Time { 66 func (t *Time) IsZero() bool { 74 func (t *Time) Before(u *Time) bool { 79 func (t *Time) Equal(u *Time) bool { 96 func (t Time) Rfc3339Copy() Time { 145 func (t Time) MarshalJSON() ([]byte, error) { [all …]
|
/dports/net/storj/storj-1.45.3/vendor/github.com/jackc/pgtype/ |
H A D | time.go | 18 type Time struct { struct 19 Microseconds int64 // Number of microseconds since midnight 20 Status Status 24 func (dst *Time) Set(src interface{}) error { 60 func (dst Time) Get() interface{} { 71 func (src *Time) AssignTo(dst interface{}) error { 106 func (dst *Time) DecodeText(ci *ConnInfo, src []byte) error { 156 func (dst *Time) DecodeBinary(ci *ConnInfo, src []byte) error { 173 func (src Time) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) { 208 func (dst *Time) Scan(src interface{}) error { [all …]
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/jackc/pgtype/ |
H A D | time.go | 18 type Time struct { struct 19 Microseconds int64 // Number of microseconds since midnight 20 Status Status 24 func (dst *Time) Set(src interface{}) error { 60 func (dst Time) Get() interface{} { 71 func (src *Time) AssignTo(dst interface{}) error { 106 func (dst *Time) DecodeText(ci *ConnInfo, src []byte) error { 156 func (dst *Time) DecodeBinary(ci *ConnInfo, src []byte) error { 173 func (src Time) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) { 208 func (dst *Time) Scan(src interface{}) error { [all …]
|
/dports/games/automuteus/automuteus-6.15.2/vendor/github.com/jackc/pgtype/ |
H A D | time.go | 18 type Time struct { struct 19 Microseconds int64 // Number of microseconds since midnight 20 Status Status 24 func (dst *Time) Set(src interface{}) error { 60 func (dst Time) Get() interface{} { 71 func (src *Time) AssignTo(dst interface{}) error { 106 func (dst *Time) DecodeText(ci *ConnInfo, src []byte) error { 156 func (dst *Time) DecodeBinary(ci *ConnInfo, src []byte) error { 173 func (src Time) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) { 208 func (dst *Time) Scan(src interface{}) error { [all …]
|
/dports/textproc/uni/uni-2.4.0/vendor/zgo.at/zstd/ztime/ |
H A D | ztime.go | 13 type Time struct{ time.Time } argument 21 func (t Time) AddTime(d time.Duration) Time { return Time{t.Time.Add(d)} } 22 …(t Time) AddDate(years, months, days int) Time { return Time{t.Time.AddDate(years, months, days)} } 23 func (t Time) In(loc *time.Location) Time { return Time{t.Time.In(loc)} } 24 func (t Time) Local() Time { return Time{t.Time.Local()} } 25 func (t Time) Round(d time.Duration) Time { return Time{t.Time.Round(d)} } 26 func (t Time) Truncate(d time.Duration) Time { return Time{t.Time.Truncate(d)} } 27 func (t Time) UTC() Time { return Time{t.Time.UTC()} } 29 func (t Time) StartOf(p Period) Time { return Time{StartOf(t.Time, p)} } 30 func (t Time) EndOf(p Period) Time { return Time{EndOf(t.Time, p)} } [all …]
|