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
↓ 14 callers
Method
WriteMapBegin
WriteMapBegin ...
thrift/binary.go:278
↓ 14 callers
Function
getExample3Desc
parse protofile to get MessageDescriptor
proto/generic/value_test.go:33
↓ 14 callers
Function
getExampleDesc
()
conv/j2t/conv_test.go:209
↓ 14 callers
Function
getExampleDescByName
(method string, req bool, opts thrift.Options)
conv/j2t/conv_test.go:254
↓ 14 callers
Method
id
()
thrift/generic/path.go:102
↓ 14 callers
Function
newError
(code meta.ErrCode, msg string, err error)
conv/j2p/error.go:5
↓ 14 callers
Function
tb_write_byte
native/thrift.c:40
↓ 14 callers
Function
toInterface
(v interface{})
thrift/generic/cast_test.go:317
↓ 13 callers
Method
ByName
(name string)
proto/descriptor.go:130
↓ 13 callers
Method
FetchAny
FetchAny fetches the value of the field described by desc from any based on go reflect. Warning: desc must be normalized before calling this method.
trim/fetch.go:42
↓ 13 callers
Function
FinishSpeculativeLength
(b []byte, pos int)
proto/binary/binary.go:203
↓ 13 callers
Method
IsMap
()
proto/descriptor.go:41
↓ 13 callers
Method
Message
Message return current message if has, otherwise return preceding error message
meta/error.go:120
↓ 13 callers
Method
NewDescritorFromContent
NewDescritorFromContent creates a ServiceDescriptor from a thrift content and its includes, which uses the default options. path is the main thrift fi
thrift/idl.go:167
↓ 13 callers
Function
NewExampleInt2Float
()
testdata/kitex_gen/example3/example3.go:528
↓ 13 callers
Method
SetByPath
SetByPath searches longitudinally and sets a sub value at the given path from the value. exist tells whether the node is already exists.
proto/generic/value.go:473
↓ 13 callers
Function
deepEqual
(exp interface{}, act interface{})
proto/generic/utils.go:130
↓ 13 callers
Function
getExample3Data
()
conv/t2j/conv_test.go:122
↓ 13 callers
Function
printch
native/test/xprintf.h:63
↓ 13 callers
Method
str
()
proto/generic/path.go:62
↓ 12 callers
Function
AppendSpeculativeLength
When encoding length-prefixed fields, we speculatively set aside some number of bytes for the length, encode the data, and then encode the length (shi
proto/binary/binary.go:197
↓ 12 callers
Method
AssignAny
AssignAny assigns values from src (map[string]interface{}) to dest (protobuf struct) according to desc. For fields that exist in src but not in dest's
trim/assign.go:70
↓ 12 callers
Method
ErrCode
ErrCode return the meta.ErrCode of a ERROR node
thrift/generic/error.go:128
↓ 12 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/base/k-base.go:198
↓ 12 callers
Method
Fields
(ids []PathNode, rootLayer bool, msgDesc *proto.MessageDescriptor, opts *Options)
proto/generic/node.go:549
↓ 12 callers
Method
HasNext
()
proto/generic/iter.go:158
↓ 12 callers
Method
Index
Index returns a sub node at the given index from a LIST/SET node.
thrift/generic/node.go:512
↓ 12 callers
Method
IsInt
IsInt containing isUint
proto/type.go:160
↓ 12 callers
Method
MarshalTo
var pathesPool = sync.Pool{ New: func() interface{} { return &pathSlice{ a: make([]PathNode, 0, defaultNodeSliceCap), } }, } func (self *Valu
thrift/generic/value.go:375
↓ 12 callers
Function
NewErrorCode
NewErrorCode created a new error code with category and behavior
meta/error.go:72
↓ 12 callers
Method
WireType
()
proto/generic/iter.go:122
↓ 12 callers
Method
WriteBool
WriteBool ...
thrift/binary.go:353
↓ 12 callers
Method
WriteStructEnd
WriteStructEnd ...
thrift/binary.go:252
↓ 12 callers
Function
_mm_get_mask
native/scanning.c:377
↓ 12 callers
Function
buf_malloc
native/thrift.c:25
↓ 12 callers
Function
getExampleData
()
conv/j2t/conv_test.go:266
↓ 12 callers
Method
id
()
proto/generic/path.go:90
↓ 11 callers
Function
EncodeString
(buf []byte, val string)
internal/json/encoding.go:62
↓ 11 callers
Method
GetMany
GetMany searches transversely and returns all the sub nodes along with the given pathes.
proto/generic/value.go:1019
↓ 11 callers
Function
NewBase
()
testdata/kitex_gen/base/base.go:56
↓ 11 callers
Function
NewBinaryProtol
BinaryProtocol Method
proto/binary/binary.go:115
↓ 11 callers
Function
NewNodeByte
NewNodeInt8 converts a byte value to a BYTE node
thrift/generic/node.go:99
↓ 11 callers
Method
Set
WARN: this function is not idempotent, set same key twice will cause incorrect result.
internal/caching/map.go:84
↓ 11 callers
Method
Type
()
testdata/kitex_gen/pb/example/example.pb.go:69
↓ 11 callers
Method
TypeToKind
()
proto/type.go:124
↓ 11 callers
Method
Value
Value returns the equivalent go interface of a Path
proto/generic/path.go:100
↓ 11 callers
Method
Value
Value returns the equivalent go interface of a Path
thrift/generic/path.go:186
↓ 11 callers
Method
WriteI64
WriteI64 ...
thrift/binary.go:399
↓ 11 callers
Method
WriteInt32
WriteInt32
proto/binary/binary.go:234
↓ 11 callers
Method
WriteInt64
WriteInt64
proto/binary/binary.go:264
↓ 11 callers
Function
errSyntax
(s string, r int)
conv/j2t/error.go:34
↓ 11 callers
Function
getString
()
testdata/test/baseline_j2t_test.go:108
↓ 11 callers
Function
locateInput
(in []byte, ip int)
conv/j2t/error.go:77
↓ 11 callers
Function
mvbuf
native/thrift_skip.c:108
↓ 11 callers
Function
protoUnmarshal
(b []byte, m goproto.Message)
conv/j2p/conv_test.go:69
↓ 11 callers
Function
run
(cmd)
bench.py:25
↓ 11 callers
Method
should
(api string, t1 proto.Type)
proto/generic/cast.go:12
↓ 11 callers
Method
should
(api string, t1 thrift.Type)
thrift/generic/cast.go:29
↓ 11 callers
Function
unwrapError
go:noinline
conv/t2j/impl.go:46
↓ 10 callers
Method
Foreach
Foreach scan each element of a complex type (LIST/SET/MAP/STRUCT), and call handler sequentially with corresponding path and node
thrift/generic/iter.go:396
↓ 10 callers
Method
Fork
Fork forks the node to a new node, copy underlying data as well
proto/generic/node.go:24
↓ 10 callers
Method
Index
Get idx element of a LIST node
proto/generic/node.go:380
↓ 10 callers
Method
IsErrNotFound
IsErrorNotFound tells if the node is not-found-data error
thrift/generic/error.go:119
↓ 10 callers
Method
NewDescriptorFromPath
NewDescritorFromContent creates a ServiceDescriptor from a proto path and its imports, which uses the given options. The importDirs is used to find th
proto/idl.go:69
↓ 10 callers
Function
NewDescritorFromContent
NewDescritorFromContent behaviors like NewDescritorFromPath, besides it uses DefaultOptions.
thrift/idl.go:159
↓ 10 callers
Function
NewHTTPRequestFromStdReq
NewHTTPRequestFromStdReq creates a new HTTPRequest from http.Request. It will check the content-type of the request and parse the body if the type one
http/http.go:143
↓ 10 callers
Function
NewInnerBase
()
testdata/kitex_gen/example2/example2.go:73
↓ 10 callers
Function
NewNodeInt32
(val int32)
proto/generic/node.go:239
↓ 10 callers
Function
errNotImplemented
go:noinline
thrift/annotation/register.go:74
↓ 10 callers
Function
getPbSimpleValue
()
testdata/test/baseline_j2p_test.go:63
↓ 10 callers
Method
int
()
thrift/generic/path.go:88
↓ 10 callers
Function
newHttpMappingAnnotation
(typ thrift.AnnoID)
thrift/annotation/http_mapping.go:66
↓ 10 callers
Method
slice
(s int, e int, desc *thrift.TypeDescriptor)
thrift/generic/value.go:51
↓ 10 callers
Function
wrapValue
go:noinline
proto/generic/error.go:50
↓ 9 callers
Method
EncodeInt32
EncodeInt32 encodes a int32 value.
thrift/binary.go:2120
↓ 9 callers
Method
EncodeUint64
(b []byte, v uint64)
proto/protowire/encode.go:176
↓ 9 callers
Method
IsEmpty
IsEmpty tells if the node is thrift.STOP
thrift/generic/error.go:109
↓ 9 callers
Method
IsErrNotFound
IsErrorNotFound tells if the node is not-found-data error
proto/generic/error.go:119
↓ 9 callers
Function
RegisterAnnotationMapper
RegisterAnnotationMapper register a annotation mapper on specific scope
thrift/annotation.go:214
↓ 9 callers
Method
Requires
Fields returns requireness bitmap in the struct. By default, only Requred and Default fields are marked.
thrift/descriptor.go:228
↓ 9 callers
Method
String
String returns the string representation of the descriptor in JSON-like format. It handles circular references by tracking visited descriptors. Format
trim/desc.go:103
↓ 9 callers
Method
Uint
Uint returns the uint value contained by a UINT32/UINT64/FIX32/FIX64 node
proto/generic/cast.go:70
↓ 9 callers
Method
Valid
()
thrift/descriptor.go:60
↓ 9 callers
Method
WriteFieldStop
WriteFieldStop ...
thrift/binary.go:272
↓ 9 callers
Method
WriteUint64
WriteUint64
proto/binary/binary.go:276
↓ 9 callers
Function
advance_dword
native/scanning.c:107
↓ 9 callers
Function
assignValue
assignValue is the internal implementation that works with reflect.Value directly
trim/assign.go:209
↓ 9 callers
Function
checkHelper
(t *testing.T, exp interface{}, act Node, api string)
thrift/generic/value_test.go:171
↓ 9 callers
Function
getPartialSimpleValue
()
testdata/test/baseline_j2t_test.go:127
↓ 9 callers
Function
getStackFrames
getStackFrames gets a stackFrame slice from the pool
trim/desc.go:321
↓ 9 callers
Method
int
()
thrift/generic/cast.go:124
↓ 9 callers
Method
iterPairs
()
thrift/generic/iter.go:41
↓ 9 callers
Function
stpop
native/thrift_skip.c:80
↓ 9 callers
Function
toInterface2
(v interface{}, fieldId bool, byte2string int)
thrift/generic/cast_test.go:329
↓ 8 callers
Method
Check
Check checks if it is a ERROR node and returns corresponding error
proto/generic/error.go:136
↓ 8 callers
Method
Descriptor
Deprecated: Use Base.ProtoReflect.Descriptor instead.
testdata/kitex_gen/pb/base/base.pb.go:126
↓ 8 callers
Function
EncodeObjectColon
(buf []byte)
internal/json/encoding.go:103
↓ 8 callers
Method
ErrCode
ErrCode return the meta.ErrCode of a ERROR node
proto/generic/error.go:128
↓ 8 callers
Method
GetByStr
GetByInt returns a sub node at the given int key from a MAP<STRING,xx> node.
thrift/generic/node.go:542
↓ 8 callers
Function
GetDescFromContent
(content string, method string)
thrift/annotation/http_mapping_test.go:27
← previous
next →
201–300 of 4,084, ranked by callers