Coverage Report

Created: 2025-06-13 07:32

/src/mruby/genfiles/ruby.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// NO CHECKED-IN PROTOBUF GENCODE
3
// source: ruby.proto
4
// Protobuf C++ Version: 5.29.3
5
6
#include "ruby.pb.h"
7
8
#include <algorithm>
9
#include <type_traits>
10
#include "google/protobuf/io/coded_stream.h"
11
#include "google/protobuf/generated_message_tctable_impl.h"
12
#include "google/protobuf/extension_set.h"
13
#include "google/protobuf/generated_message_util.h"
14
#include "google/protobuf/wire_format_lite.h"
15
#include "google/protobuf/descriptor.h"
16
#include "google/protobuf/generated_message_reflection.h"
17
#include "google/protobuf/reflection_ops.h"
18
#include "google/protobuf/wire_format.h"
19
// @@protoc_insertion_point(includes)
20
21
// Must be included last.
22
#include "google/protobuf/port_def.inc"
23
PROTOBUF_PRAGMA_INIT_SEG
24
namespace _pb = ::google::protobuf;
25
namespace _pbi = ::google::protobuf::internal;
26
namespace _fl = ::google::protobuf::internal::field_layout;
27
namespace ruby_fuzzer {
28
29
inline constexpr VarRef::Impl_::Impl_(
30
    ::_pbi::ConstantInitialized) noexcept
31
      : _cached_size_{0},
32
        varnum_{0} {}
33
34
template <typename>
35
PROTOBUF_CONSTEXPR VarRef::VarRef(::_pbi::ConstantInitialized)
36
#if defined(PROTOBUF_CUSTOM_VTABLE)
37
    : ::google::protobuf::Message(_class_data_.base()),
38
#else   // PROTOBUF_CUSTOM_VTABLE
39
    : ::google::protobuf::Message(),
40
#endif  // PROTOBUF_CUSTOM_VTABLE
41
      _impl_(::_pbi::ConstantInitialized()) {
42
}
43
struct VarRefDefaultTypeInternal {
44
0
  PROTOBUF_CONSTEXPR VarRefDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
45
0
  ~VarRefDefaultTypeInternal() {}
46
  union {
47
    VarRef _instance;
48
  };
49
};
50
51
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
52
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarRefDefaultTypeInternal _VarRef_default_instance_;
53
54
inline constexpr Time::Impl_::Impl_(
55
    ::_pbi::ConstantInitialized) noexcept
56
      : _cached_size_{0},
57
        t_arg_{0u},
58
        t_func_{static_cast< ::ruby_fuzzer::Time_T_methods >(1)} {}
59
60
template <typename>
61
PROTOBUF_CONSTEXPR Time::Time(::_pbi::ConstantInitialized)
62
#if defined(PROTOBUF_CUSTOM_VTABLE)
63
    : ::google::protobuf::Message(_class_data_.base()),
64
#else   // PROTOBUF_CUSTOM_VTABLE
65
    : ::google::protobuf::Message(),
66
#endif  // PROTOBUF_CUSTOM_VTABLE
67
      _impl_(::_pbi::ConstantInitialized()) {
68
}
69
struct TimeDefaultTypeInternal {
70
0
  PROTOBUF_CONSTEXPR TimeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
71
0
  ~TimeDefaultTypeInternal() {}
72
  union {
73
    Time _instance;
74
  };
75
};
76
77
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
78
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TimeDefaultTypeInternal _Time_default_instance_;
79
80
inline constexpr StringExtNoArg::Impl_::Impl_(
81
    ::_pbi::ConstantInitialized) noexcept
82
      : _cached_size_{0},
83
        str_arg_(
84
            &::google::protobuf::internal::fixed_address_empty_string,
85
            ::_pbi::ConstantInitialized()),
86
        str_op_{static_cast< ::ruby_fuzzer::StringExtNoArg_StrExtOp >(0)} {}
87
88
template <typename>
89
PROTOBUF_CONSTEXPR StringExtNoArg::StringExtNoArg(::_pbi::ConstantInitialized)
90
#if defined(PROTOBUF_CUSTOM_VTABLE)
91
    : ::google::protobuf::Message(_class_data_.base()),
92
#else   // PROTOBUF_CUSTOM_VTABLE
93
    : ::google::protobuf::Message(),
94
#endif  // PROTOBUF_CUSTOM_VTABLE
95
      _impl_(::_pbi::ConstantInitialized()) {
96
}
97
struct StringExtNoArgDefaultTypeInternal {
98
0
  PROTOBUF_CONSTEXPR StringExtNoArgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
99
0
  ~StringExtNoArgDefaultTypeInternal() {}
100
  union {
101
    StringExtNoArg _instance;
102
  };
103
};
104
105
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
106
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringExtNoArgDefaultTypeInternal _StringExtNoArg_default_instance_;
107
108
inline constexpr MathConst::Impl_::Impl_(
109
    ::_pbi::ConstantInitialized) noexcept
110
      : _cached_size_{0},
111
        math_const_{static_cast< ::ruby_fuzzer::MathConst_MathConstLit >(0)} {}
112
113
template <typename>
114
PROTOBUF_CONSTEXPR MathConst::MathConst(::_pbi::ConstantInitialized)
115
#if defined(PROTOBUF_CUSTOM_VTABLE)
116
    : ::google::protobuf::Message(_class_data_.base()),
117
#else   // PROTOBUF_CUSTOM_VTABLE
118
    : ::google::protobuf::Message(),
119
#endif  // PROTOBUF_CUSTOM_VTABLE
120
      _impl_(::_pbi::ConstantInitialized()) {
121
}
122
struct MathConstDefaultTypeInternal {
123
0
  PROTOBUF_CONSTEXPR MathConstDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
124
0
  ~MathConstDefaultTypeInternal() {}
125
  union {
126
    MathConst _instance;
127
  };
128
};
129
130
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
131
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MathConstDefaultTypeInternal _MathConst_default_instance_;
132
133
inline constexpr KVPair::Impl_::Impl_(
134
    ::_pbi::ConstantInitialized) noexcept
135
      : _cached_size_{0},
136
        key_(
137
            &::google::protobuf::internal::fixed_address_empty_string,
138
            ::_pbi::ConstantInitialized()),
139
        val_(
140
            &::google::protobuf::internal::fixed_address_empty_string,
141
            ::_pbi::ConstantInitialized()) {}
142
143
template <typename>
144
PROTOBUF_CONSTEXPR KVPair::KVPair(::_pbi::ConstantInitialized)
145
#if defined(PROTOBUF_CUSTOM_VTABLE)
146
    : ::google::protobuf::Message(_class_data_.base()),
147
#else   // PROTOBUF_CUSTOM_VTABLE
148
    : ::google::protobuf::Message(),
149
#endif  // PROTOBUF_CUSTOM_VTABLE
150
      _impl_(::_pbi::ConstantInitialized()) {
151
}
152
struct KVPairDefaultTypeInternal {
153
0
  PROTOBUF_CONSTEXPR KVPairDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
154
0
  ~KVPairDefaultTypeInternal() {}
155
  union {
156
    KVPair _instance;
157
  };
158
};
159
160
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
161
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KVPairDefaultTypeInternal _KVPair_default_instance_;
162
163
inline constexpr Const::Impl_::Impl_(
164
    ::_pbi::ConstantInitialized) noexcept
165
      : const_oneof_{},
166
        _cached_size_{0},
167
        _oneof_case_{} {}
168
169
template <typename>
170
PROTOBUF_CONSTEXPR Const::Const(::_pbi::ConstantInitialized)
171
#if defined(PROTOBUF_CUSTOM_VTABLE)
172
    : ::google::protobuf::Message(_class_data_.base()),
173
#else   // PROTOBUF_CUSTOM_VTABLE
174
    : ::google::protobuf::Message(),
175
#endif  // PROTOBUF_CUSTOM_VTABLE
176
      _impl_(::_pbi::ConstantInitialized()) {
177
}
178
struct ConstDefaultTypeInternal {
179
0
  PROTOBUF_CONSTEXPR ConstDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
180
0
  ~ConstDefaultTypeInternal() {}
181
  union {
182
    Const _instance;
183
  };
184
};
185
186
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
187
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstDefaultTypeInternal _Const_default_instance_;
188
189
inline constexpr HashType::Impl_::Impl_(
190
    ::_pbi::ConstantInitialized) noexcept
191
      : keyval_{},
192
        _cached_size_{0} {}
193
194
template <typename>
195
PROTOBUF_CONSTEXPR HashType::HashType(::_pbi::ConstantInitialized)
196
#if defined(PROTOBUF_CUSTOM_VTABLE)
197
    : ::google::protobuf::Message(_class_data_.base()),
198
#else   // PROTOBUF_CUSTOM_VTABLE
199
    : ::google::protobuf::Message(),
200
#endif  // PROTOBUF_CUSTOM_VTABLE
201
      _impl_(::_pbi::ConstantInitialized()) {
202
}
203
struct HashTypeDefaultTypeInternal {
204
0
  PROTOBUF_CONSTEXPR HashTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
205
0
  ~HashTypeDefaultTypeInternal() {}
206
  union {
207
    HashType _instance;
208
  };
209
};
210
211
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
212
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HashTypeDefaultTypeInternal _HashType_default_instance_;
213
214
inline constexpr BinaryOp::Impl_::Impl_(
215
    ::_pbi::ConstantInitialized) noexcept
216
      : _cached_size_{0},
217
        left_{nullptr},
218
        right_{nullptr},
219
        op_{static_cast< ::ruby_fuzzer::BinaryOp_Op >(0)} {}
220
221
template <typename>
222
PROTOBUF_CONSTEXPR BinaryOp::BinaryOp(::_pbi::ConstantInitialized)
223
#if defined(PROTOBUF_CUSTOM_VTABLE)
224
    : ::google::protobuf::Message(_class_data_.base()),
225
#else   // PROTOBUF_CUSTOM_VTABLE
226
    : ::google::protobuf::Message(),
227
#endif  // PROTOBUF_CUSTOM_VTABLE
228
      _impl_(::_pbi::ConstantInitialized()) {
229
}
230
struct BinaryOpDefaultTypeInternal {
231
0
  PROTOBUF_CONSTEXPR BinaryOpDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
232
0
  ~BinaryOpDefaultTypeInternal() {}
233
  union {
234
    BinaryOp _instance;
235
  };
236
};
237
238
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
239
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinaryOpDefaultTypeInternal _BinaryOp_default_instance_;
240
241
inline constexpr Rvalue::Impl_::Impl_(
242
    ::_pbi::ConstantInitialized) noexcept
243
      : rvalue_oneof_{},
244
        _cached_size_{0},
245
        _oneof_case_{} {}
246
247
template <typename>
248
PROTOBUF_CONSTEXPR Rvalue::Rvalue(::_pbi::ConstantInitialized)
249
#if defined(PROTOBUF_CUSTOM_VTABLE)
250
    : ::google::protobuf::Message(_class_data_.base()),
251
#else   // PROTOBUF_CUSTOM_VTABLE
252
    : ::google::protobuf::Message(),
253
#endif  // PROTOBUF_CUSTOM_VTABLE
254
      _impl_(::_pbi::ConstantInitialized()) {
255
}
256
struct RvalueDefaultTypeInternal {
257
0
  PROTOBUF_CONSTEXPR RvalueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
258
0
  ~RvalueDefaultTypeInternal() {}
259
  union {
260
    Rvalue _instance;
261
  };
262
};
263
264
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
265
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RvalueDefaultTypeInternal _Rvalue_default_instance_;
266
267
inline constexpr ArrType::Impl_::Impl_(
268
    ::_pbi::ConstantInitialized) noexcept
269
      : elements_{},
270
        _cached_size_{0} {}
271
272
template <typename>
273
PROTOBUF_CONSTEXPR ArrType::ArrType(::_pbi::ConstantInitialized)
274
#if defined(PROTOBUF_CUSTOM_VTABLE)
275
    : ::google::protobuf::Message(_class_data_.base()),
276
#else   // PROTOBUF_CUSTOM_VTABLE
277
    : ::google::protobuf::Message(),
278
#endif  // PROTOBUF_CUSTOM_VTABLE
279
      _impl_(::_pbi::ConstantInitialized()) {
280
}
281
struct ArrTypeDefaultTypeInternal {
282
0
  PROTOBUF_CONSTEXPR ArrTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
283
0
  ~ArrTypeDefaultTypeInternal() {}
284
  union {
285
    ArrType _instance;
286
  };
287
};
288
289
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
290
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrTypeDefaultTypeInternal _ArrType_default_instance_;
291
292
inline constexpr Ternary::Impl_::Impl_(
293
    ::_pbi::ConstantInitialized) noexcept
294
      : _cached_size_{0},
295
        tern_cond_{nullptr},
296
        t_branch_{nullptr},
297
        f_branch_{nullptr} {}
298
299
template <typename>
300
PROTOBUF_CONSTEXPR Ternary::Ternary(::_pbi::ConstantInitialized)
301
#if defined(PROTOBUF_CUSTOM_VTABLE)
302
    : ::google::protobuf::Message(_class_data_.base()),
303
#else   // PROTOBUF_CUSTOM_VTABLE
304
    : ::google::protobuf::Message(),
305
#endif  // PROTOBUF_CUSTOM_VTABLE
306
      _impl_(::_pbi::ConstantInitialized()) {
307
}
308
struct TernaryDefaultTypeInternal {
309
0
  PROTOBUF_CONSTEXPR TernaryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
310
0
  ~TernaryDefaultTypeInternal() {}
311
  union {
312
    Ternary _instance;
313
  };
314
};
315
316
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
317
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TernaryDefaultTypeInternal _Ternary_default_instance_;
318
319
inline constexpr ObjectSpace::Impl_::Impl_(
320
    ::_pbi::ConstantInitialized) noexcept
321
      : _cached_size_{0},
322
        os_arg_{nullptr},
323
        os_func_{static_cast< ::ruby_fuzzer::ObjectSpace_OS_methods >(1)} {}
324
325
template <typename>
326
PROTOBUF_CONSTEXPR ObjectSpace::ObjectSpace(::_pbi::ConstantInitialized)
327
#if defined(PROTOBUF_CUSTOM_VTABLE)
328
    : ::google::protobuf::Message(_class_data_.base()),
329
#else   // PROTOBUF_CUSTOM_VTABLE
330
    : ::google::protobuf::Message(),
331
#endif  // PROTOBUF_CUSTOM_VTABLE
332
      _impl_(::_pbi::ConstantInitialized()) {
333
}
334
struct ObjectSpaceDefaultTypeInternal {
335
0
  PROTOBUF_CONSTEXPR ObjectSpaceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
336
0
  ~ObjectSpaceDefaultTypeInternal() {}
337
  union {
338
    ObjectSpace _instance;
339
  };
340
};
341
342
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
343
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectSpaceDefaultTypeInternal _ObjectSpace_default_instance_;
344
345
inline constexpr MathType::Impl_::Impl_(
346
    ::_pbi::ConstantInitialized) noexcept
347
      : math_arg_oneof_{},
348
        _cached_size_{0},
349
        _oneof_case_{} {}
350
351
template <typename>
352
PROTOBUF_CONSTEXPR MathType::MathType(::_pbi::ConstantInitialized)
353
#if defined(PROTOBUF_CUSTOM_VTABLE)
354
    : ::google::protobuf::Message(_class_data_.base()),
355
#else   // PROTOBUF_CUSTOM_VTABLE
356
    : ::google::protobuf::Message(),
357
#endif  // PROTOBUF_CUSTOM_VTABLE
358
      _impl_(::_pbi::ConstantInitialized()) {
359
}
360
struct MathTypeDefaultTypeInternal {
361
0
  PROTOBUF_CONSTEXPR MathTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
362
0
  ~MathTypeDefaultTypeInternal() {}
363
  union {
364
    MathType _instance;
365
  };
366
};
367
368
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
369
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MathTypeDefaultTypeInternal _MathType_default_instance_;
370
371
inline constexpr AssignmentStatement::Impl_::Impl_(
372
    ::_pbi::ConstantInitialized) noexcept
373
      : _cached_size_{0},
374
        rvalue_{nullptr} {}
375
376
template <typename>
377
PROTOBUF_CONSTEXPR AssignmentStatement::AssignmentStatement(::_pbi::ConstantInitialized)
378
#if defined(PROTOBUF_CUSTOM_VTABLE)
379
    : ::google::protobuf::Message(_class_data_.base()),
380
#else   // PROTOBUF_CUSTOM_VTABLE
381
    : ::google::protobuf::Message(),
382
#endif  // PROTOBUF_CUSTOM_VTABLE
383
      _impl_(::_pbi::ConstantInitialized()) {
384
}
385
struct AssignmentStatementDefaultTypeInternal {
386
0
  PROTOBUF_CONSTEXPR AssignmentStatementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
387
0
  ~AssignmentStatementDefaultTypeInternal() {}
388
  union {
389
    AssignmentStatement _instance;
390
  };
391
};
392
393
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
394
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignmentStatementDefaultTypeInternal _AssignmentStatement_default_instance_;
395
396
inline constexpr Array::Impl_::Impl_(
397
    ::_pbi::ConstantInitialized) noexcept
398
      : _cached_size_{0},
399
        arr_arg_{nullptr},
400
        val_arg_{nullptr},
401
        arr_func_{static_cast< ::ruby_fuzzer::Array_Arr_methods >(1)} {}
402
403
template <typename>
404
PROTOBUF_CONSTEXPR Array::Array(::_pbi::ConstantInitialized)
405
#if defined(PROTOBUF_CUSTOM_VTABLE)
406
    : ::google::protobuf::Message(_class_data_.base()),
407
#else   // PROTOBUF_CUSTOM_VTABLE
408
    : ::google::protobuf::Message(),
409
#endif  // PROTOBUF_CUSTOM_VTABLE
410
      _impl_(::_pbi::ConstantInitialized()) {
411
}
412
struct ArrayDefaultTypeInternal {
413
0
  PROTOBUF_CONSTEXPR ArrayDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
414
0
  ~ArrayDefaultTypeInternal() {}
415
  union {
416
    Array _instance;
417
  };
418
};
419
420
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
421
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayDefaultTypeInternal _Array_default_instance_;
422
423
inline constexpr MathOps::Impl_::Impl_(
424
    ::_pbi::ConstantInitialized) noexcept
425
      : _cached_size_{0},
426
        math_arg_{nullptr},
427
        math_op_{static_cast< ::ruby_fuzzer::MathOps_Mops >(1)} {}
428
429
template <typename>
430
PROTOBUF_CONSTEXPR MathOps::MathOps(::_pbi::ConstantInitialized)
431
#if defined(PROTOBUF_CUSTOM_VTABLE)
432
    : ::google::protobuf::Message(_class_data_.base()),
433
#else   // PROTOBUF_CUSTOM_VTABLE
434
    : ::google::protobuf::Message(),
435
#endif  // PROTOBUF_CUSTOM_VTABLE
436
      _impl_(::_pbi::ConstantInitialized()) {
437
}
438
struct MathOpsDefaultTypeInternal {
439
0
  PROTOBUF_CONSTEXPR MathOpsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
440
0
  ~MathOpsDefaultTypeInternal() {}
441
  union {
442
    MathOps _instance;
443
  };
444
};
445
446
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
447
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MathOpsDefaultTypeInternal _MathOps_default_instance_;
448
449
inline constexpr BuiltinFuncs::Impl_::Impl_(
450
    ::_pbi::ConstantInitialized) noexcept
451
      : bifunc_oneof_{},
452
        _cached_size_{0},
453
        _oneof_case_{} {}
454
455
template <typename>
456
PROTOBUF_CONSTEXPR BuiltinFuncs::BuiltinFuncs(::_pbi::ConstantInitialized)
457
#if defined(PROTOBUF_CUSTOM_VTABLE)
458
    : ::google::protobuf::Message(_class_data_.base()),
459
#else   // PROTOBUF_CUSTOM_VTABLE
460
    : ::google::protobuf::Message(),
461
#endif  // PROTOBUF_CUSTOM_VTABLE
462
      _impl_(::_pbi::ConstantInitialized()) {
463
}
464
struct BuiltinFuncsDefaultTypeInternal {
465
0
  PROTOBUF_CONSTEXPR BuiltinFuncsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
466
0
  ~BuiltinFuncsDefaultTypeInternal() {}
467
  union {
468
    BuiltinFuncs _instance;
469
  };
470
};
471
472
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
473
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuiltinFuncsDefaultTypeInternal _BuiltinFuncs_default_instance_;
474
475
inline constexpr IfElse::Impl_::Impl_(
476
    ::_pbi::ConstantInitialized) noexcept
477
      : _cached_size_{0},
478
        cond_{nullptr},
479
        if_body_{nullptr},
480
        else_body_{nullptr} {}
481
482
template <typename>
483
PROTOBUF_CONSTEXPR IfElse::IfElse(::_pbi::ConstantInitialized)
484
#if defined(PROTOBUF_CUSTOM_VTABLE)
485
    : ::google::protobuf::Message(_class_data_.base()),
486
#else   // PROTOBUF_CUSTOM_VTABLE
487
    : ::google::protobuf::Message(),
488
#endif  // PROTOBUF_CUSTOM_VTABLE
489
      _impl_(::_pbi::ConstantInitialized()) {
490
}
491
struct IfElseDefaultTypeInternal {
492
0
  PROTOBUF_CONSTEXPR IfElseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
493
0
  ~IfElseDefaultTypeInternal() {}
494
  union {
495
    IfElse _instance;
496
  };
497
};
498
499
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
500
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IfElseDefaultTypeInternal _IfElse_default_instance_;
501
502
inline constexpr Statement::Impl_::Impl_(
503
    ::_pbi::ConstantInitialized) noexcept
504
      : stmt_oneof_{},
505
        _cached_size_{0},
506
        _oneof_case_{} {}
507
508
template <typename>
509
PROTOBUF_CONSTEXPR Statement::Statement(::_pbi::ConstantInitialized)
510
#if defined(PROTOBUF_CUSTOM_VTABLE)
511
    : ::google::protobuf::Message(_class_data_.base()),
512
#else   // PROTOBUF_CUSTOM_VTABLE
513
    : ::google::protobuf::Message(),
514
#endif  // PROTOBUF_CUSTOM_VTABLE
515
      _impl_(::_pbi::ConstantInitialized()) {
516
}
517
struct StatementDefaultTypeInternal {
518
0
  PROTOBUF_CONSTEXPR StatementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
519
0
  ~StatementDefaultTypeInternal() {}
520
  union {
521
    Statement _instance;
522
  };
523
};
524
525
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
526
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementDefaultTypeInternal _Statement_default_instance_;
527
528
inline constexpr StatementSeq::Impl_::Impl_(
529
    ::_pbi::ConstantInitialized) noexcept
530
      : statements_{},
531
        _cached_size_{0} {}
532
533
template <typename>
534
PROTOBUF_CONSTEXPR StatementSeq::StatementSeq(::_pbi::ConstantInitialized)
535
#if defined(PROTOBUF_CUSTOM_VTABLE)
536
    : ::google::protobuf::Message(_class_data_.base()),
537
#else   // PROTOBUF_CUSTOM_VTABLE
538
    : ::google::protobuf::Message(),
539
#endif  // PROTOBUF_CUSTOM_VTABLE
540
      _impl_(::_pbi::ConstantInitialized()) {
541
}
542
struct StatementSeqDefaultTypeInternal {
543
0
  PROTOBUF_CONSTEXPR StatementSeqDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
544
0
  ~StatementSeqDefaultTypeInternal() {}
545
  union {
546
    StatementSeq _instance;
547
  };
548
};
549
550
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
551
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementSeqDefaultTypeInternal _StatementSeq_default_instance_;
552
553
inline constexpr Function::Impl_::Impl_(
554
    ::_pbi::ConstantInitialized) noexcept
555
      : _cached_size_{0},
556
        statements_{nullptr} {}
557
558
template <typename>
559
PROTOBUF_CONSTEXPR Function::Function(::_pbi::ConstantInitialized)
560
#if defined(PROTOBUF_CUSTOM_VTABLE)
561
    : ::google::protobuf::Message(_class_data_.base()),
562
#else   // PROTOBUF_CUSTOM_VTABLE
563
    : ::google::protobuf::Message(),
564
#endif  // PROTOBUF_CUSTOM_VTABLE
565
      _impl_(::_pbi::ConstantInitialized()) {
566
}
567
struct FunctionDefaultTypeInternal {
568
0
  PROTOBUF_CONSTEXPR FunctionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
569
0
  ~FunctionDefaultTypeInternal() {}
570
  union {
571
    Function _instance;
572
  };
573
};
574
575
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
576
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionDefaultTypeInternal _Function_default_instance_;
577
}  // namespace ruby_fuzzer
578
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_ruby_2eproto[7];
579
static constexpr const ::_pb::ServiceDescriptor**
580
    file_level_service_descriptors_ruby_2eproto = nullptr;
581
const ::uint32_t
582
    TableStruct_ruby_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
583
        protodesc_cold) = {
584
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::VarRef, _impl_._has_bits_),
585
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::VarRef, _internal_metadata_),
586
        ~0u,  // no _extensions_
587
        ~0u,  // no _oneof_case_
588
        ~0u,  // no _weak_field_map_
589
        ~0u,  // no _inlined_string_donated_
590
        ~0u,  // no _split_
591
        ~0u,  // no sizeof(Split)
592
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::VarRef, _impl_.varnum_),
593
        0,
594
        ~0u,  // no _has_bits_
595
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::ArrType, _internal_metadata_),
596
        ~0u,  // no _extensions_
597
        ~0u,  // no _oneof_case_
598
        ~0u,  // no _weak_field_map_
599
        ~0u,  // no _inlined_string_donated_
600
        ~0u,  // no _split_
601
        ~0u,  // no sizeof(Split)
602
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::ArrType, _impl_.elements_),
603
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::KVPair, _impl_._has_bits_),
604
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::KVPair, _internal_metadata_),
605
        ~0u,  // no _extensions_
606
        ~0u,  // no _oneof_case_
607
        ~0u,  // no _weak_field_map_
608
        ~0u,  // no _inlined_string_donated_
609
        ~0u,  // no _split_
610
        ~0u,  // no sizeof(Split)
611
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::KVPair, _impl_.key_),
612
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::KVPair, _impl_.val_),
613
        0,
614
        1,
615
        ~0u,  // no _has_bits_
616
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::HashType, _internal_metadata_),
617
        ~0u,  // no _extensions_
618
        ~0u,  // no _oneof_case_
619
        ~0u,  // no _weak_field_map_
620
        ~0u,  // no _inlined_string_donated_
621
        ~0u,  // no _split_
622
        ~0u,  // no sizeof(Split)
623
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::HashType, _impl_.keyval_),
624
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::StringExtNoArg, _impl_._has_bits_),
625
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::StringExtNoArg, _internal_metadata_),
626
        ~0u,  // no _extensions_
627
        ~0u,  // no _oneof_case_
628
        ~0u,  // no _weak_field_map_
629
        ~0u,  // no _inlined_string_donated_
630
        ~0u,  // no _split_
631
        ~0u,  // no sizeof(Split)
632
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::StringExtNoArg, _impl_.str_op_),
633
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::StringExtNoArg, _impl_.str_arg_),
634
        1,
635
        0,
636
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathConst, _impl_._has_bits_),
637
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathConst, _internal_metadata_),
638
        ~0u,  // no _extensions_
639
        ~0u,  // no _oneof_case_
640
        ~0u,  // no _weak_field_map_
641
        ~0u,  // no _inlined_string_donated_
642
        ~0u,  // no _split_
643
        ~0u,  // no sizeof(Split)
644
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathConst, _impl_.math_const_),
645
        0,
646
        ~0u,  // no _has_bits_
647
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Const, _internal_metadata_),
648
        ~0u,  // no _extensions_
649
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Const, _impl_._oneof_case_[0]),
650
        ~0u,  // no _weak_field_map_
651
        ~0u,  // no _inlined_string_donated_
652
        ~0u,  // no _split_
653
        ~0u,  // no sizeof(Split)
654
        ::_pbi::kInvalidFieldOffsetTag,
655
        ::_pbi::kInvalidFieldOffsetTag,
656
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Const, _impl_.const_oneof_),
657
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BinaryOp, _impl_._has_bits_),
658
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BinaryOp, _internal_metadata_),
659
        ~0u,  // no _extensions_
660
        ~0u,  // no _oneof_case_
661
        ~0u,  // no _weak_field_map_
662
        ~0u,  // no _inlined_string_donated_
663
        ~0u,  // no _split_
664
        ~0u,  // no sizeof(Split)
665
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BinaryOp, _impl_.op_),
666
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BinaryOp, _impl_.left_),
667
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BinaryOp, _impl_.right_),
668
        2,
669
        0,
670
        1,
671
        ~0u,  // no _has_bits_
672
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Rvalue, _internal_metadata_),
673
        ~0u,  // no _extensions_
674
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Rvalue, _impl_._oneof_case_[0]),
675
        ~0u,  // no _weak_field_map_
676
        ~0u,  // no _inlined_string_donated_
677
        ~0u,  // no _split_
678
        ~0u,  // no sizeof(Split)
679
        ::_pbi::kInvalidFieldOffsetTag,
680
        ::_pbi::kInvalidFieldOffsetTag,
681
        ::_pbi::kInvalidFieldOffsetTag,
682
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Rvalue, _impl_.rvalue_oneof_),
683
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::AssignmentStatement, _impl_._has_bits_),
684
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::AssignmentStatement, _internal_metadata_),
685
        ~0u,  // no _extensions_
686
        ~0u,  // no _oneof_case_
687
        ~0u,  // no _weak_field_map_
688
        ~0u,  // no _inlined_string_donated_
689
        ~0u,  // no _split_
690
        ~0u,  // no sizeof(Split)
691
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::AssignmentStatement, _impl_.rvalue_),
692
        0,
693
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::IfElse, _impl_._has_bits_),
694
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::IfElse, _internal_metadata_),
695
        ~0u,  // no _extensions_
696
        ~0u,  // no _oneof_case_
697
        ~0u,  // no _weak_field_map_
698
        ~0u,  // no _inlined_string_donated_
699
        ~0u,  // no _split_
700
        ~0u,  // no sizeof(Split)
701
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::IfElse, _impl_.cond_),
702
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::IfElse, _impl_.if_body_),
703
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::IfElse, _impl_.else_body_),
704
        0,
705
        1,
706
        2,
707
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Ternary, _impl_._has_bits_),
708
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Ternary, _internal_metadata_),
709
        ~0u,  // no _extensions_
710
        ~0u,  // no _oneof_case_
711
        ~0u,  // no _weak_field_map_
712
        ~0u,  // no _inlined_string_donated_
713
        ~0u,  // no _split_
714
        ~0u,  // no sizeof(Split)
715
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Ternary, _impl_.tern_cond_),
716
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Ternary, _impl_.t_branch_),
717
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Ternary, _impl_.f_branch_),
718
        0,
719
        1,
720
        2,
721
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::ObjectSpace, _impl_._has_bits_),
722
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::ObjectSpace, _internal_metadata_),
723
        ~0u,  // no _extensions_
724
        ~0u,  // no _oneof_case_
725
        ~0u,  // no _weak_field_map_
726
        ~0u,  // no _inlined_string_donated_
727
        ~0u,  // no _split_
728
        ~0u,  // no sizeof(Split)
729
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::ObjectSpace, _impl_.os_func_),
730
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::ObjectSpace, _impl_.os_arg_),
731
        1,
732
        0,
733
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Time, _impl_._has_bits_),
734
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Time, _internal_metadata_),
735
        ~0u,  // no _extensions_
736
        ~0u,  // no _oneof_case_
737
        ~0u,  // no _weak_field_map_
738
        ~0u,  // no _inlined_string_donated_
739
        ~0u,  // no _split_
740
        ~0u,  // no sizeof(Split)
741
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Time, _impl_.t_func_),
742
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Time, _impl_.t_arg_),
743
        1,
744
        0,
745
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Array, _impl_._has_bits_),
746
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Array, _internal_metadata_),
747
        ~0u,  // no _extensions_
748
        ~0u,  // no _oneof_case_
749
        ~0u,  // no _weak_field_map_
750
        ~0u,  // no _inlined_string_donated_
751
        ~0u,  // no _split_
752
        ~0u,  // no sizeof(Split)
753
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Array, _impl_.arr_func_),
754
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Array, _impl_.arr_arg_),
755
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Array, _impl_.val_arg_),
756
        2,
757
        0,
758
        1,
759
        ~0u,  // no _has_bits_
760
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathType, _internal_metadata_),
761
        ~0u,  // no _extensions_
762
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathType, _impl_._oneof_case_[0]),
763
        ~0u,  // no _weak_field_map_
764
        ~0u,  // no _inlined_string_donated_
765
        ~0u,  // no _split_
766
        ~0u,  // no sizeof(Split)
767
        ::_pbi::kInvalidFieldOffsetTag,
768
        ::_pbi::kInvalidFieldOffsetTag,
769
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathType, _impl_.math_arg_oneof_),
770
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathOps, _impl_._has_bits_),
771
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathOps, _internal_metadata_),
772
        ~0u,  // no _extensions_
773
        ~0u,  // no _oneof_case_
774
        ~0u,  // no _weak_field_map_
775
        ~0u,  // no _inlined_string_donated_
776
        ~0u,  // no _split_
777
        ~0u,  // no sizeof(Split)
778
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathOps, _impl_.math_op_),
779
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathOps, _impl_.math_arg_),
780
        1,
781
        0,
782
        ~0u,  // no _has_bits_
783
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BuiltinFuncs, _internal_metadata_),
784
        ~0u,  // no _extensions_
785
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BuiltinFuncs, _impl_._oneof_case_[0]),
786
        ~0u,  // no _weak_field_map_
787
        ~0u,  // no _inlined_string_donated_
788
        ~0u,  // no _split_
789
        ~0u,  // no sizeof(Split)
790
        ::_pbi::kInvalidFieldOffsetTag,
791
        ::_pbi::kInvalidFieldOffsetTag,
792
        ::_pbi::kInvalidFieldOffsetTag,
793
        ::_pbi::kInvalidFieldOffsetTag,
794
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BuiltinFuncs, _impl_.bifunc_oneof_),
795
        ~0u,  // no _has_bits_
796
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Statement, _internal_metadata_),
797
        ~0u,  // no _extensions_
798
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Statement, _impl_._oneof_case_[0]),
799
        ~0u,  // no _weak_field_map_
800
        ~0u,  // no _inlined_string_donated_
801
        ~0u,  // no _split_
802
        ~0u,  // no sizeof(Split)
803
        ::_pbi::kInvalidFieldOffsetTag,
804
        ::_pbi::kInvalidFieldOffsetTag,
805
        ::_pbi::kInvalidFieldOffsetTag,
806
        ::_pbi::kInvalidFieldOffsetTag,
807
        ::_pbi::kInvalidFieldOffsetTag,
808
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Statement, _impl_.stmt_oneof_),
809
        ~0u,  // no _has_bits_
810
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::StatementSeq, _internal_metadata_),
811
        ~0u,  // no _extensions_
812
        ~0u,  // no _oneof_case_
813
        ~0u,  // no _weak_field_map_
814
        ~0u,  // no _inlined_string_donated_
815
        ~0u,  // no _split_
816
        ~0u,  // no sizeof(Split)
817
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::StatementSeq, _impl_.statements_),
818
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Function, _impl_._has_bits_),
819
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Function, _internal_metadata_),
820
        ~0u,  // no _extensions_
821
        ~0u,  // no _oneof_case_
822
        ~0u,  // no _weak_field_map_
823
        ~0u,  // no _inlined_string_donated_
824
        ~0u,  // no _split_
825
        ~0u,  // no sizeof(Split)
826
        PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Function, _impl_.statements_),
827
        0,
828
};
829
830
static const ::_pbi::MigrationSchema
831
    schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
832
        {0, 9, -1, sizeof(::ruby_fuzzer::VarRef)},
833
        {10, -1, -1, sizeof(::ruby_fuzzer::ArrType)},
834
        {19, 29, -1, sizeof(::ruby_fuzzer::KVPair)},
835
        {31, -1, -1, sizeof(::ruby_fuzzer::HashType)},
836
        {40, 50, -1, sizeof(::ruby_fuzzer::StringExtNoArg)},
837
        {52, 61, -1, sizeof(::ruby_fuzzer::MathConst)},
838
        {62, -1, -1, sizeof(::ruby_fuzzer::Const)},
839
        {73, 84, -1, sizeof(::ruby_fuzzer::BinaryOp)},
840
        {87, -1, -1, sizeof(::ruby_fuzzer::Rvalue)},
841
        {99, 108, -1, sizeof(::ruby_fuzzer::AssignmentStatement)},
842
        {109, 120, -1, sizeof(::ruby_fuzzer::IfElse)},
843
        {123, 134, -1, sizeof(::ruby_fuzzer::Ternary)},
844
        {137, 147, -1, sizeof(::ruby_fuzzer::ObjectSpace)},
845
        {149, 159, -1, sizeof(::ruby_fuzzer::Time)},
846
        {161, 172, -1, sizeof(::ruby_fuzzer::Array)},
847
        {175, -1, -1, sizeof(::ruby_fuzzer::MathType)},
848
        {186, 196, -1, sizeof(::ruby_fuzzer::MathOps)},
849
        {198, -1, -1, sizeof(::ruby_fuzzer::BuiltinFuncs)},
850
        {211, -1, -1, sizeof(::ruby_fuzzer::Statement)},
851
        {225, -1, -1, sizeof(::ruby_fuzzer::StatementSeq)},
852
        {234, 243, -1, sizeof(::ruby_fuzzer::Function)},
853
};
854
static const ::_pb::Message* const file_default_instances[] = {
855
    &::ruby_fuzzer::_VarRef_default_instance_._instance,
856
    &::ruby_fuzzer::_ArrType_default_instance_._instance,
857
    &::ruby_fuzzer::_KVPair_default_instance_._instance,
858
    &::ruby_fuzzer::_HashType_default_instance_._instance,
859
    &::ruby_fuzzer::_StringExtNoArg_default_instance_._instance,
860
    &::ruby_fuzzer::_MathConst_default_instance_._instance,
861
    &::ruby_fuzzer::_Const_default_instance_._instance,
862
    &::ruby_fuzzer::_BinaryOp_default_instance_._instance,
863
    &::ruby_fuzzer::_Rvalue_default_instance_._instance,
864
    &::ruby_fuzzer::_AssignmentStatement_default_instance_._instance,
865
    &::ruby_fuzzer::_IfElse_default_instance_._instance,
866
    &::ruby_fuzzer::_Ternary_default_instance_._instance,
867
    &::ruby_fuzzer::_ObjectSpace_default_instance_._instance,
868
    &::ruby_fuzzer::_Time_default_instance_._instance,
869
    &::ruby_fuzzer::_Array_default_instance_._instance,
870
    &::ruby_fuzzer::_MathType_default_instance_._instance,
871
    &::ruby_fuzzer::_MathOps_default_instance_._instance,
872
    &::ruby_fuzzer::_BuiltinFuncs_default_instance_._instance,
873
    &::ruby_fuzzer::_Statement_default_instance_._instance,
874
    &::ruby_fuzzer::_StatementSeq_default_instance_._instance,
875
    &::ruby_fuzzer::_Function_default_instance_._instance,
876
};
877
const char descriptor_table_protodef_ruby_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
878
    protodesc_cold) = {
879
    "\n\nruby.proto\022\013ruby_fuzzer\"\030\n\006VarRef\022\016\n\006v"
880
    "arnum\030\001 \002(\005\"/\n\007ArrType\022$\n\010elements\030\001 \003(\013"
881
    "2\022.ruby_fuzzer.Const\"\"\n\006KVPair\022\013\n\003key\030\001 "
882
    "\002(\t\022\013\n\003val\030\002 \002(\t\"/\n\010HashType\022#\n\006keyval\030\001"
883
    " \003(\0132\023.ruby_fuzzer.KVPair\"\341\001\n\016StringExtN"
884
    "oArg\0224\n\006str_op\030\001 \002(\0162$.ruby_fuzzer.Strin"
885
    "gExtNoArg.StrExtOp\022\017\n\007str_arg\030\002 \002(\t\"\207\001\n\010"
886
    "StrExtOp\022\010\n\004DUMP\020\000\022\t\n\005STRIP\020\001\022\n\n\006LSTRIP\020"
887
    "\002\022\n\n\006RSTRIP\020\003\022\n\n\006STRIPE\020\004\022\013\n\007LSTRIPE\020\005\022\013"
888
    "\n\007RSTRIPE\020\006\022\014\n\010SWAPCASE\020\007\022\r\n\tSWAPCASEE\020\010"
889
    "\022\013\n\007SQUEEZE\020\t\"c\n\tMathConst\0227\n\nmath_const"
890
    "\030\001 \002(\0162#.ruby_fuzzer.MathConst.MathConst"
891
    "Lit\"\035\n\014MathConstLit\022\006\n\002PI\020\000\022\005\n\001E\020\001\"=\n\005Co"
892
    "nst\022\021\n\007int_lit\030\001 \001(\rH\000\022\022\n\010bool_val\030\004 \001(\010"
893
    "H\000B\r\n\013const_oneof\"\375\001\n\010BinaryOp\022$\n\002op\030\001 \002"
894
    "(\0162\030.ruby_fuzzer.BinaryOp.Op\022!\n\004left\030\002 \002"
895
    "(\0132\023.ruby_fuzzer.Rvalue\022\"\n\005right\030\003 \002(\0132\023"
896
    ".ruby_fuzzer.Rvalue\"\203\001\n\002Op\022\007\n\003ADD\020\000\022\007\n\003S"
897
    "UB\020\001\022\007\n\003MUL\020\002\022\007\n\003DIV\020\003\022\007\n\003MOD\020\004\022\007\n\003XOR\020\005"
898
    "\022\007\n\003AND\020\006\022\006\n\002OR\020\007\022\006\n\002EQ\020\010\022\006\n\002NE\020\t\022\006\n\002LE\020"
899
    "\n\022\006\n\002GE\020\013\022\006\n\002LT\020\014\022\006\n\002GT\020\r\022\006\n\002RS\020\016\"\213\001\n\006Rv"
900
    "alue\022%\n\006varref\030\001 \001(\0132\023.ruby_fuzzer.VarRe"
901
    "fH\000\022\"\n\004cons\030\002 \001(\0132\022.ruby_fuzzer.ConstH\000\022"
902
    "&\n\005binop\030\003 \001(\0132\025.ruby_fuzzer.BinaryOpH\000B"
903
    "\016\n\014rvalue_oneof\":\n\023AssignmentStatement\022#"
904
    "\n\006rvalue\030\002 \002(\0132\023.ruby_fuzzer.Rvalue\"\205\001\n\006"
905
    "IfElse\022!\n\004cond\030\001 \002(\0132\023.ruby_fuzzer.Rvalu"
906
    "e\022*\n\007if_body\030\002 \002(\0132\031.ruby_fuzzer.Stateme"
907
    "ntSeq\022,\n\telse_body\030\003 \002(\0132\031.ruby_fuzzer.S"
908
    "tatementSeq\"\177\n\007Ternary\022&\n\ttern_cond\030\001 \002("
909
    "\0132\023.ruby_fuzzer.Rvalue\022%\n\010t_branch\030\002 \002(\013"
910
    "2\023.ruby_fuzzer.Rvalue\022%\n\010f_branch\030\003 \002(\0132"
911
    "\023.ruby_fuzzer.Rvalue\"\203\001\n\013ObjectSpace\0224\n\007"
912
    "os_func\030\001 \002(\0162#.ruby_fuzzer.ObjectSpace."
913
    "OS_methods\022%\n\006os_arg\030\002 \002(\0132\025.ruby_fuzzer"
914
    ".HashType\"\027\n\nOS_methods\022\t\n\005COUNT\020\001\"_\n\004Ti"
915
    "me\022+\n\006t_func\030\001 \002(\0162\033.ruby_fuzzer.Time.T_"
916
    "methods\022\r\n\005t_arg\030\002 \002(\r\"\033\n\tT_methods\022\006\n\002A"
917
    "T\020\001\022\006\n\002GM\020\002\"\367\002\n\005Array\0220\n\010arr_func\030\001 \002(\0162"
918
    "\036.ruby_fuzzer.Array.Arr_methods\022%\n\007arr_a"
919
    "rg\030\002 \002(\0132\024.ruby_fuzzer.ArrType\022$\n\007val_ar"
920
    "g\030\003 \002(\0132\023.ruby_fuzzer.Rvalue\"\356\001\n\013Arr_met"
921
    "hods\022\013\n\007FLATTEN\020\001\022\013\n\007COMPACT\020\002\022\t\n\005FETCH\020"
922
    "\003\022\010\n\004FILL\020\004\022\n\n\006ROTATE\020\005\022\014\n\010ROTATE_E\020\006\022\014\n"
923
    "\010DELETEIF\020\007\022\n\n\006INSERT\020\010\022\013\n\007BSEARCH\020\t\022\n\n\006"
924
    "KEEPIF\020\n\022\n\n\006SELECT\020\013\022\r\n\tVALUES_AT\020\014\022\t\n\005B"
925
    "LOCK\020\r\022\007\n\003DIG\020\016\022\t\n\005SLICE\020\017\022\010\n\004PERM\020\020\022\010\n\004"
926
    "COMB\020\021\022\t\n\005ASSOC\020\022\022\n\n\006RASSOC\020\023\"t\n\010MathTyp"
927
    "e\022(\n\tmath_rval\030\002 \001(\0132\023.ruby_fuzzer.Rvalu"
928
    "eH\000\022,\n\nmath_const\030\003 \001(\0132\026.ruby_fuzzer.Ma"
929
    "thConstH\000B\020\n\016math_arg_oneof\"\306\001\n\007MathOps\022"
930
    "*\n\007math_op\030\001 \002(\0162\031.ruby_fuzzer.MathOps.M"
931
    "ops\022\'\n\010math_arg\030\002 \002(\0132\025.ruby_fuzzer.Math"
932
    "Type\"f\n\004Mops\022\010\n\004CBRT\020\001\022\007\n\003COS\020\002\022\007\n\003ERF\020\003"
933
    "\022\010\n\004ERFC\020\004\022\007\n\003LOG\020\005\022\t\n\005LOG10\020\006\022\010\n\004LOG2\020\007"
934
    "\022\007\n\003SIN\020\010\022\010\n\004SQRT\020\t\022\007\n\003TAN\020\n\"\262\001\n\014Builtin"
935
    "Funcs\022&\n\002os\030\001 \001(\0132\030.ruby_fuzzer.ObjectSp"
936
    "aceH\000\022!\n\004time\030\002 \001(\0132\021.ruby_fuzzer.TimeH\000"
937
    "\022!\n\003arr\030\003 \001(\0132\022.ruby_fuzzer.ArrayH\000\022$\n\004m"
938
    "ops\030\004 \001(\0132\024.ruby_fuzzer.MathOpsH\000B\016\n\014bif"
939
    "unc_oneof\"\205\002\n\tStatement\0226\n\nassignment\030\001 "
940
    "\001(\0132 .ruby_fuzzer.AssignmentStatementH\000\022"
941
    "%\n\006ifelse\030\002 \001(\0132\023.ruby_fuzzer.IfElseH\000\022,"
942
    "\n\014ternary_stmt\030\003 \001(\0132\024.ruby_fuzzer.Terna"
943
    "ryH\000\022-\n\010builtins\030\004 \001(\0132\031.ruby_fuzzer.Bui"
944
    "ltinFuncsH\000\022.\n\tblockstmt\030\005 \001(\0132\031.ruby_fu"
945
    "zzer.StatementSeqH\000B\014\n\nstmt_oneof\":\n\014Sta"
946
    "tementSeq\022*\n\nstatements\030\001 \003(\0132\026.ruby_fuz"
947
    "zer.Statement\"9\n\010Function\022-\n\nstatements\030"
948
    "\001 \002(\0132\031.ruby_fuzzer.StatementSeq"
949
};
950
static ::absl::once_flag descriptor_table_ruby_2eproto_once;
951
PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ruby_2eproto = {
952
    false,
953
    false,
954
    2792,
955
    descriptor_table_protodef_ruby_2eproto,
956
    "ruby.proto",
957
    &descriptor_table_ruby_2eproto_once,
958
    nullptr,
959
    0,
960
    21,
961
    schemas,
962
    file_default_instances,
963
    TableStruct_ruby_2eproto::offsets,
964
    file_level_enum_descriptors_ruby_2eproto,
965
    file_level_service_descriptors_ruby_2eproto,
966
};
967
namespace ruby_fuzzer {
968
0
const ::google::protobuf::EnumDescriptor* StringExtNoArg_StrExtOp_descriptor() {
969
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
970
0
  return file_level_enum_descriptors_ruby_2eproto[0];
971
0
}
972
PROTOBUF_CONSTINIT const uint32_t StringExtNoArg_StrExtOp_internal_data_[] = {
973
    655360u, 0u, };
974
0
bool StringExtNoArg_StrExtOp_IsValid(int value) {
975
0
  return 0 <= value && value <= 9;
976
0
}
977
#if (__cplusplus < 201703) && \
978
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
979
980
constexpr StringExtNoArg_StrExtOp StringExtNoArg::DUMP;
981
constexpr StringExtNoArg_StrExtOp StringExtNoArg::STRIP;
982
constexpr StringExtNoArg_StrExtOp StringExtNoArg::LSTRIP;
983
constexpr StringExtNoArg_StrExtOp StringExtNoArg::RSTRIP;
984
constexpr StringExtNoArg_StrExtOp StringExtNoArg::STRIPE;
985
constexpr StringExtNoArg_StrExtOp StringExtNoArg::LSTRIPE;
986
constexpr StringExtNoArg_StrExtOp StringExtNoArg::RSTRIPE;
987
constexpr StringExtNoArg_StrExtOp StringExtNoArg::SWAPCASE;
988
constexpr StringExtNoArg_StrExtOp StringExtNoArg::SWAPCASEE;
989
constexpr StringExtNoArg_StrExtOp StringExtNoArg::SQUEEZE;
990
constexpr StringExtNoArg_StrExtOp StringExtNoArg::StrExtOp_MIN;
991
constexpr StringExtNoArg_StrExtOp StringExtNoArg::StrExtOp_MAX;
992
constexpr int StringExtNoArg::StrExtOp_ARRAYSIZE;
993
994
#endif  // (__cplusplus < 201703) &&
995
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
996
0
const ::google::protobuf::EnumDescriptor* MathConst_MathConstLit_descriptor() {
997
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
998
0
  return file_level_enum_descriptors_ruby_2eproto[1];
999
0
}
1000
PROTOBUF_CONSTINIT const uint32_t MathConst_MathConstLit_internal_data_[] = {
1001
    131072u, 0u, };
1002
0
bool MathConst_MathConstLit_IsValid(int value) {
1003
0
  return 0 <= value && value <= 1;
1004
0
}
1005
#if (__cplusplus < 201703) && \
1006
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1007
1008
constexpr MathConst_MathConstLit MathConst::PI;
1009
constexpr MathConst_MathConstLit MathConst::E;
1010
constexpr MathConst_MathConstLit MathConst::MathConstLit_MIN;
1011
constexpr MathConst_MathConstLit MathConst::MathConstLit_MAX;
1012
constexpr int MathConst::MathConstLit_ARRAYSIZE;
1013
1014
#endif  // (__cplusplus < 201703) &&
1015
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1016
0
const ::google::protobuf::EnumDescriptor* BinaryOp_Op_descriptor() {
1017
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
1018
0
  return file_level_enum_descriptors_ruby_2eproto[2];
1019
0
}
1020
PROTOBUF_CONSTINIT const uint32_t BinaryOp_Op_internal_data_[] = {
1021
    983040u, 0u, };
1022
0
bool BinaryOp_Op_IsValid(int value) {
1023
0
  return 0 <= value && value <= 14;
1024
0
}
1025
#if (__cplusplus < 201703) && \
1026
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1027
1028
constexpr BinaryOp_Op BinaryOp::ADD;
1029
constexpr BinaryOp_Op BinaryOp::SUB;
1030
constexpr BinaryOp_Op BinaryOp::MUL;
1031
constexpr BinaryOp_Op BinaryOp::DIV;
1032
constexpr BinaryOp_Op BinaryOp::MOD;
1033
constexpr BinaryOp_Op BinaryOp::XOR;
1034
constexpr BinaryOp_Op BinaryOp::AND;
1035
constexpr BinaryOp_Op BinaryOp::OR;
1036
constexpr BinaryOp_Op BinaryOp::EQ;
1037
constexpr BinaryOp_Op BinaryOp::NE;
1038
constexpr BinaryOp_Op BinaryOp::LE;
1039
constexpr BinaryOp_Op BinaryOp::GE;
1040
constexpr BinaryOp_Op BinaryOp::LT;
1041
constexpr BinaryOp_Op BinaryOp::GT;
1042
constexpr BinaryOp_Op BinaryOp::RS;
1043
constexpr BinaryOp_Op BinaryOp::Op_MIN;
1044
constexpr BinaryOp_Op BinaryOp::Op_MAX;
1045
constexpr int BinaryOp::Op_ARRAYSIZE;
1046
1047
#endif  // (__cplusplus < 201703) &&
1048
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1049
0
const ::google::protobuf::EnumDescriptor* ObjectSpace_OS_methods_descriptor() {
1050
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
1051
0
  return file_level_enum_descriptors_ruby_2eproto[3];
1052
0
}
1053
PROTOBUF_CONSTINIT const uint32_t ObjectSpace_OS_methods_internal_data_[] = {
1054
    65537u, 0u, };
1055
0
bool ObjectSpace_OS_methods_IsValid(int value) {
1056
0
  return 1 <= value && value <= 1;
1057
0
}
1058
#if (__cplusplus < 201703) && \
1059
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1060
1061
constexpr ObjectSpace_OS_methods ObjectSpace::COUNT;
1062
constexpr ObjectSpace_OS_methods ObjectSpace::OS_methods_MIN;
1063
constexpr ObjectSpace_OS_methods ObjectSpace::OS_methods_MAX;
1064
constexpr int ObjectSpace::OS_methods_ARRAYSIZE;
1065
1066
#endif  // (__cplusplus < 201703) &&
1067
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1068
0
const ::google::protobuf::EnumDescriptor* Time_T_methods_descriptor() {
1069
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
1070
0
  return file_level_enum_descriptors_ruby_2eproto[4];
1071
0
}
1072
PROTOBUF_CONSTINIT const uint32_t Time_T_methods_internal_data_[] = {
1073
    131073u, 0u, };
1074
0
bool Time_T_methods_IsValid(int value) {
1075
0
  return 1 <= value && value <= 2;
1076
0
}
1077
#if (__cplusplus < 201703) && \
1078
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1079
1080
constexpr Time_T_methods Time::AT;
1081
constexpr Time_T_methods Time::GM;
1082
constexpr Time_T_methods Time::T_methods_MIN;
1083
constexpr Time_T_methods Time::T_methods_MAX;
1084
constexpr int Time::T_methods_ARRAYSIZE;
1085
1086
#endif  // (__cplusplus < 201703) &&
1087
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1088
0
const ::google::protobuf::EnumDescriptor* Array_Arr_methods_descriptor() {
1089
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
1090
0
  return file_level_enum_descriptors_ruby_2eproto[5];
1091
0
}
1092
PROTOBUF_CONSTINIT const uint32_t Array_Arr_methods_internal_data_[] = {
1093
    1245185u, 0u, };
1094
0
bool Array_Arr_methods_IsValid(int value) {
1095
0
  return 1 <= value && value <= 19;
1096
0
}
1097
#if (__cplusplus < 201703) && \
1098
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1099
1100
constexpr Array_Arr_methods Array::FLATTEN;
1101
constexpr Array_Arr_methods Array::COMPACT;
1102
constexpr Array_Arr_methods Array::FETCH;
1103
constexpr Array_Arr_methods Array::FILL;
1104
constexpr Array_Arr_methods Array::ROTATE;
1105
constexpr Array_Arr_methods Array::ROTATE_E;
1106
constexpr Array_Arr_methods Array::DELETEIF;
1107
constexpr Array_Arr_methods Array::INSERT;
1108
constexpr Array_Arr_methods Array::BSEARCH;
1109
constexpr Array_Arr_methods Array::KEEPIF;
1110
constexpr Array_Arr_methods Array::SELECT;
1111
constexpr Array_Arr_methods Array::VALUES_AT;
1112
constexpr Array_Arr_methods Array::BLOCK;
1113
constexpr Array_Arr_methods Array::DIG;
1114
constexpr Array_Arr_methods Array::SLICE;
1115
constexpr Array_Arr_methods Array::PERM;
1116
constexpr Array_Arr_methods Array::COMB;
1117
constexpr Array_Arr_methods Array::ASSOC;
1118
constexpr Array_Arr_methods Array::RASSOC;
1119
constexpr Array_Arr_methods Array::Arr_methods_MIN;
1120
constexpr Array_Arr_methods Array::Arr_methods_MAX;
1121
constexpr int Array::Arr_methods_ARRAYSIZE;
1122
1123
#endif  // (__cplusplus < 201703) &&
1124
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1125
0
const ::google::protobuf::EnumDescriptor* MathOps_Mops_descriptor() {
1126
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ruby_2eproto);
1127
0
  return file_level_enum_descriptors_ruby_2eproto[6];
1128
0
}
1129
PROTOBUF_CONSTINIT const uint32_t MathOps_Mops_internal_data_[] = {
1130
    655361u, 0u, };
1131
0
bool MathOps_Mops_IsValid(int value) {
1132
0
  return 1 <= value && value <= 10;
1133
0
}
1134
#if (__cplusplus < 201703) && \
1135
  (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1136
1137
constexpr MathOps_Mops MathOps::CBRT;
1138
constexpr MathOps_Mops MathOps::COS;
1139
constexpr MathOps_Mops MathOps::ERF;
1140
constexpr MathOps_Mops MathOps::ERFC;
1141
constexpr MathOps_Mops MathOps::LOG;
1142
constexpr MathOps_Mops MathOps::LOG10;
1143
constexpr MathOps_Mops MathOps::LOG2;
1144
constexpr MathOps_Mops MathOps::SIN;
1145
constexpr MathOps_Mops MathOps::SQRT;
1146
constexpr MathOps_Mops MathOps::TAN;
1147
constexpr MathOps_Mops MathOps::Mops_MIN;
1148
constexpr MathOps_Mops MathOps::Mops_MAX;
1149
constexpr int MathOps::Mops_ARRAYSIZE;
1150
1151
#endif  // (__cplusplus < 201703) &&
1152
        // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1153
// ===================================================================
1154
1155
class VarRef::_Internal {
1156
 public:
1157
  using HasBits =
1158
      decltype(std::declval<VarRef>()._impl_._has_bits_);
1159
  static constexpr ::int32_t kHasBitsOffset =
1160
      8 * PROTOBUF_FIELD_OFFSET(VarRef, _impl_._has_bits_);
1161
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
1162
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
1163
0
  }
1164
};
1165
1166
VarRef::VarRef(::google::protobuf::Arena* arena)
1167
#if defined(PROTOBUF_CUSTOM_VTABLE)
1168
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1169
#else   // PROTOBUF_CUSTOM_VTABLE
1170
137k
    : ::google::protobuf::Message(arena) {
1171
137k
#endif  // PROTOBUF_CUSTOM_VTABLE
1172
137k
  SharedCtor(arena);
1173
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.VarRef)
1174
137k
}
1175
VarRef::VarRef(
1176
    ::google::protobuf::Arena* arena, const VarRef& from)
1177
0
    : VarRef(arena) {
1178
0
  MergeFrom(from);
1179
0
}
1180
inline PROTOBUF_NDEBUG_INLINE VarRef::Impl_::Impl_(
1181
    ::google::protobuf::internal::InternalVisibility visibility,
1182
    ::google::protobuf::Arena* arena)
1183
137k
      : _cached_size_{0} {}
1184
1185
137k
inline void VarRef::SharedCtor(::_pb::Arena* arena) {
1186
137k
  new (&_impl_) Impl_(internal_visibility(), arena);
1187
137k
  _impl_.varnum_ = {};
1188
137k
}
1189
137k
VarRef::~VarRef() {
1190
  // @@protoc_insertion_point(destructor:ruby_fuzzer.VarRef)
1191
137k
  SharedDtor(*this);
1192
137k
}
1193
137k
inline void VarRef::SharedDtor(MessageLite& self) {
1194
137k
  VarRef& this_ = static_cast<VarRef&>(self);
1195
137k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1196
137k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1197
137k
  this_._impl_.~Impl_();
1198
137k
}
1199
1200
inline void* VarRef::PlacementNew_(const void*, void* mem,
1201
137k
                                        ::google::protobuf::Arena* arena) {
1202
137k
  return ::new (mem) VarRef(arena);
1203
137k
}
1204
0
constexpr auto VarRef::InternalNewImpl_() {
1205
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(VarRef),
1206
0
                                            alignof(VarRef));
1207
0
}
1208
PROTOBUF_CONSTINIT
1209
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1210
const ::google::protobuf::internal::ClassDataFull VarRef::_class_data_ = {
1211
    ::google::protobuf::internal::ClassData{
1212
        &_VarRef_default_instance_._instance,
1213
        &_table_.header,
1214
        nullptr,  // OnDemandRegisterArenaDtor
1215
        VarRef::IsInitializedImpl,
1216
        &VarRef::MergeImpl,
1217
        ::google::protobuf::Message::GetNewImpl<VarRef>(),
1218
#if defined(PROTOBUF_CUSTOM_VTABLE)
1219
        &VarRef::SharedDtor,
1220
        ::google::protobuf::Message::GetClearImpl<VarRef>(), &VarRef::ByteSizeLong,
1221
            &VarRef::_InternalSerialize,
1222
#endif  // PROTOBUF_CUSTOM_VTABLE
1223
        PROTOBUF_FIELD_OFFSET(VarRef, _impl_._cached_size_),
1224
        false,
1225
    },
1226
    &VarRef::kDescriptorMethods,
1227
    &descriptor_table_ruby_2eproto,
1228
    nullptr,  // tracker
1229
};
1230
1.37M
const ::google::protobuf::internal::ClassData* VarRef::GetClassData() const {
1231
1.37M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1232
1.37M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1233
1.37M
  return _class_data_.base();
1234
1.37M
}
1235
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1236
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> VarRef::_table_ = {
1237
  {
1238
    PROTOBUF_FIELD_OFFSET(VarRef, _impl_._has_bits_),
1239
    0, // no _extensions_
1240
    1, 0,  // max_field_number, fast_idx_mask
1241
    offsetof(decltype(_table_), field_lookup_table),
1242
    4294967294,  // skipmap
1243
    offsetof(decltype(_table_), field_entries),
1244
    1,  // num_field_entries
1245
    0,  // num_aux_entries
1246
    offsetof(decltype(_table_), field_names),  // no aux_entries
1247
    _class_data_.base(),
1248
    nullptr,  // post_loop_handler
1249
    ::_pbi::TcParser::GenericFallback,  // fallback
1250
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1251
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::VarRef>(),  // to_prefetch
1252
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1253
  }, {{
1254
    // required int32 varnum = 1;
1255
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VarRef, _impl_.varnum_), 0>(),
1256
     {8, 0, 0, PROTOBUF_FIELD_OFFSET(VarRef, _impl_.varnum_)}},
1257
  }}, {{
1258
    65535, 65535
1259
  }}, {{
1260
    // required int32 varnum = 1;
1261
    {PROTOBUF_FIELD_OFFSET(VarRef, _impl_.varnum_), _Internal::kHasBitsOffset + 0, 0,
1262
    (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1263
  }},
1264
  // no aux_entries
1265
  {{
1266
  }},
1267
};
1268
1269
0
PROTOBUF_NOINLINE void VarRef::Clear() {
1270
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.VarRef)
1271
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1272
0
  ::uint32_t cached_has_bits = 0;
1273
  // Prevent compiler warnings about cached_has_bits being unused
1274
0
  (void) cached_has_bits;
1275
1276
0
  _impl_.varnum_ = 0;
1277
0
  _impl_._has_bits_.Clear();
1278
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1279
0
}
1280
1281
#if defined(PROTOBUF_CUSTOM_VTABLE)
1282
        ::uint8_t* VarRef::_InternalSerialize(
1283
            const MessageLite& base, ::uint8_t* target,
1284
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1285
          const VarRef& this_ = static_cast<const VarRef&>(base);
1286
#else   // PROTOBUF_CUSTOM_VTABLE
1287
        ::uint8_t* VarRef::_InternalSerialize(
1288
            ::uint8_t* target,
1289
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1290
0
          const VarRef& this_ = *this;
1291
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1292
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.VarRef)
1293
0
          ::uint32_t cached_has_bits = 0;
1294
0
          (void)cached_has_bits;
1295
1296
0
          cached_has_bits = this_._impl_._has_bits_[0];
1297
          // required int32 varnum = 1;
1298
0
          if (cached_has_bits & 0x00000001u) {
1299
0
            target = ::google::protobuf::internal::WireFormatLite::
1300
0
                WriteInt32ToArrayWithField<1>(
1301
0
                    stream, this_._internal_varnum(), target);
1302
0
          }
1303
1304
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1305
0
            target =
1306
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1307
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1308
0
          }
1309
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.VarRef)
1310
0
          return target;
1311
0
        }
1312
1313
#if defined(PROTOBUF_CUSTOM_VTABLE)
1314
        ::size_t VarRef::ByteSizeLong(const MessageLite& base) {
1315
          const VarRef& this_ = static_cast<const VarRef&>(base);
1316
#else   // PROTOBUF_CUSTOM_VTABLE
1317
0
        ::size_t VarRef::ByteSizeLong() const {
1318
0
          const VarRef& this_ = *this;
1319
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1320
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.VarRef)
1321
0
          ::size_t total_size = 0;
1322
1323
0
          ::uint32_t cached_has_bits = 0;
1324
          // Prevent compiler warnings about cached_has_bits being unused
1325
0
          (void)cached_has_bits;
1326
1327
0
           {
1328
            // required int32 varnum = 1;
1329
0
            cached_has_bits = this_._impl_._has_bits_[0];
1330
0
            if (cached_has_bits & 0x00000001u) {
1331
0
              total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1332
0
                  this_._internal_varnum());
1333
0
            }
1334
0
          }
1335
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1336
0
                                                     &this_._impl_._cached_size_);
1337
0
        }
1338
1339
0
void VarRef::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1340
0
  auto* const _this = static_cast<VarRef*>(&to_msg);
1341
0
  auto& from = static_cast<const VarRef&>(from_msg);
1342
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.VarRef)
1343
0
  ABSL_DCHECK_NE(&from, _this);
1344
0
  ::uint32_t cached_has_bits = 0;
1345
0
  (void) cached_has_bits;
1346
1347
0
  cached_has_bits = from._impl_._has_bits_[0];
1348
0
  if (cached_has_bits & 0x00000001u) {
1349
0
    _this->_impl_.varnum_ = from._impl_.varnum_;
1350
0
  }
1351
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
1352
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1353
0
}
1354
1355
0
void VarRef::CopyFrom(const VarRef& from) {
1356
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.VarRef)
1357
0
  if (&from == this) return;
1358
0
  Clear();
1359
0
  MergeFrom(from);
1360
0
}
1361
1362
PROTOBUF_NOINLINE bool VarRef::IsInitializedImpl(
1363
0
    const MessageLite& msg) {
1364
0
  auto& this_ = static_cast<const VarRef&>(msg);
1365
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
1366
0
    return false;
1367
0
  }
1368
0
  return true;
1369
0
}
1370
1371
0
void VarRef::InternalSwap(VarRef* PROTOBUF_RESTRICT other) {
1372
0
  using std::swap;
1373
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1374
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1375
0
        swap(_impl_.varnum_, other->_impl_.varnum_);
1376
0
}
1377
1378
0
::google::protobuf::Metadata VarRef::GetMetadata() const {
1379
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1380
0
}
1381
// ===================================================================
1382
1383
class ArrType::_Internal {
1384
 public:
1385
};
1386
1387
ArrType::ArrType(::google::protobuf::Arena* arena)
1388
#if defined(PROTOBUF_CUSTOM_VTABLE)
1389
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1390
#else   // PROTOBUF_CUSTOM_VTABLE
1391
68.4k
    : ::google::protobuf::Message(arena) {
1392
68.4k
#endif  // PROTOBUF_CUSTOM_VTABLE
1393
68.4k
  SharedCtor(arena);
1394
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.ArrType)
1395
68.4k
}
1396
inline PROTOBUF_NDEBUG_INLINE ArrType::Impl_::Impl_(
1397
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1398
    const Impl_& from, const ::ruby_fuzzer::ArrType& from_msg)
1399
0
      : elements_{visibility, arena, from.elements_},
1400
0
        _cached_size_{0} {}
1401
1402
ArrType::ArrType(
1403
    ::google::protobuf::Arena* arena,
1404
    const ArrType& from)
1405
#if defined(PROTOBUF_CUSTOM_VTABLE)
1406
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1407
#else   // PROTOBUF_CUSTOM_VTABLE
1408
0
    : ::google::protobuf::Message(arena) {
1409
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1410
0
  ArrType* const _this = this;
1411
0
  (void)_this;
1412
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1413
0
      from._internal_metadata_);
1414
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1415
1416
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.ArrType)
1417
0
}
1418
inline PROTOBUF_NDEBUG_INLINE ArrType::Impl_::Impl_(
1419
    ::google::protobuf::internal::InternalVisibility visibility,
1420
    ::google::protobuf::Arena* arena)
1421
68.4k
      : elements_{visibility, arena},
1422
68.4k
        _cached_size_{0} {}
1423
1424
68.4k
inline void ArrType::SharedCtor(::_pb::Arena* arena) {
1425
68.4k
  new (&_impl_) Impl_(internal_visibility(), arena);
1426
68.4k
}
1427
68.4k
ArrType::~ArrType() {
1428
  // @@protoc_insertion_point(destructor:ruby_fuzzer.ArrType)
1429
68.4k
  SharedDtor(*this);
1430
68.4k
}
1431
68.4k
inline void ArrType::SharedDtor(MessageLite& self) {
1432
68.4k
  ArrType& this_ = static_cast<ArrType&>(self);
1433
68.4k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1434
68.4k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1435
68.4k
  this_._impl_.~Impl_();
1436
68.4k
}
1437
1438
inline void* ArrType::PlacementNew_(const void*, void* mem,
1439
68.4k
                                        ::google::protobuf::Arena* arena) {
1440
68.4k
  return ::new (mem) ArrType(arena);
1441
68.4k
}
1442
0
constexpr auto ArrType::InternalNewImpl_() {
1443
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1444
0
      PROTOBUF_FIELD_OFFSET(ArrType, _impl_.elements_) +
1445
0
          decltype(ArrType::_impl_.elements_)::
1446
0
              InternalGetArenaOffset(
1447
0
                  ::google::protobuf::Message::internal_visibility()),
1448
0
  });
1449
0
  if (arena_bits.has_value()) {
1450
0
    return ::google::protobuf::internal::MessageCreator::ZeroInit(
1451
0
        sizeof(ArrType), alignof(ArrType), *arena_bits);
1452
0
  } else {
1453
0
    return ::google::protobuf::internal::MessageCreator(&ArrType::PlacementNew_,
1454
0
                                 sizeof(ArrType),
1455
0
                                 alignof(ArrType));
1456
0
  }
1457
0
}
1458
PROTOBUF_CONSTINIT
1459
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1460
const ::google::protobuf::internal::ClassDataFull ArrType::_class_data_ = {
1461
    ::google::protobuf::internal::ClassData{
1462
        &_ArrType_default_instance_._instance,
1463
        &_table_.header,
1464
        nullptr,  // OnDemandRegisterArenaDtor
1465
        nullptr,  // IsInitialized
1466
        &ArrType::MergeImpl,
1467
        ::google::protobuf::Message::GetNewImpl<ArrType>(),
1468
#if defined(PROTOBUF_CUSTOM_VTABLE)
1469
        &ArrType::SharedDtor,
1470
        ::google::protobuf::Message::GetClearImpl<ArrType>(), &ArrType::ByteSizeLong,
1471
            &ArrType::_InternalSerialize,
1472
#endif  // PROTOBUF_CUSTOM_VTABLE
1473
        PROTOBUF_FIELD_OFFSET(ArrType, _impl_._cached_size_),
1474
        false,
1475
    },
1476
    &ArrType::kDescriptorMethods,
1477
    &descriptor_table_ruby_2eproto,
1478
    nullptr,  // tracker
1479
};
1480
1.91M
const ::google::protobuf::internal::ClassData* ArrType::GetClassData() const {
1481
1.91M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1482
1.91M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1483
1.91M
  return _class_data_.base();
1484
1.91M
}
1485
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1486
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ArrType::_table_ = {
1487
  {
1488
    0,  // no _has_bits_
1489
    0, // no _extensions_
1490
    1, 0,  // max_field_number, fast_idx_mask
1491
    offsetof(decltype(_table_), field_lookup_table),
1492
    4294967294,  // skipmap
1493
    offsetof(decltype(_table_), field_entries),
1494
    1,  // num_field_entries
1495
    1,  // num_aux_entries
1496
    offsetof(decltype(_table_), aux_entries),
1497
    _class_data_.base(),
1498
    nullptr,  // post_loop_handler
1499
    ::_pbi::TcParser::GenericFallback,  // fallback
1500
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1501
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::ArrType>(),  // to_prefetch
1502
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1503
  }, {{
1504
    // repeated .ruby_fuzzer.Const elements = 1;
1505
    {::_pbi::TcParser::FastMtR1,
1506
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(ArrType, _impl_.elements_)}},
1507
  }}, {{
1508
    65535, 65535
1509
  }}, {{
1510
    // repeated .ruby_fuzzer.Const elements = 1;
1511
    {PROTOBUF_FIELD_OFFSET(ArrType, _impl_.elements_), 0, 0,
1512
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1513
  }}, {{
1514
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Const>()},
1515
  }}, {{
1516
  }},
1517
};
1518
1519
350
PROTOBUF_NOINLINE void ArrType::Clear() {
1520
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.ArrType)
1521
350
  ::google::protobuf::internal::TSanWrite(&_impl_);
1522
350
  ::uint32_t cached_has_bits = 0;
1523
  // Prevent compiler warnings about cached_has_bits being unused
1524
350
  (void) cached_has_bits;
1525
1526
350
  _impl_.elements_.Clear();
1527
350
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1528
350
}
1529
1530
#if defined(PROTOBUF_CUSTOM_VTABLE)
1531
        ::uint8_t* ArrType::_InternalSerialize(
1532
            const MessageLite& base, ::uint8_t* target,
1533
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1534
          const ArrType& this_ = static_cast<const ArrType&>(base);
1535
#else   // PROTOBUF_CUSTOM_VTABLE
1536
        ::uint8_t* ArrType::_InternalSerialize(
1537
            ::uint8_t* target,
1538
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1539
0
          const ArrType& this_ = *this;
1540
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1541
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.ArrType)
1542
0
          ::uint32_t cached_has_bits = 0;
1543
0
          (void)cached_has_bits;
1544
1545
          // repeated .ruby_fuzzer.Const elements = 1;
1546
0
          for (unsigned i = 0, n = static_cast<unsigned>(
1547
0
                                   this_._internal_elements_size());
1548
0
               i < n; i++) {
1549
0
            const auto& repfield = this_._internal_elements().Get(i);
1550
0
            target =
1551
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1552
0
                    1, repfield, repfield.GetCachedSize(),
1553
0
                    target, stream);
1554
0
          }
1555
1556
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1557
0
            target =
1558
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1559
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1560
0
          }
1561
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.ArrType)
1562
0
          return target;
1563
0
        }
1564
1565
#if defined(PROTOBUF_CUSTOM_VTABLE)
1566
        ::size_t ArrType::ByteSizeLong(const MessageLite& base) {
1567
          const ArrType& this_ = static_cast<const ArrType&>(base);
1568
#else   // PROTOBUF_CUSTOM_VTABLE
1569
0
        ::size_t ArrType::ByteSizeLong() const {
1570
0
          const ArrType& this_ = *this;
1571
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1572
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.ArrType)
1573
0
          ::size_t total_size = 0;
1574
1575
0
          ::uint32_t cached_has_bits = 0;
1576
          // Prevent compiler warnings about cached_has_bits being unused
1577
0
          (void)cached_has_bits;
1578
1579
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1580
0
           {
1581
            // repeated .ruby_fuzzer.Const elements = 1;
1582
0
            {
1583
0
              total_size += 1UL * this_._internal_elements_size();
1584
0
              for (const auto& msg : this_._internal_elements()) {
1585
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1586
0
              }
1587
0
            }
1588
0
          }
1589
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1590
0
                                                     &this_._impl_._cached_size_);
1591
0
        }
1592
1593
175
void ArrType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1594
175
  auto* const _this = static_cast<ArrType*>(&to_msg);
1595
175
  auto& from = static_cast<const ArrType&>(from_msg);
1596
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.ArrType)
1597
175
  ABSL_DCHECK_NE(&from, _this);
1598
175
  ::uint32_t cached_has_bits = 0;
1599
175
  (void) cached_has_bits;
1600
1601
175
  _this->_internal_mutable_elements()->MergeFrom(
1602
175
      from._internal_elements());
1603
175
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1604
175
}
1605
1606
0
void ArrType::CopyFrom(const ArrType& from) {
1607
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.ArrType)
1608
0
  if (&from == this) return;
1609
0
  Clear();
1610
0
  MergeFrom(from);
1611
0
}
1612
1613
1614
0
void ArrType::InternalSwap(ArrType* PROTOBUF_RESTRICT other) {
1615
0
  using std::swap;
1616
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1617
0
  _impl_.elements_.InternalSwap(&other->_impl_.elements_);
1618
0
}
1619
1620
0
::google::protobuf::Metadata ArrType::GetMetadata() const {
1621
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1622
0
}
1623
// ===================================================================
1624
1625
class KVPair::_Internal {
1626
 public:
1627
  using HasBits =
1628
      decltype(std::declval<KVPair>()._impl_._has_bits_);
1629
  static constexpr ::int32_t kHasBitsOffset =
1630
      8 * PROTOBUF_FIELD_OFFSET(KVPair, _impl_._has_bits_);
1631
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
1632
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
1633
0
  }
1634
};
1635
1636
KVPair::KVPair(::google::protobuf::Arena* arena)
1637
#if defined(PROTOBUF_CUSTOM_VTABLE)
1638
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1639
#else   // PROTOBUF_CUSTOM_VTABLE
1640
314k
    : ::google::protobuf::Message(arena) {
1641
314k
#endif  // PROTOBUF_CUSTOM_VTABLE
1642
314k
  SharedCtor(arena);
1643
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.KVPair)
1644
314k
}
1645
inline PROTOBUF_NDEBUG_INLINE KVPair::Impl_::Impl_(
1646
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1647
    const Impl_& from, const ::ruby_fuzzer::KVPair& from_msg)
1648
0
      : _has_bits_{from._has_bits_},
1649
0
        _cached_size_{0},
1650
0
        key_(arena, from.key_),
1651
0
        val_(arena, from.val_) {}
1652
1653
KVPair::KVPair(
1654
    ::google::protobuf::Arena* arena,
1655
    const KVPair& from)
1656
#if defined(PROTOBUF_CUSTOM_VTABLE)
1657
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1658
#else   // PROTOBUF_CUSTOM_VTABLE
1659
0
    : ::google::protobuf::Message(arena) {
1660
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1661
0
  KVPair* const _this = this;
1662
0
  (void)_this;
1663
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1664
0
      from._internal_metadata_);
1665
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1666
1667
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.KVPair)
1668
0
}
1669
inline PROTOBUF_NDEBUG_INLINE KVPair::Impl_::Impl_(
1670
    ::google::protobuf::internal::InternalVisibility visibility,
1671
    ::google::protobuf::Arena* arena)
1672
314k
      : _cached_size_{0},
1673
314k
        key_(arena),
1674
314k
        val_(arena) {}
1675
1676
314k
inline void KVPair::SharedCtor(::_pb::Arena* arena) {
1677
314k
  new (&_impl_) Impl_(internal_visibility(), arena);
1678
314k
}
1679
314k
KVPair::~KVPair() {
1680
  // @@protoc_insertion_point(destructor:ruby_fuzzer.KVPair)
1681
314k
  SharedDtor(*this);
1682
314k
}
1683
314k
inline void KVPair::SharedDtor(MessageLite& self) {
1684
314k
  KVPair& this_ = static_cast<KVPair&>(self);
1685
314k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1686
314k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1687
314k
  this_._impl_.key_.Destroy();
1688
314k
  this_._impl_.val_.Destroy();
1689
314k
  this_._impl_.~Impl_();
1690
314k
}
1691
1692
inline void* KVPair::PlacementNew_(const void*, void* mem,
1693
314k
                                        ::google::protobuf::Arena* arena) {
1694
314k
  return ::new (mem) KVPair(arena);
1695
314k
}
1696
0
constexpr auto KVPair::InternalNewImpl_() {
1697
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(KVPair),
1698
0
                                            alignof(KVPair));
1699
0
}
1700
PROTOBUF_CONSTINIT
1701
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1702
const ::google::protobuf::internal::ClassDataFull KVPair::_class_data_ = {
1703
    ::google::protobuf::internal::ClassData{
1704
        &_KVPair_default_instance_._instance,
1705
        &_table_.header,
1706
        nullptr,  // OnDemandRegisterArenaDtor
1707
        KVPair::IsInitializedImpl,
1708
        &KVPair::MergeImpl,
1709
        ::google::protobuf::Message::GetNewImpl<KVPair>(),
1710
#if defined(PROTOBUF_CUSTOM_VTABLE)
1711
        &KVPair::SharedDtor,
1712
        ::google::protobuf::Message::GetClearImpl<KVPair>(), &KVPair::ByteSizeLong,
1713
            &KVPair::_InternalSerialize,
1714
#endif  // PROTOBUF_CUSTOM_VTABLE
1715
        PROTOBUF_FIELD_OFFSET(KVPair, _impl_._cached_size_),
1716
        false,
1717
    },
1718
    &KVPair::kDescriptorMethods,
1719
    &descriptor_table_ruby_2eproto,
1720
    nullptr,  // tracker
1721
};
1722
3.61M
const ::google::protobuf::internal::ClassData* KVPair::GetClassData() const {
1723
3.61M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1724
3.61M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1725
3.61M
  return _class_data_.base();
1726
3.61M
}
1727
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1728
const ::_pbi::TcParseTable<1, 2, 0, 33, 2> KVPair::_table_ = {
1729
  {
1730
    PROTOBUF_FIELD_OFFSET(KVPair, _impl_._has_bits_),
1731
    0, // no _extensions_
1732
    2, 8,  // max_field_number, fast_idx_mask
1733
    offsetof(decltype(_table_), field_lookup_table),
1734
    4294967292,  // skipmap
1735
    offsetof(decltype(_table_), field_entries),
1736
    2,  // num_field_entries
1737
    0,  // num_aux_entries
1738
    offsetof(decltype(_table_), field_names),  // no aux_entries
1739
    _class_data_.base(),
1740
    nullptr,  // post_loop_handler
1741
    ::_pbi::TcParser::GenericFallback,  // fallback
1742
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1743
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::KVPair>(),  // to_prefetch
1744
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1745
  }, {{
1746
    // required string val = 2;
1747
    {::_pbi::TcParser::FastSS1,
1748
     {18, 1, 0, PROTOBUF_FIELD_OFFSET(KVPair, _impl_.val_)}},
1749
    // required string key = 1;
1750
    {::_pbi::TcParser::FastSS1,
1751
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(KVPair, _impl_.key_)}},
1752
  }}, {{
1753
    65535, 65535
1754
  }}, {{
1755
    // required string key = 1;
1756
    {PROTOBUF_FIELD_OFFSET(KVPair, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
1757
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1758
    // required string val = 2;
1759
    {PROTOBUF_FIELD_OFFSET(KVPair, _impl_.val_), _Internal::kHasBitsOffset + 1, 0,
1760
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1761
  }},
1762
  // no aux_entries
1763
  {{
1764
    "\22\3\3\0\0\0\0\0"
1765
    "ruby_fuzzer.KVPair"
1766
    "key"
1767
    "val"
1768
  }},
1769
};
1770
1771
0
PROTOBUF_NOINLINE void KVPair::Clear() {
1772
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.KVPair)
1773
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1774
0
  ::uint32_t cached_has_bits = 0;
1775
  // Prevent compiler warnings about cached_has_bits being unused
1776
0
  (void) cached_has_bits;
1777
1778
0
  cached_has_bits = _impl_._has_bits_[0];
1779
0
  if (cached_has_bits & 0x00000003u) {
1780
0
    if (cached_has_bits & 0x00000001u) {
1781
0
      _impl_.key_.ClearNonDefaultToEmpty();
1782
0
    }
1783
0
    if (cached_has_bits & 0x00000002u) {
1784
0
      _impl_.val_.ClearNonDefaultToEmpty();
1785
0
    }
1786
0
  }
1787
0
  _impl_._has_bits_.Clear();
1788
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1789
0
}
1790
1791
#if defined(PROTOBUF_CUSTOM_VTABLE)
1792
        ::uint8_t* KVPair::_InternalSerialize(
1793
            const MessageLite& base, ::uint8_t* target,
1794
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1795
          const KVPair& this_ = static_cast<const KVPair&>(base);
1796
#else   // PROTOBUF_CUSTOM_VTABLE
1797
        ::uint8_t* KVPair::_InternalSerialize(
1798
            ::uint8_t* target,
1799
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1800
0
          const KVPair& this_ = *this;
1801
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1802
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.KVPair)
1803
0
          ::uint32_t cached_has_bits = 0;
1804
0
          (void)cached_has_bits;
1805
1806
0
          cached_has_bits = this_._impl_._has_bits_[0];
1807
          // required string key = 1;
1808
0
          if (cached_has_bits & 0x00000001u) {
1809
0
            const std::string& _s = this_._internal_key();
1810
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1811
0
                                        "ruby_fuzzer.KVPair.key");
1812
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
1813
0
          }
1814
1815
          // required string val = 2;
1816
0
          if (cached_has_bits & 0x00000002u) {
1817
0
            const std::string& _s = this_._internal_val();
1818
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1819
0
                                        "ruby_fuzzer.KVPair.val");
1820
0
            target = stream->WriteStringMaybeAliased(2, _s, target);
1821
0
          }
1822
1823
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1824
0
            target =
1825
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1826
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1827
0
          }
1828
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.KVPair)
1829
0
          return target;
1830
0
        }
1831
1832
#if defined(PROTOBUF_CUSTOM_VTABLE)
1833
        ::size_t KVPair::ByteSizeLong(const MessageLite& base) {
1834
          const KVPair& this_ = static_cast<const KVPair&>(base);
1835
#else   // PROTOBUF_CUSTOM_VTABLE
1836
0
        ::size_t KVPair::ByteSizeLong() const {
1837
0
          const KVPair& this_ = *this;
1838
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1839
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.KVPair)
1840
0
          ::size_t total_size = 0;
1841
1842
0
          ::uint32_t cached_has_bits = 0;
1843
          // Prevent compiler warnings about cached_has_bits being unused
1844
0
          (void)cached_has_bits;
1845
1846
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1847
0
          cached_has_bits = this_._impl_._has_bits_[0];
1848
0
          if (cached_has_bits & 0x00000003u) {
1849
            // required string key = 1;
1850
0
            if (cached_has_bits & 0x00000001u) {
1851
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1852
0
                                              this_._internal_key());
1853
0
            }
1854
            // required string val = 2;
1855
0
            if (cached_has_bits & 0x00000002u) {
1856
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1857
0
                                              this_._internal_val());
1858
0
            }
1859
0
          }
1860
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1861
0
                                                     &this_._impl_._cached_size_);
1862
0
        }
1863
1864
0
void KVPair::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1865
0
  auto* const _this = static_cast<KVPair*>(&to_msg);
1866
0
  auto& from = static_cast<const KVPair&>(from_msg);
1867
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.KVPair)
1868
0
  ABSL_DCHECK_NE(&from, _this);
1869
0
  ::uint32_t cached_has_bits = 0;
1870
0
  (void) cached_has_bits;
1871
1872
0
  cached_has_bits = from._impl_._has_bits_[0];
1873
0
  if (cached_has_bits & 0x00000003u) {
1874
0
    if (cached_has_bits & 0x00000001u) {
1875
0
      _this->_internal_set_key(from._internal_key());
1876
0
    }
1877
0
    if (cached_has_bits & 0x00000002u) {
1878
0
      _this->_internal_set_val(from._internal_val());
1879
0
    }
1880
0
  }
1881
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
1882
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1883
0
}
1884
1885
0
void KVPair::CopyFrom(const KVPair& from) {
1886
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.KVPair)
1887
0
  if (&from == this) return;
1888
0
  Clear();
1889
0
  MergeFrom(from);
1890
0
}
1891
1892
PROTOBUF_NOINLINE bool KVPair::IsInitializedImpl(
1893
0
    const MessageLite& msg) {
1894
0
  auto& this_ = static_cast<const KVPair&>(msg);
1895
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
1896
0
    return false;
1897
0
  }
1898
0
  return true;
1899
0
}
1900
1901
0
void KVPair::InternalSwap(KVPair* PROTOBUF_RESTRICT other) {
1902
0
  using std::swap;
1903
0
  auto* arena = GetArena();
1904
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
1905
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1906
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1907
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.key_, &other->_impl_.key_, arena);
1908
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.val_, &other->_impl_.val_, arena);
1909
0
}
1910
1911
0
::google::protobuf::Metadata KVPair::GetMetadata() const {
1912
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1913
0
}
1914
// ===================================================================
1915
1916
class HashType::_Internal {
1917
 public:
1918
};
1919
1920
HashType::HashType(::google::protobuf::Arena* arena)
1921
#if defined(PROTOBUF_CUSTOM_VTABLE)
1922
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1923
#else   // PROTOBUF_CUSTOM_VTABLE
1924
23.4k
    : ::google::protobuf::Message(arena) {
1925
23.4k
#endif  // PROTOBUF_CUSTOM_VTABLE
1926
23.4k
  SharedCtor(arena);
1927
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.HashType)
1928
23.4k
}
1929
inline PROTOBUF_NDEBUG_INLINE HashType::Impl_::Impl_(
1930
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1931
    const Impl_& from, const ::ruby_fuzzer::HashType& from_msg)
1932
0
      : keyval_{visibility, arena, from.keyval_},
1933
0
        _cached_size_{0} {}
1934
1935
HashType::HashType(
1936
    ::google::protobuf::Arena* arena,
1937
    const HashType& from)
1938
#if defined(PROTOBUF_CUSTOM_VTABLE)
1939
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1940
#else   // PROTOBUF_CUSTOM_VTABLE
1941
0
    : ::google::protobuf::Message(arena) {
1942
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1943
0
  HashType* const _this = this;
1944
0
  (void)_this;
1945
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1946
0
      from._internal_metadata_);
1947
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1948
1949
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.HashType)
1950
0
}
1951
inline PROTOBUF_NDEBUG_INLINE HashType::Impl_::Impl_(
1952
    ::google::protobuf::internal::InternalVisibility visibility,
1953
    ::google::protobuf::Arena* arena)
1954
23.4k
      : keyval_{visibility, arena},
1955
23.4k
        _cached_size_{0} {}
1956
1957
23.4k
inline void HashType::SharedCtor(::_pb::Arena* arena) {
1958
23.4k
  new (&_impl_) Impl_(internal_visibility(), arena);
1959
23.4k
}
1960
23.4k
HashType::~HashType() {
1961
  // @@protoc_insertion_point(destructor:ruby_fuzzer.HashType)
1962
23.4k
  SharedDtor(*this);
1963
23.4k
}
1964
23.4k
inline void HashType::SharedDtor(MessageLite& self) {
1965
23.4k
  HashType& this_ = static_cast<HashType&>(self);
1966
23.4k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1967
23.4k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1968
23.4k
  this_._impl_.~Impl_();
1969
23.4k
}
1970
1971
inline void* HashType::PlacementNew_(const void*, void* mem,
1972
23.4k
                                        ::google::protobuf::Arena* arena) {
1973
23.4k
  return ::new (mem) HashType(arena);
1974
23.4k
}
1975
0
constexpr auto HashType::InternalNewImpl_() {
1976
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1977
0
      PROTOBUF_FIELD_OFFSET(HashType, _impl_.keyval_) +
1978
0
          decltype(HashType::_impl_.keyval_)::
1979
0
              InternalGetArenaOffset(
1980
0
                  ::google::protobuf::Message::internal_visibility()),
1981
0
  });
1982
0
  if (arena_bits.has_value()) {
1983
0
    return ::google::protobuf::internal::MessageCreator::ZeroInit(
1984
0
        sizeof(HashType), alignof(HashType), *arena_bits);
1985
0
  } else {
1986
0
    return ::google::protobuf::internal::MessageCreator(&HashType::PlacementNew_,
1987
0
                                 sizeof(HashType),
1988
0
                                 alignof(HashType));
1989
0
  }
1990
0
}
1991
PROTOBUF_CONSTINIT
1992
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1993
const ::google::protobuf::internal::ClassDataFull HashType::_class_data_ = {
1994
    ::google::protobuf::internal::ClassData{
1995
        &_HashType_default_instance_._instance,
1996
        &_table_.header,
1997
        nullptr,  // OnDemandRegisterArenaDtor
1998
        HashType::IsInitializedImpl,
1999
        &HashType::MergeImpl,
2000
        ::google::protobuf::Message::GetNewImpl<HashType>(),
2001
#if defined(PROTOBUF_CUSTOM_VTABLE)
2002
        &HashType::SharedDtor,
2003
        ::google::protobuf::Message::GetClearImpl<HashType>(), &HashType::ByteSizeLong,
2004
            &HashType::_InternalSerialize,
2005
#endif  // PROTOBUF_CUSTOM_VTABLE
2006
        PROTOBUF_FIELD_OFFSET(HashType, _impl_._cached_size_),
2007
        false,
2008
    },
2009
    &HashType::kDescriptorMethods,
2010
    &descriptor_table_ruby_2eproto,
2011
    nullptr,  // tracker
2012
};
2013
1.26M
const ::google::protobuf::internal::ClassData* HashType::GetClassData() const {
2014
1.26M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2015
1.26M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2016
1.26M
  return _class_data_.base();
2017
1.26M
}
2018
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2019
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> HashType::_table_ = {
2020
  {
2021
    0,  // no _has_bits_
2022
    0, // no _extensions_
2023
    1, 0,  // max_field_number, fast_idx_mask
2024
    offsetof(decltype(_table_), field_lookup_table),
2025
    4294967294,  // skipmap
2026
    offsetof(decltype(_table_), field_entries),
2027
    1,  // num_field_entries
2028
    1,  // num_aux_entries
2029
    offsetof(decltype(_table_), aux_entries),
2030
    _class_data_.base(),
2031
    nullptr,  // post_loop_handler
2032
    ::_pbi::TcParser::GenericFallback,  // fallback
2033
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2034
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::HashType>(),  // to_prefetch
2035
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2036
  }, {{
2037
    // repeated .ruby_fuzzer.KVPair keyval = 1;
2038
    {::_pbi::TcParser::FastMtR1,
2039
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(HashType, _impl_.keyval_)}},
2040
  }}, {{
2041
    65535, 65535
2042
  }}, {{
2043
    // repeated .ruby_fuzzer.KVPair keyval = 1;
2044
    {PROTOBUF_FIELD_OFFSET(HashType, _impl_.keyval_), 0, 0,
2045
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2046
  }}, {{
2047
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::KVPair>()},
2048
  }}, {{
2049
  }},
2050
};
2051
2052
0
PROTOBUF_NOINLINE void HashType::Clear() {
2053
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.HashType)
2054
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2055
0
  ::uint32_t cached_has_bits = 0;
2056
  // Prevent compiler warnings about cached_has_bits being unused
2057
0
  (void) cached_has_bits;
2058
2059
0
  _impl_.keyval_.Clear();
2060
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2061
0
}
2062
2063
#if defined(PROTOBUF_CUSTOM_VTABLE)
2064
        ::uint8_t* HashType::_InternalSerialize(
2065
            const MessageLite& base, ::uint8_t* target,
2066
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2067
          const HashType& this_ = static_cast<const HashType&>(base);
2068
#else   // PROTOBUF_CUSTOM_VTABLE
2069
        ::uint8_t* HashType::_InternalSerialize(
2070
            ::uint8_t* target,
2071
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2072
0
          const HashType& this_ = *this;
2073
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2074
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.HashType)
2075
0
          ::uint32_t cached_has_bits = 0;
2076
0
          (void)cached_has_bits;
2077
2078
          // repeated .ruby_fuzzer.KVPair keyval = 1;
2079
0
          for (unsigned i = 0, n = static_cast<unsigned>(
2080
0
                                   this_._internal_keyval_size());
2081
0
               i < n; i++) {
2082
0
            const auto& repfield = this_._internal_keyval().Get(i);
2083
0
            target =
2084
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2085
0
                    1, repfield, repfield.GetCachedSize(),
2086
0
                    target, stream);
2087
0
          }
2088
2089
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2090
0
            target =
2091
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2092
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2093
0
          }
2094
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.HashType)
2095
0
          return target;
2096
0
        }
2097
2098
#if defined(PROTOBUF_CUSTOM_VTABLE)
2099
        ::size_t HashType::ByteSizeLong(const MessageLite& base) {
2100
          const HashType& this_ = static_cast<const HashType&>(base);
2101
#else   // PROTOBUF_CUSTOM_VTABLE
2102
0
        ::size_t HashType::ByteSizeLong() const {
2103
0
          const HashType& this_ = *this;
2104
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2105
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.HashType)
2106
0
          ::size_t total_size = 0;
2107
2108
0
          ::uint32_t cached_has_bits = 0;
2109
          // Prevent compiler warnings about cached_has_bits being unused
2110
0
          (void)cached_has_bits;
2111
2112
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2113
0
           {
2114
            // repeated .ruby_fuzzer.KVPair keyval = 1;
2115
0
            {
2116
0
              total_size += 1UL * this_._internal_keyval_size();
2117
0
              for (const auto& msg : this_._internal_keyval()) {
2118
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2119
0
              }
2120
0
            }
2121
0
          }
2122
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2123
0
                                                     &this_._impl_._cached_size_);
2124
0
        }
2125
2126
0
void HashType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2127
0
  auto* const _this = static_cast<HashType*>(&to_msg);
2128
0
  auto& from = static_cast<const HashType&>(from_msg);
2129
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.HashType)
2130
0
  ABSL_DCHECK_NE(&from, _this);
2131
0
  ::uint32_t cached_has_bits = 0;
2132
0
  (void) cached_has_bits;
2133
2134
0
  _this->_internal_mutable_keyval()->MergeFrom(
2135
0
      from._internal_keyval());
2136
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2137
0
}
2138
2139
0
void HashType::CopyFrom(const HashType& from) {
2140
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.HashType)
2141
0
  if (&from == this) return;
2142
0
  Clear();
2143
0
  MergeFrom(from);
2144
0
}
2145
2146
PROTOBUF_NOINLINE bool HashType::IsInitializedImpl(
2147
0
    const MessageLite& msg) {
2148
0
  auto& this_ = static_cast<const HashType&>(msg);
2149
0
  if (!::google::protobuf::internal::AllAreInitialized(this_._internal_keyval()))
2150
0
    return false;
2151
0
  return true;
2152
0
}
2153
2154
0
void HashType::InternalSwap(HashType* PROTOBUF_RESTRICT other) {
2155
0
  using std::swap;
2156
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2157
0
  _impl_.keyval_.InternalSwap(&other->_impl_.keyval_);
2158
0
}
2159
2160
0
::google::protobuf::Metadata HashType::GetMetadata() const {
2161
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2162
0
}
2163
// ===================================================================
2164
2165
class StringExtNoArg::_Internal {
2166
 public:
2167
  using HasBits =
2168
      decltype(std::declval<StringExtNoArg>()._impl_._has_bits_);
2169
  static constexpr ::int32_t kHasBitsOffset =
2170
      8 * PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_._has_bits_);
2171
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2172
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
2173
0
  }
2174
};
2175
2176
StringExtNoArg::StringExtNoArg(::google::protobuf::Arena* arena)
2177
#if defined(PROTOBUF_CUSTOM_VTABLE)
2178
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2179
#else   // PROTOBUF_CUSTOM_VTABLE
2180
0
    : ::google::protobuf::Message(arena) {
2181
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2182
0
  SharedCtor(arena);
2183
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.StringExtNoArg)
2184
0
}
2185
inline PROTOBUF_NDEBUG_INLINE StringExtNoArg::Impl_::Impl_(
2186
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2187
    const Impl_& from, const ::ruby_fuzzer::StringExtNoArg& from_msg)
2188
0
      : _has_bits_{from._has_bits_},
2189
0
        _cached_size_{0},
2190
0
        str_arg_(arena, from.str_arg_) {}
2191
2192
StringExtNoArg::StringExtNoArg(
2193
    ::google::protobuf::Arena* arena,
2194
    const StringExtNoArg& from)
2195
#if defined(PROTOBUF_CUSTOM_VTABLE)
2196
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2197
#else   // PROTOBUF_CUSTOM_VTABLE
2198
0
    : ::google::protobuf::Message(arena) {
2199
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2200
0
  StringExtNoArg* const _this = this;
2201
0
  (void)_this;
2202
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2203
0
      from._internal_metadata_);
2204
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2205
0
  _impl_.str_op_ = from._impl_.str_op_;
2206
2207
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.StringExtNoArg)
2208
0
}
2209
inline PROTOBUF_NDEBUG_INLINE StringExtNoArg::Impl_::Impl_(
2210
    ::google::protobuf::internal::InternalVisibility visibility,
2211
    ::google::protobuf::Arena* arena)
2212
0
      : _cached_size_{0},
2213
0
        str_arg_(arena) {}
2214
2215
0
inline void StringExtNoArg::SharedCtor(::_pb::Arena* arena) {
2216
0
  new (&_impl_) Impl_(internal_visibility(), arena);
2217
0
  _impl_.str_op_ = {};
2218
0
}
2219
0
StringExtNoArg::~StringExtNoArg() {
2220
  // @@protoc_insertion_point(destructor:ruby_fuzzer.StringExtNoArg)
2221
0
  SharedDtor(*this);
2222
0
}
2223
0
inline void StringExtNoArg::SharedDtor(MessageLite& self) {
2224
0
  StringExtNoArg& this_ = static_cast<StringExtNoArg&>(self);
2225
0
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2226
0
  ABSL_DCHECK(this_.GetArena() == nullptr);
2227
0
  this_._impl_.str_arg_.Destroy();
2228
0
  this_._impl_.~Impl_();
2229
0
}
2230
2231
inline void* StringExtNoArg::PlacementNew_(const void*, void* mem,
2232
0
                                        ::google::protobuf::Arena* arena) {
2233
0
  return ::new (mem) StringExtNoArg(arena);
2234
0
}
2235
0
constexpr auto StringExtNoArg::InternalNewImpl_() {
2236
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StringExtNoArg),
2237
0
                                            alignof(StringExtNoArg));
2238
0
}
2239
PROTOBUF_CONSTINIT
2240
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2241
const ::google::protobuf::internal::ClassDataFull StringExtNoArg::_class_data_ = {
2242
    ::google::protobuf::internal::ClassData{
2243
        &_StringExtNoArg_default_instance_._instance,
2244
        &_table_.header,
2245
        nullptr,  // OnDemandRegisterArenaDtor
2246
        StringExtNoArg::IsInitializedImpl,
2247
        &StringExtNoArg::MergeImpl,
2248
        ::google::protobuf::Message::GetNewImpl<StringExtNoArg>(),
2249
#if defined(PROTOBUF_CUSTOM_VTABLE)
2250
        &StringExtNoArg::SharedDtor,
2251
        ::google::protobuf::Message::GetClearImpl<StringExtNoArg>(), &StringExtNoArg::ByteSizeLong,
2252
            &StringExtNoArg::_InternalSerialize,
2253
#endif  // PROTOBUF_CUSTOM_VTABLE
2254
        PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_._cached_size_),
2255
        false,
2256
    },
2257
    &StringExtNoArg::kDescriptorMethods,
2258
    &descriptor_table_ruby_2eproto,
2259
    nullptr,  // tracker
2260
};
2261
1
const ::google::protobuf::internal::ClassData* StringExtNoArg::GetClassData() const {
2262
1
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2263
1
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2264
1
  return _class_data_.base();
2265
1
}
2266
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2267
const ::_pbi::TcParseTable<1, 2, 1, 42, 2> StringExtNoArg::_table_ = {
2268
  {
2269
    PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_._has_bits_),
2270
    0, // no _extensions_
2271
    2, 8,  // max_field_number, fast_idx_mask
2272
    offsetof(decltype(_table_), field_lookup_table),
2273
    4294967292,  // skipmap
2274
    offsetof(decltype(_table_), field_entries),
2275
    2,  // num_field_entries
2276
    1,  // num_aux_entries
2277
    offsetof(decltype(_table_), aux_entries),
2278
    _class_data_.base(),
2279
    nullptr,  // post_loop_handler
2280
    ::_pbi::TcParser::GenericFallback,  // fallback
2281
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2282
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::StringExtNoArg>(),  // to_prefetch
2283
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2284
  }, {{
2285
    // required string str_arg = 2;
2286
    {::_pbi::TcParser::FastSS1,
2287
     {18, 0, 0, PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_.str_arg_)}},
2288
    // required .ruby_fuzzer.StringExtNoArg.StrExtOp str_op = 1;
2289
    {::_pbi::TcParser::FastEr0S1,
2290
     {8, 1, 9, PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_.str_op_)}},
2291
  }}, {{
2292
    65535, 65535
2293
  }}, {{
2294
    // required .ruby_fuzzer.StringExtNoArg.StrExtOp str_op = 1;
2295
    {PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_.str_op_), _Internal::kHasBitsOffset + 1, 0,
2296
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
2297
    // required string str_arg = 2;
2298
    {PROTOBUF_FIELD_OFFSET(StringExtNoArg, _impl_.str_arg_), _Internal::kHasBitsOffset + 0, 0,
2299
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
2300
  }}, {{
2301
    {0, 10},
2302
  }}, {{
2303
    "\32\0\7\0\0\0\0\0"
2304
    "ruby_fuzzer.StringExtNoArg"
2305
    "str_arg"
2306
  }},
2307
};
2308
2309
0
PROTOBUF_NOINLINE void StringExtNoArg::Clear() {
2310
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.StringExtNoArg)
2311
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2312
0
  ::uint32_t cached_has_bits = 0;
2313
  // Prevent compiler warnings about cached_has_bits being unused
2314
0
  (void) cached_has_bits;
2315
2316
0
  cached_has_bits = _impl_._has_bits_[0];
2317
0
  if (cached_has_bits & 0x00000001u) {
2318
0
    _impl_.str_arg_.ClearNonDefaultToEmpty();
2319
0
  }
2320
0
  _impl_.str_op_ = 0;
2321
0
  _impl_._has_bits_.Clear();
2322
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2323
0
}
2324
2325
#if defined(PROTOBUF_CUSTOM_VTABLE)
2326
        ::uint8_t* StringExtNoArg::_InternalSerialize(
2327
            const MessageLite& base, ::uint8_t* target,
2328
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2329
          const StringExtNoArg& this_ = static_cast<const StringExtNoArg&>(base);
2330
#else   // PROTOBUF_CUSTOM_VTABLE
2331
        ::uint8_t* StringExtNoArg::_InternalSerialize(
2332
            ::uint8_t* target,
2333
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2334
0
          const StringExtNoArg& this_ = *this;
2335
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2336
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.StringExtNoArg)
2337
0
          ::uint32_t cached_has_bits = 0;
2338
0
          (void)cached_has_bits;
2339
2340
0
          cached_has_bits = this_._impl_._has_bits_[0];
2341
          // required .ruby_fuzzer.StringExtNoArg.StrExtOp str_op = 1;
2342
0
          if (cached_has_bits & 0x00000002u) {
2343
0
            target = stream->EnsureSpace(target);
2344
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
2345
0
                1, this_._internal_str_op(), target);
2346
0
          }
2347
2348
          // required string str_arg = 2;
2349
0
          if (cached_has_bits & 0x00000001u) {
2350
0
            const std::string& _s = this_._internal_str_arg();
2351
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
2352
0
                                        "ruby_fuzzer.StringExtNoArg.str_arg");
2353
0
            target = stream->WriteStringMaybeAliased(2, _s, target);
2354
0
          }
2355
2356
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2357
0
            target =
2358
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2359
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2360
0
          }
2361
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.StringExtNoArg)
2362
0
          return target;
2363
0
        }
2364
2365
#if defined(PROTOBUF_CUSTOM_VTABLE)
2366
        ::size_t StringExtNoArg::ByteSizeLong(const MessageLite& base) {
2367
          const StringExtNoArg& this_ = static_cast<const StringExtNoArg&>(base);
2368
#else   // PROTOBUF_CUSTOM_VTABLE
2369
0
        ::size_t StringExtNoArg::ByteSizeLong() const {
2370
0
          const StringExtNoArg& this_ = *this;
2371
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2372
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.StringExtNoArg)
2373
0
          ::size_t total_size = 0;
2374
2375
0
          ::uint32_t cached_has_bits = 0;
2376
          // Prevent compiler warnings about cached_has_bits being unused
2377
0
          (void)cached_has_bits;
2378
2379
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2380
0
          cached_has_bits = this_._impl_._has_bits_[0];
2381
0
          if (cached_has_bits & 0x00000003u) {
2382
            // required string str_arg = 2;
2383
0
            if (cached_has_bits & 0x00000001u) {
2384
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2385
0
                                              this_._internal_str_arg());
2386
0
            }
2387
            // required .ruby_fuzzer.StringExtNoArg.StrExtOp str_op = 1;
2388
0
            if (cached_has_bits & 0x00000002u) {
2389
0
              total_size += 1 +
2390
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_str_op());
2391
0
            }
2392
0
          }
2393
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2394
0
                                                     &this_._impl_._cached_size_);
2395
0
        }
2396
2397
0
void StringExtNoArg::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2398
0
  auto* const _this = static_cast<StringExtNoArg*>(&to_msg);
2399
0
  auto& from = static_cast<const StringExtNoArg&>(from_msg);
2400
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.StringExtNoArg)
2401
0
  ABSL_DCHECK_NE(&from, _this);
2402
0
  ::uint32_t cached_has_bits = 0;
2403
0
  (void) cached_has_bits;
2404
2405
0
  cached_has_bits = from._impl_._has_bits_[0];
2406
0
  if (cached_has_bits & 0x00000003u) {
2407
0
    if (cached_has_bits & 0x00000001u) {
2408
0
      _this->_internal_set_str_arg(from._internal_str_arg());
2409
0
    }
2410
0
    if (cached_has_bits & 0x00000002u) {
2411
0
      _this->_impl_.str_op_ = from._impl_.str_op_;
2412
0
    }
2413
0
  }
2414
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
2415
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2416
0
}
2417
2418
0
void StringExtNoArg::CopyFrom(const StringExtNoArg& from) {
2419
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.StringExtNoArg)
2420
0
  if (&from == this) return;
2421
0
  Clear();
2422
0
  MergeFrom(from);
2423
0
}
2424
2425
PROTOBUF_NOINLINE bool StringExtNoArg::IsInitializedImpl(
2426
0
    const MessageLite& msg) {
2427
0
  auto& this_ = static_cast<const StringExtNoArg&>(msg);
2428
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
2429
0
    return false;
2430
0
  }
2431
0
  return true;
2432
0
}
2433
2434
0
void StringExtNoArg::InternalSwap(StringExtNoArg* PROTOBUF_RESTRICT other) {
2435
0
  using std::swap;
2436
0
  auto* arena = GetArena();
2437
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
2438
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2439
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2440
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.str_arg_, &other->_impl_.str_arg_, arena);
2441
0
  swap(_impl_.str_op_, other->_impl_.str_op_);
2442
0
}
2443
2444
0
::google::protobuf::Metadata StringExtNoArg::GetMetadata() const {
2445
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2446
0
}
2447
// ===================================================================
2448
2449
class MathConst::_Internal {
2450
 public:
2451
  using HasBits =
2452
      decltype(std::declval<MathConst>()._impl_._has_bits_);
2453
  static constexpr ::int32_t kHasBitsOffset =
2454
      8 * PROTOBUF_FIELD_OFFSET(MathConst, _impl_._has_bits_);
2455
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2456
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
2457
0
  }
2458
};
2459
2460
MathConst::MathConst(::google::protobuf::Arena* arena)
2461
#if defined(PROTOBUF_CUSTOM_VTABLE)
2462
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2463
#else   // PROTOBUF_CUSTOM_VTABLE
2464
31.6k
    : ::google::protobuf::Message(arena) {
2465
31.6k
#endif  // PROTOBUF_CUSTOM_VTABLE
2466
31.6k
  SharedCtor(arena);
2467
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.MathConst)
2468
31.6k
}
2469
MathConst::MathConst(
2470
    ::google::protobuf::Arena* arena, const MathConst& from)
2471
0
    : MathConst(arena) {
2472
0
  MergeFrom(from);
2473
0
}
2474
inline PROTOBUF_NDEBUG_INLINE MathConst::Impl_::Impl_(
2475
    ::google::protobuf::internal::InternalVisibility visibility,
2476
    ::google::protobuf::Arena* arena)
2477
31.6k
      : _cached_size_{0} {}
2478
2479
31.6k
inline void MathConst::SharedCtor(::_pb::Arena* arena) {
2480
31.6k
  new (&_impl_) Impl_(internal_visibility(), arena);
2481
31.6k
  _impl_.math_const_ = {};
2482
31.6k
}
2483
31.6k
MathConst::~MathConst() {
2484
  // @@protoc_insertion_point(destructor:ruby_fuzzer.MathConst)
2485
31.6k
  SharedDtor(*this);
2486
31.6k
}
2487
31.6k
inline void MathConst::SharedDtor(MessageLite& self) {
2488
31.6k
  MathConst& this_ = static_cast<MathConst&>(self);
2489
31.6k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2490
31.6k
  ABSL_DCHECK(this_.GetArena() == nullptr);
2491
31.6k
  this_._impl_.~Impl_();
2492
31.6k
}
2493
2494
inline void* MathConst::PlacementNew_(const void*, void* mem,
2495
31.6k
                                        ::google::protobuf::Arena* arena) {
2496
31.6k
  return ::new (mem) MathConst(arena);
2497
31.6k
}
2498
0
constexpr auto MathConst::InternalNewImpl_() {
2499
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MathConst),
2500
0
                                            alignof(MathConst));
2501
0
}
2502
PROTOBUF_CONSTINIT
2503
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2504
const ::google::protobuf::internal::ClassDataFull MathConst::_class_data_ = {
2505
    ::google::protobuf::internal::ClassData{
2506
        &_MathConst_default_instance_._instance,
2507
        &_table_.header,
2508
        nullptr,  // OnDemandRegisterArenaDtor
2509
        MathConst::IsInitializedImpl,
2510
        &MathConst::MergeImpl,
2511
        ::google::protobuf::Message::GetNewImpl<MathConst>(),
2512
#if defined(PROTOBUF_CUSTOM_VTABLE)
2513
        &MathConst::SharedDtor,
2514
        ::google::protobuf::Message::GetClearImpl<MathConst>(), &MathConst::ByteSizeLong,
2515
            &MathConst::_InternalSerialize,
2516
#endif  // PROTOBUF_CUSTOM_VTABLE
2517
        PROTOBUF_FIELD_OFFSET(MathConst, _impl_._cached_size_),
2518
        false,
2519
    },
2520
    &MathConst::kDescriptorMethods,
2521
    &descriptor_table_ruby_2eproto,
2522
    nullptr,  // tracker
2523
};
2524
316k
const ::google::protobuf::internal::ClassData* MathConst::GetClassData() const {
2525
316k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2526
316k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2527
316k
  return _class_data_.base();
2528
316k
}
2529
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2530
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> MathConst::_table_ = {
2531
  {
2532
    PROTOBUF_FIELD_OFFSET(MathConst, _impl_._has_bits_),
2533
    0, // no _extensions_
2534
    1, 0,  // max_field_number, fast_idx_mask
2535
    offsetof(decltype(_table_), field_lookup_table),
2536
    4294967294,  // skipmap
2537
    offsetof(decltype(_table_), field_entries),
2538
    1,  // num_field_entries
2539
    1,  // num_aux_entries
2540
    offsetof(decltype(_table_), aux_entries),
2541
    _class_data_.base(),
2542
    nullptr,  // post_loop_handler
2543
    ::_pbi::TcParser::GenericFallback,  // fallback
2544
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2545
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::MathConst>(),  // to_prefetch
2546
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2547
  }, {{
2548
    // required .ruby_fuzzer.MathConst.MathConstLit math_const = 1;
2549
    {::_pbi::TcParser::FastEr0S1,
2550
     {8, 0, 1, PROTOBUF_FIELD_OFFSET(MathConst, _impl_.math_const_)}},
2551
  }}, {{
2552
    65535, 65535
2553
  }}, {{
2554
    // required .ruby_fuzzer.MathConst.MathConstLit math_const = 1;
2555
    {PROTOBUF_FIELD_OFFSET(MathConst, _impl_.math_const_), _Internal::kHasBitsOffset + 0, 0,
2556
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
2557
  }}, {{
2558
    {0, 2},
2559
  }}, {{
2560
  }},
2561
};
2562
2563
0
PROTOBUF_NOINLINE void MathConst::Clear() {
2564
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.MathConst)
2565
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2566
0
  ::uint32_t cached_has_bits = 0;
2567
  // Prevent compiler warnings about cached_has_bits being unused
2568
0
  (void) cached_has_bits;
2569
2570
0
  _impl_.math_const_ = 0;
2571
0
  _impl_._has_bits_.Clear();
2572
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2573
0
}
2574
2575
#if defined(PROTOBUF_CUSTOM_VTABLE)
2576
        ::uint8_t* MathConst::_InternalSerialize(
2577
            const MessageLite& base, ::uint8_t* target,
2578
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2579
          const MathConst& this_ = static_cast<const MathConst&>(base);
2580
#else   // PROTOBUF_CUSTOM_VTABLE
2581
        ::uint8_t* MathConst::_InternalSerialize(
2582
            ::uint8_t* target,
2583
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2584
0
          const MathConst& this_ = *this;
2585
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2586
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.MathConst)
2587
0
          ::uint32_t cached_has_bits = 0;
2588
0
          (void)cached_has_bits;
2589
2590
0
          cached_has_bits = this_._impl_._has_bits_[0];
2591
          // required .ruby_fuzzer.MathConst.MathConstLit math_const = 1;
2592
0
          if (cached_has_bits & 0x00000001u) {
2593
0
            target = stream->EnsureSpace(target);
2594
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
2595
0
                1, this_._internal_math_const(), target);
2596
0
          }
2597
2598
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2599
0
            target =
2600
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2601
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2602
0
          }
2603
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.MathConst)
2604
0
          return target;
2605
0
        }
2606
2607
#if defined(PROTOBUF_CUSTOM_VTABLE)
2608
        ::size_t MathConst::ByteSizeLong(const MessageLite& base) {
2609
          const MathConst& this_ = static_cast<const MathConst&>(base);
2610
#else   // PROTOBUF_CUSTOM_VTABLE
2611
0
        ::size_t MathConst::ByteSizeLong() const {
2612
0
          const MathConst& this_ = *this;
2613
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2614
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.MathConst)
2615
0
          ::size_t total_size = 0;
2616
2617
0
          ::uint32_t cached_has_bits = 0;
2618
          // Prevent compiler warnings about cached_has_bits being unused
2619
0
          (void)cached_has_bits;
2620
2621
0
           {
2622
            // required .ruby_fuzzer.MathConst.MathConstLit math_const = 1;
2623
0
            cached_has_bits = this_._impl_._has_bits_[0];
2624
0
            if (cached_has_bits & 0x00000001u) {
2625
0
              total_size += 1 +
2626
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_math_const());
2627
0
            }
2628
0
          }
2629
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2630
0
                                                     &this_._impl_._cached_size_);
2631
0
        }
2632
2633
0
void MathConst::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2634
0
  auto* const _this = static_cast<MathConst*>(&to_msg);
2635
0
  auto& from = static_cast<const MathConst&>(from_msg);
2636
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.MathConst)
2637
0
  ABSL_DCHECK_NE(&from, _this);
2638
0
  ::uint32_t cached_has_bits = 0;
2639
0
  (void) cached_has_bits;
2640
2641
0
  cached_has_bits = from._impl_._has_bits_[0];
2642
0
  if (cached_has_bits & 0x00000001u) {
2643
0
    _this->_impl_.math_const_ = from._impl_.math_const_;
2644
0
  }
2645
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
2646
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2647
0
}
2648
2649
0
void MathConst::CopyFrom(const MathConst& from) {
2650
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.MathConst)
2651
0
  if (&from == this) return;
2652
0
  Clear();
2653
0
  MergeFrom(from);
2654
0
}
2655
2656
PROTOBUF_NOINLINE bool MathConst::IsInitializedImpl(
2657
0
    const MessageLite& msg) {
2658
0
  auto& this_ = static_cast<const MathConst&>(msg);
2659
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
2660
0
    return false;
2661
0
  }
2662
0
  return true;
2663
0
}
2664
2665
0
void MathConst::InternalSwap(MathConst* PROTOBUF_RESTRICT other) {
2666
0
  using std::swap;
2667
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2668
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2669
0
  swap(_impl_.math_const_, other->_impl_.math_const_);
2670
0
}
2671
2672
0
::google::protobuf::Metadata MathConst::GetMetadata() const {
2673
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2674
0
}
2675
// ===================================================================
2676
2677
class Const::_Internal {
2678
 public:
2679
  static constexpr ::int32_t kOneofCaseOffset =
2680
      PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Const, _impl_._oneof_case_);
2681
};
2682
2683
Const::Const(::google::protobuf::Arena* arena)
2684
#if defined(PROTOBUF_CUSTOM_VTABLE)
2685
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2686
#else   // PROTOBUF_CUSTOM_VTABLE
2687
547k
    : ::google::protobuf::Message(arena) {
2688
547k
#endif  // PROTOBUF_CUSTOM_VTABLE
2689
547k
  SharedCtor(arena);
2690
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Const)
2691
547k
}
2692
inline PROTOBUF_NDEBUG_INLINE Const::Impl_::Impl_(
2693
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2694
    const Impl_& from, const ::ruby_fuzzer::Const& from_msg)
2695
0
      : const_oneof_{},
2696
0
        _cached_size_{0},
2697
0
        _oneof_case_{from._oneof_case_[0]} {}
2698
2699
Const::Const(
2700
    ::google::protobuf::Arena* arena,
2701
    const Const& from)
2702
#if defined(PROTOBUF_CUSTOM_VTABLE)
2703
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2704
#else   // PROTOBUF_CUSTOM_VTABLE
2705
0
    : ::google::protobuf::Message(arena) {
2706
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2707
0
  Const* const _this = this;
2708
0
  (void)_this;
2709
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2710
0
      from._internal_metadata_);
2711
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2712
0
  switch (const_oneof_case()) {
2713
0
    case CONST_ONEOF_NOT_SET:
2714
0
      break;
2715
0
      case kIntLit:
2716
0
        _impl_.const_oneof_.int_lit_ = from._impl_.const_oneof_.int_lit_;
2717
0
        break;
2718
0
      case kBoolVal:
2719
0
        _impl_.const_oneof_.bool_val_ = from._impl_.const_oneof_.bool_val_;
2720
0
        break;
2721
0
  }
2722
2723
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.Const)
2724
0
}
2725
inline PROTOBUF_NDEBUG_INLINE Const::Impl_::Impl_(
2726
    ::google::protobuf::internal::InternalVisibility visibility,
2727
    ::google::protobuf::Arena* arena)
2728
547k
      : const_oneof_{},
2729
547k
        _cached_size_{0},
2730
547k
        _oneof_case_{} {}
2731
2732
547k
inline void Const::SharedCtor(::_pb::Arena* arena) {
2733
547k
  new (&_impl_) Impl_(internal_visibility(), arena);
2734
547k
}
2735
547k
Const::~Const() {
2736
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Const)
2737
547k
  SharedDtor(*this);
2738
547k
}
2739
547k
inline void Const::SharedDtor(MessageLite& self) {
2740
547k
  Const& this_ = static_cast<Const&>(self);
2741
547k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2742
547k
  ABSL_DCHECK(this_.GetArena() == nullptr);
2743
547k
  if (this_.has_const_oneof()) {
2744
110k
    this_.clear_const_oneof();
2745
110k
  }
2746
547k
  this_._impl_.~Impl_();
2747
547k
}
2748
2749
110k
void Const::clear_const_oneof() {
2750
// @@protoc_insertion_point(one_of_clear_start:ruby_fuzzer.Const)
2751
110k
  ::google::protobuf::internal::TSanWrite(&_impl_);
2752
110k
  switch (const_oneof_case()) {
2753
79.3k
    case kIntLit: {
2754
      // No need to clear
2755
79.3k
      break;
2756
0
    }
2757
30.8k
    case kBoolVal: {
2758
      // No need to clear
2759
30.8k
      break;
2760
0
    }
2761
0
    case CONST_ONEOF_NOT_SET: {
2762
0
      break;
2763
0
    }
2764
110k
  }
2765
110k
  _impl_._oneof_case_[0] = CONST_ONEOF_NOT_SET;
2766
110k
}
2767
2768
2769
inline void* Const::PlacementNew_(const void*, void* mem,
2770
547k
                                        ::google::protobuf::Arena* arena) {
2771
547k
  return ::new (mem) Const(arena);
2772
547k
}
2773
0
constexpr auto Const::InternalNewImpl_() {
2774
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Const),
2775
0
                                            alignof(Const));
2776
0
}
2777
PROTOBUF_CONSTINIT
2778
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2779
const ::google::protobuf::internal::ClassDataFull Const::_class_data_ = {
2780
    ::google::protobuf::internal::ClassData{
2781
        &_Const_default_instance_._instance,
2782
        &_table_.header,
2783
        nullptr,  // OnDemandRegisterArenaDtor
2784
        nullptr,  // IsInitialized
2785
        &Const::MergeImpl,
2786
        ::google::protobuf::Message::GetNewImpl<Const>(),
2787
#if defined(PROTOBUF_CUSTOM_VTABLE)
2788
        &Const::SharedDtor,
2789
        ::google::protobuf::Message::GetClearImpl<Const>(), &Const::ByteSizeLong,
2790
            &Const::_InternalSerialize,
2791
#endif  // PROTOBUF_CUSTOM_VTABLE
2792
        PROTOBUF_FIELD_OFFSET(Const, _impl_._cached_size_),
2793
        false,
2794
    },
2795
    &Const::kDescriptorMethods,
2796
    &descriptor_table_ruby_2eproto,
2797
    nullptr,  // tracker
2798
};
2799
4.07M
const ::google::protobuf::internal::ClassData* Const::GetClassData() const {
2800
4.07M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2801
4.07M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2802
4.07M
  return _class_data_.base();
2803
4.07M
}
2804
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2805
const ::_pbi::TcParseTable<0, 2, 0, 0, 2> Const::_table_ = {
2806
  {
2807
    0,  // no _has_bits_
2808
    0, // no _extensions_
2809
    4, 0,  // max_field_number, fast_idx_mask
2810
    offsetof(decltype(_table_), field_lookup_table),
2811
    4294967286,  // skipmap
2812
    offsetof(decltype(_table_), field_entries),
2813
    2,  // num_field_entries
2814
    0,  // num_aux_entries
2815
    offsetof(decltype(_table_), field_names),  // no aux_entries
2816
    _class_data_.base(),
2817
    nullptr,  // post_loop_handler
2818
    ::_pbi::TcParser::GenericFallback,  // fallback
2819
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2820
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Const>(),  // to_prefetch
2821
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2822
  }, {{
2823
    {::_pbi::TcParser::MiniParse, {}},
2824
  }}, {{
2825
    65535, 65535
2826
  }}, {{
2827
    // uint32 int_lit = 1;
2828
    {PROTOBUF_FIELD_OFFSET(Const, _impl_.const_oneof_.int_lit_), _Internal::kOneofCaseOffset + 0, 0,
2829
    (0 | ::_fl::kFcOneof | ::_fl::kUInt32)},
2830
    // bool bool_val = 4;
2831
    {PROTOBUF_FIELD_OFFSET(Const, _impl_.const_oneof_.bool_val_), _Internal::kOneofCaseOffset + 0, 0,
2832
    (0 | ::_fl::kFcOneof | ::_fl::kBool)},
2833
  }},
2834
  // no aux_entries
2835
  {{
2836
  }},
2837
};
2838
2839
0
PROTOBUF_NOINLINE void Const::Clear() {
2840
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Const)
2841
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2842
0
  ::uint32_t cached_has_bits = 0;
2843
  // Prevent compiler warnings about cached_has_bits being unused
2844
0
  (void) cached_has_bits;
2845
2846
0
  clear_const_oneof();
2847
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2848
0
}
2849
2850
#if defined(PROTOBUF_CUSTOM_VTABLE)
2851
        ::uint8_t* Const::_InternalSerialize(
2852
            const MessageLite& base, ::uint8_t* target,
2853
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2854
          const Const& this_ = static_cast<const Const&>(base);
2855
#else   // PROTOBUF_CUSTOM_VTABLE
2856
        ::uint8_t* Const::_InternalSerialize(
2857
            ::uint8_t* target,
2858
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2859
0
          const Const& this_ = *this;
2860
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2861
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Const)
2862
0
          ::uint32_t cached_has_bits = 0;
2863
0
          (void)cached_has_bits;
2864
2865
0
          switch (this_.const_oneof_case()) {
2866
0
            case kIntLit: {
2867
0
              target = stream->EnsureSpace(target);
2868
0
              target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2869
0
                  1, this_._internal_int_lit(), target);
2870
0
              break;
2871
0
            }
2872
0
            case kBoolVal: {
2873
0
              target = stream->EnsureSpace(target);
2874
0
              target = ::_pbi::WireFormatLite::WriteBoolToArray(
2875
0
                  4, this_._internal_bool_val(), target);
2876
0
              break;
2877
0
            }
2878
0
            default:
2879
0
              break;
2880
0
          }
2881
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2882
0
            target =
2883
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2884
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2885
0
          }
2886
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Const)
2887
0
          return target;
2888
0
        }
2889
2890
#if defined(PROTOBUF_CUSTOM_VTABLE)
2891
        ::size_t Const::ByteSizeLong(const MessageLite& base) {
2892
          const Const& this_ = static_cast<const Const&>(base);
2893
#else   // PROTOBUF_CUSTOM_VTABLE
2894
0
        ::size_t Const::ByteSizeLong() const {
2895
0
          const Const& this_ = *this;
2896
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2897
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Const)
2898
0
          ::size_t total_size = 0;
2899
2900
0
          ::uint32_t cached_has_bits = 0;
2901
          // Prevent compiler warnings about cached_has_bits being unused
2902
0
          (void)cached_has_bits;
2903
2904
0
          switch (this_.const_oneof_case()) {
2905
            // uint32 int_lit = 1;
2906
0
            case kIntLit: {
2907
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2908
0
                  this_._internal_int_lit());
2909
0
              break;
2910
0
            }
2911
            // bool bool_val = 4;
2912
0
            case kBoolVal: {
2913
0
              total_size += 2;
2914
0
              break;
2915
0
            }
2916
0
            case CONST_ONEOF_NOT_SET: {
2917
0
              break;
2918
0
            }
2919
0
          }
2920
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2921
0
                                                     &this_._impl_._cached_size_);
2922
0
        }
2923
2924
0
void Const::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2925
0
  auto* const _this = static_cast<Const*>(&to_msg);
2926
0
  auto& from = static_cast<const Const&>(from_msg);
2927
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Const)
2928
0
  ABSL_DCHECK_NE(&from, _this);
2929
0
  ::uint32_t cached_has_bits = 0;
2930
0
  (void) cached_has_bits;
2931
2932
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
2933
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
2934
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
2935
0
    if (oneof_needs_init) {
2936
0
      if (oneof_to_case != 0) {
2937
0
        _this->clear_const_oneof();
2938
0
      }
2939
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
2940
0
    }
2941
2942
0
    switch (oneof_from_case) {
2943
0
      case kIntLit: {
2944
0
        _this->_impl_.const_oneof_.int_lit_ = from._impl_.const_oneof_.int_lit_;
2945
0
        break;
2946
0
      }
2947
0
      case kBoolVal: {
2948
0
        _this->_impl_.const_oneof_.bool_val_ = from._impl_.const_oneof_.bool_val_;
2949
0
        break;
2950
0
      }
2951
0
      case CONST_ONEOF_NOT_SET:
2952
0
        break;
2953
0
    }
2954
0
  }
2955
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2956
0
}
2957
2958
0
void Const::CopyFrom(const Const& from) {
2959
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Const)
2960
0
  if (&from == this) return;
2961
0
  Clear();
2962
0
  MergeFrom(from);
2963
0
}
2964
2965
2966
0
void Const::InternalSwap(Const* PROTOBUF_RESTRICT other) {
2967
0
  using std::swap;
2968
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2969
0
  swap(_impl_.const_oneof_, other->_impl_.const_oneof_);
2970
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2971
0
}
2972
2973
0
::google::protobuf::Metadata Const::GetMetadata() const {
2974
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2975
0
}
2976
// ===================================================================
2977
2978
class BinaryOp::_Internal {
2979
 public:
2980
  using HasBits =
2981
      decltype(std::declval<BinaryOp>()._impl_._has_bits_);
2982
  static constexpr ::int32_t kHasBitsOffset =
2983
      8 * PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_._has_bits_);
2984
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2985
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
2986
0
  }
2987
};
2988
2989
BinaryOp::BinaryOp(::google::protobuf::Arena* arena)
2990
#if defined(PROTOBUF_CUSTOM_VTABLE)
2991
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2992
#else   // PROTOBUF_CUSTOM_VTABLE
2993
254k
    : ::google::protobuf::Message(arena) {
2994
254k
#endif  // PROTOBUF_CUSTOM_VTABLE
2995
254k
  SharedCtor(arena);
2996
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.BinaryOp)
2997
254k
}
2998
inline PROTOBUF_NDEBUG_INLINE BinaryOp::Impl_::Impl_(
2999
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3000
    const Impl_& from, const ::ruby_fuzzer::BinaryOp& from_msg)
3001
0
      : _has_bits_{from._has_bits_},
3002
0
        _cached_size_{0} {}
3003
3004
BinaryOp::BinaryOp(
3005
    ::google::protobuf::Arena* arena,
3006
    const BinaryOp& from)
3007
#if defined(PROTOBUF_CUSTOM_VTABLE)
3008
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3009
#else   // PROTOBUF_CUSTOM_VTABLE
3010
0
    : ::google::protobuf::Message(arena) {
3011
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3012
0
  BinaryOp* const _this = this;
3013
0
  (void)_this;
3014
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3015
0
      from._internal_metadata_);
3016
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3017
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
3018
0
  _impl_.left_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
3019
0
                              arena, *from._impl_.left_)
3020
0
                        : nullptr;
3021
0
  _impl_.right_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
3022
0
                              arena, *from._impl_.right_)
3023
0
                        : nullptr;
3024
0
  _impl_.op_ = from._impl_.op_;
3025
3026
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.BinaryOp)
3027
0
}
3028
inline PROTOBUF_NDEBUG_INLINE BinaryOp::Impl_::Impl_(
3029
    ::google::protobuf::internal::InternalVisibility visibility,
3030
    ::google::protobuf::Arena* arena)
3031
254k
      : _cached_size_{0} {}
3032
3033
254k
inline void BinaryOp::SharedCtor(::_pb::Arena* arena) {
3034
254k
  new (&_impl_) Impl_(internal_visibility(), arena);
3035
254k
  ::memset(reinterpret_cast<char *>(&_impl_) +
3036
254k
               offsetof(Impl_, left_),
3037
254k
           0,
3038
254k
           offsetof(Impl_, op_) -
3039
254k
               offsetof(Impl_, left_) +
3040
254k
               sizeof(Impl_::op_));
3041
254k
}
3042
254k
BinaryOp::~BinaryOp() {
3043
  // @@protoc_insertion_point(destructor:ruby_fuzzer.BinaryOp)
3044
254k
  SharedDtor(*this);
3045
254k
}
3046
254k
inline void BinaryOp::SharedDtor(MessageLite& self) {
3047
254k
  BinaryOp& this_ = static_cast<BinaryOp&>(self);
3048
254k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3049
254k
  ABSL_DCHECK(this_.GetArena() == nullptr);
3050
254k
  delete this_._impl_.left_;
3051
254k
  delete this_._impl_.right_;
3052
254k
  this_._impl_.~Impl_();
3053
254k
}
3054
3055
inline void* BinaryOp::PlacementNew_(const void*, void* mem,
3056
254k
                                        ::google::protobuf::Arena* arena) {
3057
254k
  return ::new (mem) BinaryOp(arena);
3058
254k
}
3059
0
constexpr auto BinaryOp::InternalNewImpl_() {
3060
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BinaryOp),
3061
0
                                            alignof(BinaryOp));
3062
0
}
3063
PROTOBUF_CONSTINIT
3064
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3065
const ::google::protobuf::internal::ClassDataFull BinaryOp::_class_data_ = {
3066
    ::google::protobuf::internal::ClassData{
3067
        &_BinaryOp_default_instance_._instance,
3068
        &_table_.header,
3069
        nullptr,  // OnDemandRegisterArenaDtor
3070
        BinaryOp::IsInitializedImpl,
3071
        &BinaryOp::MergeImpl,
3072
        ::google::protobuf::Message::GetNewImpl<BinaryOp>(),
3073
#if defined(PROTOBUF_CUSTOM_VTABLE)
3074
        &BinaryOp::SharedDtor,
3075
        ::google::protobuf::Message::GetClearImpl<BinaryOp>(), &BinaryOp::ByteSizeLong,
3076
            &BinaryOp::_InternalSerialize,
3077
#endif  // PROTOBUF_CUSTOM_VTABLE
3078
        PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_._cached_size_),
3079
        false,
3080
    },
3081
    &BinaryOp::kDescriptorMethods,
3082
    &descriptor_table_ruby_2eproto,
3083
    nullptr,  // tracker
3084
};
3085
4.12M
const ::google::protobuf::internal::ClassData* BinaryOp::GetClassData() const {
3086
4.12M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3087
4.12M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3088
4.12M
  return _class_data_.base();
3089
4.12M
}
3090
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3091
const ::_pbi::TcParseTable<2, 3, 3, 0, 2> BinaryOp::_table_ = {
3092
  {
3093
    PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_._has_bits_),
3094
    0, // no _extensions_
3095
    3, 24,  // max_field_number, fast_idx_mask
3096
    offsetof(decltype(_table_), field_lookup_table),
3097
    4294967288,  // skipmap
3098
    offsetof(decltype(_table_), field_entries),
3099
    3,  // num_field_entries
3100
    3,  // num_aux_entries
3101
    offsetof(decltype(_table_), aux_entries),
3102
    _class_data_.base(),
3103
    nullptr,  // post_loop_handler
3104
    ::_pbi::TcParser::GenericFallback,  // fallback
3105
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3106
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::BinaryOp>(),  // to_prefetch
3107
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3108
  }, {{
3109
    {::_pbi::TcParser::MiniParse, {}},
3110
    // required .ruby_fuzzer.BinaryOp.Op op = 1;
3111
    {::_pbi::TcParser::FastEr0S1,
3112
     {8, 2, 14, PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_)}},
3113
    // required .ruby_fuzzer.Rvalue left = 2;
3114
    {::_pbi::TcParser::FastMtS1,
3115
     {18, 0, 0, PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_)}},
3116
    // required .ruby_fuzzer.Rvalue right = 3;
3117
    {::_pbi::TcParser::FastMtS1,
3118
     {26, 1, 1, PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.right_)}},
3119
  }}, {{
3120
    65535, 65535
3121
  }}, {{
3122
    // required .ruby_fuzzer.BinaryOp.Op op = 1;
3123
    {PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_), _Internal::kHasBitsOffset + 2, 2,
3124
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3125
    // required .ruby_fuzzer.Rvalue left = 2;
3126
    {PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_), _Internal::kHasBitsOffset + 0, 0,
3127
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3128
    // required .ruby_fuzzer.Rvalue right = 3;
3129
    {PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.right_), _Internal::kHasBitsOffset + 1, 1,
3130
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3131
  }}, {{
3132
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
3133
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
3134
    {0, 15},
3135
  }}, {{
3136
  }},
3137
};
3138
3139
0
PROTOBUF_NOINLINE void BinaryOp::Clear() {
3140
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.BinaryOp)
3141
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
3142
0
  ::uint32_t cached_has_bits = 0;
3143
  // Prevent compiler warnings about cached_has_bits being unused
3144
0
  (void) cached_has_bits;
3145
3146
0
  cached_has_bits = _impl_._has_bits_[0];
3147
0
  if (cached_has_bits & 0x00000003u) {
3148
0
    if (cached_has_bits & 0x00000001u) {
3149
0
      ABSL_DCHECK(_impl_.left_ != nullptr);
3150
0
      _impl_.left_->Clear();
3151
0
    }
3152
0
    if (cached_has_bits & 0x00000002u) {
3153
0
      ABSL_DCHECK(_impl_.right_ != nullptr);
3154
0
      _impl_.right_->Clear();
3155
0
    }
3156
0
  }
3157
0
  _impl_.op_ = 0;
3158
0
  _impl_._has_bits_.Clear();
3159
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3160
0
}
3161
3162
#if defined(PROTOBUF_CUSTOM_VTABLE)
3163
        ::uint8_t* BinaryOp::_InternalSerialize(
3164
            const MessageLite& base, ::uint8_t* target,
3165
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3166
          const BinaryOp& this_ = static_cast<const BinaryOp&>(base);
3167
#else   // PROTOBUF_CUSTOM_VTABLE
3168
        ::uint8_t* BinaryOp::_InternalSerialize(
3169
            ::uint8_t* target,
3170
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3171
0
          const BinaryOp& this_ = *this;
3172
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3173
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.BinaryOp)
3174
0
          ::uint32_t cached_has_bits = 0;
3175
0
          (void)cached_has_bits;
3176
3177
0
          cached_has_bits = this_._impl_._has_bits_[0];
3178
          // required .ruby_fuzzer.BinaryOp.Op op = 1;
3179
0
          if (cached_has_bits & 0x00000004u) {
3180
0
            target = stream->EnsureSpace(target);
3181
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
3182
0
                1, this_._internal_op(), target);
3183
0
          }
3184
3185
          // required .ruby_fuzzer.Rvalue left = 2;
3186
0
          if (cached_has_bits & 0x00000001u) {
3187
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3188
0
                2, *this_._impl_.left_, this_._impl_.left_->GetCachedSize(), target,
3189
0
                stream);
3190
0
          }
3191
3192
          // required .ruby_fuzzer.Rvalue right = 3;
3193
0
          if (cached_has_bits & 0x00000002u) {
3194
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3195
0
                3, *this_._impl_.right_, this_._impl_.right_->GetCachedSize(), target,
3196
0
                stream);
3197
0
          }
3198
3199
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3200
0
            target =
3201
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3202
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3203
0
          }
3204
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.BinaryOp)
3205
0
          return target;
3206
0
        }
3207
3208
#if defined(PROTOBUF_CUSTOM_VTABLE)
3209
        ::size_t BinaryOp::ByteSizeLong(const MessageLite& base) {
3210
          const BinaryOp& this_ = static_cast<const BinaryOp&>(base);
3211
#else   // PROTOBUF_CUSTOM_VTABLE
3212
0
        ::size_t BinaryOp::ByteSizeLong() const {
3213
0
          const BinaryOp& this_ = *this;
3214
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3215
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.BinaryOp)
3216
0
          ::size_t total_size = 0;
3217
3218
0
          ::uint32_t cached_has_bits = 0;
3219
          // Prevent compiler warnings about cached_has_bits being unused
3220
0
          (void)cached_has_bits;
3221
3222
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3223
0
          cached_has_bits = this_._impl_._has_bits_[0];
3224
0
          if (cached_has_bits & 0x00000007u) {
3225
            // required .ruby_fuzzer.Rvalue left = 2;
3226
0
            if (cached_has_bits & 0x00000001u) {
3227
0
              total_size += 1 +
3228
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.left_);
3229
0
            }
3230
            // required .ruby_fuzzer.Rvalue right = 3;
3231
0
            if (cached_has_bits & 0x00000002u) {
3232
0
              total_size += 1 +
3233
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.right_);
3234
0
            }
3235
            // required .ruby_fuzzer.BinaryOp.Op op = 1;
3236
0
            if (cached_has_bits & 0x00000004u) {
3237
0
              total_size += 1 +
3238
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_op());
3239
0
            }
3240
0
          }
3241
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3242
0
                                                     &this_._impl_._cached_size_);
3243
0
        }
3244
3245
0
void BinaryOp::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3246
0
  auto* const _this = static_cast<BinaryOp*>(&to_msg);
3247
0
  auto& from = static_cast<const BinaryOp&>(from_msg);
3248
0
  ::google::protobuf::Arena* arena = _this->GetArena();
3249
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.BinaryOp)
3250
0
  ABSL_DCHECK_NE(&from, _this);
3251
0
  ::uint32_t cached_has_bits = 0;
3252
0
  (void) cached_has_bits;
3253
3254
0
  cached_has_bits = from._impl_._has_bits_[0];
3255
0
  if (cached_has_bits & 0x00000007u) {
3256
0
    if (cached_has_bits & 0x00000001u) {
3257
0
      ABSL_DCHECK(from._impl_.left_ != nullptr);
3258
0
      if (_this->_impl_.left_ == nullptr) {
3259
0
        _this->_impl_.left_ =
3260
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.left_);
3261
0
      } else {
3262
0
        _this->_impl_.left_->MergeFrom(*from._impl_.left_);
3263
0
      }
3264
0
    }
3265
0
    if (cached_has_bits & 0x00000002u) {
3266
0
      ABSL_DCHECK(from._impl_.right_ != nullptr);
3267
0
      if (_this->_impl_.right_ == nullptr) {
3268
0
        _this->_impl_.right_ =
3269
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.right_);
3270
0
      } else {
3271
0
        _this->_impl_.right_->MergeFrom(*from._impl_.right_);
3272
0
      }
3273
0
    }
3274
0
    if (cached_has_bits & 0x00000004u) {
3275
0
      _this->_impl_.op_ = from._impl_.op_;
3276
0
    }
3277
0
  }
3278
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
3279
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3280
0
}
3281
3282
0
void BinaryOp::CopyFrom(const BinaryOp& from) {
3283
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.BinaryOp)
3284
0
  if (&from == this) return;
3285
0
  Clear();
3286
0
  MergeFrom(from);
3287
0
}
3288
3289
PROTOBUF_NOINLINE bool BinaryOp::IsInitializedImpl(
3290
0
    const MessageLite& msg) {
3291
0
  auto& this_ = static_cast<const BinaryOp&>(msg);
3292
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
3293
0
    return false;
3294
0
  }
3295
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
3296
0
    if (!this_._impl_.left_->IsInitialized()) return false;
3297
0
  }
3298
0
  if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
3299
0
    if (!this_._impl_.right_->IsInitialized()) return false;
3300
0
  }
3301
0
  return true;
3302
0
}
3303
3304
0
void BinaryOp::InternalSwap(BinaryOp* PROTOBUF_RESTRICT other) {
3305
0
  using std::swap;
3306
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3307
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3308
0
  ::google::protobuf::internal::memswap<
3309
0
      PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_)
3310
0
      + sizeof(BinaryOp::_impl_.op_)
3311
0
      - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_)>(
3312
0
          reinterpret_cast<char*>(&_impl_.left_),
3313
0
          reinterpret_cast<char*>(&other->_impl_.left_));
3314
0
}
3315
3316
0
::google::protobuf::Metadata BinaryOp::GetMetadata() const {
3317
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3318
0
}
3319
// ===================================================================
3320
3321
class Rvalue::_Internal {
3322
 public:
3323
  static constexpr ::int32_t kOneofCaseOffset =
3324
      PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Rvalue, _impl_._oneof_case_);
3325
};
3326
3327
0
void Rvalue::set_allocated_varref(::ruby_fuzzer::VarRef* varref) {
3328
0
  ::google::protobuf::Arena* message_arena = GetArena();
3329
0
  clear_rvalue_oneof();
3330
0
  if (varref) {
3331
0
    ::google::protobuf::Arena* submessage_arena = varref->GetArena();
3332
0
    if (message_arena != submessage_arena) {
3333
0
      varref = ::google::protobuf::internal::GetOwnedMessage(message_arena, varref, submessage_arena);
3334
0
    }
3335
0
    set_has_varref();
3336
0
    _impl_.rvalue_oneof_.varref_ = varref;
3337
0
  }
3338
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Rvalue.varref)
3339
0
}
3340
0
void Rvalue::set_allocated_cons(::ruby_fuzzer::Const* cons) {
3341
0
  ::google::protobuf::Arena* message_arena = GetArena();
3342
0
  clear_rvalue_oneof();
3343
0
  if (cons) {
3344
0
    ::google::protobuf::Arena* submessage_arena = cons->GetArena();
3345
0
    if (message_arena != submessage_arena) {
3346
0
      cons = ::google::protobuf::internal::GetOwnedMessage(message_arena, cons, submessage_arena);
3347
0
    }
3348
0
    set_has_cons();
3349
0
    _impl_.rvalue_oneof_.cons_ = cons;
3350
0
  }
3351
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Rvalue.cons)
3352
0
}
3353
0
void Rvalue::set_allocated_binop(::ruby_fuzzer::BinaryOp* binop) {
3354
0
  ::google::protobuf::Arena* message_arena = GetArena();
3355
0
  clear_rvalue_oneof();
3356
0
  if (binop) {
3357
0
    ::google::protobuf::Arena* submessage_arena = binop->GetArena();
3358
0
    if (message_arena != submessage_arena) {
3359
0
      binop = ::google::protobuf::internal::GetOwnedMessage(message_arena, binop, submessage_arena);
3360
0
    }
3361
0
    set_has_binop();
3362
0
    _impl_.rvalue_oneof_.binop_ = binop;
3363
0
  }
3364
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Rvalue.binop)
3365
0
}
3366
Rvalue::Rvalue(::google::protobuf::Arena* arena)
3367
#if defined(PROTOBUF_CUSTOM_VTABLE)
3368
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3369
#else   // PROTOBUF_CUSTOM_VTABLE
3370
982k
    : ::google::protobuf::Message(arena) {
3371
982k
#endif  // PROTOBUF_CUSTOM_VTABLE
3372
982k
  SharedCtor(arena);
3373
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Rvalue)
3374
982k
}
3375
inline PROTOBUF_NDEBUG_INLINE Rvalue::Impl_::Impl_(
3376
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3377
    const Impl_& from, const ::ruby_fuzzer::Rvalue& from_msg)
3378
0
      : rvalue_oneof_{},
3379
0
        _cached_size_{0},
3380
0
        _oneof_case_{from._oneof_case_[0]} {}
3381
3382
Rvalue::Rvalue(
3383
    ::google::protobuf::Arena* arena,
3384
    const Rvalue& from)
3385
#if defined(PROTOBUF_CUSTOM_VTABLE)
3386
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3387
#else   // PROTOBUF_CUSTOM_VTABLE
3388
0
    : ::google::protobuf::Message(arena) {
3389
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3390
0
  Rvalue* const _this = this;
3391
0
  (void)_this;
3392
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3393
0
      from._internal_metadata_);
3394
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3395
0
  switch (rvalue_oneof_case()) {
3396
0
    case RVALUE_ONEOF_NOT_SET:
3397
0
      break;
3398
0
      case kVarref:
3399
0
        _impl_.rvalue_oneof_.varref_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::VarRef>(arena, *from._impl_.rvalue_oneof_.varref_);
3400
0
        break;
3401
0
      case kCons:
3402
0
        _impl_.rvalue_oneof_.cons_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Const>(arena, *from._impl_.rvalue_oneof_.cons_);
3403
0
        break;
3404
0
      case kBinop:
3405
0
        _impl_.rvalue_oneof_.binop_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::BinaryOp>(arena, *from._impl_.rvalue_oneof_.binop_);
3406
0
        break;
3407
0
  }
3408
3409
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.Rvalue)
3410
0
}
3411
inline PROTOBUF_NDEBUG_INLINE Rvalue::Impl_::Impl_(
3412
    ::google::protobuf::internal::InternalVisibility visibility,
3413
    ::google::protobuf::Arena* arena)
3414
982k
      : rvalue_oneof_{},
3415
982k
        _cached_size_{0},
3416
982k
        _oneof_case_{} {}
3417
3418
982k
inline void Rvalue::SharedCtor(::_pb::Arena* arena) {
3419
982k
  new (&_impl_) Impl_(internal_visibility(), arena);
3420
982k
}
3421
982k
Rvalue::~Rvalue() {
3422
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Rvalue)
3423
982k
  SharedDtor(*this);
3424
982k
}
3425
982k
inline void Rvalue::SharedDtor(MessageLite& self) {
3426
982k
  Rvalue& this_ = static_cast<Rvalue&>(self);
3427
982k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3428
982k
  ABSL_DCHECK(this_.GetArena() == nullptr);
3429
982k
  if (this_.has_rvalue_oneof()) {
3430
479k
    this_.clear_rvalue_oneof();
3431
479k
  }
3432
982k
  this_._impl_.~Impl_();
3433
982k
}
3434
3435
480k
void Rvalue::clear_rvalue_oneof() {
3436
// @@protoc_insertion_point(one_of_clear_start:ruby_fuzzer.Rvalue)
3437
480k
  ::google::protobuf::internal::TSanWrite(&_impl_);
3438
480k
  switch (rvalue_oneof_case()) {
3439
137k
    case kVarref: {
3440
137k
      if (GetArena() == nullptr) {
3441
137k
        delete _impl_.rvalue_oneof_.varref_;
3442
137k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3443
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.rvalue_oneof_.varref_);
3444
0
      }
3445
137k
      break;
3446
0
    }
3447
87.4k
    case kCons: {
3448
87.4k
      if (GetArena() == nullptr) {
3449
87.4k
        delete _impl_.rvalue_oneof_.cons_;
3450
87.4k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3451
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.rvalue_oneof_.cons_);
3452
0
      }
3453
87.4k
      break;
3454
0
    }
3455
254k
    case kBinop: {
3456
254k
      if (GetArena() == nullptr) {
3457
254k
        delete _impl_.rvalue_oneof_.binop_;
3458
254k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3459
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.rvalue_oneof_.binop_);
3460
0
      }
3461
254k
      break;
3462
0
    }
3463
902
    case RVALUE_ONEOF_NOT_SET: {
3464
902
      break;
3465
0
    }
3466
480k
  }
3467
480k
  _impl_._oneof_case_[0] = RVALUE_ONEOF_NOT_SET;
3468
480k
}
3469
3470
3471
inline void* Rvalue::PlacementNew_(const void*, void* mem,
3472
982k
                                        ::google::protobuf::Arena* arena) {
3473
982k
  return ::new (mem) Rvalue(arena);
3474
982k
}
3475
0
constexpr auto Rvalue::InternalNewImpl_() {
3476
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Rvalue),
3477
0
                                            alignof(Rvalue));
3478
0
}
3479
PROTOBUF_CONSTINIT
3480
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3481
const ::google::protobuf::internal::ClassDataFull Rvalue::_class_data_ = {
3482
    ::google::protobuf::internal::ClassData{
3483
        &_Rvalue_default_instance_._instance,
3484
        &_table_.header,
3485
        nullptr,  // OnDemandRegisterArenaDtor
3486
        Rvalue::IsInitializedImpl,
3487
        &Rvalue::MergeImpl,
3488
        ::google::protobuf::Message::GetNewImpl<Rvalue>(),
3489
#if defined(PROTOBUF_CUSTOM_VTABLE)
3490
        &Rvalue::SharedDtor,
3491
        ::google::protobuf::Message::GetClearImpl<Rvalue>(), &Rvalue::ByteSizeLong,
3492
            &Rvalue::_InternalSerialize,
3493
#endif  // PROTOBUF_CUSTOM_VTABLE
3494
        PROTOBUF_FIELD_OFFSET(Rvalue, _impl_._cached_size_),
3495
        false,
3496
    },
3497
    &Rvalue::kDescriptorMethods,
3498
    &descriptor_table_ruby_2eproto,
3499
    nullptr,  // tracker
3500
};
3501
8.30M
const ::google::protobuf::internal::ClassData* Rvalue::GetClassData() const {
3502
8.30M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3503
8.30M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3504
8.30M
  return _class_data_.base();
3505
8.30M
}
3506
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3507
const ::_pbi::TcParseTable<0, 3, 3, 0, 2> Rvalue::_table_ = {
3508
  {
3509
    0,  // no _has_bits_
3510
    0, // no _extensions_
3511
    3, 0,  // max_field_number, fast_idx_mask
3512
    offsetof(decltype(_table_), field_lookup_table),
3513
    4294967288,  // skipmap
3514
    offsetof(decltype(_table_), field_entries),
3515
    3,  // num_field_entries
3516
    3,  // num_aux_entries
3517
    offsetof(decltype(_table_), aux_entries),
3518
    _class_data_.base(),
3519
    nullptr,  // post_loop_handler
3520
    ::_pbi::TcParser::GenericFallback,  // fallback
3521
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3522
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>(),  // to_prefetch
3523
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3524
  }, {{
3525
    {::_pbi::TcParser::MiniParse, {}},
3526
  }}, {{
3527
    65535, 65535
3528
  }}, {{
3529
    // .ruby_fuzzer.VarRef varref = 1;
3530
    {PROTOBUF_FIELD_OFFSET(Rvalue, _impl_.rvalue_oneof_.varref_), _Internal::kOneofCaseOffset + 0, 0,
3531
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
3532
    // .ruby_fuzzer.Const cons = 2;
3533
    {PROTOBUF_FIELD_OFFSET(Rvalue, _impl_.rvalue_oneof_.cons_), _Internal::kOneofCaseOffset + 0, 1,
3534
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
3535
    // .ruby_fuzzer.BinaryOp binop = 3;
3536
    {PROTOBUF_FIELD_OFFSET(Rvalue, _impl_.rvalue_oneof_.binop_), _Internal::kOneofCaseOffset + 0, 2,
3537
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
3538
  }}, {{
3539
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::VarRef>()},
3540
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Const>()},
3541
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::BinaryOp>()},
3542
  }}, {{
3543
  }},
3544
};
3545
3546
902
PROTOBUF_NOINLINE void Rvalue::Clear() {
3547
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Rvalue)
3548
902
  ::google::protobuf::internal::TSanWrite(&_impl_);
3549
902
  ::uint32_t cached_has_bits = 0;
3550
  // Prevent compiler warnings about cached_has_bits being unused
3551
902
  (void) cached_has_bits;
3552
3553
902
  clear_rvalue_oneof();
3554
902
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3555
902
}
3556
3557
#if defined(PROTOBUF_CUSTOM_VTABLE)
3558
        ::uint8_t* Rvalue::_InternalSerialize(
3559
            const MessageLite& base, ::uint8_t* target,
3560
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3561
          const Rvalue& this_ = static_cast<const Rvalue&>(base);
3562
#else   // PROTOBUF_CUSTOM_VTABLE
3563
        ::uint8_t* Rvalue::_InternalSerialize(
3564
            ::uint8_t* target,
3565
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3566
0
          const Rvalue& this_ = *this;
3567
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3568
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Rvalue)
3569
0
          ::uint32_t cached_has_bits = 0;
3570
0
          (void)cached_has_bits;
3571
3572
0
          switch (this_.rvalue_oneof_case()) {
3573
0
            case kVarref: {
3574
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3575
0
                  1, *this_._impl_.rvalue_oneof_.varref_, this_._impl_.rvalue_oneof_.varref_->GetCachedSize(), target,
3576
0
                  stream);
3577
0
              break;
3578
0
            }
3579
0
            case kCons: {
3580
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3581
0
                  2, *this_._impl_.rvalue_oneof_.cons_, this_._impl_.rvalue_oneof_.cons_->GetCachedSize(), target,
3582
0
                  stream);
3583
0
              break;
3584
0
            }
3585
0
            case kBinop: {
3586
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3587
0
                  3, *this_._impl_.rvalue_oneof_.binop_, this_._impl_.rvalue_oneof_.binop_->GetCachedSize(), target,
3588
0
                  stream);
3589
0
              break;
3590
0
            }
3591
0
            default:
3592
0
              break;
3593
0
          }
3594
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3595
0
            target =
3596
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3597
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3598
0
          }
3599
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Rvalue)
3600
0
          return target;
3601
0
        }
3602
3603
#if defined(PROTOBUF_CUSTOM_VTABLE)
3604
        ::size_t Rvalue::ByteSizeLong(const MessageLite& base) {
3605
          const Rvalue& this_ = static_cast<const Rvalue&>(base);
3606
#else   // PROTOBUF_CUSTOM_VTABLE
3607
0
        ::size_t Rvalue::ByteSizeLong() const {
3608
0
          const Rvalue& this_ = *this;
3609
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3610
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Rvalue)
3611
0
          ::size_t total_size = 0;
3612
3613
0
          ::uint32_t cached_has_bits = 0;
3614
          // Prevent compiler warnings about cached_has_bits being unused
3615
0
          (void)cached_has_bits;
3616
3617
0
          switch (this_.rvalue_oneof_case()) {
3618
            // .ruby_fuzzer.VarRef varref = 1;
3619
0
            case kVarref: {
3620
0
              total_size += 1 +
3621
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rvalue_oneof_.varref_);
3622
0
              break;
3623
0
            }
3624
            // .ruby_fuzzer.Const cons = 2;
3625
0
            case kCons: {
3626
0
              total_size += 1 +
3627
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rvalue_oneof_.cons_);
3628
0
              break;
3629
0
            }
3630
            // .ruby_fuzzer.BinaryOp binop = 3;
3631
0
            case kBinop: {
3632
0
              total_size += 1 +
3633
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rvalue_oneof_.binop_);
3634
0
              break;
3635
0
            }
3636
0
            case RVALUE_ONEOF_NOT_SET: {
3637
0
              break;
3638
0
            }
3639
0
          }
3640
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3641
0
                                                     &this_._impl_._cached_size_);
3642
0
        }
3643
3644
451
void Rvalue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3645
451
  auto* const _this = static_cast<Rvalue*>(&to_msg);
3646
451
  auto& from = static_cast<const Rvalue&>(from_msg);
3647
451
  ::google::protobuf::Arena* arena = _this->GetArena();
3648
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Rvalue)
3649
451
  ABSL_DCHECK_NE(&from, _this);
3650
451
  ::uint32_t cached_has_bits = 0;
3651
451
  (void) cached_has_bits;
3652
3653
451
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
3654
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
3655
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
3656
0
    if (oneof_needs_init) {
3657
0
      if (oneof_to_case != 0) {
3658
0
        _this->clear_rvalue_oneof();
3659
0
      }
3660
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
3661
0
    }
3662
3663
0
    switch (oneof_from_case) {
3664
0
      case kVarref: {
3665
0
        if (oneof_needs_init) {
3666
0
          _this->_impl_.rvalue_oneof_.varref_ =
3667
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::VarRef>(arena, *from._impl_.rvalue_oneof_.varref_);
3668
0
        } else {
3669
0
          _this->_impl_.rvalue_oneof_.varref_->MergeFrom(from._internal_varref());
3670
0
        }
3671
0
        break;
3672
0
      }
3673
0
      case kCons: {
3674
0
        if (oneof_needs_init) {
3675
0
          _this->_impl_.rvalue_oneof_.cons_ =
3676
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Const>(arena, *from._impl_.rvalue_oneof_.cons_);
3677
0
        } else {
3678
0
          _this->_impl_.rvalue_oneof_.cons_->MergeFrom(from._internal_cons());
3679
0
        }
3680
0
        break;
3681
0
      }
3682
0
      case kBinop: {
3683
0
        if (oneof_needs_init) {
3684
0
          _this->_impl_.rvalue_oneof_.binop_ =
3685
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::BinaryOp>(arena, *from._impl_.rvalue_oneof_.binop_);
3686
0
        } else {
3687
0
          _this->_impl_.rvalue_oneof_.binop_->MergeFrom(from._internal_binop());
3688
0
        }
3689
0
        break;
3690
0
      }
3691
0
      case RVALUE_ONEOF_NOT_SET:
3692
0
        break;
3693
0
    }
3694
0
  }
3695
451
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3696
451
}
3697
3698
0
void Rvalue::CopyFrom(const Rvalue& from) {
3699
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Rvalue)
3700
0
  if (&from == this) return;
3701
0
  Clear();
3702
0
  MergeFrom(from);
3703
0
}
3704
3705
PROTOBUF_NOINLINE bool Rvalue::IsInitializedImpl(
3706
0
    const MessageLite& msg) {
3707
0
  auto& this_ = static_cast<const Rvalue&>(msg);
3708
0
  switch (this_.rvalue_oneof_case()) {
3709
0
    case kVarref: {
3710
0
      if (this_.rvalue_oneof_case() == kVarref && !this_._impl_.rvalue_oneof_.varref_->IsInitialized())
3711
0
        return false;
3712
0
      break;
3713
0
    }
3714
0
    case kCons: {
3715
0
      break;
3716
0
    }
3717
0
    case kBinop: {
3718
0
      if (this_.rvalue_oneof_case() == kBinop && !this_._impl_.rvalue_oneof_.binop_->IsInitialized())
3719
0
        return false;
3720
0
      break;
3721
0
    }
3722
0
    case RVALUE_ONEOF_NOT_SET: {
3723
0
      break;
3724
0
    }
3725
0
  }
3726
0
  return true;
3727
0
}
3728
3729
0
void Rvalue::InternalSwap(Rvalue* PROTOBUF_RESTRICT other) {
3730
0
  using std::swap;
3731
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3732
0
  swap(_impl_.rvalue_oneof_, other->_impl_.rvalue_oneof_);
3733
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
3734
0
}
3735
3736
0
::google::protobuf::Metadata Rvalue::GetMetadata() const {
3737
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3738
0
}
3739
// ===================================================================
3740
3741
class AssignmentStatement::_Internal {
3742
 public:
3743
  using HasBits =
3744
      decltype(std::declval<AssignmentStatement>()._impl_._has_bits_);
3745
  static constexpr ::int32_t kHasBitsOffset =
3746
      8 * PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_._has_bits_);
3747
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
3748
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
3749
0
  }
3750
};
3751
3752
AssignmentStatement::AssignmentStatement(::google::protobuf::Arena* arena)
3753
#if defined(PROTOBUF_CUSTOM_VTABLE)
3754
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3755
#else   // PROTOBUF_CUSTOM_VTABLE
3756
324k
    : ::google::protobuf::Message(arena) {
3757
324k
#endif  // PROTOBUF_CUSTOM_VTABLE
3758
324k
  SharedCtor(arena);
3759
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.AssignmentStatement)
3760
324k
}
3761
inline PROTOBUF_NDEBUG_INLINE AssignmentStatement::Impl_::Impl_(
3762
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3763
    const Impl_& from, const ::ruby_fuzzer::AssignmentStatement& from_msg)
3764
0
      : _has_bits_{from._has_bits_},
3765
0
        _cached_size_{0} {}
3766
3767
AssignmentStatement::AssignmentStatement(
3768
    ::google::protobuf::Arena* arena,
3769
    const AssignmentStatement& from)
3770
#if defined(PROTOBUF_CUSTOM_VTABLE)
3771
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3772
#else   // PROTOBUF_CUSTOM_VTABLE
3773
0
    : ::google::protobuf::Message(arena) {
3774
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3775
0
  AssignmentStatement* const _this = this;
3776
0
  (void)_this;
3777
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3778
0
      from._internal_metadata_);
3779
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3780
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
3781
0
  _impl_.rvalue_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
3782
0
                              arena, *from._impl_.rvalue_)
3783
0
                        : nullptr;
3784
3785
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.AssignmentStatement)
3786
0
}
3787
inline PROTOBUF_NDEBUG_INLINE AssignmentStatement::Impl_::Impl_(
3788
    ::google::protobuf::internal::InternalVisibility visibility,
3789
    ::google::protobuf::Arena* arena)
3790
324k
      : _cached_size_{0} {}
3791
3792
324k
inline void AssignmentStatement::SharedCtor(::_pb::Arena* arena) {
3793
324k
  new (&_impl_) Impl_(internal_visibility(), arena);
3794
324k
  _impl_.rvalue_ = {};
3795
324k
}
3796
324k
AssignmentStatement::~AssignmentStatement() {
3797
  // @@protoc_insertion_point(destructor:ruby_fuzzer.AssignmentStatement)
3798
324k
  SharedDtor(*this);
3799
324k
}
3800
324k
inline void AssignmentStatement::SharedDtor(MessageLite& self) {
3801
324k
  AssignmentStatement& this_ = static_cast<AssignmentStatement&>(self);
3802
324k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3803
324k
  ABSL_DCHECK(this_.GetArena() == nullptr);
3804
324k
  delete this_._impl_.rvalue_;
3805
324k
  this_._impl_.~Impl_();
3806
324k
}
3807
3808
inline void* AssignmentStatement::PlacementNew_(const void*, void* mem,
3809
324k
                                        ::google::protobuf::Arena* arena) {
3810
324k
  return ::new (mem) AssignmentStatement(arena);
3811
324k
}
3812
0
constexpr auto AssignmentStatement::InternalNewImpl_() {
3813
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AssignmentStatement),
3814
0
                                            alignof(AssignmentStatement));
3815
0
}
3816
PROTOBUF_CONSTINIT
3817
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3818
const ::google::protobuf::internal::ClassDataFull AssignmentStatement::_class_data_ = {
3819
    ::google::protobuf::internal::ClassData{
3820
        &_AssignmentStatement_default_instance_._instance,
3821
        &_table_.header,
3822
        nullptr,  // OnDemandRegisterArenaDtor
3823
        AssignmentStatement::IsInitializedImpl,
3824
        &AssignmentStatement::MergeImpl,
3825
        ::google::protobuf::Message::GetNewImpl<AssignmentStatement>(),
3826
#if defined(PROTOBUF_CUSTOM_VTABLE)
3827
        &AssignmentStatement::SharedDtor,
3828
        ::google::protobuf::Message::GetClearImpl<AssignmentStatement>(), &AssignmentStatement::ByteSizeLong,
3829
            &AssignmentStatement::_InternalSerialize,
3830
#endif  // PROTOBUF_CUSTOM_VTABLE
3831
        PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_._cached_size_),
3832
        false,
3833
    },
3834
    &AssignmentStatement::kDescriptorMethods,
3835
    &descriptor_table_ruby_2eproto,
3836
    nullptr,  // tracker
3837
};
3838
3.24M
const ::google::protobuf::internal::ClassData* AssignmentStatement::GetClassData() const {
3839
3.24M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3840
3.24M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3841
3.24M
  return _class_data_.base();
3842
3.24M
}
3843
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3844
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> AssignmentStatement::_table_ = {
3845
  {
3846
    PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_._has_bits_),
3847
    0, // no _extensions_
3848
    2, 0,  // max_field_number, fast_idx_mask
3849
    offsetof(decltype(_table_), field_lookup_table),
3850
    4294967293,  // skipmap
3851
    offsetof(decltype(_table_), field_entries),
3852
    1,  // num_field_entries
3853
    1,  // num_aux_entries
3854
    offsetof(decltype(_table_), aux_entries),
3855
    _class_data_.base(),
3856
    nullptr,  // post_loop_handler
3857
    ::_pbi::TcParser::GenericFallback,  // fallback
3858
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3859
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::AssignmentStatement>(),  // to_prefetch
3860
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3861
  }, {{
3862
    // required .ruby_fuzzer.Rvalue rvalue = 2;
3863
    {::_pbi::TcParser::FastMtS1,
3864
     {18, 0, 0, PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.rvalue_)}},
3865
  }}, {{
3866
    65535, 65535
3867
  }}, {{
3868
    // required .ruby_fuzzer.Rvalue rvalue = 2;
3869
    {PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.rvalue_), _Internal::kHasBitsOffset + 0, 0,
3870
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3871
  }}, {{
3872
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
3873
  }}, {{
3874
  }},
3875
};
3876
3877
0
PROTOBUF_NOINLINE void AssignmentStatement::Clear() {
3878
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.AssignmentStatement)
3879
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
3880
0
  ::uint32_t cached_has_bits = 0;
3881
  // Prevent compiler warnings about cached_has_bits being unused
3882
0
  (void) cached_has_bits;
3883
3884
0
  cached_has_bits = _impl_._has_bits_[0];
3885
0
  if (cached_has_bits & 0x00000001u) {
3886
0
    ABSL_DCHECK(_impl_.rvalue_ != nullptr);
3887
0
    _impl_.rvalue_->Clear();
3888
0
  }
3889
0
  _impl_._has_bits_.Clear();
3890
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3891
0
}
3892
3893
#if defined(PROTOBUF_CUSTOM_VTABLE)
3894
        ::uint8_t* AssignmentStatement::_InternalSerialize(
3895
            const MessageLite& base, ::uint8_t* target,
3896
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3897
          const AssignmentStatement& this_ = static_cast<const AssignmentStatement&>(base);
3898
#else   // PROTOBUF_CUSTOM_VTABLE
3899
        ::uint8_t* AssignmentStatement::_InternalSerialize(
3900
            ::uint8_t* target,
3901
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3902
0
          const AssignmentStatement& this_ = *this;
3903
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3904
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.AssignmentStatement)
3905
0
          ::uint32_t cached_has_bits = 0;
3906
0
          (void)cached_has_bits;
3907
3908
0
          cached_has_bits = this_._impl_._has_bits_[0];
3909
          // required .ruby_fuzzer.Rvalue rvalue = 2;
3910
0
          if (cached_has_bits & 0x00000001u) {
3911
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3912
0
                2, *this_._impl_.rvalue_, this_._impl_.rvalue_->GetCachedSize(), target,
3913
0
                stream);
3914
0
          }
3915
3916
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3917
0
            target =
3918
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3919
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3920
0
          }
3921
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.AssignmentStatement)
3922
0
          return target;
3923
0
        }
3924
3925
#if defined(PROTOBUF_CUSTOM_VTABLE)
3926
        ::size_t AssignmentStatement::ByteSizeLong(const MessageLite& base) {
3927
          const AssignmentStatement& this_ = static_cast<const AssignmentStatement&>(base);
3928
#else   // PROTOBUF_CUSTOM_VTABLE
3929
0
        ::size_t AssignmentStatement::ByteSizeLong() const {
3930
0
          const AssignmentStatement& this_ = *this;
3931
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3932
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.AssignmentStatement)
3933
0
          ::size_t total_size = 0;
3934
3935
0
          ::uint32_t cached_has_bits = 0;
3936
          // Prevent compiler warnings about cached_has_bits being unused
3937
0
          (void)cached_has_bits;
3938
3939
0
           {
3940
            // required .ruby_fuzzer.Rvalue rvalue = 2;
3941
0
            cached_has_bits = this_._impl_._has_bits_[0];
3942
0
            if (cached_has_bits & 0x00000001u) {
3943
0
              total_size += 1 +
3944
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rvalue_);
3945
0
            }
3946
0
          }
3947
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3948
0
                                                     &this_._impl_._cached_size_);
3949
0
        }
3950
3951
0
void AssignmentStatement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3952
0
  auto* const _this = static_cast<AssignmentStatement*>(&to_msg);
3953
0
  auto& from = static_cast<const AssignmentStatement&>(from_msg);
3954
0
  ::google::protobuf::Arena* arena = _this->GetArena();
3955
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.AssignmentStatement)
3956
0
  ABSL_DCHECK_NE(&from, _this);
3957
0
  ::uint32_t cached_has_bits = 0;
3958
0
  (void) cached_has_bits;
3959
3960
0
  cached_has_bits = from._impl_._has_bits_[0];
3961
0
  if (cached_has_bits & 0x00000001u) {
3962
0
    ABSL_DCHECK(from._impl_.rvalue_ != nullptr);
3963
0
    if (_this->_impl_.rvalue_ == nullptr) {
3964
0
      _this->_impl_.rvalue_ =
3965
0
          ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.rvalue_);
3966
0
    } else {
3967
0
      _this->_impl_.rvalue_->MergeFrom(*from._impl_.rvalue_);
3968
0
    }
3969
0
  }
3970
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
3971
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3972
0
}
3973
3974
0
void AssignmentStatement::CopyFrom(const AssignmentStatement& from) {
3975
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.AssignmentStatement)
3976
0
  if (&from == this) return;
3977
0
  Clear();
3978
0
  MergeFrom(from);
3979
0
}
3980
3981
PROTOBUF_NOINLINE bool AssignmentStatement::IsInitializedImpl(
3982
0
    const MessageLite& msg) {
3983
0
  auto& this_ = static_cast<const AssignmentStatement&>(msg);
3984
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
3985
0
    return false;
3986
0
  }
3987
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
3988
0
    if (!this_._impl_.rvalue_->IsInitialized()) return false;
3989
0
  }
3990
0
  return true;
3991
0
}
3992
3993
0
void AssignmentStatement::InternalSwap(AssignmentStatement* PROTOBUF_RESTRICT other) {
3994
0
  using std::swap;
3995
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3996
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3997
0
  swap(_impl_.rvalue_, other->_impl_.rvalue_);
3998
0
}
3999
4000
0
::google::protobuf::Metadata AssignmentStatement::GetMetadata() const {
4001
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4002
0
}
4003
// ===================================================================
4004
4005
class IfElse::_Internal {
4006
 public:
4007
  using HasBits =
4008
      decltype(std::declval<IfElse>()._impl_._has_bits_);
4009
  static constexpr ::int32_t kHasBitsOffset =
4010
      8 * PROTOBUF_FIELD_OFFSET(IfElse, _impl_._has_bits_);
4011
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
4012
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
4013
0
  }
4014
};
4015
4016
IfElse::IfElse(::google::protobuf::Arena* arena)
4017
#if defined(PROTOBUF_CUSTOM_VTABLE)
4018
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4019
#else   // PROTOBUF_CUSTOM_VTABLE
4020
33.3k
    : ::google::protobuf::Message(arena) {
4021
33.3k
#endif  // PROTOBUF_CUSTOM_VTABLE
4022
33.3k
  SharedCtor(arena);
4023
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.IfElse)
4024
33.3k
}
4025
inline PROTOBUF_NDEBUG_INLINE IfElse::Impl_::Impl_(
4026
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
4027
    const Impl_& from, const ::ruby_fuzzer::IfElse& from_msg)
4028
0
      : _has_bits_{from._has_bits_},
4029
0
        _cached_size_{0} {}
4030
4031
IfElse::IfElse(
4032
    ::google::protobuf::Arena* arena,
4033
    const IfElse& from)
4034
#if defined(PROTOBUF_CUSTOM_VTABLE)
4035
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4036
#else   // PROTOBUF_CUSTOM_VTABLE
4037
0
    : ::google::protobuf::Message(arena) {
4038
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4039
0
  IfElse* const _this = this;
4040
0
  (void)_this;
4041
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4042
0
      from._internal_metadata_);
4043
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4044
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
4045
0
  _impl_.cond_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
4046
0
                              arena, *from._impl_.cond_)
4047
0
                        : nullptr;
4048
0
  _impl_.if_body_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(
4049
0
                              arena, *from._impl_.if_body_)
4050
0
                        : nullptr;
4051
0
  _impl_.else_body_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(
4052
0
                              arena, *from._impl_.else_body_)
4053
0
                        : nullptr;
4054
4055
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.IfElse)
4056
0
}
4057
inline PROTOBUF_NDEBUG_INLINE IfElse::Impl_::Impl_(
4058
    ::google::protobuf::internal::InternalVisibility visibility,
4059
    ::google::protobuf::Arena* arena)
4060
33.3k
      : _cached_size_{0} {}
4061
4062
33.3k
inline void IfElse::SharedCtor(::_pb::Arena* arena) {
4063
33.3k
  new (&_impl_) Impl_(internal_visibility(), arena);
4064
33.3k
  ::memset(reinterpret_cast<char *>(&_impl_) +
4065
33.3k
               offsetof(Impl_, cond_),
4066
33.3k
           0,
4067
33.3k
           offsetof(Impl_, else_body_) -
4068
33.3k
               offsetof(Impl_, cond_) +
4069
33.3k
               sizeof(Impl_::else_body_));
4070
33.3k
}
4071
33.3k
IfElse::~IfElse() {
4072
  // @@protoc_insertion_point(destructor:ruby_fuzzer.IfElse)
4073
33.3k
  SharedDtor(*this);
4074
33.3k
}
4075
33.3k
inline void IfElse::SharedDtor(MessageLite& self) {
4076
33.3k
  IfElse& this_ = static_cast<IfElse&>(self);
4077
33.3k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4078
33.3k
  ABSL_DCHECK(this_.GetArena() == nullptr);
4079
33.3k
  delete this_._impl_.cond_;
4080
33.3k
  delete this_._impl_.if_body_;
4081
33.3k
  delete this_._impl_.else_body_;
4082
33.3k
  this_._impl_.~Impl_();
4083
33.3k
}
4084
4085
inline void* IfElse::PlacementNew_(const void*, void* mem,
4086
33.3k
                                        ::google::protobuf::Arena* arena) {
4087
33.3k
  return ::new (mem) IfElse(arena);
4088
33.3k
}
4089
0
constexpr auto IfElse::InternalNewImpl_() {
4090
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IfElse),
4091
0
                                            alignof(IfElse));
4092
0
}
4093
PROTOBUF_CONSTINIT
4094
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4095
const ::google::protobuf::internal::ClassDataFull IfElse::_class_data_ = {
4096
    ::google::protobuf::internal::ClassData{
4097
        &_IfElse_default_instance_._instance,
4098
        &_table_.header,
4099
        nullptr,  // OnDemandRegisterArenaDtor
4100
        IfElse::IsInitializedImpl,
4101
        &IfElse::MergeImpl,
4102
        ::google::protobuf::Message::GetNewImpl<IfElse>(),
4103
#if defined(PROTOBUF_CUSTOM_VTABLE)
4104
        &IfElse::SharedDtor,
4105
        ::google::protobuf::Message::GetClearImpl<IfElse>(), &IfElse::ByteSizeLong,
4106
            &IfElse::_InternalSerialize,
4107
#endif  // PROTOBUF_CUSTOM_VTABLE
4108
        PROTOBUF_FIELD_OFFSET(IfElse, _impl_._cached_size_),
4109
        false,
4110
    },
4111
    &IfElse::kDescriptorMethods,
4112
    &descriptor_table_ruby_2eproto,
4113
    nullptr,  // tracker
4114
};
4115
533k
const ::google::protobuf::internal::ClassData* IfElse::GetClassData() const {
4116
533k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
4117
533k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
4118
533k
  return _class_data_.base();
4119
533k
}
4120
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4121
const ::_pbi::TcParseTable<2, 3, 3, 0, 2> IfElse::_table_ = {
4122
  {
4123
    PROTOBUF_FIELD_OFFSET(IfElse, _impl_._has_bits_),
4124
    0, // no _extensions_
4125
    3, 24,  // max_field_number, fast_idx_mask
4126
    offsetof(decltype(_table_), field_lookup_table),
4127
    4294967288,  // skipmap
4128
    offsetof(decltype(_table_), field_entries),
4129
    3,  // num_field_entries
4130
    3,  // num_aux_entries
4131
    offsetof(decltype(_table_), aux_entries),
4132
    _class_data_.base(),
4133
    nullptr,  // post_loop_handler
4134
    ::_pbi::TcParser::GenericFallback,  // fallback
4135
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4136
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::IfElse>(),  // to_prefetch
4137
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
4138
  }, {{
4139
    {::_pbi::TcParser::MiniParse, {}},
4140
    // required .ruby_fuzzer.Rvalue cond = 1;
4141
    {::_pbi::TcParser::FastMtS1,
4142
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(IfElse, _impl_.cond_)}},
4143
    // required .ruby_fuzzer.StatementSeq if_body = 2;
4144
    {::_pbi::TcParser::FastMtS1,
4145
     {18, 1, 1, PROTOBUF_FIELD_OFFSET(IfElse, _impl_.if_body_)}},
4146
    // required .ruby_fuzzer.StatementSeq else_body = 3;
4147
    {::_pbi::TcParser::FastMtS1,
4148
     {26, 2, 2, PROTOBUF_FIELD_OFFSET(IfElse, _impl_.else_body_)}},
4149
  }}, {{
4150
    65535, 65535
4151
  }}, {{
4152
    // required .ruby_fuzzer.Rvalue cond = 1;
4153
    {PROTOBUF_FIELD_OFFSET(IfElse, _impl_.cond_), _Internal::kHasBitsOffset + 0, 0,
4154
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4155
    // required .ruby_fuzzer.StatementSeq if_body = 2;
4156
    {PROTOBUF_FIELD_OFFSET(IfElse, _impl_.if_body_), _Internal::kHasBitsOffset + 1, 1,
4157
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4158
    // required .ruby_fuzzer.StatementSeq else_body = 3;
4159
    {PROTOBUF_FIELD_OFFSET(IfElse, _impl_.else_body_), _Internal::kHasBitsOffset + 2, 2,
4160
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4161
  }}, {{
4162
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
4163
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::StatementSeq>()},
4164
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::StatementSeq>()},
4165
  }}, {{
4166
  }},
4167
};
4168
4169
0
PROTOBUF_NOINLINE void IfElse::Clear() {
4170
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.IfElse)
4171
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
4172
0
  ::uint32_t cached_has_bits = 0;
4173
  // Prevent compiler warnings about cached_has_bits being unused
4174
0
  (void) cached_has_bits;
4175
4176
0
  cached_has_bits = _impl_._has_bits_[0];
4177
0
  if (cached_has_bits & 0x00000007u) {
4178
0
    if (cached_has_bits & 0x00000001u) {
4179
0
      ABSL_DCHECK(_impl_.cond_ != nullptr);
4180
0
      _impl_.cond_->Clear();
4181
0
    }
4182
0
    if (cached_has_bits & 0x00000002u) {
4183
0
      ABSL_DCHECK(_impl_.if_body_ != nullptr);
4184
0
      _impl_.if_body_->Clear();
4185
0
    }
4186
0
    if (cached_has_bits & 0x00000004u) {
4187
0
      ABSL_DCHECK(_impl_.else_body_ != nullptr);
4188
0
      _impl_.else_body_->Clear();
4189
0
    }
4190
0
  }
4191
0
  _impl_._has_bits_.Clear();
4192
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4193
0
}
4194
4195
#if defined(PROTOBUF_CUSTOM_VTABLE)
4196
        ::uint8_t* IfElse::_InternalSerialize(
4197
            const MessageLite& base, ::uint8_t* target,
4198
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
4199
          const IfElse& this_ = static_cast<const IfElse&>(base);
4200
#else   // PROTOBUF_CUSTOM_VTABLE
4201
        ::uint8_t* IfElse::_InternalSerialize(
4202
            ::uint8_t* target,
4203
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4204
0
          const IfElse& this_ = *this;
4205
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4206
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.IfElse)
4207
0
          ::uint32_t cached_has_bits = 0;
4208
0
          (void)cached_has_bits;
4209
4210
0
          cached_has_bits = this_._impl_._has_bits_[0];
4211
          // required .ruby_fuzzer.Rvalue cond = 1;
4212
0
          if (cached_has_bits & 0x00000001u) {
4213
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4214
0
                1, *this_._impl_.cond_, this_._impl_.cond_->GetCachedSize(), target,
4215
0
                stream);
4216
0
          }
4217
4218
          // required .ruby_fuzzer.StatementSeq if_body = 2;
4219
0
          if (cached_has_bits & 0x00000002u) {
4220
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4221
0
                2, *this_._impl_.if_body_, this_._impl_.if_body_->GetCachedSize(), target,
4222
0
                stream);
4223
0
          }
4224
4225
          // required .ruby_fuzzer.StatementSeq else_body = 3;
4226
0
          if (cached_has_bits & 0x00000004u) {
4227
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4228
0
                3, *this_._impl_.else_body_, this_._impl_.else_body_->GetCachedSize(), target,
4229
0
                stream);
4230
0
          }
4231
4232
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4233
0
            target =
4234
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4235
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4236
0
          }
4237
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.IfElse)
4238
0
          return target;
4239
0
        }
4240
4241
#if defined(PROTOBUF_CUSTOM_VTABLE)
4242
        ::size_t IfElse::ByteSizeLong(const MessageLite& base) {
4243
          const IfElse& this_ = static_cast<const IfElse&>(base);
4244
#else   // PROTOBUF_CUSTOM_VTABLE
4245
0
        ::size_t IfElse::ByteSizeLong() const {
4246
0
          const IfElse& this_ = *this;
4247
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4248
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.IfElse)
4249
0
          ::size_t total_size = 0;
4250
4251
0
          ::uint32_t cached_has_bits = 0;
4252
          // Prevent compiler warnings about cached_has_bits being unused
4253
0
          (void)cached_has_bits;
4254
4255
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4256
0
          cached_has_bits = this_._impl_._has_bits_[0];
4257
0
          if (cached_has_bits & 0x00000007u) {
4258
            // required .ruby_fuzzer.Rvalue cond = 1;
4259
0
            if (cached_has_bits & 0x00000001u) {
4260
0
              total_size += 1 +
4261
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cond_);
4262
0
            }
4263
            // required .ruby_fuzzer.StatementSeq if_body = 2;
4264
0
            if (cached_has_bits & 0x00000002u) {
4265
0
              total_size += 1 +
4266
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.if_body_);
4267
0
            }
4268
            // required .ruby_fuzzer.StatementSeq else_body = 3;
4269
0
            if (cached_has_bits & 0x00000004u) {
4270
0
              total_size += 1 +
4271
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.else_body_);
4272
0
            }
4273
0
          }
4274
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
4275
0
                                                     &this_._impl_._cached_size_);
4276
0
        }
4277
4278
0
void IfElse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4279
0
  auto* const _this = static_cast<IfElse*>(&to_msg);
4280
0
  auto& from = static_cast<const IfElse&>(from_msg);
4281
0
  ::google::protobuf::Arena* arena = _this->GetArena();
4282
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.IfElse)
4283
0
  ABSL_DCHECK_NE(&from, _this);
4284
0
  ::uint32_t cached_has_bits = 0;
4285
0
  (void) cached_has_bits;
4286
4287
0
  cached_has_bits = from._impl_._has_bits_[0];
4288
0
  if (cached_has_bits & 0x00000007u) {
4289
0
    if (cached_has_bits & 0x00000001u) {
4290
0
      ABSL_DCHECK(from._impl_.cond_ != nullptr);
4291
0
      if (_this->_impl_.cond_ == nullptr) {
4292
0
        _this->_impl_.cond_ =
4293
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.cond_);
4294
0
      } else {
4295
0
        _this->_impl_.cond_->MergeFrom(*from._impl_.cond_);
4296
0
      }
4297
0
    }
4298
0
    if (cached_has_bits & 0x00000002u) {
4299
0
      ABSL_DCHECK(from._impl_.if_body_ != nullptr);
4300
0
      if (_this->_impl_.if_body_ == nullptr) {
4301
0
        _this->_impl_.if_body_ =
4302
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(arena, *from._impl_.if_body_);
4303
0
      } else {
4304
0
        _this->_impl_.if_body_->MergeFrom(*from._impl_.if_body_);
4305
0
      }
4306
0
    }
4307
0
    if (cached_has_bits & 0x00000004u) {
4308
0
      ABSL_DCHECK(from._impl_.else_body_ != nullptr);
4309
0
      if (_this->_impl_.else_body_ == nullptr) {
4310
0
        _this->_impl_.else_body_ =
4311
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(arena, *from._impl_.else_body_);
4312
0
      } else {
4313
0
        _this->_impl_.else_body_->MergeFrom(*from._impl_.else_body_);
4314
0
      }
4315
0
    }
4316
0
  }
4317
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
4318
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4319
0
}
4320
4321
0
void IfElse::CopyFrom(const IfElse& from) {
4322
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.IfElse)
4323
0
  if (&from == this) return;
4324
0
  Clear();
4325
0
  MergeFrom(from);
4326
0
}
4327
4328
PROTOBUF_NOINLINE bool IfElse::IsInitializedImpl(
4329
0
    const MessageLite& msg) {
4330
0
  auto& this_ = static_cast<const IfElse&>(msg);
4331
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
4332
0
    return false;
4333
0
  }
4334
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
4335
0
    if (!this_._impl_.cond_->IsInitialized()) return false;
4336
0
  }
4337
0
  if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
4338
0
    if (!this_._impl_.if_body_->IsInitialized()) return false;
4339
0
  }
4340
0
  if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
4341
0
    if (!this_._impl_.else_body_->IsInitialized()) return false;
4342
0
  }
4343
0
  return true;
4344
0
}
4345
4346
0
void IfElse::InternalSwap(IfElse* PROTOBUF_RESTRICT other) {
4347
0
  using std::swap;
4348
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4349
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4350
0
  ::google::protobuf::internal::memswap<
4351
0
      PROTOBUF_FIELD_OFFSET(IfElse, _impl_.else_body_)
4352
0
      + sizeof(IfElse::_impl_.else_body_)
4353
0
      - PROTOBUF_FIELD_OFFSET(IfElse, _impl_.cond_)>(
4354
0
          reinterpret_cast<char*>(&_impl_.cond_),
4355
0
          reinterpret_cast<char*>(&other->_impl_.cond_));
4356
0
}
4357
4358
0
::google::protobuf::Metadata IfElse::GetMetadata() const {
4359
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4360
0
}
4361
// ===================================================================
4362
4363
class Ternary::_Internal {
4364
 public:
4365
  using HasBits =
4366
      decltype(std::declval<Ternary>()._impl_._has_bits_);
4367
  static constexpr ::int32_t kHasBitsOffset =
4368
      8 * PROTOBUF_FIELD_OFFSET(Ternary, _impl_._has_bits_);
4369
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
4370
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
4371
0
  }
4372
};
4373
4374
Ternary::Ternary(::google::protobuf::Arena* arena)
4375
#if defined(PROTOBUF_CUSTOM_VTABLE)
4376
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4377
#else   // PROTOBUF_CUSTOM_VTABLE
4378
15.1k
    : ::google::protobuf::Message(arena) {
4379
15.1k
#endif  // PROTOBUF_CUSTOM_VTABLE
4380
15.1k
  SharedCtor(arena);
4381
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Ternary)
4382
15.1k
}
4383
inline PROTOBUF_NDEBUG_INLINE Ternary::Impl_::Impl_(
4384
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
4385
    const Impl_& from, const ::ruby_fuzzer::Ternary& from_msg)
4386
0
      : _has_bits_{from._has_bits_},
4387
0
        _cached_size_{0} {}
4388
4389
Ternary::Ternary(
4390
    ::google::protobuf::Arena* arena,
4391
    const Ternary& from)
4392
#if defined(PROTOBUF_CUSTOM_VTABLE)
4393
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4394
#else   // PROTOBUF_CUSTOM_VTABLE
4395
0
    : ::google::protobuf::Message(arena) {
4396
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4397
0
  Ternary* const _this = this;
4398
0
  (void)_this;
4399
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4400
0
      from._internal_metadata_);
4401
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4402
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
4403
0
  _impl_.tern_cond_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
4404
0
                              arena, *from._impl_.tern_cond_)
4405
0
                        : nullptr;
4406
0
  _impl_.t_branch_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
4407
0
                              arena, *from._impl_.t_branch_)
4408
0
                        : nullptr;
4409
0
  _impl_.f_branch_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
4410
0
                              arena, *from._impl_.f_branch_)
4411
0
                        : nullptr;
4412
4413
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.Ternary)
4414
0
}
4415
inline PROTOBUF_NDEBUG_INLINE Ternary::Impl_::Impl_(
4416
    ::google::protobuf::internal::InternalVisibility visibility,
4417
    ::google::protobuf::Arena* arena)
4418
15.1k
      : _cached_size_{0} {}
4419
4420
15.1k
inline void Ternary::SharedCtor(::_pb::Arena* arena) {
4421
15.1k
  new (&_impl_) Impl_(internal_visibility(), arena);
4422
15.1k
  ::memset(reinterpret_cast<char *>(&_impl_) +
4423
15.1k
               offsetof(Impl_, tern_cond_),
4424
15.1k
           0,
4425
15.1k
           offsetof(Impl_, f_branch_) -
4426
15.1k
               offsetof(Impl_, tern_cond_) +
4427
15.1k
               sizeof(Impl_::f_branch_));
4428
15.1k
}
4429
15.1k
Ternary::~Ternary() {
4430
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Ternary)
4431
15.1k
  SharedDtor(*this);
4432
15.1k
}
4433
15.1k
inline void Ternary::SharedDtor(MessageLite& self) {
4434
15.1k
  Ternary& this_ = static_cast<Ternary&>(self);
4435
15.1k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4436
15.1k
  ABSL_DCHECK(this_.GetArena() == nullptr);
4437
15.1k
  delete this_._impl_.tern_cond_;
4438
15.1k
  delete this_._impl_.t_branch_;
4439
15.1k
  delete this_._impl_.f_branch_;
4440
15.1k
  this_._impl_.~Impl_();
4441
15.1k
}
4442
4443
inline void* Ternary::PlacementNew_(const void*, void* mem,
4444
15.1k
                                        ::google::protobuf::Arena* arena) {
4445
15.1k
  return ::new (mem) Ternary(arena);
4446
15.1k
}
4447
0
constexpr auto Ternary::InternalNewImpl_() {
4448
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Ternary),
4449
0
                                            alignof(Ternary));
4450
0
}
4451
PROTOBUF_CONSTINIT
4452
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4453
const ::google::protobuf::internal::ClassDataFull Ternary::_class_data_ = {
4454
    ::google::protobuf::internal::ClassData{
4455
        &_Ternary_default_instance_._instance,
4456
        &_table_.header,
4457
        nullptr,  // OnDemandRegisterArenaDtor
4458
        Ternary::IsInitializedImpl,
4459
        &Ternary::MergeImpl,
4460
        ::google::protobuf::Message::GetNewImpl<Ternary>(),
4461
#if defined(PROTOBUF_CUSTOM_VTABLE)
4462
        &Ternary::SharedDtor,
4463
        ::google::protobuf::Message::GetClearImpl<Ternary>(), &Ternary::ByteSizeLong,
4464
            &Ternary::_InternalSerialize,
4465
#endif  // PROTOBUF_CUSTOM_VTABLE
4466
        PROTOBUF_FIELD_OFFSET(Ternary, _impl_._cached_size_),
4467
        false,
4468
    },
4469
    &Ternary::kDescriptorMethods,
4470
    &descriptor_table_ruby_2eproto,
4471
    nullptr,  // tracker
4472
};
4473
242k
const ::google::protobuf::internal::ClassData* Ternary::GetClassData() const {
4474
242k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
4475
242k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
4476
242k
  return _class_data_.base();
4477
242k
}
4478
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4479
const ::_pbi::TcParseTable<2, 3, 3, 0, 2> Ternary::_table_ = {
4480
  {
4481
    PROTOBUF_FIELD_OFFSET(Ternary, _impl_._has_bits_),
4482
    0, // no _extensions_
4483
    3, 24,  // max_field_number, fast_idx_mask
4484
    offsetof(decltype(_table_), field_lookup_table),
4485
    4294967288,  // skipmap
4486
    offsetof(decltype(_table_), field_entries),
4487
    3,  // num_field_entries
4488
    3,  // num_aux_entries
4489
    offsetof(decltype(_table_), aux_entries),
4490
    _class_data_.base(),
4491
    nullptr,  // post_loop_handler
4492
    ::_pbi::TcParser::GenericFallback,  // fallback
4493
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4494
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Ternary>(),  // to_prefetch
4495
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
4496
  }, {{
4497
    {::_pbi::TcParser::MiniParse, {}},
4498
    // required .ruby_fuzzer.Rvalue tern_cond = 1;
4499
    {::_pbi::TcParser::FastMtS1,
4500
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Ternary, _impl_.tern_cond_)}},
4501
    // required .ruby_fuzzer.Rvalue t_branch = 2;
4502
    {::_pbi::TcParser::FastMtS1,
4503
     {18, 1, 1, PROTOBUF_FIELD_OFFSET(Ternary, _impl_.t_branch_)}},
4504
    // required .ruby_fuzzer.Rvalue f_branch = 3;
4505
    {::_pbi::TcParser::FastMtS1,
4506
     {26, 2, 2, PROTOBUF_FIELD_OFFSET(Ternary, _impl_.f_branch_)}},
4507
  }}, {{
4508
    65535, 65535
4509
  }}, {{
4510
    // required .ruby_fuzzer.Rvalue tern_cond = 1;
4511
    {PROTOBUF_FIELD_OFFSET(Ternary, _impl_.tern_cond_), _Internal::kHasBitsOffset + 0, 0,
4512
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4513
    // required .ruby_fuzzer.Rvalue t_branch = 2;
4514
    {PROTOBUF_FIELD_OFFSET(Ternary, _impl_.t_branch_), _Internal::kHasBitsOffset + 1, 1,
4515
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4516
    // required .ruby_fuzzer.Rvalue f_branch = 3;
4517
    {PROTOBUF_FIELD_OFFSET(Ternary, _impl_.f_branch_), _Internal::kHasBitsOffset + 2, 2,
4518
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4519
  }}, {{
4520
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
4521
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
4522
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
4523
  }}, {{
4524
  }},
4525
};
4526
4527
0
PROTOBUF_NOINLINE void Ternary::Clear() {
4528
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Ternary)
4529
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
4530
0
  ::uint32_t cached_has_bits = 0;
4531
  // Prevent compiler warnings about cached_has_bits being unused
4532
0
  (void) cached_has_bits;
4533
4534
0
  cached_has_bits = _impl_._has_bits_[0];
4535
0
  if (cached_has_bits & 0x00000007u) {
4536
0
    if (cached_has_bits & 0x00000001u) {
4537
0
      ABSL_DCHECK(_impl_.tern_cond_ != nullptr);
4538
0
      _impl_.tern_cond_->Clear();
4539
0
    }
4540
0
    if (cached_has_bits & 0x00000002u) {
4541
0
      ABSL_DCHECK(_impl_.t_branch_ != nullptr);
4542
0
      _impl_.t_branch_->Clear();
4543
0
    }
4544
0
    if (cached_has_bits & 0x00000004u) {
4545
0
      ABSL_DCHECK(_impl_.f_branch_ != nullptr);
4546
0
      _impl_.f_branch_->Clear();
4547
0
    }
4548
0
  }
4549
0
  _impl_._has_bits_.Clear();
4550
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4551
0
}
4552
4553
#if defined(PROTOBUF_CUSTOM_VTABLE)
4554
        ::uint8_t* Ternary::_InternalSerialize(
4555
            const MessageLite& base, ::uint8_t* target,
4556
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
4557
          const Ternary& this_ = static_cast<const Ternary&>(base);
4558
#else   // PROTOBUF_CUSTOM_VTABLE
4559
        ::uint8_t* Ternary::_InternalSerialize(
4560
            ::uint8_t* target,
4561
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4562
0
          const Ternary& this_ = *this;
4563
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4564
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Ternary)
4565
0
          ::uint32_t cached_has_bits = 0;
4566
0
          (void)cached_has_bits;
4567
4568
0
          cached_has_bits = this_._impl_._has_bits_[0];
4569
          // required .ruby_fuzzer.Rvalue tern_cond = 1;
4570
0
          if (cached_has_bits & 0x00000001u) {
4571
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4572
0
                1, *this_._impl_.tern_cond_, this_._impl_.tern_cond_->GetCachedSize(), target,
4573
0
                stream);
4574
0
          }
4575
4576
          // required .ruby_fuzzer.Rvalue t_branch = 2;
4577
0
          if (cached_has_bits & 0x00000002u) {
4578
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4579
0
                2, *this_._impl_.t_branch_, this_._impl_.t_branch_->GetCachedSize(), target,
4580
0
                stream);
4581
0
          }
4582
4583
          // required .ruby_fuzzer.Rvalue f_branch = 3;
4584
0
          if (cached_has_bits & 0x00000004u) {
4585
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4586
0
                3, *this_._impl_.f_branch_, this_._impl_.f_branch_->GetCachedSize(), target,
4587
0
                stream);
4588
0
          }
4589
4590
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4591
0
            target =
4592
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4593
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4594
0
          }
4595
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Ternary)
4596
0
          return target;
4597
0
        }
4598
4599
#if defined(PROTOBUF_CUSTOM_VTABLE)
4600
        ::size_t Ternary::ByteSizeLong(const MessageLite& base) {
4601
          const Ternary& this_ = static_cast<const Ternary&>(base);
4602
#else   // PROTOBUF_CUSTOM_VTABLE
4603
0
        ::size_t Ternary::ByteSizeLong() const {
4604
0
          const Ternary& this_ = *this;
4605
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4606
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Ternary)
4607
0
          ::size_t total_size = 0;
4608
4609
0
          ::uint32_t cached_has_bits = 0;
4610
          // Prevent compiler warnings about cached_has_bits being unused
4611
0
          (void)cached_has_bits;
4612
4613
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4614
0
          cached_has_bits = this_._impl_._has_bits_[0];
4615
0
          if (cached_has_bits & 0x00000007u) {
4616
            // required .ruby_fuzzer.Rvalue tern_cond = 1;
4617
0
            if (cached_has_bits & 0x00000001u) {
4618
0
              total_size += 1 +
4619
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.tern_cond_);
4620
0
            }
4621
            // required .ruby_fuzzer.Rvalue t_branch = 2;
4622
0
            if (cached_has_bits & 0x00000002u) {
4623
0
              total_size += 1 +
4624
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.t_branch_);
4625
0
            }
4626
            // required .ruby_fuzzer.Rvalue f_branch = 3;
4627
0
            if (cached_has_bits & 0x00000004u) {
4628
0
              total_size += 1 +
4629
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.f_branch_);
4630
0
            }
4631
0
          }
4632
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
4633
0
                                                     &this_._impl_._cached_size_);
4634
0
        }
4635
4636
0
void Ternary::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4637
0
  auto* const _this = static_cast<Ternary*>(&to_msg);
4638
0
  auto& from = static_cast<const Ternary&>(from_msg);
4639
0
  ::google::protobuf::Arena* arena = _this->GetArena();
4640
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Ternary)
4641
0
  ABSL_DCHECK_NE(&from, _this);
4642
0
  ::uint32_t cached_has_bits = 0;
4643
0
  (void) cached_has_bits;
4644
4645
0
  cached_has_bits = from._impl_._has_bits_[0];
4646
0
  if (cached_has_bits & 0x00000007u) {
4647
0
    if (cached_has_bits & 0x00000001u) {
4648
0
      ABSL_DCHECK(from._impl_.tern_cond_ != nullptr);
4649
0
      if (_this->_impl_.tern_cond_ == nullptr) {
4650
0
        _this->_impl_.tern_cond_ =
4651
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.tern_cond_);
4652
0
      } else {
4653
0
        _this->_impl_.tern_cond_->MergeFrom(*from._impl_.tern_cond_);
4654
0
      }
4655
0
    }
4656
0
    if (cached_has_bits & 0x00000002u) {
4657
0
      ABSL_DCHECK(from._impl_.t_branch_ != nullptr);
4658
0
      if (_this->_impl_.t_branch_ == nullptr) {
4659
0
        _this->_impl_.t_branch_ =
4660
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.t_branch_);
4661
0
      } else {
4662
0
        _this->_impl_.t_branch_->MergeFrom(*from._impl_.t_branch_);
4663
0
      }
4664
0
    }
4665
0
    if (cached_has_bits & 0x00000004u) {
4666
0
      ABSL_DCHECK(from._impl_.f_branch_ != nullptr);
4667
0
      if (_this->_impl_.f_branch_ == nullptr) {
4668
0
        _this->_impl_.f_branch_ =
4669
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.f_branch_);
4670
0
      } else {
4671
0
        _this->_impl_.f_branch_->MergeFrom(*from._impl_.f_branch_);
4672
0
      }
4673
0
    }
4674
0
  }
4675
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
4676
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4677
0
}
4678
4679
0
void Ternary::CopyFrom(const Ternary& from) {
4680
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Ternary)
4681
0
  if (&from == this) return;
4682
0
  Clear();
4683
0
  MergeFrom(from);
4684
0
}
4685
4686
PROTOBUF_NOINLINE bool Ternary::IsInitializedImpl(
4687
0
    const MessageLite& msg) {
4688
0
  auto& this_ = static_cast<const Ternary&>(msg);
4689
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
4690
0
    return false;
4691
0
  }
4692
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
4693
0
    if (!this_._impl_.tern_cond_->IsInitialized()) return false;
4694
0
  }
4695
0
  if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
4696
0
    if (!this_._impl_.t_branch_->IsInitialized()) return false;
4697
0
  }
4698
0
  if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
4699
0
    if (!this_._impl_.f_branch_->IsInitialized()) return false;
4700
0
  }
4701
0
  return true;
4702
0
}
4703
4704
0
void Ternary::InternalSwap(Ternary* PROTOBUF_RESTRICT other) {
4705
0
  using std::swap;
4706
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4707
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4708
0
  ::google::protobuf::internal::memswap<
4709
0
      PROTOBUF_FIELD_OFFSET(Ternary, _impl_.f_branch_)
4710
0
      + sizeof(Ternary::_impl_.f_branch_)
4711
0
      - PROTOBUF_FIELD_OFFSET(Ternary, _impl_.tern_cond_)>(
4712
0
          reinterpret_cast<char*>(&_impl_.tern_cond_),
4713
0
          reinterpret_cast<char*>(&other->_impl_.tern_cond_));
4714
0
}
4715
4716
0
::google::protobuf::Metadata Ternary::GetMetadata() const {
4717
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4718
0
}
4719
// ===================================================================
4720
4721
class ObjectSpace::_Internal {
4722
 public:
4723
  using HasBits =
4724
      decltype(std::declval<ObjectSpace>()._impl_._has_bits_);
4725
  static constexpr ::int32_t kHasBitsOffset =
4726
      8 * PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_._has_bits_);
4727
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
4728
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
4729
0
  }
4730
};
4731
4732
ObjectSpace::ObjectSpace(::google::protobuf::Arena* arena)
4733
#if defined(PROTOBUF_CUSTOM_VTABLE)
4734
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4735
#else   // PROTOBUF_CUSTOM_VTABLE
4736
23.4k
    : ::google::protobuf::Message(arena) {
4737
23.4k
#endif  // PROTOBUF_CUSTOM_VTABLE
4738
23.4k
  SharedCtor(arena);
4739
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.ObjectSpace)
4740
23.4k
}
4741
inline PROTOBUF_NDEBUG_INLINE ObjectSpace::Impl_::Impl_(
4742
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
4743
    const Impl_& from, const ::ruby_fuzzer::ObjectSpace& from_msg)
4744
0
      : _has_bits_{from._has_bits_},
4745
0
        _cached_size_{0} {}
4746
4747
ObjectSpace::ObjectSpace(
4748
    ::google::protobuf::Arena* arena,
4749
    const ObjectSpace& from)
4750
#if defined(PROTOBUF_CUSTOM_VTABLE)
4751
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4752
#else   // PROTOBUF_CUSTOM_VTABLE
4753
0
    : ::google::protobuf::Message(arena) {
4754
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4755
0
  ObjectSpace* const _this = this;
4756
0
  (void)_this;
4757
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4758
0
      from._internal_metadata_);
4759
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4760
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
4761
0
  _impl_.os_arg_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::HashType>(
4762
0
                              arena, *from._impl_.os_arg_)
4763
0
                        : nullptr;
4764
0
  _impl_.os_func_ = from._impl_.os_func_;
4765
4766
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.ObjectSpace)
4767
0
}
4768
inline PROTOBUF_NDEBUG_INLINE ObjectSpace::Impl_::Impl_(
4769
    ::google::protobuf::internal::InternalVisibility visibility,
4770
    ::google::protobuf::Arena* arena)
4771
23.4k
      : _cached_size_{0},
4772
23.4k
        os_func_{static_cast< ::ruby_fuzzer::ObjectSpace_OS_methods >(1)} {}
4773
4774
23.4k
inline void ObjectSpace::SharedCtor(::_pb::Arena* arena) {
4775
23.4k
  new (&_impl_) Impl_(internal_visibility(), arena);
4776
23.4k
  _impl_.os_arg_ = {};
4777
23.4k
}
4778
23.4k
ObjectSpace::~ObjectSpace() {
4779
  // @@protoc_insertion_point(destructor:ruby_fuzzer.ObjectSpace)
4780
23.4k
  SharedDtor(*this);
4781
23.4k
}
4782
23.4k
inline void ObjectSpace::SharedDtor(MessageLite& self) {
4783
23.4k
  ObjectSpace& this_ = static_cast<ObjectSpace&>(self);
4784
23.4k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4785
23.4k
  ABSL_DCHECK(this_.GetArena() == nullptr);
4786
23.4k
  delete this_._impl_.os_arg_;
4787
23.4k
  this_._impl_.~Impl_();
4788
23.4k
}
4789
4790
inline void* ObjectSpace::PlacementNew_(const void*, void* mem,
4791
23.4k
                                        ::google::protobuf::Arena* arena) {
4792
23.4k
  return ::new (mem) ObjectSpace(arena);
4793
23.4k
}
4794
0
constexpr auto ObjectSpace::InternalNewImpl_() {
4795
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ObjectSpace),
4796
0
                                            alignof(ObjectSpace));
4797
0
}
4798
PROTOBUF_CONSTINIT
4799
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4800
const ::google::protobuf::internal::ClassDataFull ObjectSpace::_class_data_ = {
4801
    ::google::protobuf::internal::ClassData{
4802
        &_ObjectSpace_default_instance_._instance,
4803
        &_table_.header,
4804
        nullptr,  // OnDemandRegisterArenaDtor
4805
        ObjectSpace::IsInitializedImpl,
4806
        &ObjectSpace::MergeImpl,
4807
        ::google::protobuf::Message::GetNewImpl<ObjectSpace>(),
4808
#if defined(PROTOBUF_CUSTOM_VTABLE)
4809
        &ObjectSpace::SharedDtor,
4810
        ::google::protobuf::Message::GetClearImpl<ObjectSpace>(), &ObjectSpace::ByteSizeLong,
4811
            &ObjectSpace::_InternalSerialize,
4812
#endif  // PROTOBUF_CUSTOM_VTABLE
4813
        PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_._cached_size_),
4814
        false,
4815
    },
4816
    &ObjectSpace::kDescriptorMethods,
4817
    &descriptor_table_ruby_2eproto,
4818
    nullptr,  // tracker
4819
};
4820
303k
const ::google::protobuf::internal::ClassData* ObjectSpace::GetClassData() const {
4821
303k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
4822
303k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
4823
303k
  return _class_data_.base();
4824
303k
}
4825
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4826
const ::_pbi::TcParseTable<1, 2, 2, 0, 2> ObjectSpace::_table_ = {
4827
  {
4828
    PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_._has_bits_),
4829
    0, // no _extensions_
4830
    2, 8,  // max_field_number, fast_idx_mask
4831
    offsetof(decltype(_table_), field_lookup_table),
4832
    4294967292,  // skipmap
4833
    offsetof(decltype(_table_), field_entries),
4834
    2,  // num_field_entries
4835
    2,  // num_aux_entries
4836
    offsetof(decltype(_table_), aux_entries),
4837
    _class_data_.base(),
4838
    nullptr,  // post_loop_handler
4839
    ::_pbi::TcParser::GenericFallback,  // fallback
4840
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4841
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::ObjectSpace>(),  // to_prefetch
4842
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
4843
  }, {{
4844
    // required .ruby_fuzzer.HashType os_arg = 2;
4845
    {::_pbi::TcParser::FastMtS1,
4846
     {18, 0, 0, PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_.os_arg_)}},
4847
    // required .ruby_fuzzer.ObjectSpace.OS_methods os_func = 1;
4848
    {::_pbi::TcParser::FastEr1S1,
4849
     {8, 1, 1, PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_.os_func_)}},
4850
  }}, {{
4851
    65535, 65535
4852
  }}, {{
4853
    // required .ruby_fuzzer.ObjectSpace.OS_methods os_func = 1;
4854
    {PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_.os_func_), _Internal::kHasBitsOffset + 1, 1,
4855
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
4856
    // required .ruby_fuzzer.HashType os_arg = 2;
4857
    {PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_.os_arg_), _Internal::kHasBitsOffset + 0, 0,
4858
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4859
  }}, {{
4860
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::HashType>()},
4861
    {1, 1},
4862
  }}, {{
4863
  }},
4864
};
4865
4866
0
PROTOBUF_NOINLINE void ObjectSpace::Clear() {
4867
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.ObjectSpace)
4868
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
4869
0
  ::uint32_t cached_has_bits = 0;
4870
  // Prevent compiler warnings about cached_has_bits being unused
4871
0
  (void) cached_has_bits;
4872
4873
0
  cached_has_bits = _impl_._has_bits_[0];
4874
0
  if (cached_has_bits & 0x00000003u) {
4875
0
    if (cached_has_bits & 0x00000001u) {
4876
0
      ABSL_DCHECK(_impl_.os_arg_ != nullptr);
4877
0
      _impl_.os_arg_->Clear();
4878
0
    }
4879
0
    _impl_.os_func_ = 1;
4880
0
  }
4881
0
  _impl_._has_bits_.Clear();
4882
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4883
0
}
4884
4885
#if defined(PROTOBUF_CUSTOM_VTABLE)
4886
        ::uint8_t* ObjectSpace::_InternalSerialize(
4887
            const MessageLite& base, ::uint8_t* target,
4888
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
4889
          const ObjectSpace& this_ = static_cast<const ObjectSpace&>(base);
4890
#else   // PROTOBUF_CUSTOM_VTABLE
4891
        ::uint8_t* ObjectSpace::_InternalSerialize(
4892
            ::uint8_t* target,
4893
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4894
0
          const ObjectSpace& this_ = *this;
4895
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4896
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.ObjectSpace)
4897
0
          ::uint32_t cached_has_bits = 0;
4898
0
          (void)cached_has_bits;
4899
4900
0
          cached_has_bits = this_._impl_._has_bits_[0];
4901
          // required .ruby_fuzzer.ObjectSpace.OS_methods os_func = 1;
4902
0
          if (cached_has_bits & 0x00000002u) {
4903
0
            target = stream->EnsureSpace(target);
4904
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
4905
0
                1, this_._internal_os_func(), target);
4906
0
          }
4907
4908
          // required .ruby_fuzzer.HashType os_arg = 2;
4909
0
          if (cached_has_bits & 0x00000001u) {
4910
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4911
0
                2, *this_._impl_.os_arg_, this_._impl_.os_arg_->GetCachedSize(), target,
4912
0
                stream);
4913
0
          }
4914
4915
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4916
0
            target =
4917
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4918
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4919
0
          }
4920
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.ObjectSpace)
4921
0
          return target;
4922
0
        }
4923
4924
#if defined(PROTOBUF_CUSTOM_VTABLE)
4925
        ::size_t ObjectSpace::ByteSizeLong(const MessageLite& base) {
4926
          const ObjectSpace& this_ = static_cast<const ObjectSpace&>(base);
4927
#else   // PROTOBUF_CUSTOM_VTABLE
4928
0
        ::size_t ObjectSpace::ByteSizeLong() const {
4929
0
          const ObjectSpace& this_ = *this;
4930
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4931
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.ObjectSpace)
4932
0
          ::size_t total_size = 0;
4933
4934
0
          ::uint32_t cached_has_bits = 0;
4935
          // Prevent compiler warnings about cached_has_bits being unused
4936
0
          (void)cached_has_bits;
4937
4938
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4939
0
          cached_has_bits = this_._impl_._has_bits_[0];
4940
0
          if (cached_has_bits & 0x00000003u) {
4941
            // required .ruby_fuzzer.HashType os_arg = 2;
4942
0
            if (cached_has_bits & 0x00000001u) {
4943
0
              total_size += 1 +
4944
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.os_arg_);
4945
0
            }
4946
            // required .ruby_fuzzer.ObjectSpace.OS_methods os_func = 1;
4947
0
            if (cached_has_bits & 0x00000002u) {
4948
0
              total_size += 1 +
4949
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_os_func());
4950
0
            }
4951
0
          }
4952
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
4953
0
                                                     &this_._impl_._cached_size_);
4954
0
        }
4955
4956
0
void ObjectSpace::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4957
0
  auto* const _this = static_cast<ObjectSpace*>(&to_msg);
4958
0
  auto& from = static_cast<const ObjectSpace&>(from_msg);
4959
0
  ::google::protobuf::Arena* arena = _this->GetArena();
4960
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.ObjectSpace)
4961
0
  ABSL_DCHECK_NE(&from, _this);
4962
0
  ::uint32_t cached_has_bits = 0;
4963
0
  (void) cached_has_bits;
4964
4965
0
  cached_has_bits = from._impl_._has_bits_[0];
4966
0
  if (cached_has_bits & 0x00000003u) {
4967
0
    if (cached_has_bits & 0x00000001u) {
4968
0
      ABSL_DCHECK(from._impl_.os_arg_ != nullptr);
4969
0
      if (_this->_impl_.os_arg_ == nullptr) {
4970
0
        _this->_impl_.os_arg_ =
4971
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::HashType>(arena, *from._impl_.os_arg_);
4972
0
      } else {
4973
0
        _this->_impl_.os_arg_->MergeFrom(*from._impl_.os_arg_);
4974
0
      }
4975
0
    }
4976
0
    if (cached_has_bits & 0x00000002u) {
4977
0
      _this->_impl_.os_func_ = from._impl_.os_func_;
4978
0
    }
4979
0
  }
4980
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
4981
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4982
0
}
4983
4984
0
void ObjectSpace::CopyFrom(const ObjectSpace& from) {
4985
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.ObjectSpace)
4986
0
  if (&from == this) return;
4987
0
  Clear();
4988
0
  MergeFrom(from);
4989
0
}
4990
4991
PROTOBUF_NOINLINE bool ObjectSpace::IsInitializedImpl(
4992
0
    const MessageLite& msg) {
4993
0
  auto& this_ = static_cast<const ObjectSpace&>(msg);
4994
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
4995
0
    return false;
4996
0
  }
4997
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
4998
0
    if (!this_._impl_.os_arg_->IsInitialized()) return false;
4999
0
  }
5000
0
  return true;
5001
0
}
5002
5003
0
void ObjectSpace::InternalSwap(ObjectSpace* PROTOBUF_RESTRICT other) {
5004
0
  using std::swap;
5005
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5006
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5007
0
  ::google::protobuf::internal::memswap<
5008
0
      PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_.os_func_)
5009
0
      + sizeof(ObjectSpace::_impl_.os_func_)
5010
0
      - PROTOBUF_FIELD_OFFSET(ObjectSpace, _impl_.os_arg_)>(
5011
0
          reinterpret_cast<char*>(&_impl_.os_arg_),
5012
0
          reinterpret_cast<char*>(&other->_impl_.os_arg_));
5013
0
}
5014
5015
0
::google::protobuf::Metadata ObjectSpace::GetMetadata() const {
5016
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5017
0
}
5018
// ===================================================================
5019
5020
class Time::_Internal {
5021
 public:
5022
  using HasBits =
5023
      decltype(std::declval<Time>()._impl_._has_bits_);
5024
  static constexpr ::int32_t kHasBitsOffset =
5025
      8 * PROTOBUF_FIELD_OFFSET(Time, _impl_._has_bits_);
5026
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
5027
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
5028
0
  }
5029
};
5030
5031
Time::Time(::google::protobuf::Arena* arena)
5032
#if defined(PROTOBUF_CUSTOM_VTABLE)
5033
    : ::google::protobuf::Message(arena, _class_data_.base()) {
5034
#else   // PROTOBUF_CUSTOM_VTABLE
5035
14.1k
    : ::google::protobuf::Message(arena) {
5036
14.1k
#endif  // PROTOBUF_CUSTOM_VTABLE
5037
14.1k
  SharedCtor(arena);
5038
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Time)
5039
14.1k
}
5040
Time::Time(
5041
    ::google::protobuf::Arena* arena, const Time& from)
5042
0
    : Time(arena) {
5043
0
  MergeFrom(from);
5044
0
}
5045
inline PROTOBUF_NDEBUG_INLINE Time::Impl_::Impl_(
5046
    ::google::protobuf::internal::InternalVisibility visibility,
5047
    ::google::protobuf::Arena* arena)
5048
14.1k
      : _cached_size_{0},
5049
14.1k
        t_func_{static_cast< ::ruby_fuzzer::Time_T_methods >(1)} {}
5050
5051
14.1k
inline void Time::SharedCtor(::_pb::Arena* arena) {
5052
14.1k
  new (&_impl_) Impl_(internal_visibility(), arena);
5053
14.1k
  _impl_.t_arg_ = {};
5054
14.1k
}
5055
14.1k
Time::~Time() {
5056
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Time)
5057
14.1k
  SharedDtor(*this);
5058
14.1k
}
5059
14.1k
inline void Time::SharedDtor(MessageLite& self) {
5060
14.1k
  Time& this_ = static_cast<Time&>(self);
5061
14.1k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5062
14.1k
  ABSL_DCHECK(this_.GetArena() == nullptr);
5063
14.1k
  this_._impl_.~Impl_();
5064
14.1k
}
5065
5066
inline void* Time::PlacementNew_(const void*, void* mem,
5067
14.1k
                                        ::google::protobuf::Arena* arena) {
5068
14.1k
  return ::new (mem) Time(arena);
5069
14.1k
}
5070
0
constexpr auto Time::InternalNewImpl_() {
5071
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Time),
5072
0
                                            alignof(Time));
5073
0
}
5074
PROTOBUF_CONSTINIT
5075
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5076
const ::google::protobuf::internal::ClassDataFull Time::_class_data_ = {
5077
    ::google::protobuf::internal::ClassData{
5078
        &_Time_default_instance_._instance,
5079
        &_table_.header,
5080
        nullptr,  // OnDemandRegisterArenaDtor
5081
        Time::IsInitializedImpl,
5082
        &Time::MergeImpl,
5083
        ::google::protobuf::Message::GetNewImpl<Time>(),
5084
#if defined(PROTOBUF_CUSTOM_VTABLE)
5085
        &Time::SharedDtor,
5086
        ::google::protobuf::Message::GetClearImpl<Time>(), &Time::ByteSizeLong,
5087
            &Time::_InternalSerialize,
5088
#endif  // PROTOBUF_CUSTOM_VTABLE
5089
        PROTOBUF_FIELD_OFFSET(Time, _impl_._cached_size_),
5090
        false,
5091
    },
5092
    &Time::kDescriptorMethods,
5093
    &descriptor_table_ruby_2eproto,
5094
    nullptr,  // tracker
5095
};
5096
184k
const ::google::protobuf::internal::ClassData* Time::GetClassData() const {
5097
184k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
5098
184k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
5099
184k
  return _class_data_.base();
5100
184k
}
5101
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5102
const ::_pbi::TcParseTable<1, 2, 1, 0, 2> Time::_table_ = {
5103
  {
5104
    PROTOBUF_FIELD_OFFSET(Time, _impl_._has_bits_),
5105
    0, // no _extensions_
5106
    2, 8,  // max_field_number, fast_idx_mask
5107
    offsetof(decltype(_table_), field_lookup_table),
5108
    4294967292,  // skipmap
5109
    offsetof(decltype(_table_), field_entries),
5110
    2,  // num_field_entries
5111
    1,  // num_aux_entries
5112
    offsetof(decltype(_table_), aux_entries),
5113
    _class_data_.base(),
5114
    nullptr,  // post_loop_handler
5115
    ::_pbi::TcParser::GenericFallback,  // fallback
5116
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5117
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Time>(),  // to_prefetch
5118
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
5119
  }, {{
5120
    // required uint32 t_arg = 2;
5121
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Time, _impl_.t_arg_), 0>(),
5122
     {16, 0, 0, PROTOBUF_FIELD_OFFSET(Time, _impl_.t_arg_)}},
5123
    // required .ruby_fuzzer.Time.T_methods t_func = 1;
5124
    {::_pbi::TcParser::FastEr1S1,
5125
     {8, 1, 2, PROTOBUF_FIELD_OFFSET(Time, _impl_.t_func_)}},
5126
  }}, {{
5127
    65535, 65535
5128
  }}, {{
5129
    // required .ruby_fuzzer.Time.T_methods t_func = 1;
5130
    {PROTOBUF_FIELD_OFFSET(Time, _impl_.t_func_), _Internal::kHasBitsOffset + 1, 0,
5131
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
5132
    // required uint32 t_arg = 2;
5133
    {PROTOBUF_FIELD_OFFSET(Time, _impl_.t_arg_), _Internal::kHasBitsOffset + 0, 0,
5134
    (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
5135
  }}, {{
5136
    {1, 2},
5137
  }}, {{
5138
  }},
5139
};
5140
5141
0
PROTOBUF_NOINLINE void Time::Clear() {
5142
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Time)
5143
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
5144
0
  ::uint32_t cached_has_bits = 0;
5145
  // Prevent compiler warnings about cached_has_bits being unused
5146
0
  (void) cached_has_bits;
5147
5148
0
  cached_has_bits = _impl_._has_bits_[0];
5149
0
  if (cached_has_bits & 0x00000003u) {
5150
0
    _impl_.t_arg_ = 0u;
5151
0
    _impl_.t_func_ = 1;
5152
0
  }
5153
0
  _impl_._has_bits_.Clear();
5154
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5155
0
}
5156
5157
#if defined(PROTOBUF_CUSTOM_VTABLE)
5158
        ::uint8_t* Time::_InternalSerialize(
5159
            const MessageLite& base, ::uint8_t* target,
5160
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
5161
          const Time& this_ = static_cast<const Time&>(base);
5162
#else   // PROTOBUF_CUSTOM_VTABLE
5163
        ::uint8_t* Time::_InternalSerialize(
5164
            ::uint8_t* target,
5165
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5166
0
          const Time& this_ = *this;
5167
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5168
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Time)
5169
0
          ::uint32_t cached_has_bits = 0;
5170
0
          (void)cached_has_bits;
5171
5172
0
          cached_has_bits = this_._impl_._has_bits_[0];
5173
          // required .ruby_fuzzer.Time.T_methods t_func = 1;
5174
0
          if (cached_has_bits & 0x00000002u) {
5175
0
            target = stream->EnsureSpace(target);
5176
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
5177
0
                1, this_._internal_t_func(), target);
5178
0
          }
5179
5180
          // required uint32 t_arg = 2;
5181
0
          if (cached_has_bits & 0x00000001u) {
5182
0
            target = stream->EnsureSpace(target);
5183
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5184
0
                2, this_._internal_t_arg(), target);
5185
0
          }
5186
5187
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5188
0
            target =
5189
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5190
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5191
0
          }
5192
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Time)
5193
0
          return target;
5194
0
        }
5195
5196
#if defined(PROTOBUF_CUSTOM_VTABLE)
5197
        ::size_t Time::ByteSizeLong(const MessageLite& base) {
5198
          const Time& this_ = static_cast<const Time&>(base);
5199
#else   // PROTOBUF_CUSTOM_VTABLE
5200
0
        ::size_t Time::ByteSizeLong() const {
5201
0
          const Time& this_ = *this;
5202
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5203
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Time)
5204
0
          ::size_t total_size = 0;
5205
5206
0
          ::uint32_t cached_has_bits = 0;
5207
          // Prevent compiler warnings about cached_has_bits being unused
5208
0
          (void)cached_has_bits;
5209
5210
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5211
0
          cached_has_bits = this_._impl_._has_bits_[0];
5212
0
          if (cached_has_bits & 0x00000003u) {
5213
            // required uint32 t_arg = 2;
5214
0
            if (cached_has_bits & 0x00000001u) {
5215
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5216
0
                  this_._internal_t_arg());
5217
0
            }
5218
            // required .ruby_fuzzer.Time.T_methods t_func = 1;
5219
0
            if (cached_has_bits & 0x00000002u) {
5220
0
              total_size += 1 +
5221
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_t_func());
5222
0
            }
5223
0
          }
5224
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
5225
0
                                                     &this_._impl_._cached_size_);
5226
0
        }
5227
5228
0
void Time::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5229
0
  auto* const _this = static_cast<Time*>(&to_msg);
5230
0
  auto& from = static_cast<const Time&>(from_msg);
5231
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Time)
5232
0
  ABSL_DCHECK_NE(&from, _this);
5233
0
  ::uint32_t cached_has_bits = 0;
5234
0
  (void) cached_has_bits;
5235
5236
0
  cached_has_bits = from._impl_._has_bits_[0];
5237
0
  if (cached_has_bits & 0x00000003u) {
5238
0
    if (cached_has_bits & 0x00000001u) {
5239
0
      _this->_impl_.t_arg_ = from._impl_.t_arg_;
5240
0
    }
5241
0
    if (cached_has_bits & 0x00000002u) {
5242
0
      _this->_impl_.t_func_ = from._impl_.t_func_;
5243
0
    }
5244
0
  }
5245
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
5246
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5247
0
}
5248
5249
0
void Time::CopyFrom(const Time& from) {
5250
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Time)
5251
0
  if (&from == this) return;
5252
0
  Clear();
5253
0
  MergeFrom(from);
5254
0
}
5255
5256
PROTOBUF_NOINLINE bool Time::IsInitializedImpl(
5257
0
    const MessageLite& msg) {
5258
0
  auto& this_ = static_cast<const Time&>(msg);
5259
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
5260
0
    return false;
5261
0
  }
5262
0
  return true;
5263
0
}
5264
5265
0
void Time::InternalSwap(Time* PROTOBUF_RESTRICT other) {
5266
0
  using std::swap;
5267
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5268
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5269
0
  ::google::protobuf::internal::memswap<
5270
0
      PROTOBUF_FIELD_OFFSET(Time, _impl_.t_func_)
5271
0
      + sizeof(Time::_impl_.t_func_)
5272
0
      - PROTOBUF_FIELD_OFFSET(Time, _impl_.t_arg_)>(
5273
0
          reinterpret_cast<char*>(&_impl_.t_arg_),
5274
0
          reinterpret_cast<char*>(&other->_impl_.t_arg_));
5275
0
}
5276
5277
0
::google::protobuf::Metadata Time::GetMetadata() const {
5278
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5279
0
}
5280
// ===================================================================
5281
5282
class Array::_Internal {
5283
 public:
5284
  using HasBits =
5285
      decltype(std::declval<Array>()._impl_._has_bits_);
5286
  static constexpr ::int32_t kHasBitsOffset =
5287
      8 * PROTOBUF_FIELD_OFFSET(Array, _impl_._has_bits_);
5288
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
5289
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
5290
0
  }
5291
};
5292
5293
Array::Array(::google::protobuf::Arena* arena)
5294
#if defined(PROTOBUF_CUSTOM_VTABLE)
5295
    : ::google::protobuf::Message(arena, _class_data_.base()) {
5296
#else   // PROTOBUF_CUSTOM_VTABLE
5297
68.3k
    : ::google::protobuf::Message(arena) {
5298
68.3k
#endif  // PROTOBUF_CUSTOM_VTABLE
5299
68.3k
  SharedCtor(arena);
5300
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Array)
5301
68.3k
}
5302
inline PROTOBUF_NDEBUG_INLINE Array::Impl_::Impl_(
5303
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
5304
    const Impl_& from, const ::ruby_fuzzer::Array& from_msg)
5305
0
      : _has_bits_{from._has_bits_},
5306
0
        _cached_size_{0} {}
5307
5308
Array::Array(
5309
    ::google::protobuf::Arena* arena,
5310
    const Array& from)
5311
#if defined(PROTOBUF_CUSTOM_VTABLE)
5312
    : ::google::protobuf::Message(arena, _class_data_.base()) {
5313
#else   // PROTOBUF_CUSTOM_VTABLE
5314
0
    : ::google::protobuf::Message(arena) {
5315
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5316
0
  Array* const _this = this;
5317
0
  (void)_this;
5318
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5319
0
      from._internal_metadata_);
5320
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
5321
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
5322
0
  _impl_.arr_arg_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::ArrType>(
5323
0
                              arena, *from._impl_.arr_arg_)
5324
0
                        : nullptr;
5325
0
  _impl_.val_arg_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(
5326
0
                              arena, *from._impl_.val_arg_)
5327
0
                        : nullptr;
5328
0
  _impl_.arr_func_ = from._impl_.arr_func_;
5329
5330
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.Array)
5331
0
}
5332
inline PROTOBUF_NDEBUG_INLINE Array::Impl_::Impl_(
5333
    ::google::protobuf::internal::InternalVisibility visibility,
5334
    ::google::protobuf::Arena* arena)
5335
68.3k
      : _cached_size_{0},
5336
68.3k
        arr_func_{static_cast< ::ruby_fuzzer::Array_Arr_methods >(1)} {}
5337
5338
68.3k
inline void Array::SharedCtor(::_pb::Arena* arena) {
5339
68.3k
  new (&_impl_) Impl_(internal_visibility(), arena);
5340
68.3k
  ::memset(reinterpret_cast<char *>(&_impl_) +
5341
68.3k
               offsetof(Impl_, arr_arg_),
5342
68.3k
           0,
5343
68.3k
           offsetof(Impl_, val_arg_) -
5344
68.3k
               offsetof(Impl_, arr_arg_) +
5345
68.3k
               sizeof(Impl_::val_arg_));
5346
68.3k
}
5347
68.3k
Array::~Array() {
5348
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Array)
5349
68.3k
  SharedDtor(*this);
5350
68.3k
}
5351
68.3k
inline void Array::SharedDtor(MessageLite& self) {
5352
68.3k
  Array& this_ = static_cast<Array&>(self);
5353
68.3k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5354
68.3k
  ABSL_DCHECK(this_.GetArena() == nullptr);
5355
68.3k
  delete this_._impl_.arr_arg_;
5356
68.3k
  delete this_._impl_.val_arg_;
5357
68.3k
  this_._impl_.~Impl_();
5358
68.3k
}
5359
5360
inline void* Array::PlacementNew_(const void*, void* mem,
5361
68.3k
                                        ::google::protobuf::Arena* arena) {
5362
68.3k
  return ::new (mem) Array(arena);
5363
68.3k
}
5364
0
constexpr auto Array::InternalNewImpl_() {
5365
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Array),
5366
0
                                            alignof(Array));
5367
0
}
5368
PROTOBUF_CONSTINIT
5369
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5370
const ::google::protobuf::internal::ClassDataFull Array::_class_data_ = {
5371
    ::google::protobuf::internal::ClassData{
5372
        &_Array_default_instance_._instance,
5373
        &_table_.header,
5374
        nullptr,  // OnDemandRegisterArenaDtor
5375
        Array::IsInitializedImpl,
5376
        &Array::MergeImpl,
5377
        ::google::protobuf::Message::GetNewImpl<Array>(),
5378
#if defined(PROTOBUF_CUSTOM_VTABLE)
5379
        &Array::SharedDtor,
5380
        ::google::protobuf::Message::GetClearImpl<Array>(), &Array::ByteSizeLong,
5381
            &Array::_InternalSerialize,
5382
#endif  // PROTOBUF_CUSTOM_VTABLE
5383
        PROTOBUF_FIELD_OFFSET(Array, _impl_._cached_size_),
5384
        false,
5385
    },
5386
    &Array::kDescriptorMethods,
5387
    &descriptor_table_ruby_2eproto,
5388
    nullptr,  // tracker
5389
};
5390
1.08M
const ::google::protobuf::internal::ClassData* Array::GetClassData() const {
5391
1.08M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
5392
1.08M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
5393
1.08M
  return _class_data_.base();
5394
1.08M
}
5395
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5396
const ::_pbi::TcParseTable<2, 3, 3, 0, 2> Array::_table_ = {
5397
  {
5398
    PROTOBUF_FIELD_OFFSET(Array, _impl_._has_bits_),
5399
    0, // no _extensions_
5400
    3, 24,  // max_field_number, fast_idx_mask
5401
    offsetof(decltype(_table_), field_lookup_table),
5402
    4294967288,  // skipmap
5403
    offsetof(decltype(_table_), field_entries),
5404
    3,  // num_field_entries
5405
    3,  // num_aux_entries
5406
    offsetof(decltype(_table_), aux_entries),
5407
    _class_data_.base(),
5408
    nullptr,  // post_loop_handler
5409
    ::_pbi::TcParser::GenericFallback,  // fallback
5410
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5411
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Array>(),  // to_prefetch
5412
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
5413
  }, {{
5414
    {::_pbi::TcParser::MiniParse, {}},
5415
    // required .ruby_fuzzer.Array.Arr_methods arr_func = 1;
5416
    {::_pbi::TcParser::FastEr1S1,
5417
     {8, 2, 19, PROTOBUF_FIELD_OFFSET(Array, _impl_.arr_func_)}},
5418
    // required .ruby_fuzzer.ArrType arr_arg = 2;
5419
    {::_pbi::TcParser::FastMtS1,
5420
     {18, 0, 0, PROTOBUF_FIELD_OFFSET(Array, _impl_.arr_arg_)}},
5421
    // required .ruby_fuzzer.Rvalue val_arg = 3;
5422
    {::_pbi::TcParser::FastMtS1,
5423
     {26, 1, 1, PROTOBUF_FIELD_OFFSET(Array, _impl_.val_arg_)}},
5424
  }}, {{
5425
    65535, 65535
5426
  }}, {{
5427
    // required .ruby_fuzzer.Array.Arr_methods arr_func = 1;
5428
    {PROTOBUF_FIELD_OFFSET(Array, _impl_.arr_func_), _Internal::kHasBitsOffset + 2, 2,
5429
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
5430
    // required .ruby_fuzzer.ArrType arr_arg = 2;
5431
    {PROTOBUF_FIELD_OFFSET(Array, _impl_.arr_arg_), _Internal::kHasBitsOffset + 0, 0,
5432
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
5433
    // required .ruby_fuzzer.Rvalue val_arg = 3;
5434
    {PROTOBUF_FIELD_OFFSET(Array, _impl_.val_arg_), _Internal::kHasBitsOffset + 1, 1,
5435
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
5436
  }}, {{
5437
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::ArrType>()},
5438
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
5439
    {1, 19},
5440
  }}, {{
5441
  }},
5442
};
5443
5444
0
PROTOBUF_NOINLINE void Array::Clear() {
5445
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Array)
5446
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
5447
0
  ::uint32_t cached_has_bits = 0;
5448
  // Prevent compiler warnings about cached_has_bits being unused
5449
0
  (void) cached_has_bits;
5450
5451
0
  cached_has_bits = _impl_._has_bits_[0];
5452
0
  if (cached_has_bits & 0x00000007u) {
5453
0
    if (cached_has_bits & 0x00000001u) {
5454
0
      ABSL_DCHECK(_impl_.arr_arg_ != nullptr);
5455
0
      _impl_.arr_arg_->Clear();
5456
0
    }
5457
0
    if (cached_has_bits & 0x00000002u) {
5458
0
      ABSL_DCHECK(_impl_.val_arg_ != nullptr);
5459
0
      _impl_.val_arg_->Clear();
5460
0
    }
5461
0
    _impl_.arr_func_ = 1;
5462
0
  }
5463
0
  _impl_._has_bits_.Clear();
5464
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5465
0
}
5466
5467
#if defined(PROTOBUF_CUSTOM_VTABLE)
5468
        ::uint8_t* Array::_InternalSerialize(
5469
            const MessageLite& base, ::uint8_t* target,
5470
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
5471
          const Array& this_ = static_cast<const Array&>(base);
5472
#else   // PROTOBUF_CUSTOM_VTABLE
5473
        ::uint8_t* Array::_InternalSerialize(
5474
            ::uint8_t* target,
5475
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5476
0
          const Array& this_ = *this;
5477
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5478
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Array)
5479
0
          ::uint32_t cached_has_bits = 0;
5480
0
          (void)cached_has_bits;
5481
5482
0
          cached_has_bits = this_._impl_._has_bits_[0];
5483
          // required .ruby_fuzzer.Array.Arr_methods arr_func = 1;
5484
0
          if (cached_has_bits & 0x00000004u) {
5485
0
            target = stream->EnsureSpace(target);
5486
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
5487
0
                1, this_._internal_arr_func(), target);
5488
0
          }
5489
5490
          // required .ruby_fuzzer.ArrType arr_arg = 2;
5491
0
          if (cached_has_bits & 0x00000001u) {
5492
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5493
0
                2, *this_._impl_.arr_arg_, this_._impl_.arr_arg_->GetCachedSize(), target,
5494
0
                stream);
5495
0
          }
5496
5497
          // required .ruby_fuzzer.Rvalue val_arg = 3;
5498
0
          if (cached_has_bits & 0x00000002u) {
5499
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5500
0
                3, *this_._impl_.val_arg_, this_._impl_.val_arg_->GetCachedSize(), target,
5501
0
                stream);
5502
0
          }
5503
5504
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5505
0
            target =
5506
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5507
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5508
0
          }
5509
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Array)
5510
0
          return target;
5511
0
        }
5512
5513
#if defined(PROTOBUF_CUSTOM_VTABLE)
5514
        ::size_t Array::ByteSizeLong(const MessageLite& base) {
5515
          const Array& this_ = static_cast<const Array&>(base);
5516
#else   // PROTOBUF_CUSTOM_VTABLE
5517
0
        ::size_t Array::ByteSizeLong() const {
5518
0
          const Array& this_ = *this;
5519
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5520
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Array)
5521
0
          ::size_t total_size = 0;
5522
5523
0
          ::uint32_t cached_has_bits = 0;
5524
          // Prevent compiler warnings about cached_has_bits being unused
5525
0
          (void)cached_has_bits;
5526
5527
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5528
0
          cached_has_bits = this_._impl_._has_bits_[0];
5529
0
          if (cached_has_bits & 0x00000007u) {
5530
            // required .ruby_fuzzer.ArrType arr_arg = 2;
5531
0
            if (cached_has_bits & 0x00000001u) {
5532
0
              total_size += 1 +
5533
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.arr_arg_);
5534
0
            }
5535
            // required .ruby_fuzzer.Rvalue val_arg = 3;
5536
0
            if (cached_has_bits & 0x00000002u) {
5537
0
              total_size += 1 +
5538
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.val_arg_);
5539
0
            }
5540
            // required .ruby_fuzzer.Array.Arr_methods arr_func = 1;
5541
0
            if (cached_has_bits & 0x00000004u) {
5542
0
              total_size += 1 +
5543
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_arr_func());
5544
0
            }
5545
0
          }
5546
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
5547
0
                                                     &this_._impl_._cached_size_);
5548
0
        }
5549
5550
0
void Array::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5551
0
  auto* const _this = static_cast<Array*>(&to_msg);
5552
0
  auto& from = static_cast<const Array&>(from_msg);
5553
0
  ::google::protobuf::Arena* arena = _this->GetArena();
5554
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Array)
5555
0
  ABSL_DCHECK_NE(&from, _this);
5556
0
  ::uint32_t cached_has_bits = 0;
5557
0
  (void) cached_has_bits;
5558
5559
0
  cached_has_bits = from._impl_._has_bits_[0];
5560
0
  if (cached_has_bits & 0x00000007u) {
5561
0
    if (cached_has_bits & 0x00000001u) {
5562
0
      ABSL_DCHECK(from._impl_.arr_arg_ != nullptr);
5563
0
      if (_this->_impl_.arr_arg_ == nullptr) {
5564
0
        _this->_impl_.arr_arg_ =
5565
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::ArrType>(arena, *from._impl_.arr_arg_);
5566
0
      } else {
5567
0
        _this->_impl_.arr_arg_->MergeFrom(*from._impl_.arr_arg_);
5568
0
      }
5569
0
    }
5570
0
    if (cached_has_bits & 0x00000002u) {
5571
0
      ABSL_DCHECK(from._impl_.val_arg_ != nullptr);
5572
0
      if (_this->_impl_.val_arg_ == nullptr) {
5573
0
        _this->_impl_.val_arg_ =
5574
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.val_arg_);
5575
0
      } else {
5576
0
        _this->_impl_.val_arg_->MergeFrom(*from._impl_.val_arg_);
5577
0
      }
5578
0
    }
5579
0
    if (cached_has_bits & 0x00000004u) {
5580
0
      _this->_impl_.arr_func_ = from._impl_.arr_func_;
5581
0
    }
5582
0
  }
5583
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
5584
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5585
0
}
5586
5587
0
void Array::CopyFrom(const Array& from) {
5588
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Array)
5589
0
  if (&from == this) return;
5590
0
  Clear();
5591
0
  MergeFrom(from);
5592
0
}
5593
5594
PROTOBUF_NOINLINE bool Array::IsInitializedImpl(
5595
0
    const MessageLite& msg) {
5596
0
  auto& this_ = static_cast<const Array&>(msg);
5597
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
5598
0
    return false;
5599
0
  }
5600
0
  if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
5601
0
    if (!this_._impl_.val_arg_->IsInitialized()) return false;
5602
0
  }
5603
0
  return true;
5604
0
}
5605
5606
0
void Array::InternalSwap(Array* PROTOBUF_RESTRICT other) {
5607
0
  using std::swap;
5608
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5609
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5610
0
  ::google::protobuf::internal::memswap<
5611
0
      PROTOBUF_FIELD_OFFSET(Array, _impl_.arr_func_)
5612
0
      + sizeof(Array::_impl_.arr_func_)
5613
0
      - PROTOBUF_FIELD_OFFSET(Array, _impl_.arr_arg_)>(
5614
0
          reinterpret_cast<char*>(&_impl_.arr_arg_),
5615
0
          reinterpret_cast<char*>(&other->_impl_.arr_arg_));
5616
0
}
5617
5618
0
::google::protobuf::Metadata Array::GetMetadata() const {
5619
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5620
0
}
5621
// ===================================================================
5622
5623
class MathType::_Internal {
5624
 public:
5625
  static constexpr ::int32_t kOneofCaseOffset =
5626
      PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::MathType, _impl_._oneof_case_);
5627
};
5628
5629
0
void MathType::set_allocated_math_rval(::ruby_fuzzer::Rvalue* math_rval) {
5630
0
  ::google::protobuf::Arena* message_arena = GetArena();
5631
0
  clear_math_arg_oneof();
5632
0
  if (math_rval) {
5633
0
    ::google::protobuf::Arena* submessage_arena = math_rval->GetArena();
5634
0
    if (message_arena != submessage_arena) {
5635
0
      math_rval = ::google::protobuf::internal::GetOwnedMessage(message_arena, math_rval, submessage_arena);
5636
0
    }
5637
0
    set_has_math_rval();
5638
0
    _impl_.math_arg_oneof_.math_rval_ = math_rval;
5639
0
  }
5640
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.MathType.math_rval)
5641
0
}
5642
0
void MathType::set_allocated_math_const(::ruby_fuzzer::MathConst* math_const) {
5643
0
  ::google::protobuf::Arena* message_arena = GetArena();
5644
0
  clear_math_arg_oneof();
5645
0
  if (math_const) {
5646
0
    ::google::protobuf::Arena* submessage_arena = math_const->GetArena();
5647
0
    if (message_arena != submessage_arena) {
5648
0
      math_const = ::google::protobuf::internal::GetOwnedMessage(message_arena, math_const, submessage_arena);
5649
0
    }
5650
0
    set_has_math_const();
5651
0
    _impl_.math_arg_oneof_.math_const_ = math_const;
5652
0
  }
5653
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.MathType.math_const)
5654
0
}
5655
MathType::MathType(::google::protobuf::Arena* arena)
5656
#if defined(PROTOBUF_CUSTOM_VTABLE)
5657
    : ::google::protobuf::Message(arena, _class_data_.base()) {
5658
#else   // PROTOBUF_CUSTOM_VTABLE
5659
47.8k
    : ::google::protobuf::Message(arena) {
5660
47.8k
#endif  // PROTOBUF_CUSTOM_VTABLE
5661
47.8k
  SharedCtor(arena);
5662
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.MathType)
5663
47.8k
}
5664
inline PROTOBUF_NDEBUG_INLINE MathType::Impl_::Impl_(
5665
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
5666
    const Impl_& from, const ::ruby_fuzzer::MathType& from_msg)
5667
0
      : math_arg_oneof_{},
5668
0
        _cached_size_{0},
5669
0
        _oneof_case_{from._oneof_case_[0]} {}
5670
5671
MathType::MathType(
5672
    ::google::protobuf::Arena* arena,
5673
    const MathType& from)
5674
#if defined(PROTOBUF_CUSTOM_VTABLE)
5675
    : ::google::protobuf::Message(arena, _class_data_.base()) {
5676
#else   // PROTOBUF_CUSTOM_VTABLE
5677
0
    : ::google::protobuf::Message(arena) {
5678
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5679
0
  MathType* const _this = this;
5680
0
  (void)_this;
5681
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5682
0
      from._internal_metadata_);
5683
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
5684
0
  switch (math_arg_oneof_case()) {
5685
0
    case MATH_ARG_ONEOF_NOT_SET:
5686
0
      break;
5687
0
      case kMathRval:
5688
0
        _impl_.math_arg_oneof_.math_rval_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.math_arg_oneof_.math_rval_);
5689
0
        break;
5690
0
      case kMathConst:
5691
0
        _impl_.math_arg_oneof_.math_const_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::MathConst>(arena, *from._impl_.math_arg_oneof_.math_const_);
5692
0
        break;
5693
0
  }
5694
5695
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.MathType)
5696
0
}
5697
inline PROTOBUF_NDEBUG_INLINE MathType::Impl_::Impl_(
5698
    ::google::protobuf::internal::InternalVisibility visibility,
5699
    ::google::protobuf::Arena* arena)
5700
47.8k
      : math_arg_oneof_{},
5701
47.8k
        _cached_size_{0},
5702
47.8k
        _oneof_case_{} {}
5703
5704
47.8k
inline void MathType::SharedCtor(::_pb::Arena* arena) {
5705
47.8k
  new (&_impl_) Impl_(internal_visibility(), arena);
5706
47.8k
}
5707
47.8k
MathType::~MathType() {
5708
  // @@protoc_insertion_point(destructor:ruby_fuzzer.MathType)
5709
47.8k
  SharedDtor(*this);
5710
47.8k
}
5711
47.8k
inline void MathType::SharedDtor(MessageLite& self) {
5712
47.8k
  MathType& this_ = static_cast<MathType&>(self);
5713
47.8k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5714
47.8k
  ABSL_DCHECK(this_.GetArena() == nullptr);
5715
47.8k
  if (this_.has_math_arg_oneof()) {
5716
34.6k
    this_.clear_math_arg_oneof();
5717
34.6k
  }
5718
47.8k
  this_._impl_.~Impl_();
5719
47.8k
}
5720
5721
34.8k
void MathType::clear_math_arg_oneof() {
5722
// @@protoc_insertion_point(one_of_clear_start:ruby_fuzzer.MathType)
5723
34.8k
  ::google::protobuf::internal::TSanWrite(&_impl_);
5724
34.8k
  switch (math_arg_oneof_case()) {
5725
3.02k
    case kMathRval: {
5726
3.02k
      if (GetArena() == nullptr) {
5727
3.02k
        delete _impl_.math_arg_oneof_.math_rval_;
5728
3.02k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
5729
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.math_arg_oneof_.math_rval_);
5730
0
      }
5731
3.02k
      break;
5732
0
    }
5733
31.6k
    case kMathConst: {
5734
31.6k
      if (GetArena() == nullptr) {
5735
31.6k
        delete _impl_.math_arg_oneof_.math_const_;
5736
31.6k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
5737
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.math_arg_oneof_.math_const_);
5738
0
      }
5739
31.6k
      break;
5740
0
    }
5741
168
    case MATH_ARG_ONEOF_NOT_SET: {
5742
168
      break;
5743
0
    }
5744
34.8k
  }
5745
34.8k
  _impl_._oneof_case_[0] = MATH_ARG_ONEOF_NOT_SET;
5746
34.8k
}
5747
5748
5749
inline void* MathType::PlacementNew_(const void*, void* mem,
5750
47.8k
                                        ::google::protobuf::Arena* arena) {
5751
47.8k
  return ::new (mem) MathType(arena);
5752
47.8k
}
5753
0
constexpr auto MathType::InternalNewImpl_() {
5754
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MathType),
5755
0
                                            alignof(MathType));
5756
0
}
5757
PROTOBUF_CONSTINIT
5758
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5759
const ::google::protobuf::internal::ClassDataFull MathType::_class_data_ = {
5760
    ::google::protobuf::internal::ClassData{
5761
        &_MathType_default_instance_._instance,
5762
        &_table_.header,
5763
        nullptr,  // OnDemandRegisterArenaDtor
5764
        MathType::IsInitializedImpl,
5765
        &MathType::MergeImpl,
5766
        ::google::protobuf::Message::GetNewImpl<MathType>(),
5767
#if defined(PROTOBUF_CUSTOM_VTABLE)
5768
        &MathType::SharedDtor,
5769
        ::google::protobuf::Message::GetClearImpl<MathType>(), &MathType::ByteSizeLong,
5770
            &MathType::_InternalSerialize,
5771
#endif  // PROTOBUF_CUSTOM_VTABLE
5772
        PROTOBUF_FIELD_OFFSET(MathType, _impl_._cached_size_),
5773
        false,
5774
    },
5775
    &MathType::kDescriptorMethods,
5776
    &descriptor_table_ruby_2eproto,
5777
    nullptr,  // tracker
5778
};
5779
438k
const ::google::protobuf::internal::ClassData* MathType::GetClassData() const {
5780
438k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
5781
438k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
5782
438k
  return _class_data_.base();
5783
438k
}
5784
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5785
const ::_pbi::TcParseTable<0, 2, 2, 0, 2> MathType::_table_ = {
5786
  {
5787
    0,  // no _has_bits_
5788
    0, // no _extensions_
5789
    3, 0,  // max_field_number, fast_idx_mask
5790
    offsetof(decltype(_table_), field_lookup_table),
5791
    4294967289,  // skipmap
5792
    offsetof(decltype(_table_), field_entries),
5793
    2,  // num_field_entries
5794
    2,  // num_aux_entries
5795
    offsetof(decltype(_table_), aux_entries),
5796
    _class_data_.base(),
5797
    nullptr,  // post_loop_handler
5798
    ::_pbi::TcParser::GenericFallback,  // fallback
5799
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5800
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::MathType>(),  // to_prefetch
5801
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
5802
  }, {{
5803
    {::_pbi::TcParser::MiniParse, {}},
5804
  }}, {{
5805
    65535, 65535
5806
  }}, {{
5807
    // .ruby_fuzzer.Rvalue math_rval = 2;
5808
    {PROTOBUF_FIELD_OFFSET(MathType, _impl_.math_arg_oneof_.math_rval_), _Internal::kOneofCaseOffset + 0, 0,
5809
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
5810
    // .ruby_fuzzer.MathConst math_const = 3;
5811
    {PROTOBUF_FIELD_OFFSET(MathType, _impl_.math_arg_oneof_.math_const_), _Internal::kOneofCaseOffset + 0, 1,
5812
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
5813
  }}, {{
5814
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Rvalue>()},
5815
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::MathConst>()},
5816
  }}, {{
5817
  }},
5818
};
5819
5820
168
PROTOBUF_NOINLINE void MathType::Clear() {
5821
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.MathType)
5822
168
  ::google::protobuf::internal::TSanWrite(&_impl_);
5823
168
  ::uint32_t cached_has_bits = 0;
5824
  // Prevent compiler warnings about cached_has_bits being unused
5825
168
  (void) cached_has_bits;
5826
5827
168
  clear_math_arg_oneof();
5828
168
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5829
168
}
5830
5831
#if defined(PROTOBUF_CUSTOM_VTABLE)
5832
        ::uint8_t* MathType::_InternalSerialize(
5833
            const MessageLite& base, ::uint8_t* target,
5834
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
5835
          const MathType& this_ = static_cast<const MathType&>(base);
5836
#else   // PROTOBUF_CUSTOM_VTABLE
5837
        ::uint8_t* MathType::_InternalSerialize(
5838
            ::uint8_t* target,
5839
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5840
0
          const MathType& this_ = *this;
5841
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5842
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.MathType)
5843
0
          ::uint32_t cached_has_bits = 0;
5844
0
          (void)cached_has_bits;
5845
5846
0
          switch (this_.math_arg_oneof_case()) {
5847
0
            case kMathRval: {
5848
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5849
0
                  2, *this_._impl_.math_arg_oneof_.math_rval_, this_._impl_.math_arg_oneof_.math_rval_->GetCachedSize(), target,
5850
0
                  stream);
5851
0
              break;
5852
0
            }
5853
0
            case kMathConst: {
5854
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5855
0
                  3, *this_._impl_.math_arg_oneof_.math_const_, this_._impl_.math_arg_oneof_.math_const_->GetCachedSize(), target,
5856
0
                  stream);
5857
0
              break;
5858
0
            }
5859
0
            default:
5860
0
              break;
5861
0
          }
5862
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5863
0
            target =
5864
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5865
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5866
0
          }
5867
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.MathType)
5868
0
          return target;
5869
0
        }
5870
5871
#if defined(PROTOBUF_CUSTOM_VTABLE)
5872
        ::size_t MathType::ByteSizeLong(const MessageLite& base) {
5873
          const MathType& this_ = static_cast<const MathType&>(base);
5874
#else   // PROTOBUF_CUSTOM_VTABLE
5875
0
        ::size_t MathType::ByteSizeLong() const {
5876
0
          const MathType& this_ = *this;
5877
0
#endif  // PROTOBUF_CUSTOM_VTABLE
5878
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.MathType)
5879
0
          ::size_t total_size = 0;
5880
5881
0
          ::uint32_t cached_has_bits = 0;
5882
          // Prevent compiler warnings about cached_has_bits being unused
5883
0
          (void)cached_has_bits;
5884
5885
0
          switch (this_.math_arg_oneof_case()) {
5886
            // .ruby_fuzzer.Rvalue math_rval = 2;
5887
0
            case kMathRval: {
5888
0
              total_size += 1 +
5889
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.math_arg_oneof_.math_rval_);
5890
0
              break;
5891
0
            }
5892
            // .ruby_fuzzer.MathConst math_const = 3;
5893
0
            case kMathConst: {
5894
0
              total_size += 1 +
5895
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.math_arg_oneof_.math_const_);
5896
0
              break;
5897
0
            }
5898
0
            case MATH_ARG_ONEOF_NOT_SET: {
5899
0
              break;
5900
0
            }
5901
0
          }
5902
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
5903
0
                                                     &this_._impl_._cached_size_);
5904
0
        }
5905
5906
84
void MathType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5907
84
  auto* const _this = static_cast<MathType*>(&to_msg);
5908
84
  auto& from = static_cast<const MathType&>(from_msg);
5909
84
  ::google::protobuf::Arena* arena = _this->GetArena();
5910
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.MathType)
5911
84
  ABSL_DCHECK_NE(&from, _this);
5912
84
  ::uint32_t cached_has_bits = 0;
5913
84
  (void) cached_has_bits;
5914
5915
84
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
5916
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
5917
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
5918
0
    if (oneof_needs_init) {
5919
0
      if (oneof_to_case != 0) {
5920
0
        _this->clear_math_arg_oneof();
5921
0
      }
5922
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
5923
0
    }
5924
5925
0
    switch (oneof_from_case) {
5926
0
      case kMathRval: {
5927
0
        if (oneof_needs_init) {
5928
0
          _this->_impl_.math_arg_oneof_.math_rval_ =
5929
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Rvalue>(arena, *from._impl_.math_arg_oneof_.math_rval_);
5930
0
        } else {
5931
0
          _this->_impl_.math_arg_oneof_.math_rval_->MergeFrom(from._internal_math_rval());
5932
0
        }
5933
0
        break;
5934
0
      }
5935
0
      case kMathConst: {
5936
0
        if (oneof_needs_init) {
5937
0
          _this->_impl_.math_arg_oneof_.math_const_ =
5938
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::MathConst>(arena, *from._impl_.math_arg_oneof_.math_const_);
5939
0
        } else {
5940
0
          _this->_impl_.math_arg_oneof_.math_const_->MergeFrom(from._internal_math_const());
5941
0
        }
5942
0
        break;
5943
0
      }
5944
0
      case MATH_ARG_ONEOF_NOT_SET:
5945
0
        break;
5946
0
    }
5947
0
  }
5948
84
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5949
84
}
5950
5951
0
void MathType::CopyFrom(const MathType& from) {
5952
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.MathType)
5953
0
  if (&from == this) return;
5954
0
  Clear();
5955
0
  MergeFrom(from);
5956
0
}
5957
5958
PROTOBUF_NOINLINE bool MathType::IsInitializedImpl(
5959
0
    const MessageLite& msg) {
5960
0
  auto& this_ = static_cast<const MathType&>(msg);
5961
0
  switch (this_.math_arg_oneof_case()) {
5962
0
    case kMathRval: {
5963
0
      if (this_.math_arg_oneof_case() == kMathRval && !this_._impl_.math_arg_oneof_.math_rval_->IsInitialized())
5964
0
        return false;
5965
0
      break;
5966
0
    }
5967
0
    case kMathConst: {
5968
0
      if (this_.math_arg_oneof_case() == kMathConst && !this_._impl_.math_arg_oneof_.math_const_->IsInitialized())
5969
0
        return false;
5970
0
      break;
5971
0
    }
5972
0
    case MATH_ARG_ONEOF_NOT_SET: {
5973
0
      break;
5974
0
    }
5975
0
  }
5976
0
  return true;
5977
0
}
5978
5979
0
void MathType::InternalSwap(MathType* PROTOBUF_RESTRICT other) {
5980
0
  using std::swap;
5981
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5982
0
  swap(_impl_.math_arg_oneof_, other->_impl_.math_arg_oneof_);
5983
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
5984
0
}
5985
5986
0
::google::protobuf::Metadata MathType::GetMetadata() const {
5987
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5988
0
}
5989
// ===================================================================
5990
5991
class MathOps::_Internal {
5992
 public:
5993
  using HasBits =
5994
      decltype(std::declval<MathOps>()._impl_._has_bits_);
5995
  static constexpr ::int32_t kHasBitsOffset =
5996
      8 * PROTOBUF_FIELD_OFFSET(MathOps, _impl_._has_bits_);
5997
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
5998
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
5999
0
  }
6000
};
6001
6002
MathOps::MathOps(::google::protobuf::Arena* arena)
6003
#if defined(PROTOBUF_CUSTOM_VTABLE)
6004
    : ::google::protobuf::Message(arena, _class_data_.base()) {
6005
#else   // PROTOBUF_CUSTOM_VTABLE
6006
47.7k
    : ::google::protobuf::Message(arena) {
6007
47.7k
#endif  // PROTOBUF_CUSTOM_VTABLE
6008
47.7k
  SharedCtor(arena);
6009
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.MathOps)
6010
47.7k
}
6011
inline PROTOBUF_NDEBUG_INLINE MathOps::Impl_::Impl_(
6012
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
6013
    const Impl_& from, const ::ruby_fuzzer::MathOps& from_msg)
6014
0
      : _has_bits_{from._has_bits_},
6015
0
        _cached_size_{0} {}
6016
6017
MathOps::MathOps(
6018
    ::google::protobuf::Arena* arena,
6019
    const MathOps& from)
6020
#if defined(PROTOBUF_CUSTOM_VTABLE)
6021
    : ::google::protobuf::Message(arena, _class_data_.base()) {
6022
#else   // PROTOBUF_CUSTOM_VTABLE
6023
0
    : ::google::protobuf::Message(arena) {
6024
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6025
0
  MathOps* const _this = this;
6026
0
  (void)_this;
6027
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6028
0
      from._internal_metadata_);
6029
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
6030
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
6031
0
  _impl_.math_arg_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::MathType>(
6032
0
                              arena, *from._impl_.math_arg_)
6033
0
                        : nullptr;
6034
0
  _impl_.math_op_ = from._impl_.math_op_;
6035
6036
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.MathOps)
6037
0
}
6038
inline PROTOBUF_NDEBUG_INLINE MathOps::Impl_::Impl_(
6039
    ::google::protobuf::internal::InternalVisibility visibility,
6040
    ::google::protobuf::Arena* arena)
6041
47.7k
      : _cached_size_{0},
6042
47.7k
        math_op_{static_cast< ::ruby_fuzzer::MathOps_Mops >(1)} {}
6043
6044
47.7k
inline void MathOps::SharedCtor(::_pb::Arena* arena) {
6045
47.7k
  new (&_impl_) Impl_(internal_visibility(), arena);
6046
47.7k
  _impl_.math_arg_ = {};
6047
47.7k
}
6048
47.7k
MathOps::~MathOps() {
6049
  // @@protoc_insertion_point(destructor:ruby_fuzzer.MathOps)
6050
47.7k
  SharedDtor(*this);
6051
47.7k
}
6052
47.7k
inline void MathOps::SharedDtor(MessageLite& self) {
6053
47.7k
  MathOps& this_ = static_cast<MathOps&>(self);
6054
47.7k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6055
47.7k
  ABSL_DCHECK(this_.GetArena() == nullptr);
6056
47.7k
  delete this_._impl_.math_arg_;
6057
47.7k
  this_._impl_.~Impl_();
6058
47.7k
}
6059
6060
inline void* MathOps::PlacementNew_(const void*, void* mem,
6061
47.7k
                                        ::google::protobuf::Arena* arena) {
6062
47.7k
  return ::new (mem) MathOps(arena);
6063
47.7k
}
6064
0
constexpr auto MathOps::InternalNewImpl_() {
6065
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MathOps),
6066
0
                                            alignof(MathOps));
6067
0
}
6068
PROTOBUF_CONSTINIT
6069
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6070
const ::google::protobuf::internal::ClassDataFull MathOps::_class_data_ = {
6071
    ::google::protobuf::internal::ClassData{
6072
        &_MathOps_default_instance_._instance,
6073
        &_table_.header,
6074
        nullptr,  // OnDemandRegisterArenaDtor
6075
        MathOps::IsInitializedImpl,
6076
        &MathOps::MergeImpl,
6077
        ::google::protobuf::Message::GetNewImpl<MathOps>(),
6078
#if defined(PROTOBUF_CUSTOM_VTABLE)
6079
        &MathOps::SharedDtor,
6080
        ::google::protobuf::Message::GetClearImpl<MathOps>(), &MathOps::ByteSizeLong,
6081
            &MathOps::_InternalSerialize,
6082
#endif  // PROTOBUF_CUSTOM_VTABLE
6083
        PROTOBUF_FIELD_OFFSET(MathOps, _impl_._cached_size_),
6084
        false,
6085
    },
6086
    &MathOps::kDescriptorMethods,
6087
    &descriptor_table_ruby_2eproto,
6088
    nullptr,  // tracker
6089
};
6090
620k
const ::google::protobuf::internal::ClassData* MathOps::GetClassData() const {
6091
620k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
6092
620k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
6093
620k
  return _class_data_.base();
6094
620k
}
6095
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6096
const ::_pbi::TcParseTable<1, 2, 2, 0, 2> MathOps::_table_ = {
6097
  {
6098
    PROTOBUF_FIELD_OFFSET(MathOps, _impl_._has_bits_),
6099
    0, // no _extensions_
6100
    2, 8,  // max_field_number, fast_idx_mask
6101
    offsetof(decltype(_table_), field_lookup_table),
6102
    4294967292,  // skipmap
6103
    offsetof(decltype(_table_), field_entries),
6104
    2,  // num_field_entries
6105
    2,  // num_aux_entries
6106
    offsetof(decltype(_table_), aux_entries),
6107
    _class_data_.base(),
6108
    nullptr,  // post_loop_handler
6109
    ::_pbi::TcParser::GenericFallback,  // fallback
6110
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6111
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::MathOps>(),  // to_prefetch
6112
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
6113
  }, {{
6114
    // required .ruby_fuzzer.MathType math_arg = 2;
6115
    {::_pbi::TcParser::FastMtS1,
6116
     {18, 0, 0, PROTOBUF_FIELD_OFFSET(MathOps, _impl_.math_arg_)}},
6117
    // required .ruby_fuzzer.MathOps.Mops math_op = 1;
6118
    {::_pbi::TcParser::FastEr1S1,
6119
     {8, 1, 10, PROTOBUF_FIELD_OFFSET(MathOps, _impl_.math_op_)}},
6120
  }}, {{
6121
    65535, 65535
6122
  }}, {{
6123
    // required .ruby_fuzzer.MathOps.Mops math_op = 1;
6124
    {PROTOBUF_FIELD_OFFSET(MathOps, _impl_.math_op_), _Internal::kHasBitsOffset + 1, 1,
6125
    (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
6126
    // required .ruby_fuzzer.MathType math_arg = 2;
6127
    {PROTOBUF_FIELD_OFFSET(MathOps, _impl_.math_arg_), _Internal::kHasBitsOffset + 0, 0,
6128
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6129
  }}, {{
6130
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::MathType>()},
6131
    {1, 10},
6132
  }}, {{
6133
  }},
6134
};
6135
6136
0
PROTOBUF_NOINLINE void MathOps::Clear() {
6137
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.MathOps)
6138
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
6139
0
  ::uint32_t cached_has_bits = 0;
6140
  // Prevent compiler warnings about cached_has_bits being unused
6141
0
  (void) cached_has_bits;
6142
6143
0
  cached_has_bits = _impl_._has_bits_[0];
6144
0
  if (cached_has_bits & 0x00000003u) {
6145
0
    if (cached_has_bits & 0x00000001u) {
6146
0
      ABSL_DCHECK(_impl_.math_arg_ != nullptr);
6147
0
      _impl_.math_arg_->Clear();
6148
0
    }
6149
0
    _impl_.math_op_ = 1;
6150
0
  }
6151
0
  _impl_._has_bits_.Clear();
6152
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6153
0
}
6154
6155
#if defined(PROTOBUF_CUSTOM_VTABLE)
6156
        ::uint8_t* MathOps::_InternalSerialize(
6157
            const MessageLite& base, ::uint8_t* target,
6158
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
6159
          const MathOps& this_ = static_cast<const MathOps&>(base);
6160
#else   // PROTOBUF_CUSTOM_VTABLE
6161
        ::uint8_t* MathOps::_InternalSerialize(
6162
            ::uint8_t* target,
6163
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6164
0
          const MathOps& this_ = *this;
6165
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6166
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.MathOps)
6167
0
          ::uint32_t cached_has_bits = 0;
6168
0
          (void)cached_has_bits;
6169
6170
0
          cached_has_bits = this_._impl_._has_bits_[0];
6171
          // required .ruby_fuzzer.MathOps.Mops math_op = 1;
6172
0
          if (cached_has_bits & 0x00000002u) {
6173
0
            target = stream->EnsureSpace(target);
6174
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
6175
0
                1, this_._internal_math_op(), target);
6176
0
          }
6177
6178
          // required .ruby_fuzzer.MathType math_arg = 2;
6179
0
          if (cached_has_bits & 0x00000001u) {
6180
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6181
0
                2, *this_._impl_.math_arg_, this_._impl_.math_arg_->GetCachedSize(), target,
6182
0
                stream);
6183
0
          }
6184
6185
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6186
0
            target =
6187
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6188
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6189
0
          }
6190
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.MathOps)
6191
0
          return target;
6192
0
        }
6193
6194
#if defined(PROTOBUF_CUSTOM_VTABLE)
6195
        ::size_t MathOps::ByteSizeLong(const MessageLite& base) {
6196
          const MathOps& this_ = static_cast<const MathOps&>(base);
6197
#else   // PROTOBUF_CUSTOM_VTABLE
6198
0
        ::size_t MathOps::ByteSizeLong() const {
6199
0
          const MathOps& this_ = *this;
6200
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6201
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.MathOps)
6202
0
          ::size_t total_size = 0;
6203
6204
0
          ::uint32_t cached_has_bits = 0;
6205
          // Prevent compiler warnings about cached_has_bits being unused
6206
0
          (void)cached_has_bits;
6207
6208
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6209
0
          cached_has_bits = this_._impl_._has_bits_[0];
6210
0
          if (cached_has_bits & 0x00000003u) {
6211
            // required .ruby_fuzzer.MathType math_arg = 2;
6212
0
            if (cached_has_bits & 0x00000001u) {
6213
0
              total_size += 1 +
6214
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.math_arg_);
6215
0
            }
6216
            // required .ruby_fuzzer.MathOps.Mops math_op = 1;
6217
0
            if (cached_has_bits & 0x00000002u) {
6218
0
              total_size += 1 +
6219
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_math_op());
6220
0
            }
6221
0
          }
6222
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
6223
0
                                                     &this_._impl_._cached_size_);
6224
0
        }
6225
6226
0
void MathOps::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6227
0
  auto* const _this = static_cast<MathOps*>(&to_msg);
6228
0
  auto& from = static_cast<const MathOps&>(from_msg);
6229
0
  ::google::protobuf::Arena* arena = _this->GetArena();
6230
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.MathOps)
6231
0
  ABSL_DCHECK_NE(&from, _this);
6232
0
  ::uint32_t cached_has_bits = 0;
6233
0
  (void) cached_has_bits;
6234
6235
0
  cached_has_bits = from._impl_._has_bits_[0];
6236
0
  if (cached_has_bits & 0x00000003u) {
6237
0
    if (cached_has_bits & 0x00000001u) {
6238
0
      ABSL_DCHECK(from._impl_.math_arg_ != nullptr);
6239
0
      if (_this->_impl_.math_arg_ == nullptr) {
6240
0
        _this->_impl_.math_arg_ =
6241
0
            ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::MathType>(arena, *from._impl_.math_arg_);
6242
0
      } else {
6243
0
        _this->_impl_.math_arg_->MergeFrom(*from._impl_.math_arg_);
6244
0
      }
6245
0
    }
6246
0
    if (cached_has_bits & 0x00000002u) {
6247
0
      _this->_impl_.math_op_ = from._impl_.math_op_;
6248
0
    }
6249
0
  }
6250
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
6251
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6252
0
}
6253
6254
0
void MathOps::CopyFrom(const MathOps& from) {
6255
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.MathOps)
6256
0
  if (&from == this) return;
6257
0
  Clear();
6258
0
  MergeFrom(from);
6259
0
}
6260
6261
PROTOBUF_NOINLINE bool MathOps::IsInitializedImpl(
6262
0
    const MessageLite& msg) {
6263
0
  auto& this_ = static_cast<const MathOps&>(msg);
6264
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
6265
0
    return false;
6266
0
  }
6267
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
6268
0
    if (!this_._impl_.math_arg_->IsInitialized()) return false;
6269
0
  }
6270
0
  return true;
6271
0
}
6272
6273
0
void MathOps::InternalSwap(MathOps* PROTOBUF_RESTRICT other) {
6274
0
  using std::swap;
6275
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6276
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6277
0
  ::google::protobuf::internal::memswap<
6278
0
      PROTOBUF_FIELD_OFFSET(MathOps, _impl_.math_op_)
6279
0
      + sizeof(MathOps::_impl_.math_op_)
6280
0
      - PROTOBUF_FIELD_OFFSET(MathOps, _impl_.math_arg_)>(
6281
0
          reinterpret_cast<char*>(&_impl_.math_arg_),
6282
0
          reinterpret_cast<char*>(&other->_impl_.math_arg_));
6283
0
}
6284
6285
0
::google::protobuf::Metadata MathOps::GetMetadata() const {
6286
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6287
0
}
6288
// ===================================================================
6289
6290
class BuiltinFuncs::_Internal {
6291
 public:
6292
  static constexpr ::int32_t kOneofCaseOffset =
6293
      PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::BuiltinFuncs, _impl_._oneof_case_);
6294
};
6295
6296
0
void BuiltinFuncs::set_allocated_os(::ruby_fuzzer::ObjectSpace* os) {
6297
0
  ::google::protobuf::Arena* message_arena = GetArena();
6298
0
  clear_bifunc_oneof();
6299
0
  if (os) {
6300
0
    ::google::protobuf::Arena* submessage_arena = os->GetArena();
6301
0
    if (message_arena != submessage_arena) {
6302
0
      os = ::google::protobuf::internal::GetOwnedMessage(message_arena, os, submessage_arena);
6303
0
    }
6304
0
    set_has_os();
6305
0
    _impl_.bifunc_oneof_.os_ = os;
6306
0
  }
6307
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.BuiltinFuncs.os)
6308
0
}
6309
0
void BuiltinFuncs::set_allocated_time(::ruby_fuzzer::Time* time) {
6310
0
  ::google::protobuf::Arena* message_arena = GetArena();
6311
0
  clear_bifunc_oneof();
6312
0
  if (time) {
6313
0
    ::google::protobuf::Arena* submessage_arena = time->GetArena();
6314
0
    if (message_arena != submessage_arena) {
6315
0
      time = ::google::protobuf::internal::GetOwnedMessage(message_arena, time, submessage_arena);
6316
0
    }
6317
0
    set_has_time();
6318
0
    _impl_.bifunc_oneof_.time_ = time;
6319
0
  }
6320
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.BuiltinFuncs.time)
6321
0
}
6322
0
void BuiltinFuncs::set_allocated_arr(::ruby_fuzzer::Array* arr) {
6323
0
  ::google::protobuf::Arena* message_arena = GetArena();
6324
0
  clear_bifunc_oneof();
6325
0
  if (arr) {
6326
0
    ::google::protobuf::Arena* submessage_arena = arr->GetArena();
6327
0
    if (message_arena != submessage_arena) {
6328
0
      arr = ::google::protobuf::internal::GetOwnedMessage(message_arena, arr, submessage_arena);
6329
0
    }
6330
0
    set_has_arr();
6331
0
    _impl_.bifunc_oneof_.arr_ = arr;
6332
0
  }
6333
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.BuiltinFuncs.arr)
6334
0
}
6335
0
void BuiltinFuncs::set_allocated_mops(::ruby_fuzzer::MathOps* mops) {
6336
0
  ::google::protobuf::Arena* message_arena = GetArena();
6337
0
  clear_bifunc_oneof();
6338
0
  if (mops) {
6339
0
    ::google::protobuf::Arena* submessage_arena = mops->GetArena();
6340
0
    if (message_arena != submessage_arena) {
6341
0
      mops = ::google::protobuf::internal::GetOwnedMessage(message_arena, mops, submessage_arena);
6342
0
    }
6343
0
    set_has_mops();
6344
0
    _impl_.bifunc_oneof_.mops_ = mops;
6345
0
  }
6346
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.BuiltinFuncs.mops)
6347
0
}
6348
BuiltinFuncs::BuiltinFuncs(::google::protobuf::Arena* arena)
6349
#if defined(PROTOBUF_CUSTOM_VTABLE)
6350
    : ::google::protobuf::Message(arena, _class_data_.base()) {
6351
#else   // PROTOBUF_CUSTOM_VTABLE
6352
183k
    : ::google::protobuf::Message(arena) {
6353
183k
#endif  // PROTOBUF_CUSTOM_VTABLE
6354
183k
  SharedCtor(arena);
6355
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.BuiltinFuncs)
6356
183k
}
6357
inline PROTOBUF_NDEBUG_INLINE BuiltinFuncs::Impl_::Impl_(
6358
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
6359
    const Impl_& from, const ::ruby_fuzzer::BuiltinFuncs& from_msg)
6360
0
      : bifunc_oneof_{},
6361
0
        _cached_size_{0},
6362
0
        _oneof_case_{from._oneof_case_[0]} {}
6363
6364
BuiltinFuncs::BuiltinFuncs(
6365
    ::google::protobuf::Arena* arena,
6366
    const BuiltinFuncs& from)
6367
#if defined(PROTOBUF_CUSTOM_VTABLE)
6368
    : ::google::protobuf::Message(arena, _class_data_.base()) {
6369
#else   // PROTOBUF_CUSTOM_VTABLE
6370
0
    : ::google::protobuf::Message(arena) {
6371
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6372
0
  BuiltinFuncs* const _this = this;
6373
0
  (void)_this;
6374
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6375
0
      from._internal_metadata_);
6376
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
6377
0
  switch (bifunc_oneof_case()) {
6378
0
    case BIFUNC_ONEOF_NOT_SET:
6379
0
      break;
6380
0
      case kOs:
6381
0
        _impl_.bifunc_oneof_.os_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::ObjectSpace>(arena, *from._impl_.bifunc_oneof_.os_);
6382
0
        break;
6383
0
      case kTime:
6384
0
        _impl_.bifunc_oneof_.time_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Time>(arena, *from._impl_.bifunc_oneof_.time_);
6385
0
        break;
6386
0
      case kArr:
6387
0
        _impl_.bifunc_oneof_.arr_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Array>(arena, *from._impl_.bifunc_oneof_.arr_);
6388
0
        break;
6389
0
      case kMops:
6390
0
        _impl_.bifunc_oneof_.mops_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::MathOps>(arena, *from._impl_.bifunc_oneof_.mops_);
6391
0
        break;
6392
0
  }
6393
6394
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.BuiltinFuncs)
6395
0
}
6396
inline PROTOBUF_NDEBUG_INLINE BuiltinFuncs::Impl_::Impl_(
6397
    ::google::protobuf::internal::InternalVisibility visibility,
6398
    ::google::protobuf::Arena* arena)
6399
183k
      : bifunc_oneof_{},
6400
183k
        _cached_size_{0},
6401
183k
        _oneof_case_{} {}
6402
6403
183k
inline void BuiltinFuncs::SharedCtor(::_pb::Arena* arena) {
6404
183k
  new (&_impl_) Impl_(internal_visibility(), arena);
6405
183k
}
6406
183k
BuiltinFuncs::~BuiltinFuncs() {
6407
  // @@protoc_insertion_point(destructor:ruby_fuzzer.BuiltinFuncs)
6408
183k
  SharedDtor(*this);
6409
183k
}
6410
183k
inline void BuiltinFuncs::SharedDtor(MessageLite& self) {
6411
183k
  BuiltinFuncs& this_ = static_cast<BuiltinFuncs&>(self);
6412
183k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6413
183k
  ABSL_DCHECK(this_.GetArena() == nullptr);
6414
183k
  if (this_.has_bifunc_oneof()) {
6415
153k
    this_.clear_bifunc_oneof();
6416
153k
  }
6417
183k
  this_._impl_.~Impl_();
6418
183k
}
6419
6420
153k
void BuiltinFuncs::clear_bifunc_oneof() {
6421
// @@protoc_insertion_point(one_of_clear_start:ruby_fuzzer.BuiltinFuncs)
6422
153k
  ::google::protobuf::internal::TSanWrite(&_impl_);
6423
153k
  switch (bifunc_oneof_case()) {
6424
23.4k
    case kOs: {
6425
23.4k
      if (GetArena() == nullptr) {
6426
23.4k
        delete _impl_.bifunc_oneof_.os_;
6427
23.4k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6428
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.bifunc_oneof_.os_);
6429
0
      }
6430
23.4k
      break;
6431
0
    }
6432
14.1k
    case kTime: {
6433
14.1k
      if (GetArena() == nullptr) {
6434
14.1k
        delete _impl_.bifunc_oneof_.time_;
6435
14.1k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6436
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.bifunc_oneof_.time_);
6437
0
      }
6438
14.1k
      break;
6439
0
    }
6440
68.3k
    case kArr: {
6441
68.3k
      if (GetArena() == nullptr) {
6442
68.3k
        delete _impl_.bifunc_oneof_.arr_;
6443
68.3k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6444
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.bifunc_oneof_.arr_);
6445
0
      }
6446
68.3k
      break;
6447
0
    }
6448
47.7k
    case kMops: {
6449
47.7k
      if (GetArena() == nullptr) {
6450
47.7k
        delete _impl_.bifunc_oneof_.mops_;
6451
47.7k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6452
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.bifunc_oneof_.mops_);
6453
0
      }
6454
47.7k
      break;
6455
0
    }
6456
0
    case BIFUNC_ONEOF_NOT_SET: {
6457
0
      break;
6458
0
    }
6459
153k
  }
6460
153k
  _impl_._oneof_case_[0] = BIFUNC_ONEOF_NOT_SET;
6461
153k
}
6462
6463
6464
inline void* BuiltinFuncs::PlacementNew_(const void*, void* mem,
6465
183k
                                        ::google::protobuf::Arena* arena) {
6466
183k
  return ::new (mem) BuiltinFuncs(arena);
6467
183k
}
6468
0
constexpr auto BuiltinFuncs::InternalNewImpl_() {
6469
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BuiltinFuncs),
6470
0
                                            alignof(BuiltinFuncs));
6471
0
}
6472
PROTOBUF_CONSTINIT
6473
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6474
const ::google::protobuf::internal::ClassDataFull BuiltinFuncs::_class_data_ = {
6475
    ::google::protobuf::internal::ClassData{
6476
        &_BuiltinFuncs_default_instance_._instance,
6477
        &_table_.header,
6478
        nullptr,  // OnDemandRegisterArenaDtor
6479
        BuiltinFuncs::IsInitializedImpl,
6480
        &BuiltinFuncs::MergeImpl,
6481
        ::google::protobuf::Message::GetNewImpl<BuiltinFuncs>(),
6482
#if defined(PROTOBUF_CUSTOM_VTABLE)
6483
        &BuiltinFuncs::SharedDtor,
6484
        ::google::protobuf::Message::GetClearImpl<BuiltinFuncs>(), &BuiltinFuncs::ByteSizeLong,
6485
            &BuiltinFuncs::_InternalSerialize,
6486
#endif  // PROTOBUF_CUSTOM_VTABLE
6487
        PROTOBUF_FIELD_OFFSET(BuiltinFuncs, _impl_._cached_size_),
6488
        false,
6489
    },
6490
    &BuiltinFuncs::kDescriptorMethods,
6491
    &descriptor_table_ruby_2eproto,
6492
    nullptr,  // tracker
6493
};
6494
1.73M
const ::google::protobuf::internal::ClassData* BuiltinFuncs::GetClassData() const {
6495
1.73M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
6496
1.73M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
6497
1.73M
  return _class_data_.base();
6498
1.73M
}
6499
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6500
const ::_pbi::TcParseTable<0, 4, 4, 0, 2> BuiltinFuncs::_table_ = {
6501
  {
6502
    0,  // no _has_bits_
6503
    0, // no _extensions_
6504
    4, 0,  // max_field_number, fast_idx_mask
6505
    offsetof(decltype(_table_), field_lookup_table),
6506
    4294967280,  // skipmap
6507
    offsetof(decltype(_table_), field_entries),
6508
    4,  // num_field_entries
6509
    4,  // num_aux_entries
6510
    offsetof(decltype(_table_), aux_entries),
6511
    _class_data_.base(),
6512
    nullptr,  // post_loop_handler
6513
    ::_pbi::TcParser::GenericFallback,  // fallback
6514
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6515
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::BuiltinFuncs>(),  // to_prefetch
6516
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
6517
  }, {{
6518
    {::_pbi::TcParser::MiniParse, {}},
6519
  }}, {{
6520
    65535, 65535
6521
  }}, {{
6522
    // .ruby_fuzzer.ObjectSpace os = 1;
6523
    {PROTOBUF_FIELD_OFFSET(BuiltinFuncs, _impl_.bifunc_oneof_.os_), _Internal::kOneofCaseOffset + 0, 0,
6524
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
6525
    // .ruby_fuzzer.Time time = 2;
6526
    {PROTOBUF_FIELD_OFFSET(BuiltinFuncs, _impl_.bifunc_oneof_.time_), _Internal::kOneofCaseOffset + 0, 1,
6527
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
6528
    // .ruby_fuzzer.Array arr = 3;
6529
    {PROTOBUF_FIELD_OFFSET(BuiltinFuncs, _impl_.bifunc_oneof_.arr_), _Internal::kOneofCaseOffset + 0, 2,
6530
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
6531
    // .ruby_fuzzer.MathOps mops = 4;
6532
    {PROTOBUF_FIELD_OFFSET(BuiltinFuncs, _impl_.bifunc_oneof_.mops_), _Internal::kOneofCaseOffset + 0, 3,
6533
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
6534
  }}, {{
6535
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::ObjectSpace>()},
6536
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Time>()},
6537
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Array>()},
6538
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::MathOps>()},
6539
  }}, {{
6540
  }},
6541
};
6542
6543
0
PROTOBUF_NOINLINE void BuiltinFuncs::Clear() {
6544
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.BuiltinFuncs)
6545
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
6546
0
  ::uint32_t cached_has_bits = 0;
6547
  // Prevent compiler warnings about cached_has_bits being unused
6548
0
  (void) cached_has_bits;
6549
6550
0
  clear_bifunc_oneof();
6551
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6552
0
}
6553
6554
#if defined(PROTOBUF_CUSTOM_VTABLE)
6555
        ::uint8_t* BuiltinFuncs::_InternalSerialize(
6556
            const MessageLite& base, ::uint8_t* target,
6557
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
6558
          const BuiltinFuncs& this_ = static_cast<const BuiltinFuncs&>(base);
6559
#else   // PROTOBUF_CUSTOM_VTABLE
6560
        ::uint8_t* BuiltinFuncs::_InternalSerialize(
6561
            ::uint8_t* target,
6562
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6563
0
          const BuiltinFuncs& this_ = *this;
6564
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6565
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.BuiltinFuncs)
6566
0
          ::uint32_t cached_has_bits = 0;
6567
0
          (void)cached_has_bits;
6568
6569
0
          switch (this_.bifunc_oneof_case()) {
6570
0
            case kOs: {
6571
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6572
0
                  1, *this_._impl_.bifunc_oneof_.os_, this_._impl_.bifunc_oneof_.os_->GetCachedSize(), target,
6573
0
                  stream);
6574
0
              break;
6575
0
            }
6576
0
            case kTime: {
6577
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6578
0
                  2, *this_._impl_.bifunc_oneof_.time_, this_._impl_.bifunc_oneof_.time_->GetCachedSize(), target,
6579
0
                  stream);
6580
0
              break;
6581
0
            }
6582
0
            case kArr: {
6583
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6584
0
                  3, *this_._impl_.bifunc_oneof_.arr_, this_._impl_.bifunc_oneof_.arr_->GetCachedSize(), target,
6585
0
                  stream);
6586
0
              break;
6587
0
            }
6588
0
            case kMops: {
6589
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6590
0
                  4, *this_._impl_.bifunc_oneof_.mops_, this_._impl_.bifunc_oneof_.mops_->GetCachedSize(), target,
6591
0
                  stream);
6592
0
              break;
6593
0
            }
6594
0
            default:
6595
0
              break;
6596
0
          }
6597
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6598
0
            target =
6599
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6600
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6601
0
          }
6602
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.BuiltinFuncs)
6603
0
          return target;
6604
0
        }
6605
6606
#if defined(PROTOBUF_CUSTOM_VTABLE)
6607
        ::size_t BuiltinFuncs::ByteSizeLong(const MessageLite& base) {
6608
          const BuiltinFuncs& this_ = static_cast<const BuiltinFuncs&>(base);
6609
#else   // PROTOBUF_CUSTOM_VTABLE
6610
0
        ::size_t BuiltinFuncs::ByteSizeLong() const {
6611
0
          const BuiltinFuncs& this_ = *this;
6612
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6613
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.BuiltinFuncs)
6614
0
          ::size_t total_size = 0;
6615
6616
0
          ::uint32_t cached_has_bits = 0;
6617
          // Prevent compiler warnings about cached_has_bits being unused
6618
0
          (void)cached_has_bits;
6619
6620
0
          switch (this_.bifunc_oneof_case()) {
6621
            // .ruby_fuzzer.ObjectSpace os = 1;
6622
0
            case kOs: {
6623
0
              total_size += 1 +
6624
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bifunc_oneof_.os_);
6625
0
              break;
6626
0
            }
6627
            // .ruby_fuzzer.Time time = 2;
6628
0
            case kTime: {
6629
0
              total_size += 1 +
6630
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bifunc_oneof_.time_);
6631
0
              break;
6632
0
            }
6633
            // .ruby_fuzzer.Array arr = 3;
6634
0
            case kArr: {
6635
0
              total_size += 1 +
6636
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bifunc_oneof_.arr_);
6637
0
              break;
6638
0
            }
6639
            // .ruby_fuzzer.MathOps mops = 4;
6640
0
            case kMops: {
6641
0
              total_size += 1 +
6642
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bifunc_oneof_.mops_);
6643
0
              break;
6644
0
            }
6645
0
            case BIFUNC_ONEOF_NOT_SET: {
6646
0
              break;
6647
0
            }
6648
0
          }
6649
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
6650
0
                                                     &this_._impl_._cached_size_);
6651
0
        }
6652
6653
0
void BuiltinFuncs::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6654
0
  auto* const _this = static_cast<BuiltinFuncs*>(&to_msg);
6655
0
  auto& from = static_cast<const BuiltinFuncs&>(from_msg);
6656
0
  ::google::protobuf::Arena* arena = _this->GetArena();
6657
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.BuiltinFuncs)
6658
0
  ABSL_DCHECK_NE(&from, _this);
6659
0
  ::uint32_t cached_has_bits = 0;
6660
0
  (void) cached_has_bits;
6661
6662
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
6663
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
6664
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
6665
0
    if (oneof_needs_init) {
6666
0
      if (oneof_to_case != 0) {
6667
0
        _this->clear_bifunc_oneof();
6668
0
      }
6669
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
6670
0
    }
6671
6672
0
    switch (oneof_from_case) {
6673
0
      case kOs: {
6674
0
        if (oneof_needs_init) {
6675
0
          _this->_impl_.bifunc_oneof_.os_ =
6676
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::ObjectSpace>(arena, *from._impl_.bifunc_oneof_.os_);
6677
0
        } else {
6678
0
          _this->_impl_.bifunc_oneof_.os_->MergeFrom(from._internal_os());
6679
0
        }
6680
0
        break;
6681
0
      }
6682
0
      case kTime: {
6683
0
        if (oneof_needs_init) {
6684
0
          _this->_impl_.bifunc_oneof_.time_ =
6685
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Time>(arena, *from._impl_.bifunc_oneof_.time_);
6686
0
        } else {
6687
0
          _this->_impl_.bifunc_oneof_.time_->MergeFrom(from._internal_time());
6688
0
        }
6689
0
        break;
6690
0
      }
6691
0
      case kArr: {
6692
0
        if (oneof_needs_init) {
6693
0
          _this->_impl_.bifunc_oneof_.arr_ =
6694
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Array>(arena, *from._impl_.bifunc_oneof_.arr_);
6695
0
        } else {
6696
0
          _this->_impl_.bifunc_oneof_.arr_->MergeFrom(from._internal_arr());
6697
0
        }
6698
0
        break;
6699
0
      }
6700
0
      case kMops: {
6701
0
        if (oneof_needs_init) {
6702
0
          _this->_impl_.bifunc_oneof_.mops_ =
6703
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::MathOps>(arena, *from._impl_.bifunc_oneof_.mops_);
6704
0
        } else {
6705
0
          _this->_impl_.bifunc_oneof_.mops_->MergeFrom(from._internal_mops());
6706
0
        }
6707
0
        break;
6708
0
      }
6709
0
      case BIFUNC_ONEOF_NOT_SET:
6710
0
        break;
6711
0
    }
6712
0
  }
6713
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6714
0
}
6715
6716
0
void BuiltinFuncs::CopyFrom(const BuiltinFuncs& from) {
6717
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.BuiltinFuncs)
6718
0
  if (&from == this) return;
6719
0
  Clear();
6720
0
  MergeFrom(from);
6721
0
}
6722
6723
PROTOBUF_NOINLINE bool BuiltinFuncs::IsInitializedImpl(
6724
0
    const MessageLite& msg) {
6725
0
  auto& this_ = static_cast<const BuiltinFuncs&>(msg);
6726
0
  switch (this_.bifunc_oneof_case()) {
6727
0
    case kOs: {
6728
0
      if (this_.bifunc_oneof_case() == kOs && !this_._impl_.bifunc_oneof_.os_->IsInitialized())
6729
0
        return false;
6730
0
      break;
6731
0
    }
6732
0
    case kTime: {
6733
0
      if (this_.bifunc_oneof_case() == kTime && !this_._impl_.bifunc_oneof_.time_->IsInitialized())
6734
0
        return false;
6735
0
      break;
6736
0
    }
6737
0
    case kArr: {
6738
0
      if (this_.bifunc_oneof_case() == kArr && !this_._impl_.bifunc_oneof_.arr_->IsInitialized())
6739
0
        return false;
6740
0
      break;
6741
0
    }
6742
0
    case kMops: {
6743
0
      if (this_.bifunc_oneof_case() == kMops && !this_._impl_.bifunc_oneof_.mops_->IsInitialized())
6744
0
        return false;
6745
0
      break;
6746
0
    }
6747
0
    case BIFUNC_ONEOF_NOT_SET: {
6748
0
      break;
6749
0
    }
6750
0
  }
6751
0
  return true;
6752
0
}
6753
6754
0
void BuiltinFuncs::InternalSwap(BuiltinFuncs* PROTOBUF_RESTRICT other) {
6755
0
  using std::swap;
6756
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6757
0
  swap(_impl_.bifunc_oneof_, other->_impl_.bifunc_oneof_);
6758
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
6759
0
}
6760
6761
0
::google::protobuf::Metadata BuiltinFuncs::GetMetadata() const {
6762
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6763
0
}
6764
// ===================================================================
6765
6766
class Statement::_Internal {
6767
 public:
6768
  static constexpr ::int32_t kOneofCaseOffset =
6769
      PROTOBUF_FIELD_OFFSET(::ruby_fuzzer::Statement, _impl_._oneof_case_);
6770
};
6771
6772
0
void Statement::set_allocated_assignment(::ruby_fuzzer::AssignmentStatement* assignment) {
6773
0
  ::google::protobuf::Arena* message_arena = GetArena();
6774
0
  clear_stmt_oneof();
6775
0
  if (assignment) {
6776
0
    ::google::protobuf::Arena* submessage_arena = assignment->GetArena();
6777
0
    if (message_arena != submessage_arena) {
6778
0
      assignment = ::google::protobuf::internal::GetOwnedMessage(message_arena, assignment, submessage_arena);
6779
0
    }
6780
0
    set_has_assignment();
6781
0
    _impl_.stmt_oneof_.assignment_ = assignment;
6782
0
  }
6783
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Statement.assignment)
6784
0
}
6785
0
void Statement::set_allocated_ifelse(::ruby_fuzzer::IfElse* ifelse) {
6786
0
  ::google::protobuf::Arena* message_arena = GetArena();
6787
0
  clear_stmt_oneof();
6788
0
  if (ifelse) {
6789
0
    ::google::protobuf::Arena* submessage_arena = ifelse->GetArena();
6790
0
    if (message_arena != submessage_arena) {
6791
0
      ifelse = ::google::protobuf::internal::GetOwnedMessage(message_arena, ifelse, submessage_arena);
6792
0
    }
6793
0
    set_has_ifelse();
6794
0
    _impl_.stmt_oneof_.ifelse_ = ifelse;
6795
0
  }
6796
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Statement.ifelse)
6797
0
}
6798
0
void Statement::set_allocated_ternary_stmt(::ruby_fuzzer::Ternary* ternary_stmt) {
6799
0
  ::google::protobuf::Arena* message_arena = GetArena();
6800
0
  clear_stmt_oneof();
6801
0
  if (ternary_stmt) {
6802
0
    ::google::protobuf::Arena* submessage_arena = ternary_stmt->GetArena();
6803
0
    if (message_arena != submessage_arena) {
6804
0
      ternary_stmt = ::google::protobuf::internal::GetOwnedMessage(message_arena, ternary_stmt, submessage_arena);
6805
0
    }
6806
0
    set_has_ternary_stmt();
6807
0
    _impl_.stmt_oneof_.ternary_stmt_ = ternary_stmt;
6808
0
  }
6809
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Statement.ternary_stmt)
6810
0
}
6811
0
void Statement::set_allocated_builtins(::ruby_fuzzer::BuiltinFuncs* builtins) {
6812
0
  ::google::protobuf::Arena* message_arena = GetArena();
6813
0
  clear_stmt_oneof();
6814
0
  if (builtins) {
6815
0
    ::google::protobuf::Arena* submessage_arena = builtins->GetArena();
6816
0
    if (message_arena != submessage_arena) {
6817
0
      builtins = ::google::protobuf::internal::GetOwnedMessage(message_arena, builtins, submessage_arena);
6818
0
    }
6819
0
    set_has_builtins();
6820
0
    _impl_.stmt_oneof_.builtins_ = builtins;
6821
0
  }
6822
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Statement.builtins)
6823
0
}
6824
0
void Statement::set_allocated_blockstmt(::ruby_fuzzer::StatementSeq* blockstmt) {
6825
0
  ::google::protobuf::Arena* message_arena = GetArena();
6826
0
  clear_stmt_oneof();
6827
0
  if (blockstmt) {
6828
0
    ::google::protobuf::Arena* submessage_arena = blockstmt->GetArena();
6829
0
    if (message_arena != submessage_arena) {
6830
0
      blockstmt = ::google::protobuf::internal::GetOwnedMessage(message_arena, blockstmt, submessage_arena);
6831
0
    }
6832
0
    set_has_blockstmt();
6833
0
    _impl_.stmt_oneof_.blockstmt_ = blockstmt;
6834
0
  }
6835
  // @@protoc_insertion_point(field_set_allocated:ruby_fuzzer.Statement.blockstmt)
6836
0
}
6837
Statement::Statement(::google::protobuf::Arena* arena)
6838
#if defined(PROTOBUF_CUSTOM_VTABLE)
6839
    : ::google::protobuf::Message(arena, _class_data_.base()) {
6840
#else   // PROTOBUF_CUSTOM_VTABLE
6841
801k
    : ::google::protobuf::Message(arena) {
6842
801k
#endif  // PROTOBUF_CUSTOM_VTABLE
6843
801k
  SharedCtor(arena);
6844
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Statement)
6845
801k
}
6846
inline PROTOBUF_NDEBUG_INLINE Statement::Impl_::Impl_(
6847
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
6848
    const Impl_& from, const ::ruby_fuzzer::Statement& from_msg)
6849
0
      : stmt_oneof_{},
6850
0
        _cached_size_{0},
6851
0
        _oneof_case_{from._oneof_case_[0]} {}
6852
6853
Statement::Statement(
6854
    ::google::protobuf::Arena* arena,
6855
    const Statement& from)
6856
#if defined(PROTOBUF_CUSTOM_VTABLE)
6857
    : ::google::protobuf::Message(arena, _class_data_.base()) {
6858
#else   // PROTOBUF_CUSTOM_VTABLE
6859
0
    : ::google::protobuf::Message(arena) {
6860
0
#endif  // PROTOBUF_CUSTOM_VTABLE
6861
0
  Statement* const _this = this;
6862
0
  (void)_this;
6863
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6864
0
      from._internal_metadata_);
6865
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
6866
0
  switch (stmt_oneof_case()) {
6867
0
    case STMT_ONEOF_NOT_SET:
6868
0
      break;
6869
0
      case kAssignment:
6870
0
        _impl_.stmt_oneof_.assignment_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::AssignmentStatement>(arena, *from._impl_.stmt_oneof_.assignment_);
6871
0
        break;
6872
0
      case kIfelse:
6873
0
        _impl_.stmt_oneof_.ifelse_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::IfElse>(arena, *from._impl_.stmt_oneof_.ifelse_);
6874
0
        break;
6875
0
      case kTernaryStmt:
6876
0
        _impl_.stmt_oneof_.ternary_stmt_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Ternary>(arena, *from._impl_.stmt_oneof_.ternary_stmt_);
6877
0
        break;
6878
0
      case kBuiltins:
6879
0
        _impl_.stmt_oneof_.builtins_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::BuiltinFuncs>(arena, *from._impl_.stmt_oneof_.builtins_);
6880
0
        break;
6881
0
      case kBlockstmt:
6882
0
        _impl_.stmt_oneof_.blockstmt_ = ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(arena, *from._impl_.stmt_oneof_.blockstmt_);
6883
0
        break;
6884
0
  }
6885
6886
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.Statement)
6887
0
}
6888
inline PROTOBUF_NDEBUG_INLINE Statement::Impl_::Impl_(
6889
    ::google::protobuf::internal::InternalVisibility visibility,
6890
    ::google::protobuf::Arena* arena)
6891
801k
      : stmt_oneof_{},
6892
801k
        _cached_size_{0},
6893
801k
        _oneof_case_{} {}
6894
6895
801k
inline void Statement::SharedCtor(::_pb::Arena* arena) {
6896
801k
  new (&_impl_) Impl_(internal_visibility(), arena);
6897
801k
}
6898
801k
Statement::~Statement() {
6899
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Statement)
6900
801k
  SharedDtor(*this);
6901
801k
}
6902
801k
inline void Statement::SharedDtor(MessageLite& self) {
6903
801k
  Statement& this_ = static_cast<Statement&>(self);
6904
801k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6905
801k
  ABSL_DCHECK(this_.GetArena() == nullptr);
6906
801k
  if (this_.has_stmt_oneof()) {
6907
597k
    this_.clear_stmt_oneof();
6908
597k
  }
6909
801k
  this_._impl_.~Impl_();
6910
801k
}
6911
6912
598k
void Statement::clear_stmt_oneof() {
6913
// @@protoc_insertion_point(one_of_clear_start:ruby_fuzzer.Statement)
6914
598k
  ::google::protobuf::internal::TSanWrite(&_impl_);
6915
598k
  switch (stmt_oneof_case()) {
6916
324k
    case kAssignment: {
6917
324k
      if (GetArena() == nullptr) {
6918
324k
        delete _impl_.stmt_oneof_.assignment_;
6919
324k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6920
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.stmt_oneof_.assignment_);
6921
0
      }
6922
324k
      break;
6923
0
    }
6924
33.3k
    case kIfelse: {
6925
33.3k
      if (GetArena() == nullptr) {
6926
33.3k
        delete _impl_.stmt_oneof_.ifelse_;
6927
33.3k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6928
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.stmt_oneof_.ifelse_);
6929
0
      }
6930
33.3k
      break;
6931
0
    }
6932
15.1k
    case kTernaryStmt: {
6933
15.1k
      if (GetArena() == nullptr) {
6934
15.1k
        delete _impl_.stmt_oneof_.ternary_stmt_;
6935
15.1k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6936
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.stmt_oneof_.ternary_stmt_);
6937
0
      }
6938
15.1k
      break;
6939
0
    }
6940
183k
    case kBuiltins: {
6941
183k
      if (GetArena() == nullptr) {
6942
183k
        delete _impl_.stmt_oneof_.builtins_;
6943
183k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6944
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.stmt_oneof_.builtins_);
6945
0
      }
6946
183k
      break;
6947
0
    }
6948
42.7k
    case kBlockstmt: {
6949
42.7k
      if (GetArena() == nullptr) {
6950
42.7k
        delete _impl_.stmt_oneof_.blockstmt_;
6951
42.7k
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6952
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.stmt_oneof_.blockstmt_);
6953
0
      }
6954
42.7k
      break;
6955
0
    }
6956
226
    case STMT_ONEOF_NOT_SET: {
6957
226
      break;
6958
0
    }
6959
598k
  }
6960
598k
  _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET;
6961
598k
}
6962
6963
6964
inline void* Statement::PlacementNew_(const void*, void* mem,
6965
801k
                                        ::google::protobuf::Arena* arena) {
6966
801k
  return ::new (mem) Statement(arena);
6967
801k
}
6968
0
constexpr auto Statement::InternalNewImpl_() {
6969
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Statement),
6970
0
                                            alignof(Statement));
6971
0
}
6972
PROTOBUF_CONSTINIT
6973
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6974
const ::google::protobuf::internal::ClassDataFull Statement::_class_data_ = {
6975
    ::google::protobuf::internal::ClassData{
6976
        &_Statement_default_instance_._instance,
6977
        &_table_.header,
6978
        nullptr,  // OnDemandRegisterArenaDtor
6979
        Statement::IsInitializedImpl,
6980
        &Statement::MergeImpl,
6981
        ::google::protobuf::Message::GetNewImpl<Statement>(),
6982
#if defined(PROTOBUF_CUSTOM_VTABLE)
6983
        &Statement::SharedDtor,
6984
        ::google::protobuf::Message::GetClearImpl<Statement>(), &Statement::ByteSizeLong,
6985
            &Statement::_InternalSerialize,
6986
#endif  // PROTOBUF_CUSTOM_VTABLE
6987
        PROTOBUF_FIELD_OFFSET(Statement, _impl_._cached_size_),
6988
        false,
6989
    },
6990
    &Statement::kDescriptorMethods,
6991
    &descriptor_table_ruby_2eproto,
6992
    nullptr,  // tracker
6993
};
6994
7.39M
const ::google::protobuf::internal::ClassData* Statement::GetClassData() const {
6995
7.39M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
6996
7.39M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
6997
7.39M
  return _class_data_.base();
6998
7.39M
}
6999
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7000
const ::_pbi::TcParseTable<0, 5, 5, 0, 2> Statement::_table_ = {
7001
  {
7002
    0,  // no _has_bits_
7003
    0, // no _extensions_
7004
    5, 0,  // max_field_number, fast_idx_mask
7005
    offsetof(decltype(_table_), field_lookup_table),
7006
    4294967264,  // skipmap
7007
    offsetof(decltype(_table_), field_entries),
7008
    5,  // num_field_entries
7009
    5,  // num_aux_entries
7010
    offsetof(decltype(_table_), aux_entries),
7011
    _class_data_.base(),
7012
    nullptr,  // post_loop_handler
7013
    ::_pbi::TcParser::GenericFallback,  // fallback
7014
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7015
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Statement>(),  // to_prefetch
7016
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
7017
  }, {{
7018
    {::_pbi::TcParser::MiniParse, {}},
7019
  }}, {{
7020
    65535, 65535
7021
  }}, {{
7022
    // .ruby_fuzzer.AssignmentStatement assignment = 1;
7023
    {PROTOBUF_FIELD_OFFSET(Statement, _impl_.stmt_oneof_.assignment_), _Internal::kOneofCaseOffset + 0, 0,
7024
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
7025
    // .ruby_fuzzer.IfElse ifelse = 2;
7026
    {PROTOBUF_FIELD_OFFSET(Statement, _impl_.stmt_oneof_.ifelse_), _Internal::kOneofCaseOffset + 0, 1,
7027
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
7028
    // .ruby_fuzzer.Ternary ternary_stmt = 3;
7029
    {PROTOBUF_FIELD_OFFSET(Statement, _impl_.stmt_oneof_.ternary_stmt_), _Internal::kOneofCaseOffset + 0, 2,
7030
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
7031
    // .ruby_fuzzer.BuiltinFuncs builtins = 4;
7032
    {PROTOBUF_FIELD_OFFSET(Statement, _impl_.stmt_oneof_.builtins_), _Internal::kOneofCaseOffset + 0, 3,
7033
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
7034
    // .ruby_fuzzer.StatementSeq blockstmt = 5;
7035
    {PROTOBUF_FIELD_OFFSET(Statement, _impl_.stmt_oneof_.blockstmt_), _Internal::kOneofCaseOffset + 0, 4,
7036
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
7037
  }}, {{
7038
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::AssignmentStatement>()},
7039
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::IfElse>()},
7040
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Ternary>()},
7041
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::BuiltinFuncs>()},
7042
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::StatementSeq>()},
7043
  }}, {{
7044
  }},
7045
};
7046
7047
1.15k
PROTOBUF_NOINLINE void Statement::Clear() {
7048
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Statement)
7049
1.15k
  ::google::protobuf::internal::TSanWrite(&_impl_);
7050
1.15k
  ::uint32_t cached_has_bits = 0;
7051
  // Prevent compiler warnings about cached_has_bits being unused
7052
1.15k
  (void) cached_has_bits;
7053
7054
1.15k
  clear_stmt_oneof();
7055
1.15k
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7056
1.15k
}
7057
7058
#if defined(PROTOBUF_CUSTOM_VTABLE)
7059
        ::uint8_t* Statement::_InternalSerialize(
7060
            const MessageLite& base, ::uint8_t* target,
7061
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
7062
          const Statement& this_ = static_cast<const Statement&>(base);
7063
#else   // PROTOBUF_CUSTOM_VTABLE
7064
        ::uint8_t* Statement::_InternalSerialize(
7065
            ::uint8_t* target,
7066
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7067
0
          const Statement& this_ = *this;
7068
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7069
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Statement)
7070
0
          ::uint32_t cached_has_bits = 0;
7071
0
          (void)cached_has_bits;
7072
7073
0
          switch (this_.stmt_oneof_case()) {
7074
0
            case kAssignment: {
7075
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7076
0
                  1, *this_._impl_.stmt_oneof_.assignment_, this_._impl_.stmt_oneof_.assignment_->GetCachedSize(), target,
7077
0
                  stream);
7078
0
              break;
7079
0
            }
7080
0
            case kIfelse: {
7081
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7082
0
                  2, *this_._impl_.stmt_oneof_.ifelse_, this_._impl_.stmt_oneof_.ifelse_->GetCachedSize(), target,
7083
0
                  stream);
7084
0
              break;
7085
0
            }
7086
0
            case kTernaryStmt: {
7087
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7088
0
                  3, *this_._impl_.stmt_oneof_.ternary_stmt_, this_._impl_.stmt_oneof_.ternary_stmt_->GetCachedSize(), target,
7089
0
                  stream);
7090
0
              break;
7091
0
            }
7092
0
            case kBuiltins: {
7093
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7094
0
                  4, *this_._impl_.stmt_oneof_.builtins_, this_._impl_.stmt_oneof_.builtins_->GetCachedSize(), target,
7095
0
                  stream);
7096
0
              break;
7097
0
            }
7098
0
            case kBlockstmt: {
7099
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7100
0
                  5, *this_._impl_.stmt_oneof_.blockstmt_, this_._impl_.stmt_oneof_.blockstmt_->GetCachedSize(), target,
7101
0
                  stream);
7102
0
              break;
7103
0
            }
7104
0
            default:
7105
0
              break;
7106
0
          }
7107
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7108
0
            target =
7109
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7110
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7111
0
          }
7112
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Statement)
7113
0
          return target;
7114
0
        }
7115
7116
#if defined(PROTOBUF_CUSTOM_VTABLE)
7117
        ::size_t Statement::ByteSizeLong(const MessageLite& base) {
7118
          const Statement& this_ = static_cast<const Statement&>(base);
7119
#else   // PROTOBUF_CUSTOM_VTABLE
7120
0
        ::size_t Statement::ByteSizeLong() const {
7121
0
          const Statement& this_ = *this;
7122
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7123
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Statement)
7124
0
          ::size_t total_size = 0;
7125
7126
0
          ::uint32_t cached_has_bits = 0;
7127
          // Prevent compiler warnings about cached_has_bits being unused
7128
0
          (void)cached_has_bits;
7129
7130
0
          switch (this_.stmt_oneof_case()) {
7131
            // .ruby_fuzzer.AssignmentStatement assignment = 1;
7132
0
            case kAssignment: {
7133
0
              total_size += 1 +
7134
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stmt_oneof_.assignment_);
7135
0
              break;
7136
0
            }
7137
            // .ruby_fuzzer.IfElse ifelse = 2;
7138
0
            case kIfelse: {
7139
0
              total_size += 1 +
7140
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stmt_oneof_.ifelse_);
7141
0
              break;
7142
0
            }
7143
            // .ruby_fuzzer.Ternary ternary_stmt = 3;
7144
0
            case kTernaryStmt: {
7145
0
              total_size += 1 +
7146
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stmt_oneof_.ternary_stmt_);
7147
0
              break;
7148
0
            }
7149
            // .ruby_fuzzer.BuiltinFuncs builtins = 4;
7150
0
            case kBuiltins: {
7151
0
              total_size += 1 +
7152
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stmt_oneof_.builtins_);
7153
0
              break;
7154
0
            }
7155
            // .ruby_fuzzer.StatementSeq blockstmt = 5;
7156
0
            case kBlockstmt: {
7157
0
              total_size += 1 +
7158
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stmt_oneof_.blockstmt_);
7159
0
              break;
7160
0
            }
7161
0
            case STMT_ONEOF_NOT_SET: {
7162
0
              break;
7163
0
            }
7164
0
          }
7165
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
7166
0
                                                     &this_._impl_._cached_size_);
7167
0
        }
7168
7169
0
void Statement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7170
0
  auto* const _this = static_cast<Statement*>(&to_msg);
7171
0
  auto& from = static_cast<const Statement&>(from_msg);
7172
0
  ::google::protobuf::Arena* arena = _this->GetArena();
7173
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Statement)
7174
0
  ABSL_DCHECK_NE(&from, _this);
7175
0
  ::uint32_t cached_has_bits = 0;
7176
0
  (void) cached_has_bits;
7177
7178
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
7179
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
7180
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
7181
0
    if (oneof_needs_init) {
7182
0
      if (oneof_to_case != 0) {
7183
0
        _this->clear_stmt_oneof();
7184
0
      }
7185
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
7186
0
    }
7187
7188
0
    switch (oneof_from_case) {
7189
0
      case kAssignment: {
7190
0
        if (oneof_needs_init) {
7191
0
          _this->_impl_.stmt_oneof_.assignment_ =
7192
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::AssignmentStatement>(arena, *from._impl_.stmt_oneof_.assignment_);
7193
0
        } else {
7194
0
          _this->_impl_.stmt_oneof_.assignment_->MergeFrom(from._internal_assignment());
7195
0
        }
7196
0
        break;
7197
0
      }
7198
0
      case kIfelse: {
7199
0
        if (oneof_needs_init) {
7200
0
          _this->_impl_.stmt_oneof_.ifelse_ =
7201
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::IfElse>(arena, *from._impl_.stmt_oneof_.ifelse_);
7202
0
        } else {
7203
0
          _this->_impl_.stmt_oneof_.ifelse_->MergeFrom(from._internal_ifelse());
7204
0
        }
7205
0
        break;
7206
0
      }
7207
0
      case kTernaryStmt: {
7208
0
        if (oneof_needs_init) {
7209
0
          _this->_impl_.stmt_oneof_.ternary_stmt_ =
7210
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::Ternary>(arena, *from._impl_.stmt_oneof_.ternary_stmt_);
7211
0
        } else {
7212
0
          _this->_impl_.stmt_oneof_.ternary_stmt_->MergeFrom(from._internal_ternary_stmt());
7213
0
        }
7214
0
        break;
7215
0
      }
7216
0
      case kBuiltins: {
7217
0
        if (oneof_needs_init) {
7218
0
          _this->_impl_.stmt_oneof_.builtins_ =
7219
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::BuiltinFuncs>(arena, *from._impl_.stmt_oneof_.builtins_);
7220
0
        } else {
7221
0
          _this->_impl_.stmt_oneof_.builtins_->MergeFrom(from._internal_builtins());
7222
0
        }
7223
0
        break;
7224
0
      }
7225
0
      case kBlockstmt: {
7226
0
        if (oneof_needs_init) {
7227
0
          _this->_impl_.stmt_oneof_.blockstmt_ =
7228
0
              ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(arena, *from._impl_.stmt_oneof_.blockstmt_);
7229
0
        } else {
7230
0
          _this->_impl_.stmt_oneof_.blockstmt_->MergeFrom(from._internal_blockstmt());
7231
0
        }
7232
0
        break;
7233
0
      }
7234
0
      case STMT_ONEOF_NOT_SET:
7235
0
        break;
7236
0
    }
7237
0
  }
7238
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7239
0
}
7240
7241
0
void Statement::CopyFrom(const Statement& from) {
7242
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Statement)
7243
0
  if (&from == this) return;
7244
0
  Clear();
7245
0
  MergeFrom(from);
7246
0
}
7247
7248
PROTOBUF_NOINLINE bool Statement::IsInitializedImpl(
7249
0
    const MessageLite& msg) {
7250
0
  auto& this_ = static_cast<const Statement&>(msg);
7251
0
  switch (this_.stmt_oneof_case()) {
7252
0
    case kAssignment: {
7253
0
      if (this_.stmt_oneof_case() == kAssignment && !this_._impl_.stmt_oneof_.assignment_->IsInitialized())
7254
0
        return false;
7255
0
      break;
7256
0
    }
7257
0
    case kIfelse: {
7258
0
      if (this_.stmt_oneof_case() == kIfelse && !this_._impl_.stmt_oneof_.ifelse_->IsInitialized())
7259
0
        return false;
7260
0
      break;
7261
0
    }
7262
0
    case kTernaryStmt: {
7263
0
      if (this_.stmt_oneof_case() == kTernaryStmt && !this_._impl_.stmt_oneof_.ternary_stmt_->IsInitialized())
7264
0
        return false;
7265
0
      break;
7266
0
    }
7267
0
    case kBuiltins: {
7268
0
      if (this_.stmt_oneof_case() == kBuiltins && !this_._impl_.stmt_oneof_.builtins_->IsInitialized())
7269
0
        return false;
7270
0
      break;
7271
0
    }
7272
0
    case kBlockstmt: {
7273
0
      if (this_.stmt_oneof_case() == kBlockstmt && !this_._impl_.stmt_oneof_.blockstmt_->IsInitialized())
7274
0
        return false;
7275
0
      break;
7276
0
    }
7277
0
    case STMT_ONEOF_NOT_SET: {
7278
0
      break;
7279
0
    }
7280
0
  }
7281
0
  return true;
7282
0
}
7283
7284
0
void Statement::InternalSwap(Statement* PROTOBUF_RESTRICT other) {
7285
0
  using std::swap;
7286
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7287
0
  swap(_impl_.stmt_oneof_, other->_impl_.stmt_oneof_);
7288
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
7289
0
}
7290
7291
0
::google::protobuf::Metadata Statement::GetMetadata() const {
7292
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7293
0
}
7294
// ===================================================================
7295
7296
class StatementSeq::_Internal {
7297
 public:
7298
};
7299
7300
StatementSeq::StatementSeq(::google::protobuf::Arena* arena)
7301
#if defined(PROTOBUF_CUSTOM_VTABLE)
7302
    : ::google::protobuf::Message(arena, _class_data_.base()) {
7303
#else   // PROTOBUF_CUSTOM_VTABLE
7304
111k
    : ::google::protobuf::Message(arena) {
7305
111k
#endif  // PROTOBUF_CUSTOM_VTABLE
7306
111k
  SharedCtor(arena);
7307
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.StatementSeq)
7308
111k
}
7309
inline PROTOBUF_NDEBUG_INLINE StatementSeq::Impl_::Impl_(
7310
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
7311
    const Impl_& from, const ::ruby_fuzzer::StatementSeq& from_msg)
7312
0
      : statements_{visibility, arena, from.statements_},
7313
0
        _cached_size_{0} {}
7314
7315
StatementSeq::StatementSeq(
7316
    ::google::protobuf::Arena* arena,
7317
    const StatementSeq& from)
7318
#if defined(PROTOBUF_CUSTOM_VTABLE)
7319
    : ::google::protobuf::Message(arena, _class_data_.base()) {
7320
#else   // PROTOBUF_CUSTOM_VTABLE
7321
0
    : ::google::protobuf::Message(arena) {
7322
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7323
0
  StatementSeq* const _this = this;
7324
0
  (void)_this;
7325
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7326
0
      from._internal_metadata_);
7327
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
7328
7329
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.StatementSeq)
7330
0
}
7331
inline PROTOBUF_NDEBUG_INLINE StatementSeq::Impl_::Impl_(
7332
    ::google::protobuf::internal::InternalVisibility visibility,
7333
    ::google::protobuf::Arena* arena)
7334
111k
      : statements_{visibility, arena},
7335
111k
        _cached_size_{0} {}
7336
7337
111k
inline void StatementSeq::SharedCtor(::_pb::Arena* arena) {
7338
111k
  new (&_impl_) Impl_(internal_visibility(), arena);
7339
111k
}
7340
111k
StatementSeq::~StatementSeq() {
7341
  // @@protoc_insertion_point(destructor:ruby_fuzzer.StatementSeq)
7342
111k
  SharedDtor(*this);
7343
111k
}
7344
111k
inline void StatementSeq::SharedDtor(MessageLite& self) {
7345
111k
  StatementSeq& this_ = static_cast<StatementSeq&>(self);
7346
111k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7347
111k
  ABSL_DCHECK(this_.GetArena() == nullptr);
7348
111k
  this_._impl_.~Impl_();
7349
111k
}
7350
7351
inline void* StatementSeq::PlacementNew_(const void*, void* mem,
7352
111k
                                        ::google::protobuf::Arena* arena) {
7353
111k
  return ::new (mem) StatementSeq(arena);
7354
111k
}
7355
0
constexpr auto StatementSeq::InternalNewImpl_() {
7356
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7357
0
      PROTOBUF_FIELD_OFFSET(StatementSeq, _impl_.statements_) +
7358
0
          decltype(StatementSeq::_impl_.statements_)::
7359
0
              InternalGetArenaOffset(
7360
0
                  ::google::protobuf::Message::internal_visibility()),
7361
0
  });
7362
0
  if (arena_bits.has_value()) {
7363
0
    return ::google::protobuf::internal::MessageCreator::ZeroInit(
7364
0
        sizeof(StatementSeq), alignof(StatementSeq), *arena_bits);
7365
0
  } else {
7366
0
    return ::google::protobuf::internal::MessageCreator(&StatementSeq::PlacementNew_,
7367
0
                                 sizeof(StatementSeq),
7368
0
                                 alignof(StatementSeq));
7369
0
  }
7370
0
}
7371
PROTOBUF_CONSTINIT
7372
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7373
const ::google::protobuf::internal::ClassDataFull StatementSeq::_class_data_ = {
7374
    ::google::protobuf::internal::ClassData{
7375
        &_StatementSeq_default_instance_._instance,
7376
        &_table_.header,
7377
        nullptr,  // OnDemandRegisterArenaDtor
7378
        StatementSeq::IsInitializedImpl,
7379
        &StatementSeq::MergeImpl,
7380
        ::google::protobuf::Message::GetNewImpl<StatementSeq>(),
7381
#if defined(PROTOBUF_CUSTOM_VTABLE)
7382
        &StatementSeq::SharedDtor,
7383
        ::google::protobuf::Message::GetClearImpl<StatementSeq>(), &StatementSeq::ByteSizeLong,
7384
            &StatementSeq::_InternalSerialize,
7385
#endif  // PROTOBUF_CUSTOM_VTABLE
7386
        PROTOBUF_FIELD_OFFSET(StatementSeq, _impl_._cached_size_),
7387
        false,
7388
    },
7389
    &StatementSeq::kDescriptorMethods,
7390
    &descriptor_table_ruby_2eproto,
7391
    nullptr,  // tracker
7392
};
7393
3.32M
const ::google::protobuf::internal::ClassData* StatementSeq::GetClassData() const {
7394
3.32M
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
7395
3.32M
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
7396
3.32M
  return _class_data_.base();
7397
3.32M
}
7398
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7399
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StatementSeq::_table_ = {
7400
  {
7401
    0,  // no _has_bits_
7402
    0, // no _extensions_
7403
    1, 0,  // max_field_number, fast_idx_mask
7404
    offsetof(decltype(_table_), field_lookup_table),
7405
    4294967294,  // skipmap
7406
    offsetof(decltype(_table_), field_entries),
7407
    1,  // num_field_entries
7408
    1,  // num_aux_entries
7409
    offsetof(decltype(_table_), aux_entries),
7410
    _class_data_.base(),
7411
    nullptr,  // post_loop_handler
7412
    ::_pbi::TcParser::GenericFallback,  // fallback
7413
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7414
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::StatementSeq>(),  // to_prefetch
7415
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
7416
  }, {{
7417
    // repeated .ruby_fuzzer.Statement statements = 1;
7418
    {::_pbi::TcParser::FastMtR1,
7419
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(StatementSeq, _impl_.statements_)}},
7420
  }}, {{
7421
    65535, 65535
7422
  }}, {{
7423
    // repeated .ruby_fuzzer.Statement statements = 1;
7424
    {PROTOBUF_FIELD_OFFSET(StatementSeq, _impl_.statements_), 0, 0,
7425
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
7426
  }}, {{
7427
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::Statement>()},
7428
  }}, {{
7429
  }},
7430
};
7431
7432
50
PROTOBUF_NOINLINE void StatementSeq::Clear() {
7433
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.StatementSeq)
7434
50
  ::google::protobuf::internal::TSanWrite(&_impl_);
7435
50
  ::uint32_t cached_has_bits = 0;
7436
  // Prevent compiler warnings about cached_has_bits being unused
7437
50
  (void) cached_has_bits;
7438
7439
50
  _impl_.statements_.Clear();
7440
50
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7441
50
}
7442
7443
#if defined(PROTOBUF_CUSTOM_VTABLE)
7444
        ::uint8_t* StatementSeq::_InternalSerialize(
7445
            const MessageLite& base, ::uint8_t* target,
7446
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
7447
          const StatementSeq& this_ = static_cast<const StatementSeq&>(base);
7448
#else   // PROTOBUF_CUSTOM_VTABLE
7449
        ::uint8_t* StatementSeq::_InternalSerialize(
7450
            ::uint8_t* target,
7451
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7452
0
          const StatementSeq& this_ = *this;
7453
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7454
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.StatementSeq)
7455
0
          ::uint32_t cached_has_bits = 0;
7456
0
          (void)cached_has_bits;
7457
7458
          // repeated .ruby_fuzzer.Statement statements = 1;
7459
0
          for (unsigned i = 0, n = static_cast<unsigned>(
7460
0
                                   this_._internal_statements_size());
7461
0
               i < n; i++) {
7462
0
            const auto& repfield = this_._internal_statements().Get(i);
7463
0
            target =
7464
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7465
0
                    1, repfield, repfield.GetCachedSize(),
7466
0
                    target, stream);
7467
0
          }
7468
7469
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7470
0
            target =
7471
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7472
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7473
0
          }
7474
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.StatementSeq)
7475
0
          return target;
7476
0
        }
7477
7478
#if defined(PROTOBUF_CUSTOM_VTABLE)
7479
        ::size_t StatementSeq::ByteSizeLong(const MessageLite& base) {
7480
          const StatementSeq& this_ = static_cast<const StatementSeq&>(base);
7481
#else   // PROTOBUF_CUSTOM_VTABLE
7482
0
        ::size_t StatementSeq::ByteSizeLong() const {
7483
0
          const StatementSeq& this_ = *this;
7484
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7485
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.StatementSeq)
7486
0
          ::size_t total_size = 0;
7487
7488
0
          ::uint32_t cached_has_bits = 0;
7489
          // Prevent compiler warnings about cached_has_bits being unused
7490
0
          (void)cached_has_bits;
7491
7492
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7493
0
           {
7494
            // repeated .ruby_fuzzer.Statement statements = 1;
7495
0
            {
7496
0
              total_size += 1UL * this_._internal_statements_size();
7497
0
              for (const auto& msg : this_._internal_statements()) {
7498
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
7499
0
              }
7500
0
            }
7501
0
          }
7502
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
7503
0
                                                     &this_._impl_._cached_size_);
7504
0
        }
7505
7506
18
void StatementSeq::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7507
18
  auto* const _this = static_cast<StatementSeq*>(&to_msg);
7508
18
  auto& from = static_cast<const StatementSeq&>(from_msg);
7509
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.StatementSeq)
7510
18
  ABSL_DCHECK_NE(&from, _this);
7511
18
  ::uint32_t cached_has_bits = 0;
7512
18
  (void) cached_has_bits;
7513
7514
18
  _this->_internal_mutable_statements()->MergeFrom(
7515
18
      from._internal_statements());
7516
18
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7517
18
}
7518
7519
0
void StatementSeq::CopyFrom(const StatementSeq& from) {
7520
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.StatementSeq)
7521
0
  if (&from == this) return;
7522
0
  Clear();
7523
0
  MergeFrom(from);
7524
0
}
7525
7526
PROTOBUF_NOINLINE bool StatementSeq::IsInitializedImpl(
7527
0
    const MessageLite& msg) {
7528
0
  auto& this_ = static_cast<const StatementSeq&>(msg);
7529
0
  if (!::google::protobuf::internal::AllAreInitialized(this_._internal_statements()))
7530
0
    return false;
7531
0
  return true;
7532
0
}
7533
7534
0
void StatementSeq::InternalSwap(StatementSeq* PROTOBUF_RESTRICT other) {
7535
0
  using std::swap;
7536
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7537
0
  _impl_.statements_.InternalSwap(&other->_impl_.statements_);
7538
0
}
7539
7540
0
::google::protobuf::Metadata StatementSeq::GetMetadata() const {
7541
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7542
0
}
7543
// ===================================================================
7544
7545
class Function::_Internal {
7546
 public:
7547
  using HasBits =
7548
      decltype(std::declval<Function>()._impl_._has_bits_);
7549
  static constexpr ::int32_t kHasBitsOffset =
7550
      8 * PROTOBUF_FIELD_OFFSET(Function, _impl_._has_bits_);
7551
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
7552
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
7553
0
  }
7554
};
7555
7556
Function::Function(::google::protobuf::Arena* arena)
7557
#if defined(PROTOBUF_CUSTOM_VTABLE)
7558
    : ::google::protobuf::Message(arena, _class_data_.base()) {
7559
#else   // PROTOBUF_CUSTOM_VTABLE
7560
2.06k
    : ::google::protobuf::Message(arena) {
7561
2.06k
#endif  // PROTOBUF_CUSTOM_VTABLE
7562
2.06k
  SharedCtor(arena);
7563
  // @@protoc_insertion_point(arena_constructor:ruby_fuzzer.Function)
7564
2.06k
}
7565
inline PROTOBUF_NDEBUG_INLINE Function::Impl_::Impl_(
7566
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
7567
    const Impl_& from, const ::ruby_fuzzer::Function& from_msg)
7568
0
      : _has_bits_{from._has_bits_},
7569
0
        _cached_size_{0} {}
7570
7571
Function::Function(
7572
    ::google::protobuf::Arena* arena,
7573
    const Function& from)
7574
#if defined(PROTOBUF_CUSTOM_VTABLE)
7575
    : ::google::protobuf::Message(arena, _class_data_.base()) {
7576
#else   // PROTOBUF_CUSTOM_VTABLE
7577
0
    : ::google::protobuf::Message(arena) {
7578
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7579
0
  Function* const _this = this;
7580
0
  (void)_this;
7581
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7582
0
      from._internal_metadata_);
7583
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
7584
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
7585
0
  _impl_.statements_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(
7586
0
                              arena, *from._impl_.statements_)
7587
0
                        : nullptr;
7588
7589
  // @@protoc_insertion_point(copy_constructor:ruby_fuzzer.Function)
7590
0
}
7591
inline PROTOBUF_NDEBUG_INLINE Function::Impl_::Impl_(
7592
    ::google::protobuf::internal::InternalVisibility visibility,
7593
    ::google::protobuf::Arena* arena)
7594
2.06k
      : _cached_size_{0} {}
7595
7596
2.06k
inline void Function::SharedCtor(::_pb::Arena* arena) {
7597
2.06k
  new (&_impl_) Impl_(internal_visibility(), arena);
7598
2.06k
  _impl_.statements_ = {};
7599
2.06k
}
7600
2.06k
Function::~Function() {
7601
  // @@protoc_insertion_point(destructor:ruby_fuzzer.Function)
7602
2.06k
  SharedDtor(*this);
7603
2.06k
}
7604
2.06k
inline void Function::SharedDtor(MessageLite& self) {
7605
2.06k
  Function& this_ = static_cast<Function&>(self);
7606
2.06k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7607
2.06k
  ABSL_DCHECK(this_.GetArena() == nullptr);
7608
2.06k
  delete this_._impl_.statements_;
7609
2.06k
  this_._impl_.~Impl_();
7610
2.06k
}
7611
7612
inline void* Function::PlacementNew_(const void*, void* mem,
7613
0
                                        ::google::protobuf::Arena* arena) {
7614
0
  return ::new (mem) Function(arena);
7615
0
}
7616
0
constexpr auto Function::InternalNewImpl_() {
7617
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Function),
7618
0
                                            alignof(Function));
7619
0
}
7620
PROTOBUF_CONSTINIT
7621
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7622
const ::google::protobuf::internal::ClassDataFull Function::_class_data_ = {
7623
    ::google::protobuf::internal::ClassData{
7624
        &_Function_default_instance_._instance,
7625
        &_table_.header,
7626
        nullptr,  // OnDemandRegisterArenaDtor
7627
        Function::IsInitializedImpl,
7628
        &Function::MergeImpl,
7629
        ::google::protobuf::Message::GetNewImpl<Function>(),
7630
#if defined(PROTOBUF_CUSTOM_VTABLE)
7631
        &Function::SharedDtor,
7632
        ::google::protobuf::Message::GetClearImpl<Function>(), &Function::ByteSizeLong,
7633
            &Function::_InternalSerialize,
7634
#endif  // PROTOBUF_CUSTOM_VTABLE
7635
        PROTOBUF_FIELD_OFFSET(Function, _impl_._cached_size_),
7636
        false,
7637
    },
7638
    &Function::kDescriptorMethods,
7639
    &descriptor_table_ruby_2eproto,
7640
    nullptr,  // tracker
7641
};
7642
20.8k
const ::google::protobuf::internal::ClassData* Function::GetClassData() const {
7643
20.8k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
7644
20.8k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
7645
20.8k
  return _class_data_.base();
7646
20.8k
}
7647
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7648
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Function::_table_ = {
7649
  {
7650
    PROTOBUF_FIELD_OFFSET(Function, _impl_._has_bits_),
7651
    0, // no _extensions_
7652
    1, 0,  // max_field_number, fast_idx_mask
7653
    offsetof(decltype(_table_), field_lookup_table),
7654
    4294967294,  // skipmap
7655
    offsetof(decltype(_table_), field_entries),
7656
    1,  // num_field_entries
7657
    1,  // num_aux_entries
7658
    offsetof(decltype(_table_), aux_entries),
7659
    _class_data_.base(),
7660
    nullptr,  // post_loop_handler
7661
    ::_pbi::TcParser::GenericFallback,  // fallback
7662
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7663
    ::_pbi::TcParser::GetTable<::ruby_fuzzer::Function>(),  // to_prefetch
7664
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
7665
  }, {{
7666
    // required .ruby_fuzzer.StatementSeq statements = 1;
7667
    {::_pbi::TcParser::FastMtS1,
7668
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Function, _impl_.statements_)}},
7669
  }}, {{
7670
    65535, 65535
7671
  }}, {{
7672
    // required .ruby_fuzzer.StatementSeq statements = 1;
7673
    {PROTOBUF_FIELD_OFFSET(Function, _impl_.statements_), _Internal::kHasBitsOffset + 0, 0,
7674
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
7675
  }}, {{
7676
    {::_pbi::TcParser::GetTable<::ruby_fuzzer::StatementSeq>()},
7677
  }}, {{
7678
  }},
7679
};
7680
7681
4.15k
PROTOBUF_NOINLINE void Function::Clear() {
7682
// @@protoc_insertion_point(message_clear_start:ruby_fuzzer.Function)
7683
4.15k
  ::google::protobuf::internal::TSanWrite(&_impl_);
7684
4.15k
  ::uint32_t cached_has_bits = 0;
7685
  // Prevent compiler warnings about cached_has_bits being unused
7686
4.15k
  (void) cached_has_bits;
7687
7688
4.15k
  cached_has_bits = _impl_._has_bits_[0];
7689
4.15k
  if (cached_has_bits & 0x00000001u) {
7690
14
    ABSL_DCHECK(_impl_.statements_ != nullptr);
7691
14
    _impl_.statements_->Clear();
7692
14
  }
7693
4.15k
  _impl_._has_bits_.Clear();
7694
4.15k
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7695
4.15k
}
7696
7697
#if defined(PROTOBUF_CUSTOM_VTABLE)
7698
        ::uint8_t* Function::_InternalSerialize(
7699
            const MessageLite& base, ::uint8_t* target,
7700
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
7701
          const Function& this_ = static_cast<const Function&>(base);
7702
#else   // PROTOBUF_CUSTOM_VTABLE
7703
        ::uint8_t* Function::_InternalSerialize(
7704
            ::uint8_t* target,
7705
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7706
0
          const Function& this_ = *this;
7707
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7708
          // @@protoc_insertion_point(serialize_to_array_start:ruby_fuzzer.Function)
7709
0
          ::uint32_t cached_has_bits = 0;
7710
0
          (void)cached_has_bits;
7711
7712
0
          cached_has_bits = this_._impl_._has_bits_[0];
7713
          // required .ruby_fuzzer.StatementSeq statements = 1;
7714
0
          if (cached_has_bits & 0x00000001u) {
7715
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7716
0
                1, *this_._impl_.statements_, this_._impl_.statements_->GetCachedSize(), target,
7717
0
                stream);
7718
0
          }
7719
7720
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7721
0
            target =
7722
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7723
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7724
0
          }
7725
          // @@protoc_insertion_point(serialize_to_array_end:ruby_fuzzer.Function)
7726
0
          return target;
7727
0
        }
7728
7729
#if defined(PROTOBUF_CUSTOM_VTABLE)
7730
        ::size_t Function::ByteSizeLong(const MessageLite& base) {
7731
          const Function& this_ = static_cast<const Function&>(base);
7732
#else   // PROTOBUF_CUSTOM_VTABLE
7733
0
        ::size_t Function::ByteSizeLong() const {
7734
0
          const Function& this_ = *this;
7735
0
#endif  // PROTOBUF_CUSTOM_VTABLE
7736
          // @@protoc_insertion_point(message_byte_size_start:ruby_fuzzer.Function)
7737
0
          ::size_t total_size = 0;
7738
7739
0
          ::uint32_t cached_has_bits = 0;
7740
          // Prevent compiler warnings about cached_has_bits being unused
7741
0
          (void)cached_has_bits;
7742
7743
0
           {
7744
            // required .ruby_fuzzer.StatementSeq statements = 1;
7745
0
            cached_has_bits = this_._impl_._has_bits_[0];
7746
0
            if (cached_has_bits & 0x00000001u) {
7747
0
              total_size += 1 +
7748
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.statements_);
7749
0
            }
7750
0
          }
7751
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
7752
0
                                                     &this_._impl_._cached_size_);
7753
0
        }
7754
7755
0
void Function::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7756
0
  auto* const _this = static_cast<Function*>(&to_msg);
7757
0
  auto& from = static_cast<const Function&>(from_msg);
7758
0
  ::google::protobuf::Arena* arena = _this->GetArena();
7759
  // @@protoc_insertion_point(class_specific_merge_from_start:ruby_fuzzer.Function)
7760
0
  ABSL_DCHECK_NE(&from, _this);
7761
0
  ::uint32_t cached_has_bits = 0;
7762
0
  (void) cached_has_bits;
7763
7764
0
  cached_has_bits = from._impl_._has_bits_[0];
7765
0
  if (cached_has_bits & 0x00000001u) {
7766
0
    ABSL_DCHECK(from._impl_.statements_ != nullptr);
7767
0
    if (_this->_impl_.statements_ == nullptr) {
7768
0
      _this->_impl_.statements_ =
7769
0
          ::google::protobuf::Message::CopyConstruct<::ruby_fuzzer::StatementSeq>(arena, *from._impl_.statements_);
7770
0
    } else {
7771
0
      _this->_impl_.statements_->MergeFrom(*from._impl_.statements_);
7772
0
    }
7773
0
  }
7774
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
7775
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7776
0
}
7777
7778
0
void Function::CopyFrom(const Function& from) {
7779
// @@protoc_insertion_point(class_specific_copy_from_start:ruby_fuzzer.Function)
7780
0
  if (&from == this) return;
7781
0
  Clear();
7782
0
  MergeFrom(from);
7783
0
}
7784
7785
PROTOBUF_NOINLINE bool Function::IsInitializedImpl(
7786
0
    const MessageLite& msg) {
7787
0
  auto& this_ = static_cast<const Function&>(msg);
7788
0
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
7789
0
    return false;
7790
0
  }
7791
0
  if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
7792
0
    if (!this_._impl_.statements_->IsInitialized()) return false;
7793
0
  }
7794
0
  return true;
7795
0
}
7796
7797
0
void Function::InternalSwap(Function* PROTOBUF_RESTRICT other) {
7798
0
  using std::swap;
7799
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7800
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7801
0
  swap(_impl_.statements_, other->_impl_.statements_);
7802
0
}
7803
7804
0
::google::protobuf::Metadata Function::GetMetadata() const {
7805
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7806
0
}
7807
// @@protoc_insertion_point(namespace_scope)
7808
}  // namespace ruby_fuzzer
7809
namespace google {
7810
namespace protobuf {
7811
}  // namespace protobuf
7812
}  // namespace google
7813
// @@protoc_insertion_point(global_scope)
7814
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
7815
    _static_init2_ PROTOBUF_UNUSED =
7816
        (::_pbi::AddDescriptors(&descriptor_table_ruby_2eproto),
7817
         ::std::false_type{});
7818
#include "google/protobuf/port_undef.inc"