/third_party/python/Lib/test/ |
H A D | test_structseq.py | 17 for i in range(-len(t), len(t)): 19 for j in range(-len(t), len(t)): 22 for j in range(-len(t), len(t)): 27 for i in range(-len(t), len(t)-1): 48 for i in range(len(t1)): 54 for i in range(len(t1)):
|
H A D | test_math.py | 75 # this set is range((n >> i+1) + 1 | 1, (n >> i) + 1 | 1, 2). 82 """Product of integers in range(start, stop, 2), computed recursively. 101 for i in reversed(range(n.bit_length())): 524 for i in range(1, 1000): 673 ([1./n for n in range(1, 1001)], 675 ([(-1.)**n/n for n in range(1, 1001)], 680 ([2.**n - 2.**(n+50) + 2.**(n+52) for n in range(-1074, 972, 2)] + 686 terms = [1.7**i for i in range(1001)] 688 [terms[i+1] - terms[i] for i in range(1000)] + [-terms[1000]], 704 for j in range(100 [all...] |
H A D | test_enumerate.py | 70 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 175 seq = range(10,20000,2) 176 res = list(zip(range(20000), seq)) 188 for data in ('abc', range(5), tuple(enumerate('abc')), A(), 189 range(1,17,5), dict.fromkeys('abcde')): 195 x = range(1) 199 for s in ('hello', tuple('hello'), list('hello'), range(5)): 239 for i in range(10): 268 for data in 'abc', range(5), tuple(enumerate('abc')), range( [all...] |
/third_party/python/Lib/turtledemo/ |
H A D | sorting_animate.py | 86 for i in range(1, length): 95 for j in range(0, length - 1): 97 for i in range(j + 1, length): 107 for i in range(left, right): # range is non-inclusive of ending value 124 target = list(range(10)) 127 for j in range(i, len(s)):
|
/third_party/gn/src/gn/ |
H A D | c_include_iterator_unittest.cc | 14 bool RangeIs(const LocationRange& range, in RangeIs() argument 18 return range.begin().line_number() == line && in RangeIs() 19 range.end().line_number() == line && in RangeIs() 20 range.begin().column_number() == begin_char && in RangeIs() 21 range.end().column_number() == end_char; in RangeIs()
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_cast.py | 13 self.assertEqual([ptr[i] for i in range(3)], [42, 17, 2]) 18 self.assertEqual([ptr[i] for i in range(6)], 21 self.assertEqual([ptr[i] for i in range(6)], 29 self.assertEqual([ptr[i] for i in range(3)], [42, 17, 2]) 32 self.assertEqual([ptr[i] for i in range(3)], [42, 17, 2])
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | TextureVk.h | 72 const SubresourceRange& range); 80 const SubresourceRange& range); 112 const SubresourceRange& range, 117 const SubresourceRange& range, 129 const SubresourceRange& range,
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_depth_texture_type_test.cc | 41 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 17u}})); in TEST_F() 54 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 23u}})); in TEST_F() 67 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 19u}})); in TEST_F() 80 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 25u}})); in TEST_F() 93 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 30u}})); in TEST_F()
|
/third_party/lzma/Asm/x86/ |
H A D | LzmaDecOpt.asm | 67 ; x0 range
87 range equ x0
define 155 shl range, 8
162 cmp range, kTopValue
181 sub prob2, range
182 sub cod, range
183 mov range, prob2
194 mov prob2, range
195 shr range, kNumBitModelTotalBits
196 imul range, probBranc [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | realign.py | 23 regexp = [ re.compile(patterns[i][0]) for i in range(0,numpat)] 24 column = [ patterns[i][1] for i in range(0,numpat)] 29 for i in range(0,len(patterns)):
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-aat-ltag-table.hh | 67 const FTStringRange &range = tagRanges[i]; in get_language() local 68 return hb_language_from_string ((const char *) (this+range.tag).arrayZ, in get_language() 69 range.length); in get_language()
|
/third_party/ffmpeg/libavcodec/ |
H A D | scpr.c | 42 rc->range = 0xFFFFFFFFU; in init_rangecoder() 105 rc->code -= cumFreq * rc->range; in decode() 106 rc->range *= freq; in decode() 108 while (rc->range < TOP && bytestream2_get_bytes_left(gb) > 0) { in decode() 111 rc->range <<= 8; in decode() 122 rc->range = rc->range / total_freq; in get_freq() 124 if (rc->range == 0) in get_freq() 127 *freq = rc->code / rc->range; in get_freq() 139 t = rc->range * (uint64_ in decode0() [all...] |
/third_party/python/Tools/demo/ |
H A D | sortvisu.py | 61 for i in range(self.size): 108 for i in range(self.size): 117 for i in range(self.size): 287 for i in range(len(mytrajectory)): 352 for i in range(1, n): 353 for k in range(len(pts)): 369 array.setdata(range(1, size+1)) 375 for i in range(n): 383 for i in range(1, size): 396 for i in range(siz [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Texture.cpp | 360 "Texture view array layer range (baseArrayLayer: %u, arrayLayerCount: %u) exceeds the " in ValidateTextureViewDescriptor() 367 "Texture view mip level range (baseMipLevel: %u, mipLevelCount: %u) exceeds the " in ValidateTextureViewDescriptor() 573 bool TextureBase::IsSubresourceContentInitialized(const SubresourceRange& range) const { in IsSubresourceContentInitialized() 575 for (Aspect aspect : IterateEnumMask(range.aspects)) { in IsSubresourceContentInitialized() 576 for (uint32_t arrayLayer = range.baseArrayLayer; in IsSubresourceContentInitialized() 577 arrayLayer < range.baseArrayLayer + range.layerCount; ++arrayLayer) { in IsSubresourceContentInitialized() 578 for (uint32_t mipLevel = range.baseMipLevel; in IsSubresourceContentInitialized() 579 mipLevel < range.baseMipLevel + range in IsSubresourceContentInitialized() [all...] |
/third_party/python/Objects/ |
H A D | rangeobject.c | 37 "range() arg 3 must not be zero"); in validate_step() 70 range(-10) 71 range(0, -5) 72 range(0, 5, -1) 114 "range expected at least 1 argument, got 0"); in range_from_array() 118 "range expected at most 3 arguments, got %zd", in range_from_array() 137 if (!_PyArg_NoKeywords("range", kw)) in range_new() 149 if (!_PyArg_NoKwnames("range", kwnames)) { in range_vectorcall() 156 "range(stop) -> range objec 797 PyObject *range; rangeiter_reduce() local 946 PyObject *range; longrangeiter_reduce() local 1142 rangeobject *range = (rangeobject*) seq; range_reverse() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unames.cpp | 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, in getAlgName() argument 865 switch(range->type) { in getAlgName() 868 const char *s=(const char *)(range+1); in getAlgName() 879 count=range->variant; in getAlgName() 905 const uint16_t *factors=(const uint16_t *)(range+1); in getAlgName() 906 uint16_t count=range->variant; in getAlgName() 916 s, code-range->start, indexes, NULL, NULL, buffer, bufferLength); in getAlgName() 936 enumAlgNames(AlgorithmicRange *range, in enumAlgNames() argument 947 switch(range->type) { in enumAlgNames() 953 length=getAlgName(range, (uint32_ in enumAlgNames() 1078 findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *otherName) findAlgName() argument 1217 AlgorithmicRange *range; calcAlgNameSetsLengths() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | unames.cpp | 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, in getAlgName() argument 865 switch(range->type) { in getAlgName() 868 const char *s=(const char *)(range+1); in getAlgName() 879 count=range->variant; in getAlgName() 905 const uint16_t *factors=(const uint16_t *)(range+1); in getAlgName() 906 uint16_t count=range->variant; in getAlgName() 916 s, code-range->start, indexes, nullptr, nullptr, buffer, bufferLength); in getAlgName() 936 enumAlgNames(AlgorithmicRange *range, in enumAlgNames() argument 947 switch(range->type) { in enumAlgNames() 953 length=getAlgName(range, (uint32_ in enumAlgNames() 1078 findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *otherName) findAlgName() argument 1217 AlgorithmicRange *range; calcAlgNameSetsLengths() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unames.cpp | 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, in getAlgName() argument 865 switch(range->type) { in getAlgName() 868 const char *s=(const char *)(range+1); in getAlgName() 879 count=range->variant; in getAlgName() 905 const uint16_t *factors=(const uint16_t *)(range+1); in getAlgName() 906 uint16_t count=range->variant; in getAlgName() 916 s, code-range->start, indexes, NULL, NULL, buffer, bufferLength); in getAlgName() 936 enumAlgNames(AlgorithmicRange *range, in enumAlgNames() argument 947 switch(range->type) { in enumAlgNames() 953 length=getAlgName(range, (uint32_ in enumAlgNames() 1078 findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *otherName) findAlgName() argument 1217 AlgorithmicRange *range; calcAlgNameSetsLengths() local [all...] |
/third_party/python/Lib/ |
H A D | stringprep.py | 19 b1_set = set([173, 847, 6150, 6155, 6156, 6157, 8203, 8204, 8205, 8288, 65279] + list(range(65024,65040))) 220 c22_specials = set([1757, 1807, 6158, 8204, 8205, 8232, 8233, 65279] + list(range(8288,8292)) + list(range(8298,8304)) + list(range(65529,65533)) + list(range(119155,119163))) 247 c6_set = set(range(65529,65534)) 252 c7_set = set(range(12272,12284)) 257 c8_set = set([832, 833, 8206, 8207] + list(range(8234,8239)) + list(range(8298,8304))) 262 c9_set = set([917505] + list(range(91753 [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImageView.cpp | 71 VkImageSubresourceRange ResolveRemainingLevelsLayers(VkImageSubresourceRange range, const vk::Image *image) in ResolveRemainingLevelsLayers() argument 74 range.aspectMask, in ResolveRemainingLevelsLayers() 75 range.baseMipLevel, in ResolveRemainingLevelsLayers() 76 (range.levelCount == VK_REMAINING_MIP_LEVELS) ? (image->getMipLevels() - range.baseMipLevel) : range.levelCount, in ResolveRemainingLevelsLayers() 77 range.baseArrayLayer, in ResolveRemainingLevelsLayers() 78 (range.layerCount == VK_REMAINING_ARRAY_LAYERS) ? (image->getArrayLayers() - range.baseArrayLayer) : range in ResolveRemainingLevelsLayers() [all...] |
/third_party/alsa-lib/test/ |
H A D | user-ctl-element-set.c | 50 * 2006/09/06: 55a29af5ed5d ("[ALSA] Add definition of TLV dB range compound") 83 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(range, -10000, 0); in allocate_bool_elem_set_tlv() 85 *tlv = malloc(sizeof(range)); in allocate_bool_elem_set_tlv() 88 memcpy(*tlv, range, sizeof(range)); in allocate_bool_elem_set_tlv() 253 static const SNDRV_CTL_TLVD_DECLARE_DB_LINEAR(range, -4813, 0); in allocate_bytes_elem_set_tlv() 255 *tlv = malloc(sizeof(range)); in allocate_bytes_elem_set_tlv() 258 memcpy(*tlv, range, sizeof(range)); in allocate_bytes_elem_set_tlv() 336 * Linear: dB range (coef in allocate_int64_elem_set_tlv() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_device_memory.c | 599 const VkMappedMemoryRange *range = &pMemoryRanges[i]; in vn_FlushMappedMemoryRanges() local 601 vn_device_memory_from_handle(range->memory); in vn_FlushMappedMemoryRanges() 603 const VkDeviceSize size = range->size == VK_WHOLE_SIZE in vn_FlushMappedMemoryRanges() 604 ? mem->map_end - range->offset in vn_FlushMappedMemoryRanges() 605 : range->size; in vn_FlushMappedMemoryRanges() 607 mem->base_offset + range->offset, size); in vn_FlushMappedMemoryRanges() 622 const VkMappedMemoryRange *range = &pMemoryRanges[i]; in vn_InvalidateMappedMemoryRanges() local 624 vn_device_memory_from_handle(range->memory); in vn_InvalidateMappedMemoryRanges() 626 const VkDeviceSize size = range->size == VK_WHOLE_SIZE in vn_InvalidateMappedMemoryRanges() 627 ? mem->map_end - range in vn_InvalidateMappedMemoryRanges() [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTreeTest.java | 54 // The tree that matches a zero length input is a perfectly valid range tree (zero length input in testEmptySequenceTree() 64 // Single ranges produce minimal/canoncial range specifications. in testFromRangeSetSimple() 65 RangeTree r = RangeTree.from(rangeSetOf(range("1000", "4999"))); in testFromRangeSetSimple() 72 RangeTree r = RangeTree.from(rangeSetOf(range("0000", "9999"))); in testFromRangeSetMinMax() 80 RangeTree r = RangeTree.from(rangeSetOf(range("0", domain().maxValue().toString()))); in testFromRangeSetAllValues() 104 // The tree generated from the empty range specification actually contains one digit sequence in testContains() 212 RangeTree r = RangeTree.from(rangeSetOf(range("123980", "161097"))); in testFromRaggedRange() 213 // Very 'ragged' ranges produde a lot of range specifications. in testFromRaggedRange() 237 assertThat(r.asRangeSet()).isEqualTo(rangeSetOf(range("123", "45678"))); in testComplexSpecsToSimpleRange() 242 // The range specificatio in testAsRangeSetMultipleGroups() 543 private static Range<DigitSequence> range(String lo, String hi) { range() method in RangeTreeTest [all...] |
/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...] |