Home | History | Annotate | Download | only in decpp

Lines Matching refs:rnd

71 		Random	rnd		((deUint32)m_lastPayload.size());
77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf));
137 Random rnd (m_threadId);
143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf)));
148 if (rnd.getBool())
164 Random rnd (iterNdx);
165 int numBlocks = rnd.getInt(2, 128);
166 int blockSize = rnd.getInt(1, 16);
167 int numProducers = rnd.getInt(1, 16);
168 int numConsumers = rnd.getInt(1, 16);
169 int dataSize = rnd.getInt(50, 200);
240 Random rnd(m_seed);
244 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp));
250 if (rnd.getBool())
277 Random rnd(m_seed);
281 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp));
306 Random rnd (deInt32Hash(iterNdx));
307 int numThreads = rnd.getInt(1, 16);
308 int sleepMs = rnd.getInt(1, 200);
313 if (rnd.getBool())
314 threads.push_back(new Consumer(&buffer, rnd.getUint32()));
316 threads.push_back(new Producer(&buffer, rnd.getUint32()));