/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/util/ |
H A D | duration_test.cpp | 56 ASSERT_NE(Microseconds{-1}, Microseconds{1}); in TEST() 61 ASSERT_GT(Microseconds{Microseconds::min().count() + 1}, Microseconds::min()); in TEST() 63 ASSERT_FALSE(Microseconds{1} > Microseconds{1}); in TEST() 68 ASSERT_LT(Microseconds{Microseconds::max().count() - 1}, Microseconds::max()); in TEST() 69 ASSERT_LT(Microseconds{1}, Microseconds{10}); in TEST() 70 ASSERT_FALSE(Microseconds{1} < Microseconds{1}); in TEST() 76 ASSERT_GTE(Microseconds{Microseconds::min().count() + 1}, Microseconds::min()); in TEST() 79 ASSERT_GTE(Microseconds{5}, Microseconds{5}); in TEST() 85 ASSERT_LTE(Microseconds{Microseconds::max().count() - 1}, Microseconds::max()); in TEST() 86 ASSERT_LTE(Microseconds{1}, Microseconds{10}); in TEST() [all …]
|
/dports/databases/pg_tileserv/pg_tileserv-1.0.8/vendor/github.com/jackc/pgtype/ |
H A D | time_test.go | 14 &pgtype.Time{Microseconds: 0, Status: pgtype.Present}, 15 &pgtype.Time{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Time{Microseconds: 86399999999, Status: pgtype.Present}, 25 &pgtype.Time{Microseconds: 86400000000, Status: pgtype.Present}, 43 …{source: time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 46 …{source: time.Date(1900, 1, 1, 0, 0, 1, 0, time.UTC), result: pgtype.Time{Microseconds: 1000000, S… 47 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 48 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1000, time.UTC), result: pgtype.Time{Microseconds: 1, Stat… 50 …{source: time.Date(2015, 1, 1, 0, 0, 0, 2000, time.Local), result: pgtype.Time{Microseconds: 2, St… 82 …{src: pgtype.Time{Microseconds: 0, Status: pgtype.Null}, dst: &ptim, expected: ((*time.Time)(nil))… [all …]
|
H A D | interval_test.go | 15 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 17 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 18 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 24 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 25 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 26 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 39 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 43 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
H A D | time.go | 20 Microseconds int64 // Number of microseconds since midnight member 44 *dst = Time{Microseconds: usec, Status: Present} 58 return dst.Microseconds 73 if src.Microseconds > maxRepresentableByTime { 74 return errors.Errorf("%d microseconds cannot be represented as time.Time", src.Microseconds) 77 usec := src.Microseconds 145 *dst = Time{Microseconds: usec, Status: Present} 162 *dst = Time{Microseconds: usec, Status: Present} 176 usec := src.Microseconds 199 return pgio.AppendInt64(buf, src.Microseconds), nil
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/jackc/pgtype/ |
H A D | time_test.go | 14 &pgtype.Time{Microseconds: 0, Status: pgtype.Present}, 15 &pgtype.Time{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Time{Microseconds: 86399999999, Status: pgtype.Present}, 25 &pgtype.Time{Microseconds: 86400000000, Status: pgtype.Present}, 43 …{source: time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 46 …{source: time.Date(1900, 1, 1, 0, 0, 1, 0, time.UTC), result: pgtype.Time{Microseconds: 1000000, S… 47 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 48 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1000, time.UTC), result: pgtype.Time{Microseconds: 1, Stat… 50 …{source: time.Date(2015, 1, 1, 0, 0, 0, 2000, time.Local), result: pgtype.Time{Microseconds: 2, St… 82 …{src: pgtype.Time{Microseconds: 0, Status: pgtype.Null}, dst: &ptim, expected: ((*time.Time)(nil))… [all …]
|
H A D | interval_test.go | 15 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 17 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 18 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 24 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 25 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 26 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 39 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 43 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
H A D | time.go | 20 Microseconds int64 // Number of microseconds since midnight member 44 *dst = Time{Microseconds: usec, Status: Present} 58 return dst.Microseconds 73 if src.Microseconds > maxRepresentableByTime { 74 return errors.Errorf("%d microseconds cannot be represented as time.Time", src.Microseconds) 77 usec := src.Microseconds 145 *dst = Time{Microseconds: usec, Status: Present} 162 *dst = Time{Microseconds: usec, Status: Present} 176 usec := src.Microseconds 199 return pgio.AppendInt64(buf, src.Microseconds), nil
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/jackc/pgtype/ |
H A D | time_test.go | 14 &pgtype.Time{Microseconds: 0, Status: pgtype.Present}, 15 &pgtype.Time{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Time{Microseconds: 86399999999, Status: pgtype.Present}, 25 &pgtype.Time{Microseconds: 86400000000, Status: pgtype.Present}, 43 …{source: time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 46 …{source: time.Date(1900, 1, 1, 0, 0, 1, 0, time.UTC), result: pgtype.Time{Microseconds: 1000000, S… 47 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 48 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1000, time.UTC), result: pgtype.Time{Microseconds: 1, Stat… 50 …{source: time.Date(2015, 1, 1, 0, 0, 0, 2000, time.Local), result: pgtype.Time{Microseconds: 2, St… 82 …{src: pgtype.Time{Microseconds: 0, Status: pgtype.Null}, dst: &ptim, expected: ((*time.Time)(nil))… [all …]
|
H A D | interval_test.go | 12 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 13 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 14 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 15 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 20 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 21 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 22 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 36 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 40 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
H A D | time.go | 20 Microseconds int64 // Number of microseconds since midnight member 44 *dst = Time{Microseconds: usec, Status: Present} 58 return dst.Microseconds 73 if src.Microseconds > maxRepresentableByTime { 74 return errors.Errorf("%d microseconds cannot be represented as time.Time", src.Microseconds) 77 usec := src.Microseconds 145 *dst = Time{Microseconds: usec, Status: Present} 162 *dst = Time{Microseconds: usec, Status: Present} 176 usec := src.Microseconds 199 return pgio.AppendInt64(buf, src.Microseconds), nil
|
/dports/net/storj/storj-1.45.3/vendor/github.com/jackc/pgtype/ |
H A D | time_test.go | 14 &pgtype.Time{Microseconds: 0, Status: pgtype.Present}, 15 &pgtype.Time{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Time{Microseconds: 86399999999, Status: pgtype.Present}, 25 &pgtype.Time{Microseconds: 86400000000, Status: pgtype.Present}, 43 …{source: time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 46 …{source: time.Date(1900, 1, 1, 0, 0, 1, 0, time.UTC), result: pgtype.Time{Microseconds: 1000000, S… 47 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 48 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1000, time.UTC), result: pgtype.Time{Microseconds: 1, Stat… 50 …{source: time.Date(2015, 1, 1, 0, 0, 0, 2000, time.Local), result: pgtype.Time{Microseconds: 2, St… 85 …{src: pgtype.Time{Microseconds: 0, Status: pgtype.Null}, dst: &ptim, expected: ((*time.Time)(nil))… [all …]
|
H A D | interval_test.go | 15 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 17 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 18 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 24 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 25 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 26 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 39 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 43 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
H A D | time.go | 19 Microseconds int64 // Number of microseconds since midnight member 43 *dst = Time{Microseconds: usec, Status: Present} 63 return dst.Microseconds 78 if src.Microseconds > maxRepresentableByTime { 79 return fmt.Errorf("%d microseconds cannot be represented as time.Time", src.Microseconds) 82 usec := src.Microseconds 150 *dst = Time{Microseconds: usec, Status: Present} 167 *dst = Time{Microseconds: usec, Status: Present} 181 usec := src.Microseconds 204 return pgio.AppendInt64(buf, src.Microseconds), nil
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/jackc/pgtype/ |
H A D | time_test.go | 14 &pgtype.Time{Microseconds: 0, Status: pgtype.Present}, 15 &pgtype.Time{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Time{Microseconds: 86399999999, Status: pgtype.Present}, 25 &pgtype.Time{Microseconds: 86400000000, Status: pgtype.Present}, 43 …{source: time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 46 …{source: time.Date(1900, 1, 1, 0, 0, 1, 0, time.UTC), result: pgtype.Time{Microseconds: 1000000, S… 47 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 48 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1000, time.UTC), result: pgtype.Time{Microseconds: 1, Stat… 50 …{source: time.Date(2015, 1, 1, 0, 0, 0, 2000, time.Local), result: pgtype.Time{Microseconds: 2, St… 85 …{src: pgtype.Time{Microseconds: 0, Status: pgtype.Null}, dst: &ptim, expected: ((*time.Time)(nil))… [all …]
|
H A D | interval_test.go | 15 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 17 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 18 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 24 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 25 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 26 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 39 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 43 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
H A D | time.go | 19 Microseconds int64 // Number of microseconds since midnight member 43 *dst = Time{Microseconds: usec, Status: Present} 63 return dst.Microseconds 78 if src.Microseconds > maxRepresentableByTime { 79 return fmt.Errorf("%d microseconds cannot be represented as time.Time", src.Microseconds) 82 usec := src.Microseconds 150 *dst = Time{Microseconds: usec, Status: Present} 167 *dst = Time{Microseconds: usec, Status: Present} 181 usec := src.Microseconds 204 return pgio.AppendInt64(buf, src.Microseconds), nil
|
/dports/games/automuteus/automuteus-6.15.2/vendor/github.com/jackc/pgtype/ |
H A D | time_test.go | 14 &pgtype.Time{Microseconds: 0, Status: pgtype.Present}, 15 &pgtype.Time{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Time{Microseconds: 86399999999, Status: pgtype.Present}, 25 &pgtype.Time{Microseconds: 86400000000, Status: pgtype.Present}, 43 …{source: time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 46 …{source: time.Date(1900, 1, 1, 0, 0, 1, 0, time.UTC), result: pgtype.Time{Microseconds: 1000000, S… 47 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1, time.UTC), result: pgtype.Time{Microseconds: 0, Status:… 48 …{source: time.Date(1970, 1, 1, 0, 0, 0, 1000, time.UTC), result: pgtype.Time{Microseconds: 1, Stat… 50 …{source: time.Date(2015, 1, 1, 0, 0, 0, 2000, time.Local), result: pgtype.Time{Microseconds: 2, St… 85 …{src: pgtype.Time{Microseconds: 0, Status: pgtype.Null}, dst: &ptim, expected: ((*time.Time)(nil))… [all …]
|
H A D | interval_test.go | 15 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 16 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 17 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 18 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 24 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 25 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 26 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 39 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 43 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
H A D | time.go | 19 Microseconds int64 // Number of microseconds since midnight member 43 *dst = Time{Microseconds: usec, Status: Present} 63 return dst.Microseconds 78 if src.Microseconds > maxRepresentableByTime { 79 return fmt.Errorf("%d microseconds cannot be represented as time.Time", src.Microseconds) 82 usec := src.Microseconds 150 *dst = Time{Microseconds: usec, Status: Present} 167 *dst = Time{Microseconds: usec, Status: Present} 181 usec := src.Microseconds 204 return pgio.AppendInt64(buf, src.Microseconds), nil
|
/dports/security/vault/vault-1.8.2/vendor/github.com/jackc/pgx/pgtype/ |
H A D | interval_test.go | 12 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 13 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 14 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 15 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 20 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 21 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 22 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 36 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 40 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/joyent/triton-go/vendor/github.com/jackc/pgx/pgtype/ |
H A D | interval_test.go | 12 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 13 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 14 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 15 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 20 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 21 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 22 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 36 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 40 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/jackc/pgx/pgtype/ |
H A D | interval_test.go | 12 &pgtype.Interval{Microseconds: 1, Status: pgtype.Present}, 13 &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 14 &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, 15 &pgtype.Interval{Microseconds: 123202800000000, Status: pgtype.Present}, 20 &pgtype.Interval{Microseconds: -1, Status: pgtype.Present}, 21 &pgtype.Interval{Microseconds: -1000000, Status: pgtype.Present}, 22 &pgtype.Interval{Microseconds: -1000001, Status: pgtype.Present}, 23 &pgtype.Interval{Microseconds: -123202800000000, Status: pgtype.Present}, 36 Value: &pgtype.Interval{Microseconds: 1000000, Status: pgtype.Present}, 40 Value: &pgtype.Interval{Microseconds: 1000001, Status: pgtype.Present}, [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/ |
H A D | TimeUnits.h | 41 struct Microseconds { 42 Microseconds() 46 explicit Microseconds(int64_t aValue) 54 static Microseconds FromSeconds(double aValue) { 59 return Microseconds(INT64_MAX); 61 return Microseconds(INT64_MIN); 63 return Microseconds(int64_t(val)); 67 bool operator == (const Microseconds& aOther) const { 70 bool operator > (const Microseconds& aOther) const { 73 bool operator >= (const Microseconds& aOther) const { [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ |
H A D | operation_context.cpp | 94 Microseconds maxTime; in computeMaxTimeFromDeadline() 96 maxTime = Microseconds::max(); in computeMaxTimeFromDeadline() 99 if (maxTime < Microseconds::zero()) { in computeMaxTimeFromDeadline() 100 maxTime = Microseconds::zero(); in computeMaxTimeFromDeadline() 110 void OperationContext::setDeadlineAfterNowBy(Microseconds maxTime) { in setDeadlineAfterNowBy() 112 if (maxTime < Microseconds::zero()) { in setDeadlineAfterNowBy() 113 maxTime = Microseconds::zero(); in setDeadlineAfterNowBy() 115 if (maxTime == Microseconds::max()) { in setDeadlineAfterNowBy() 120 if (maxTime > Microseconds::zero()) { in setDeadlineAfterNowBy() 157 Microseconds OperationContext::getRemainingMaxTimeMicros() const { in getRemainingMaxTimeMicros() [all …]
|
/dports/lang/fpc-source/fpc-3.2.2/packages/amunits/src/utilunits/ |
H A D | timerutils.pas | 43 Seconds, Microseconds : longint) : pMsgPort; 45 Seconds, Microseconds : longint); 74 Function SetTimer(WhichTimer : pTimeRequest; Seconds, Microseconds : longint) : pMsgPort; in SetTimer() 82 tr_Time.tv_Micro := Microseconds; { microseconds } 89 Seconds, Microseconds : longint); 96 tr_Time.tv_Micro := Microseconds; { microseconds }
|