Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a15df741
Commit
a15df741
authored
Sep 08, 2016
by
Jisi Liu
Committed by
GitHub
Sep 08, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2087 from khingblue/fix-unused-param
Fix #2032 unused parameter 'deterministic'
parents
30e55aec
08b1c718
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
55 additions
and
0 deletions
+55
-0
any.pb.cc
src/google/protobuf/any.pb.cc
+1
-0
api.pb.cc
src/google/protobuf/api.pb.cc
+3
-0
cpp_message.cc
src/google/protobuf/compiler/cpp/cpp_message.cc
+1
-0
plugin.pb.cc
src/google/protobuf/compiler/plugin.pb.cc
+3
-0
descriptor.pb.cc
src/google/protobuf/descriptor.pb.cc
+25
-0
duration.pb.cc
src/google/protobuf/duration.pb.cc
+1
-0
empty.pb.cc
src/google/protobuf/empty.pb.cc
+1
-0
field_mask.pb.cc
src/google/protobuf/field_mask.pb.cc
+1
-0
source_context.pb.cc
src/google/protobuf/source_context.pb.cc
+1
-0
struct.pb.cc
src/google/protobuf/struct.pb.cc
+3
-0
timestamp.pb.cc
src/google/protobuf/timestamp.pb.cc
+1
-0
type.pb.cc
src/google/protobuf/type.pb.cc
+5
-0
wrappers.pb.cc
src/google/protobuf/wrappers.pb.cc
+9
-0
No files found.
src/google/protobuf/any.pb.cc
View file @
a15df741
...
...
@@ -278,6 +278,7 @@ void Any::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Any
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any)
// optional string type_url = 1;
if
(
this
->
type_url
().
size
()
>
0
)
{
...
...
src/google/protobuf/api.pb.cc
View file @
a15df741
...
...
@@ -470,6 +470,7 @@ void Api::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Api
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
@@ -1224,6 +1225,7 @@ void Method::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Method
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
@@ -1806,6 +1808,7 @@ void Mixin::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Mixin
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
src/google/protobuf/compiler/cpp/cpp_message.cc
View file @
a15df741
...
...
@@ -3363,6 +3363,7 @@ GenerateSerializeWithCachedSizesToArray(io::Printer* printer) {
"classname"
,
classname_
);
printer
->
Indent
();
printer
->
Print
(
"(void)deterministic; // Unused
\n
"
);
printer
->
Print
(
"// @@protoc_insertion_point(serialize_to_array_start:$full_name$)
\n
"
,
"full_name"
,
descriptor_
->
full_name
());
...
...
src/google/protobuf/compiler/plugin.pb.cc
View file @
a15df741
...
...
@@ -368,6 +368,7 @@ void CodeGeneratorRequest::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
CodeGeneratorRequest
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorRequest)
// repeated string file_to_generate = 1;
for
(
int
i
=
0
;
i
<
this
->
file_to_generate_size
();
i
++
)
{
...
...
@@ -877,6 +878,7 @@ void CodeGeneratorResponse_File::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
CodeGeneratorResponse_File
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse.File)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -1211,6 +1213,7 @@ void CodeGeneratorResponse::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
CodeGeneratorResponse
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse)
// optional string error = 1;
if
(
has_error
())
{
...
...
src/google/protobuf/descriptor.pb.cc
View file @
a15df741
...
...
@@ -1040,6 +1040,7 @@ void FileDescriptorSet::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FileDescriptorSet
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorSet)
// repeated .google.protobuf.FileDescriptorProto file = 1;
for
(
unsigned
int
i
=
0
,
n
=
this
->
file_size
();
i
<
n
;
i
++
)
{
...
...
@@ -1632,6 +1633,7 @@ void FileDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FileDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -2631,6 +2633,7 @@ void DescriptorProto_ExtensionRange::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
DescriptorProto_ExtensionRange
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ExtensionRange)
// optional int32 start = 1;
if
(
has_start
())
{
...
...
@@ -2934,6 +2937,7 @@ void DescriptorProto_ReservedRange::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
DescriptorProto_ReservedRange
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ReservedRange)
// optional int32 start = 1;
if
(
has_start
())
{
...
...
@@ -3435,6 +3439,7 @@ void DescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
DescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -4675,6 +4680,7 @@ void FieldDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FieldDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -5563,6 +5569,7 @@ void OneofDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
OneofDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -6002,6 +6009,7 @@ void EnumDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
EnumDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -6487,6 +6495,7 @@ void EnumValueDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
EnumValueDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -6966,6 +6975,7 @@ void ServiceDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
ServiceDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -7559,6 +7569,7 @@ void MethodDescriptorProto::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
MethodDescriptorProto
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodDescriptorProto)
// optional string name = 1;
if
(
has_name
())
{
...
...
@@ -8596,6 +8607,7 @@ void FileOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FileOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileOptions)
// optional string java_package = 1;
if
(
has_java_package
())
{
...
...
@@ -9741,6 +9753,7 @@ void MessageOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
MessageOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MessageOptions)
// optional bool message_set_wire_format = 1 [default = false];
if
(
has_message_set_wire_format
())
{
...
...
@@ -10409,6 +10422,7 @@ void FieldOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FieldOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions)
// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
if
(
has_ctype
())
{
...
...
@@ -10945,6 +10959,7 @@ void OneofOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
OneofOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofOptions)
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
for
(
unsigned
int
i
=
0
,
n
=
this
->
uninterpreted_option_size
();
i
<
n
;
i
++
)
{
...
...
@@ -11308,6 +11323,7 @@ void EnumOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
EnumOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumOptions)
// optional bool allow_alias = 2;
if
(
has_allow_alias
())
{
...
...
@@ -11709,6 +11725,7 @@ void EnumValueOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
EnumValueOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueOptions)
// optional bool deprecated = 1 [default = false];
if
(
has_deprecated
())
{
...
...
@@ -12070,6 +12087,7 @@ void ServiceOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
ServiceOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceOptions)
// optional bool deprecated = 33 [default = false];
if
(
has_deprecated
())
{
...
...
@@ -12431,6 +12449,7 @@ void MethodOptions::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
MethodOptions
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodOptions)
// optional bool deprecated = 33 [default = false];
if
(
has_deprecated
())
{
...
...
@@ -12793,6 +12812,7 @@ void UninterpretedOption_NamePart::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
UninterpretedOption_NamePart
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption.NamePart)
// required string name_part = 1;
if
(
has_name_part
())
{
...
...
@@ -13259,6 +13279,7 @@ void UninterpretedOption::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
UninterpretedOption
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption)
// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
for
(
unsigned
int
i
=
0
,
n
=
this
->
name_size
();
i
<
n
;
i
++
)
{
...
...
@@ -14104,6 +14125,7 @@ void SourceCodeInfo_Location::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
SourceCodeInfo_Location
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo.Location)
// repeated int32 path = 1 [packed = true];
if
(
this
->
path_size
()
>
0
)
{
...
...
@@ -14466,6 +14488,7 @@ void SourceCodeInfo::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
SourceCodeInfo
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo)
// repeated .google.protobuf.SourceCodeInfo.Location location = 1;
for
(
unsigned
int
i
=
0
,
n
=
this
->
location_size
();
i
<
n
;
i
++
)
{
...
...
@@ -15077,6 +15100,7 @@ void GeneratedCodeInfo_Annotation::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
GeneratedCodeInfo_Annotation
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo.Annotation)
// repeated int32 path = 1 [packed = true];
if
(
this
->
path_size
()
>
0
)
{
...
...
@@ -15396,6 +15420,7 @@ void GeneratedCodeInfo::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
GeneratedCodeInfo
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo)
// repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
for
(
unsigned
int
i
=
0
,
n
=
this
->
annotation_size
();
i
<
n
;
i
++
)
{
...
...
src/google/protobuf/duration.pb.cc
View file @
a15df741
...
...
@@ -274,6 +274,7 @@ void Duration::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Duration
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration)
// optional int64 seconds = 1;
if
(
this
->
seconds
()
!=
0
)
{
...
...
src/google/protobuf/empty.pb.cc
View file @
a15df741
...
...
@@ -216,6 +216,7 @@ void Empty::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Empty
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Empty)
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Empty)
return
target
;
...
...
src/google/protobuf/field_mask.pb.cc
View file @
a15df741
...
...
@@ -240,6 +240,7 @@ void FieldMask::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FieldMask
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask)
// repeated string paths = 1;
for
(
int
i
=
0
;
i
<
this
->
paths_size
();
i
++
)
{
...
...
src/google/protobuf/source_context.pb.cc
View file @
a15df741
...
...
@@ -239,6 +239,7 @@ void SourceContext::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
SourceContext
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)
// optional string file_name = 1;
if
(
this
->
file_name
().
size
()
>
0
)
{
...
...
src/google/protobuf/struct.pb.cc
View file @
a15df741
...
...
@@ -394,6 +394,7 @@ void Struct::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Struct
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
// map<string, .google.protobuf.Value> fields = 1;
if
(
!
this
->
fields
().
empty
())
{
...
...
@@ -847,6 +848,7 @@ void Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
// optional .google.protobuf.NullValue null_value = 1;
if
(
has_null_value
())
{
...
...
@@ -1444,6 +1446,7 @@ void ListValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
ListValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)
// repeated .google.protobuf.Value values = 1;
for
(
unsigned
int
i
=
0
,
n
=
this
->
values_size
();
i
<
n
;
i
++
)
{
...
...
src/google/protobuf/timestamp.pb.cc
View file @
a15df741
...
...
@@ -288,6 +288,7 @@ void Timestamp::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Timestamp
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)
// optional int64 seconds = 1;
if
(
this
->
seconds
()
!=
0
)
{
...
...
src/google/protobuf/type.pb.cc
View file @
a15df741
...
...
@@ -543,6 +543,7 @@ void Type::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Type
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Type)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
@@ -1416,6 +1417,7 @@ void Field::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Field
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Field)
// optional .google.protobuf.Field.Kind kind = 1;
if
(
this
->
kind
()
!=
0
)
{
...
...
@@ -2195,6 +2197,7 @@ void Enum::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Enum
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Enum)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
@@ -2707,6 +2710,7 @@ void EnumValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
EnumValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValue)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
@@ -3093,6 +3097,7 @@ void Option::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Option
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Option)
// optional string name = 1;
if
(
this
->
name
().
size
()
>
0
)
{
...
...
src/google/protobuf/wrappers.pb.cc
View file @
a15df741
...
...
@@ -443,6 +443,7 @@ void DoubleValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
DoubleValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
// optional double value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -705,6 +706,7 @@ void FloatValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FloatValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
// optional float value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -967,6 +969,7 @@ void Int64Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Int64Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
// optional int64 value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -1231,6 +1234,7 @@ void UInt64Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
UInt64Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
// optional uint64 value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -1495,6 +1499,7 @@ void Int32Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Int32Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
// optional int32 value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -1759,6 +1764,7 @@ void UInt32Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
UInt32Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
// optional uint32 value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -2023,6 +2029,7 @@ void BoolValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
BoolValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
// optional bool value = 1;
if
(
this
->
value
()
!=
0
)
{
...
...
@@ -2294,6 +2301,7 @@ void StringValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
StringValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
// optional string value = 1;
if
(
this
->
value
().
size
()
>
0
)
{
...
...
@@ -2617,6 +2625,7 @@ void BytesValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
BytesValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)
// optional bytes value = 1;
if
(
this
->
value
().
size
()
>
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment