/dports/deskutils/ultralist/ultralist-1.7.0/vendor/github.com/twinj/uuid/ |
H A D | timestamp.go | 34 type Timestamp uint64 type 40 func Now() Timestamp { 51 func (o Timestamp) Add(duration time.Duration) Timestamp { 52 return o + Timestamp(duration/100) 56 func (o Timestamp) Sub(duration time.Duration) Timestamp { 95 Timestamp anonMember 97 now func() Timestamp 104 if o.Timestamp == now { 107 for o.now() < o.Timestamp+Timestamp(o.Resolution) { 116 o.Timestamp = now [all …]
|
/dports/databases/pymongo/pymongo-3.12.0/test/ |
H A D | test_timestamp.py | 23 from bson.timestamp import Timestamp 30 t = Timestamp(123, 456) 37 t = Timestamp(d, 0) 43 t = Timestamp(d, 0) 61 self.assertTrue(Timestamp(0, 0)) 64 t = Timestamp(1, 1) 67 self.assertEqual(t, Timestamp(1, 1)) 73 self.assertEqual(hash(Timestamp(1, 2)), hash(Timestamp(1, 2))) 74 self.assertNotEqual(hash(Timestamp(1, 2)), hash(Timestamp(1, 3))) 75 self.assertNotEqual(hash(Timestamp(1, 2)), hash(Timestamp(2, 2))) [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/ar/testenv/ |
H A D | testArTimestamp.py | 32 timestamp = Ar.Timestamp(94608) 37 self.assertEqual(timestamp, Ar.Timestamp(94608)) 43 self.assertNotEqual(timestamp, Ar.Timestamp()) 44 self.assertTrue(timestamp > Ar.Timestamp()) 45 self.assertTrue(timestamp >= Ar.Timestamp()) 46 self.assertFalse(timestamp < Ar.Timestamp()) 47 self.assertFalse(timestamp <= Ar.Timestamp()) 50 self.assertTrue(timestamp > Ar.Timestamp(0.0)) 51 self.assertTrue(timestamp >= Ar.Timestamp(0.0)) 52 self.assertFalse(timestamp < Ar.Timestamp(0.0)) [all …]
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.cc | 130 Timestamp::Timestamp() in Timestamp() function in google::protobuf::Timestamp 138 Timestamp::Timestamp(::google::protobuf::Arena* arena) in Timestamp() function in google::protobuf::Timestamp 146 Timestamp::Timestamp(const Timestamp& from) in Timestamp() function in google::protobuf::Timestamp 164 Timestamp::~Timestamp() { in ~Timestamp() 174 Timestamp* _this = reinterpret_cast< Timestamp* >(object); in ArenaDtor() 189 const Timestamp& Timestamp::default_instance() { in default_instance() 361 void Timestamp::MergeFrom(const Timestamp& from) { in MergeFrom() 383 void Timestamp::CopyFrom(const Timestamp& from) { in CopyFrom() 394 void Timestamp::Swap(Timestamp* other) { in Swap() 408 void Timestamp::UnsafeArenaSwap(Timestamp* other) { in UnsafeArenaSwap() [all …]
|
/dports/devel/protobuf/protobuf-3.17.3/src/google/protobuf/ |
H A D | timestamp.pb.h | 57 class Timestamp; variable 71 inline Timestamp() : Timestamp(nullptr) {} in Timestamp() function 72 ~Timestamp() override; 75 Timestamp(const Timestamp& from); 76 Timestamp(Timestamp&& from) noexcept in Timestamp() function 77 : Timestamp() { in Timestamp() 81 inline Timestamp& operator=(const Timestamp& from) { 85 inline Timestamp& operator=(Timestamp&& from) noexcept { 114 friend void swap(Timestamp& a, Timestamp& b) { in swap() 117 inline void Swap(Timestamp* other) { in Swap() [all …]
|
/dports/devel/py-grpcio-tools/grpcio-tools-1.43.0/third_party/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.h | 57 class Timestamp; variable 71 inline Timestamp() : Timestamp(nullptr) {} in Timestamp() function 72 ~Timestamp() override; 75 Timestamp(const Timestamp& from); 76 Timestamp(Timestamp&& from) noexcept in Timestamp() function 77 : Timestamp() { in Timestamp() 81 inline Timestamp& operator=(const Timestamp& from) { 85 inline Timestamp& operator=(Timestamp&& from) noexcept { 118 friend void swap(Timestamp& a, Timestamp& b) { in swap() 121 inline void Swap(Timestamp* other) { in Swap() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.cc | 141 Timestamp::Timestamp() in Timestamp() function in google::protobuf::Timestamp 149 Timestamp::Timestamp(::google::protobuf::Arena* arena) in Timestamp() function in google::protobuf::Timestamp 157 Timestamp::Timestamp(const Timestamp& from) in Timestamp() function in google::protobuf::Timestamp 175 Timestamp::~Timestamp() { in ~Timestamp() 190 Timestamp* _this = reinterpret_cast< Timestamp* >(object); in ArenaDtor() 205 const Timestamp& Timestamp::default_instance() { in default_instance() 377 void Timestamp::MergeFrom(const Timestamp& from) { in MergeFrom() 399 void Timestamp::CopyFrom(const Timestamp& from) { in CopyFrom() 410 void Timestamp::Swap(Timestamp* other) { in Swap() 424 void Timestamp::UnsafeArenaSwap(Timestamp* other) { in UnsafeArenaSwap() [all …]
|
/dports/astro/libosmium/libosmium-2.17.2/test/t/osm/ |
H A D | test_timestamp.cpp | 11 const osmium::Timestamp t{}; 19 const osmium::Timestamp t{static_cast<time_t>(0)}; 27 const osmium::Timestamp t{static_cast<time_t>(1)}; 34 const osmium::Timestamp t{"2000-01-01T00:00:00Z"}; 41 const osmium::Timestamp t{s}; 51 const osmium::Timestamp t{4242}; 57 const osmium::Timestamp t{4242}; 64 const osmium::Timestamp t1{10}; 65 const osmium::Timestamp t2{50}; 74 const osmium::Timestamp t{1}; [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/libosmium/test/t/osm/ |
H A D | test_timestamp.cpp | 11 const osmium::Timestamp t{}; 19 const osmium::Timestamp t{static_cast<time_t>(0)}; 27 const osmium::Timestamp t{static_cast<time_t>(1)}; 34 const osmium::Timestamp t{"2000-01-01T00:00:00Z"}; 41 const osmium::Timestamp t{s}; 51 const osmium::Timestamp t{4242}; 57 const osmium::Timestamp t{4242}; 64 const osmium::Timestamp t1{10}; 65 const osmium::Timestamp t2{50}; 74 const osmium::Timestamp t{1}; [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/id3-0.5.3/src/frame/ |
H A D | timestamp.rs | 18 pub struct Timestamp { struct 187 Timestamp { in test_parse_timestamp() 198 Timestamp { in test_parse_timestamp() 209 Timestamp { in test_parse_timestamp() 220 Timestamp { in test_parse_timestamp() 231 Timestamp { in test_parse_timestamp() 242 Timestamp { in test_parse_timestamp() 253 Timestamp { in test_parse_timestamp() 264 Timestamp { in test_parse_timestamp() 275 Timestamp { in test_parse_timestamp() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.cc | 89 class Timestamp::_Internal { 93 Timestamp::Timestamp() in Timestamp() function in Timestamp 98 Timestamp::Timestamp(::PROTOBUF_NAMESPACE_ID::Arena* arena) in Timestamp() function in Timestamp 105 Timestamp::Timestamp(const Timestamp& from) in Timestamp() function in Timestamp 121 Timestamp::~Timestamp() { in ~Timestamp() 131 Timestamp* _this = reinterpret_cast< Timestamp* >(object); in ArenaDtor() 139 const Timestamp& Timestamp::default_instance() { in default_instance() 145 void Timestamp::Clear() { in Clear() 351 void Timestamp::MergeFrom(const Timestamp& from) { in MergeFrom() 373 void Timestamp::CopyFrom(const Timestamp& from) { in CopyFrom() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.cc | 89 class Timestamp::_Internal { 93 Timestamp::Timestamp() in Timestamp() function in Timestamp 98 Timestamp::Timestamp(::PROTOBUF_NAMESPACE_ID::Arena* arena) in Timestamp() function in Timestamp 105 Timestamp::Timestamp(const Timestamp& from) in Timestamp() function in Timestamp 121 Timestamp::~Timestamp() { in ~Timestamp() 131 Timestamp* _this = reinterpret_cast< Timestamp* >(object); in ArenaDtor() 139 const Timestamp& Timestamp::default_instance() { in default_instance() 145 void Timestamp::Clear() { in Clear() 351 void Timestamp::MergeFrom(const Timestamp& from) { in MergeFrom() 373 void Timestamp::CopyFrom(const Timestamp& from) { in CopyFrom() [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/scalar/timestamp/ |
H A D | test_unary_ops.py | 32 dt = Timestamp(timestamp) 34 expected = Timestamp(expected) 105 dt = Timestamp(test_input) 131 dt = Timestamp(test_input) 132 expected = Timestamp(expected) 140 expected = Timestamp("20130102") 146 expected = Timestamp("20130101") 229 dt = Timestamp(timestamp) 382 ts = Timestamp(d, tz=tz) 395 ts = Timestamp(arg, tz=tz) [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexes/datetimes/ |
H A D | test_misc.py | 19 end=Timestamp("1970-01-01 00:00:00.000000004"), 67 end=Timestamp("1970-01-01 00:00:00.004"), 82 start=Timestamp("1970-01-01 00:00:01"), 83 end=Timestamp("1970-01-01 00:00:04"), 98 start=Timestamp("1970-01-01 00:01"), 99 end=Timestamp("1970-01-01 00:04"), 114 start=Timestamp("1970-01-01 01:00"), 115 end=Timestamp("1970-01-01 04:00"), 130 start=Timestamp("1970-01-01"), end=Timestamp("1970-01-04"), freq="D" 345 ts = Timestamp(datetime(2016, 4, day)) [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | TimestampTest.cs | 45 AssertRoundtrip(new Timestamp { Seconds = -62135596800 }, utcMin); in FromAndToDateTime() 65 [TestCase(Timestamp.UnixSecondsAtBclMinValue - 1, Timestamp.MaxNanos)] 66 [TestCase(Timestamp.UnixSecondsAtBclMaxValue + 1, 0)] 68 [TestCase(0, Timestamp.MaxNanos + 1)] 77 [TestCase(Timestamp.UnixSecondsAtBclMinValue, 0)] 78 [TestCase(Timestamp.UnixSecondsAtBclMaxValue, Timestamp.MaxNanos)] 80 [TestCase(0, Timestamp.MaxNanos)] 89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip() 97 Timestamp t1 = new Timestamp { Seconds = 10000, Nanos = 5000 }; in Arithmetic() 98 Timestamp t2 = new Timestamp { Seconds = 8000, Nanos = 10000 }; in Arithmetic() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | TimestampTest.cs | 45 AssertRoundtrip(new Timestamp { Seconds = -62135596800 }, utcMin); in FromAndToDateTime() 65 [TestCase(Timestamp.UnixSecondsAtBclMinValue - 1, Timestamp.MaxNanos)] 66 [TestCase(Timestamp.UnixSecondsAtBclMaxValue + 1, 0)] 68 [TestCase(0, Timestamp.MaxNanos + 1)] 77 [TestCase(Timestamp.UnixSecondsAtBclMinValue, 0)] 78 [TestCase(Timestamp.UnixSecondsAtBclMaxValue, Timestamp.MaxNanos)] 80 [TestCase(0, Timestamp.MaxNanos)] 89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip() 97 Timestamp t1 = new Timestamp { Seconds = 10000, Nanos = 5000 }; in Arithmetic() 98 Timestamp t2 = new Timestamp { Seconds = 8000, Nanos = 10000 }; in Arithmetic() [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/series/methods/ |
H A D | test_fillna.py | 15 Timestamp, 141 [Timestamp("20130101"), Timestamp("2013-01-01", tz="US/Eastern")], 185 Timestamp("20130101"), 186 Timestamp("20130101"), 187 Timestamp("20130102"), 272 Timestamp("20130101"), 273 Timestamp("20130101"), 274 Timestamp("20130102"), 388 {1: Timestamp("2011-01-02 10:00"), 3: Timestamp("2011-01-04 10:00")} 586 ser = Series([Timestamp("2010-01-01"), NaT, Timestamp("2000-01-01")]) [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.h | 58 class Timestamp; variable 69 class PROTOBUF_EXPORT Timestamp : 72 Timestamp(); 73 virtual ~Timestamp(); 75 Timestamp(const Timestamp& from); 76 Timestamp(Timestamp&& from) noexcept in Timestamp() function 77 : Timestamp() { in Timestamp() 81 inline Timestamp& operator=(const Timestamp& from) { 85 inline Timestamp& operator=(Timestamp&& from) noexcept { 119 friend void swap(Timestamp& a, Timestamp& b) { in swap() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.h | 58 class Timestamp; variable 69 class PROTOBUF_EXPORT Timestamp : 72 Timestamp(); 73 virtual ~Timestamp(); 75 Timestamp(const Timestamp& from); 76 Timestamp(Timestamp&& from) noexcept in Timestamp() function 77 : Timestamp() { in Timestamp() 81 inline Timestamp& operator=(const Timestamp& from) { 85 inline Timestamp& operator=(Timestamp&& from) noexcept { 119 friend void swap(Timestamp& a, Timestamp& b) { in swap() [all …]
|
/dports/www/firefox/firefox-99.0/toolkit/components/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.h | 58 class Timestamp; variable 69 class PROTOBUF_EXPORT Timestamp : 72 Timestamp(); 73 virtual ~Timestamp(); 75 Timestamp(const Timestamp& from); 76 Timestamp(Timestamp&& from) noexcept in Timestamp() function 77 : Timestamp() { in Timestamp() 81 inline Timestamp& operator=(const Timestamp& from) { 85 inline Timestamp& operator=(Timestamp&& from) noexcept { 119 friend void swap(Timestamp& a, Timestamp& b) { in swap() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/protobuf/src/google/protobuf/ |
H A D | timestamp.pb.h | 58 class Timestamp; variable 69 class PROTOBUF_EXPORT Timestamp : 72 Timestamp(); 73 virtual ~Timestamp(); 75 Timestamp(const Timestamp& from); 76 Timestamp(Timestamp&& from) noexcept in Timestamp() function 77 : Timestamp() { in Timestamp() 81 inline Timestamp& operator=(const Timestamp& from) { 85 inline Timestamp& operator=(Timestamp&& from) noexcept { 119 friend void swap(Timestamp& a, Timestamp& b) { in swap() [all …]
|
/dports/net/gscloud/gscloud-0.11.0/vendor/google.golang.org/protobuf/types/known/timestamppb/ |
H A D | timestamp_test.go | 33 want *tspb.Timestamp 35 {in: time.Time{}, want: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}}, 36 {in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}}, 58 in *tspb.Timestamp 63 {in: new(tspb.Timestamp), wantTime: time.Unix(0, 0)}, 66 {in: &tspb.Timestamp{Seconds: -1, Nanos: 0}, wantTime: time.Unix(-1, 0)}, 67 {in: &tspb.Timestamp{Seconds: -1, Nanos: +1}, wantTime: time.Unix(-1, +1)}, 69 {in: &tspb.Timestamp{Seconds: 0, Nanos: 0}, wantTime: time.Unix(0, 0)}, 70 {in: &tspb.Timestamp{Seconds: 0, Nanos: +1}, wantTime: time.Unix(0, +1)}, 72 {in: &tspb.Timestamp{Seconds: +1, Nanos: 0}, wantTime: time.Unix(+1, 0)}, [all …]
|
/dports/security/lego/lego-4.5.3/vendor/google.golang.org/protobuf/types/known/timestamppb/ |
H A D | timestamp_test.go | 33 want *tspb.Timestamp 35 {in: time.Time{}, want: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}}, 36 {in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}}, 58 in *tspb.Timestamp 63 {in: new(tspb.Timestamp), wantTime: time.Unix(0, 0)}, 66 {in: &tspb.Timestamp{Seconds: -1, Nanos: 0}, wantTime: time.Unix(-1, 0)}, 67 {in: &tspb.Timestamp{Seconds: -1, Nanos: +1}, wantTime: time.Unix(-1, +1)}, 69 {in: &tspb.Timestamp{Seconds: 0, Nanos: 0}, wantTime: time.Unix(0, 0)}, 70 {in: &tspb.Timestamp{Seconds: 0, Nanos: +1}, wantTime: time.Unix(0, +1)}, 72 {in: &tspb.Timestamp{Seconds: +1, Nanos: 0}, wantTime: time.Unix(+1, 0)}, [all …]
|
/dports/net/rclone/rclone-1.57.0/vendor/google.golang.org/protobuf/types/known/timestamppb/ |
H A D | timestamp_test.go | 33 want *tspb.Timestamp 35 {in: time.Time{}, want: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}}, 36 {in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}}, 58 in *tspb.Timestamp 63 {in: new(tspb.Timestamp), wantTime: time.Unix(0, 0)}, 66 {in: &tspb.Timestamp{Seconds: -1, Nanos: 0}, wantTime: time.Unix(-1, 0)}, 67 {in: &tspb.Timestamp{Seconds: -1, Nanos: +1}, wantTime: time.Unix(-1, +1)}, 69 {in: &tspb.Timestamp{Seconds: 0, Nanos: 0}, wantTime: time.Unix(0, 0)}, 70 {in: &tspb.Timestamp{Seconds: 0, Nanos: +1}, wantTime: time.Unix(0, +1)}, 72 {in: &tspb.Timestamp{Seconds: +1, Nanos: 0}, wantTime: time.Unix(+1, 0)}, [all …]
|
/dports/security/vault/vault-1.8.2/vendor/google.golang.org/protobuf/types/known/timestamppb/ |
H A D | timestamp_test.go | 33 want *tspb.Timestamp 35 {in: time.Time{}, want: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}}, 36 {in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}}, 58 in *tspb.Timestamp 63 {in: new(tspb.Timestamp), wantTime: time.Unix(0, 0)}, 66 {in: &tspb.Timestamp{Seconds: -1, Nanos: 0}, wantTime: time.Unix(-1, 0)}, 67 {in: &tspb.Timestamp{Seconds: -1, Nanos: +1}, wantTime: time.Unix(-1, +1)}, 69 {in: &tspb.Timestamp{Seconds: 0, Nanos: 0}, wantTime: time.Unix(0, 0)}, 70 {in: &tspb.Timestamp{Seconds: 0, Nanos: +1}, wantTime: time.Unix(0, +1)}, 72 {in: &tspb.Timestamp{Seconds: +1, Nanos: 0}, wantTime: time.Unix(+1, 0)}, [all …]
|