/external/valgrind/helgrind/tests/ |
H A D | tc05_simple_race.c | 11 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 D | tc06_two_races.c | 10 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/tensorflow/tensorflow/contrib/ffmpeg/default/ |
H A D | ffmpeg_lib_utility_test.cc | 43 mutex mu; local 50 pool.Schedule([&mu, &temp_filenames, environment]() { 56 mutex_lock l(mu); 65 mutex_lock l(mu); 73 mutex_lock l(mu);
|
H A D | ffmpeg_lib_test.cc | 40 mutex mu(LINKER_INITIALIZED); 41 bool should_ffmpeg_be_installed GUARDED_BY(mu) = false; member in namespace:tensorflow::ffmpeg::__anon25849 44 mutex_lock l(mu); 58 mutex_lock l(mu); 73 mutex_lock l(mu); 88 mutex_lock l(mu); 117 mutex_lock l(mu);
|
/external/tensorflow/tensorflow/contrib/input_pipeline/kernels/ |
H A D | input_pipeline_kernels.cc | 41 mutex* mu; variable 42 OP_REQUIRES_OK(ctx, ctx->input_ref_mutex("counter", &mu)); 43 mutex_lock l(*mu); variable
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | conv_ops.h | 64 mutex mu; member in struct:tensorflow::Im2ColBufferResource
|
H A D | training_op_helpers.cc | 24 return var->mu(); 60 mutex* mu = GetTrainingVariableMutex(ctx, input); local 61 if (mu != nullptr) { 62 locks.emplace_back(*mu);
|
H A D | variable_ops.h | 39 // TODO(ebrevdo): Use LockSet instead of exposing mu. 40 mutex* mu() { return &mu_; } function in class:tensorflow::Var
|
/external/valgrind/memcheck/tests/ |
H A D | reach_thread_register.c | 14 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 D | normal.c | 18 normal(double x, double mu, double sigma) argument 20 return .5 + .5*erf((x-mu)/(sqrt(2.0)*sigma));
|
H A D | paretonormal.c | 26 normal(double x, double mu, double sigma) argument 28 return .5 + .5*erf((x-mu)/(sqrt(2.0)*sigma));
|
H A D | stats.c | 24 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/tensorflow/tensorflow/core/util/ |
H A D | work_sharder_test.cc | 32 mutex mu; local 37 [=, &mu, &num_shards, &num_done_work, &work](int64 start, int64 limit) { 41 mutex_lock l(mu);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
H A D | SaddlePointExpansion.java | 142 * @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 D | WTauNafMultiplier.java | 34 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 D | RandomData.java | 180 * @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
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
H A D | TTest.java | 52 * <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...] |
/external/clang/test/Sema/ |
H A D | warn-thread-safety-analysis.c | 35 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 D | fdjac1.h | 11 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 D | add_noise.c | 41 static double gaussian(double sigma, double mu, double x) { argument 43 (exp(-(x - mu) * (x - mu) / (2 * sigma * sigma)));
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | mutex.h | 81 // 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/tensorflow/tensorflow/compiler/jit/ |
H A D | xla_compilation_cache.h | 113 mutex mu; member in struct:tensorflow::XlaCompilationCache::Entry 119 Status compilation_status GUARDED_BY(mu); 122 XlaCompiler::CompilationResult compilation_result GUARDED_BY(mu); 126 std::unique_ptr<xla::LocalExecutable> executable GUARDED_BY(mu);
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
H A D | process_state.h | 141 ProcessState::MemDesc md, mutex* mu) 142 : mm_(mm), a_(a), md_(md), mu_(mu) {} 140 RecordingAllocator(ProcessState::MDMap* mm, Allocator* a, ProcessState::MemDesc md, mutex* mu) argument
|
/external/tensorflow/tensorflow/core/common_runtime/ |
H A D | rendezvous_util.cc | 89 mutex mu; member in struct:tensorflow::__anon26183 117 call_state->mu.lock(); 123 call_state->mu.unlock(); 128 call_state->mu.unlock();
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
H A D | periodic_function_test.cc | 110 mutex mu; local 119 [&mu, &counter, &listener]() { 120 mutex_lock l(mu); 130 mutex_lock l(mu); 139 mutex_lock l(mu);
|