Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/golang/protobuf
/ functions
Functions
1,635 in github.com/golang/protobuf
⨍
Functions
1,635
◇
Types & classes
204
Function
TestLengthOverflow
(t *testing.T)
proto/proto_test.go:1486
Function
TestMap
(t *testing.T)
proto/proto_test.go:2370
Function
TestMapFieldDeterministicMarshal
(t *testing.T)
proto/proto_test.go:1851
Function
TestMapFieldMarshal
(t *testing.T)
proto/proto_test.go:1808
Function
TestMapFieldRoundTrips
(t *testing.T)
proto/proto_test.go:1877
Function
TestMapFieldWithNil
(t *testing.T)
proto/proto_test.go:1906
Function
TestMapFieldWithNilBytes
(t *testing.T)
proto/proto_test.go:1926
Function
TestMapParsing
(t *testing.T)
proto/text_test.go:1320
Function
TestMarshalAnyJSONPBMarshaler
(t *testing.T)
jsonpb/json_test.go:570
Function
TestMarshalGolden
(t *testing.T)
proto/text_test.go:188
Function
TestMarshalIllegalTime
(t *testing.T)
jsonpb/json_test.go:530
Function
TestMarshalJSONPBMarshaler
(t *testing.T)
jsonpb/json_test.go:558
Function
TestMarshalRace
(t *testing.T)
proto/extensions_test.go:609
Function
TestMarshalText
(t *testing.T)
proto/text_test.go:399
Function
TestMarshalTextCustomMessage
(t *testing.T)
proto/text_test.go:410
Function
TestMarshalTextFailing
(t *testing.T)
proto/text_test.go:588
Function
TestMarshalTextNil
(t *testing.T)
proto/text_test.go:420
Function
TestMarshalTextUnknownEnum
(t *testing.T)
proto/text_test.go:434
Function
TestMarshalUnknownAny
(t *testing.T)
proto/text_test.go:224
Function
TestMarshalUnmarshal
(t *testing.T)
ptypes/any_test.go:17
Function
TestMarshalUnmarshalRepeatedExtension
(t *testing.T)
proto/extensions_test.go:442
Function
TestMarshalUnsetRequiredFields
Test marshaling message containing unset required fields should produce error.
jsonpb/json_test.go:602
Function
TestMarshalWithCustomValidation
(t *testing.T)
jsonpb/json_test.go:588
Function
TestMarshalerEncoding
Simple tests for proto messages that implement the Marshaler interface.
proto/proto_test.go:228
Function
TestMarshaling
(t *testing.T)
jsonpb/json_test.go:511
Function
TestMarshalingNil
(t *testing.T)
jsonpb/json_test.go:522
Function
TestMatching
(t *testing.T)
protoc-gen-go/generator/internal/remap/remap_test.go:31
Function
TestMaximumTagNumber
(t *testing.T)
proto/proto_test.go:1414
Function
TestMerge
(t *testing.T)
proto/proto_clone_test.go:367
Function
TestMergeMessages
(t *testing.T)
proto/proto_test.go:1536
Function
TestMessageDescriptor
(t *testing.T)
descriptor/descriptor_test.go:52
Function
TestNegativeInt32
Check that an int32 field can be upgraded to an int64 field.
proto/proto_test.go:986
Function
TestNilExtension
(t *testing.T)
proto/extensions_test.go:426
Function
TestNilMarshaler
Verify a type that uses the Marshaler interface, but has a nil pointer.
proto/proto_test.go:1308
Function
TestNilMessage
(t *testing.T)
proto/extensions_test.go:351
Function
TestNumericPrimitives
Simple tests for numeric encode/decode primitives (varint, etc.)
proto/proto_test.go:138
Function
TestOneof
(t *testing.T)
proto/proto_test.go:1991
Function
TestOneofNilBytes
(t *testing.T)
proto/proto_test.go:2043
Function
TestOneofParsing
(t *testing.T)
proto/text_test.go:1351
Function
TestPackedNonPackedDecoderSwitching
(t *testing.T)
proto/proto_test.go:1164
Function
TestPrintingNilEnumFields
Enum types have String methods. Check that enum fields can be printed. We don't care what the value actually is, just as long as it doesn't crash.
proto/proto_test.go:1226
Function
TestProto1RepeatedGroup
(t *testing.T)
proto/proto_test.go:1183
Function
TestProto3SetDefaults
(t *testing.T)
proto/proto_test.go:2324
Function
TestProto3Text
(t *testing.T)
proto/text_test.go:650
Function
TestProto3TextParsing
(t *testing.T)
proto/text_test.go:1305
Function
TestProto3ZeroValues
(t *testing.T)
proto/proto_test.go:2260
Function
TestRacyMarshal
(t *testing.T)
proto/text_test.go:691
Function
TestRegistry
(t *testing.T)
proto/registry_test.go:17
Function
TestRepeatedEnum
Regression test; this caused a panic.
proto/text_test.go:1292
Function
TestRepeatedEnum2
Make sure pure-reflect-based implementation handles []int32-[]enum conversion correctly.
proto/proto_test.go:2070
Function
TestRepeatedNilText
(t *testing.T)
proto/text_test.go:627
Function
TestRequired
(t *testing.T)
proto/proto_test.go:2182
Function
TestRequiredBit
Do we catch the "required bit not set" case?
proto/proto_test.go:355
Function
TestRequiredFieldEnforcement
Verify that absent required fields cause Marshal/Unmarshal to return errors.
proto/proto_test.go:1232
Function
TestRequiredFieldEnforcementGroups
Verify that absent required fields in groups cause Marshal/Unmarshal to return errors.
proto/proto_test.go:1254
Function
TestRequiredNotSetError
(t *testing.T)
proto/proto_test.go:1719
Function
TestRequiredNotSetErrorWithBadWireTypes
(t *testing.T)
proto/proto_test.go:1776
Function
TestReset
Does Reset() reset?
proto/proto_test.go:402
Function
TestRoundTripProto3
(t *testing.T)
proto/proto_test.go:2280
Function
TestSetDefaultWithRepeatedNonMessage
(t *testing.T)
proto/proto_test.go:1403
Function
TestSetDefaultsWithRepeatedSubMessage
(t *testing.T)
proto/proto_test.go:1388
Function
TestSetDefaultsWithSetField
(t *testing.T)
proto/proto_test.go:1357
Function
TestSetDefaultsWithSubMessage
(t *testing.T)
proto/proto_test.go:1368
Function
TestSize
(t *testing.T)
proto/proto_test.go:2555
Function
TestSkippingUnrecognizedFields
All required fields set, defaults provided, all repeated fields given two values.
proto/proto_test.go:889
Function
TestStringEscaping
(t *testing.T)
proto/text_test.go:520
Function
TestStringPrimitives
Simple tests for strings
proto/proto_test.go:339
Function
TestSubmessageUnrecognizedFields
Check that unrecognized fields of a submessage are preserved.
proto/proto_test.go:937
Function
TestTextOneof
(t *testing.T)
proto/text_test.go:444
Function
TestTimestamp
(t *testing.T)
ptypes/timestamp_test.go:61
Function
TestTimestampNow
(t *testing.T)
ptypes/timestamp_test.go:113
Function
TestTimestampProto
(t *testing.T)
ptypes/timestamp_test.go:81
Function
TestTimestampString
(t *testing.T)
ptypes/timestamp_test.go:93
Function
TestTypedNilMarshal
(t *testing.T)
proto/proto_test.go:1270
Function
TestTypedNilMarshalInOneof
(t *testing.T)
proto/proto_test.go:1278
Function
TestUnknownFieldPreservation
(t *testing.T)
proto/proto_test.go:2355
Function
TestUnknownV2
(t *testing.T)
proto/proto_test.go:2204
Function
TestUnmarshalAnyJSONPBUnmarshaler
(t *testing.T)
jsonpb/json_test.go:1020
Function
TestUnmarshalAnyMixAndMatch
(t *testing.T)
proto/text_test.go:269
Function
TestUnmarshalDynamic
(t *testing.T)
ptypes/any_test.go:73
Function
TestUnmarshalFuzz
(t *testing.T)
proto/proto_test.go:1522
Function
TestUnmarshalGolden
(t *testing.T)
proto/text_test.go:201
Function
TestUnmarshalJSONPBUnmarshaler
(t *testing.T)
jsonpb/json_test.go:996
Function
TestUnmarshalMergesGroups
(t *testing.T)
proto/proto_test.go:1660
Function
TestUnmarshalMergesMessages
(t *testing.T)
proto/proto_test.go:1617
Function
TestUnmarshalNext
(t *testing.T)
jsonpb/json_test.go:874
Function
TestUnmarshalNullArray
(t *testing.T)
jsonpb/json_test.go:854
Function
TestUnmarshalNullObject
(t *testing.T)
jsonpb/json_test.go:864
Function
TestUnmarshalNullWithJSONPBUnmarshaler
(t *testing.T)
jsonpb/json_test.go:1007
Function
TestUnmarshalOverwriteAny
(t *testing.T)
proto/text_test.go:253
Function
TestUnmarshalRepeatingNonRepeatedExtension
(t *testing.T)
proto/extensions_test.go:509
Function
TestUnmarshalText
(t *testing.T)
proto/text_test.go:1255
Function
TestUnmarshalTextCustomMessage
(t *testing.T)
proto/text_test.go:1281
Function
TestUnmarshalUnsetRequiredFields
Test unmarshaling message containing unset required fields should produce error.
jsonpb/json_test.go:1161
Function
TestUnmarshaling
(t *testing.T)
jsonpb/json_test.go:834
Function
TestUnmarshalingBadInput
(t *testing.T)
jsonpb/json_test.go:928
Function
TestValidateDuration
(t *testing.T)
ptypes/duration_test.go:62
Function
TestValidateTimestamp
(t *testing.T)
ptypes/timestamp_test.go:52
Function
TestVarintOverflow
(t *testing.T)
proto/proto_test.go:1496
Function
TestVarintSize
(t *testing.T)
proto/proto_test.go:2572
← previous
next →
1,101–1,200 of 1,635, ranked by callers