Home
last modified time | relevance | path

Searched refs:cur_class (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/modules/ml/src/
Dtestset.cpp71 int i, cur_class; in createConcentricSpheresTestSet() local
100 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) in createConcentricSpheresTestSet()
102 int last_idx = num_samples * (cur_class + 1) / num_classes - 1; in createConcentricSpheresTestSet()
107 responses.at<int>(i) = cur_class; in createConcentricSpheresTestSet()
/external/opencv/ml/src/
Dmltestset.cpp103 int i, cur_class; in cvCreateTestSet() local
136 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) in cvCreateTestSet()
141 last_idx = num_samples * (cur_class + 1) / num_classes - 1; in cvCreateTestSet()
147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; in cvCreateTestSet()
/external/v8/test/cctest/
Dtest-inobject-slack-tracking.cc542 for (int cur_class = 0; cur_class < n; cur_class++) { in CreateClassHierarchy() local
543 os << "class A" << cur_class; in CreateClassHierarchy()
544 if (cur_class > 0) { in CreateClassHierarchy()
545 os << " extends A" << (cur_class - 1); in CreateClassHierarchy()
549 if (cur_class > 0) { in CreateClassHierarchy()
552 int fields_count = hierarchy_desc[cur_class]; in CreateClassHierarchy()
554 os << " this.f" << cur_class << "_" << k << " = " << k << ";\n"; in CreateClassHierarchy()
583 for (int cur_class = 0; cur_class < n; cur_class++) { in TestClassHierarchy() local
584 std::string class_name = GetClassName(cur_class); in TestClassHierarchy()
585 int fields_count_at_current_level = hierarchy_desc[cur_class]; in TestClassHierarchy()
[all …]