reserve 171 apps/traincascade/cascadeclassifier.cpp stageClassifiers.reserve( numStages ); reserve 397 apps/traincascade/cascadeclassifier.cpp stageClassifiers.reserve(numStages); reserve 131 modules/calib3d/src/circlesgrid.cpp patternPoints.reserve(clusters[patternClusterIdx].size()); reserve 1359 modules/core/include/opencv2/core/mat.hpp void reserve(size_t sz); reserve 728 modules/core/src/matrix.cpp reserve( std::max(r + 1, (r*3+1)/2) ); reserve 779 modules/core/src/matrix.cpp reserve(nelems); reserve 826 modules/core/src/matrix.cpp reserve( std::max(r + delta, (r*3+1)/2) ); reserve 929 modules/core/src/system.cpp TLSStorage() { tlsData_.reserve(16); } reserve 75 modules/cudaarithm/test/test_core.cpp src.reserve(channels); reserve 464 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.reserve(nQuery); reserve 538 modules/cudafeatures2d/src/brute_force_matcher.cpp temp.reserve(2 * k); reserve 542 modules/cudafeatures2d/src/brute_force_matcher.cpp matches[i].reserve(k); reserve 782 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.reserve(nQuery); reserve 788 modules/cudafeatures2d/src/brute_force_matcher.cpp curMatches.reserve(k); reserve 1031 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.reserve(nQuery); reserve 356 modules/cudaimgproc/src/generalized_hough.cpp newPosBuf_.reserve(posCount_); reserve 357 modules/cudaimgproc/src/generalized_hough.cpp newVoteBuf_.reserve(posCount_); reserve 139 modules/cudaimgproc/src/gftt.cpp tmp2.reserve(total); reserve 331 modules/cudaimgproc/src/mssegmentation.cpp edges.reserve(g.numv); reserve 271 modules/cudalegacy/src/calib3d.cpp inliers->reserve(num_inliers); reserve 682 modules/cudaobjdetect/src/cascadeclassifier.cpp stages.reserve(fn.size()); reserve 705 modules/cudaobjdetect/src/cascadeclassifier.cpp cl_trees.reserve(stages[si].first + stages[si].ntrees); reserve 721 modules/cudaobjdetect/src/cascadeclassifier.cpp cl_nodes.reserve((cl_nodes.size() + nodeCount) * 3); reserve 722 modules/cudaobjdetect/src/cascadeclassifier.cpp cl_leaves.reserve(cl_leaves.size() + leafValues.size()); reserve 725 modules/cudaobjdetect/src/cascadeclassifier.cpp subsets.reserve(subsets.size() + nodeCount * subsetSize); reserve 752 modules/cudaobjdetect/src/cascadeclassifier.cpp features.reserve(fn.size() * 4); reserve 65 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( mat.rows ); reserve 78 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( vv_kp.size() ); reserve 91 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( mat.rows ); reserve 104 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( vv_dm.size() ); reserve 784 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 789 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 801 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 806 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 3228 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 3233 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 3245 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 3250 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 5309 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 5314 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 5326 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 5331 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 7430 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 7435 modules/features2d/src/agast.cpp keypoints.reserve(nExpectedCorners); reserve 868 modules/features2d/src/brisk.cpp keypoints.reserve(2000); reserve 227 modules/features2d/src/evaluation.cpp filtered.reserve(keypoints.size()); reserve 326 modules/features2d/src/evaluation.cpp overlaps.reserve(cvRound(keypoints1.size() * keypoints2t.size() * 0.01)); reserve 128 modules/features2d/src/matchers.cpp matches.reserve(nQuery); reserve 231 modules/features2d/src/matchers.cpp matches.reserve(nQuery); reserve 240 modules/features2d/src/matchers.cpp curMatches.reserve(k); reserve 344 modules/features2d/src/matchers.cpp matches.reserve(nQuery); reserve 504 modules/features2d/src/matchers.cpp matches.reserve( knnMatches.size() ); reserve 807 modules/features2d/src/matchers.cpp matches.reserve(queryDescriptors.rows); reserve 839 modules/features2d/src/matchers.cpp mq.reserve(knn); reserve 819 modules/features2d/src/orb.cpp keypoints.reserve(nfeaturesPerLevel[0]*2); reserve 883 modules/features2d/src/orb.cpp newAllKeypoints.reserve(nfeaturesPerLevel[0]*nlevels); reserve 331 modules/flann/include/opencv2/flann/autotuned_index.h costs.reserve(costs.size() + kmeansParamSpaceSize); reserve 76 modules/flann/include/opencv2/flann/heap.h heap.reserve(length); reserve 518 modules/flann/include/opencv2/flann/result_set.h this->dist_indices_.reserve(capacity_); reserve 1315 modules/highgui/src/ppltasks_winrt.h _Result.reserve(_type.size()); reserve 1327 modules/highgui/src/ppltasks_winrt.h _Return.reserve(_Result.size()); reserve 524 modules/imgcodecs/src/grfmt_bmp.cpp m_buf->reserve( alignSize(fileSize + 16, 256) ); reserve 391 modules/imgcodecs/src/grfmt_pxm.cpp m_buf->reserve( alignSize(256 + (isBinary ? fileStep*height : reserve 728 modules/imgcodecs/src/grfmt_tiff.cpp m_buf->reserve( alignSize(stripCount*8 + fileStep*height + 256, 256) ); reserve 1204 modules/imgproc/src/drawing.cpp edges.reserve( edges.size() + count ); reserve 1847 modules/imgproc/src/drawing.cpp edges.reserve( total + 1 ); reserve 2111 modules/imgproc/src/drawing.cpp pts.reserve(1 << 10); reserve 176 modules/imgproc/src/featureselect.cpp corners.reserve(total); reserve 99 modules/imgproc/src/gcgraph.hpp vtcs.reserve( vtxCount ); reserve 100 modules/imgproc/src/gcgraph.hpp edges.reserve( edgeCount + 2 ); reserve 694 modules/imgproc/src/generalized_hough.cpp std::for_each(features.begin(), features.end(), std::bind2nd(std::mem_fun_ref(&std::vector<Feature>::reserve), maxBufferSize_)); reserve 738 modules/imgproc/src/generalized_hough.cpp points.reserve(edges.size().area()); reserve 182 modules/java/generator/src/cpp/converters.cpp v_mat.reserve(mat.rows); reserve 210 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); reserve 223 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); reserve 236 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); reserve 249 modules/java/generator/src/cpp/converters.cpp vm.reserve( mat.rows ); reserve 262 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_ch.size() ); reserve 275 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_pt.size() ); reserve 288 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_pt.size() ); reserve 301 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_pt.size() ); reserve 242 modules/ml/src/tree.cpp w->wnodes.reserve(n); reserve 243 modules/ml/src/tree.cpp w->wsplits.reserve(n); reserve 244 modules/ml/src/tree.cpp w->wsubsets.reserve(n*w->maxSubsetSize); reserve 1137 modules/ml/src/tree.cpp _sleft.reserve(n); reserve 1138 modules/ml/src/tree.cpp _sright.reserve(n); reserve 1263 modules/objdetect/src/cascadedetect.cpp scales.reserve(1024); reserve 1435 modules/objdetect/src/cascadedetect.cpp stages.reserve(fn.size()); reserve 1455 modules/objdetect/src/cascadedetect.cpp classifiers.reserve(stages[si].first + stages[si].ntrees); reserve 1473 modules/objdetect/src/cascadedetect.cpp nodes.reserve(nodes.size() + tree.nodeCount); reserve 1474 modules/objdetect/src/cascadedetect.cpp leaves.reserve(leaves.size() + leafValues.size()); reserve 1476 modules/objdetect/src/cascadedetect.cpp subsets.reserve(subsets.size() + tree.nodeCount*subsetSize); reserve 763 modules/shape/src/sc_dis.cpp inliers1.reserve(sizeScd1); reserve 771 modules/shape/src/sc_dis.cpp inliers2.reserve(sizeScd2); reserve 441 modules/stitching/src/matchers.cpp features.keypoints.reserve(features.keypoints.size() + points.size()); reserve 155 modules/ts/src/cuda_test.cpp devices_.reserve(1); reserve 181 modules/ts/src/cuda_test.cpp devices_.reserve(deviceCount); reserve 371 modules/ts/src/cuda_test.cpp v.reserve((depth_end - depth_start + 1) * (cn_end - cn_start + 1)); reserve 3165 modules/ts/src/ts_gtest.cpp result.reserve(2 * (end - start)); reserve 4696 modules/ts/src/ts_gtest.cpp output.reserve(str.size()); reserve 4929 modules/ts/src/ts_gtest.cpp result.reserve(strlen(str) + 1); reserve 1722 modules/ts/src/ts_perf.cpp test->times.reserve(n); reserve 19 modules/video/perf/perf_optflowpyrlk.cpp points.reserve(nPointsX * nPointsY); reserve 790 modules/videoio/src/cap_mjpeg_decoder.cpp result.reserve(chunk.m_size); reserve 1315 modules/videoio/src/ppltasks_winrt.hpp _Result.reserve(_type.size()); reserve 1327 modules/videoio/src/ppltasks_winrt.hpp _Return.reserve(_Result.size()); reserve 725 modules/videostab/src/global_motion.cpp pointsPrevGood_.clear(); pointsPrevGood_.reserve(points_.size()); reserve 726 modules/videostab/src/global_motion.cpp pointsGood_.clear(); pointsGood_.reserve(points_.size()); reserve 748 modules/videostab/src/global_motion.cpp pointsPrevGood_.reserve(points_.size()); reserve 751 modules/videostab/src/global_motion.cpp pointsGood_.reserve(points_.size()); reserve 820 modules/videostab/src/global_motion.cpp hostPointsPrevTmp_.reserve(hostPoints_.cols); reserve 823 modules/videostab/src/global_motion.cpp hostPointsTmp_.reserve(hostPoints_.cols); reserve 98 samples/gpu/performance/performance.h cpu_times_.reserve(num_iters_); reserve 99 samples/gpu/performance/performance.h gpu_times_.reserve(num_iters_);