| /external/apache-commons-math/src/main/java/org/apache/commons/math3/ode/ |
| D | ExpandableStatefulODE.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 50 /** Time. */ 51 private double time; field in ExpandableStatefulODE 71 this.time = Double.NaN; in ExpandableStatefulODE() 99 final EquationsMapper lastMapper = components.get(components.size() - 1).mapper; in getTotalDimension() 105 * Get the current time derivative of the complete state vector. 107 * @param t current value of the independent <I>time</I> variable 108 * @param y array containing the current value of the complete state vector 109 * @param yDot placeholder array where to put the time derivative of the complete state vector 145 final SecondaryComponent last = components.get(components.size() - 1); in addSecondaryEquations() [all …]
|
| /external/rust/crates/tracing-subscriber/src/fmt/time/ |
| D | mod.rs | 4 use std::time::Instant; 8 #[cfg(feature = "time")] 11 #[cfg(feature = "time")] 12 #[cfg_attr(docsrs, doc(cfg(feature = "time")))] 15 #[cfg(feature = "local-time")] 16 #[cfg_attr(docsrs, doc(cfg(all(unsound_local_offset, feature = "local-time"))))] 19 #[cfg(feature = "time")] 20 #[cfg_attr(docsrs, doc(cfg(feature = "time")))] 23 /// [`chrono`]-based implementation for [`FormatTime`]. 35 /// A type that can measure and format the current time. [all …]
|
| /external/apache-commons-lang/src/main/java/org/apache/commons/lang3/concurrent/ |
| D | EventCountCircuitBreaker.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 36 * specific time interval exceeds a configurable threshold, the circuit breaker changes 38 * system; the application should no longer call it, but give it some time to settle down. 40 * certain time frame if the number of events received goes below a threshold. 67 * Suddenly, the number of requests increases significantly - maybe because a connected 92 * In this scenario, an application uses an external service which may fail from time to 93 * time. If there are too many errors, the service is considered down and should not be 94 * called for a while. This can be achieved using the following pattern - in this concrete 96 * given a rest time of 10 minutes: 125 * <li>This implementation uses non-blocking algorithms to update the internal counter and [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/ |
| D | live-streaming.md | 1 --- 3 --- 5 ExoPlayer plays most adaptive live streams out-of-the-box without any special 9 regular intervals to move with the current real-time. That means the playback 11 current real-time at which the stream is being produced. The difference between 12 the current real-time and the playback position is called the *live offset*. 23 enough available buffer over a longer period of time, the player will move 28 Every time a live window is updated, registered `Player.Listener` instances 30 current live playback by querying various `Player` and `Timeline.Window` 33 {% include figure.html url="/images/live-window.png" index="1" caption="Live window" %} [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/ |
| D | live-streaming.md | 1 --- 3 --- 5 ExoPlayer plays most adaptive live streams out-of-the-box without any special 9 regular intervals to move with the current real-time. That means the playback 11 current real-time at which the stream is being produced. The difference between 12 the current real-time and the playback position is called the *live offset*. 23 enough available buffer over a longer period of time, the player will move 28 Every time a live window is updated, registered `Player.Listener` instances 30 current live playback by querying various `Player` and `Timeline.Window` 33 {% include figure.html url="/images/live-window.png" index="1" caption="Live window" %} [all …]
|
| /external/ltp/include/lapi/ |
| D | msgbuf.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 * - 2 miscellaneous unsigned long values 32 long msg_stime; /* last msgsnd time */ 33 long msg_rtime; /* last msgrcv time */ 34 long msg_ctime; /* last change time */ 35 unsigned long msg_cbytes; /* current number of bytes on queue */ 48 unsigned long msg_stime; /* last msgsnd time */ 50 unsigned long msg_rtime; /* last msgrcv time */ 52 unsigned long msg_ctime; /* last change time */ 53 unsigned long msg_cbytes; /* current number of bytes on queue */ [all …]
|
| D | shmbuf.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 * As MIPS was lacking proper padding after shm_?time, we use 48 bits 25 * of the padding at the end to store a few additional bits of the time. 27 * data structure when moving to 64-bit time_t. 34 long shm_atime; /* last attach time */ 35 long shm_dtime; /* last detach time */ 36 long shm_ctime; /* last change time */ 39 unsigned long shm_nattch; /* no. of current attaches */ 48 unsigned long shm_atime; /* last attach time */ 49 unsigned long shm_dtime; /* last detach time */ [all …]
|
| /external/linux-kselftest/tools/testing/selftests/rtc/ |
| D | setdate.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Real Time Clock Driver Test 6 * gcc rtctest_setdate.c -o rtctest_setdate 12 #include <sys/time.h> 24 struct rtc_time new, current; in main() local 26 const char *time = default_time; in main() local 30 time = argv[3]; in main() 37 fprintf(stderr, "usage: rtctest_setdate <rtcdev> <DD-MM-YYYY> [HH:MM:SS]\n"); in main() 42 if (fd == -1) { in main() 47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main() [all …]
|
| /external/threetenbp/src/main/java/org/threeten/bp/ |
| D | Clock.java | 2 * Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos 16 * * Neither the name of JSR-310 nor the names of its contributors 43 * A clock providing access to the current instant, date and time using a time-zone. 45 * Instances of this class are used to find the current instant, which can be 46 * interpreted using the stored time-zone to find the current date and time. 50 * Use of a {@code Clock} is optional. All key date-time classes also have a 51 * {@code now()} factory method that uses the system clock in the default time zone. 54 * current time rather than a static method. This can simplify testing. 57 * that requires the current instant. A dependency injection framework is one 79 * All implementations that can be instantiated must be final, immutable and thread-safe. [all …]
|
| /external/rust/crates/grpcio-sys/grpc/.github/workflows/ |
| D | pr-auto-fix.yaml | 7 actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action) 8 contents: write # to create branch (peter-evans/create-pull-request) 9 pull-requests: write # to create a PR (peter-evans/create-pull-request) 11 runs-on: ubuntu-latest 14 - name: Get current time 15 uses: srfrnk/current-time@master 16 id: current-time 19 - name: Get current time 20 uses: srfrnk/current-time@master 21 id: current-time-with-day [all …]
|
| /external/grpc-grpc/.github/workflows/ |
| D | pr-auto-fix.yaml | 7 actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action) 8 contents: write # to create branch (peter-evans/create-pull-request) 9 pull-requests: write # to create a PR (peter-evans/create-pull-request) 11 runs-on: ubuntu-latest 14 - name: Get current time 15 uses: srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e # v1.1.0 16 id: current-time 19 - name: Get current time 20 uses: srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e # v1.1.0 21 id: current-time-with-day [all …]
|
| /external/webrtc/rtc_base/ |
| D | rate_tracker.cc | 4 * Use of this source code is governed by a BSD-style license 20 static const int64_t kTimeUnset = -1; 41 int64_t current_time = Time(); in ComputeRateForInterval() 42 // Calculate which buckets to sum up given the current time. If the time in ComputeRateForInterval() 47 // number of old buckets (i.e. after the current bucket in the ring buffer) in ComputeRateForInterval() 48 // that are expired given our current time interval. in ComputeRateForInterval() 51 // current interval. in ComputeRateForInterval() 56 current_time - bucket_start_time_milliseconds_ + in ComputeRateForInterval() 57 static_cast<int64_t>(bucket_count_) * bucket_milliseconds_ - in ComputeRateForInterval() 62 buckets_to_skip = bucket_count_ - current_bucket_; in ComputeRateForInterval() [all …]
|
| D | time_utils.h | 4 * Use of this source code is governed by a BSD-style license 15 #include <time.h> 36 // epoch. This is useful when converting between the NTP time base and the 37 // time base used in RTCP reports. 40 // TODO(honghaiz): Define a type for the time value specifically. 48 // Sets the global source of time. This is useful mainly for unit tests. in ~ClockInterface() 55 // This method is not thread-safe; it should only be used when no other thread in ~ClockInterface() 68 // Synchronizes the current clock based upon an NTP server's epoch in in ~ClockInterface() 72 // Returns the current time in nanoseconds. The clock is synchonized with the 73 // system wall clock time upon instatiation. It may also be synchronized using [all …]
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/ |
| D | AbstractStepInterpolator.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 32 * previous and the current grid points (dense output).</p> 38 * @version $Revision: 1073158 $ $Date: 2011-02-21 22:46:52 +0100 (lun. 21 févr. 2011) $ 46 /** current time step */ 49 /** current state */ 52 /** interpolated time */ 61 /** global previous time */ 64 /** global current time */ 67 /** soft previous time */ 70 /** soft current time */ [all …]
|
| /external/rust/crates/env_logger/src/fmt/humantime/ |
| D | extern_impl.rs | 2 use std::time::SystemTime; 15 /// Get a [`Timestamp`] for the current date and time in UTC. 19 /// Include the current timestamp with the log record: 34 pub fn timestamp(&self) -> Timestamp { in timestamp() 36 time: SystemTime::now(), in timestamp() 41 /// Get a [`Timestamp`] for the current date and time in UTC with full 43 pub fn timestamp_seconds(&self) -> Timestamp { in timestamp_seconds() 45 time: SystemTime::now(), in timestamp_seconds() 50 /// Get a [`Timestamp`] for the current date and time in UTC with 52 pub fn timestamp_millis(&self) -> Timestamp { in timestamp_millis() [all …]
|
| /external/webrtc/rtc_base/numerics/ |
| D | moving_max_counter.h | 4 * Use of this source code is governed by a BSD-style license 29 // Samples can be added with `Add()` and max over current window is returned by 31 // should never decrease as if it's a wallclock time. 40 // Advances the current time, and adds a new sample. The new current time must 41 // be at least as large as the old current time. 43 // Advances the current time, and returns the maximum sample in the time 44 // window ending at the current time. The new current time must be at least as 45 // large as the old current time. 74 // equal samples could be removed. This will maintain the invariant - deque in Add() 79 // Add the new sample but only if there's no existing sample at the same time. in Add() [all …]
|
| /external/scapy/scapy/ |
| D | volatile.py | 11 import random,time,math 34 self.top = sup-inf+1 42 self.fsmask = 2**self.fs-1 52 self.cnt_key = self.rnd.randint(0,2**self.n-1) 63 ct |= lsb << (self.n-self.fs) 119 return self._fix() - other 121 return other - self._fix() 160 RandNum.__init__(self, 0, 2**8-1) 164 RandNum.__init__(self, -2**7, 2**7-1) 168 RandNum.__init__(self, 0, 2**16-1) [all …]
|
| /external/sdv/vsomeip/third_party/boost/thread/doc/ |
| D | condition_variables.qbk | 2 (C) Copyright 2007-11 Anthony Williams. 3 (C) Copyright 2011-12 Vicente J. Botet Escriba. 58 In the mean time, another thread sets the condition to `true`, and then calls 209 [[Precondition:] [`lock` is locked by the current thread, and either no other 213 `lock->mutex()` for this call to `wait`.]] 215 [[Effects:] [Atomically call `lock.unlock()` and blocks the current thread. The 216 thread will unblock when notified by a call to `this->notify_one()` or 217 `this->notify_all()`, or spuriously. When the thread is unblocked (for whatever 222 [[Postcondition:] [`lock` is locked by the current thread.]] 226 __interrupt__ on the __thread__ object associated with the current thread of execution.]] [all …]
|
| /external/icu/icu4c/source/i18n/unicode/ |
| D | gregocal.h | 4 * Copyright (C) 1997-2013, International Business Machines Corporation and others. 15 * 09/04/98 stephen Re-sync with JDK 8/31 putback 79 * // get the supported ids for GMT-08:00 (Pacific Standard Time) 81 * const StringEnumeration *ids = TimeZone::createEnumeration(-8 * 60 * 60 * 1000, success); 88 * cout << "Current Time" << endl; 90 * // create a Pacific Standard Time time zone 91 * SimpleTimeZone* pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids->unext(nullptr, success))); 93 * // set up rules for daylight savings time 94 * pdt->setStartRule(UCAL_MARCH, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000); 95 * pdt->setEndRule(UCAL_NOVEMBER, 2, UCAL_SUNDAY, 2 * 60 * 60 * 1000); [all …]
|
| /external/icu/libicu/cts_headers/unicode/ |
| D | gregocal.h | 4 * Copyright (C) 1997-2013, International Business Machines Corporation and others. 15 * 09/04/98 stephen Re-sync with JDK 8/31 putback 79 * // get the supported ids for GMT-08:00 (Pacific Standard Time) 81 * const StringEnumeration *ids = TimeZone::createEnumeration(-8 * 60 * 60 * 1000, success); 88 * cout << "Current Time" << endl; 90 * // create a Pacific Standard Time time zone 91 * SimpleTimeZone* pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids->unext(nullptr, success))); 93 * // set up rules for daylight savings time 94 * pdt->setStartRule(UCAL_MARCH, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000); 95 * pdt->setEndRule(UCAL_NOVEMBER, 2, UCAL_SUNDAY, 2 * 60 * 60 * 1000); [all …]
|
| D | calendar.h | 5 * Copyright (C) 1997-2014, International Business Machines 63 * time with millisecond precision. See UDate 72 * **NOTE**: (ICU 2.6) The subclass interface should be considered unstable - 75 * Like other locale-sensitive classes, `Calendar` provides a 79 * time fields have been initialized with the current date and time: 83 * A `Calendar` object can produce all the time field values 84 * needed to implement the date-time formatting for a particular language 85 * and calendar style (for example, Japanese-Gregorian, Japanese-Traditional). 87 * When computing a `UDate` from time fields, some special circumstances 91 * -- July 15, 1996 is actually a Monday), or the input time might be ambiguous [all …]
|
| /external/cronet/third_party/icu/source/i18n/unicode/ |
| D | gregocal.h | 4 * Copyright (C) 1997-2013, International Business Machines Corporation and others. 15 * 09/04/98 stephen Re-sync with JDK 8/31 putback 79 * // get the supported ids for GMT-08:00 (Pacific Standard Time) 81 * const StringEnumeration *ids = TimeZone::createEnumeration(-8 * 60 * 60 * 1000, success); 88 * cout << "Current Time" << endl; 90 * // create a Pacific Standard Time time zone 91 * SimpleTimeZone* pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids->unext(nullptr, success))); 93 * // set up rules for daylight savings time 94 * pdt->setStartRule(UCAL_MARCH, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000); 95 * pdt->setEndRule(UCAL_NOVEMBER, 2, UCAL_SUNDAY, 2 * 60 * 60 * 1000); [all …]
|
| D | calendar.h | 5 * Copyright (C) 1997-2014, International Business Machines 63 * time with millisecond precision. See UDate 72 * **NOTE**: (ICU 2.6) The subclass interface should be considered unstable - 75 * Like other locale-sensitive classes, `Calendar` provides a 79 * time fields have been initialized with the current date and time: 83 * A `Calendar` object can produce all the time field values 84 * needed to implement the date-time formatting for a particular language 85 * and calendar style (for example, Japanese-Gregorian, Japanese-Traditional). 87 * When computing a `UDate` from time fields, some special circumstances 91 * -- July 15, 1996 is actually a Monday), or the input time might be ambiguous [all …]
|
| /external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
| D | quic_clock.h | 2 // Use of this source code is governed by a BSD-style license that can be 12 QuicClock is used by QUIC core to get current time. Its instance is created by 14 API-DESCRIPTION */ 18 // Interface for retrieving the current time. 27 // Returns the approximate current time as a QuicTime object. 30 // Returns the current time as a QuicTime object. 34 // WallNow returns the current wall-time - a time that is consistent across
|
| /external/webrtc/net/dcsctp/tx/ |
| D | stream_scheduler.h | 4 * Use of this source code is governed by a BSD-style license 40 // scheduling algorithm using virtual finish time. It is to be used as a part of 45 // with a "virtual finish time", which is the time when a stream is allowed to 46 // produce data. Streams are ordered by their virtual finish time, and the 47 // "current virtual time" will advance to the next following virtual finish time 50 // When message interleaving is enabled, the WFQ - Weighted Fair Queueing - 51 // scheduling algorithm will be used. And when it's not, round-robin scheduling 54 // In the round robin scheduling algorithm, a stream's virtual finish time will 56 // round-robin scheduling. 58 // In WFQ scheduling algorithm, a stream's virtual finish time will be defined [all …]
|