/third_party/node/test/known_issues/ |
H A D | test-vm-timeout-escape-queuemicrotask.js | 22 const span = (current - start) / NS_PER_MS; 23 if (span >= loopDuration) { 25 `escaped ${timeout}ms timeout at ${span}ms`);
|
/third_party/node/test/parallel/ |
H A D | test-vm-timeout-escape-promise-module.js | 20 const span = (current - start) / NS_PER_MS; 21 if (span >= 2000n) { 23 `escaped timeout at ${span} milliseconds!`);
|
/third_party/node/test/sequential/ |
H A D | test-vm-timeout-escape-promise-module-2.js | 20 const span = (current - start) / NS_PER_MS; 21 if (span >= 100n) { 23 `escaped timeout at ${span} milliseconds!`);
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | parser_handler.h | 9 #include "span.h" 23 virtual void HandleString8(span<uint8_t> chars) = 0; 24 virtual void HandleString16(span<uint16_t> chars) = 0; 25 virtual void HandleBinary(span<uint8_t> bytes) = 0;
|
H A D | cbor_test.cc | 18 #include "span.h" 316 EncodeString16(span<uint16_t>(), &encoded); in TEST() 325 span<uint8_t> decoded_string16_wirerep = tokenizer.GetString16WireRep(); in TEST() 335 std::vector<uint16_t> String16WireRepToHost(span<uint8_t> in) { in String16WireRepToHost() 351 EncodeString16(span<uint16_t>(msg.data(), msg.size()), &encoded); in TEST() 386 EncodeString16(span<uint16_t>(two_fifty.data(), two_fifty.size()), &encoded); in TEST() 503 EncodeFromUTF16(span<uint16_t>(ascii.data(), ascii.size()), &encoded); in TEST() 520 EncodeFromUTF16(span<uint16_t>(msg.data(), msg.size()), &encoded); in TEST() 537 EncodeBinary(span<uint8_t>(binary.data(), binary.size()), &encoded); in TEST() 701 encoder->HandleString16(span<uint16_ in TEST() [all...] |
/third_party/rust/crates/quote/src/ |
H A D | spanned.rs | 29 let mut iter = tokens.into_iter().map(|tt| tt.span()); in join_spans() 32 Some(span) => span, in join_spans()
|
/third_party/libwebsockets/lib/roles/mqtt/ |
H A D | primitives.c | 294 uint16_t span = (uint16_t)(s->len - s->pos); in lws_mqtt_str_parse() local 296 if (span > *len) in lws_mqtt_str_parse() 297 span = (uint16_t)*len; in lws_mqtt_str_parse() 299 memcpy(s->buf + s->pos, *in, span); in lws_mqtt_str_parse() 300 *in += span; in lws_mqtt_str_parse() 301 s->pos = (uint16_t)(s->pos + (uint16_t)span); in lws_mqtt_str_parse()
|
/third_party/rust/crates/proc-macro-error/src/ |
H A D | lib.rs | 39 //! - "help" suggestions can't have their own span info on stable, 40 //! (essentially inheriting the parent span). 123 //! `abort` and `emit_error` take a "source span" as the first argument. This source 127 //! This source is the preferable one since it doesn't lose span information on multi-token 182 //! abort!(span, message) 184 //! The first argument is an expression the span info should be taken from. 189 //! abort!(span, format_literal, format_args...) 198 //! and do not take span in 2'th and 3'th forms. Those are essentially shortcuts for 201 //! `diagnostic!` requires a [`Level`] instance between `span` and second argument 206 //! > If you have some type from `proc_macro` or `syn` to point to, do not call `.span()` [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
H A D | cat_test.c | 56 unsigned long span) in show_cache_info() 58 unsigned long allocated_cache_lines = span / 64; in show_cache_info() 111 show_cache_info(sum_llc_perf_miss, no_of_bits, param->span); in check_results() 179 param.span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val() 200 param.span = cache_size * n / count_of_bits; in cat_perf_miss_val() 55 show_cache_info(unsigned long sum_llc_perf_miss, int no_of_bits, unsigned long span) show_cache_info() argument
|
H A D | resctrl_tests.c | 60 int res, c, cpu_no = 1, span = 250, argc_new = argc, i, no_of_bits = 5; in main() local 152 sprintf(benchmark_cmd[1], "%d", span); in main() 170 res = mbm_bw_change(span, cpu_no, bw_report, benchmark_cmd); in main() 179 sprintf(benchmark_cmd[1], "%d", span); in main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | UnicodeSetSpanner.java | 95 * Options for replaceFrom and countIn to control how to treat each matched span. 102 * Collapse spans. That is, modify/count the entire matching span as a single item, instead of separate 145 * whether to treat an entire span as a match, or individual elements as matches 160 * whether to treat an entire span as a match, or individual elements as matches 162 * the spanCondition to use. SIMPLE or CONTAINED means only count the elements in the span; 177 int endOfSpan = unicodeSet.span(sequence, start, skipSpan); in countIn() 182 start = unicodeSet.span(sequence, endOfSpan, spanCondition); in countIn() 248 * whether to treat an entire span as a match, or individual elements as matches 265 * whether to treat an entire span as a match, or individual elements as matches 287 endModify = unicodeSet.span(sequenc in replaceFrom() [all...] |
H A D | FilteredNormalizer2.java | 19 * Filtering is done via UnicodeSet.span(..., UnicodeSet.SpanCondition.SIMPLE). 129 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() 152 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() 177 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes() 223 // span length at the start of src. 234 int spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 270 int prefixLimit=set.span(second, 0, UnicodeSet.SpanCondition.SIMPLE); in normalizeSecondAndAppend()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | UnicodeSetSpanner.java | 86 * Options for replaceFrom and countIn to control how to treat each matched span. 91 * Collapse spans. That is, modify/count the entire matching span as a single item, instead of separate 128 * whether to treat an entire span as a match, or individual elements as matches 141 * whether to treat an entire span as a match, or individual elements as matches 143 * the spanCondition to use. SIMPLE or CONTAINED means only count the elements in the span; 156 int endOfSpan = unicodeSet.span(sequence, start, skipSpan); in countIn() 161 start = unicodeSet.span(sequence, endOfSpan, spanCondition); in countIn() 221 * whether to treat an entire span as a match, or individual elements as matches 236 * whether to treat an entire span as a match, or individual elements as matches 256 endModify = unicodeSet.span(sequenc in replaceFrom() [all...] |
H A D | FilteredNormalizer2.java | 20 * Filtering is done via UnicodeSet.span(..., UnicodeSet.SpanCondition.SIMPLE). 120 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() 142 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() 166 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes() 209 // span length at the start of src. 220 int spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 256 int prefixLimit=set.span(second, 0, UnicodeSet.SpanCondition.SIMPLE); in normalizeSecondAndAppend()
|
/third_party/skia/src/core/ |
H A D | SkBlitter_ARGB32.cpp | 956 const SkPMColor* SK_RESTRICT span, in blend_srcmode() 960 device[i] = SkFourByteInterp256(span[i], device[i], aa256); in blend_srcmode() 1008 SkPMColor* span = fBuffer; in blitH() local 1009 fShaderContext->shadeSpan(x, y, span, width); in blitH() 1011 fXfermode->xfer32(device, span, width, nullptr); in blitH() 1013 fProc32(device, span, width, 255); in blitH() 1025 SkPMColor* span = fBuffer; in blitRect() local 1031 span = device; in blitRect() 1034 memcpy(device, span, width << 2); in blitRect() 1037 shaderContext->shadeSpan(x, y, span, widt in blitRect() 955 blend_srcmode(SkPMColor* SK_RESTRICT device, const SkPMColor* SK_RESTRICT span, int count, U8CPU aa) blend_srcmode() argument 1086 SkPMColor* span = fBuffer; blitAntiH() local 1320 SkPMColor* span = fBuffer; blitMask() local 1327 xfer->xfer32(reinterpret_cast<SkPMColor*>(dstRow), span, width, maskRow); blitMask() local 1336 blend_row(reinterpret_cast<SkPMColor*>(dstRow), maskRow, span, width); blitMask() local 1401 SkPMColor* span = fBuffer; blitV() local [all...] |
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding_test.cc | 58 // span - sequence of bytes 68 span<TypeParam> empty; in TYPED_TEST() 77 span<TypeParam> singular(&single_item, 1); in TYPED_TEST() 87 span<TypeParam> five_items(test_input.data(), 5); in TYPED_TEST() 97 span<TypeParam> three_items = five_items.subspan(2); in TYPED_TEST() 102 span<TypeParam> two_items = five_items.subspan(2, 2); in TYPED_TEST() 361 EncodeString16(span<uint16_t>(), &encoded); in TEST() 370 span<uint8_t> decoded_string16_wirerep = tokenizer.GetString16WireRep(); in TEST() 380 std::vector<uint16_t> String16WireRepToHost(span<uint8_t> in) { in String16WireRepToHost() 396 EncodeString16(span<uint16_ in TEST() [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_weight_align.cpp | 147 * @param[out] weight_span Per angular step, the span between lowest and highest weight. 227 // Write out min weight and weight span; clamp span to a usable range in compute_lowest_and_highest_weight() 228 vint span = float_to_int(maxidx - minidx + vfloat(1)); in compute_lowest_and_highest_weight() local 229 span = min(span, vint(max_quant_steps + 3)); in compute_lowest_and_highest_weight() 230 span = max(span, vint(2)); in compute_lowest_and_highest_weight() 232 storea(span, weight_span + sp); in compute_lowest_and_highest_weight() 303 // Write out min weight and weight span; clam in compute_lowest_and_highest_weight() 304 vint span = float_to_int(maxidx - minidx + vfloat(1)); compute_lowest_and_highest_weight() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/ |
H A D | mbm_test.c | 18 show_bw_info(unsigned long *bw_imc, unsigned long *bw_resc, size_t span) in show_bw_info() argument 43 ksft_print_msg("Span (MB): %zu\n", span / MB); in show_bw_info() 50 static int check_results(size_t span) in check_results() argument 82 ret = show_bw_info(bw_imc, bw_resc, span); in check_results()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | WriteMessagesBenchmark.cs | 171 var span = new Span<byte>(outputBuffer); // use pre-existing output buffer in WriteToSpan_PreAllocatedBuffer() 172 message.WriteTo(span); in WriteToSpan_PreAllocatedBuffer() 188 var span = new Span<byte>(multipleMessagesOutputBuffer); // use pre-existing output buffer in WriteDelimitedMessagesToSpan_PreAllocatedBuffer() 189 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteDelimitedMessagesToSpan_PreAllocatedBuffer()
|
/third_party/python/Lib/test/ |
H A D | test_re.py | 85 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 86 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 87 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 88 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 90 self.assertEqual(re.match('a*', 'xxx').span(0), (0, 0)) 91 self.assertEqual(re.match('a*', 'xxx').span(), (0, 0)) 92 self.assertEqual(re.match('x*', 'xxxa').span(0), (0, 3)) 93 self.assertEqual(re.match('x*', 'xxxa').span(), (0, 3)) 99 self.assertEqual(re.match('(ab|ba)', 'ab').span(), (0, 2)) 100 self.assertEqual(re.match('(ab|ba)', 'ba').span(), ( [all...] |
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 72 static bool __alloc_iova_check_hole(struct interval_tree_double_span_iter *span, in __alloc_iova_check_hole() argument 77 if (span->is_used || span->last_hole - span->start_hole < length - 1) in __alloc_iova_check_hole() 80 span->start_hole = ALIGN(span->start_hole, iova_alignment) | in __alloc_iova_check_hole() 82 if (span->start_hole > span->last_hole || in __alloc_iova_check_hole() 83 span->last_hole - span in __alloc_iova_check_hole() 88 __alloc_iova_check_used(struct interval_tree_span_iter *span, unsigned long length, unsigned long iova_alignment, unsigned long page_offset) __alloc_iova_check_used() argument [all...] |
/third_party/skia/src/pathops/ |
H A D | SkOpSpan.h | 23 // subset of op span used by terminal span (when t is equal to one) 87 void insert(SkOpPtT* span) { in insert() argument 88 SkASSERT(span != this); in insert() 89 span->fNext = fNext; in insert() 90 fNext = span; in insert() 150 void setSpan(const SkOpSpanBase* span) { in setSpan() argument 151 fSpan = const_cast<SkOpSpanBase*>(span); in setSpan() 154 const SkOpSpanBase* span() const { in span() function in SkOpPtT 158 SkOpSpanBase* span() { in span() function in SkOpPtT [all...] |
/third_party/rust/crates/quote/tests/ui/ |
H A D | wrong-type-span.rs | 4 let span = ""; in main() 6 quote_spanned!(span=> #x); in main()
|
/third_party/gn/src/gn/ |
H A D | resolved_target_data.h | 11 #include "base/containers/span.h" 53 base::span<const Target*> GetDataDeps(const Target* target) const { in GetDataDeps() 59 base::span<const Target*> GetLinkedDeps(const Target* target) const { in GetLinkedDeps() 123 base::span<const Target*> GetSwiftModuleDependencies( in GetSwiftModuleDependencies() 257 base::span<const Target*> deps, 267 void ComputeRustLibsFor(base::span<const Target*> deps,
|
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_parser.h | 123 * sshp_buf_span_from() - Initialize a span from the given buffer and offset. 124 * @buf: The buffer to create the span from. 125 * @offset: The offset in the buffer at which the span should start. 126 * @span: The span to initialize (output). 128 * Initializes the provided span to point to the memory at the given offset in 129 * the buffer, with the length of the span being capped by the number of bytes 138 struct ssam_span *span) in sshp_buf_span_from() 140 span->ptr = buf->ptr + offset; in sshp_buf_span_from() 141 span in sshp_buf_span_from() 137 sshp_buf_span_from(struct sshp_buf *buf, size_t offset, struct ssam_span *span) sshp_buf_span_from() argument [all...] |