/external/glide/library/src/main/java/com/bumptech/glide/ |
MemoryCategory.java | 20 private float multiplier; field in class:MemoryCategory 22 MemoryCategory(float multiplier) { 23 this.multiplier = multiplier; 27 * Returns the multiplier that should be applied to the initial maximum size of Glide's memory cache and bitmap 31 return multiplier;
|
/external/v8/src/base/ |
division-by-constant.h | 19 : multiplier(m), shift(s), add(a) {} 22 T multiplier; member in struct:v8::base::MagicNumbersForDivision 28 // Calculate the multiplier and shift for signed division via multiplication. 34 // Calculate the multiplier and shift for unsigned division via multiplication,
|
/external/replicaisland/src/com/replica/replicaisland/ |
GravityComponent.java | 51 public void setGravityMultiplier(float multiplier) { 53 mGravity.multiply(multiplier);
|
/external/google-benchmark/src/ |
console_reporter.cc | 95 double const multiplier = 1e9; // nano second multiplier local 100 result.real_accumulated_time * multiplier, 101 result.cpu_accumulated_time * multiplier); 104 (result.real_accumulated_time * multiplier) / 106 (result.cpu_accumulated_time * multiplier) /
|
csv_reporter.cc | 69 double const multiplier = 1e9; // nano second multiplier local 70 double cpu_time = run.cpu_accumulated_time * multiplier; 71 double real_time = run.real_accumulated_time * multiplier;
|
json_reporter.cc | 123 double const multiplier = 1e9; // nano second multiplier local 124 double cpu_time = run.cpu_accumulated_time * multiplier; 125 double real_time = run.real_accumulated_time * multiplier;
|
/external/jemalloc/src/ |
nstime.c | 73 nstime_imultiply(nstime_t *time, uint64_t multiplier) 76 assert((((time->ns | multiplier) & (UINT64_MAX << (sizeof(uint64_t) << 77 2))) == 0) || ((time->ns * multiplier) / multiplier == time->ns)); 79 time->ns *= multiplier;
|
/external/ppp/pppd/plugins/pppoatm/ |
text2qos.c | 28 const char *multiplier; local 44 multiplier = NULL; 45 if (*end && (multiplier = strchr(mult,*end))) { 46 while (multiplier >= mult) { 50 multiplier -= 2; 65 if (multiplier) return RATE_ERROR; 73 else if (multiplier) return RATE_ERROR;
|
/external/autotest/client/site_tests/hardware_PerfCounterVerification/ |
perf_verification.py | 19 def GatherPerfStats(program, events, multiplier=1000, 26 @param multiplier: loop multiplier 35 loops = (i+1) * multiplier 79 multiplier=10*1000*1000, progress_func=_Progress)
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
LruCache.java | 30 * Sets a size multiplier that will be applied to the size provided in the constructor to set the new size of the 34 * @param multiplier The multiplier to apply. 36 public void setSizeMultiplier(float multiplier) { 37 if (multiplier < 0) { 38 throw new IllegalArgumentException("Multiplier must be >= 0"); 40 maxSize = Math.round(initialMaxSize * multiplier);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
MemoryCache.java | 28 * Adjust the maximum size of the cache by multiplying the original size of the cache by the given multiplier. 31 * If the size multiplier causes the size of the cache to be decreased, items will be evicted until the cache 35 * @param multiplier A size multiplier >= 0. 37 void setSizeMultiplier(float multiplier);
|
MemoryCacheAdapter.java | 24 public void setSizeMultiplier(float multiplier) {
|
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
values.pass.cpp | 17 // static constexpr result_type multiplier = a; 37 static_assert((LCE::multiplier == a), ""); 43 where(LCE::multiplier);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/ |
values.pass.cpp | 17 // static constexpr result_type multiplier = a; 37 static_assert((LCE::multiplier == a), ""); 43 where(LCE::multiplier);
|
/bionic/linker/ |
linker_block_allocator.cpp | 25 // the multiplier should be power of 2 26 static constexpr size_t round_up(size_t size, size_t multiplier) { 27 return (size + (multiplier - 1)) & ~(multiplier-1);
|
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 32 double multiplier = 2.0 * M_PI * (double)signalFreq / samplingRate; local 34 double val = sin(multiplier * i) * maxPositive; 55 double multiplier = (double)maxPositive / middle; local
|
/external/jemalloc/include/jemalloc/internal/ |
nstime.h | 33 void nstime_imultiply(nstime_t *time, uint64_t multiplier);
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.h | 132 void AdditiveWeightUpdate(const double multiplier, 135 void AdditiveSquaredWeightUpdate(const double multiplier, 138 void AdditiveInvSqrtWeightUpdate(const double multiplier, 149 void AdditiveWeightUpdateBounded(const double multiplier,
|
sparse_weight_vector.cpp | 49 const double multiplier, 55 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_ 63 const double multiplier, 69 w_[iter->first] += ((multiplier * iter->second * iter->second) / 78 const double multiplier, 85 w_[iter->first] += ((multiplier * sqrt(w1.normalizer_)) / 95 const double multiplier, 103 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/ |
btMultiBody.h | 375 void applyDeltaVee(const btScalar * delta_vee, btScalar multiplier) 380 sum += delta_vee[i]*multiplier*delta_vee[i]*multiplier; 394 multiplier *= m_maxAppliedImpulse/l; 399 sum += delta_vee[i]*multiplier*delta_vee[i]*multiplier; 400 m_realBuf[i] += delta_vee[i] * multiplier; 405 void applyDeltaVeeMultiDof2(const btScalar * delta_vee, btScalar multiplier) 409 m_deltaV[dof] += delta_vee[dof] * multiplier; 422 void applyDeltaVeeMultiDof(const btScalar * delta_vee, btScalar multiplier) [all...] |
/cts/suite/audio_quality/test_description/processing/ |
calc_delay.py | 70 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate) variable 71 data0 = np.sin(index * multiplier)
|
calc_thd.py | 55 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate) variable 56 data = np.sin(index * multiplier)
|
/external/opencv3/modules/core/misc/java/test/ |
ScalarTest.java | 61 double multiplier = 2.0; local 62 dstScalar = s2.mul(s1, multiplier);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
KeyFactory.java | 125 private int multiplier; field in class:KeyFactory.Generator 152 public void setHashMultiplier(int multiplier) { 153 this.multiplier = multiplier; 205 int hm = (multiplier != 0) ? multiplier : PRIMES[(int)(Math.abs(seed * 13) % PRIMES.length)];
|
/external/skia/src/utils/ |
SkTextureCompressor_R11EAC.cpp | 57 // Pack the base codeword, palette, and multiplier into the 64 bits necessary 59 static uint64_t pack_r11eac_block(uint16_t base_cw, uint16_t palette, uint16_t multiplier, 62 SkASSERT(multiplier < 16); 66 const uint64_t m = static_cast<uint64_t>(multiplier) << 52; 71 // Given a base codeword, a modifier, and a multiplier, compute the proper 73 static uint16_t compute_r11eac_pixel(int base_cw, int modifier, int multiplier) { 74 int ret = (base_cw * 8 + 4) + (modifier * multiplier * 8); 81 // 2. Choose a multiplier based roughly on the size of the span of block values 96 // Based on the min and max, we can guesstimate a proper multiplier 98 uint16_t multiplier = (bmax - center) / 10 [all...] |