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
↓ 27 callers
Function
getNestingValue
()
testdata/test/baseline_j2t_test.go:135
↓ 26 callers
Method
BLength
()
testdata/kitex_gen/example2/k-example2.go:1761
↓ 26 callers
Function
NewHTTPResponse
NewHTTPResponse creates a new HTTPResponse
http/http.go:310
↓ 26 callers
Method
Normalize
Normalize cache all the fields in the descriptor for speeding up search. It handles circular references by using an atomic flag to detect re-entry.
trim/desc.go:82
↓ 26 callers
Function
file_idl_example_proto_rawDescGZIP
()
testdata/kitex_gen/pb/example/example.pb.go:2219
↓ 26 callers
Method
raw
()
proto/generic/cast.go:47
↓ 25 callers
Method
Do
Do converts protobuf binary (pbytes) to json bytes (jbytes) desc is the protobuf type descriptor of the protobuf binary, usually it is a response Mess
conv/p2j/conv.go:28
↓ 25 callers
Method
Message
()
proto/descriptor.go:26
↓ 25 callers
Function
errValue
go:noinline
thrift/generic/error.go:84
↓ 24 callers
Function
AddPtr
(a unsafe.Pointer, b uintptr)
internal/rt/fastmem.go:121
↓ 24 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/example2/k-example2.go:1792
↓ 24 callers
Method
FieldByName
FieldByName returns a sub node at the given field name from a MESSAGE value.
proto/generic/value.go:948
↓ 24 callers
Method
HasNext
()
thrift/generic/iter.go:146
↓ 24 callers
Method
Len
Len returns the element count of container-kind type (LIST/MAP)
proto/generic/cast.go:23
↓ 24 callers
Function
NewNode
NewNodeBool create a new node with given type and data WARN: it WON'T check the correctness of the data
thrift/generic/node.go:43
↓ 24 callers
Method
ReadByte
ReadByte ...
thrift/binary.go:698
↓ 24 callers
Method
Skip
skip (L)V once by wireType, useNative is not implemented
proto/binary/binary_skip.go:29
↓ 24 callers
Method
slice
(s int, e int, t thrift.Type)
thrift/generic/node.go:58
↓ 23 callers
Method
FastWriteNocopy
(b []byte, w thrift.NocopyWriter)
testdata/kitex_gen/baseline/k-baseline.go:46
↓ 23 callers
Method
Field
(id proto.FieldNumber, rootLayer bool, msgDesc *proto.MessageDescriptor)
proto/generic/node.go:488
↓ 23 callers
Function
NewNesting
()
testdata/kitex_gen/baseline/baseline.go:122
↓ 22 callers
Method
BLength
()
testdata/kitex_gen/baseline/k-baseline.go:12
↓ 22 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/baseline/k-baseline.go:97
↓ 22 callers
Function
Mem2Str
go:nosplit
internal/rt/fastmem.go:39
↓ 22 callers
Function
NewBinaryConv
NewBinaryConv returns a new BinaryConv
conv/p2j/conv.go:17
↓ 22 callers
Method
add
(err error)
trim/assign.go:45
↓ 22 callers
Function
appendTag
appendTag appends a protobuf tag to the buffer wireType: 0=varint, 1=fixed64, 2=length-delimited, 5=fixed32
trim/assign.go:1494
↓ 22 callers
Method
pop
pop removes the last frame from the stack
trim/desc.go:347
↓ 21 callers
Method
DefaultValue
DefaultValue returns the default value of a field
thrift/descriptor.go:328
↓ 21 callers
Method
IsPacked
()
proto/generic/iter.go:110
↓ 21 callers
Method
LookupMethodByName
(name string)
proto/descriptor.go:185
↓ 21 callers
Method
Name
Name returns the name of the descriptor for struct, it is the struct name; for build-in type, it is the type name.
thrift/descriptor.go:148
↓ 21 callers
Function
NewDescritorFromPath
NewDescritorFromPath behaviors like NewDescritorFromPath, besides it uses DefaultOptions.
thrift/idl.go:125
↓ 21 callers
Method
buildPath
buildPath constructs a human-readable DSL path from the stack This is only called when an error occurs
trim/desc.go:355
↓ 21 callers
Function
getNestingDesc
()
testdata/test/baseline_t2j_test.go:52
↓ 21 callers
Method
raw
()
thrift/generic/cast.go:70
↓ 20 callers
Function
NewBinaryProtocol
NewBinaryProtocol get a new binary protocol from sync.Pool.
thrift/binary.go:84
↓ 20 callers
Function
NewBinaryProtocolBuffer
()
proto/binary/binary.go:121
↓ 20 callers
Function
NewRootValue
(desc *proto.TypeDescriptor, src []byte)
proto/generic/value.go:47
↓ 20 callers
Function
NewSimple
()
testdata/kitex_gen/baseline/baseline.go:19
↓ 20 callers
Method
Response
Response set a http value into resp
thrift/annotation.go:144
↓ 20 callers
Method
WriteDouble
WriteDouble ...
thrift/binary.go:425
↓ 19 callers
Method
Add
(con parser.Annotation, inter AnnotationMapper)
thrift/annotation.go:260
↓ 19 callers
Method
FieldByName
FieldByName returns a sub node at the given field name from a STRUCT value.
thrift/generic/value.go:179
↓ 19 callers
Method
NewDescritorFromPath
NewDescritorFromContent creates a ServiceDescriptor from a thrift path and its includes, which uses the given options. The includeDirs is used to find
thrift/idl.go:131
↓ 19 callers
Method
Number
()
proto/descriptor.go:66
↓ 19 callers
Method
Raw
Return its underlying raw data
thrift/generic/cast.go:75
↓ 19 callers
Function
getSimpleDesc
()
testdata/test/baseline_t2j_test.go:36
↓ 19 callers
Method
str
()
thrift/generic/path.go:74
↓ 18 callers
Function
GuardSlice
(buf *[]byte, n int)
internal/rt/fastmem.go:107
↓ 18 callers
Function
IndexPtr
(ptr unsafe.Pointer, size uintptr, index int)
internal/rt/fastmem.go:75
↓ 18 callers
Function
NewBinaryProtocolBuffer
NewBinaryProtocolBuffer gets a new binary protocol from sync.Pool and reuse the buffer in pool
thrift/binary.go:92
↓ 18 callers
Method
WriteByte
WriteByte ...
thrift/binary.go:361
↓ 18 callers
Function
copy_two_digs
native/tab.h:246
↓ 17 callers
Method
Children
Children loads all its children and children's children recursively (if recurse is true). out is used for store children, and it is always reset to ze
thrift/generic/node.go:1133
↓ 17 callers
Method
Error
()
trim/fetch.go:73
↓ 17 callers
Function
GetBytePtr
(b []byte)
internal/rt/fastmem.go:133
↓ 17 callers
Function
GetFnDescFromFile
GetFnDescFromFile get a fucntion descriptor from idl path (relative to your git root) and the function name
thrift/test_util.go:28
↓ 17 callers
Method
IsInt
IsInt tells if the type is one of I08, I16, I32, I64
thrift/descriptor.go:109
↓ 17 callers
Function
NewPathStrKey
NewPathStrKey creates a PathStrKey path
proto/generic/path.go:186
↓ 17 callers
Method
Next
(useNative bool)
thrift/generic/iter.go:125
↓ 17 callers
Method
Required
Required return the requiredness of a field
thrift/descriptor.go:289
↓ 17 callers
Function
file_idl_example2_proto_rawDescGZIP
()
testdata/kitex_gen/pb/example2/example2.pb.go:1475
↓ 17 callers
Function
file_idl_example3_proto_rawDescGZIP
()
testdata/kitex_gen/pb/example3/example3.pb.go:1589
↓ 17 callers
Function
runTests
(t *testing.T, tests []testOps)
proto/protowire/decode_test.go:637
↓ 16 callers
Function
AppendVarint
VarintEncode encodes a uint64 value as a varint-encoded byte slice. AppendVarint appends v to b as a varint-encoded uint64.
proto/protowire/encode.go:12
↓ 16 callers
Method
ConsumeTagWithoutMove
ConsumeChildTag parses b as a varint-encoded tag, don't move p.Read
proto/binary/binary.go:169
↓ 16 callers
Function
DeepEqual
func toPathNode(v interface{}, ret *PathNode) { vt := reflect.ValueOf(v) if vt.Kind() == reflect.Ptr { if vt.IsNil() { return } vt = vt.Ele
thrift/generic/path_test.go:730
↓ 16 callers
Method
Do
Do converts json bytes (jbytes) to protobuf binary (tbytes) desc is the protobuf type descriptor of the protobuf binary, usually it the request Messag
conv/j2p/conv.go:26
↓ 16 callers
Method
Kind
()
proto/descriptor.go:70
↓ 16 callers
Function
MakeAnnoID
(kind AnnoKind, scope AnnoScope, typ AnnoType)
thrift/annotation.go:59
↓ 16 callers
Method
Marshal
(opt *Options)
proto/generic/path.go:639
↓ 16 callers
Function
RegisterAnnotation
RegisterAnnotation register an annotation on specific AnnoScope
thrift/annotation.go:162
↓ 16 callers
Method
SetByPath
func (self Value) GetMany(pathes []PathNode, opts *Options) error { if len(pathes) == 0 { return nil } p := pathes[0] switch p.Path.t { case Pa
thrift/generic/value.go:263
↓ 16 callers
Function
getExample3Data
()
proto/generic/value_test.go:61
↓ 15 callers
Method
Assgin
Assgin assigns self's raw Value according to its Next Path, which must be set before calling this method.
thrift/generic/path.go:505
↓ 15 callers
Method
Build
Build builds the map. It will try to build a trie tree if the dispersion of keys is higher enough (min).
internal/util/fieldmap.go:93
↓ 15 callers
Function
ConsumeVarint
ConsumeVarint parses b as a varint-encoded uint64, reporting its length. This returns a negative length upon an error (see ParseError).
proto/protowire/decode.go:21
↓ 15 callers
Method
FastWriteNocopy
(b []byte, w thrift.NocopyWriter)
testdata/kitex_gen/example/k-example.go:440
↓ 15 callers
Function
FnResponse
FnResponse get the normal response type
thrift/test_util.go:41
↓ 15 callers
Function
FreeBinaryProtocol
(bp *BinaryProtocol)
proto/binary/binary.go:126
↓ 15 callers
Method
IsList
()
proto/descriptor.go:45
↓ 15 callers
Method
Key
()
proto/descriptor.go:18
↓ 15 callers
Method
Load
Load loads self's all children ( and children's children if recurse is true) into self.Next, no matter whether self.Next is empty or set before (will
thrift/generic/path.go:553
↓ 15 callers
Method
ReadI16
ReadI16 ...
thrift/binary.go:707
↓ 15 callers
Method
SetMany
SetMany: set a list of sub nodes at the given pathes from the value. root *Value: the root Node self *Value: the current Node (maybe root Node) addres
proto/generic/value.go:1058
↓ 15 callers
Method
Type
Type returns the type of a Path
proto/generic/path.go:95
↓ 15 callers
Method
Type
Type returns the type of a Path
thrift/generic/path.go:181
↓ 14 callers
Method
BLength
()
testdata/kitex_gen/example/k-example.go:422
↓ 14 callers
Method
BaseId
()
proto/descriptor.go:30
↓ 14 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/example/k-example.go:464
↓ 14 callers
Method
HTTPMappings
HTTPMappings returns the http-mapping annotations of a field
thrift/descriptor.go:314
↓ 14 callers
Method
Input
()
proto/descriptor.go:154
↓ 14 callers
Function
NewExampleReq
()
testdata/kitex_gen/example2/example2.go:304
↓ 14 callers
Function
NewPathIntKey
NewPathIntKey creates a PathIntKey path
thrift/generic/path.go:236
↓ 14 callers
Method
Next
compatible for packed/unpacked list, get element value: (L)V or V without tag
proto/generic/iter.go:127
↓ 14 callers
Method
ReadBinary
ReadBinary ...
thrift/binary.go:794
↓ 14 callers
Method
ReadBool
ReadBool ...
thrift/binary.go:688
↓ 14 callers
Function
ToInt64
(v interface{})
internal/primitive/impl.go:62
↓ 14 callers
Method
WriteInt
WriteInt ...
thrift/binary.go:409
← previous
next →
101–200 of 4,084, ranked by callers