Searched refs:PayloadLength (Results 1 – 5 of 5) sorted by relevance
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | DefaultDeserializationContextTest.cs | 52 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/ |
D | DeserializationContext.cs | 31 public abstract int PayloadLength { get; } property in Grpc.Core.DeserializationContext
|
/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | DefaultDeserializationContext.cs | 40 public override int PayloadLength => payloadLength; field in Grpc.Core.Internal.DefaultDeserializationContext
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/ |
D | MarshallerTest.cs | 94 public override int PayloadLength => payload.Length; field in Grpc.Core.Tests.MarshallerTest.FakeDeserializationContext
|
D | ContextualMarshallerTest.cs | 65 Assert.AreEqual(buffer.Length, deserializationContext.PayloadLength); in Init()
|