MCPcopy Create free account

hub / github.com/aws/smithy-go / functions

Functions4,329 in github.com/aws/smithy-go

FunctionTestAsFloat64
(t *testing.T)
encoding/cbor/coerce_test.go:320
FunctionTestAsInt16
(t *testing.T)
encoding/cbor/coerce_test.go:72
FunctionTestAsInt32
(t *testing.T)
encoding/cbor/coerce_test.go:133
FunctionTestAsInt64
(t *testing.T)
encoding/cbor/coerce_test.go:194
FunctionTestAsInt8
(t *testing.T)
encoding/cbor/coerce_test.go:11
FunctionTestAsTime
(t *testing.T)
encoding/cbor/coerce_test.go:389
FunctionTestAssertJSON
(t *testing.T)
testing/document_test.go:8
FunctionTestAssertURLFormEqual
(t *testing.T)
testing/document_test.go:39
FunctionTestAuthOptions
(t *testing.T)
auth/option_test.go:9
FunctionTestBackwardsCompatibility
(t *testing.T)
aws-http-auth/sigv4/sigv4_test.go:356
FunctionTestBindingExtIsCached
The walk this caches does not allocate, so allocation cannot tell you whether the cache is live -- what it costs is time. Assert the mechanism instead
transport/http/protocol/internal/httpbinding/ext_test.go:46
FunctionTestBlobIsCopiedOutOfPayload
(t *testing.T)
transport/http/protocol/internal/cbor/zz_alias_test.go:22
FunctionTestBool
(t *testing.T)
ptr/to_ptr_test.go:8
FunctionTestBoolMap
(t *testing.T)
ptr/to_ptr_test.go:34
FunctionTestBoolSlice
(t *testing.T)
ptr/to_ptr_test.go:20
FunctionTestBufferPoolConcurrent
exercises the pool the way protocols use it, with mixed sizes including oversized that will drop
internal/sync/buffer_pool_test.go:11
FunctionTestBuildCanonicalRequest_DisableDoubleEscape
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:355
FunctionTestBuildCanonicalRequest_DoubleHeader
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:218
FunctionTestBuildCanonicalRequest_EmptyQuery
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:287
FunctionTestBuildCanonicalRequest_NoPath
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:183
FunctionTestBuildCanonicalRequest_QueryOrderAfterEncoding
TestBuildCanonicalRequest_QueryOrderAfterEncoding asserts that the canonical query string is ordered on the URI-encoded form of each parameter. SigV4
aws-http-auth/internal/v4/query_order_test.go:16
FunctionTestBuildCanonicalRequest_SignedPayload
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:148
FunctionTestBuildCanonicalRequest_SortQuery
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:254
FunctionTestBuildCanonicalRequest_UnsignedPayload
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:320
FunctionTestByte
(t *testing.T)
ptr/to_ptr_test.go:51
FunctionTestByteMap
(t *testing.T)
ptr/to_ptr_test.go:72
FunctionTestByteSlice
(t *testing.T)
ptr/to_ptr_test.go:58
FunctionTestBytesValue_EncodeRejectsOversizedLength
TestBytesValue_EncodeRejectsOversizedLength verifies the same bounds check for byte-array header values, the other variable-length value type that car
eventstream/header_value_test.go:289
FunctionTestCache
(t *testing.T)
container/private/cache/lru/lru_test.go:5
FunctionTestCachedFields
(t *testing.T)
document/internal/serde/field_test.go:89
FunctionTestCanonicalTimeFormat
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:572
FunctionTestChecksumMiddleware
(t *testing.T)
transport/http/checksum_middleware_test.go:14
FunctionTestClientHandler_Handle
(t *testing.T)
transport/http/client_test.go:13
FunctionTestCloseResponseBodyLogsCloseError
(t *testing.T)
transport/http/middleware_close_response_body_test.go:31
FunctionTestCloseResponseBodyLogsDiscardError
(t *testing.T)
transport/http/middleware_close_response_body_test.go:56
FunctionTestCollectUnknownField
(t *testing.T)
encoding/json/decoder_util_test.go:40
FunctionTestCompareValues
(t *testing.T)
testing/struct_test.go:14
FunctionTestCompareValues_Document
(t *testing.T)
testing/struct_test.go:299
FunctionTestComputeDelay
(t *testing.T)
waiter/waiter_test.go:12
FunctionTestDateTime
(t *testing.T)
time/time_test.go:10
FunctionTestDecodeLimits
(t *testing.T)
eventstream/decode_test.go:145
FunctionTestDecode_Atomic
(t *testing.T)
encoding/cbor/decode_test.go:337
FunctionTestDecode_DefiniteSlice
(t *testing.T)
encoding/cbor/decode_test.go:476
FunctionTestDecode_DefiniteString
(t *testing.T)
encoding/cbor/decode_test.go:557
FunctionTestDecode_Fuzz
caught by fuzz: - broken typecast from uint64 to int when checking encoded string(mt2,3) length vs buflen - huge encoded list/map sizes would cause pa
encoding/cbor/fuzz_test.go:18
FunctionTestDecode_IndefiniteSlice
(t *testing.T)
encoding/cbor/decode_test.go:503
FunctionTestDecode_IndefiniteString
(t *testing.T)
encoding/cbor/decode_test.go:584
FunctionTestDecode_InvalidArgument
(t *testing.T)
encoding/cbor/decode_test.go:11
FunctionTestDecode_InvalidList
(t *testing.T)
encoding/cbor/decode_test.go:227
FunctionTestDecode_InvalidMap
(t *testing.T)
encoding/cbor/decode_test.go:261
FunctionTestDecode_InvalidSlice
(t *testing.T)
encoding/cbor/decode_test.go:169
FunctionTestDecode_InvalidTag
(t *testing.T)
encoding/cbor/decode_test.go:311
FunctionTestDecode_KitchenSink
(t *testing.T)
document/cbor/decode_test.go:13
FunctionTestDecode_List
(t *testing.T)
encoding/cbor/decode_test.go:638
FunctionTestDecode_Map
(t *testing.T)
encoding/cbor/decode_test.go:897
FunctionTestDecode_MaxNestingDepth
(t *testing.T)
encoding/cbor/decode_test.go:1337
FunctionTestDecode_Tag
(t *testing.T)
encoding/cbor/decode_test.go:1156
FunctionTestDecoder_Decode
(t *testing.T)
eventstream/decode_test.go:41
FunctionTestDecoder_DecodeJSONInterface
(t *testing.T)
document/json/decoder_test.go:25
FunctionTestDecoder_DecodeMultipleMessages
(t *testing.T)
eventstream/decode_test.go:101
FunctionTestDecoder_Decode_Negative
(t *testing.T)
eventstream/decode_test.go:81
FunctionTestDecorateHandler
(t *testing.T)
middleware/middleware_test.go:54
FunctionTestDeriveECDSAKeyPairFromSecret
(t *testing.T)
aws-http-auth/sigv4a/sigv4a_test.go:71
FunctionTestDeserializeNestedPayloadStruct
A structure member bound with @httpPayload is a "binding" at the top level, but everything inside of it comes from the body. Prior to the fix for this
transport/http/protocol/internal/httpbinding/deserializer_test.go:100
FunctionTestDeserializePrefixHeadersReadNil
ReadNil within a prefix-headers map must not touch the body, which may be empty or not JSON at all (e.g. a blob payload).
transport/http/protocol/internal/httpbinding/deserializer_test.go:155
FunctionTestDeserializeUnionPayload
A union targeted by @httpPayload is reached without going through ReadStruct's depth counter, so it is a second, independent way for bindings to leak
transport/http/protocol/internal/httpbinding/union_payload_test.go:17
FunctionTestDeterministicMapOrder
(t *testing.T)
document/json/encoder_test.go:70
FunctionTestDisableDoubleEncoding
(t *testing.T)
transport/http/properties_test.go:65
FunctionTestDiscardUnknownField
(t *testing.T)
encoding/json/decoder_util_test.go:11
FunctionTestDo
(t *testing.T)
internal/sync/singleflight/singleflight_test.go:22
FunctionTestDoChan
(t *testing.T)
internal/sync/singleflight/singleflight_test.go:138
FunctionTestDoDupSuppress
(t *testing.T)
internal/sync/singleflight/singleflight_test.go:49
FunctionTestDoErr
(t *testing.T)
internal/sync/singleflight/singleflight_test.go:35
FunctionTestDocumentNumberEncodesAsNumber
(t *testing.T)
document/json/encoder_test.go:96
FunctionTestE2E_S3MRAP
WARNING: this test takes a while, because creating an MRAP is asynchronous and slow 1. creates a bucket in us-east-1 2. creates an MRAP that points t
aws-http-auth/sigv4a/e2e_test.go:408
FunctionTestE2E_SQS
(t *testing.T)
aws-http-auth/sigv4/e2e_test.go:122
FunctionTestEmptyPayloadWithoutSentinel
(t *testing.T)
aws-http-auth/internal/v4/signer_test.go:523
FunctionTestEncodeAttribute
(t *testing.T)
encoding/xml/encoder_test.go:41
FunctionTestEncodeContentLength
(t *testing.T)
encoding/httpbinding/encode_test.go:102
FunctionTestEncodeEmptyNamespacePrefix
(t *testing.T)
encoding/xml/encoder_test.go:88
FunctionTestEncodeEscaping
(t *testing.T)
encoding/xml/encoder_test.go:482
FunctionTestEncodeHeaders_NameLengthBoundary
TestEncodeHeaders_NameLengthBoundary covers the 255-byte (valid) and 256-byte (invalid) encoded header-name boundary from the protocol spec: "Header n
eventstream/encode_test.go:83
FunctionTestEncodeListFlatten
(t *testing.T)
encoding/xml/encoder_test.go:341
FunctionTestEncodeListFlattenShape
(t *testing.T)
encoding/xml/encoder_test.go:419
FunctionTestEncodeListNamed
(t *testing.T)
encoding/xml/encoder_test.go:362
FunctionTestEncodeListNamedShape
(t *testing.T)
encoding/xml/encoder_test.go:449
FunctionTestEncodeListShape
(t *testing.T)
encoding/xml/encoder_test.go:387
FunctionTestEncodeListString
(t *testing.T)
encoding/xml/encoder_test.go:319
FunctionTestEncodeMapFlatten
(t *testing.T)
encoding/xml/encoder_test.go:172
FunctionTestEncodeMapFlattenShape
(t *testing.T)
encoding/xml/encoder_test.go:258
FunctionTestEncodeMapNamed
(t *testing.T)
encoding/xml/encoder_test.go:198
FunctionTestEncodeMapNamedShape
(t *testing.T)
encoding/xml/encoder_test.go:287
FunctionTestEncodeMapShape
(t *testing.T)
encoding/xml/encoder_test.go:225
FunctionTestEncodeMapString
(t *testing.T)
encoding/xml/encoder_test.go:145
FunctionTestEncodeNamespace
(t *testing.T)
encoding/xml/encoder_test.go:62
FunctionTestEncodeNestedShape
(t *testing.T)
encoding/xml/encoder_test.go:123
FunctionTestEncode_Atomic
(t *testing.T)
encoding/cbor/encode_test.go:10
FunctionTestEncode_FailureAtomicity
TestEncode_FailureAtomicity proves that when an input is rejected, the encoder leaves no partial frame. Asserts atomicity at the full Encoder.Encode l
eventstream/encode_test.go:178
FunctionTestEncode_ForgedHeaderCannotProduceTransmissibleFrame
TestEncode_ForgedHeaderCannotProduceTransmissibleFrame proves a forged header input (an oversized string value whose length would wrap to a small/zero
eventstream/encode_test.go:142
FunctionTestEncode_KitchenSink
(t *testing.T)
document/cbor/encode_test.go:13
← previousnext →3,101–3,200 of 4,329, ranked by callers