HomeSort by relevance Sort by last modified time
    Searched refs:rng (Results 51 - 75 of 429) sorted by null

1 23 4 5 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/
move_backward.pass.cpp 72 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
73 const int N = sizeof(rng)/sizeof(rng[0]);
76 testN<std::deque<int> >(rng[i], rng[j]);
80 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
81 const int N = sizeof(rng)/sizeof(rng[0]);
84 testN<std::deque<int, min_allocator<int> > >(rng[i], rng[j])
    [all...]
swap.pass.cpp 57 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
58 const int N = sizeof(rng)/sizeof(rng[0]);
62 testN<std::deque<int> >(rng[i], rng[j], rng[k]);
90 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
91 const int N = sizeof(rng)/sizeof(rng[0]);
95 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k])
    [all...]
  /external/opencv3/modules/core/test/
test_rotatedrect.cpp 69 RNG& rng = ts->get_rng(); local
70 a = Point2f( rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL), rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL) );
73 b = Point2f( rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL), rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL) );
78 double d = (double) rng.uniform(1.0f, 5.0f);
79 if( cvtest::randInt(rng) % 2 == 0 ) d = -d;
  /art/tools/dexfuzz/src/dexfuzz/program/mutators/
CodeMutator.java 33 * The RNG, passed in by the Program that initialised us.
35 protected Random rng; field in class:CodeMutator
64 * @param rng The RNG that the Program created.
66 public CodeMutator(Random rng, MutationStats stats, List<Mutation> mutations) {
67 this.rng = rng;
113 return ((rng.nextInt(100) < likelihood) && canMutate(mutatableCode));
  /external/libcxx/test/std/containers/sequences/deque/deque.special/
swap.pass.cpp 57 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
58 const int N = sizeof(rng)/sizeof(rng[0]);
62 testN<std::deque<int> >(rng[i], rng[j], rng[k]);
90 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
91 const int N = sizeof(rng)/sizeof(rng[0]);
95 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k])
    [all...]
  /external/opencv3/modules/calib3d/test/
test_decompose_projection.cpp 64 cv::RNG& rng = ts->get_rng(); local
75 rng.fill(f, cv::RNG::UNIFORM, 300, 1000);
76 rng.fill(c, cv::RNG::UNIFORM, 150, 600);
78 double alpha = 0.01*rng.gaussian(1);
86 rng.fill(rVec, cv::RNG::UNIFORM, -CV_PI, CV_PI);
92 rng.fill(origT, cv::RNG::NORMAL, 0, 1)
    [all...]
test_undistort.cpp 86 RNG& rng = ts->get_rng(); local
87 matrix_type = types[INPUT][0] = types[OUTPUT][0]= types[REF_OUTPUT][0] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
98 RNG& rng = ts->get_rng();
100 img_size.width = cvtest::randInt(rng) % MAX_X + 1;
101 img_size.height = cvtest::randInt(rng) % MAX_Y + 1;
103 center_principal_point = ((cvtest::randInt(rng) % 2)!=0);
107 double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7;
110 a[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5
214 RNG& rng = ts->get_rng(); local
260 RNG& rng = ts->get_rng(); local
624 RNG& rng = ts->get_rng(); local
665 RNG& rng = ts->get_rng(); local
    [all...]
  /external/opencv3/modules/flann/test/
test_lshtable_badarg.cpp 67 RNG &rng = ts->get_rng(); local
70 Size featuresSize = cvtest::randomSize(rng, 10.0);
71 caller.features = cvtest::randomMat(rng, featuresSize, CV_8UC1, 0, 255, false);
82 caller.key_size += cvtest::randInt(rng) % 100;
  /external/opencv3/modules/ml/test/
test_svmtrainauto.cpp 63 RNG rng(0);
66 int response = rng.uniform(0, 2); // Random from {0, 1}.
67 samples.at<float>( i, 0 ) = rng.uniform(0.f, 0.5f) + response * 0.5f;
68 samples.at<float>( i, 1 ) = rng.uniform(0.f, 0.5f) + response * 0.5f;
  /external/opencv3/samples/cpp/
convexhull.cpp 19 RNG& rng = theRNG(); local
26 int i, count = (unsigned)rng%100 + 1;
33 pt.x = rng.uniform(img.cols/4, img.cols*3/4);
34 pt.y = rng.uniform(img.rows/4, img.rows*3/4);
minarea.cpp 25 RNG& rng = theRNG(); local
29 int i, count = rng.uniform(1, 101);
36 pt.x = rng.uniform(img.cols/4, img.cols*3/4);
37 pt.y = rng.uniform(img.rows/4, img.rows*3/4);
  /external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
findContours_demo.cpp 20 RNG rng(12345);
72 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
hull_demo.cpp 20 RNG rng(12345);
74 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
moments_demo.cpp 20 RNG rng(12345);
77 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
91 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
  /external/opencv3/samples/cpp/tutorial_code/TrackingMotion/
cornerSubPix_Demo.cpp 23 RNG rng(12345);
88 { circle( copy, corners[i], r, Scalar(rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255)), -1, 8, 0 ); }
goodFeaturesToTrack_Demo.cpp 23 RNG rng(12345);
88 { circle( copy, corners[i], r, Scalar(rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255)), -1, 8, 0 ); }
cornerDetector_Demo.cpp 28 RNG rng(12345);
100 { circle( myShiTomasi_copy, Point(i,j), 4, Scalar( rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255) ), -1, 8, 0 ); }
119 { circle( myHarris_copy, Point(i,j), 4, Scalar( rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255) ), -1, 8, 0 ); }
  /frameworks/base/keystore/java/android/security/keystore/
