Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetIteratorTester.java42 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)), in testRemovingIteratorKnownOrder()
46 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorKnownOrder()
55 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1, in testRemovingIteratorUnknownOrder()
56 samples.e1, samples.e2), IteratorTester.KnownOrder.UNKNOWN_ORDER) { in testRemovingIteratorUnknownOrder()
59 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorUnknownOrder()
69 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)), in testIteratorKnownOrder()
73 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorKnownOrder()
82 new IteratorTester<E>(4, IteratorFeature.UNMODIFIABLE, Arrays.asList(samples.e0, samples.e1, in testIteratorUnknownOrder()
83 samples.e1, samples.e2), IteratorTester.KnownOrder.UNKNOWN_ORDER) { in testIteratorUnknownOrder()
86 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorUnknownOrder()
DMultisetWritesTester.java58 int oldCount = getMultiset().count(samples.e0); in testAddOccurrences()
60 oldCount, getMultiset().add(samples.e0, 2)); in testAddOccurrences()
62 oldCount + 2, getMultiset().count(samples.e0)); in testAddOccurrences()
68 getMultiset().add(samples.e0, 2); in testAddOccurrences_unsupported()
77 1, getMultiset().remove(samples.e0, 2)); in testRemove_occurrences_present()
79 getMultiset().contains(samples.e0)); in testRemove_occurrences_present()
85 0, getMultiset().remove(samples.e3, 2)); in testRemove_occurrences_absent()
94 0, getMultiset().remove(samples.e3, 2)); in testRemove_occurrences_unsupported_absent()
100 int oldCount = getMultiset().count(samples.e0); in testRemove_occurrences_0()
102 oldCount, getMultiset().remove(samples.e0, 0)); in testRemove_occurrences_0()
[all …]
DAbstractMultisetSetCountTester.java109 assertSetCount(samples.e3, 0); in assertZeroToZero()
113 assertSetCount(samples.e0, 1); in assertOneToOne()
118 assertSetCount(samples.e0, 3); in assertThreeToThree()
185 assertSetCount(samples.e3, 1); in testSetCount_zeroToOne_supported()
190 assertSetCount(samples.e3, 3); in testSetCount_zeroToThree_supported()
196 assertSetCount(samples.e0, 3); in testSetCount_oneToThree_supported()
201 assertSetCountIncreasingFailure(samples.e3, 1); in testSetCount_zeroToOne_unsupported()
206 assertSetCountIncreasingFailure(samples.e3, 3); in testSetCount_zeroToThree_unsupported()
212 assertSetCountIncreasingFailure(samples.e3, 3); in testSetCount_oneToThree_unsupported()
220 assertSetCount(samples.e0, 0); in testSetCount_oneToZero_supported()
[all …]
/external/clang/www/timing-data/2009-03-02/
Dsketch.txt34 'samples' : [
47 'samples' : [
60 'samples' : [
73 'samples' : [
86 'samples' : [
99 'samples' : [
112 'samples' : [
125 'samples' : [
138 'samples' : [
151 'samples' : [
[all …]
D176.gcc.txt34 'samples' : [
47 'samples' : [
60 'samples' : [
73 'samples' : [
86 'samples' : [
99 'samples' : [
112 'samples' : [
125 'samples' : [
138 'samples' : [
151 'samples' : [
[all …]
/external/clang/www/timing-data/2009-06-26/
Dsketch.txt28 'samples' : [
41 'samples' : [
54 'samples' : [
67 'samples' : [
80 'samples' : [
93 'samples' : [
106 'samples' : [
119 'samples' : [
132 'samples' : [
145 'samples' : [
[all …]
D176.gcc.txt28 'samples' : [
41 'samples' : [
54 'samples' : [
67 'samples' : [
80 'samples' : [
93 'samples' : [
106 'samples' : [
119 'samples' : [
132 'samples' : [
145 'samples' : [
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListAddAllAtIndexTester.java48 getList().addAll(0, MinimalCollection.of(samples.e0))); in testAddAllAtIndex_supportedAllPresent()
49 expectAdded(0, samples.e0); in testAddAllAtIndex_supportedAllPresent()
56 getList().addAll(0, MinimalCollection.of(samples.e0)); in testAddAllAtIndex_unsupportedAllPresent()
67 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); in testAddAllAtIndex_supportedSomePresent()
68 expectAdded(0, samples.e0, samples.e3); in testAddAllAtIndex_supportedSomePresent()
75 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); in testAddAllAtIndex_unsupportedSomePresent()
80 expectMissing(samples.e3); in testAddAllAtIndex_unsupportedSomePresent()
103 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1); in testAddAllAtIndex_withDuplicates()
106 expectAdded(0, samples.e0, samples.e1, samples.e0, samples.e1); in testAddAllAtIndex_withDuplicates()
165 getList().addAll(-1, MinimalCollection.of(samples.e3)); in testAddAllAtIndex_negative()
[all …]
DListAddAtIndexTester.java44 getList().add(0, samples.e0); in testAddAtIndex_supportedPresent()
45 expectAdded(0, samples.e0); in testAddAtIndex_supportedPresent()
56 getList().add(0, samples.e0); in testAddAtIndex_unsupportedPresent()
65 getList().add(0, samples.e3); in testAddAtIndex_supportedNotPresent()
66 expectAdded(0, samples.e3); in testAddAtIndex_supportedNotPresent()
72 getList().add(0, samples.e3); in testAddAtIndex_unsupportedNotPresent()
77 expectMissing(samples.e3); in testAddAtIndex_unsupportedNotPresent()
83 getList().add(getNumElements() / 2, samples.e3); in testAddAtIndex_middle()
84 expectAdded(getNumElements() / 2, samples.e3); in testAddAtIndex_middle()
90 getList().add(getNumElements(), samples.e3); in testAddAtIndex_end()
[all …]
DListAddAllTester.java41 getList().addAll(MinimalCollection.of(samples.e0))); in testAddAll_supportedAllPresent()
42 expectAdded(samples.e0); in testAddAll_supportedAllPresent()
49 getList().addAll(MinimalCollection.of(samples.e0)); in testAddAll_unsupportedAllPresent()
59 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1); in testAddAll_withDuplicates()
62 expectAdded(samples.e0, samples.e1, samples.e0, samples.e1); in testAddAll_withDuplicates()
DCollectionRemoveAllTester.java54 collection.removeAll(MinimalCollection.of(samples.e3))); in testRemoveAll_nonePresent()
62 collection.removeAll(MinimalCollection.of(samples.e0))); in testRemoveAll_allPresent()
63 expectMissing(samples.e0); in testRemoveAll_allPresent()
70 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3))); in testRemoveAll_somePresent()
71 expectMissing(samples.e0); in testRemoveAll_somePresent()
82 samples.e0, samples.e0, samples.e0, in testRemoveAll_somePresentLargeCollectionToRemove()
83 samples.e3, samples.e3, samples.e3))); in testRemoveAll_somePresentLargeCollectionToRemove()
84 expectMissing(samples.e0); in testRemoveAll_somePresentLargeCollectionToRemove()
103 collection.removeAll(MinimalCollection.of(samples.e3))); in testRemoveAll_unsupportedNonePresent()
113 collection.removeAll(MinimalCollection.of(samples.e0)); in testRemoveAll_unsupportedPresent()
[all …]
DSetAddAllTester.java41 getSet().addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAll_supportedSomePresent()
42 expectAdded(samples.e3); in testAddAll_supportedSomePresent()
48 = MinimalCollection.of(samples.e3, samples.e4, samples.e3, samples.e4); in testAddAll_withDuplicates()
51 expectAdded(samples.e3, samples.e4); in testAddAll_withDuplicates()
58 getSet().addAll(MinimalCollection.of(samples.e0))); in testAddAll_supportedAllPresent()
DCollectionRetainAllTester.java83 List<E> disjointList = Arrays.asList(samples.e3, samples.e4); in setUp()
88 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4), in setUp()
91 = new Target(MinimalCollection.of(samples.e1), "subset"); in setUp()
95 MinimalCollection.of(samples.e0, samples.e0, samples.e3, samples.e3), in setUp()
98 = new Target(MinimalCollection.of(samples.e2, samples.e3), in setUp()
125 expectMissing(samples.e0, samples.e1, samples.e2); in testRetainAll_emptyPreviouslyNonEmpty()
156 expectMissing(samples.e0, samples.e1, samples.e2); in testRetainAll_disjointPreviouslyNonEmpty()
216 expectContents(samples.e2); in testRetainAll_partialOverlap()
232 expectContents(samples.e0); in testRetainAll_containsDuplicatesSizeOne()
239 expectContents(samples.e0); in testRetainAll_containsDuplicatesSizeSeveral()
DCollectionAddAllTester.java66 expectAdded(samples.e3, samples.e4); in testAddAll_supportedNonePresent()
77 expectMissing(samples.e3, samples.e4); in testAddAll_unsupportedNonePresent()
84 collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAll_supportedSomePresent()
85 assertTrue("should contain " + samples.e3, collection.contains(samples.e3)); in testAddAll_supportedSomePresent()
86 assertTrue("should contain " + samples.e0, collection.contains(samples.e0)); in testAddAll_supportedSomePresent()
93 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)); in testAddAll_unsupportedSomePresent()
105 collection.addAll(MinimalCollection.of(samples.e0))); in testAddAll_unsupportedAllPresent()
/external/protobuf/gtest/
DMakefile.am127 noinst_LTLIBRARIES = samples/libsamples.la
129 samples_libsamples_la_SOURCES = samples/sample1.cc \
130 samples/sample1.h \
131 samples/sample2.cc \
132 samples/sample2.h \
133 samples/sample3-inl.h \
134 samples/sample4.cc \
135 samples/sample4.h
142 TESTS += samples/sample1_unittest
143 check_PROGRAMS += samples/sample1_unittest
[all …]
/external/skia/gm/
Dmorphology.cpp56 } samples[] = { in onDraw() local
68 for (unsigned i = 0; i < SK_ARRAY_COUNT(samples); ++i) { in onDraw()
69 if (samples[i].erode) { in onDraw()
71 samples[i].fRadiusX, in onDraw()
72 samples[i].fRadiusY))->unref(); in onDraw()
75 samples[i].fRadiusX, in onDraw()
76 samples[i].fRadiusY))->unref(); in onDraw()
78 SkRect bounds = SkRect::MakeXYWH(samples[i].fX, in onDraw()
79 samples[i].fY, in onDraw()
82 canvas->drawBitmap(fBitmap, samples[i].fX, samples[i].fY); in onDraw()
/external/qemu/audio/
Dnoaudio.c44 int decr, samples; in no_run_out() local
53 samples = bytes >> hw->info.shift; in no_run_out()
56 decr = audio_MIN (live, samples); in no_run_out()
57 hw->rpos = (hw->rpos + decr) % hw->samples; in no_run_out()
69 hw->samples = 1024; in no_init_out()
88 hw->samples = 1024; in no_init_in()
101 int dead = hw->samples - live; in no_run_in()
102 int samples = 0; in no_run_in() local
112 samples = bytes >> hw->info.shift; in no_run_in()
113 samples = audio_MIN (samples, dead); in no_run_in()
[all …]
Dwavaudio.c61 int rpos, decr, samples; in wav_out_run() local
70 samples = INT_MAX >> hw->info.shift; in wav_out_run()
73 samples = bytes >> hw->info.shift; in wav_out_run()
77 decr = audio_MIN (live, samples); in wav_out_run()
78 samples = decr; in wav_out_run()
80 while (samples) { in wav_out_run()
81 int left_till_end_samples = hw->samples - rpos; in wav_out_run()
82 int convert_samples = audio_MIN (samples, left_till_end_samples); in wav_out_run()
90 rpos = (rpos + convert_samples) % hw->samples; in wav_out_run()
91 samples -= convert_samples; in wav_out_run()
[all …]
/external/mesa3d/src/pixelflinger2/
Dtexture.cpp159 Vec4<int> samples[4] = {0}; in tex2d() local
160 PointSample<format>((unsigned *)(samples + 0), data, y0 * width + x0); in tex2d()
161 ToIntVec(samples + 0); in tex2d()
162 PointSample<format>((unsigned *)(samples + 1), data, y0 * width + x1); in tex2d()
163 ToIntVec(samples + 1); in tex2d()
164 PointSample<format>((unsigned *)(samples + 2), data, y1 * width + x1); in tex2d()
165 ToIntVec(samples + 2); in tex2d()
166 PointSample<format>((unsigned *)(samples + 3), data, y1 * width + x0); in tex2d()
167 ToIntVec(samples + 3); in tex2d()
169 Lerp(samples + 0, samples + 1, xLerp, samples + 0); in tex2d()
[all …]
/external/chromium/testing/gtest/
DMakefile.am35 samples/prime_tables.h \
36 samples/sample2_unittest.cc \
37 samples/sample3_unittest.cc \
38 samples/sample4_unittest.cc \
39 samples/sample5_unittest.cc \
40 samples/sample6_unittest.cc \
41 samples/sample7_unittest.cc \
42 samples/sample8_unittest.cc \
43 samples/sample9_unittest.cc
224 noinst_LTLIBRARIES = samples/libsamples.la
[all …]
/external/opencv/cvaux/src/
Dcv3dtracker.cpp76 IplImage *samples[], // size is num_cameras in cv3dTrackerCalibrateCameras() argument
98 if( samples[c] == NULL ) in cv3dTrackerCalibrateCameras()
101 if( samples[c]->dataOrder != IPL_DATA_ORDER_PIXEL && samples[c]->nChannels > 1 ) in cv3dTrackerCalibrateCameras()
104 if( samples[c]->maskROI != 0 || samples[c]->tileInfo != 0 ) in cv3dTrackerCalibrateCameras()
107 if( samples[c]->imageData == 0 ) in cv3dTrackerCalibrateCameras()
110 if( samples[c]->roi && in cv3dTrackerCalibrateCameras()
111 ((samples[c]->roi->xOffset | samples[c]->roi->yOffset in cv3dTrackerCalibrateCameras()
112 | samples[c]->roi->width | samples[c]->roi->height) < 0 || in cv3dTrackerCalibrateCameras()
113 samples[c]->roi->xOffset + samples[c]->roi->width > samples[c]->width || in cv3dTrackerCalibrateCameras()
114 samples[c]->roi->yOffset + samples[c]->roi->height > samples[c]->height || in cv3dTrackerCalibrateCameras()
[all …]
/external/oprofile/libpp/
Dsample_container.cpp38 return samples.begin(); in begin()
44 return samples.end(); in end()
53 return samples.lower_bound(key); in begin()
62 return samples.upper_bound(key); in end()
71 samples_storage::iterator it = samples.find(key); in insert()
72 if (it != samples.end()) { in insert()
75 samples[key] = sample; in insert()
104 samples_iterator it = samples.find(key); in find_by_vma()
105 if (it != samples.end()) in find_by_vma()
137 samples_iterator cit = samples.begin(); in build_by_loc()
[all …]
/external/icu4c/samples/
DMakefile.in14 subdir = samples
41 all-samples: all-samples-recursive
42 clean-samples: clean-samples-recursive
43 check-samples: check-samples-recursive
68 all-samples-recursive check-samples-recursive clean-samples-recursive:
71 subtarget=`echo $@ | sed s/-samples-recursive//`; \
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DWireSphere.java48 private static final int samples = 30; field in WireSphere
57 …ShortBuffer ib = BufferUtils.createShortBuffer(samples * 2 * 2 + zSamples * samples * 2 /*+ 3 * 2*… in WireSphere()
69 for (int i = curNum; i < curNum + samples - 1; i++) { in WireSphere()
72 ib.put((short) (curNum + samples - 1)).put((short) curNum); in WireSphere()
73 curNum += samples; in WireSphere()
88 pb = BufferUtils.createVector3Buffer(samples * 2 + samples * zSamples /*+ 6 * 3*/); in updatePositions()
109 float rate = FastMath.TWO_PI / (float) samples; in updatePositions()
111 for (int i = 0; i < samples; i++) { in updatePositions()
119 for (int i = 0; i < samples; i++) { in updatePositions()
136 for (int i = 0; i < samples; i++) { in updatePositions()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DOneSizeGenerator.java50 public SampleElements<E> samples() { in samples() method in OneSizeGenerator
51 return generator.samples(); in samples()
73 SampleElements<E> samples = samples(); in getSampleElements() local
76 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4); in getSampleElements()

12345678910>>...18