Home
last modified time | relevance | path

Searched refs:values_count (Results 1 – 25 of 27) sorted by relevance

12

/third_party/eudev/src/udev/
Dudevadm-hwdb.c51 size_t values_count; member
64 size_t values_count; member
153 if (node->values_count) { in trie_node_add_value()
159 …val = xbsearch_r(&search, node->values, node->values_count, sizeof(struct trie_value_entry), trie_… in trie_node_add_value()
168 val = realloc(node->values, (node->values_count + 1) * sizeof(struct trie_value_entry)); in trie_node_add_value()
171 trie->values_count++; in trie_node_add_value()
173 node->values[node->values_count].key_off = k; in trie_node_add_value()
174 node->values[node->values_count].value_off = v; in trie_node_add_value()
175 node->values_count++; in trie_node_add_value()
177 qsort(node->values, node->values_count, sizeof(struct trie_value_entry), trie_values_cmp); in trie_node_add_value()
[all …]
/third_party/boost/libs/geometry/index/example/
Dbenchmark_insert.cpp93 size_t values_count = 1000000; in main() local
99 size_t values_count = 10000; in main() local
106 float max_val = static_cast<float>(values_count / 2); in main()
117 coords.reserve(values_count); in main()
120 for ( size_t i = 0 ; i < values_count ; ++i ) in main()
143 std::cout << "pack(" << values_count << ") - " << time.count() << ", "; in main()
149 size_t n_per_max = values_count / max_range_inserts; in main()
161 values.begin() + (std::min)(n_per_max * (i + 1), values_count)); in main()
172 size_t inserted_count = (std::min)(n_per_max*j, values_count); in main()
173 for ( size_t i = inserted_count ; i < values_count ; ++i ) in main()
[all …]
Dbenchmark.cpp26 size_t values_count = 1000000; in main() local
37 float max_val = static_cast<float>(values_count / 2); in main()
41 coords.reserve(values_count); in main()
44 for ( size_t i = 0 ; i < values_count ; ++i ) in main()
66 for (size_t i = 0 ; i < values_count ; ++i ) in main()
75 std::cout << time << " - insert " << values_count << '\n'; in main()
142 for (size_t i = 0 ; i < values_count / 10 ; ++i ) in main()
151 std::cout << time << " - remove " << values_count / 10 << '\n'; in main()
D3d_benchmark.cpp24 size_t values_count = 500000; in main() local
33 float max_val = static_cast<float>(values_count / 2); in main()
37 coords.reserve(values_count); in main()
40 for ( size_t i = 0 ; i < values_count ; ++i ) in main()
62 for (size_t i = 0 ; i < values_count ; ++i ) in main()
72 std::cout << time << " - insert " << values_count << '\n'; in main()
144 for (size_t i = 0 ; i < values_count / 10 ; ++i ) in main()
154 std::cout << time << " - remove " << values_count / 10 << '\n'; in main()
Drandom_test.cpp25 size_t values_count = 1000000; in main() local
36 float max_val = static_cast<float>(values_count / 2); in main()
40 coords.reserve(values_count); in main()
43 for ( size_t i = 0 ; i < values_count ; ++i ) in main()
63 for (size_t i = 0 ; i < values_count ; ++i ) in main()
71 std::cout << "inserted values: " << values_count << '\n'; in main()
Dbenchmark_experimental.cpp85 size_t values_count = 1000000; in main() local
93 size_t values_count = 1000; in main() local
102 float max_val = static_cast<float>(values_count / 2); in main()
113 coords.reserve(values_count); in main()
116 for ( size_t i = 0 ; i < values_count ; ++i ) in main()
145 std::cout << time << " - pack " << values_count /*<< '\n'*/; in main()
173 std::cout << time << " - insert " << values_count /*<< '\n'*/; in main()
465 for (size_t i = 0 ; i < values_count / 10 ; ++i ) in main()
473 std::cout << time << " - remove " << values_count / 10 << '\n'; in main()
Dbenchmark2.cpp28 size_t values_count = 1001; in main() local
/third_party/boost/boost/geometry/index/detail/rtree/
Dpack_create.hpp165 size_type & values_count, in apply() argument
171 return apply(first, last, values_count, leafs_level, parameters, translator, in apply()
177 size_type & values_count, in apply() argument
197 values_count = static_cast<size_type>(diff); in apply()
198 entries.reserve(values_count); in apply()
221 …subtree_elements_counts subtree_counts = calculate_subtree_elements_counts(values_count, parameter… in apply()
222 …lement el = per_level(entries.begin(), entries.end(), hint_box.get(), values_count, subtree_counts, in apply()
288 size_type values_count, in per_level() argument
294 …< std::distance(first, last) && static_cast<size_type>(std::distance(first, last)) == values_count, in per_level()
300 BOOST_GEOMETRY_INDEX_ASSERT(values_count <= parameters.get_max_elements(), in per_level()
[all …]
/third_party/boost/boost/geometry/index/detail/
Dserialization.hpp365 size_type & values_count, in apply() argument
370 values_count = 0; in apply()
371 … return raw_apply(ar, version, leafs_level, values_count, parameters, translator, allocators); in apply()
377 size_type & values_count, in raw_apply() argument
411 …node_pointer n = raw_apply(ar, version, leafs_level, values_count, parameters, translator, allocat… in raw_apply()
430 values_count += elements_count; in raw_apply()
524 ar << boost::serialization::make_nvp("values_count", tree.members().values_count); in save()
527 if ( tree.members().values_count ) in save()
558 size_type values_count, leafs_level; in load() local
559 ar >> boost::serialization::make_nvp("values_count", values_count); in load()
[all …]
/third_party/eudev/src/libudev/
Dlibudev-hwdb.c176 if (le64toh(node->values_count) && fnmatch(linebuf_get(buf), search, 0) == 0) in trie_fnmatch_f()
177 for (i = 0; i < le64toh(node->values_count); i++) { in trie_fnmatch_f()
243 for (n = 0; n < le64toh(node->values_count); n++) { in trie_search_f()
Dlibudev-hwdb-def.h55 le64_t values_count; member
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp5225 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotEx() argument
5253 for (int i = 0; i < values_count; i++) in PlotEx()
5267 if (values_count > 0) in PlotEx()
5269 …int res_w = ImMin((int)graph_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5270 int item_count = values_count + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5278 IM_ASSERT(v_idx >= 0 && v_idx < values_count); in PlotEx()
5280 const float v0 = values_getter(data, (v_idx + values_offset) % values_count); in PlotEx()
5281 const float v1 = values_getter(data, (v_idx + 1 + values_offset) % values_count); in PlotEx()
5292 float v0 = values_getter(data, (0 + values_offset) % values_count); in PlotEx()
5304 IM_ASSERT(v1_idx >= 0 && v1_idx < values_count); in PlotEx()
[all …]
Dimgui.h500 …IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int va…
501 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
502 …IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, in…
503 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
Dimgui_internal.h1449 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
/third_party/mesa3d/src/imgui/
Dimgui_widgets.cpp5249 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotEx() argument
5278 for (int i = 0; i < values_count; i++) in PlotEx()
5292 if (values_count > 0) in PlotEx()
5294 …int res_w = ImMin((int)frame_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5295 int item_count = values_count + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5303 IM_ASSERT(v_idx >= 0 && v_idx < values_count); in PlotEx()
5305 const float v0 = values_getter(data, (v_idx + values_offset) % values_count); in PlotEx()
5306 const float v1 = values_getter(data, (v_idx + 1 + values_offset) % values_count); in PlotEx()
5317 float v0 = values_getter(data, (0 + values_offset) % values_count); in PlotEx()
5329 IM_ASSERT(v1_idx >= 0 && v1_idx < values_count); in PlotEx()
[all …]
Dimgui.h506 …IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int va…
507 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
508 …IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, in…
509 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
Dimgui_internal.h1497 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp6420 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotEx() argument
6449 for (int i = 0; i < values_count; i++) in PlotEx()
6467 if (values_count >= values_count_min) in PlotEx()
6469 …int res_w = ImMin((int)frame_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
6470 int item_count = values_count + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
6477 IM_ASSERT(v_idx >= 0 && v_idx < values_count); in PlotEx()
6479 const float v0 = values_getter(data, (v_idx + values_offset) % values_count); in PlotEx()
6480 const float v1 = values_getter(data, (v_idx + 1 + values_offset) % values_count); in PlotEx()
6491 float v0 = values_getter(data, (0 + values_offset) % values_count); in PlotEx()
6503 IM_ASSERT(v1_idx >= 0 && v1_idx < values_count); in PlotEx()
[all …]
Dimgui.h637 …IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int va…
638 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
639 …IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, in…
640 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
Dimgui_internal.h2724 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
/third_party/boost/libs/geometry/index/test/rtree/
Dtest_rtree.hpp1778 size_t values_count = Value::counter(); in test_count_rtree_values() local
1783 --values_count; in test_count_rtree_values()
1786 BOOST_CHECK(Value::counter() == values_count); in test_count_rtree_values()
1787 BOOST_CHECK(t.size() + rest_count == values_count); in test_count_rtree_values()
/third_party/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1530 int32_t values_count = UPRV_LENGTHOF(values); in TestRBNF() local
1554 for (int j = 0; j < values_count; ++j) { in TestRBNF()
/third_party/mindspore/third_party/proto/tensorflow/lite/
Dschema.fbs849 values_count:int;
Dschema_2.4.1.fbs858 values_count:int;
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dschema.fbs849 values_count:int;

12