KeyStoreCryptoOperationUtils.java 93 * Returns the requested number of random bytes to mix into keystore/keymaster RNG.
95 * @param rng RNG from which to obtain the random bytes or {@code null} for the platform-default
96 * RNG.
98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) {
102 if (rng == null) {
103 rng = getRng();
106 rng.nextBytes(result);
  /external/opencv3/modules/core/perf/
perf_math.cpp 32 RNG& rng = theRNG(); local
39 dims = rng.uniform(1, MAX_DIM+1);
40 N = rng.uniform(1, MAX_POINTS+1);
41 N0 = rng.uniform(1, MAX(N/10, 2));
42 K = rng.uniform(1, N+1);
45 rng.fill(data0, RNG::UNIFORM, -1, 1);
49 data0.row(rng.uniform(0, N0)).copyTo(data.row(i));
  /external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
insert_value.pass.cpp 120 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
121 const int N = sizeof(rng)/sizeof(rng[0]);
124 testN<std::deque<int> >(rng[i], rng[j]);
129 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
130 const int N = sizeof(rng)/sizeof(rng[0]);
133 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/
insert_value.pass.cpp 122 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
123 const int N = sizeof(rng)/sizeof(rng[0]);
126 testN<std::deque<int> >(rng[i], rng[j]);
131 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
132 const int N = sizeof(rng)/sizeof(rng[0]);
135 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
  /external/libopus/celt/
entenc.c 103 while(_this->rng<=EC_CODE_BOT){
107 _this->rng<<=EC_SYM_BITS;
120 _this->rng=EC_CODE_TOP;
130 r=_this->rng/_ft;
132 _this->val+=_this->rng-IMUL32(r,(_ft-_fl));
133 _this->rng=IMUL32(r,(_fh-_fl));
135 else _this->rng-=IMUL32(r,(_ft-_fh));
141 r=_this->rng>>_bits;
143 _this->val+=_this->rng-IMUL32(r,((1U<<_bits)-_fl));
144 _this->rng=IMUL32(r,(_fh-_fl))
    [all...]
  /external/opencv3/modules/video/test/
test_ecc.cpp 126 cv::RNG rng = ts->get_rng(); local
135 Mat translationGround = (Mat_<float>(2,3) << 1, 0, (rng.uniform(10.f, 20.f)),
136 0, 1, (rng.uniform(10.f, 20.f)));
201 cv::RNG rng = ts->get_rng(); local
208 double angle = CV_PI/30 + CV_PI*rng.uniform((double)-2.f, (double)2.f)/180;
210 Mat euclideanGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)),
211 sin(angle), cos(angle), (rng.uniform(10.f, 20.f)));
275 cv::RNG rng = ts->get_rng() local
351 cv::RNG rng = ts->get_rng(); local
426 cv::RNG rng = ts->get_rng(); local
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/program/
Program.java 74 * The RNG used during mutation.
76 private Random rng; field in class:Program
79 * The seed that was given to the RNG.
152 // Set up the RNG.
153 rng = new Random();
155 rng.setSeed(Options.rngSeed);
160 rng.setSeed(seed);
191 registerMutator(new ArithOpChanger(rng, mutationStats, mutations));
192 registerMutator(new BranchShifter(rng, mutationStats, mutations));
193 registerMutator(new CmpBiasChanger(rng, mutationStats, mutations))
    [all...]
  /external/valgrind/coregrind/
m_rangemap.c 110 Range* rng = VG_(indexXA)(rm->ranges, i); local
111 rng->val = val;
120 Range* rng = (Range*)VG_(indexXA)(rm->ranges, i); local
121 *key_min = rng->key_min;
122 *key_max = rng->key_max;
123 *val = rng->val;
138 Range* rng = (Range*)VG_(indexXA)(rm->ranges, ix); local
139 *key_min = rng->key_min;
140 *key_max = rng->key_max;
141 *val = rng->val
208 Range* rng = (Range*)VG_(indexXA)(rm->ranges, i); local
    [all...]

Completed in 3566 milliseconds

1 23 4 5 6 7 8 91011>>