Home
last modified time | relevance | path

Searched refs:max_weight (Results 1 – 21 of 21) sorted by relevance

/third_party/boost/boost/math/quadrature/detail/
Dooura_fourier_integrals_detail.hpp317 Real max_weight = 1; in add_level() local
333 if (abs(weight) > max_weight) { in add_level()
334 max_weight = abs(weight); in add_level()
338 } while(abs(w) > unit_roundoff*max_weight); in add_level()
371 if (abs(weight) > max_weight) { in add_level()
372 max_weight = abs(weight); in add_level()
376 } while(abs(w) > (std::numeric_limits<Real>::min)()*max_weight); in add_level()
549 Real max_weight = 1; in add_level() local
565 if (abs(weight) > max_weight) { in add_level()
566 max_weight = abs(weight); in add_level()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/post/
Dauto_worker_pass.cc46 float max_weight = 0; in RunOnTree() local
47 for (const auto &p : pass.weight_profile_) max_weight = std::max(max_weight, p.second); in RunOnTree()
49 CHECK_FAIL_RETURN_UNEXPECTED(max_weight != 0, "Internal error, doesn't allow divide zero."); in RunOnTree()
63 int32_t cur_node_max = std::ceil(p.second * max_num_workers_ / max_weight); in RunOnTree()
/third_party/boost/libs/math/example/
Dfind_root_example.cpp56 double max_weight = 3.1; // kg in main() local
57 cout << "Percentage of packs > " << max_weight << " is " in main()
58 << cdf(complement(packs, max_weight)) << endl; // P(X > 3.1) in main()
Dfind_mean_and_sd_normal.cpp72 double max_weight = 3.1; // kg in main() local
73 cout << "Percentage of packs > " << max_weight << " is " in main()
74 << cdf(complement(packs, max_weight)) * 100. << endl; // P(X > 3.1) in main()
Dnormal_misc_examples.cpp278 double max_weight = 3.1; // kg in main() local
279 cout << "Percentage of packs > " << max_weight << " is " in main()
280 << cdf(complement(packs, max_weight)) << endl; // P(X > 3.1) in main()
/third_party/mindspore/mindspore/_extends/graph_kernel/model/
Dgraph_parallel.py274 sum_block, max_weight, sum_weight, blocks, op_sizes, exclude_gid = 0, 0, 0, [], [], []
279 if s.block_weight > max_weight:
280 max_weight = s.block_weight
290 return ParalGain(fusion_type, max_weight, sum_weight - max_weight, blocks, type_info)
Dgraph_split.py584 max_weight = 20
585 … if weight > max_weight or len(op.inputs) > 1 or PrimLib.iter_type(op) > PrimLib.BROADCAST:
/third_party/flutter/skia/third_party/externals/freetype/src/cache/
Dftcmanag.c386 manager->max_weight = max_bytes; in FTC_Manager_New()
548 manager->cur_weight, manager->max_weight, in FTC_Manager_Compress()
552 if ( manager->cur_weight < manager->max_weight || !first ) in FTC_Manager_Compress()
569 } while ( node && manager->cur_weight > manager->max_weight ); in FTC_Manager_Compress()
Dftcmanag.h97 FT_Offset max_weight; member
Dftccache.c433 if ( manager->cur_weight >= manager->max_weight ) in ftc_cache_add()
/third_party/freetype/src/cache/
Dftcmanag.c385 manager->max_weight = max_bytes; in FTC_Manager_New()
547 manager->cur_weight, manager->max_weight, in FTC_Manager_Compress()
551 if ( manager->cur_weight < manager->max_weight || !first ) in FTC_Manager_Compress()
568 } while ( node && manager->cur_weight > manager->max_weight ); in FTC_Manager_Compress()
Dftcmanag.h96 FT_Offset max_weight; member
Dftccache.c432 if ( manager->cur_weight >= manager->max_weight ) in ftc_cache_add()
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcmanag.c385 manager->max_weight = max_bytes; in FTC_Manager_New()
551 manager->cur_weight, manager->max_weight, in FTC_Manager_Compress()
555 if ( manager->cur_weight < manager->max_weight || !first ) in FTC_Manager_Compress()
572 } while ( node && manager->cur_weight > manager->max_weight ); in FTC_Manager_Compress()
Dftcmanag.h96 FT_Offset max_weight; member
Dftccache.c431 if ( manager->cur_weight >= manager->max_weight ) in ftc_cache_add()
/third_party/boost/boost/graph/
Dmaximum_weighted_matching.hpp208 edge_property_t max_weight in weighted_augmenting_path_finder() local
211 max_weight = std::max(max_weight, get(edge_weight, g, *ei)); in weighted_augmenting_path_finder()
222 dual_var[u] = 2 * max_weight; in weighted_augmenting_path_finder()
/third_party/boost/libs/optional/doc/
D17_gotchas.qbk76 return p.weight() > p.aircraft().max_weight(); // compiles!
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h2790 …d stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) in stbtt__fill_active_edges() argument
2809 … scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
2812 …] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHI… in stbtt__fill_active_edges()
2817 … scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
2822 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; in stbtt__fill_active_edges()
2837 int max_weight = (255 / vsubsample); // weight per vertical scanline in stbtt__rasterize_sorted_edges() local
2918 stbtt__fill_active_edges(scanline, result->w, active, max_weight); in stbtt__rasterize_sorted_edges()
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h2790 …d stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) in stbtt__fill_active_edges() argument
2809 … scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
2812 …] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHI… in stbtt__fill_active_edges()
2817 … scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
2822 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; in stbtt__fill_active_edges()
2837 int max_weight = (255 / vsubsample); // weight per vertical scanline in stbtt__rasterize_sorted_edges() local
2918 stbtt__fill_active_edges(scanline, result->w, active, max_weight); in stbtt__rasterize_sorted_edges()
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h2772 …d stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) in stbtt__fill_active_edges() argument
2791 … scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
2794 …] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHI… in stbtt__fill_active_edges()
2799 … scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
2804 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; in stbtt__fill_active_edges()
2819 int max_weight = (255 / vsubsample); // weight per vertical scanline in stbtt__rasterize_sorted_edges() local
2900 stbtt__fill_active_edges(scanline, result->w, active, max_weight); in stbtt__rasterize_sorted_edges()