protobuf-go/proto
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
..
bench_test.go
checkinit_test.go all: implement features.field_presence = LEGACY_REQUIRED support 2024-02-21 14:39:44 +00:00
checkinit.go
decode_gen.go
decode_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
decode.go proto: extend Unmarshal documentation, include an example 2024-03-28 08:17:19 +00:00
doc.go all: modernize documentation 2023-09-05 14:55:28 +00:00
encode_gen.go
encode_test.go proto: add examples for Size, MarshalAppend (regarding allocations) 2024-04-02 08:46:54 +00:00
encode.go proto: ensure MarshalOptions are plumbed to all Size calls 2024-04-18 07:28:30 +00:00
equal_test.go proto: add more editions tests for proto.Size and proto.Equal 2024-02-21 08:36:29 +00:00
equal.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 proto: extend documentation of GetExtension, SetExtension 2024-08-27 10:59:06 +00:00
fuzz_test.go all: remove Go 1.17 build tags / workarounds 2024-05-13 14:03:25 +00:00
merge_test.go
merge.go all: modernize documentation 2023-09-05 14:55:28 +00:00
messageset_test.go
messageset.go proto: return an error instead of producing invalid wire format 2024-04-18 07:12:00 +00:00
methods_test.go
nil_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
noenforceutf8_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
proto_methods.go
proto_reflect.go
proto.go all: modernize documentation 2023-09-05 14:55:28 +00:00
reset_test.go
reset.go
size_gen.go
size_test.go proto: add examples for Size, MarshalAppend (regarding allocations) 2024-04-02 08:46:54 +00:00
size.go proto: ensure MarshalOptions are plumbed to all Size calls 2024-04-18 07:28:30 +00:00
testmessages_test.go internal/impl: skip unnecessary requiredField checks for oneofs 2024-08-28 08:50:43 +00:00
validate_test.go
weak_test.go
wrappers.go