Home
last modified time | relevance | path

Searched refs:nowInSeconds (Results 1 – 4 of 4) sorted by relevance

/dports/devel/folly/folly-2021.12.27.00/folly/
H A DTokenBucket.h140 double nowInSeconds, in consume() argument
157 zeroTimeNew = nowInSeconds - tokensNew / rate; in consume()
327 double nowInSeconds = defaultClockNow()) {
363 double nowInSeconds = defaultClockNow()) {
414 double nowInSeconds = defaultClockNow()) {
445 double nowInSeconds = defaultClockNow()) {
540 setCapacity(availTokens, nowInSeconds);
554 tokenBucket_.reset(nowInSeconds - tokens / rate_); in setCapacity()
591 toConsume, rate_, burstSize_, nowInSeconds);
608 toConsume, rate_, burstSize_, nowInSeconds);
[all …]
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/Folly/folly/
H A DTokenBucket.h125 double nowInSeconds = defaultClockNow()) {
158 double nowInSeconds = defaultClockNow()) {
185 double nowInSeconds = defaultClockNow()) const noexcept {
197 double nowInSeconds, in consumeImpl() argument
206 zeroTimeNew = nowInSeconds - tokens / rate; in consumeImpl()
281 double nowInSeconds = defaultClockNow()) noexcept {
284 const double availTokens = available(nowInSeconds);
287 setCapacity(availTokens, nowInSeconds);
301 tokenBucket_.reset(nowInSeconds - tokens / rate_); in setCapacity()
337 double nowInSeconds = defaultClockNow()) {
[all …]
/dports/net/storj/storj-1.45.3/web/satellite/src/components/account/billing/depositAndBillingHistory/
H A DPaymentsHistoryItemDate.vue42 private nowInSeconds = Math.trunc(new Date().getTime() / 1000);
54 this.isExpired = (this.expirationTimeInSeconds - this.nowInSeconds) < 0;
74 return (this.expirationTimeInSeconds - this.nowInSeconds) % 60;
81 return Math.trunc((this.expirationTimeInSeconds - this.nowInSeconds) / 60) % 60;
88 return Math.trunc((this.expirationTimeInSeconds - this.nowInSeconds) / 3600) % 24;
103 … if ((this.expirationTimeInSeconds - this.nowInSeconds) < 0 || this.isTransactionCompleted) {
110 this.nowInSeconds = Math.trunc(new Date().getTime() / 1000);
/dports/mail/thunderbird/thunderbird-91.8.0/comm/mailnews/local/src/
H A DnsPop3Protocol.cpp1060 uint32_t nowInSeconds = TimeInSecondsFromPRTime(PR_Now()); in LoadUrlInternal() local
1061 uint32_t cutOffDay = nowInSeconds - (60 * 60 * 24 * numDaysToLeaveOnServer); in LoadUrlInternal()