/external/tensorflow/tensorflow/core/kernels/ |
training_ops_test.cc | 202 auto ms = Var(g, n); local 206 test::graph::Assign(g, ms, zero); 213 auto ms = Var(g, n); local 221 {var, ms, mom, lr, rho, momentum, epsilon, grad});
|
/external/testng/src/main/java/org/testng/internal/ |
TestNGClassFinder.java | 61 Method[] ms; local 63 ms = cls.getMethods(); 67 ms = new Method[0]; 69 for (Method m : ms) {
|
/external/v8/src/snapshot/ |
snapshot-common.cc | 46 double ms = timer.Elapsed().InMillisecondsF(); local 48 PrintF("[Deserializing isolate (%d bytes) took %0.3f ms]\n", bytes, ms); 72 double ms = timer.Elapsed().InMillisecondsF(); local 74 PrintF("[Deserializing context #%zu (%d bytes) took %0.3f ms]\n", 75 context_index, bytes, ms);
|
code-serializer.cc | 42 double ms = timer.Elapsed().InMillisecondsF(); local 44 PrintF("[Serializing to %d bytes took %0.3f ms]\n", length, ms); 216 double ms = timer.Elapsed().InMillisecondsF(); local 218 PrintF("[Deserializing from %d bytes took %0.3f ms]\n", length, ms);
|
/frameworks/av/media/libnblog/ |
PerformanceAnalysis.cpp | 189 // e.g. timestamps (ms) 1, 4, 5, 16, 18, 28 will produce pairs (4, 5), (13, 18). 261 // ms of active audio in displayed histogram 266 // histogram which stores .1 precision ms counts instead of Jiffy multiple counts 270 const double ms = static_cast<double>(countPair.first) / kJiffyPerMs; local 271 buckets[logRound(ms, mBufferPeriod.mMean)] += countPair.second; 272 elapsedMs += ms * countPair.second; 338 body->appendFormat("%.*s%s", bucketWidth, spaces.c_str(), "ms\n");
|
/frameworks/base/cmds/incidentd/tests/ |
Section_test.cpp | 117 MetadataSection ms; local 127 ASSERT_EQ(NO_ERROR, ms.Execute(&requests));
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 269 long ms = Long.parseLong(retryAfter) * 1000; local 270 setMoratoriumTimeMillis(ms + currentTimeMillis());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
Utils.java | 251 long ms = time - tmp * 1000L; local 261 return String.format("%s%d:%02d:%02d.%03d", millis < 0 ? "-" : "", tmp, m, s, ms); 264 public static String toUTCString(long ms) { 265 if (ms < 0) { 269 c.setTimeInMillis(ms);
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
TimeUnit.java | 351 long ms = toMillis(timeout); local 352 int ns = excessNanos(timeout, ms); 353 obj.wait(ms, ns); 371 long ms = toMillis(timeout); local 372 int ns = excessNanos(timeout, ms); 373 thread.join(ms, ns); 389 long ms = toMillis(timeout); local 390 int ns = excessNanos(timeout, ms); 391 Thread.sleep(ms, ns);
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
AbstractCalendar.java | 117 int ms = 0; // time of day local 140 // days should be 0 and ms is in the range of -13:00 to 143 ms = zoneOffset % DAY_IN_MILLIS; 150 ms += (int) (millis % DAY_IN_MILLIS); 151 if (ms >= DAY_IN_MILLIS) { 152 // at most ms is (DAY_IN_MILLIS - 1) * 2. 153 ms -= DAY_IN_MILLIS; 156 // at most ms is (1 - DAY_IN_MILLIS) * 2. Adding one 158 while (ms < 0) { 159 ms += DAY_IN_MILLIS 179 long ms = (gd - EPOCH_OFFSET) * DAY_IN_MILLIS + getTimeOfDay(date); local [all...] |
/system/core/libprocessgroup/ |
processgroup.cpp | 236 std::this_thread::sleep_for(5ms); 250 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count(); local 261 << " in " << static_cast<int>(ms) << "ms"; 267 << " in " << static_cast<int>(ms) << "ms, " << processes
|
/external/curl/lib/ |
transfer.c | 1151 timediff_t ms = Curl_timediff(k->now, k->start100); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 151 //pattern "s.S, parse '1ms'" 275 long ms = UTC_LONG - offset; local 282 if (t != ms) { 284 + ") " + t + " != " + ms, 0);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 148 //pattern "s.S, parse '1ms'" 272 long ms = UTC_LONG - offset; local 279 if (t != ms) { 281 + ") " + t + " != " + ms, 0);
|
/external/lzma/C/Util/7z/ |
7zMain.c | 291 Byte ms[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
local 310 ms[1] = 29;
313 unsigned d = ms[mon];
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_state.c | 122 uint32_t ms; local 194 ms = 0; 196 ms |= NV50_3D_MULTISAMPLE_CTRL_ALPHA_TO_COVERAGE; 198 ms |= NV50_3D_MULTISAMPLE_CTRL_ALPHA_TO_ONE; 201 SB_DATA (so, ms); [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_state_validate.c | 80 unsigned i, ms; local 200 ms = 1 << ms_mode; 205 BEGIN_1IC0(push, NVC0_3D(CB_POS), 1 + 2 * ms); 207 for (i = 0; i < ms; i++) { 209 nvc0->base.pipe.get_sample_position(&nvc0->base.pipe, ms, i, xy); 215 const uint8_t (*ptr)[2] = nvc0_get_sample_locations(ms); 219 val[i / 4] |= ptr[i % ms][0] << (((i % 4) * 8) + 0); 220 val[i / 4] |= ptr[i % ms][1] << (((i % 4) * 8) + 4);
|
/external/skia/tools/skpbench/ |
skpbench.cpp | 48 DEFINE_bool(fps, false, "use fps instead of ms"); 65 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); } function in struct:Sample 66 double value() const { return FLAGS_fps ? fFrames / this->seconds() : this->ms() / fFrames; } 67 static const char* metric() { return FLAGS_fps ? "fps" : "ms"; }
|
/external/skqp/tools/skpbench/ |
skpbench.cpp | 48 DEFINE_bool(fps, false, "use fps instead of ms"); 65 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); } function in struct:Sample 66 double value() const { return FLAGS_fps ? fFrames / this->seconds() : this->ms() / fFrames; } 67 static const char* metric() { return FLAGS_fps ? "fps" : "ms"; }
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
training_ops.cc | 263 xla::ComputationDataHandle var, ms, mom; variable 265 OP_REQUIRES_OK(ctx, ctx->ReadVariableInput(1, type, &ms_shape, &ms)); 286 // var should be the same shape as mom and ms. 288 errors::InvalidArgument("var and ms do not have the same shape", 306 // ms <- rho * ms_{t-1} + (1-rho) * grad * grad 307 // mom <- momentum * mom_{t-1} + lr * grad / sqrt(ms + epsilon) 310 // We use an alternate formulation of the ms equation: 312 // ms <- ms + (grad**2 - ms) * (1 - rho [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_mschapv2.c | 11 * derivation. This encapsulates MS-CHAP-v2 protocol which is defined in 150 struct eap_mschapv2_hdr *ms; local 165 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; 171 ms = wpabuf_put(resp, sizeof(*ms)); 172 ms->op_code = MSCHAPV2_OP_RESPONSE; 173 ms->mschapv2_id = mschapv2_id; 181 ms->mschapv2_id++; 183 WPA_PUT_BE16(ms->ms_length, ms_len); 221 "(response)", id, ms->mschapv2_id) 779 const struct eap_mschapv2_hdr *ms; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_mschapv2.c | 101 struct eap_mschapv2_hdr *ms; local 112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len; 122 ms = wpabuf_put(req, sizeof(*ms)); 123 ms->op_code = MSCHAPV2_OP_CHALLENGE; 124 ms->mschapv2_id = id; 125 WPA_PUT_BE16(ms->ms_length, ms_len); 144 struct eap_mschapv2_hdr *ms; local 149 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + 160 ms = wpabuf_put(req, sizeof(*ms)) 188 struct eap_mschapv2_hdr *ms; local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARTPWriter.cpp | 322 uint32_t ms = tolel(ALooper::GetNowUs() / 1000ll); local 324 write(fd, &ms, sizeof(ms));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
TaskSnapshotPersisterLoaderTest.java | 93 long ms = SystemClock.elapsedRealtime(); local 101 assertTrue(SystemClock.elapsedRealtime() - ms > 500);
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeupTimer.java | 280 int ms = (int) (time % 1000); local 284 return String.format("%d.%d.%d", m, s, ms);
|