/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | _ratio.py | 82 total: int, ratios: List[int], maximums: List[int], values: List[int] 84 """Divide an integer total in to parts based on ratios. 88 ratios (List[int]): A list of integer ratios. 95 ratios = [ratio if _max else 0 for ratio, _max in zip(ratios, maximums)] 96 total_ratio = sum(ratios) 102 for ratio, maximum, value in zip(ratios, maximums, values): 114 total: int, ratios: List[int], minimums: Optional[List[int]] = None 116 """Distribute an integer total in to parts based on ratios. 120 ratios (List[int]): A list of integer ratios. 127 ratios = [ratio if _min else 0 for ratio, _min in zip(ratios, minimums)] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | _ratio.py | 82 total: int, ratios: List[int], maximums: List[int], values: List[int] 84 """Divide an integer total in to parts based on ratios. 88 ratios (List[int]): A list of integer ratios. 95 ratios = [ratio if _max else 0 for ratio, _max in zip(ratios, maximums)] 96 total_ratio = sum(ratios) 102 for ratio, maximum, value in zip(ratios, maximums, values): 114 total: int, ratios: List[int], minimums: Optional[List[int]] = None 116 """Distribute an integer total in to parts based on ratios. 120 ratios (List[int]): A list of integer ratios. 127 ratios = [ratio if _min else 0 for ratio, _min in zip(ratios, minimums)] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | _ratio.py | 82 total: int, ratios: List[int], maximums: List[int], values: List[int] 84 """Divide an integer total in to parts based on ratios. 88 ratios (List[int]): A list of integer ratios. 95 ratios = [ratio if _max else 0 for ratio, _max in zip(ratios, maximums)] 96 total_ratio = sum(ratios) 102 for ratio, maximum, value in zip(ratios, maximums, values): 114 total: int, ratios: List[int], minimums: Optional[List[int]] = None 116 """Distribute an integer total in to parts based on ratios. 120 ratios (List[int]): A list of integer ratios. 127 ratios = [ratio if _min else 0 for ratio, _min in zip(ratios, minimums)] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | _ratio.py | 82 total: int, ratios: List[int], maximums: List[int], values: List[int] 84 """Divide an integer total in to parts based on ratios. 88 ratios (List[int]): A list of integer ratios. 95 ratios = [ratio if _max else 0 for ratio, _max in zip(ratios, maximums)] 96 total_ratio = sum(ratios) 102 for ratio, maximum, value in zip(ratios, maximums, values): 114 total: int, ratios: List[int], minimums: Optional[List[int]] = None 116 """Distribute an integer total in to parts based on ratios. 120 ratios (List[int]): A list of integer ratios. 127 ratios = [ratio if _min else 0 for ratio, _min in zip(ratios, minimums)] [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ |
H A D | CropHintsParams.java | 78 * Aspect ratios in floats, representing the ratio of the width to the height 81 * best possible crop is returned. The number of provided aspect ratios is 82 * limited to a maximum of 16; any aspect ratios provided after the 16th are 98 * Aspect ratios in floats, representing the ratio of the width to the height 101 * best possible crop is returned. The number of provided aspect ratios is 102 * limited to a maximum of 16; any aspect ratios provided after the 16th are 117 * Aspect ratios in floats, representing the ratio of the width to the height 120 * best possible crop is returned. The number of provided aspect ratios is 121 * limited to a maximum of 16; any aspect ratios provided after the 16th are 528 * Aspect ratios in floats, representing the ratio of the width to the height [all …]
|
H A D | CropHintsParamsOrBuilder.java | 30 * Aspect ratios in floats, representing the ratio of the width to the height 33 * best possible crop is returned. The number of provided aspect ratios is 34 * limited to a maximum of 16; any aspect ratios provided after the 16th are 47 * Aspect ratios in floats, representing the ratio of the width to the height 50 * best possible crop is returned. The number of provided aspect ratios is 51 * limited to a maximum of 16; any aspect ratios provided after the 16th are 64 * Aspect ratios in floats, representing the ratio of the width to the height 67 * best possible crop is returned. The number of provided aspect ratios is 68 * limited to a maximum of 16; any aspect ratios provided after the 16th are
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ |
H A D | CropHintsParams.java | 78 * Aspect ratios in floats, representing the ratio of the width to the height 81 * best possible crop is returned. The number of provided aspect ratios is 82 * limited to a maximum of 16; any aspect ratios provided after the 16th are 98 * Aspect ratios in floats, representing the ratio of the width to the height 101 * best possible crop is returned. The number of provided aspect ratios is 102 * limited to a maximum of 16; any aspect ratios provided after the 16th are 117 * Aspect ratios in floats, representing the ratio of the width to the height 120 * best possible crop is returned. The number of provided aspect ratios is 121 * limited to a maximum of 16; any aspect ratios provided after the 16th are 526 * Aspect ratios in floats, representing the ratio of the width to the height [all …]
|
H A D | CropHintsParamsOrBuilder.java | 30 * Aspect ratios in floats, representing the ratio of the width to the height 33 * best possible crop is returned. The number of provided aspect ratios is 34 * limited to a maximum of 16; any aspect ratios provided after the 16th are 47 * Aspect ratios in floats, representing the ratio of the width to the height 50 * best possible crop is returned. The number of provided aspect ratios is 51 * limited to a maximum of 16; any aspect ratios provided after the 16th are 64 * Aspect ratios in floats, representing the ratio of the width to the height 67 * best possible crop is returned. The number of provided aspect ratios is 68 * limited to a maximum of 16; any aspect ratios provided after the 16th are
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ |
H A D | CropHintsParams.java | 78 * Aspect ratios in floats, representing the ratio of the width to the height 81 * best possible crop is returned. The number of provided aspect ratios is 82 * limited to a maximum of 16; any aspect ratios provided after the 16th are 98 * Aspect ratios in floats, representing the ratio of the width to the height 101 * best possible crop is returned. The number of provided aspect ratios is 102 * limited to a maximum of 16; any aspect ratios provided after the 16th are 117 * Aspect ratios in floats, representing the ratio of the width to the height 120 * best possible crop is returned. The number of provided aspect ratios is 121 * limited to a maximum of 16; any aspect ratios provided after the 16th are 528 * Aspect ratios in floats, representing the ratio of the width to the height [all …]
|
H A D | CropHintsParamsOrBuilder.java | 30 * Aspect ratios in floats, representing the ratio of the width to the height 33 * best possible crop is returned. The number of provided aspect ratios is 34 * limited to a maximum of 16; any aspect ratios provided after the 16th are 47 * Aspect ratios in floats, representing the ratio of the width to the height 50 * best possible crop is returned. The number of provided aspect ratios is 51 * limited to a maximum of 16; any aspect ratios provided after the 16th are 64 * Aspect ratios in floats, representing the ratio of the width to the height 67 * best possible crop is returned. The number of provided aspect ratios is 68 * limited to a maximum of 16; any aspect ratios provided after the 16th are
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ |
H A D | CropHintsParams.java | 78 * Aspect ratios in floats, representing the ratio of the width to the height 81 * best possible crop is returned. The number of provided aspect ratios is 82 * limited to a maximum of 16; any aspect ratios provided after the 16th are 98 * Aspect ratios in floats, representing the ratio of the width to the height 101 * best possible crop is returned. The number of provided aspect ratios is 102 * limited to a maximum of 16; any aspect ratios provided after the 16th are 117 * Aspect ratios in floats, representing the ratio of the width to the height 120 * best possible crop is returned. The number of provided aspect ratios is 121 * limited to a maximum of 16; any aspect ratios provided after the 16th are 528 * Aspect ratios in floats, representing the ratio of the width to the height [all …]
|
H A D | CropHintsParamsOrBuilder.java | 30 * Aspect ratios in floats, representing the ratio of the width to the height 33 * best possible crop is returned. The number of provided aspect ratios is 34 * limited to a maximum of 16; any aspect ratios provided after the 16th are 47 * Aspect ratios in floats, representing the ratio of the width to the height 50 * best possible crop is returned. The number of provided aspect ratios is 51 * limited to a maximum of 16; any aspect ratios provided after the 16th are 64 * Aspect ratios in floats, representing the ratio of the width to the height 67 * best possible crop is returned. The number of provided aspect ratios is 68 * limited to a maximum of 16; any aspect ratios provided after the 16th are
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ |
H A D | CropHintsParams.java | 78 * Aspect ratios in floats, representing the ratio of the width to the height 81 * best possible crop is returned. The number of provided aspect ratios is 82 * limited to a maximum of 16; any aspect ratios provided after the 16th are 98 * Aspect ratios in floats, representing the ratio of the width to the height 101 * best possible crop is returned. The number of provided aspect ratios is 102 * limited to a maximum of 16; any aspect ratios provided after the 16th are 117 * Aspect ratios in floats, representing the ratio of the width to the height 120 * best possible crop is returned. The number of provided aspect ratios is 121 * limited to a maximum of 16; any aspect ratios provided after the 16th are 528 * Aspect ratios in floats, representing the ratio of the width to the height [all …]
|
H A D | CropHintsParamsOrBuilder.java | 30 * Aspect ratios in floats, representing the ratio of the width to the height 33 * best possible crop is returned. The number of provided aspect ratios is 34 * limited to a maximum of 16; any aspect ratios provided after the 16th are 47 * Aspect ratios in floats, representing the ratio of the width to the height 50 * best possible crop is returned. The number of provided aspect ratios is 51 * limited to a maximum of 16; any aspect ratios provided after the 16th are 64 * Aspect ratios in floats, representing the ratio of the width to the height 67 * best possible crop is returned. The number of provided aspect ratios is 68 * limited to a maximum of 16; any aspect ratios provided after the 16th are
|
/aosp_15_r20/external/mesa3d/src/amd/vpelib/src/core/ |
H A D | resource.c | 359 scl_data->ratios.horz = vpe_fixpt_from_fraction(src_rect->width, dst_rect->width); in calculate_scaling_ratios() 360 scl_data->ratios.vert = vpe_fixpt_from_fraction(src_rect->height, dst_rect->height); in calculate_scaling_ratios() 361 scl_data->ratios.horz_c = scl_data->ratios.horz; in calculate_scaling_ratios() 362 scl_data->ratios.vert_c = scl_data->ratios.vert; in calculate_scaling_ratios() 365 scl_data->ratios.horz_c.value /= 2; in calculate_scaling_ratios() 366 scl_data->ratios.vert_c.value /= 2; in calculate_scaling_ratios() 369 scl_data->ratios.horz = vpe_fixpt_truncate(scl_data->ratios.horz, 19); in calculate_scaling_ratios() 370 scl_data->ratios.vert = vpe_fixpt_truncate(scl_data->ratios.vert, 19); in calculate_scaling_ratios() 371 scl_data->ratios.horz_c = vpe_fixpt_truncate(scl_data->ratios.horz_c, 19); in calculate_scaling_ratios() 372 scl_data->ratios.vert_c = vpe_fixpt_truncate(scl_data->ratios.vert_c, 19); in calculate_scaling_ratios() [all …]
|
H A D | background.c | 58 /* ratios */ in vpe_create_bg_segments() 59 scaler_data->ratios.horz = vpe_fixpt_one; in vpe_create_bg_segments() 60 scaler_data->ratios.vert = vpe_fixpt_one; in vpe_create_bg_segments() 63 scaler_data->ratios.horz_c = vpe_fixpt_from_fraction(1, 2); in vpe_create_bg_segments() 64 scaler_data->ratios.vert_c = vpe_fixpt_from_fraction(1, 2); in vpe_create_bg_segments() 67 scaler_data->ratios.horz_c = vpe_fixpt_one; in vpe_create_bg_segments() 68 scaler_data->ratios.vert_c = vpe_fixpt_one; in vpe_create_bg_segments() 100 vpe_fixpt_add_int(scaler_data->ratios.horz, (int)(scaler_data->taps.h_taps + 1)), 2); in vpe_create_bg_segments() 102 vpe_fixpt_add_int(scaler_data->ratios.vert, (int)(scaler_data->taps.v_taps + 1)), 2); in vpe_create_bg_segments() 104 vpe_fixpt_add_int(scaler_data->ratios.horz_c, (int)(scaler_data->taps.h_taps_c + 1)), in vpe_create_bg_segments() [all …]
|
/aosp_15_r20/external/libultrahdr/lib/src/ |
H A D | jpegdecoderhelper.cpp | 151 float ratios[6]; in getOutputSamplingFormat() local 153 ratios[i * 2] = ((float)cinfo->comp_info[i].h_samp_factor) / cinfo->max_h_samp_factor; in getOutputSamplingFormat() 154 ratios[i * 2 + 1] = ((float)cinfo->comp_info[i].v_samp_factor) / cinfo->max_v_samp_factor; in getOutputSamplingFormat() 156 if (ratios[0] == 1 && ratios[1] == 1 && ratios[2] == ratios[4] && ratios[3] == ratios[5]) { in getOutputSamplingFormat() 157 if (ratios[2] == 1 && ratios[3] == 1) { in getOutputSamplingFormat() 159 } else if (ratios[2] == 1 && ratios[3] == 0.5) { in getOutputSamplingFormat() 161 } else if (ratios[2] == 0.5 && ratios[3] == 1) { in getOutputSamplingFormat() 163 } else if (ratios[2] == 0.5 && ratios[3] == 0.5) { in getOutputSamplingFormat() 165 } else if (ratios[2] == 0.25 && ratios[3] == 1) { in getOutputSamplingFormat() 167 } else if (ratios[2] == 0.25 && ratios[3] == 0.5) { in getOutputSamplingFormat()
|
/aosp_15_r20/external/mesa3d/src/amd/vpelib/src/chip/vpe10/ |
H A D | vpe10_dpp_dscl.c | 91 if (data->ratios.horz.value == one && data->ratios.vert.value == one && in dpp1_dscl_get_dscl_mode() 92 data->ratios.horz_c.value == one && data->ratios.vert_c.value == one) in dpp1_dscl_get_dscl_mode() 101 if (data->ratios.horz.value == one && data->ratios.vert.value == one) in dpp1_dscl_get_dscl_mode() 223 (int)scl_data->taps.h_taps, scl_data->ratios.horz); in dpp1_dscl_set_scl_filter() 225 dpp1_dscl_get_filter_coeffs_64p((int)scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter() 241 dpp1_dscl_get_filter_coeffs_64p((int)scl_data->taps.h_taps_c, scl_data->ratios.horz_c); in dpp1_dscl_set_scl_filter() 243 dpp1_dscl_get_filter_coeffs_64p((int)scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp1_dscl_set_scl_filter() 275 vpe_fixpt_u3d19(data->ratios.horz) << 5); in dpp1_dscl_set_scale_ratio() 278 vpe_fixpt_u3d19(data->ratios.vert) << 5); in dpp1_dscl_set_scale_ratio() 281 vpe_fixpt_u3d19(data->ratios.horz_c) << 5); in dpp1_dscl_set_scale_ratio() [all …]
|
/aosp_15_r20/system/core/fs_mgr/libsnapshot/tools/ |
H A D | cow_benchmark.cpp | 77 std::vector<std::pair<double, std::string>> ratios; in OneShotCompressionTest() local 95 ratios.emplace_back( in OneShotCompressionTest() 106 if (ratios[i].first < ratios[best_ratio].first) { in OneShotCompressionTest() 113 std::cout << "BEST RATIO: " << ratios[best_ratio].first << " " << ratios[best_ratio].second in OneShotCompressionTest() 141 std::vector<std::pair<double, std::string>> ratios; in IncrementalCompressionTest() local 172 ratios.emplace_back( in IncrementalCompressionTest() 183 if (ratios[i].first < ratios[best_ratio].first) { in IncrementalCompressionTest() 190 std::cout << "BEST RATIO: " << ratios[best_ratio].first << " " << ratios[best_ratio].second in IncrementalCompressionTest()
|
/aosp_15_r20/external/coreboot/src/northbridge/intel/ironlake/ |
H A D | quickpath.c | 314 struct stru1 ratios; in set_2dx8_reg() local 317 round_it, add_freqs, &ratios); in set_2dx8_reg() 321 ratios.freq_diff_reduced | in set_2dx8_reg() 322 ratios.freqs_reversed << 8); in set_2dx8_reg() 324 ratios.freq3_to_2_remainder | in set_2dx8_reg() 325 ratios.freq4_to_max_remainder << 8 | in set_2dx8_reg() 326 ratios.divisor_f3_to_fmax << 16 | in set_2dx8_reg() 327 ratios.divisor_f4_to_fmax << 20 | in set_2dx8_reg() 328 ratios.freq_min_reduced << 24); in set_2dx8_reg() 333 ratios.freq3_to_2_remainder | in set_2dx8_reg() [all …]
|
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set_probe_benchmark.cc | 172 struct Ratios { struct 181 Ratios CollectMeanProbeLengths() { in CollectMeanProbeLengths() 188 Ratios result; in CollectMeanProbeLengths() 481 Ratios ratios; member 560 kDistWidth, result.dist_name, result.ratios.min_load, in main() 561 result.ratios.avg_load, result.ratios.max_load); in main() 569 auto print = [&](absl::string_view stat, double Ratios::*val) { in main() 576 absl::PrintF(" \"cpu_time\": %f,\n", 1e9 * result.ratios.*val); in main() 577 absl::PrintF(" \"real_time\": %f,\n", 1e9 * result.ratios.*val); in main() 584 print("min", &Ratios::min_load); in main() [all …]
|
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/container/internal/ |
H A D | raw_hash_set_probe_benchmark.cc | 165 struct Ratios { struct 174 Ratios CollectMeanProbeLengths() { in CollectMeanProbeLengths() 181 Ratios result; in CollectMeanProbeLengths() 474 Ratios ratios; member 553 kDistWidth, result.dist_name, result.ratios.min_load, in main() 554 result.ratios.avg_load, result.ratios.max_load); in main() 562 auto print = [&](absl::string_view stat, double Ratios::*val) { in main() 569 absl::PrintF(" \"cpu_time\": %f,\n", 1e9 * result.ratios.*val); in main() 570 absl::PrintF(" \"real_time\": %f,\n", 1e9 * result.ratios.*val); in main() 577 print("min", &Ratios::min_load); in main() [all …]
|
/aosp_15_r20/external/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set_probe_benchmark.cc | 172 struct Ratios { struct 181 Ratios CollectMeanProbeLengths() { in CollectMeanProbeLengths() 188 Ratios result; in CollectMeanProbeLengths() 481 Ratios ratios; member 560 kDistWidth, result.dist_name, result.ratios.min_load, in main() 561 result.ratios.avg_load, result.ratios.max_load); in main() 569 auto print = [&](absl::string_view stat, double Ratios::*val) { in main() 576 absl::PrintF(" \"cpu_time\": %f,\n", 1e9 * result.ratios.*val); in main() 577 absl::PrintF(" \"real_time\": %f,\n", 1e9 * result.ratios.*val); in main() 584 print("min", &Ratios::min_load); in main() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | raw_hash_set_probe_benchmark.cc | 165 struct Ratios { struct 174 Ratios CollectMeanProbeLengths() { in CollectMeanProbeLengths() 181 Ratios result; in CollectMeanProbeLengths() 474 Ratios ratios; member 553 kDistWidth, result.dist_name, result.ratios.min_load, in main() 554 result.ratios.avg_load, result.ratios.max_load); in main() 562 auto print = [&](absl::string_view stat, double Ratios::*val) { in main() 569 absl::PrintF(" \"cpu_time\": %f,\n", 1e9 * result.ratios.*val); in main() 570 absl::PrintF(" \"real_time\": %f,\n", 1e9 * result.ratios.*val); in main() 577 print("min", &Ratios::min_load); in main() [all …]
|
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set_probe_benchmark.cc | 172 struct Ratios { struct 181 Ratios CollectMeanProbeLengths() { in CollectMeanProbeLengths() 188 Ratios result; in CollectMeanProbeLengths() 481 Ratios ratios; member 560 kDistWidth, result.dist_name, result.ratios.min_load, in main() 561 result.ratios.avg_load, result.ratios.max_load); in main() 569 auto print = [&](absl::string_view stat, double Ratios::*val) { in main() 576 absl::PrintF(" \"cpu_time\": %f,\n", 1e9 * result.ratios.*val); in main() 577 absl::PrintF(" \"real_time\": %f,\n", 1e9 * result.ratios.*val); in main() 584 print("min", &Ratios::min_load); in main() [all …]
|