Home
last modified time | relevance | path

Searched refs:Sample (Results 1 – 25 of 839) sorted by relevance

12345678910>>...34

/external/flatbuffers/samples/
Dsample_binary.py26 import MyGame.Sample.Color
27 import MyGame.Sample.Equipment
28 import MyGame.Sample.Monster
29 import MyGame.Sample.Vec3
30 import MyGame.Sample.Weapon
41 MyGame.Sample.Weapon.WeaponStart(builder)
42 MyGame.Sample.Weapon.WeaponAddName(builder, weapon_one)
43 MyGame.Sample.Weapon.WeaponAddDamage(builder, 3)
44 sword = MyGame.Sample.Weapon.WeaponEnd(builder)
46 MyGame.Sample.Weapon.WeaponStart(builder)
[all …]
Dsamplebinary.js31 MyGame.Sample.Weapon.startWeapon(builder);
32 MyGame.Sample.Weapon.addName(builder, weaponOne);
33 MyGame.Sample.Weapon.addDamage(builder, 3);
34 var sword = MyGame.Sample.Weapon.endWeapon(builder);
36 MyGame.Sample.Weapon.startWeapon(builder);
37 MyGame.Sample.Weapon.addName(builder, weaponTwo);
38 MyGame.Sample.Weapon.addDamage(builder, 5);
39 var axe = MyGame.Sample.Weapon.endWeapon(builder);
45 var inv = MyGame.Sample.Monster.createInventoryVector(builder, treasure);
48 var weapons = MyGame.Sample.Monster.createWeaponsVector(builder, weaps);
[all …]
DSampleBinary.php41 $sword = \MyGame\Sample\Weapon::CreateWeapon($builder, $weapon_one, 3);
43 $axe = \MyGame\Sample\Weapon::CreateWeapon($builder, $weapon_two, 5);
49 $inv = \MyGame\Sample\Monster::CreateInventoryVector($builder, $treasure);
52 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps);
54 $pos = \MyGame\Sample\Vec3::CreateVec3($builder, 1.0, 2.0, 3.0);
56 \MyGame\Sample\Monster::StartMonster($builder);
57 \MyGame\Sample\Monster::AddPos($builder, $pos);
58 \MyGame\Sample\Monster::AddHp($builder, 300);
59 \MyGame\Sample\Monster::AddName($builder, $name);
60 \MyGame\Sample\Monster::AddInventory($builder, $inv);
[all …]
/external/skia/samplecode/
DSample.cpp20 Sample::Event::Event() : Event("") {} in Event()
22 Sample::Event::Event(const Event& that) { in Event()
26 Sample::Event::Event(const char type[]) : fType(type), f32(0) { in Event()
30 Sample::Event::~Event() {} in ~Event()
32 bool Sample::Event::isType(const char type[]) const { in isType()
36 const char* Sample::kCharEvtName = "SampleCode_Char_Event";
37 const char* Sample::kTitleEvtName = "SampleCode_Title_Event";
39 bool Sample::CharQ(const Event& evt, SkUnichar* outUni) { in CharQ()
49 bool Sample::TitleQ(const Event& evt) { in TitleQ()
53 void Sample::TitleR(Event* evt, const char title[]) { in TitleR()
[all …]
/external/skqp/samplecode/
DSample.cpp20 Sample::Event::Event() : Event("") {} in Event()
22 Sample::Event::Event(const Event& that) { in Event()
26 Sample::Event::Event(const char type[]) : fType(type), f32(0) { in Event()
30 Sample::Event::~Event() {} in ~Event()
32 bool Sample::Event::isType(const char type[]) const { in isType()
36 const char* Sample::kCharEvtName = "SampleCode_Char_Event";
37 const char* Sample::kTitleEvtName = "SampleCode_Title_Event";
39 bool Sample::CharQ(const Event& evt, SkUnichar* outUni) { in CharQ()
49 bool Sample::TitleQ(const Event& evt) { in TitleQ()
53 void Sample::TitleR(Event* evt, const char title[]) { in TitleR()
[all …]
/external/libchrome/base/metrics/
Dhistogram.h120 Sample minimum,
121 Sample maximum,
139 Sample minimum,
140 Sample maximum,
157 Sample minimum,
158 Sample maximum,
165 static void InitializeBucketRanges(Sample minimum,
166 Sample maximum,
190 Sample declared_min() const;
191 Sample declared_max() const;
[all …]
Dhistogram.cc93 typedef HistogramBase::Sample Sample; typedef
101 HistogramBase::Sample minimum, in Factory()
102 HistogramBase::Sample maximum, in Factory()
115 HistogramBase::Sample minimum, in Factory()
116 HistogramBase::Sample maximum, in Factory()
150 HistogramBase::Sample minimum_;
151 HistogramBase::Sample maximum_;
241 static_cast<Sample>(HashMetricName(name_))); in Build()
250 Sample minimum, in FactoryGet()
251 Sample maximum, in FactoryGet()
[all …]
Dsingle_sample_metrics.h22 virtual void SetSample(HistogramBase::Sample sample) = 0;
55 HistogramBase::Sample min,
56 HistogramBase::Sample max,
72 HistogramBase::Sample min,
73 HistogramBase::Sample max,
83 HistogramBase::Sample min,
84 HistogramBase::Sample max,
90 void SetSample(HistogramBase::Sample sample) override;
97 HistogramBase::Sample sample_ = -1;
Dpersistent_sample_map.cc17 typedef HistogramBase::Sample Sample; typedef
26 typedef std::map<HistogramBase::Sample, HistogramBase::Count*>
35 void Get(HistogramBase::Sample* min,
65 void PersistentSampleMapIterator::Get(Sample* min, in Get()
94 Sample value; // The value for which this record holds a count.
111 void PersistentSampleMap::Accumulate(Sample value, Count count) { in Accumulate()
123 Sample old_value = *local_count_ptr; in Accumulate()
124 Sample new_value = old_value + count; in Accumulate()
133 Count PersistentSampleMap::GetCount(Sample value) const { in GetCount()
178 Sample value) { in CreatePersistentRecord()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DThrowablesTest.java38 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_NoneThrown()
54 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UncheckedThrown()
74 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown()
95 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_NoneThrown()
114 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_UncheckedThrown()
134 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_CheckedThrown()
155 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_UndeclaredThrown()
176 Sample sample = new Sample() { in testPropagateIfPossible_TwoDeclared_NoneThrown()
195 Sample sample = new Sample() { in testPropagateIfPossible_TwoDeclared_UncheckedThrown()
218 Sample sample = new Sample() { in testPropagateIfPossible_TwoDeclared_CheckedThrown()
[all …]
/external/webrtc/webrtc/base/
Dbandwidthsmoother_unittest.cc34 EXPECT_FALSE(mon.Sample(9, bandwidth_sample)); in TEST()
35 EXPECT_TRUE(mon.Sample(10, bandwidth_sample)); in TEST()
40 EXPECT_TRUE(mon.Sample(20, bandwidth_sample)); in TEST()
53 EXPECT_FALSE(mon.Sample(9, kBandwidthSample)); in TEST()
54 EXPECT_TRUE(mon.Sample(10, kBandwidthSample)); in TEST()
67 EXPECT_FALSE(mon.Sample(1, kBandwidthSample)); in TEST()
69 EXPECT_TRUE(mon.Sample(2, kBandwidthSample)); in TEST()
82 EXPECT_FALSE(mon.Sample(1, kBandwidthSample)); in TEST()
83 EXPECT_FALSE(mon.Sample(2, kBandwidthSample)); in TEST()
84 EXPECT_FALSE(mon.Sample(3, kBandwidthSample)); in TEST()
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.sample.basic.dx10.frag32 int Sample; // in HLSL, method names are valid struct members.
63 mtest.Sample = 1; // ...
70 float4 txval10 = g_tTex1df4 . Sample(g_sSamp, 0.1);
71 int4 txval11 = g_tTex1di4 . Sample(g_sSamp, 0.2);
72 uint4 txval12 = g_tTex1du4 . Sample(g_sSamp, 0.3);
74 float4 txval20 = g_tTex2df4 . Sample(g_sSamp, float2(0.1, 0.2));
75 int4 txval21 = g_tTex2di4 . Sample(g_sSamp, float2(0.3, 0.4));
76 uint4 txval22 = g_tTex2du4 . Sample(g_sSamp, float2(0.5, 0.6));
78 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3));
79 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6));
[all …]
Dremap.hlsl.sample.basic.none.frag32 int Sample; // in HLSL, method names are valid struct members.
63 mtest.Sample = 1; // ...
70 float4 txval10 = g_tTex1df4 . Sample(g_sSamp, 0.1);
71 int4 txval11 = g_tTex1di4 . Sample(g_sSamp, 0.2);
72 uint4 txval12 = g_tTex1du4 . Sample(g_sSamp, 0.3);
74 float4 txval20 = g_tTex2df4 . Sample(g_sSamp, float2(0.1, 0.2));
75 int4 txval21 = g_tTex2di4 . Sample(g_sSamp, float2(0.3, 0.4));
76 uint4 txval22 = g_tTex2du4 . Sample(g_sSamp, float2(0.5, 0.6));
78 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3));
79 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6));
[all …]
Dremap.hlsl.sample.basic.everything.frag32 int Sample; // in HLSL, method names are valid struct members.
63 mtest.Sample = 1; // ...
70 float4 txval10 = g_tTex1df4 . Sample(g_sSamp, 0.1);
71 int4 txval11 = g_tTex1di4 . Sample(g_sSamp, 0.2);
72 uint4 txval12 = g_tTex1du4 . Sample(g_sSamp, 0.3);
74 float4 txval20 = g_tTex2df4 . Sample(g_sSamp, float2(0.1, 0.2));
75 int4 txval21 = g_tTex2di4 . Sample(g_sSamp, float2(0.3, 0.4));
76 uint4 txval22 = g_tTex2du4 . Sample(g_sSamp, float2(0.5, 0.6));
78 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3));
79 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6));
[all …]
Dremap.hlsl.sample.basic.strip.frag32 int Sample; // in HLSL, method names are valid struct members.
63 mtest.Sample = 1; // ...
70 float4 txval10 = g_tTex1df4 . Sample(g_sSamp, 0.1);
71 int4 txval11 = g_tTex1di4 . Sample(g_sSamp, 0.2);
72 uint4 txval12 = g_tTex1du4 . Sample(g_sSamp, 0.3);
74 float4 txval20 = g_tTex2df4 . Sample(g_sSamp, float2(0.1, 0.2));
75 int4 txval21 = g_tTex2di4 . Sample(g_sSamp, float2(0.3, 0.4));
76 uint4 txval22 = g_tTex2du4 . Sample(g_sSamp, float2(0.5, 0.6));
78 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3));
79 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6));
[all …]
Dspv.register.autoassign.frag41 g_tTex1 . Sample(g_sSamp1, 0.1) +
42 g_tTex2 . Sample(g_sSamp2, 0.2) +
43 g_tTex3[0] . Sample(g_sSamp3[0], 0.3) +
44 g_tTex3[1] . Sample(g_sSamp3[1], 0.3) +
45 g_tTex4[1] . Sample(g_sSamp4[1], 0.4) +
46 g_tTex4[2] . Sample(g_sSamp4[2], 0.4) +
47 g_tTex5 . Sample(g_sSamp5, 0.5) +
54 g_tTex1 . Sample(g_sSamp1, 0.1) +
55 g_tTex3[1] . Sample(g_sSamp3[1], 0.3);
62 g_tTex_unused1 . Sample(g_sSamp_unused1, 1.1) +
[all …]
Dspv.register.noautoassign.frag41 g_tTex1 . Sample(g_sSamp1, 0.1) +
42 g_tTex2 . Sample(g_sSamp2, 0.2) +
43 g_tTex3[0] . Sample(g_sSamp3[0], 0.3) +
44 g_tTex3[1] . Sample(g_sSamp3[1], 0.3) +
45 g_tTex4[1] . Sample(g_sSamp4[1], 0.4) +
46 g_tTex4[2] . Sample(g_sSamp4[2], 0.4) +
47 g_tTex5 . Sample(g_sSamp5, 0.5) +
54 g_tTex1 . Sample(g_sSamp1, 0.1) +
55 g_tTex3[1] . Sample(g_sSamp3[1], 0.3);
62 g_tTex_unused1 . Sample(g_sSamp_unused1, 1.1) +
[all …]
Dhlsl.sample.array.dx10.frag27 float4 txval10 = g_tTex1df4 . Sample(g_sSamp, float2(0.1, 0.2));
28 int4 txval11 = g_tTex1di4 . Sample(g_sSamp, float2(0.2, 0.3));
29 uint4 txval12 = g_tTex1du4 . Sample(g_sSamp, float2(0.3, 0.4));
31 float4 txval20 = g_tTex2df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3));
32 int4 txval21 = g_tTex2di4 . Sample(g_sSamp, float3(0.3, 0.4, 0.5));
33 uint4 txval22 = g_tTex2du4 . Sample(g_sSamp, float3(0.5, 0.6, 0.7));
35 float4 txval40 = g_tTexcdf4 . Sample(g_sSamp, float4(0.1, 0.2, 0.3, 0.4));
36 int4 txval41 = g_tTexcdi4 . Sample(g_sSamp, float4(0.4, 0.5, 0.6, 0.7));
37 uint4 txval42 = g_tTexcdu4 . Sample(g_sSamp, float4(0.7, 0.8, 0.9, 1.0));
Dhlsl.sample.offset.dx10.frag31 float4 txval10 = g_tTex1df4 . Sample(g_sSamp, 0.1, 1);
32 int4 txval11 = g_tTex1di4 . Sample(g_sSamp, 0.2, 1);
33 uint4 txval12 = g_tTex1du4 . Sample(g_sSamp, 0.3, 1);
35 float4 txval20 = g_tTex2df4 . Sample(g_sSamp, float2(0.1, 0.2), int2(1,0));
36 int4 txval21 = g_tTex2di4 . Sample(g_sSamp, float2(0.3, 0.4), int2(1,1));
37 uint4 txval22 = g_tTex2du4 . Sample(g_sSamp, float2(0.5, 0.6), int2(1,-1));
39 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3), int3(1,0,1));
40 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6), int3(1,1,1));
41 uint4 txval32 = g_tTex3du4 . Sample(g_sSamp, float3(0.7, 0.8, 0.9), int3(1,0,-1));
/external/grpc-grpc/src/objective-c/examples/Sample/Sample.xcodeproj/
Dproject.pbxproj19Sample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text…
20 …A9322E20015FC5C /* Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application…
30Sample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.x…
48 6369A26C1A9322E20015FC5C /* Sample */,
58 6369A26A1A9322E20015FC5C /* Sample.app */,
63 6369A26C1A9322E20015FC5C /* Sample */ = {
74 path = Sample;
89 E3C01DF315C4E7433BCEC6E6 /* Pods-Sample.debug.xcconfig */,
90 5A8C9F4B28733B249DE4AB6D /* Pods-Sample.release.xcconfig */,
106 6369A2691A9322E20015FC5C /* Sample */ = {
[all …]
/external/boringssl/src/crypto/hmac_extra/
Dhmac_tests.txt27 Input = "Sample message for keylen=blocklen"
32 Input = "Sample message for keylen<blocklen"
37 Input = "Sample message for keylen=blocklen"
42 Input = "Sample message for keylen=blocklen"
47 Input = "Sample message for keylen<blocklen"
52 Input = "Sample message for keylen=blocklen"
57 Input = "Sample message for keylen=blocklen"
62 Input = "Sample message for keylen<blocklen"
67 Input = "Sample message for keylen=blocklen"
72 Input = "Sample message for keylen=blocklen"
[all …]
/external/skqp/tools/viewer/
DSampleSlide.cpp20 sk_sp<Sample> sample(factory()); in SampleSlide()
21 Sample::RequestTitle(sample.get(), &fName); in SampleSlide()
48 Sample::Event evt(Sample::kCharEvtName); in onChar()
57 … modifierKeys |= (modifiers & Window::kShift_ModifierKey) ? Sample::Click::kShift_ModifierKey : 0; in onMouse()
58 …modifierKeys |= (modifiers & Window::kControl_ModifierKey) ? Sample::Click::kControl_ModifierKey :… in onMouse()
59 …modifierKeys |= (modifiers & Window::kOption_ModifierKey) ? Sample::Click::kOption_ModifierKey : 0; in onMouse()
60 …modifierKeys |= (modifiers & Window::kCommand_ModifierKey) ? Sample::Click::kCommand_ModifierKey :… in onMouse()
68 Sample::DoClickDown(fClick, x, y, modifierKeys); in onMouse()
75 Sample::DoClickMoved(fClick, x, y, modifierKeys); in onMouse()
82 Sample::DoClickUp(fClick, x, y, modifierKeys); in onMouse()
/external/skia/tools/viewer/
DSampleSlide.cpp20 sk_sp<Sample> sample(factory()); in SampleSlide()
21 Sample::RequestTitle(sample.get(), &fName); in SampleSlide()
48 Sample::Event evt(Sample::kCharEvtName); in onChar()
57 … modifierKeys |= (modifiers & Window::kShift_ModifierKey) ? Sample::Click::kShift_ModifierKey : 0; in onMouse()
58 …modifierKeys |= (modifiers & Window::kControl_ModifierKey) ? Sample::Click::kControl_ModifierKey :… in onMouse()
59 …modifierKeys |= (modifiers & Window::kOption_ModifierKey) ? Sample::Click::kOption_ModifierKey : 0; in onMouse()
60 …modifierKeys |= (modifiers & Window::kCommand_ModifierKey) ? Sample::Click::kCommand_ModifierKey :… in onMouse()
68 Sample::DoClickDown(fClick, x, y, modifierKeys); in onMouse()
75 Sample::DoClickMoved(fClick, x, y, modifierKeys); in onMouse()
82 Sample::DoClickUp(fClick, x, y, modifierKeys); in onMouse()
/external/opencensus-java/exporters/stats/prometheus/src/test/java/io/opencensus/exporter/stats/prometheus/
DPrometheusExportUtilsTest.java52 import io.prometheus.client.Collector.MetricFamilySamples.Sample;
146 "view1", Type.COUNTER, DESCRIPTION, Collections.<Sample>emptyList())); in createDescribableMetricFamilySamples()
150 "view2", Type.SUMMARY, DESCRIPTION, Collections.<Sample>emptyList())); in createDescribableMetricFamilySamples()
154 "view_3", Type.HISTOGRAM, DESCRIPTION, Collections.<Sample>emptyList())); in createDescribableMetricFamilySamples()
158 "_view4", Type.UNTYPED, DESCRIPTION, Collections.<Sample>emptyList())); in createDescribableMetricFamilySamples()
171 new Sample(SAMPLE_NAME, Arrays.asList("k1", "k2"), Arrays.asList("v1", "v2"), -5.5)); in getSamples()
180 new Sample(SAMPLE_NAME, Arrays.asList("k_3"), Arrays.asList("v-3"), 123456789)); in getSamples()
189 new Sample(SAMPLE_NAME, Arrays.asList("k1", "k_3"), Arrays.asList("v1", ""), 12345)); in getSamples()
198 new Sample(SAMPLE_NAME + "_count", Arrays.asList("k_3"), Arrays.asList("v-3"), 22), in getSamples()
199 new Sample(SAMPLE_NAME + "_sum", Arrays.asList("k_3"), Arrays.asList("v-3"), 74.8)) in getSamples()
[all …]
/external/googletest/googletest/docs/
Dsamples.md8 * Sample #1 shows the basic steps of using googletest to test C++ functions.
9 * Sample #2 shows a more complex unit test for a class with multiple member
11 * Sample #3 uses a test fixture.
12 * Sample #4 teaches you how to use googletest and `googletest.h` together to
14 * Sample #5 puts shared testing logic in a base test fixture, and reuses it in
16 * Sample #6 demonstrates type-parameterized tests.
17 * Sample #7 teaches the basics of value-parameterized tests.
18 * Sample #8 shows using `Combine()` in value-parameterized tests.
19 * Sample #9 shows use of the listener API to modify Google Test's console
21 * Sample #10 shows use of the listener API to implement a primitive memory

12345678910>>...34