Home
last modified time | relevance | path

Searched refs:categories (Results 1 – 25 of 630) sorted by relevance

12345678910>>...26

/third_party/grpc/tools/run_tests/performance/
Dscenario_config.py127 categories=DEFAULT_CATEGORIES, argument
224 if categories:
225 scenario['CATEGORIES'] = categories
257 categories=[INPROC] + [SCALABLE])
271 categories=[SMOKETEST] + [INPROC] + [SCALABLE])
287 categories=[SCALABLE])
302 categories=smoketest_categories + inproc_categories +
314 categories=smoketest_categories + inproc_categories +
329 categories=smoketest_categories + inproc_categories +
344 categories=[SWEEP])
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dmultinomial_impl.cu21 __global__ void CheckZeroKernel(const size_t distributions, const size_t categories, const T *input… in CheckZeroKernel() argument
24 if (input[(1 + pos) * categories - 1] <= 0) { in CheckZeroKernel()
32 void CheckZero(const size_t distributions, const size_t categories, const T *input, T *output, in CheckZero() argument
34 …ET_BLOCKS(distributions), GET_THREADS, 0, cuda_stream>>>(distributions, categories, input, output); in CheckZero()
54 __global__ void NormInputKernel(T *input, const size_t distributions, const size_t categories) { in NormInputKernel() argument
55 size_t size = distributions * categories; in NormInputKernel()
57 if ((pos + 1) % categories != 0) { in NormInputKernel()
58 int de_pos = (1 + pos / categories) * categories - 1; in NormInputKernel()
66 void NormInput(T *input, const size_t distributions, const size_t categories, cudaStream_t cuda_str… in NormInput() argument
67 int count1 = distributions * categories; in NormInput()
[all …]
Dmultinomial_impl.cuh24 size_t distributions, size_t categories, cudaStream_t cuda_stream);
28 void CheckZero(const size_t distributions, const size_t categories, const T *input, T *output, cuda…
30 void NormInput(T *input, const size_t distributions, const size_t categories, cudaStream_t cuda_str…
/third_party/node/doc/api/
Dtracing.md12 Tracing can be enabled with the `--trace-event-categories` command-line flag
13 or by using the `trace_events` module. The `--trace-event-categories` flag
16 The available categories are:
39 By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
42 node --trace-event-categories v8,node,node.async_hooks server.js
48 `node`, `node.async_hooks`, and `v8` trace event categories by default.
55 node --trace-event-categories v8,node,node.async_hooks
62 const tracing = trace_events.createTracing({ categories: ['node.perf'] });
80 node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js
101 categories. Instances are created using the `trace_events.createTracing()`
[all …]
/third_party/node/lib/
Dtrace_events.js34 constructor(categories) { argument
35 this[kHandle] = new CategorySet(categories);
36 this[kCategories] = categories;
66 get categories() { getter in Tracing
76 categories: this.categories property
86 if (!ArrayIsArray(options.categories)) {
88 options.categories);
91 if (options.categories.length <= 0)
94 return new Tracing(options.categories);
/third_party/node/src/
Dnode_trace_events.cc49 std::set<std::string>&& categories) : in NodeCategorySet() argument
50 BaseObject(env, wrap), categories_(std::move(categories)) { in NodeCategorySet()
60 std::set<std::string> categories; in New() local
68 categories.emplace(*val); in New()
71 new NodeCategorySet(env, args.This(), std::move(categories)); in New()
78 const auto& categories = category_set->GetCategories(); in Enable() local
79 if (!category_set->enabled_ && !categories.empty()) { in Enable()
83 GetTracingAgentWriter()->Enable(categories); in Enable()
92 const auto& categories = category_set->GetCategories(); in Disable() local
93 if (category_set->enabled_ && !categories.empty()) { in Disable()
[all …]
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_operator_test.cc216 std::vector<std::pair<std::string, std::string>> categories; in TEST_F() local
217 categories.emplace_back("label", "257"); in TEST_F()
218 categories.emplace_back("label", "302"); in TEST_F()
219 categories.emplace_back("label", "132"); in TEST_F()
220 ops.push_back(std::make_shared<ShardCategory>(categories)); in TEST_F()
236 ASSERT_TRUE((std::get<1>(x[0]))["label"] == categories[category_no].second); in TEST_F()
239 category_no %= static_cast<int>(categories.size()); in TEST_F()
388 std::vector<std::pair<std::string, std::string>> categories; in TEST_F() local
389 categories.emplace_back("label", "257"); in TEST_F()
390 categories.emplace_back("label", "302"); in TEST_F()
[all …]
/third_party/node/src/inspector/
Dtracing_agent.cc148 protocol::Array<std::string>* categories = in start() local
150 for (size_t i = 0; i < categories->length(); i++) in start()
151 categories_set.insert(categories->get(i)); in start()
174 std::unique_ptr<protocol::Array<String>>* categories) { in getCategories() argument
175 *categories = Array<String>::create(); in getCategories()
176 categories->get()->addItem("node"); in getCategories()
177 categories->get()->addItem("node.async"); in getCategories()
178 categories->get()->addItem("node.bootstrap"); in getCategories()
179 categories->get()->addItem("node.fs.sync"); in getCategories()
180 categories->get()->addItem("node.perf"); in getCategories()
[all …]
/third_party/node/src/tracing/
Dagent.cc105 const std::set<std::string>& categories, in AddClient() argument
110 const std::set<std::string>* use_categories = &categories; in AddClient()
114 categories_with_default.insert(categories.begin(), categories.end()); in AddClient()
165 void Agent::Enable(int id, const std::set<std::string>& categories) { in Enable() argument
166 if (categories.empty()) in Enable()
171 categories_[id].insert(categories.begin(), categories.end()); in Enable()
174 void Agent::Disable(int id, const std::set<std::string>& categories) { in Disable() argument
178 for (const std::string& category : categories) { in Disable()
196 std::string categories; in GetEnabledCategories() local
198 if (!categories.empty()) in GetEnabledCategories()
[all …]
Dagent.h63 inline void Enable(const std::set<std::string>& categories);
64 inline void Disable(const std::set<std::string>& categories);
101 AgentWriterHandle AddClient(const std::set<std::string>& categories,
130 void Enable(int id, const std::set<std::string>& categories);
131 void Disable(int id, const std::set<std::string>& categories);
176 void AgentWriterHandle::Enable(const std::set<std::string>& categories) { in Enable() argument
177 if (agent_ != nullptr) agent_->Enable(id_, categories); in Enable()
180 void AgentWriterHandle::Disable(const std::set<std::string>& categories) { in Disable() argument
181 if (agent_ != nullptr) agent_->Disable(id_, categories); in Disable()
/third_party/curl/docs/cmdline-opts/
Dgen.pl358 my @categories = split ' ', $catlong{$long};
368 for my $i (0 .. $#categories) {
369 $bitmask .= 'CURLHELP_' . uc $categories[$i];
371 if($i < $#categories) {
397 my @categories = split ' ', $catlong{$f};
398 foreach (@categories) {
402 my @categories;
404 push @categories, $key;
406 @categories = sort @categories;
407 unshift @categories, 'hidden';
[all …]
/third_party/mesa3d/src/mapi/glapi/gen/
Dgl_procs.py122 categories = {}
127 if cat not in categories:
128 categories[cat] = []
131 categories[cat].append(proto)
132 if categories:
136 keys = sorted(categories.keys())
139 print("\n".join(categories[key]))
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_task_list.cc28 ShardTaskList::ShardTaskList() : categories(1) {} in ShardTaskList()
31 : categories(other.categories), in ShardTaskList()
38 std::swap(categories, tmp.categories); in operator =()
69 std::swap(orig_tasks.categories, new_tasks.categories); in TaskListSwap()
109 res.categories = static_cast<uint32_t>(total_categories); in Combine()
Dshard_shuffle.cc46 uint32_t individual_size = tasks.sample_ids_.size() / tasks.categories; in CategoryShuffle()
47 …std::vector<std::vector<int>> new_permutations(tasks.categories, std::vector<int>(individual_size)… in CategoryShuffle()
48 for (uint32_t i = 0; i < tasks.categories; i++) { in CategoryShuffle()
54 for (uint32_t i = 0; i < tasks.categories; i++) { in CategoryShuffle()
55 …tasks.permutation_.push_back(new_permutations[i][j] * static_cast<int>(tasks.categories) + static_… in CategoryShuffle()
162 tasks.categories >= 1, in Execute()
163 …"Invalid data, task categories [" + std::to_string(tasks.categories) + "] need to be larger than 1… in Execute()
/third_party/node/test/parallel/
Dtest-trace-events-api.js41 assert.throws(() => createTracing({ categories: i }), { property
48 () => createTracing({ categories: [] }), property
55 const tracing = createTracing({ categories: [ 'node.perf' ] }); property
57 assert.strictEqual(tracing.categories, 'node.perf');
73 const tracing2 = createTracing({ categories: [ 'foo' ] }); property
102 let tracing3 = createTracing({ categories: [ 'abc' ] }); property
118 const tracing = createTracing({ categories: [ `a${n}` ] }); property
/third_party/curl/src/
Dtool_help.c81 static const struct category_descriptors categories[] = { variable
122 curlhelp_t categories; member
896 if(helptext[i].categories & category) { in print_category()
905 for(i = 0; categories[i].opt; ++i) in get_category_content()
906 if(curl_strequal(categories[i].opt, category)) { in get_category_content()
907 printf("%s: %s\n", categories[i].opt, categories[i].desc); in get_category_content()
908 print_category(categories[i].category); in get_category_content()
918 for(i = 0; categories[i].opt; ++i) in get_categories()
919 printf(" %-11s %s\n", categories[i].opt, categories[i].desc); in get_categories()
/third_party/boost/libs/outcome/doc/src/content/reference/policies/base/
D_index.md18 {{% children description="true" depth="2" categories="special" %}}
22 {{% children description="true" depth="2" categories="observers" %}}
26 {{% children description="true" depth="2" categories="modifiers" %}}
30 {{% children description="true" depth="2" categories="observer-policies" %}}
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBISetBuilder.java330 void mergeCategories(IntPair categories) { in mergeCategories() argument
331 assert(categories.first >= 1); in mergeCategories()
332 assert(categories.second > categories.first); in mergeCategories()
333 … assert((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories()
334 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories()
337 if (rangeNum == categories.second) { in mergeCategories()
338 rd.fNum = categories.first; in mergeCategories()
339 } else if (rangeNum > categories.second) { in mergeCategories()
344 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
/third_party/node/deps/icu-small/source/common/
Drbbisetb.cpp294 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument
295 U_ASSERT(categories.first >= 1); in mergeCategories()
296 U_ASSERT(categories.second > categories.first); in mergeCategories()
297 …U_ASSERT((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories()
298 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories()
302 if (rangeNum == categories.second) { in mergeCategories()
303 rd->fNum = categories.first; in mergeCategories()
304 } else if (rangeNum > categories.second) { in mergeCategories()
309 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
/third_party/skia/third_party/externals/icu/source/common/
Drbbisetb.cpp294 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument
295 U_ASSERT(categories.first >= 1); in mergeCategories()
296 U_ASSERT(categories.second > categories.first); in mergeCategories()
297 …U_ASSERT((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories()
298 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories()
302 if (rangeNum == categories.second) { in mergeCategories()
303 rd->fNum = categories.first; in mergeCategories()
304 } else if (rangeNum > categories.second) { in mergeCategories()
309 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
/third_party/icu/icu4c/source/common/
Drbbisetb.cpp294 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument
295 U_ASSERT(categories.first >= 1); in mergeCategories()
296 U_ASSERT(categories.second > categories.first); in mergeCategories()
297 …U_ASSERT((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories()
298 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories()
302 if (rangeNum == categories.second) { in mergeCategories()
303 rd->fNum = categories.first; in mergeCategories()
304 } else if (rangeNum > categories.second) { in mergeCategories()
309 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
/third_party/boost/tools/quickbook/src/
Ddocument_state.hpp26 enum categories enum
40 id_category(categories c_) : c(c_) {} in id_category()
41 explicit id_category(int c_) : c(categories(c_)) {} in id_category()
45 categories c;
/third_party/mesa3d/src/panfrost/perf/
Dpan_gen_perf.py81 self.categories = []
84 self.categories.append(Category(self, xml_cat))
159 n_categories = len(prod.categories)
162 for category in prod.categories:
175 c.write(".n_categories = %u," % len(prod.categories))
182 for i in range(0, len(prod.categories)):
183 category = prod.categories[i]
/third_party/gettext/gettext-runtime/intl/
Dsetlocale.c1399 static int const categories[] = in libintl_setlocale() local
1452 for (; i < sizeof (categories) / sizeof (categories[0]); i++) in libintl_setlocale()
1454 int cat = categories[i]; in libintl_setlocale()
1672 static struct { int cat; int mask; } const categories[] =
1701 for (i = 1; i < sizeof (categories) / sizeof (categories[0]); i++)
1703 int category = categories[i].cat;
1704 int category_mask = categories[i].mask;
1729 for (i = 0; i < sizeof (categories) / sizeof (categories[0]); i++)
1731 int cat_mask = categories[i].mask;
1735 int cat = categories[i].cat;
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/
Dmultinomial_gpu_kernel.h63 int categories = SizeToInt(inputs[0]->size / sizeof(T)) / distributions_; in Launch() local
65 …mSum(input_addr, cum_sum_input, cum_sum_input, IntToSize(distributions_), IntToSize(categories), 1, in Launch()
66 IntToSize(categories), 1, false, false, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
67 NormInput(cum_sum_input, IntToSize(distributions_), IntToSize(categories), in Launch()
70 IntToSize(categories), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()

12345678910>>...26