MCPcopy Create free account

hub / github.com/cloudwego/dynamicgo / functions

Functions4,084 in github.com/cloudwego/dynamicgo

↓ 8 callersMethodLookupFunctionByMethod
LookupFunctionByMethod lookup function by method name
thrift/descriptor.go:404
↓ 8 callersMethodModifyI32
ModifyI16 write int32 into the buffer at the given position
thrift/binary.go:377
↓ 8 callersFunctionNewExampleBase64Binary
()
testdata/kitex_gen/example3/example3.go:1142
↓ 8 callersFunctionNewExampleFallback
()
testdata/kitex_gen/example3/example3.go:861
↓ 8 callersFunctionNewHTTPRequestFromUrl
NewHTTPRequestFromUrl creates a new HTTPRequest from url, body and url-path param.
http/http.go:108
↓ 8 callersFunctionNewHashMap
(n int, loadFactor int)
internal/caching/map.go:48
↓ 8 callersFunctionNewNodeInt32
NewNodeInt32 converts a int32 value to a I32 node
thrift/generic/node.go:113
↓ 8 callersFunctionNewNodeString
NewNodeString converts a string value to a STRING node
thrift/generic/node.go:134
↓ 8 callersFunctionPeek
(src string, pos int)
internal/json/decode.go:208
↓ 8 callersMethodValueMapping
ValueMapping returns the value-mapping annotation of a field
thrift/descriptor.go:319
↓ 8 callersMethodWriteBaseTypeWithDesc
WriteBaseType Fields with FieldDescriptor format: (L)V
proto/binary/binary.go:484
↓ 8 callersMethodWriteBytes
WriteBytes
proto/binary/binary.go:315
↓ 8 callersMethodWriteFieldEnd
WriteFieldEnd ...
thrift/binary.go:267
↓ 8 callersMethodWriteString
WriteString
proto/binary/binary.go:306
↓ 8 callersMethodbin
()
thrift/generic/path.go:116
↓ 8 callersFunctionerrPathNode
go:noinline
thrift/generic/error.go:96
↓ 8 callersMethodint
()
proto/generic/cast.go:105
↓ 8 callersMethodonValueEnd
After parsing one JSON field, maybe basicType(string/int/float/bool/bytes) or complexType(message/map/list) 1. When type is basicType, note that the f
conv/j2p/decode.go:629
↓ 8 callersMethodslice
slice returns a new node which is a slice of a simple node
proto/generic/node.go:48
↓ 8 callersFunctiontb_write_i32
native/thrift.c:65
↓ 8 callersFunctionwrapValue
go:noinline
thrift/generic/error.go:50
↓ 7 callersMethodDecodeInt32
DecodeInt32 decodes a int32 value.
thrift/binary.go:2167
↓ 7 callersMethodDecodeString
DecodeString decodes a string value.
thrift/binary.go:2182
↓ 7 callersMethodDecodeUint64
(b []byte)
proto/protowire/decode.go:198
↓ 7 callersFunctionEncodeFloat64
(buf []byte, val float64)
internal/json/encoding.go:78
↓ 7 callersFunctionEncodeObjectBegin
(buf []byte)
internal/json/encoding.go:99
↓ 7 callersFunctionEncodeObjectEnd
(buf []byte)
internal/json/encoding.go:111
↓ 7 callersMethodFastRead
(b []byte)
testdata/kitex_gen/baseline/k-baseline.go:517
↓ 7 callersMethodFork
NewValueFromNode copy both Node and TypeDescriptor from another Value.
thrift/generic/value.go:45
↓ 7 callersFunctionFreeBytes
FreeBytes returns a byte slice to pool and reset it
conv/api.go:136
↓ 7 callersFunctionGoType2ThriftType
GoType2ThriftType a go primitive type to a thrift type The rules is: - bool -> BOOL - byte/int8 -> BYTE - int16 -> I16 - int32 -> I32 - int64/int -> I
thrift/binary.go:1313
↓ 7 callersMethodHttpMappingFields
GetHttpMappingFields returns the fields with http-mapping annotations
thrift/descriptor.go:197
↓ 7 callersFunctionIndexCharUint
(src string, index int)
internal/rt/fastmem.go:96
↓ 7 callersMethodLeft
Left returns the left bytes to read
thrift/binary.go:128
↓ 7 callersFunctionNewBytes
NewBytes returns a new byte slice from pool
conv/api.go:131
↓ 7 callersFunctionNewExampleJSONString
()
testdata/kitex_gen/example3/example3.go:611
↓ 7 callersFunctionNewExampleOptionalDefaultValue
()
testdata/kitex_gen/example3/example3.go:1232
↓ 7 callersFunctionNewInnerBase
()
testdata/kitex_gen/example3/example3.go:74
↓ 7 callersFunctionNewPartialSimple
()
testdata/kitex_gen/baseline/baseline.go:72
↓ 7 callersFunctionNewPathIntKey
NewPathIntKey creates a PathIntKey path
proto/generic/path.go:195
↓ 7 callersMethodRawBuf
RawBuf returns the raw buffer of the protocol
thrift/binary.go:123
↓ 7 callersMethodReadInt64
ReadI64
proto/binary/binary.go:832
↓ 7 callersMethodResetAll
ResetAll resets self and its children, including path and node both
thrift/generic/path.go:601
↓ 7 callersMethodWriteFloat
WriteFloat
proto/binary/binary.go:294
↓ 7 callersMethodWriteMapEnd
WriteMapEnd ...
thrift/binary.go:307
↓ 7 callersFunctionassignLeaf
assignLeaf assigns a reflect.Value to another reflect.Value
trim/assign.go:1015
↓ 7 callersFunctionassignLeafTryBest
assignLeafTryBest assigns a reflect.Value to another reflect.Value in try-best mode
trim/assign.go:944
↓ 7 callersFunctiongetBytes
()
testdata/test/baseline_j2t_test.go:112
↓ 7 callersFunctiongetExampleDesc
()
conv/j2p/conv_test.go:155
↓ 7 callersFunctiongetPartialNestingValue
()
testdata/test/baseline_j2t_test.go:171
↓ 7 callersFunctiongetPbNestingDesc
()
testdata/test/baseline_p2j_test.go:25
↓ 7 callersFunctiongetPbNestingValue
()
testdata/test/baseline_j2p_test.go:82
↓ 7 callersFunctiongetPbSimpleDesc
()
testdata/test/baseline_p2j_test.go:17
↓ 7 callersFunctionmakeSampleFetch
(width int, depth int)
trim/fetch_test.go:39
↓ 7 callersFunctionreadExampleReqProtoBufData
read ProtoBuf's data in binary format from exampleProtoPath
conv/p2j/conv_test.go:434
↓ 7 callersMethodskipn
skipn updates p.Read like `next_nopanic` without returning the buf
thrift/binary_skip.go:70
↓ 6 callersMethodBool
Bool returns the bool value contained by a BOOL node
thrift/generic/cast.go:100
↓ 6 callersMethodClose
()
http/http.go:341
↓ 6 callersFunctionEncodeObjectComma
(buf []byte)
internal/json/encoding.go:107
↓ 6 callersMethodEncodeString
EncodeString encodes a string value.
thrift/binary.go:2134
↓ 6 callersFunctionFnRequest
FnRequest get the normal requestDescriptor
proto/test_util.go:25
↓ 6 callersMethodFork
Fork deeply copy self and its children to a new PathNode
thrift/generic/path.go:568
↓ 6 callersFunctionGetBase
()
testdata/sample/example2.go:31
↓ 6 callersFunctionGetFnDescFromFile
GetFnDescFromFile get a fucntion descriptor from idl path (relative to your git root) and the function name
proto/test_util.go:12
↓ 6 callersMethodGetMapBody
MapBody returns the value of body with the given key.
http/http.go:81
↓ 6 callersMethodIsSet
IsSet tells if the bit corresponding the given id is marked
thrift/utils.go:65
↓ 6 callersMethodIsWithoutWrapping
IsWithoutWrapping returns if the request and response are not wrapped in struct
thrift/descriptor.go:382
↓ 6 callersFunctionNewExamplePostForm
()
testdata/kitex_gen/example3/example3.go:1017
↓ 6 callersFunctionNewPathBinKey
NewPathBinKey creates a PathBinKey path
thrift/generic/path.go:244
↓ 6 callersMethodReadBaseTypeWithDesc
ReadBaseType with desc, not thread safe
proto/binary/binary.go:1136
↓ 6 callersMethodReadUint64
ReadUint64
proto/binary/binary.go:852
↓ 6 callersMethodSet
Set sets the field descriptor for the given key. NOTICE: It set to hash map by default. If user want to use trie tree, please call Build() after all
internal/util/fieldmap.go:51
↓ 6 callersMethodSkipAllElements
fast skip all elements in LIST/MAP
proto/binary/binary_skip.go:44
↓ 6 callersFunctionStr2Mem
go:nosplit
internal/rt/fastmem.go:46
↓ 6 callersFunctionStrBoundary
(src string)
internal/rt/fastmem.go:103
↓ 6 callersMethodWriteAny
WriteAny write any go primitive type to thrift data, and return top level thrift type It basically obeys rules in `GoType2ThriftType`. Specially, - fo
thrift/binary.go:1480
↓ 6 callersMethodWriteBinary
WriteBinary ...
thrift/binary.go:441
↓ 6 callersMethodWriteI16
WriteI16 ...
thrift/binary.go:367
↓ 6 callersMethodWriteListBegin
WriteListBegin ...
thrift/binary.go:312
↓ 6 callersMethodWriteStructBegin
WriteStructBegin ...
thrift/binary.go:247
↓ 6 callersFunction_mm256_get_mask
native/scanning.c:392
↓ 6 callersFunction_mm_cchars_mask
contrl char: 0x00 ~ 0x1F
native/scanning.c:383
↓ 6 callersFunctionconvertI642StringNesting
(js string, itoa bool)
testdata/test/baseline_j2t_test.go:367
↓ 6 callersFunctionconvertI642StringSimple
func TestThriftEncodeSimple_Load(t *testing.T) { _, err := ejson.Marshal(baseline.Simple{}) if err != nil { t.Fatal(err) } simple := getSimpleDe
testdata/test/baseline_j2t_test.go:325
↓ 6 callersFunctionerrNotFound
go:noinline
thrift/annotation/register.go:69
↓ 6 callersFunctionfetchValue
fetchValue is the internal implementation that works with reflect.Value directly to avoid repeated interface{} boxing/unboxing overhead
trim/fetch.go:168
↓ 6 callersFunctiongetErrorExampleDesc
()
conv/j2t/conv_test.go:218
↓ 6 callersFunctiongetExampleData
()
conv/j2p/conv_test.go:170
↓ 6 callersFunctiongetExampleInt2FloatDesc
()
conv/j2t/conv_test.go:227
↓ 6 callersFunctiongetExampleReq
(exp *example3.ExampleReq, setIs bool, body []byte)
conv/j2t/conv_test.go:274
↓ 6 callersMethoditerFields
()
thrift/generic/iter.go:31
↓ 6 callersMethoditerPairs
()
proto/generic/iter.go:40
↓ 6 callersFunctionputStackFrames
putStackFrames returns a stackFrame slice to the pool
trim/desc.go:326
↓ 6 callersMethodshould
(op string, t thrift.Type)
thrift/generic/path.go:854
↓ 6 callersMethodtoError
()
trim/assign.go:51
↓ 6 callersMethodunmarshalSingular
parse Singular/MessageType field tag is processed outside before doRecurse Singular format: [(L)V] Message format: [Length][[Tag][(L)V] [Tag][(L)V]...
conv/p2j/impl.go:109
↓ 5 callersFunctionAPIHelper
(t *testing.T, root *Value, val *Value, c testAPICase)
thrift/generic/cast_test.go:256
↓ 5 callersMethodAppendTagByKind
Append Tag With FieldDescriptor by kind, you must use kind to write tag, because the typedesc when list has no tag
proto/binary/binary.go:147
↓ 5 callersMethodAt
(p uint32)
internal/caching/map.go:56
↓ 5 callersMethodDecodeFixed64
(b []byte)
proto/protowire/decode.go:223
← previousnext →301–400 of 4,084, ranked by callers