/third_party/qrcodegen/rust-no-heap/src/ |
H A D | lib.rs | 47 //! - User can specify minimum and maximum version numbers allowed, then library will automatically choose smallest version in the range that fits the data 136 /// If the data is too long to fit in any version in the given range 139 /// The smallest possible QR Code version within the given range is automatically 193 /// If the data is too long to fit in any version in the given range 196 /// The smallest possible QR Code version within the given range is automatically 207 /// - The input slice range dataandtempbuffer[0 .. datalen] should normally be 241 /// The smallest possible QR Code version within the given range is automatically 264 } else if version >= maxversion { // All versions in the range could not fit the given data in encode_segments_to_codewords() 361 /// Returns this QR Code's version, in the range [1, 40]. 367 /// Returns this QR Code's size, in the range [2 [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_queues.py | 88 items = [await q.get() for _ in range(3)] 97 for i in range(3): 103 for i in range(2): 194 for _ in range(num_expected): 198 for i in range(num_items): 386 for _ in range(num): 442 items = [await q.get() for _ in range(3)] 453 items = [await q.get() for _ in range(3)] 467 for i in range(100): 486 for index in range( [all...] |
/third_party/python/Lib/test/ |
H A D | test_yield_from.py | 247 for i in range(2): 283 for i in range(2): 323 for i in range(2): 433 yield from range(3) 449 yield from range(3) 451 for x in range(3): 468 yield from range(3) 490 yield from range(10) 495 for i in range(5): 522 yield from range( [all...] |
H A D | test_hash.py | 20 for i in range(length): 85 for i in range(16): 86 for j in range(16): 152 seq = range(10) 159 hashes_to_check = [enumerate(range(10)), 345 for i in range(1, len(base)): 350 for c in range(256):
|
H A D | test_list.py | 20 self.assertEqual(list(x for x in range(10) if x % 2), 38 self.assertRaises(MemoryError, list, range(sys.maxsize // 2)) 125 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 143 for i in range(1, len(orig)): 161 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 179 for i in range(1, len(orig)): 238 self.assertEqual(iter_size, sys.getsizeof(list(range(10))))
|
H A D | test_mmap.py | 278 for start in range(n+1): 279 for finish in range(start, n+1): 377 for dest in range(len(data)): 378 for src in range(len(data)): 379 for count in range(len(data) - max(dest, src)): 413 for x in range(PAGESIZE): 417 for x in range(PAGESIZE): 427 m.write(bytes(range(16))) 429 self.assertEqual(m.read(), bytes(range(16))) 431 self.assertEqual(m.read(), bytes(range( [all...] |
H A D | _test_multiprocessing.py | 536 for i in range(2): 630 for i in range(N)] 639 for i in range(N)] 691 for i in range(N)] 696 fd_counts = [q.get() for i in range(N)] 963 for i in range(6): 1091 for i in range(10, 20): 1106 for i in range(10): 1118 for i in range(20): 1151 for i in range( [all...] |
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | views.rs | 63 range: line_range, in get_or_insert_line() 75 range: std::ops::Range<usize>, 90 let start_line_index = files.line_index(label.file_id, label.range.start)?; 93 let end_line_index = files.line_index(label.file_id, label.range.end)?; 111 && labeled_file.start > label.range.start) 114 labeled_file.start = label.range.start; 115 labeled_file.location = files.location(label.file_id, label.range.start)?; 124 start: label.range.start, 126 location: files.location(label.file_id, label.range.start)?, 145 let label_start = label.range [all...] |
/third_party/python/Tools/unicode/ |
H A D | gencodec.py | 46 def parsecodes(codes, len=len, range=range): 62 for i in range(len(l)): 79 unmapped = list(range(256)) 84 for i in list(range(32)) + [127]: 143 append("%s = codecs.make_identity_dict(range(%d))" % 206 for key in range(256): 226 for key in range(maxkey + 1):
|
/third_party/python/Lib/ |
H A D | cmd.py | 356 nonstrings = [i for i in range(len(list)) 366 for nrows in range(1, len(list)): 370 for col in range(ncols): 372 for row in range(nrows): 388 for row in range(nrows): 390 for col in range(ncols): 399 for col in range(len(texts)):
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | log_uniform_int_distribution.h | 38 // Returns a random variate R in range [min, max] such that 70 // Determine where the first set bit is on range(), giving a log2(range) in param_type() 73 (std::min)(bit_width(range()), in param_type() 87 const double log_range = std::log(static_cast<double>(range()) + 0.5); in param_type() 108 unsigned_type range() const { return range_; } in range() function in absl::log_uniform_int_distribution::param_type 162 // Returns a log-uniform variate in the range [0, p.range()]. The caller 163 // should add min() to shift the result to the correct range. 210 const unsigned_type lo = (base_e >= p.range()) in Generate() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | CodePointTrieTest.java | 122 int start, boolean getRangeResult, CodePointMap.Range range, in doCheckRange() 127 "error: %s getRanges (%s) fails to deliver range [U+%04x..U+%04x].0x%x\n", in doCheckRange() 134 "error: %s getRanges (%s) delivers unexpected range [U+%04x..U+%04x].0x%x\n", in doCheckRange() 135 name, variant, range.getStart(), range.getEnd(), range.getValue())); in doCheckRange() 138 if (range.getStart() != start || range.getEnd() != expEnd || range.getValue() != expValue) { in doCheckRange() 140 "error: %s getRanges (%s) delivers wrong range [ in doCheckRange() 121 doCheckRange(String name, String variant, int start, boolean getRangeResult, CodePointMap.Range range, int expEnd, int expValue) doCheckRange() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | CodePointTrieTest.java | 119 int start, boolean getRangeResult, CodePointMap.Range range, in doCheckRange() 124 "error: %s getRanges (%s) fails to deliver range [U+%04x..U+%04x].0x%x\n", in doCheckRange() 131 "error: %s getRanges (%s) delivers unexpected range [U+%04x..U+%04x].0x%x\n", in doCheckRange() 132 name, variant, range.getStart(), range.getEnd(), range.getValue())); in doCheckRange() 135 if (range.getStart() != start || range.getEnd() != expEnd || range.getValue() != expValue) { in doCheckRange() 137 "error: %s getRanges (%s) delivers wrong range [ in doCheckRange() 118 doCheckRange(String name, String variant, int start, boolean getRangeResult, CodePointMap.Range range, int expEnd, int expValue) doCheckRange() argument [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-coretext.cc | 596 /* Scan events and save features for each range. */ in _hb_coretext_shape() 605 /* Save a snapshot of active features and the range. */ in _hb_coretext_shape() 606 range_record_t *range = range_records.push (); in _hb_coretext_shape() local 662 range->font = CTFontCreateCopyWithAttributes (ct_font, 0.0, nullptr, font_desc); in _hb_coretext_shape() 667 range->font = nullptr; in _hb_coretext_shape() 670 range->index_first = last_index; in _hb_coretext_shape() 671 range->index_last = event->index - 1; in _hb_coretext_shape() 820 range_record_t *range = last_range; in _hb_coretext_shape() local 821 while (log_clusters[k] < range->index_first) in _hb_coretext_shape() 822 range in _hb_coretext_shape() 990 CFRange range = CTRunGetStringRange (run); _hb_coretext_shape() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
H A D | ParsingUtils.java | 32 for (EntryRange range : input.ranges()) { in putLeadCodePoints() 33 output.add(range.codepoint, range.codepointEnd); in putLeadCodePoints()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | dtfmtrtts.h | 67 * Return a random value from -range..+range (closed). 69 static double randDouble(double range) in randDouble() argument 74 return (2.0 * range * a) - range; in randDouble()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/ |
H A D | ParsingUtils.java | 34 for (EntryRange range : input.ranges()) { in putLeadCodePoints() 35 output.add(range.codepoint, range.codepointEnd); in putLeadCodePoints()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | usetiter.h | 84 * iteration range, if <tt>codepoint != IS_STRING</tt>. If 126 * code point range, depending on whether <tt>next()</tt> or 133 * of the range, and <tt>getCodepointEnd()</tt> returns the end 134 * of the range. 147 * Returns the end of the current code point range, if 177 // Finish code point/range iteration. in skipToStrings() 178 range = endRange; in skipToStrings() 209 * Returns the next element in the set, either a code point range 213 * range of one or more code points from <tt>getCodepoint()</tt> to 268 /** End range 273 int32_t range; global() member in U_FINAL [all...] |
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | usetiter.h | 84 * iteration range, if <tt>codepoint != IS_STRING</tt>. If 126 * code point range, depending on whether <tt>next()</tt> or 133 * of the range, and <tt>getCodepointEnd()</tt> returns the end 134 * of the range. 147 * Returns the end of the current code point range, if 177 // Finish code point/range iteration. in skipToStrings() 178 range = endRange; in skipToStrings() 209 * Returns the next element in the set, either a code point range 213 * range of one or more code points from <tt>getCodepoint()</tt> to 268 /** End range 273 int32_t range; global() member in final [all...] |
/third_party/skia/tools/skpbench/ |
H A D | _hardware_nexus_6p.py | 29 done''' % tuple(CPU_CLOCK_RATE for _ in range(3))) 49 tuple(GPU_CLOCK_RATE for _ in range(3))) 90 for i in range(4, 7)]
|
/third_party/rust/crates/memchr/scripts/ |
H A D | make-byte-frequency-table | 37 for i in range(0, 256): 60 for byte in range(0xC0, 0xFF + 1): 65 for byte in range(256):
|
/third_party/rust/crates/regex/scripts/ |
H A D | frequencies.py | 37 for i in range(0, 256): 60 for byte in range(0xC0, 0xFF + 1): 65 for byte in range(256):
|
/third_party/ffmpeg/libavcodec/ |
H A D | put_golomb.h | 72 static inline void set_te_golomb(PutBitContext *pb, int i, int range) in set_te_golomb() argument 74 av_assert2(range >= 1); in set_te_golomb() 75 av_assert2(i <= range); in set_te_golomb() 77 if (range == 2) in set_te_golomb()
|
H A D | rangecoder.c | 48 c->range = 0xFF00; in ff_init_range_encoder() 113 c->range = 0xFF; in ff_rac_terminate() 116 c->range = 0xFF; in ff_rac_terminate() 120 av_assert1(c->range >= 0x100); in ff_rac_terminate()
|
/third_party/ffmpeg/tests/fate/ |
H A D | libswscale.mak | 28 FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-range 29 fate-sws-yuv-range: tests/data/vsynth1.yuv 30 fate-sws-yuv-range: ffmpeg$(PROGSSUF)$(EXESUF) 31 fate-sws-yuv-range: CMD = framecrc \
|