Home
last modified time | relevance | path

Searched refs:ComputeInt32Size (Results 1 – 25 of 35) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs1068 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2); in CalculateSize()
1071 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3); in CalculateSize()
1074 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field280); in CalculateSize()
1077 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field6); in CalculateSize()
1093 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16); in CalculateSize()
1096 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field130); in CalculateSize()
1111 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field104); in CalculateSize()
1114 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field100); in CalculateSize()
1117 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field101); in CalculateSize()
1126 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field29); in CalculateSize()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs89 public static int ComputeInt32Size(int value) in ComputeInt32Size() method in Google.Protobuf.CodedOutputStream
184 return ComputeInt32Size(value); in ComputeEnumSize()
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DControl.cs1193 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntValue); in CalculateSize()
1811 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutstandingRpcsPerChannel); in CalculateSize()
1814 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientChannels); in CalculateSize()
1817 size += 1 + pb::CodedOutputStream.ComputeInt32Size(AsyncClientThreads); in CalculateSize()
1833 size += 1 + pb::CodedOutputStream.ComputeInt32Size(CoreLimit); in CalculateSize()
1840 size += 2 + pb::CodedOutputStream.ComputeInt32Size(ThreadsPerCq); in CalculateSize()
1843 size += 2 + pb::CodedOutputStream.ComputeInt32Size(MessagesPerStream); in CalculateSize()
1849 size += 2 + pb::CodedOutputStream.ComputeInt32Size(MedianLatencyCollectionIntervalMillis); in CalculateSize()
1852 size += 2 + pb::CodedOutputStream.ComputeInt32Size(ClientProcesses); in CalculateSize()
3142 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port); in CalculateSize()
[all …]
DPayloads.cs184 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReqSize); in CalculateSize()
187 size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize); in CalculateSize()
392 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReqSize); in CalculateSize()
395 size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize); in CalculateSize()
DEchoMessages.cs425 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); in CalculateSize()
1014 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientCancelAfterUs); in CalculateSize()
1017 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerCancelAfterUs); in CalculateSize()
1026 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseMessageLength); in CalculateSize()
1053 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerSleepUs); in CalculateSize()
1056 size += 2 + pb::CodedOutputStream.ComputeInt32Size(BackendChannelIdx); in CalculateSize()
DMessages.cs698 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); in CalculateSize()
1122 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseSize); in CalculateSize()
2081 size += 1 + pb::CodedOutputStream.ComputeInt32Size(AggregatedPayloadSize); in CalculateSize()
2313 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Size); in CalculateSize()
2316 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntervalUs); in CalculateSize()
3018 size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxReconnectBackoffMs); in CalculateSize()
3422 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumRpcs); in CalculateSize()
3425 size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeoutSec); in CalculateSize()
3645 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumFailures); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DTestMessagesProto2.cs3130 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3294 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); in CalculateSize()
3297 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); in CalculateSize()
3300 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); in CalculateSize()
3303 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); in CalculateSize()
3306 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); in CalculateSize()
3309 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); in CalculateSize()
3312 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); in CalculateSize()
3315 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); in CalculateSize()
3318 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); in CalculateSize()
[all …]
DTestMessagesProto3.cs3114 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3339 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); in CalculateSize()
3342 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); in CalculateSize()
3345 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); in CalculateSize()
3348 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); in CalculateSize()
3351 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); in CalculateSize()
3354 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); in CalculateSize()
3357 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); in CalculateSize()
3360 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); in CalculateSize()
3363 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); in CalculateSize()
[all …]
DUnittestSelfreferentialOptions.cs250 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntOpt); in CalculateSize()
253 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo); in CalculateSize()
DUnittestImportPublicProto3.cs154 size += 1 + pb::CodedOutputStream.ComputeInt32Size(E); in CalculateSize()
DUnittest.cs3299 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3402 size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefaultInt32); in CalculateSize()
4541 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
4728 size += 2 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
4919 size += 2 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
5434 size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeprecatedInt32); in CalculateSize()
5437 size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeprecatedInt32InOneof); in CalculateSize()
5814 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); in CalculateSize()
5817 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
6332 size += 2 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
[all …]
DUnittestImportPublic.cs168 size += 1 + pb::CodedOutputStream.ComputeInt32Size(E); in CalculateSize()
DUnittestImportProto3.cs166 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
DUnittestImport.cs190 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
DUnittestIssues.cs1093 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PrimitiveValue); in CalculateSize()
1339 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item); in CalculateSize()
1533 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Types_); in CalculateSize()
1536 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Descriptor_); in CalculateSize()
2043 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlainInt32); in CalculateSize()
2049 size += 1 + pb::CodedOutputStream.ComputeInt32Size(O1Int32); in CalculateSize()
2055 size += 1 + pb::CodedOutputStream.ComputeInt32Size(O2Int32); in CalculateSize()
2819 size += 1 + pb::CodedOutputStream.ComputeInt32Size(X); in CalculateSize()
2822 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y); in CalculateSize()
DUnittestProto3Optional.cs815 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
872 size += 2 + pb::CodedOutputStream.ComputeInt32Size(SingularInt32); in CalculateSize()
1316 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
DUnittestCustomOptionsProto3.cs423 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofField); in CalculateSize()
2194 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo); in CalculateSize()
2197 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo2); in CalculateSize()
2200 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo3); in CalculateSize()
2468 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Baz); in CalculateSize()
2695 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Waldo); in CalculateSize()
2881 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qux); in CalculateSize()
3242 size += 1 + pb::CodedOutputStream.ComputeInt32Size(I); in CalculateSize()
3451 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Fieldname); in CalculateSize()
3769 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NestedField); in CalculateSize()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs312 var length = CodedOutputStream.ComputeInt32Size(10) in AddEntriesFrom_PackedInt32()
313 + CodedOutputStream.ComputeInt32Size(999) in AddEntriesFrom_PackedInt32()
314 + CodedOutputStream.ComputeInt32Size(-1000); in AddEntriesFrom_PackedInt32()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DLegacyGeneratedCodeTest.cs262 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
DGeneratedMessageTest.cs294 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
316 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestamp.cs275 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize()
DDuration.cs254 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs313 var length = CodedOutputStream.ComputeInt32Size(10) in AddEntriesFrom_PackedInt32()
314 + CodedOutputStream.ComputeInt32Size(999) in AddEntriesFrom_PackedInt32()
315 + CodedOutputStream.ComputeInt32Size(-1000); in AddEntriesFrom_PackedInt32()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
296 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()
DCodedOutputStreamTest.cs275 Assert.AreEqual(10, CodedOutputStream.ComputeInt32Size(-2)); in TestNegativeEnumNoTag()

12