MCPcopy Create free account

hub / github.com/golang/protobuf / functions

Functions1,635 in github.com/golang/protobuf

FunctionTestLengthOverflow
(t *testing.T)
proto/proto_test.go:1486
FunctionTestMap
(t *testing.T)
proto/proto_test.go:2370
FunctionTestMapFieldDeterministicMarshal
(t *testing.T)
proto/proto_test.go:1851
FunctionTestMapFieldMarshal
(t *testing.T)
proto/proto_test.go:1808
FunctionTestMapFieldRoundTrips
(t *testing.T)
proto/proto_test.go:1877
FunctionTestMapFieldWithNil
(t *testing.T)
proto/proto_test.go:1906
FunctionTestMapFieldWithNilBytes
(t *testing.T)
proto/proto_test.go:1926
FunctionTestMapParsing
(t *testing.T)
proto/text_test.go:1320
FunctionTestMarshalAnyJSONPBMarshaler
(t *testing.T)
jsonpb/json_test.go:570
FunctionTestMarshalGolden
(t *testing.T)
proto/text_test.go:188
FunctionTestMarshalIllegalTime
(t *testing.T)
jsonpb/json_test.go:530
FunctionTestMarshalJSONPBMarshaler
(t *testing.T)
jsonpb/json_test.go:558
FunctionTestMarshalRace
(t *testing.T)
proto/extensions_test.go:609
FunctionTestMarshalText
(t *testing.T)
proto/text_test.go:399
FunctionTestMarshalTextCustomMessage
(t *testing.T)
proto/text_test.go:410
FunctionTestMarshalTextFailing
(t *testing.T)
proto/text_test.go:588
FunctionTestMarshalTextNil
(t *testing.T)
proto/text_test.go:420
FunctionTestMarshalTextUnknownEnum
(t *testing.T)
proto/text_test.go:434
FunctionTestMarshalUnknownAny
(t *testing.T)
proto/text_test.go:224
FunctionTestMarshalUnmarshal
(t *testing.T)
ptypes/any_test.go:17
FunctionTestMarshalUnmarshalRepeatedExtension
(t *testing.T)
proto/extensions_test.go:442
FunctionTestMarshalUnsetRequiredFields
Test marshaling message containing unset required fields should produce error.
jsonpb/json_test.go:602
FunctionTestMarshalWithCustomValidation
(t *testing.T)
jsonpb/json_test.go:588
FunctionTestMarshalerEncoding
Simple tests for proto messages that implement the Marshaler interface.
proto/proto_test.go:228
FunctionTestMarshaling
(t *testing.T)
jsonpb/json_test.go:511
FunctionTestMarshalingNil
(t *testing.T)
jsonpb/json_test.go:522
FunctionTestMatching
(t *testing.T)
protoc-gen-go/generator/internal/remap/remap_test.go:31
FunctionTestMaximumTagNumber
(t *testing.T)
proto/proto_test.go:1414
FunctionTestMerge
(t *testing.T)
proto/proto_clone_test.go:367
FunctionTestMergeMessages
(t *testing.T)
proto/proto_test.go:1536
FunctionTestMessageDescriptor
(t *testing.T)
descriptor/descriptor_test.go:52
FunctionTestNegativeInt32
Check that an int32 field can be upgraded to an int64 field.
proto/proto_test.go:986
FunctionTestNilExtension
(t *testing.T)
proto/extensions_test.go:426
FunctionTestNilMarshaler
Verify a type that uses the Marshaler interface, but has a nil pointer.
proto/proto_test.go:1308
FunctionTestNilMessage
(t *testing.T)
proto/extensions_test.go:351
FunctionTestNumericPrimitives
Simple tests for numeric encode/decode primitives (varint, etc.)
proto/proto_test.go:138
FunctionTestOneof
(t *testing.T)
proto/proto_test.go:1991
FunctionTestOneofNilBytes
(t *testing.T)
proto/proto_test.go:2043
FunctionTestOneofParsing
(t *testing.T)
proto/text_test.go:1351
FunctionTestPackedNonPackedDecoderSwitching
(t *testing.T)
proto/proto_test.go:1164
FunctionTestPrintingNilEnumFields
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
FunctionTestProto1RepeatedGroup
(t *testing.T)
proto/proto_test.go:1183
FunctionTestProto3SetDefaults
(t *testing.T)
proto/proto_test.go:2324
FunctionTestProto3Text
(t *testing.T)
proto/text_test.go:650
FunctionTestProto3TextParsing
(t *testing.T)
proto/text_test.go:1305
FunctionTestProto3ZeroValues
(t *testing.T)
proto/proto_test.go:2260
FunctionTestRacyMarshal
(t *testing.T)
proto/text_test.go:691
FunctionTestRegistry
(t *testing.T)
proto/registry_test.go:17
FunctionTestRepeatedEnum
Regression test; this caused a panic.
proto/text_test.go:1292
FunctionTestRepeatedEnum2
Make sure pure-reflect-based implementation handles []int32-[]enum conversion correctly.
proto/proto_test.go:2070
FunctionTestRepeatedNilText
(t *testing.T)
proto/text_test.go:627
FunctionTestRequired
(t *testing.T)
proto/proto_test.go:2182
FunctionTestRequiredBit
Do we catch the "required bit not set" case?
proto/proto_test.go:355
FunctionTestRequiredFieldEnforcement
Verify that absent required fields cause Marshal/Unmarshal to return errors.
proto/proto_test.go:1232
FunctionTestRequiredFieldEnforcementGroups
Verify that absent required fields in groups cause Marshal/Unmarshal to return errors.
proto/proto_test.go:1254
FunctionTestRequiredNotSetError
(t *testing.T)
proto/proto_test.go:1719
FunctionTestRequiredNotSetErrorWithBadWireTypes
(t *testing.T)
proto/proto_test.go:1776
FunctionTestReset
Does Reset() reset?
proto/proto_test.go:402
FunctionTestRoundTripProto3
(t *testing.T)
proto/proto_test.go:2280
FunctionTestSetDefaultWithRepeatedNonMessage
(t *testing.T)
proto/proto_test.go:1403
FunctionTestSetDefaultsWithRepeatedSubMessage
(t *testing.T)
proto/proto_test.go:1388
FunctionTestSetDefaultsWithSetField
(t *testing.T)
proto/proto_test.go:1357
FunctionTestSetDefaultsWithSubMessage
(t *testing.T)
proto/proto_test.go:1368
FunctionTestSize
(t *testing.T)
proto/proto_test.go:2555
FunctionTestSkippingUnrecognizedFields
All required fields set, defaults provided, all repeated fields given two values.
proto/proto_test.go:889
FunctionTestStringEscaping
(t *testing.T)
proto/text_test.go:520
FunctionTestStringPrimitives
Simple tests for strings
proto/proto_test.go:339
FunctionTestSubmessageUnrecognizedFields
Check that unrecognized fields of a submessage are preserved.
proto/proto_test.go:937
FunctionTestTextOneof
(t *testing.T)
proto/text_test.go:444
FunctionTestTimestamp
(t *testing.T)
ptypes/timestamp_test.go:61
FunctionTestTimestampNow
(t *testing.T)
ptypes/timestamp_test.go:113
FunctionTestTimestampProto
(t *testing.T)
ptypes/timestamp_test.go:81
FunctionTestTimestampString
(t *testing.T)
ptypes/timestamp_test.go:93
FunctionTestTypedNilMarshal
(t *testing.T)
proto/proto_test.go:1270
FunctionTestTypedNilMarshalInOneof
(t *testing.T)
proto/proto_test.go:1278
FunctionTestUnknownFieldPreservation
(t *testing.T)
proto/proto_test.go:2355
FunctionTestUnknownV2
(t *testing.T)
proto/proto_test.go:2204
FunctionTestUnmarshalAnyJSONPBUnmarshaler
(t *testing.T)
jsonpb/json_test.go:1020
FunctionTestUnmarshalAnyMixAndMatch
(t *testing.T)
proto/text_test.go:269
FunctionTestUnmarshalDynamic
(t *testing.T)
ptypes/any_test.go:73
FunctionTestUnmarshalFuzz
(t *testing.T)
proto/proto_test.go:1522
FunctionTestUnmarshalGolden
(t *testing.T)
proto/text_test.go:201
FunctionTestUnmarshalJSONPBUnmarshaler
(t *testing.T)
jsonpb/json_test.go:996
FunctionTestUnmarshalMergesGroups
(t *testing.T)
proto/proto_test.go:1660
FunctionTestUnmarshalMergesMessages
(t *testing.T)
proto/proto_test.go:1617
FunctionTestUnmarshalNext
(t *testing.T)
jsonpb/json_test.go:874
FunctionTestUnmarshalNullArray
(t *testing.T)
jsonpb/json_test.go:854
FunctionTestUnmarshalNullObject
(t *testing.T)
jsonpb/json_test.go:864
FunctionTestUnmarshalNullWithJSONPBUnmarshaler
(t *testing.T)
jsonpb/json_test.go:1007
FunctionTestUnmarshalOverwriteAny
(t *testing.T)
proto/text_test.go:253
FunctionTestUnmarshalRepeatingNonRepeatedExtension
(t *testing.T)
proto/extensions_test.go:509
FunctionTestUnmarshalText
(t *testing.T)
proto/text_test.go:1255
FunctionTestUnmarshalTextCustomMessage
(t *testing.T)
proto/text_test.go:1281
FunctionTestUnmarshalUnsetRequiredFields
Test unmarshaling message containing unset required fields should produce error.
jsonpb/json_test.go:1161
FunctionTestUnmarshaling
(t *testing.T)
jsonpb/json_test.go:834
FunctionTestUnmarshalingBadInput
(t *testing.T)
jsonpb/json_test.go:928
FunctionTestValidateDuration
(t *testing.T)
ptypes/duration_test.go:62
FunctionTestValidateTimestamp
(t *testing.T)
ptypes/timestamp_test.go:52
FunctionTestVarintOverflow
(t *testing.T)
proto/proto_test.go:1496
FunctionTestVarintSize
(t *testing.T)
proto/proto_test.go:2572
← previousnext →1,101–1,200 of 1,635, ranked by callers