Searched defs:mu (Results 1 - 25 of 64) sorted by relevance

123

/external/regex-re2/util/
H A Datomicops.h49 re2::Mutex mu; local
50 re2::MutexLock l(&mu);
H A Dmutex.h148 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
151 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } argument
163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } argument
174 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock(); } argument
183 // Catch bug where variable name is omitted, e.g. MutexLock (&mu);
/external/valgrind/helgrind/tests/
H A Dtc05_simple_race.c11 pthread_mutex_t mu = PTHREAD_MUTEX_INITIALIZER; variable
16 pthread_mutex_lock( &mu );
18 pthread_mutex_unlock( &mu );
34 pthread_mutex_lock( &mu );
36 pthread_mutex_unlock( &mu );
H A Dtc06_two_races.c10 pthread_mutex_t mu = PTHREAD_MUTEX_INITIALIZER; variable
15 pthread_mutex_lock( &mu );
17 pthread_mutex_unlock( &mu );
32 pthread_mutex_lock( &mu );
34 pthread_mutex_unlock( &mu );
/external/valgrind/memcheck/tests/
H A Dreach_thread_register.c14 pthread_mutex_t mu = PTHREAD_MUTEX_INITIALIZER; variable
23 pthread_mutex_lock(&mu);
33 pthread_mutex_unlock(&mu);
35 pthread_mutex_lock(&mu);
37 pthread_mutex_unlock(&mu);
/external/iproute2/netem/
H A Dnormal.c18 normal(double x, double mu, double sigma) argument
20 return .5 + .5*erf((x-mu)/(sqrt(2.0)*sigma));
H A Dparetonormal.c27 normal(double x, double mu, double sigma) argument
29 return .5 + .5*erf((x-mu)/(sqrt(2.0)*sigma));
H A Dstats.c24 double mu=0.0, sigma=0.0, sumsquare=0.0, sum=0.0, top=0.0, rho=0.0; local
43 mu = sum/(double)n;
44 sigma = sqrt((sumsquare - (double)n*mu*mu)/(double)(n-1));
47 top += ((double)x[i]-mu)*((double)x[i-1]-mu);
48 sigma2 += ((double)x[i-1] - mu)*((double)x[i-1] - mu);
53 printf("mu = %12.6f\n", mu);
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DSaddlePointExpansion.java142 * @param mu the average.
145 static double getDeviancePart(double x, double mu) { argument
147 if (FastMath.abs(x - mu) < 0.1 * (x + mu)) {
148 double d = x - mu;
149 double v = d / (x + mu);
163 ret = x * FastMath.log(x / mu) + mu - x;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DWTauNafMultiplier.java34 byte mu = Tnaf.getMu(a);
37 ZTauElement rho = Tnaf.partModReduction(k, m, a, s, mu, (byte)10);
39 return multiplyWTnaf(p, rho, curve.getPreCompInfo(p, PRECOMP_NAME), a, mu);
53 PreCompInfo preCompInfo, byte a, byte mu)
57 BigInteger tw = Tnaf.getTw(mu, Tnaf.WIDTH);
59 byte[]u = Tnaf.tauAdicWNaf(mu, lambda, Tnaf.WIDTH,
52 multiplyWTnaf(ECPoint.AbstractF2m p, ZTauElement lambda, PreCompInfo preCompInfo, byte a, byte mu) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DRandomData.java180 * @param mu Mean of the distribution
182 * @return random value from Gaussian distribution with mean = mu,
185 double nextGaussian(double mu, double sigma); argument
196 * <li><code>mu >= 0</code> (otherwise an IllegalArgumentException
H A DValueServer.java38 * mean = <code>mu</code> </li>
40 * with mean = <code>mu</code></li>
42 * mean = <code>mu</code> and
44 * <li> CONSTANT_MODE -- returns <code>mu</code> every time.</li></ul></p>
57 /** Uniform random deviates with mean = &mu;. */
60 /** Exponential random deviates with mean = &mu;. */
63 /** Gaussian random deviates with mean = &mu;, std dev = &sigma;. */
66 /** Always return mu */
76 private double mu = 0.0; field in class:ValueServer
122 case CONSTANT_MODE: return mu;
284 setMu(double mu) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
H A DTTest.java52 * <code>mu = 0</code> and the sample array consisting of the (signed)
82 * {@link #tTest(double, double[])} with <code>mu = 0</code> and the sample
152 * @param mu comparison constant
157 double t(double mu, double[] observed) argument
162 * <code>sampleStats</code> to <code>mu</code>.
170 * @param mu comparison constant
175 double t(double mu, StatisticalSummary sampleStats) argument
319 * comparing the mean of the input array with the constant <code>mu</code>.
323 * <code>mu</code> in favor of the two-sided alternative that the mean
324 * is different from <code>mu</cod
342 tTest(double mu, double[] sample) argument
379 tTest(double mu, double[] sample, double alpha) argument
409 tTest(double mu, StatisticalSummary sampleStats) argument
447 tTest( double mu, StatisticalSummary sampleStats, double alpha) argument
[all...]
H A DTTestImpl.java68 * <code>mu = 0</code> and the sample array consisting of the (signed)
106 * {@link #tTest(double, double[])} with <code>mu = 0</code> and the sample
183 * @param mu comparison constant
188 public double t(double mu, double[] observed) argument
191 return t(StatUtils.mean(observed), mu, StatUtils.variance(observed),
198 * <code>sampleStats</code> to <code>mu</code>.
206 * @param mu comparison constant
211 public double t(double mu, StatisticalSummary sampleStats) argument
214 return t(sampleStats.getMean(), mu, sampleStats.getVariance(),
386 * comparing the mean of the input array with the constant <code>mu</cod
409 tTest(double mu, double[] sample) argument
451 tTest(double mu, double[] sample, double alpha) argument
485 tTest(double mu, StatisticalSummary sampleStats) argument
528 tTest( double mu, StatisticalSummary sampleStats, double alpha) argument
913 t(double m, double mu, double v, double n) argument
963 tTest(double m, double mu, double v, double n) argument
[all...]
H A DTestUtils.java226 public static double t(double mu, double[] observed) argument
228 return tTest.t(mu, observed);
234 public static double t(double mu, StatisticalSummary sampleStats) argument
236 return tTest.t(mu, sampleStats);
259 public static boolean tTest(double mu, double[] sample, double alpha) argument
261 return tTest.tTest(mu, sample, alpha);
267 public static double tTest(double mu, double[] sample) argument
269 return tTest.tTest(mu, sample);
275 public static boolean tTest(double mu, StatisticalSummary sampleStats, argument
278 return tTest. tTest(mu, sampleStat
284 tTest(double mu, StatisticalSummary sampleStats) argument
[all...]
/external/clang/test/Sema/
H A Dwarn-thread-safety-analysis.c35 void mutex_exclusive_lock(struct Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); variable
36 void mutex_shared_lock(struct Mutex *mu) SHARED_LOCK_FUNCTION(mu); variable
37 void mutex_unlock(struct Mutex *mu) UNLOCK_FUNCTION(mu); variable
38 void mutex_shared_unlock(struct Mutex *mu) __attribute__((release_shared_capability(mu)));
39 void mutex_exclusive_unlock(struct Mutex *mu) __attribute__((release_capability(mu)));
[all...]
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A Dfdjac1.h11 DenseIndex ml, DenseIndex mu,
35 msum = ml + mu + 1;
68 start = std::max<Index>(0,j-mu);
6 fdjac1( const FunctorType &Functor, Matrix< Scalar, Dynamic, 1 > &x, Matrix< Scalar, Dynamic, 1 > &fvec, Matrix< Scalar, Dynamic, Dynamic > &fjac, DenseIndex ml, DenseIndex mu, Scalar epsfcn) argument
/external/libvpx/libvpx/vpx_dsp/
H A Dadd_noise.c40 static double gaussian(double sigma, double mu, double x) { argument
42 (exp(-(x - mu) * (x - mu) / (2 * sigma * sigma)));
/external/protobuf/src/google/protobuf/stubs/
H A Dmutex.h81 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } argument
95 // MutexLockMaybe is like MutexLock, but is a no-op when mu is NULL.
98 explicit MutexLockMaybe(Mutex *mu) : argument
99 mu_(mu) { if (this->mu_ != NULL) { this->mu_->Lock(); } }
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
H A DGraggBulirschStoerStepInterpolator.java235 * @param mu degree of the interpolation polynomial
238 public void computeCoefficients(final int mu, final double h) { argument
240 if ((polynoms == null) || (polynoms.length <= (mu + 4))) {
241 resetTables(mu + 4);
244 currentDegree = mu + 4;
259 if (mu < 0) {
267 if (mu > 0) {
271 if (mu > 1) {
275 if (mu > 2) {
279 for (int j = 4; j <= mu;
[all...]
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-negative.cpp50 Mutex mu; member in class:SimpleTest::Bar
51 int a GUARDED_BY(mu);
54 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
55 mu.Lock();
57 mu.Unlock();
63 Mutex mu; member in class:SimpleTest::Foo
64 int a GUARDED_BY(mu);
68 mu.Lock(); // expected-warning {{acquiring mutex 'mu' requires negative capability '!mu'}}
[all...]
H A Dwarn-thread-safety-verbose.cpp45 Mutex mu; member in class:Test
46 int a GUARDED_BY(mu); // expected-note3 {{Guarded_by declared here.}}
48 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu);
49 void foo2() SHARED_LOCKS_REQUIRED(mu);
50 void foo3() LOCKS_EXCLUDED(mu);
53 a = 0; // expected-warning {{writing variable 'a' requires holding mutex 'mu' exclusively}}
57 int b = a; // expected-warning {{reading variable 'a' requires holding mutex 'mu'}}
61 foo1(); // expected-warning {{calling function 'foo1' requires holding mutex 'mu' exclusively}}
65 foo2(); // expected-warning {{calling function 'foo2' requires holding mutex 'mu'}}
69 mu
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h177 explicit GenericScopedLock(MutexType *mu) argument
178 : mu_(mu) {
196 explicit GenericScopedReadLock(MutexType *mu) argument
197 : mu_(mu) {
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
H A DEventCount.h174 std::mutex mu; member in class:Eigen::EventCount::Waiter
205 std::unique_lock<std::mutex> lock(w->mu);
218 std::unique_lock<std::mutex> lock(w->mu);
/external/openssh/
H A Dsc25519.c18 static const crypto_uint32 mu[33] = {0x1B, 0x13, 0x2C, 0x0A, 0xA3, 0xE5, 0x9C, 0xED, 0xA7, 0x29, 0x63, 0x08, 0x5D, 0x21, 0x06, 0x21, variable
68 if(i+j >= 31) q2[i+j] += mu[i]*x[j+31];

Completed in 541 milliseconds

123