Home
last modified time | relevance | path

Searched refs:sampler (Results 1 – 18 of 18) sorted by relevance

/packages/modules/StatsD/lib/libkll/tests/
Dsampler_test.cpp48 KllSampler sampler(&compactor_stack); in TEST_F() local
49 EXPECT_THAT(sampler.sampled_item_and_weight(), Eq(std::nullopt)); in TEST_F()
51 sampler.Add(4); in TEST_F()
52 EXPECT_THAT(sampler.sampled_item_and_weight(), Optional(Pair(Eq(4), Eq(1)))); in TEST_F()
53 sampler.Add(10); in TEST_F()
54 EXPECT_THAT(sampler.sampled_item_and_weight(), Eq(std::nullopt)); in TEST_F()
57 sampler.Reset(); in TEST_F()
58 sampler.DoubleCapacity(); in TEST_F()
59 sampler.Add(4); in TEST_F()
60 EXPECT_THAT(sampler.sampled_item_and_weight(), Optional(Pair(Eq(4), Eq(1)))); in TEST_F()
[all …]
Dcompactor_stack_test.cpp65 KllSampler sampler(&compactor_stack); in TEST_P() local
66 while (sampler.capacity() < params.capacity) { in TEST_P()
67 sampler.DoubleCapacity(); in TEST_P()
70 sampler.Add(dis(gen)); in TEST_P()
72 EXPECT_EQ(compactor_stack.num_stored_items(), params.num_items / sampler.capacity()); in TEST_P()
73 if (sampler.sampled_item_and_weight().has_value()) { in TEST_P()
74 EXPECT_EQ(sampler.sampled_item_and_weight().value().second, in TEST_P()
75 params.num_items % sampler.capacity()); in TEST_P()
77 EXPECT_EQ(0, params.num_items % sampler.capacity()); in TEST_P()
89 KllSampler sampler(&compactor_stack); in TEST_P() local
[all …]
/packages/services/Car/cpp/evs/support_library/
DRenderDirectView.cpp97 GLint sampler = glGetUniformLocation(mShaderProgram, "tex"); in drawFrame() local
98 if (sampler < 0) { in drawFrame()
103 glUniform1i(sampler, 0); in drawFrame()
/packages/services/Car/cpp/evs/apps/default/
DRenderDirectView.cpp191 GLint sampler = glGetUniformLocation(mShaderProgram, "tex"); in drawFrame() local
192 if (sampler < 0) { in drawFrame()
197 glUniform1i(sampler, 0); in drawFrame()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DGLES20CarEvsCameraPreviewRenderer.java188 int sampler = GLES20.glGetUniformLocation(mProgram, "tex"); in onDrawFrame() local
189 if (sampler < 0) { in onDrawFrame()
192 GLES20.glUniform1i(sampler, 0); in onDrawFrame()
/packages/modules/StatsD/lib/libkll/proto/
Dkll-quantiles.proto60 // Binary logarithm of the sampler capacity (out of how many items are we
82 optional Sampler sampler = 6; field
/packages/services/Car/cpp/evs/sampleDriver/
DGlWrapper.cpp435 GLint sampler = glGetUniformLocation(mShaderProgram, "tex"); in renderImageToScreen() local
436 glUniform1i(sampler, 0); in renderImageToScreen()
/packages/modules/StatsD/lib/libkll/
DAndroid.bp29 "sampler.cpp",
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...