Home
last modified time | relevance | path

Searched refs:uint64_t (Results 1 – 25 of 37) sorted by relevance

12

/thrift-3.4.0/contrib/fb303/cpp/
DServiceTracker.cpp31 uint64_t ServiceTracker::CHECKPOINT_MINIMUM_INTERVAL_SECONDS = 60;
202 map<string, pair<uint64_t, uint64_t> >::iterator iter; in finishService()
215 uint64_t check_interval = now - checkpointTime_; in finishService()
244 uint64_t check_count = checkpointServices_; in reportCheckpoint()
245 uint64_t check_interval = now - checkpointTime_; in reportCheckpoint()
246 uint64_t check_duration = checkpointDuration_; in reportCheckpoint()
250 map<string, pair<uint64_t, uint64_t> >::iterator iter; in reportCheckpoint()
251 uint64_t count; in reportCheckpoint()
275 uint64_t life_count = handler_->getCounter("lifetime_services"); in reportCheckpoint()
276 uint64_t life_interval = now - handler_->aliveSince(); in reportCheckpoint()
[all …]
DServiceTracker.h123 uint64_t elapsedUnits(Unit unit, std::string *label = nullptr) const;
136 static uint64_t CHECKPOINT_MINIMUM_INTERVAL_SECONDS;
163 uint64_t checkpointServices_;
164 uint64_t checkpointDuration_;
165 std::map<std::string, std::pair<uint64_t, uint64_t> > checkpointServiceDuration_;
186 uint64_t id,
189 uint64_t step(const std::string &stepName);
/thrift-3.4.0/lib/cpp/src/thrift/windows/
DGetTimeOfDay.cpp59 static const uint64_t EPOCH = static_cast<uint64_t>(116444736000000000ULL); in thrift_gettimeofday()
63 uint64_t time; in thrift_gettimeofday()
73 time = static_cast<uint64_t>(file_time.dwLowDateTime ) ; in thrift_gettimeofday()
74 time += static_cast<uint64_t>(file_time.dwHighDateTime) << 32; in thrift_gettimeofday()
/thrift-3.4.0/lib/lua/src/
Dluabpack.c30 static int64_t T_htonll(uint64_t data) { in T_htonll()
33 return ((uint64_t)d1 << 32) + (uint64_t)d2; in T_htonll()
37 static int64_t T_ntohll(uint64_t data) { in T_ntohll()
40 return ((uint64_t)d1 << 32) + (uint64_t)d2; in T_ntohll()
204 int64_t result = (int64_t)(n >> 1) ^ (uint64_t)(-(int64_t)(n & 1)); in l_zigzagToI64()
235 uint64_t n = lualongnumber_checklong(L, 1); in l_toVarint64()
262 uint64_t n = (uint64_t)lualongnumber_checklong(L, 3); in l_fromVarint64()
263 n |= (uint64_t)(byte & 0x7f) << shift; in l_fromVarint64()
266 result = (int64_t)(n >> 1) ^ (uint64_t)(-(int64_t)(n & 1)); in l_fromVarint64()
/thrift-3.4.0/lib/py/compat/win32/
Dstdint.h90 typedef unsigned __int64 uint64_t; typedef
101 typedef uint64_t uint_least64_t;
111 typedef uint64_t uint_fast64_t;
124 typedef uint64_t uintmax_t;
/thrift-3.4.0/lib/cpp/test/concurrency/
DTimerManagerTests.h41 Task(Monitor& monitor, uint64_t timeout) in Task()
77 bool test00(uint64_t timeout = 1000LL) {
127 bool test01(uint64_t timeout = 1000LL) {
160 bool test02(uint64_t timeout = 1000LL) {
193 bool test03(uint64_t timeout = 1000LL) {
230 bool test04(uint64_t timeout = 1000LL) {
/thrift-3.4.0/lib/cpp/src/thrift/protocol/
DTCompactProtocol.tcc257 static_assert(sizeof(double) == sizeof(uint64_t), "sizeof(double) == sizeof(uint64_t)"); in writeDouble()
260 auto bits = bitwise_cast<uint64_t>(dub); in writeDouble()
368 uint32_t TCompactProtocolT<Transport_>::writeVarint64(uint64_t n) { in writeVarint64()
390 uint64_t TCompactProtocolT<Transport_>::i64ToZigzag(const int64_t l) { in i64ToZigzag()
391 return (static_cast<uint64_t>(l) << 1) ^ (l >> 63); in i64ToZigzag()
663 static_assert(sizeof(double) == sizeof(uint64_t), "sizeof(double) == sizeof(uint64_t)"); in readDouble()
667 uint64_t bits; in readDouble()
740 uint64_t val = 0; in readVarint64()
751 val |= (uint64_t)(byte & 0x7f) << shift; in readVarint64()
770 val |= (uint64_t)(byte & 0x7f) << shift; in readVarint64()
[all …]
DTProtocol.h175 # define THRIFT_ntohll(n) ( _byteswap_uint64((uint64_t)n) )
176 # define THRIFT_htonll(n) ( _byteswap_uint64((uint64_t)n) )
178 # define THRIFT_ntohll(n) ( (((uint64_t)ntohl((uint32_t)n)) << 32) + ntohl((uint32_t)(n >> 32)) )
179 # define THRIFT_htonll(n) ( (((uint64_t)htonl((uint32_t)n)) << 32) + htonl((uint32_t)(n >> 32)) )
627 static uint64_t toWire64(uint64_t x) {return THRIFT_htonll(x);} in toWire64()
630 static uint64_t fromWire64(uint64_t x) {return THRIFT_ntohll(x);} in fromWire64()
638 static uint64_t toWire64(uint64_t x) {return THRIFT_htolell(x);} in toWire64()
641 static uint64_t fromWire64(uint64_t x) {return THRIFT_letohll(x);} in fromWire64()
DTCompactProtocol.h178 uint32_t writeVarint64(uint64_t n);
179 uint64_t i64ToZigzag(const int64_t l);
230 int64_t zigzagToI64(uint64_t n);
DTBinaryProtocol.tcc169 static_assert(sizeof(double) == sizeof(uint64_t), "sizeof(double) == sizeof(uint64_t)"); in writeDouble()
172 auto bits = bitwise_cast<uint64_t>(dub); in writeDouble()
404 static_assert(sizeof(double) == sizeof(uint64_t), "sizeof(double) == sizeof(uint64_t)"); in readDouble()
409 uint64_t all; in readDouble()
/thrift-3.4.0/lib/cpp/src/thrift/concurrency/
DMonitor.h78 …int waitForTimeRelative(uint64_t timeout_ms) const { return waitForTimeRelative(std::chrono::milli… in waitForTimeRelative()
101 void wait(uint64_t timeout_ms = 0ULL) const { this->wait(std::chrono::milliseconds(timeout_ms)); }
DTimerManager.h76 …Timer add(std::shared_ptr<Runnable> task, uint64_t timeout) { return add(task,std::chrono::millise… in add()
/thrift-3.4.0/lib/py/src/ext/
Dcompact.h147 uint64_t uval; in readI64()
148 if (readVarint<uint64_t, 10>(uval)) { in readI64()
149 val = fromZigZag<int64_t, uint64_t>(uval); in readI64()
295 uint64_t toZigZag64(int64_t val) { return (val >> 63) ^ (val << 1); } in toZigZag64()
308 int writeVarint64(uint64_t val) { in writeVarint64()
/thrift-3.4.0/contrib/fb303/
DTClientInfo.h156 uint64_t ncalls_; ///< # of calls processed
210 uint64_t getNCalls() const;
DTClientInfo.cpp82 uint64_t TClientInfoConnection::getNCalls() const { in getNCalls()
162 (uint64_t)info->getNCalls()); in getStatsStrings()
/thrift-3.4.0/test/cpp/src/
DTestClient.cpp111 uint64_t now() { in now()
402 uint64_t time_min = 0; in main()
403 uint64_t time_max = 0; in main()
404 uint64_t time_tot = 0; in main()
421 uint64_t start = now(); in main()
1113 uint64_t startOneway = now(); in main()
1115 uint64_t elapsed = now() - startOneway; in main()
1143 uint64_t stop = now(); in main()
1144 uint64_t tot = stop - start; in main()
1161 uint64_t time_avg = time_tot / numTests; in main()
/thrift-3.4.0/lib/php/src/ext/thrift_protocol/
Dphp_thrift_protocol.cpp38 #define bswap_64(x) (((uint64_t)(x) << 56) | \
39 (((uint64_t)(x) << 40) & 0xff000000000000ULL) | \
40 (((uint64_t)(x) << 24) & 0xff0000000000ULL) | \
41 (((uint64_t)(x) << 8) & 0xff00000000ULL) | \
42 (((uint64_t)(x) >> 8) & 0xff000000ULL) | \
43 (((uint64_t)(x) >> 24) & 0xff0000ULL) | \
44 (((uint64_t)(x) >> 40) & 0xff00ULL) | \
45 ((uint64_t)(x) >> 56))
571 uint64_t c; in binary_deserialize()
577 uint64_t c; in binary_deserialize()
/thrift-3.4.0/lib/cpp/test/
DOneWayHTTPTest.cpp132 uint64_t acceptedCount() const { return accepted_; } in acceptedCount()
136 uint64_t accepted_;
DTServerIntegrationTest.cpp94 uint64_t acceptedCount() const { return accepted_; } in acceptedCount()
98 uint64_t accepted_;
191 void blockUntilAccepted(uint64_t numAccepted) { in blockUntilAccepted()
DSpecializationTest.cpp24 ooe.integer64 = (uint64_t)6000 * 1000 * 1000; in BOOST_AUTO_TEST_CASE()
DDebugProtoTest.cpp40 ooe->integer64 = (uint64_t)6000 * 1000 * 1000; in testCaseSetup_1()
/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTWebSocketServer.h252 uint64_t payloadLength = headerBuffer[1] & 0x7F; in readFrame()
264 payloadLength = THRIFT_ntohll(*reinterpret_cast<uint64_t*>(headerBuffer)); in readFrame()
365 *reinterpret_cast<uint64_t*>(header + 2) = THRIFT_htonll(length);
DTBufferTransports.cpp377 …const uint64_t new_size = static_cast<uint64_t>((std::min)(suggested_buffer_size, static_cast<doub… in ensureCanWrite()
DTHeaderTransport.cpp514 …if (static_cast<uint64_t>(szHbp) > static_cast<uint64_t>((std::numeric_limits<uint32_t>().max)()) … in flush()
573 val |= (uint64_t)(byte & 0x7f) << shift; in readVarint32()
/thrift-3.4.0/lib/rb/ext/
Dcompact_protocol.c126 static uint64_t ll_to_zig_zag(int64_t n) { in ll_to_zig_zag()
142 static void write_varint64(VALUE transport, uint64_t n) { in write_varint64()
374 return (((uint64_t)n) >> 1) ^ -(n & 1); in zig_zag_to_ll()
386 result = result | ((uint64_t)(b & 0x7f) << shift); in read_varint64()
549 uint64_t hi = (((uint8_t)(RSTRING_PTR(rbuf)[4]))) in rb_thrift_compact_proto_read_double()

12