Home
last modified time | relevance | path

Searched refs:sampleValue (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DFieldCodecTest.cs113 private readonly T sampleValue; field in Google.Protobuf.FieldCodecTest.FieldCodecTestData
116 public FieldCodecTestData(FieldCodec<T> codec, T sampleValue, string name) in FieldCodecTestData() argument
119 this.sampleValue = sampleValue; in FieldCodecTestData()
127 codec.ValueWriter(codedOutput, sampleValue); in TestRoundTripRaw()
131 Assert.AreEqual(sampleValue, codec.ValueReader(codedInput)); in TestRoundTripRaw()
139 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
144 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag()
152 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
154 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DFieldCodecTest.cs113 private readonly T sampleValue; field in Google.Protobuf.FieldCodecTest.FieldCodecTestData
116 public FieldCodecTestData(FieldCodec<T> codec, T sampleValue, string name) in FieldCodecTestData() argument
119 this.sampleValue = sampleValue; in FieldCodecTestData()
127 codec.ValueWriter(codedOutput, sampleValue); in TestRoundTripRaw()
131 Assert.AreEqual(sampleValue, codec.ValueReader(codedInput)); in TestRoundTripRaw()
139 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
144 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag()
152 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
154 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DUnmodifiableCollectionTests.java267 Multimap<K, V> multimap, final K sampleKey, final V sampleValue) { in assertMultimapIsUnmodifiable() argument
273 Collection<V> sampleValueAsCollection = Collections.singleton(sampleValue); in assertMultimapIsUnmodifiable()
294 assertCollectionIsUnmodifiable(values, sampleValue); in assertMultimapIsUnmodifiable()
298 assertCollectionIsUnmodifiable(multimap.entries(), Maps.immutableEntry(sampleKey, sampleValue)); in assertMultimapIsUnmodifiable()
318 assertCollectionIsUnmodifiable(multimap.get(key), sampleValue); in assertMultimapIsUnmodifiable() local
324 multimap.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
340 multimap2.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
350 multimap.remove(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
383 multimap.asMap().get(presentKey).remove(sampleValue); in assertMultimapIsUnmodifiable()
390 multimap.asMap().values().iterator().next().remove(sampleValue); in assertMultimapIsUnmodifiable()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DUnmodifiableCollectionTests.java267 Multimap<K, V> multimap, final K sampleKey, final V sampleValue) { in assertMultimapIsUnmodifiable() argument
273 Collection<V> sampleValueAsCollection = Collections.singleton(sampleValue); in assertMultimapIsUnmodifiable()
294 assertCollectionIsUnmodifiable(values, sampleValue); in assertMultimapIsUnmodifiable()
298 assertCollectionIsUnmodifiable(multimap.entries(), Maps.immutableEntry(sampleKey, sampleValue)); in assertMultimapIsUnmodifiable()
318 assertCollectionIsUnmodifiable(multimap.get(key), sampleValue); in assertMultimapIsUnmodifiable() local
324 multimap.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
340 multimap2.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
350 multimap.remove(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
383 multimap.asMap().get(presentKey).remove(sampleValue); in assertMultimapIsUnmodifiable()
390 multimap.asMap().values().iterator().next().remove(sampleValue); in assertMultimapIsUnmodifiable()
[all …]
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DMetricsUtils.java32 public HistogramDelta(String histogram, int sampleValue) { in HistogramDelta() argument
34 mSampleValue = sampleValue; in HistogramDelta()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckExemplars.java271 String sampleValue = oparts.getAttributeValue(-1, "sample"); in checkParse() local
272 if (!us.contains(sampleValue)) { in checkParse()
276 .setMessage("ParseLenient sample not in value: {0} ∌ {1}", us, sampleValue); in checkParse()
/external/icu/icu4c/source/i18n/
Dplurrule.cpp416 double sampleValue = fixed.source; in getSamplesFromString() local
417 if (fixed.visibleDecimalDigitCount == 0 || sampleValue != floor(sampleValue)) { in getSamplesFromString()
418 destDbl[sampleCount++] = sampleValue; in getSamplesFromString()
448 double sampleValue = n/scale; in getSamplesFromString() local
455 … if (!(sampleValue == floor(sampleValue) && fixedLo.visibleDecimalDigitCount > 0)) { in getSamplesFromString()
456 destDbl[sampleCount++] = sampleValue; in getSamplesFromString()
461 FixedDecimal newSample = FixedDecimal::createWithExponent(sampleValue, v, e); in getSamplesFromString()
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DOverlayDraw.comp251 const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLayer);
254 color = mix(color, textWidgetsData[textWidget].color, sampleValue);
/external/oboe/docs/
DGettingStarted.md290 float sampleValue = kAmplitude * sinf(mPhase);
292 floatData[i * kChannelCount + j] = sampleValue;
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DRangeConstraintManager.cpp314 const llvm::APSInt sampleValue = getMinValue(); in Negate() local
315 const llvm::APSInt &MIN = BV.getMinValue(sampleValue); in Negate()
316 const llvm::APSInt &MAX = BV.getMaxValue(sampleValue); in Negate()
/external/angle/src/libANGLE/renderer/vulkan/shaders/gen/
DOverlayDraw.comp.00000001.inc384 // const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLay…
387 // color = mix(color, textWidgetsData[textWidget]. color, sampleValue);
DOverlayDraw.comp.00000000.inc384 // const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLay…
387 // color = mix(color, textWidgetsData[textWidget]. color, sampleValue);
/external/swiftshader/src/Pipeline/
DSpirvShaderImage.cpp321 auto sampleValue = Operand(this, state, sampleId); in EmitImageSampleUnconditional() local
322 in[i] = As<SIMD::Float>(sampleValue.Int(0)); in EmitImageSampleUnconditional()