/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | denseranges.cpp | 26 * Collect up to 15 range gaps and sort them by ascending gap size. 122 // divided by the 1..(capacity-1) largest gaps. in uprv_makeDenseRanges() 123 LargestGaps gaps(capacity-1); in uprv_makeDenseRanges() 130 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges() 134 // We know gaps.count()>=1 because we have fewer values (length) than in uprv_makeDenseRanges() 139 if(i>=gaps.count()) { in uprv_makeDenseRanges() 144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges() 149 // Use the num ranges with the num-1 largest gaps. in uprv_makeDenseRanges() 150 gaps.truncate(num-1); in uprv_makeDenseRanges() 153 int32_t gapIndex=gaps in uprv_makeDenseRanges() [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | denseranges.cpp | 26 * Collect up to 15 range gaps and sort them by ascending gap size. 122 // divided by the 1..(capacity-1) largest gaps. in uprv_makeDenseRanges() 123 LargestGaps gaps(capacity-1); in uprv_makeDenseRanges() 130 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges() 134 // We know gaps.count()>=1 because we have fewer values (length) than in uprv_makeDenseRanges() 139 if(i>=gaps.count()) { in uprv_makeDenseRanges() 144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges() 149 // Use the num ranges with the num-1 largest gaps. in uprv_makeDenseRanges() 150 gaps.truncate(num-1); in uprv_makeDenseRanges() 153 int32_t gapIndex=gaps in uprv_makeDenseRanges() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | denseranges.cpp | 26 * Collect up to 15 range gaps and sort them by ascending gap size. 122 // divided by the 1..(capacity-1) largest gaps. in uprv_makeDenseRanges() 123 LargestGaps gaps(capacity-1); in uprv_makeDenseRanges() 130 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges() 134 // We know gaps.count()>=1 because we have fewer values (length) than in uprv_makeDenseRanges() 139 if(i>=gaps.count()) { in uprv_makeDenseRanges() 144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges() 149 // Use the num ranges with the num-1 largest gaps. in uprv_makeDenseRanges() 150 gaps.truncate(num-1); in uprv_makeDenseRanges() 153 int32_t gapIndex=gaps in uprv_makeDenseRanges() [all...] |
/third_party/selinux/libsepol/src/ |
H A D | policydb_validate.c | 15 ebitmap_t gaps; member 24 static int create_gap_ebitmap(char **val_to_name, uint32_t nprim, ebitmap_t *gaps) in create_gap_ebitmap() argument 28 ebitmap_init(gaps); in create_gap_ebitmap() 32 if (ebitmap_set_bit(gaps, i, 1)) in create_gap_ebitmap() 43 if (create_gap_ebitmap(val_to_name, nprim, &flavor->gaps)) in validate_init() 64 * to gaps and we just have to treat this case as if there were no gaps. in validate_array_init() 67 ebitmap_init(&flavors[SYM_TYPES].gaps); in validate_array_init() 100 if (ebitmap_get_bit(&flavor->gaps, value-1)) in validate_value() 113 if (ebitmap_match_any(map, &flavor->gaps)) in validate_ebitmap() [all...] |
/third_party/elfutils/src/ |
H A D | elfcmp.c | 62 { "gaps", OPT_GAPS, "ACTION", 0, N_("Control treatment of gaps in loadable segments [ignore|match] (default: ignore)"), 0 }, 90 /* How to treat gaps in loadable segments. */ 96 gaps; variable 153 section is compared according to the rules of the --gaps option. in main() 290 if (gaps != gaps_ignore && (shdr1->sh_flags & SHF_ALLOC) != 0) in main() 566 /* We we look at gaps, create artificial ones for the parts of the in main() 570 if (gaps != gaps_ignore) in main() 584 /* If we need to look at the gaps we need access to the file data. */ in main() 590 if (gaps ! in main() [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | memory.c | 70 static const size_t gaps[] = {23, 10, 4, 1}; in SortPointers() local 73 size_t gap = gaps[g]; in SortPointers()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | memory.c | 70 static const size_t gaps[] = {23, 10, 4, 1}; in SortPointers() local 73 size_t gap = gaps[g]; in SortPointers()
|
/third_party/node/deps/v8/src/objects/ |
H A D | swiss-hash-table-helpers.h | 392 constexpr uint64_t gaps = 0x00FEFEFEFEFEFEFEULL; 394 ((~ctrl & (ctrl >> 7)) | gaps) + 1) +
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_test_ng.cpp | 576 const Dimension gaps = Dimension(10.f); in HWTEST_F() local 579 model.SetColumnsGap(AceType::RawPtr(frameNode_), gaps); in HWTEST_F() local 580 model.SetRowsGap(AceType::RawPtr(frameNode_), gaps); in HWTEST_F() local 584 EXPECT_EQ(layoutProperty_->GetColumnsGapValue(Dimension(0.f)), gaps); in HWTEST_F() 585 EXPECT_EQ(layoutProperty_->GetRowsGapValue(Dimension(0.f)), gaps); in HWTEST_F() 593 model.SetColumnsGap(AceType::RawPtr(frameNode_), -gaps); in HWTEST_F() 594 model.SetRowsGap(AceType::RawPtr(frameNode_), -gaps); in HWTEST_F() 598 EXPECT_EQ(layoutProperty_->GetColumnsGapValue(Dimension(0.f)), gaps); in HWTEST_F() 599 EXPECT_EQ(layoutProperty_->GetRowsGapValue(Dimension(0.f)), gaps); in HWTEST_F()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set.h | 434 constexpr uint64_t gaps = 0x00FEFEFEFEFEFEFEULL; 435 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 6053 print("Number of transitions: %5d = %d (gaps) + %d (folds) + %d (zeros)" % 6090 def gaps(self): member in ZoneInfo 6142 for dt, shift in tz.gaps():
|