/external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/ |
package-info.java | 12 * This package contains samples for the IUC ICU workshops. 15 package com.ibm.icu.samples.iuc
|
/external/eigen/doc/snippets/ |
LLT_solve.cpp | 2 // let's generate some samples on the 3D plane of equation z = 2x+3y (with some noise) 3 DataMatrix samples = DataMatrix::Random(12,2); variable 4 VectorXf elevations = 2*samples.col(0) + 3*samples.col(1) + VectorXf::Random(12)*0.1; 5 // and let's solve samples * [x y]^T = elevations in least square sense: 7 = (samples.adjoint() * samples).llt().solve((samples.adjoint()*elevations));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
MultisetIteratorTester.java | 40 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)), 44 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) 53 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1 [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
filtered_cb_vecs.c | 33 size_t samples /* (i) Number of samples to filter */ 39 WebRtcSpl_MemSetW16(cbvectors, 0, lMem-samples); 44 CBmem+CB_HALFFILTERLEN+lMem-samples, cbvectors+lMem-samples, 45 (int16_t*)WebRtcIlbcfix_kCbFiltersRev, CB_FILTERLEN, samples);
|
filtered_cb_vecs.h | 35 size_t samples /* (i) Number of samples to filter */
|
/external/libchrome/base/metrics/ |
sample_map_unittest.cc | 16 SampleMap samples(1); 18 samples.Accumulate(1, 100); 19 samples.Accumulate(2, 200); 20 samples.Accumulate(1, -200); 21 EXPECT_EQ(-100, samples.GetCount(1)); 22 EXPECT_EQ(200, samples.GetCount(2)); 24 EXPECT_EQ(300, samples.sum()); 25 EXPECT_EQ(100, samples.TotalCount()); 26 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_formatquery.c | 32 GLenum internalFormat, int samples[16]) 43 samples[0] = 16; 44 samples[1] = 8; 45 samples[2] = 4; 46 samples[3] = 2; 50 samples[0] = 8; 51 samples[1] = 4; 52 samples[2] = 2; 57 /* For GLES, we are allowed to return a smaller number of samples for 59 * Query Parameters, under SAMPLES [all...] |
/external/skia/tools/ |
Stats.h | 22 Stats(const SkTArray<double>& samples, bool want_plot) { 23 int n = samples.count(); 29 min = samples[0]; 30 max = samples[0]; 32 if (samples[i] < min) { min = samples[i]; } 33 if (samples[i] > max) { max = samples[i]; } 38 sum += samples[i]; 44 err += (samples[i] - mean) * (samples[i] - mean) [all...] |
/external/skqp/tools/ |
Stats.h | 22 Stats(const SkTArray<double>& samples, bool want_plot) { 23 int n = samples.count(); 29 min = samples[0]; 30 max = samples[0]; 32 if (samples[i] < min) { min = samples[i]; } 33 if (samples[i] > max) { max = samples[i]; } 38 sum += samples[i]; 44 err += (samples[i] - mean) * (samples[i] - mean) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetIteratorTester.java | 44 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)), 48 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) 57 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1 [all...] |
MultisetAddTester.java | 37 getMultiset().add(samples.e0); 44 int originalCount = getMultiset().count(samples.e0); 45 assertTrue(getMultiset().add(samples.e0)); 46 assertEquals(originalCount + 1, getMultiset().count(samples.e0)); 51 int originalCount = getMultiset().count(samples.e0); 52 assertEquals("old count", originalCount, getMultiset().add(samples.e0, 0)); 58 int originalCount = getMultiset().count(samples.e0); 59 assertEquals("old count", originalCount, getMultiset().add(samples.e0, 2)); 60 assertEquals("old count", originalCount + 2, getMultiset().count(samples.e0)); 65 int originalCount = getMultiset().count(samples.e0) [all...] |
MultisetContainsTester.java | 34 .containsAll(getSubjectGenerator().create(samples.e0, samples.e0, samples.e0))); 39 assertTrue(getMultiset().containsAll(Arrays.asList(samples.e0, samples.e0, samples.e0)));
|
BiMapPutTester.java | 37 K k0 = samples.e0.getKey(); 38 K k1 = samples.e1.getKey(); 39 V v0 = samples.e0.getValue(); 48 expectAdded(samples.e0); 55 K k0 = samples.e0.getKey(); 56 V v0 = samples.e0.getValue(); 57 V v1 = samples.e1.getValue(); 69 getMap().put(samples.e0.getKey(), samples.e0.getValue()); 70 getMap().put(samples.e1.getKey(), samples.e1.getValue()) [all...] |
/external/fec/ |
peaktest.c | 18 signed short samples[NSAMP]; local 26 samples[i] = s; 28 samples[5] = 25000; 30 rresult = peakval_port(&samples[OFFSET],NSAMP-OFFSET); 31 result = peakval(&samples[OFFSET],NSAMP-OFFSET);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListAddAllTester.java | 41 getList().addAll(MinimalCollection.of(samples.e0))); 42 expectAdded(samples.e0); 49 getList().addAll(MinimalCollection.of(samples.e0)); 59 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1); 62 expectAdded(samples.e0, samples.e1, samples.e0, samples.e1) [all...] |
SetAddAllTester.java | 41 getSet().addAll(MinimalCollection.of(samples.e3, samples.e0))); 42 expectAdded(samples.e3); 48 = MinimalCollection.of(samples.e3, samples.e4, samples.e3, samples.e4); 51 expectAdded(samples.e3, samples.e4); 58 getSet().addAll(MinimalCollection.of(samples.e0))) [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
resample_input_audio_file.cc | 19 bool ResampleInputAudioFile::Read(size_t samples, 22 const size_t samples_to_read = samples * file_rate_hz_ / output_rate_hz; 23 RTC_CHECK_EQ(samples_to_read * output_rate_hz, samples * file_rate_hz_) 31 destination, samples, output_length), 33 RTC_CHECK_EQ(samples, output_length); 37 bool ResampleInputAudioFile::Read(size_t samples, int16_t* destination) { 39 return Read(samples, output_rate_hz_, destination);
|
input_audio_file.h | 31 // Reads |samples| elements from source file to |destination|. Returns true 34 // The output |destination| must have the capacity to hold |samples| elements. 35 virtual bool Read(size_t samples, int16_t* destination); 37 // Fast-forwards (|samples| > 0) or -backwards (|samples| < 0) the file by the 38 // indicated number of samples. Just like Read(), Seek() starts over at the 41 virtual bool Seek(int samples); 46 // hold samples * channels elements. Note that |source| and |destination| can 48 static void DuplicateInterleaved(const int16_t* source, size_t samples,
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
seccomp_benchmark.c | 19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) 27 for (i = 0; i < samples; i++) { 52 unsigned long long samples = 1 << i; local 55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) 56 return samples; 70 unsigned long long samples; local 74 samples = strtoull(argv[1], NULL, 0); 76 samples = calibrate(); 78 printf("Benchmarking %llu samples...\n", samples); [all...] |
/cts/suite/audio_quality/lib/include/audio/ |
AudioSignalFactory.h | 31 int maxPositive, AudioHardware::SamplingRate samplingRate, int signalFreq, int samples, 34 int maxPositive, int samples, bool stereo = true); 36 int samples, bool stereo = true);
|
/cts/suite/audio_quality/test/ |
AudioSignalFactoryTest.cpp | 26 AudioHardware::SamplingRate samplingRate, int signalFreq, int samples) { 27 ASSERT_TRUE(buffer->getSize() == (unsigned int)(AudioHardware::E2BPS * 2 * samples)); 29 for(int i = 0; i < samples; i++) { 43 const int samples = 8192 * 10; local 45 maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 46 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 52 const int samples = 8192 * 10; local 54 maxPositive, samples); 55 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples);
|
/external/adhd/cras/src/dsp/tests/ |
dsp_util_test.c | 75 void TestRounding(float in, int16_t expected, int samples) 112 samples); 117 2, SND_PCM_FORMAT_S16_LE, samples); 135 samples); 139 SND_PCM_FORMAT_S16_LE, samples); 141 d = memcmp(out_floats_ptr_c[0], out_floats_ptr_opt[0], samples * 4); 144 d = memcmp(out_floats_ptr_c[1], out_floats_ptr_opt[1], samples * 4); 160 int samples = 16; local 169 TestRounding(1.0f, 32767, samples); 170 TestRounding(-1.0f, -32768, samples); [all...] |
/developers/samples/android/ |
compileSamples.sh | 10 echo "Output dir: ~/samples-out/${1}"; 20 rm -rf ~/samples-out/$1 || true 21 mkdir -p ~/samples-out/$1 22 mv ../../build/out/browseable/*.zip ~/samples-out/$1 23 rsync -avzrt --delete ../../build/out/browseable/ ../../../development/samples/browseable
|
/developers/samples/android/connectivity/wifirtt/WifiRttScan/ |
build.gradle | 17 import com.example.android.samples.build.SampleGenPlugin
|
/external/cldr/tools/scripts/build/bin-build/ |
build-icu4c.sh | 7 `pwd`/../icu4c/source/configure --disable-extras --disable-samples && make tests
|