Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NICUP14/MiniLang
/ functions
Functions
512 in github.com/NICUP14/MiniLang
⨍
Functions
512
◇
Types & classes
77
Function
gc_resume
tests/aoc-2022/day-1/include/gc.c:500
Function
gc_start
skel/include/gc.c:470
Function
gc_start
tests/aoc-2022/day-2/include/gc.c:470
Function
gc_start
tests/aoc-2022/day-1/include/gc.c:470
Function
gc_stop
skel/include/gc.c:617
Function
gc_stop
tests/aoc-2022/day-2/include/gc.c:617
Function
gc_stop
tests/aoc-2022/day-1/include/gc.c:617
Function
gc_strdup
skel/include/gc.c:632
Function
gc_strdup
tests/aoc-2022/day-2/include/gc.c:632
Function
gc_strdup
tests/aoc-2022/day-1/include/gc.c:632
Function
gen
(node: Node)
src/Gen.py:555
Function
gen_label
(label: str)
src/Gen.py:48
Function
gen_load_local_str
(opd: Operand)
src/Gen.py:129
Function
gen_write
(opd: Operand, opd2: Operand)
src/Gen.py:232
Function
get_type
(node: Node)
src/Def.py:1362
Function
get_type
(node: Node)
src/backend/ml/MLWalker.py:130
Function
get_type
(node: Node)
src/backend/c/CWalker.py:142
Method
get_type
(node: Node)
src/Parser.py:550
Function
include
(header: str)
src/backend/c/CWalker.py:286
Method
inject_copy_arg
(node: Node)
src/Parser.py:646
Method
inject_decl
(tpl: Tuple[str, str, VariableType])
src/Parser.py:2157
Function
is_fun
(item)
src/Gen.py:490
Function
is_helper_glue
(parent_kind: NodeKind, kind: NodeKind)
src/backend/c/CDef.py:133
Function
is_in_block
(kind: NodeKind)
src/backend/c/CDef.py:137
Method
is_in_sig
(arg_type: VariableType)
src/Parser.py:606
Function
is_int
(s: str)
src/Lexer.py:53
Method
is_ml_source
(f)
src/Parser.py:1357
Function
is_type
(s: str)
src/Lexer.py:57
Method
lookahead_token
(self)
src/Parser.py:220
Function
main
skel/include/sds.c:1325
Function
main
tests/aoc-2022/day-2/include/sds.c:1325
Function
main
tests/aoc-2022/day-1/include/sds.c:1325
Function
main
tests/str-buildtest/main.c:1
Function
main
tests/test/test.c:23
Function
ml_calloc
skel/include/mlalloc.c:8
Function
ml_calloc
tests/aoc-2022/day-2/include/mlalloc.c:8
Function
ml_calloc
tests/aoc-2022/day-1/include/mlalloc.c:8
Function
ml_free
skel/include/mlalloc.c:18
Function
ml_free
tests/aoc-2022/day-2/include/mlalloc.c:18
Function
ml_free
tests/aoc-2022/day-1/include/mlalloc.c:18
Function
ml_malloc
skel/include/mlalloc.c:3
Function
ml_malloc
tests/aoc-2022/day-2/include/mlalloc.c:3
Function
ml_malloc
tests/aoc-2022/day-1/include/mlalloc.c:3
Function
ml_realloc
skel/include/mlalloc.c:13
Function
ml_realloc
tests/aoc-2022/day-2/include/mlalloc.c:13
Function
ml_realloc
tests/aoc-2022/day-1/include/mlalloc.c:13
Function
ml_walker_step
(node: Node, parent: Node, left, right, middle, indent_cnt: int)
src/backend/ml/MLWalker.py:19
Function
name_of
(full_name: str)
src/Def.py:506
Method
needs_destr
(ident: str, fun_name: str = sig_name, is_destr=full_name == 'destruct')
src/Parser.py:1777
Method
parse_gen
(self)
src/Parser.py:1164
Method
parse_type_list
(self)
src/Parser.py:1233
Function
process
(params)
src/Lexer.py:410
Function
sdsAllocPtr
Return the pointer of the actual SDS allocation (normally SDS strings * are referenced by the start of the string buffer). */
skel/include/sds.c:307
Function
sdsAllocPtr
Return the pointer of the actual SDS allocation (normally SDS strings * are referenced by the start of the string buffer). */
tests/aoc-2022/day-2/include/sds.c:307
Function
sdsAllocPtr
Return the pointer of the actual SDS allocation (normally SDS strings * are referenced by the start of the string buffer). */
tests/aoc-2022/day-1/include/sds.c:307
Function
sdsAllocSize
Return the total size of the allocation of the specified sds string, * including: * 1) The sds header before the pointer. * 2) The string. * 3) Th
skel/include/sds.c:300
Function
sdsAllocSize
Return the total size of the allocation of the specified sds string, * including: * 1) The sds header before the pointer. * 2) The string. * 3) Th
tests/aoc-2022/day-2/include/sds.c:300
Function
sdsAllocSize
Return the total size of the allocation of the specified sds string, * including: * 1) The sds header before the pointer. * 2) The string. * 3) Th
tests/aoc-2022/day-1/include/sds.c:300
Function
sdsRemoveFreeSpace
Reallocate the sds string so that it has no free space at the end. The * contained string remains not altered, but next concatenation operations * w
skel/include/sds.c:256
Function
sdsRemoveFreeSpace
Reallocate the sds string so that it has no free space at the end. The * contained string remains not altered, but next concatenation operations * w
tests/aoc-2022/day-2/include/sds.c:256
Function
sdsRemoveFreeSpace
Reallocate the sds string so that it has no free space at the end. The * contained string remains not altered, but next concatenation operations * w
tests/aoc-2022/day-1/include/sds.c:256
Function
sds_free
skel/include/sds.c:1138
Function
sds_free
tests/aoc-2022/day-2/include/sds.c:1138
Function
sds_free
tests/aoc-2022/day-1/include/sds.c:1138
Function
sds_malloc
Wrappers to the allocators used by SDS. Note that SDS will actually * just use the macros defined into sdsalloc.h in order to avoid to pay * the ove
skel/include/sds.c:1136
Function
sds_malloc
Wrappers to the allocators used by SDS. Note that SDS will actually * just use the macros defined into sdsalloc.h in order to avoid to pay * the ove
tests/aoc-2022/day-2/include/sds.c:1136
Function
sds_malloc
Wrappers to the allocators used by SDS. Note that SDS will actually * just use the macros defined into sdsalloc.h in order to avoid to pay * the ove
tests/aoc-2022/day-1/include/sds.c:1136
Function
sds_realloc
skel/include/sds.c:1137
Function
sds_realloc
tests/aoc-2022/day-2/include/sds.c:1137
Function
sds_realloc
tests/aoc-2022/day-1/include/sds.c:1137
Function
sdsclear
Modify an sds string in-place to make it empty (zero length). * However all the existing buffer is not discarded but set as free space * so that nex
skel/include/sds.c:193
Function
sdsclear
Modify an sds string in-place to make it empty (zero length). * However all the existing buffer is not discarded but set as free space * so that nex
tests/aoc-2022/day-2/include/sds.c:193
Function
sdsclear
Modify an sds string in-place to make it empty (zero length). * However all the existing buffer is not discarded but set as free space * so that nex
tests/aoc-2022/day-1/include/sds.c:193
Function
sdsfreesplitres
Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
skel/include/sds.c:885
Function
sdsfreesplitres
Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
tests/aoc-2022/day-2/include/sds.c:885
Function
sdsfreesplitres
Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
tests/aoc-2022/day-1/include/sds.c:885
Function
sdsfromlonglong
Create an sds string from a long long value. It is much faster than: * * sdscatprintf(sdsempty(),"%lld\n", value); */
skel/include/sds.c:526
Function
sdsfromlonglong
Create an sds string from a long long value. It is much faster than: * * sdscatprintf(sdsempty(),"%lld\n", value); */
tests/aoc-2022/day-2/include/sds.c:526
Function
sdsfromlonglong
Create an sds string from a long long value. It is much faster than: * * sdscatprintf(sdsempty(),"%lld\n", value); */
tests/aoc-2022/day-1/include/sds.c:526
Function
sdsgrowzero
Grow the sds to have the specified length. Bytes that were not part of * the original length of the sds will be set to zero. * * if the specified l
skel/include/sds.c:380
Function
sdsgrowzero
Grow the sds to have the specified length. Bytes that were not part of * the original length of the sds will be set to zero. * * if the specified l
tests/aoc-2022/day-2/include/sds.c:380
Function
sdsgrowzero
Grow the sds to have the specified length. Bytes that were not part of * the original length of the sds will be set to zero. * * if the specified l
tests/aoc-2022/day-1/include/sds.c:380
Function
sdsjoin
Join an array of C strings using the specified separator (also a C string). * Returns the result as an sds string. */
skel/include/sds.c:1108
Function
sdsjoin
Join an array of C strings using the specified separator (also a C string). * Returns the result as an sds string. */
tests/aoc-2022/day-2/include/sds.c:1108
Function
sdsjoin
Join an array of C strings using the specified separator (also a C string). * Returns the result as an sds string. */
tests/aoc-2022/day-1/include/sds.c:1108
Function
sdsjoinsds
Like sdsjoin, but joins an array of SDS strings. */
skel/include/sds.c:1120
Function
sdsjoinsds
Like sdsjoin, but joins an array of SDS strings. */
tests/aoc-2022/day-2/include/sds.c:1120
Function
sdsjoinsds
Like sdsjoin, but joins an array of SDS strings. */
tests/aoc-2022/day-1/include/sds.c:1120
Function
sdsmapchars
Modify the string substituting all the occurrences of the set of * characters specified in the 'from' string to the corresponding character * in the
skel/include/sds.c:1092
Function
sdsmapchars
Modify the string substituting all the occurrences of the set of * characters specified in the 'from' string to the corresponding character * in the
tests/aoc-2022/day-2/include/sds.c:1092
Function
sdsmapchars
Modify the string substituting all the occurrences of the set of * characters specified in the 'from' string to the corresponding character * in the
tests/aoc-2022/day-1/include/sds.c:1092
Function
sdssplitargs
Split a line into arguments, where every argument can be in the * following programming-language REPL-alike form: * * foo bar "newline are supporte
skel/include/sds.c:973
Function
sdssplitargs
Split a line into arguments, where every argument can be in the * following programming-language REPL-alike form: * * foo bar "newline are supporte
tests/aoc-2022/day-2/include/sds.c:973
Function
sdssplitargs
Split a line into arguments, where every argument can be in the * following programming-language REPL-alike form: * * foo bar "newline are supporte
tests/aoc-2022/day-1/include/sds.c:973
Function
sdssplitlen
Split 's' with separator in 'sep'. An array * of sds strings is returned. *count will be set * by reference to the number of tokens returned. * *
skel/include/sds.c:835
Function
sdssplitlen
Split 's' with separator in 'sep'. An array * of sds strings is returned. *count will be set * by reference to the number of tokens returned. * *
tests/aoc-2022/day-2/include/sds.c:835
Function
sdssplitlen
Split 's' with separator in 'sep'. An array * of sds strings is returned. *count will be set * by reference to the number of tokens returned. * *
tests/aoc-2022/day-1/include/sds.c:835
Function
sdstolower
Apply tolower() to every character of the sds string 's'. */
skel/include/sds.c:783
Function
sdstolower
Apply tolower() to every character of the sds string 's'. */
tests/aoc-2022/day-2/include/sds.c:783
Function
sdstolower
Apply tolower() to every character of the sds string 's'. */
tests/aoc-2022/day-1/include/sds.c:783
← previous
next →
401–500 of 512, ranked by callers