Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/dynamicgo
/ functions
Functions
4,084 in github.com/cloudwego/dynamicgo
⨍
Functions
4,084
◇
Types & classes
525
↓ 8 callers
Method
LookupFunctionByMethod
LookupFunctionByMethod lookup function by method name
thrift/descriptor.go:404
↓ 8 callers
Method
ModifyI32
ModifyI16 write int32 into the buffer at the given position
thrift/binary.go:377
↓ 8 callers
Function
NewExampleBase64Binary
()
testdata/kitex_gen/example3/example3.go:1142
↓ 8 callers
Function
NewExampleFallback
()
testdata/kitex_gen/example3/example3.go:861
↓ 8 callers
Function
NewHTTPRequestFromUrl
NewHTTPRequestFromUrl creates a new HTTPRequest from url, body and url-path param.
http/http.go:108
↓ 8 callers
Function
NewHashMap
(n int, loadFactor int)
internal/caching/map.go:48
↓ 8 callers
Function
NewNodeInt32
NewNodeInt32 converts a int32 value to a I32 node
thrift/generic/node.go:113
↓ 8 callers
Function
NewNodeString
NewNodeString converts a string value to a STRING node
thrift/generic/node.go:134
↓ 8 callers
Function
Peek
(src string, pos int)
internal/json/decode.go:208
↓ 8 callers
Method
ValueMapping
ValueMapping returns the value-mapping annotation of a field
thrift/descriptor.go:319
↓ 8 callers
Method
WriteBaseTypeWithDesc
WriteBaseType Fields with FieldDescriptor format: (L)V
proto/binary/binary.go:484
↓ 8 callers
Method
WriteBytes
WriteBytes
proto/binary/binary.go:315
↓ 8 callers
Method
WriteFieldEnd
WriteFieldEnd ...
thrift/binary.go:267
↓ 8 callers
Method
WriteString
WriteString
proto/binary/binary.go:306
↓ 8 callers
Method
bin
()
thrift/generic/path.go:116
↓ 8 callers
Function
errPathNode
go:noinline
thrift/generic/error.go:96
↓ 8 callers
Method
int
()
proto/generic/cast.go:105
↓ 8 callers
Method
onValueEnd
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 callers
Method
slice
slice returns a new node which is a slice of a simple node
proto/generic/node.go:48
↓ 8 callers
Function
tb_write_i32
native/thrift.c:65
↓ 8 callers
Function
wrapValue
go:noinline
thrift/generic/error.go:50
↓ 7 callers
Method
DecodeInt32
DecodeInt32 decodes a int32 value.
thrift/binary.go:2167
↓ 7 callers
Method
DecodeString
DecodeString decodes a string value.
thrift/binary.go:2182
↓ 7 callers
Method
DecodeUint64
(b []byte)
proto/protowire/decode.go:198
↓ 7 callers
Function
EncodeFloat64
(buf []byte, val float64)
internal/json/encoding.go:78
↓ 7 callers
Function
EncodeObjectBegin
(buf []byte)
internal/json/encoding.go:99
↓ 7 callers
Function
EncodeObjectEnd
(buf []byte)
internal/json/encoding.go:111
↓ 7 callers
Method
FastRead
(b []byte)
testdata/kitex_gen/baseline/k-baseline.go:517
↓ 7 callers
Method
Fork
NewValueFromNode copy both Node and TypeDescriptor from another Value.
thrift/generic/value.go:45
↓ 7 callers
Function
FreeBytes
FreeBytes returns a byte slice to pool and reset it
conv/api.go:136
↓ 7 callers
Function
GoType2ThriftType
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 callers
Method
HttpMappingFields
GetHttpMappingFields returns the fields with http-mapping annotations
thrift/descriptor.go:197
↓ 7 callers
Function
IndexCharUint
(src string, index int)
internal/rt/fastmem.go:96
↓ 7 callers
Method
Left
Left returns the left bytes to read
thrift/binary.go:128
↓ 7 callers
Function
NewBytes
NewBytes returns a new byte slice from pool
conv/api.go:131
↓ 7 callers
Function
NewExampleJSONString
()
testdata/kitex_gen/example3/example3.go:611
↓ 7 callers
Function
NewExampleOptionalDefaultValue
()
testdata/kitex_gen/example3/example3.go:1232
↓ 7 callers
Function
NewInnerBase
()
testdata/kitex_gen/example3/example3.go:74
↓ 7 callers
Function
NewPartialSimple
()
testdata/kitex_gen/baseline/baseline.go:72
↓ 7 callers
Function
NewPathIntKey
NewPathIntKey creates a PathIntKey path
proto/generic/path.go:195
↓ 7 callers
Method
RawBuf
RawBuf returns the raw buffer of the protocol
thrift/binary.go:123
↓ 7 callers
Method
ReadInt64
ReadI64
proto/binary/binary.go:832
↓ 7 callers
Method
ResetAll
ResetAll resets self and its children, including path and node both
thrift/generic/path.go:601
↓ 7 callers
Method
WriteFloat
WriteFloat
proto/binary/binary.go:294
↓ 7 callers
Method
WriteMapEnd
WriteMapEnd ...
thrift/binary.go:307
↓ 7 callers
Function
assignLeaf
assignLeaf assigns a reflect.Value to another reflect.Value
trim/assign.go:1015
↓ 7 callers
Function
assignLeafTryBest
assignLeafTryBest assigns a reflect.Value to another reflect.Value in try-best mode
trim/assign.go:944
↓ 7 callers
Function
getBytes
()
testdata/test/baseline_j2t_test.go:112
↓ 7 callers
Function
getExampleDesc
()
conv/j2p/conv_test.go:155
↓ 7 callers
Function
getPartialNestingValue
()
testdata/test/baseline_j2t_test.go:171
↓ 7 callers
Function
getPbNestingDesc
()
testdata/test/baseline_p2j_test.go:25
↓ 7 callers
Function
getPbNestingValue
()
testdata/test/baseline_j2p_test.go:82
↓ 7 callers
Function
getPbSimpleDesc
()
testdata/test/baseline_p2j_test.go:17
↓ 7 callers
Function
makeSampleFetch
(width int, depth int)
trim/fetch_test.go:39
↓ 7 callers
Function
readExampleReqProtoBufData
read ProtoBuf's data in binary format from exampleProtoPath
conv/p2j/conv_test.go:434
↓ 7 callers
Method
skipn
skipn updates p.Read like `next_nopanic` without returning the buf
thrift/binary_skip.go:70
↓ 6 callers
Method
Bool
Bool returns the bool value contained by a BOOL node
thrift/generic/cast.go:100
↓ 6 callers
Method
Close
()
http/http.go:341
↓ 6 callers
Function
EncodeObjectComma
(buf []byte)
internal/json/encoding.go:107
↓ 6 callers
Method
EncodeString
EncodeString encodes a string value.
thrift/binary.go:2134
↓ 6 callers
Function
FnRequest
FnRequest get the normal requestDescriptor
proto/test_util.go:25
↓ 6 callers
Method
Fork
Fork deeply copy self and its children to a new PathNode
thrift/generic/path.go:568
↓ 6 callers
Function
GetBase
()
testdata/sample/example2.go:31
↓ 6 callers
Function
GetFnDescFromFile
GetFnDescFromFile get a fucntion descriptor from idl path (relative to your git root) and the function name
proto/test_util.go:12
↓ 6 callers
Method
GetMapBody
MapBody returns the value of body with the given key.
http/http.go:81
↓ 6 callers
Method
IsSet
IsSet tells if the bit corresponding the given id is marked
thrift/utils.go:65
↓ 6 callers
Method
IsWithoutWrapping
IsWithoutWrapping returns if the request and response are not wrapped in struct
thrift/descriptor.go:382
↓ 6 callers
Function
NewExamplePostForm
()
testdata/kitex_gen/example3/example3.go:1017
↓ 6 callers
Function
NewPathBinKey
NewPathBinKey creates a PathBinKey path
thrift/generic/path.go:244
↓ 6 callers
Method
ReadBaseTypeWithDesc
ReadBaseType with desc, not thread safe
proto/binary/binary.go:1136
↓ 6 callers
Method
ReadUint64
ReadUint64
proto/binary/binary.go:852
↓ 6 callers
Method
Set
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 callers
Method
SkipAllElements
fast skip all elements in LIST/MAP
proto/binary/binary_skip.go:44
↓ 6 callers
Function
Str2Mem
go:nosplit
internal/rt/fastmem.go:46
↓ 6 callers
Function
StrBoundary
(src string)
internal/rt/fastmem.go:103
↓ 6 callers
Method
WriteAny
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 callers
Method
WriteBinary
WriteBinary ...
thrift/binary.go:441
↓ 6 callers
Method
WriteI16
WriteI16 ...
thrift/binary.go:367
↓ 6 callers
Method
WriteListBegin
WriteListBegin ...
thrift/binary.go:312
↓ 6 callers
Method
WriteStructBegin
WriteStructBegin ...
thrift/binary.go:247
↓ 6 callers
Function
_mm256_get_mask
native/scanning.c:392
↓ 6 callers
Function
_mm_cchars_mask
contrl char: 0x00 ~ 0x1F
native/scanning.c:383
↓ 6 callers
Function
convertI642StringNesting
(js string, itoa bool)
testdata/test/baseline_j2t_test.go:367
↓ 6 callers
Function
convertI642StringSimple
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 callers
Function
errNotFound
go:noinline
thrift/annotation/register.go:69
↓ 6 callers
Function
fetchValue
fetchValue is the internal implementation that works with reflect.Value directly to avoid repeated interface{} boxing/unboxing overhead
trim/fetch.go:168
↓ 6 callers
Function
getErrorExampleDesc
()
conv/j2t/conv_test.go:218
↓ 6 callers
Function
getExampleData
()
conv/j2p/conv_test.go:170
↓ 6 callers
Function
getExampleInt2FloatDesc
()
conv/j2t/conv_test.go:227
↓ 6 callers
Function
getExampleReq
(exp *example3.ExampleReq, setIs bool, body []byte)
conv/j2t/conv_test.go:274
↓ 6 callers
Method
iterFields
()
thrift/generic/iter.go:31
↓ 6 callers
Method
iterPairs
()
proto/generic/iter.go:40
↓ 6 callers
Function
putStackFrames
putStackFrames returns a stackFrame slice to the pool
trim/desc.go:326
↓ 6 callers
Method
should
(op string, t thrift.Type)
thrift/generic/path.go:854
↓ 6 callers
Method
toError
()
trim/assign.go:51
↓ 6 callers
Method
unmarshalSingular
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 callers
Function
APIHelper
(t *testing.T, root *Value, val *Value, c testAPICase)
thrift/generic/cast_test.go:256
↓ 5 callers
Method
AppendTagByKind
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 callers
Method
At
(p uint32)
internal/caching/map.go:56
↓ 5 callers
Method
DecodeFixed64
(b []byte)
proto/protowire/decode.go:223
← previous
next →
301–400 of 4,084, ranked by callers