Home
last modified time | relevance | path

Searched refs:PayloadLength (Results 1 – 5 of 5) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DDefaultDeserializationContextTest.cs52 Assert.AreEqual(0, context.PayloadLength); in PayloadAsReadOnlySequence_ZeroSegmentPayload()
72 Assert.AreEqual(origBuffer.Length, context.PayloadLength); in PayloadAsReadOnlySequence_SingleSegmentPayload()
97 Assert.AreEqual(totalLen, context.PayloadLength); in PayloadAsReadOnlySequence_MultiSegmentPayload()
130 Assert.AreEqual(0, context.PayloadLength); in PayloadAsNewByteBuffer_ZeroSegmentPayload()
147 Assert.AreEqual(origBuffer.Length, context.PayloadLength); in PayloadAsNewByteBuffer_SingleSegmentPayload()
174 Assert.AreEqual(concatenatedOrigBuffers.Count, context.PayloadLength); in PayloadAsNewByteBuffer_MultiSegmentPayload()
186 Assert.AreEqual(origBuffer.Length, context.PayloadLength); in GetPayloadMultipleTimesIsIllegal()
203 Assert.AreEqual(origBuffer.Length, context.PayloadLength); in ResetContextAndReinitialize()
208 Assert.AreEqual(0, context.PayloadLength); in ResetContextAndReinitialize()
216 Assert.AreEqual(origBuffer2.Length, context.PayloadLength); in ResetContextAndReinitialize()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DDeserializationContext.cs31 public abstract int PayloadLength { get; } property in Grpc.Core.DeserializationContext
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DDefaultDeserializationContext.cs40 public override int PayloadLength => payloadLength; field in Grpc.Core.Internal.DefaultDeserializationContext
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DMarshallerTest.cs94 public override int PayloadLength => payload.Length; field in Grpc.Core.Tests.MarshallerTest.FakeDeserializationContext
DContextualMarshallerTest.cs65 Assert.AreEqual(buffer.Length, deserializationContext.PayloadLength); in Init()