protobuf-go/internal/impl
Michael Stapelberg 9e047b83e6 internal/impl: skip unnecessary requiredField checks for oneofs
This change was originally done by Patrik Nyblom in Google-internal cl/308876443

(The corresponding test is TestDecodeFastCheckInitialized in methods_test.go.)

Change-Id: I312dff53db4d6f87decf152eb20ec4dd280f03c3
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/608256
Reviewed-by: Christian Höppner <hoeppi@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-28 08:50:43 +00:00
..
api_export.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
checkinit.go internal/impl: enable fully lazy extensions (over Size and Marshal) 2024-05-15 08:56:13 +00:00
codec_extension.go internal/impl: remove unused ExtensionField.SetLazy method 2024-08-16 07:37:51 +00:00
codec_field.go internal/impl: skip unnecessary requiredField checks for oneofs 2024-08-28 08:50:43 +00:00
codec_gen.go internal/impl: preallocate memory when unmarshalling packed repeated fields 2023-10-12 06:52:24 +00:00
codec_map_go111.go
codec_map_go112.go
codec_map.go proto: return an error instead of producing invalid wire format 2024-04-18 07:12:00 +00:00
codec_message.go
codec_messageset.go internal/impl: enable fully lazy extensions (over Size and Marshal) 2024-05-15 08:56:13 +00:00
codec_tables.go all: add more test for editions and fix some bugs in the implementation 2024-02-16 14:47:55 +00:00
codec_unsafe.go all: remove unused purego support 2024-08-20 08:15:14 +00:00
convert_list.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
convert_map.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
convert.go internal/descopts,internal/impl: remove shorthand import aliases 2024-08-20 12:08:45 +00:00
decode.go
encode.go internal/impl: fix size cache semantics with lazy decoding 2024-05-17 14:13:36 +00:00
enum_test.go
enum.go
extension_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
extension.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
lazy_normalized_test.go internal/impl: enable fully lazy extensions (over Size and Marshal) 2024-05-15 08:56:13 +00:00
lazy_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
legacy_aberrant_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
legacy_enum.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
legacy_export_test.go all: fix deprecated 2024-04-23 09:50:20 +00:00
legacy_export.go
legacy_extension.go all: plumb the lazy option into filedesc.Field and .Extension 2024-07-08 07:49:25 +00:00
legacy_file_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
legacy_file.go all: fix deprecated 2024-04-23 09:50:20 +00:00
legacy_message.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
legacy_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
merge_gen.go
merge.go
message_reflect_field.go internal/impl: correct reflect.ValueError use 2024-01-04 13:14:07 +00:00
message_reflect_gen.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
message_reflect_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
message_reflect.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
message.go all: remove unused purego support 2024-08-20 08:15:14 +00:00
pointer_unsafe.go all: remove unused purego support 2024-08-20 08:15:14 +00:00
validate.go
weak.go