Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chai2010/cgo
/ functions
Functions
235 in github.com/chai2010/cgo
⨍
Functions
235
◇
Types & classes
29
↓ 17 callers
Method
Slice
(n int)
types.go:131
↓ 11 callers
Method
GoString
C string to Go string
char.go:35
↓ 5 callers
Method
Error
()
file.go:161
↓ 5 callers
Function
tAssertStrEQ
(t *testing.T, s1 *String, s2 string)
string_test.go:30
↓ 4 callers
Method
Eof
()
file.go:158
↓ 3 callers
Method
AssignByGoString
(str string)
string.go:60
↓ 3 callers
Method
Data
()
string.go:46
↓ 3 callers
Method
Delete
()
error.go:21
↓ 3 callers
Method
GetCode
()
error.go:35
↓ 3 callers
Method
GetText
()
error.go:39
↓ 3 callers
Function
NewErrorFrom
(code int, desc string)
error.go:15
↓ 3 callers
Method
Strlen
()
char.go:48
↓ 2 callers
Method
AssignByGoBytes
(str []byte)
string.go:66
↓ 2 callers
Method
Free
()
types.go:135
↓ 2 callers
Function
NewCharString
Go string to C string The C string is allocated in the C heap using malloc. It is the caller's responsibility to arrange for it to be freed, such as b
char.go:21
↓ 2 callers
Function
NewString
(s string)
string.go:18
↓ 2 callers
Method
Size
()
string.go:36
↓ 2 callers
Method
StrData
(i int)
string_list.go:49
↓ 2 callers
Function
bool2Byte
-----------------------------------------------------------------------------
types.go:38
↓ 1 callers
Method
AssignByGoString
(i int, s string)
string_list.go:73
↓ 1 callers
Method
ByteSlice
(n int)
void_pointer.go:58
↓ 1 callers
Method
CStr
()
string.go:49
↓ 1 callers
Method
Delete
()
string.go:32
↓ 1 callers
Method
Getc
()
file.go:126
↓ 1 callers
Method
GoBytes
(n int)
char.go:44
↓ 1 callers
Method
GoSlice
()
string.go:77
↓ 1 callers
Method
GoStringN
C data with explicit length to Go string
char.go:40
↓ 1 callers
Function
Malloc
(n int)
void_pointer.go:26
↓ 1 callers
Function
NewBoolN
(n int)
types.go:57
↓ 1 callers
Function
NewCharN
(n int)
types.go:88
↓ 1 callers
Function
NewDoubleN
(n int)
types.go:215
↓ 1 callers
Function
NewFloatN
(n int)
types.go:184
↓ 1 callers
Function
NewInt16N
(n int)
types.go:339
↓ 1 callers
Function
NewInt32N
(n int)
types.go:401
↓ 1 callers
Function
NewInt64N
(n int)
types.go:463
↓ 1 callers
Function
NewInt8N
(n int)
types.go:277
↓ 1 callers
Function
NewIntN
(n int)
types.go:122
↓ 1 callers
Function
NewIntPtrN
(n int)
types.go:525
↓ 1 callers
Function
NewSizeTN
(n int)
types.go:246
↓ 1 callers
Function
NewUInt16N
(n int)
types.go:370
↓ 1 callers
Function
NewUInt32N
(n int)
types.go:432
↓ 1 callers
Function
NewUInt64N
(n int)
types.go:494
↓ 1 callers
Function
NewUInt8N
(n int)
types.go:308
↓ 1 callers
Function
NewUIntN
(n int)
types.go:153
↓ 1 callers
Function
NewUIntPtrN
(n int)
types.go:556
↓ 1 callers
Method
Putc
(ch int)
file.go:134
↓ 1 callers
Method
Resize
(newSize int)
string_list.go:32
↓ 1 callers
Method
SetErrorFrom
(code int, desc string)
error.go:28
↓ 1 callers
Method
StrSize
(i int)
string_list.go:39
↓ 1 callers
Method
Tell
()
file.go:142
Method
AppendByGoSlice
(s []byte)
string_list.go:99
Method
AppendByGoString
(s string)
string_list.go:93
Method
AppendStr
(str *Char)
string_list.go:86
Method
AppendStrN
(str *Char, n int)
string_list.go:89
Method
AssignByGoSlice
(i int, s []byte)
string_list.go:79
Method
AssignStr
(str *Char)
string.go:53
Method
AssignStr
(i int, s *Char)
string_list.go:66
Method
AssignStrN
(str *Char, n int)
string.go:56
Method
AssignStrN
(i int, s *Char, n int)
string_list.go:69
Function
CBytes
Go []byte slice to C array The C array is allocated in the C heap using malloc. It is the caller's responsibility to arrange for it to be freed, such
cgo.go:31
Function
CString
Go string to C string The C string is allocated in the C heap using malloc. It is the caller's responsibility to arrange for it to be freed, such as b
cgo.go:22
Function
Calloc
(num, size int)
void_pointer.go:30
Method
Clear
()
string.go:42
Method
Clear
()
string_list.go:35
Method
ClearErr
()
file.go:164
Method
Close
()
file.go:65
Method
Delete
()
string_list.go:25
Method
First
()
types.go:62
Method
First
()
types.go:93
Method
First
()
types.go:127
Method
First
()
types.go:158
Method
First
()
types.go:189
Method
First
()
types.go:220
Method
First
()
types.go:251
Method
First
()
types.go:282
Method
First
()
types.go:313
Method
First
()
types.go:344
Method
First
()
types.go:375
Method
First
()
types.go:406
Method
First
()
types.go:437
Method
First
()
types.go:468
Method
First
()
types.go:499
Method
First
()
types.go:530
Method
First
()
types.go:561
Method
Float32Slice
(n int)
void_pointer.go:88
Method
Float64Slice
(n int)
void_pointer.go:91
Method
Flush
()
file.go:73
Method
Free
()
void_pointer.go:39
Method
Free
()
goobj.go:49
Method
Free
()
types.go:70
Method
Free
()
types.go:104
Method
Free
()
types.go:166
Method
Free
()
types.go:197
Method
Free
()
types.go:228
Method
Free
()
types.go:259
Method
Free
()
types.go:290
Method
Free
()
types.go:321
Method
Free
()
types.go:352
Method
Free
()
types.go:383
Method
Free
()
types.go:414
next →
1–100 of 235, ranked by callers