Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloudwego/dynamicgo
/ functions
Functions
4,084 in github.com/cloudwego/dynamicgo
⨍
Functions
4,084
◇
Types & classes
525
↓ 237 callers
Method
Struct
Struct returns the struct type descriptor of a STRUCT type
thrift/descriptor.go:163
↓ 194 callers
Function
NewPathFieldName
NewPathFieldName creates a PathFieldName path
proto/generic/path.go:169
↓ 156 callers
Method
Type
Type returns the proto type of the node
proto/generic/node.go:33
↓ 141 callers
Function
NewPathFieldName
NewPathFieldName creates a PathFieldName path
thrift/generic/path.go:210
↓ 139 callers
Method
String
(ctx context.Context, req string)
testdata/kitex_gen/example3/example3.go:1491
↓ 137 callers
Method
ReadFieldBegin
ReadFieldBegin ...
thrift/binary.go:562
↓ 130 callers
Function
NewPathFieldId
NewPathFieldId creates a PathFieldId path
thrift/generic/path.go:202
↓ 130 callers
Method
Skip
Skip skips over the value for the given type. Deprecated: use SkipType instead
thrift/binary_skip.go:54
↓ 129 callers
Method
Type
Type returns the type of the annotation
thrift/annotation.go:116
↓ 128 callers
Method
Type
Type returns the thrift type of the node
thrift/generic/node.go:278
↓ 124 callers
Method
ReadString
ReadString ...
thrift/binary.go:767
↓ 121 callers
Method
Do
Do converts json bytes (jbytes) to thrift binary (tbytes) desc is the thrift type descriptor of the thrift binary, usually it the request STRUCT type
conv/j2t/conv.go:53
↓ 113 callers
Method
Kind
Kind returns the kind of the annotation
thrift/annotation.go:86
↓ 108 callers
Method
FieldById
FieldById finds the field by field id
thrift/descriptor.go:237
↓ 106 callers
Method
Elem
Elem returns the element type descriptor of a LIST, SET or MAP type
thrift/descriptor.go:158
↓ 98 callers
Function
errNode
go:noinline
thrift/generic/error.go:58
↓ 89 callers
Function
wrapError
go:noinline
proto/generic/error.go:32
↓ 87 callers
Method
Get
Get searches FieldMap by name. JIT generated assembly does NOT call this function, rather it implements its own version directly in assembly. So we mu
internal/caching/map.go:63
↓ 82 callers
Function
NewError
NewError creates a new error with error code, message and preceding error go:noinline
meta/error.go:110
↓ 81 callers
Function
errNode
go:noinline
proto/generic/error.go:58
↓ 78 callers
Method
GetByPath
(pathes ...Path)
proto/generic/value.go:286
↓ 78 callers
Method
Marshal
Marshal marshals self to thrift bytes
thrift/generic/path.go:611
↓ 76 callers
Function
NewPathFieldId
NewPathFieldId creates a PathFieldId path
proto/generic/path.go:161
↓ 72 callers
Function
xprintf
native/test/xprintf.h:171
↓ 70 callers
Function
NewBinaryConv
NewBinaryConv returns a new BinaryConv
conv/j2t/conv.go:36
↓ 69 callers
Method
WriteString
WriteString ...
thrift/binary.go:430
↓ 63 callers
Method
GetByPath
GetByPath searches longitudinally and return a sub value at the given path from the value. The path is a list of PathFieldId, PathFieldName, PathInde
thrift/generic/value.go:102
↓ 62 callers
Method
BLength
()
testdata/kitex_gen/base/k-base.go:98
↓ 62 callers
Method
Functions
Functions returns all functions in the service
thrift/descriptor.go:399
↓ 59 callers
Method
Interface
Interface returns the go interface value contained by a node. If the node is a STRUCT, it will return a map[thrift.FieldID]interface{} If it is a map,
thrift/generic/cast.go:342
↓ 59 callers
Function
dhex
dhex decodes a hex-string and returns the bytes and panics if s is invalid.
proto/protowire/decode_test.go:205
↓ 58 callers
Method
FastWriteNocopy
(b []byte, w thrift.NocopyWriter)
testdata/kitex_gen/base/k-base.go:140
↓ 57 callers
Method
Elem
()
proto/descriptor.go:22
↓ 57 callers
Function
newError
go:noinline
conv/j2t/error.go:53
↓ 56 callers
Method
FieldByKey
FieldByName finds the field by key NOTICE: Options.MapFieldWay can influence the behavior of this method. ep: if Options.MapFieldWay is MapFieldWayNa
thrift/descriptor.go:245
↓ 55 callers
Function
NoEscape
NoEscape hides a pointer from escape analysis. NoEscape is the identity function but escape analysis doesn't think the output depends on the input. No
internal/rt/fastmem.go:149
↓ 54 callers
Method
ConsumeTag
ConsumeTag parses b as a varint-encoded tag, reporting its length.
proto/binary/binary.go:152
↓ 53 callers
Method
Error
Error return error message if it is a ERROR node
proto/generic/error.go:147
↓ 53 callers
Method
ReadI32
ReadI32 ...
thrift/binary.go:717
↓ 52 callers
Method
AssignValue
AssignValue assigns values from src to dest by matching reflect-type or map-key or json-tag This method uses try-best mode: it will continue processin
trim/assign.go:822
↓ 52 callers
Method
Enum
()
testdata/kitex_gen/pb/example/example.pb.go:55
↓ 51 callers
Method
GetByPath
GetByPath searches longitudinally and return a sub node at the given path from the node. The path is a list of PathFieldId, PathIndex, PathStrKey, Pa
thrift/generic/node.go:436
↓ 51 callers
Method
Set
Set mark the bit corresponding the given id, with the given requireness - RequiredRequireness|DefaultRequireness mark the bit as 1 - OptionalRequirene
thrift/utils.go:48
↓ 51 callers
Function
assignAny
(desc *Descriptor, src interface{}, dest interface{})
trim/assign_test.go:35
↓ 48 callers
Method
Request
Request get a http value from req
thrift/annotation.go:141
↓ 47 callers
Function
NewPathIndex
NewPathIndex creates a PathIndex path
proto/generic/path.go:178
↓ 47 callers
Function
wrapError
go:noinline
conv/t2j/impl.go:40
↓ 46 callers
Method
Len
Len returns the element count of container-kind type (LIST/SET/MAP)
thrift/generic/cast.go:50
↓ 46 callers
Function
MustGitPath
MustGitPath is util for getting relative path to git root
internal/util_test/git.go:42
↓ 46 callers
Method
Name
()
proto/descriptor.go:54
↓ 46 callers
Method
WriteFieldBegin
WriteFieldBegin ...
thrift/binary.go:257
↓ 45 callers
Method
ByNumber
(id FieldNumber)
proto/descriptor.go:134
↓ 45 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/example3/k-example3.go:339
↓ 45 callers
Method
FastWriteNocopy
(b []byte, w thrift.NocopyWriter)
testdata/kitex_gen/example3/k-example3.go:138
↓ 45 callers
Function
NewValue
NewValue creates a new Value from a raw byte slice.
thrift/generic/value.go:37
↓ 45 callers
Method
push
push adds a new frame to the stack
trim/desc.go:338
↓ 44 callers
Method
BLength
()
testdata/kitex_gen/example3/k-example3.go:19
↓ 44 callers
Function
NewBinaryConv
NewBinaryConv returns a new BinaryConv
conv/t2j/conv.go:35
↓ 44 callers
Method
ReadMapBegin
ReadMapBegin ...
thrift/binary.go:585
↓ 44 callers
Function
wrapError
(code meta.ErrCode, msg string, err error)
conv/p2j/impl.go:21
↓ 43 callers
Method
Alias
Alias returns the alias of a field
thrift/descriptor.go:304
↓ 43 callers
Method
Error
Error return error message if it is a ERROR node
thrift/generic/error.go:147
↓ 43 callers
Method
IsError
IsEmtpy tells if the node is PROTOBUF.ERROR
proto/generic/error.go:114
↓ 43 callers
Method
SkipType
SkipType skips over the value for the given type
thrift/binary_skip.go:105
↓ 42 callers
Method
Key
Key returns the key type descriptor of a MAP type
thrift/descriptor.go:153
↓ 40 callers
Method
ID
unique id of the Annotation
thrift/annotation.go:34
↓ 40 callers
Function
NewExampleReq
()
testdata/kitex_gen/example3/example3.go:213
↓ 39 callers
Method
Do
Do converts thrift binary (tbytes) to json bytes (jbytes) desc is the thrift type descriptor of the thrift binary, usually it is a response STRUCT ty
conv/t2j/conv.go:50
↓ 38 callers
Method
Error
Error return error message, combining category, behavior and message
meta/error.go:130
↓ 37 callers
Method
Interface
Interface returns the go interface value contained by a node. If the node is a MESSAGE, it will return map[proto.FieldNumber]interface{} or map[int]in
proto/generic/cast.go:339
↓ 36 callers
Method
Field
Field returns a sub node at the given field id from a STRUCT node.
thrift/generic/node.go:487
↓ 36 callers
Method
ReadI64
ReadI64 ...
thrift/binary.go:727
↓ 36 callers
Function
wrapError
go:noinline
thrift/generic/error.go:32
↓ 35 callers
Method
Fields
Fields returns all sub nodes ids along with the given int path from a STRUCT node.
thrift/generic/node.go:633
↓ 35 callers
Method
Set
Set set Param by given name and value, return true if Param exists
http/http.go:382
↓ 35 callers
Function
fetchAny
(desc *Descriptor, any interface{})
trim/all_test.go:84
↓ 34 callers
Method
AppendTag
Append Tag
proto/binary/binary.go:137
↓ 34 callers
Function
BytesFrom
go:nosplit
internal/rt/fastmem.go:54
↓ 34 callers
Function
EncodeInt64
(buf []byte, val int64)
internal/json/encoding.go:73
↓ 34 callers
Function
NewPathStrKey
NewPathStrKey creates a PathStrKey path
thrift/generic/path.go:227
↓ 33 callers
Method
Int
Int returns the int value contaned by a I8/I16/I32/I64 node
thrift/generic/cast.go:117
↓ 32 callers
Function
getExampleDesc
()
thrift/generic/value_test.go:131
↓ 31 callers
Method
Behavior
Behavior returns the behavior of error code
meta/error.go:96
↓ 31 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/example/k-example.go:86
↓ 31 callers
Method
Int
Int returns the int value contained by a INT32/SINT32/SFIX32/INT64/SINT64/SFIX64 node
proto/generic/cast.go:98
↓ 31 callers
Method
IsError
IsEmtpy tells if the node is thrift.ERROR
thrift/generic/error.go:114
↓ 31 callers
Method
ReadLength
ReadLength return dataLength, and move pointer in the begin of data
proto/binary/binary.go:942
↓ 31 callers
Method
ReadListBegin
ReadListBegin ...
thrift/binary.go:625
↓ 30 callers
Method
Check
Check checks if it is a ERROR node and returns corresponding error
thrift/generic/error.go:136
↓ 30 callers
Method
ReadDouble
ReadDouble ...
thrift/binary.go:757
↓ 30 callers
Method
UnsetByPath
UnsetByPath searches longitudinally and unsets a sub value at the given path from the value.
proto/generic/value.go:598
↓ 30 callers
Method
WriteI32
WriteI32 ...
thrift/binary.go:389
↓ 30 callers
Function
errValue
go:noinline
proto/generic/error.go:84
↓ 29 callers
Function
getExampleData
()
thrift/generic/value_test.go:147
↓ 28 callers
Function
NewPathIndex
NewPathIndex creates a PathIndex path
thrift/generic/path.go:219
↓ 28 callers
Function
getSimpleValue
()
testdata/test/baseline_j2t_test.go:116
↓ 28 callers
Method
next
next ...
proto/binary/binary.go:82
↓ 27 callers
Method
FastWriteNocopy
(b []byte, w thrift.NocopyWriter)
testdata/kitex_gen/example2/k-example2.go:1775
↓ 27 callers
Function
NewBinaryConv
NewBinaryConv returns a new BinaryConv
conv/j2p/conv.go:18
↓ 27 callers
Function
NewNode
NewNode method: creates a new node from a byte slice
proto/generic/node.go:212
next →
1–100 of 4,084, ranked by callers