Searched refs:sampleValue (Results 1 - 4 of 4) sorted by relevance
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
H A D | FieldCodecTest.cs | 113 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() 131 codec.ValueWriter(ref ctx, sampleValue); in TestRoundTripRaw() 140 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripRaw() 148 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag() 153 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag() 161 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag() 163 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | FieldCodecTest.cs | 113 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() 131 codec.ValueWriter(ref ctx, sampleValue); in TestRoundTripRaw() 141 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripRaw() 149 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag() 154 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag() 162 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag() 164 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | plurrule.cpp | 417 double sampleValue = fixed.source; in getSamplesFromString() local 418 if (fixed.visibleDecimalDigitCount == 0 || sampleValue != floor(sampleValue)) { in getSamplesFromString() 419 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()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderImage.cpp | 440 auto sampleValue = Operand(this, state, instruction.sampleId); in callSamplerFunction() local 441 in[i] = As<SIMD::Float>(sampleValue.Int(0)); in callSamplerFunction()
|
Completed in 8 milliseconds