/third_party/node/deps/npm/node_modules/mute-stream/test/ |
D | basic.js | 44 var ms = new MS 46 str.pipe(ms) 49 ms.on('data', function (c) { 52 ms.on('end', function () { 57 ms.mute() 59 ms.unmute() 61 ms.mute() 67 var ms = new MS 69 ms.pipe(str) 80 ms.write('foo') [all …]
|
/third_party/node/deps/npm/node_modules/ms/ |
D | readme.md | 1 # ms chapter 3 [](https://travis-ci.org/zeit/ms) 11 ms('2 days') // 172800000 12 ms('1d') // 86400000 13 ms('10h') // 36000000 14 ms('2.5 hrs') // 9000000 15 ms('2h') // 7200000 16 ms('1m') // 60000 17 ms('5s') // 5000 18 ms('1y') // 31557600000 [all …]
|
D | index.js | 113 function fmtShort(ms) { argument 114 var msAbs = Math.abs(ms); 116 return Math.round(ms / d) + 'd'; 119 return Math.round(ms / h) + 'h'; 122 return Math.round(ms / m) + 'm'; 125 return Math.round(ms / s) + 's'; 127 return ms + 'ms'; 138 function fmtLong(ms) { argument 139 var msAbs = Math.abs(ms); 141 return plural(ms, msAbs, d, 'day'); [all …]
|
/third_party/node/deps/npm/node_modules/debug/node_modules/ms/ |
D | index.js | 108 function fmtShort(ms) { argument 109 if (ms >= d) { 110 return Math.round(ms / d) + 'd'; 112 if (ms >= h) { 113 return Math.round(ms / h) + 'h'; 115 if (ms >= m) { 116 return Math.round(ms / m) + 'm'; 118 if (ms >= s) { 119 return Math.round(ms / s) + 's'; 121 return ms + 'ms'; [all …]
|
D | readme.md | 1 # ms chapter 3 [](https://travis-ci.org/zeit/ms) 11 ms('2 days') // 172800000 12 ms('1d') // 86400000 13 ms('10h') // 36000000 14 ms('2.5 hrs') // 9000000 15 ms('2h') // 7200000 16 ms('1m') // 60000 17 ms('5s') // 5000 18 ms('1y') // 31557600000 [all …]
|
/third_party/flutter/skia/tools/timer/ |
D | Timer.cpp | 9 SkString HumanizeMs(double ms) { in HumanizeMs() argument 10 if (ms > 60e+3) return SkStringPrintf("%.3gm", ms/60e+3); in HumanizeMs() 11 if (ms > 1e+3) return SkStringPrintf("%.3gs", ms/1e+3); in HumanizeMs() 12 if (ms < 1e-3) return SkStringPrintf("%.3gns", ms*1e+6); in HumanizeMs() 14 if (ms < 1) return SkStringPrintf("%.3gus", ms*1e+3); in HumanizeMs() 16 if (ms < 1) return SkStringPrintf("%.3gµs", ms*1e+3); in HumanizeMs() 18 return SkStringPrintf("%.3gms", ms); in HumanizeMs()
|
/third_party/skia/tools/timer/ |
D | Timer.cpp | 9 SkString HumanizeMs(double ms) { in HumanizeMs() argument 10 if (ms > 60e+3) return SkStringPrintf("%.3gm", ms/60e+3); in HumanizeMs() 11 if (ms > 1e+3) return SkStringPrintf("%.3gs", ms/1e+3); in HumanizeMs() 12 if (ms < 1e-3) return SkStringPrintf("%.3gns", ms*1e+6); in HumanizeMs() 14 if (ms < 1) return SkStringPrintf("%.3gus", ms*1e+3); in HumanizeMs() 16 if (ms < 1) return SkStringPrintf("%.3gµs", ms*1e+3); in HumanizeMs() 18 return SkStringPrintf("%.3gms", ms); in HumanizeMs()
|
/third_party/node/deps/npm/node_modules/humanize-ms/ |
D | README.md | 1 humanize-ms 10 [npm-image]: https://img.shields.io/npm/v/humanize-ms.svg?style=flat 11 [npm-url]: https://npmjs.org/package/humanize-ms 12 [travis-image]: https://img.shields.io/travis/node-modules/humanize-ms.svg?style=flat 13 [travis-url]: https://travis-ci.org/node-modules/humanize-ms 14 [coveralls-image]: https://img.shields.io/coveralls/node-modules/humanize-ms.svg?style=flat 15 [coveralls-url]: https://coveralls.io/r/node-modules/humanize-ms?branch=master 18 [david-image]: https://img.shields.io/david/node-modules/humanize-ms.svg?style=flat 19 [david-url]: https://david-dm.org/node-modules/humanize-ms 21 transform humanize time to ms [all …]
|
/third_party/python/Objects/ |
D | listobject.c | 1132 #define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms) 1222 binarysort(MergeState *ms, sortslice lo, PyObject **hi, PyObject **start) in binarysort() argument 1296 count_run(MergeState *ms, PyObject **lo, PyObject **hi, int *descending) in count_run() argument 1351 gallop_left(MergeState *ms, PyObject *key, PyObject **a, Py_ssize_t n, Py_ssize_t hint) in gallop_left() argument 1440 gallop_right(MergeState *ms, PyObject *key, PyObject **a, Py_ssize_t n, Py_ssize_t hint) in gallop_right() argument 1516 merge_init(MergeState *ms, Py_ssize_t list_size, int has_keyfunc) in merge_init() argument 1518 assert(ms != NULL); in merge_init() 1525 ms->alloced = (list_size + 1) / 2; in merge_init() 1530 if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced) in merge_init() 1531 ms->alloced = MERGESTATE_TEMP_SIZE / 2; in merge_init() [all …]
|
/third_party/node/deps/npm/node_modules/mute-stream/ |
D | README.md | 13 var ms = new MuteStream(options) 15 ms.pipe(process.stdout) 16 ms.write('foo') // writes 'foo' to stdout 17 ms.mute() 18 ms.write('bar') // does not write 'bar' 19 ms.unmute() 20 ms.write('baz') // writes 'baz' to stdout 23 var ms = new MuteStream 24 input.pipe(ms) 26 ms.on('data', function (c) { [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 370 MemoryStream ms = new MemoryStream(); in ReadMaliciouslyLargeBlob() 371 CodedOutputStream output = new CodedOutputStream(ms); in ReadMaliciouslyLargeBlob() 378 ms.Position = 0; in ReadMaliciouslyLargeBlob() 380 CodedInputStream input = new CodedInputStream(ms); in ReadMaliciouslyLargeBlob() 389 MemoryStream ms = new MemoryStream(); in ReadBlobGreaterThanCurrentLimit() 390 CodedOutputStream output = new CodedOutputStream(ms); in ReadBlobGreaterThanCurrentLimit() 396 ms.Position = 0; in ReadBlobGreaterThanCurrentLimit() 398 CodedInputStream input = new CodedInputStream(ms); in ReadBlobGreaterThanCurrentLimit() 405 … AssertReadFromParseContext(new ReadOnlySequence<byte>(ms.ToArray()), (ref ParseContext ctx) => in ReadBlobGreaterThanCurrentLimit() 421 MemoryStream ms = new MemoryStream(); in ReadStringGreaterThanCurrentLimit() [all …]
|
/third_party/node/deps/npm/node_modules/performance-now/test/ |
D | performance-now.coffee | 11 it "reported time differs at most 1ms from a freshly reported uptime", -> 29 it "shows that at least 0.2 ms has passed after a timeout of 1 ms", -> 33 it "shows that at most 3 ms has passed after a timeout of 1 ms", -> 37 it "shows that at least 190ms ms has passed after a timeout of 200ms", -> 41 it "shows that at most 220 ms has passed after a timeout of 200ms", ->
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_mschapv2.c | 150 struct eap_mschapv2_hdr *ms; in eap_mschapv2_challenge_reply() local 165 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply() 171 ms = wpabuf_put(resp, sizeof(*ms)); in eap_mschapv2_challenge_reply() 172 ms->op_code = MSCHAPV2_OP_RESPONSE; in eap_mschapv2_challenge_reply() 173 ms->mschapv2_id = mschapv2_id; in eap_mschapv2_challenge_reply() 181 ms->mschapv2_id++; in eap_mschapv2_challenge_reply() 183 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply() 221 "(response)", id, ms->mschapv2_id); in eap_mschapv2_challenge_reply() 521 struct eap_mschapv2_hdr *ms; in eap_mschapv2_change_password() 539 ms_len = sizeof(*ms) + sizeof(*cp); in eap_mschapv2_change_password() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_mschapv2.c | 150 struct eap_mschapv2_hdr *ms; in eap_mschapv2_challenge_reply() local 165 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply() 171 ms = wpabuf_put(resp, sizeof(*ms)); in eap_mschapv2_challenge_reply() 172 ms->op_code = MSCHAPV2_OP_RESPONSE; in eap_mschapv2_challenge_reply() 173 ms->mschapv2_id = mschapv2_id; in eap_mschapv2_challenge_reply() 181 ms->mschapv2_id++; in eap_mschapv2_challenge_reply() 183 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply() 221 "(response)", id, ms->mschapv2_id); in eap_mschapv2_challenge_reply() 521 struct eap_mschapv2_hdr *ms; in eap_mschapv2_change_password() 539 ms_len = sizeof(*ms) + sizeof(*cp); in eap_mschapv2_change_password() [all …]
|
/third_party/musl/src/string/ |
D | wcsstr.c | 9 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_wcsstr() local 32 ms = ip; in twoway_wcsstr() 52 if (ip+1 > ms+1) ms = ip; in twoway_wcsstr() 56 if (wmemcmp(n, n+p, ms+1)) { in twoway_wcsstr() 58 p = MAX(ms, l-ms-1) + 1; in twoway_wcsstr() 79 for (k=MAX(ms+1,mem); n[k] && n[k] == h[k]; k++); in twoway_wcsstr() 81 h += k-ms; in twoway_wcsstr() 86 for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--); in twoway_wcsstr()
|
D | strstr.c | 36 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local 62 ms = ip; in twoway_strstr() 82 if (ip+1 > ms+1) ms = ip; in twoway_strstr() 86 if (memcmp(n, n+p, ms+1)) { in twoway_strstr() 88 p = MAX(ms, l-ms-1) + 1; in twoway_strstr() 124 for (k=MAX(ms+1,mem); n[k] && n[k] == h[k]; k++); in twoway_strstr() 126 h += k-ms; in twoway_strstr() 131 for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--); in twoway_strstr()
|
/third_party/libwebsockets/lib/drivers/pwm/ |
D | pwm.c | 106 .ms = 0 113 .ms = 0 120 .ms = 0 127 .ms = 300 134 .ms = 300 141 .ms = 300 148 .ms = 1500 155 .ms = 750
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | timers.js | 15 var delay = Promise.delay = function (ms, value) { 20 ._then(afterValue, null, null, ms, undefined); 26 handle = setTimeout(function() { ret._fulfill(); }, +ms); 36 Promise.prototype.delay = function (ms) { argument 37 return delay(ms, this); 70 Promise.prototype.timeout = function (ms, message) { argument 71 ms = +ms; 78 }, ms));
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | CuTest.h | 99 #define CuFail(tc, ms) CuFail_Line( (tc), __FILE__, __LINE__, NULL, (ms)) argument 100 #define CuAssert(tc, ms, cond) CuAssert_Line((tc), __FILE__, __LINE__, (ms), (cond)) argument 104 #define CuAssertStrEquals_Msg(tc,ms,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument 106 #define CuAssertIntEquals_Msg(tc,ms,ex,ac) CuAssertIntEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument 108 #define CuAssertDblEquals_Msg(tc,ms,ex,ac,dl) CuAssertDblEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument 110 #define CuAssertPtrEquals_Msg(tc,ms,ex,ac) CuAssertPtrEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_mschapv2.c | 101 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_challenge() local 112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->cfg->server_id_len; in eap_mschapv2_build_challenge() 122 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_challenge() 123 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge() 124 ms->mschapv2_id = id; in eap_mschapv2_build_challenge() 125 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge() 144 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_success_req() local 149 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req() 160 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_success_req() 161 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_mschapv2.c | 101 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_challenge() local 112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len; in eap_mschapv2_build_challenge() 122 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_challenge() 123 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge() 124 ms->mschapv2_id = id; in eap_mschapv2_build_challenge() 125 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge() 144 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_success_req() local 149 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req() 160 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_success_req() 161 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req() [all …]
|
/third_party/node/deps/npm/lib/search/ |
D | all-package-metadata.js | 13 const ms = require('mississippi') constant 39 const stream = ms.through.obj() 51 ms.pipeline.obj(entryStream, writer, stream) 54 ms.pipeline.obj(entryStream, stream) 123 const entryStream = ms.pipeline.obj( 128 ms.through.obj() 155 let entryStream = ms.pipeline.obj( 204 updateStream: entryStream.pipe(ms.through.obj()), 247 return ms.duplex.obj(inputStream, outStream) 265 return ms.pipeline.obj( [all …]
|
/third_party/node/deps/npm/node_modules/agentkeepalive/ |
D | README.md | 176 50 maxSockets, 60 concurrent, 1000 requests per concurrent, 5ms delay 216 {" <10ms":662," <15ms":17825," <20ms":20552," <30ms":17646," <40ms":2315," <50ms":567," <100ms":377… 219 {" <10ms":75," <15ms":1112," <20ms":10947," <30ms":32130," <40ms":8228," <50ms":3002," <100ms":4274…
|
/third_party/libffi/src/ |
D | dlmalloc.c | 4528 mstate ms = (mstate)msp; in destroy_mspace() local 4529 if (ok_magic(ms)) { in destroy_mspace() 4530 msegmentptr sp = &ms->seg; in destroy_mspace() 4542 USAGE_ERROR_ACTION(ms,ms); in destroy_mspace() 4554 mstate ms = (mstate)msp; in mspace_malloc() local 4555 if (!ok_magic(ms)) { in mspace_malloc() 4556 USAGE_ERROR_ACTION(ms,ms); in mspace_malloc() 4559 if (!PREACTION(ms)) { in mspace_malloc() 4567 smallbits = ms->smallmap >> idx; in mspace_malloc() 4572 b = smallbin_at(ms, idx); in mspace_malloc() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_malloc.c | 4604 mstate ms = (mstate) msp; in destroy_mspace() local 4605 if (ok_magic(ms)) { in destroy_mspace() 4606 msegmentptr sp = &ms->seg; in destroy_mspace() 4617 USAGE_ERROR_ACTION(ms, ms); in destroy_mspace() 4631 mstate ms = (mstate) msp; in mspace_malloc() local 4632 if (!ok_magic(ms)) { in mspace_malloc() 4633 USAGE_ERROR_ACTION(ms, ms); in mspace_malloc() 4636 if (!PREACTION(ms)) { in mspace_malloc() 4644 smallbits = ms->smallmap >> idx; in mspace_malloc() 4649 b = smallbin_at(ms, idx); in mspace_malloc() [all …]
|