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
↓ 2 callers
Function
is_hex_digit
Helper function for sdssplitargs() that returns non zero if 'c' * is a valid hex digit. */
skel/include/sds.c:925
↓ 2 callers
Function
is_hex_digit
Helper function for sdssplitargs() that returns non zero if 'c' * is a valid hex digit. */
tests/aoc-2022/day-2/include/sds.c:925
↓ 2 callers
Function
is_hex_digit
Helper function for sdssplitargs() that returns non zero if 'c' * is a valid hex digit. */
tests/aoc-2022/day-1/include/sds.c:925
↓ 2 callers
Function
is_local_ident
(ident: str)
src/Def.py:1235
↓ 2 callers
Method
is_ref
(self)
src/Def.py:355
↓ 2 callers
Function
is_special_fun
(name: str)
src/backend/ml/MLDef.py:11
↓ 2 callers
Method
match_token_from
(self, kinds: Tuple[TokenKind])
src/Parser.py:246
↓ 2 callers
Function
node_is_cmp
(kind: NodeKind)
src/Def.py:1440
↓ 2 callers
Method
precedence_of
(self, kind: TokenKind)
src/Parser.py:274
↓ 2 callers
Function
ptr_type_of
(meta_kind: VariableMetaKind)
src/Def.py:1391
↓ 2 callers
Function
sdsalloc
sdsalloc() = sdsavail() + sdslen() */
skel/include/sds.h:180
↓ 2 callers
Function
sdsalloc
sdsalloc() = sdsavail() + sdslen() */
tests/aoc-2022/day-2/include/sds.h:180
↓ 2 callers
Function
sdsalloc
sdsalloc() = sdsavail() + sdslen() */
tests/aoc-2022/day-1/include/sds.h:180
↓ 2 callers
Function
sdscatfmt
This function is similar to sdscatprintf, but much faster as it does * not rely on sprintf() family functions implemented by the libc that * are oft
skel/include/sds.c:616
↓ 2 callers
Function
sdscatfmt
This function is similar to sdscatprintf, but much faster as it does * not rely on sprintf() family functions implemented by the libc that * are oft
tests/aoc-2022/day-2/include/sds.c:616
↓ 2 callers
Function
sdscatfmt
This function is similar to sdscatprintf, but much faster as it does * not rely on sprintf() family functions implemented by the libc that * are oft
tests/aoc-2022/day-1/include/sds.c:616
↓ 2 callers
Function
sdscpy
Like sdscpylen() but 't' must be a null-terminated string so that the length * of the string is obtained with strlen(). */
skel/include/sds.c:440
↓ 2 callers
Function
sdscpy
Like sdscpylen() but 't' must be a null-terminated string so that the length * of the string is obtained with strlen(). */
tests/aoc-2022/day-2/include/sds.c:440
↓ 2 callers
Function
sdscpy
Like sdscpylen() but 't' must be a null-terminated string so that the length * of the string is obtained with strlen(). */
tests/aoc-2022/day-1/include/sds.c:440
↓ 2 callers
Function
sdsll2str
skel/include/sds.c:451
↓ 2 callers
Function
sdsll2str
tests/aoc-2022/day-2/include/sds.c:451
↓ 2 callers
Function
sdsll2str
tests/aoc-2022/day-1/include/sds.c:451
↓ 2 callers
Function
sdssetalloc
skel/include/sds.h:197
↓ 2 callers
Function
sdssetalloc
tests/aoc-2022/day-2/include/sds.h:197
↓ 2 callers
Function
sdssetalloc
tests/aoc-2022/day-1/include/sds.h:197
↓ 2 callers
Method
skip_blank_lines
(self)
src/Parser.py:201
↓ 2 callers
Method
struct_declaration
(self, is_extern: bool = False)
src/Parser.py:2108
↓ 2 callers
Function
to_pattern
(l)
src/Lexer.py:42
↓ 2 callers
Function
token_is_param
(kind: TokenKind)
src/Lexer.py:255
↓ 2 callers
Function
tokenize
(line: str)
src/Lexer.py:405
↓ 2 callers
Method
unload
(self)
src/Def.py:368
↓ 2 callers
Method
walk
(self, node: Node)
src/backend/Walker.py:50
↓ 1 callers
Method
__walk
(self, node: Node, parent: Node = None, indent: int = 0)
src/backend/Walker.py:53
↓ 1 callers
Function
_args_compatible
(tpl)
src/Def.py:938
↓ 1 callers
Function
_c_preamble
()
src/backend/c/CWalker.py:269
↓ 1 callers
Method
_process_fun_args
(self, sig: FunctionSignature, node: Node)
src/Parser.py:682
↓ 1 callers
Method
alias_definition
(self)
src/Parser.py:2189
↓ 1 callers
Method
args_to_list
(self, node: Node, arg_cnt: int)
src/Parser.py:432
↓ 1 callers
Method
array_declaration
(self, name: str)
src/Parser.py:2388
↓ 1 callers
Method
block_statement
(self)
src/Parser.py:2255
↓ 1 callers
Function
c_expand_builtin
(node: Node)
src/backend/c/CDef.py:160
↓ 1 callers
Function
c_walk
(node)
src/backend/c/CWalker.py:297
↓ 1 callers
Method
cast_builtin
(self, node: Node)
src/Parser.py:385
↓ 1 callers
Function
check_signature
(fun: Function, sig: FunctionSignature)
src/Def.py:1375
↓ 1 callers
Function
cmp_var_kind
(kind: VariableKind, kind2: VariableKind)
src/Def.py:735
↓ 1 callers
Method
defer_statement
(self)
src/Parser.py:2244
↓ 1 callers
Method
elif_statement
(self, add_predef: bool)
src/Parser.py:1597
↓ 1 callers
Function
flat_map
(f, xs, zs, ts)
src/Lexer.py:423
↓ 1 callers
Method
for_statement
(self, add_predef: bool)
src/Parser.py:1450
↓ 1 callers
Method
fun_arg_cnt
(self, node: Node)
src/Parser.py:425
↓ 1 callers
Function
fun_call_tree_str
(node: Node)
src/GenStr.py:21
↓ 1 callers
Function
gc_allocation_map_delete
skel/include/gc.c:174
↓ 1 callers
Function
gc_allocation_map_delete
tests/aoc-2022/day-2/include/gc.c:174
↓ 1 callers
Function
gc_allocation_map_delete
tests/aoc-2022/day-1/include/gc.c:174
↓ 1 callers
Function
gc_allocation_map_load_factor
* Determine the current load factor of an `AllocationMap`. * * Calculates the load factor of the hash map as the quotient of the size and * the cap
skel/include/gc.c:149
↓ 1 callers
Function
gc_allocation_map_load_factor
* Determine the current load factor of an `AllocationMap`. * * Calculates the load factor of the hash map as the quotient of the size and * the cap
tests/aoc-2022/day-2/include/gc.c:149
↓ 1 callers
Function
gc_allocation_map_load_factor
* Determine the current load factor of an `AllocationMap`. * * Calculates the load factor of the hash map as the quotient of the size and * the cap
tests/aoc-2022/day-1/include/gc.c:149
↓ 1 callers
Function
gc_allocation_map_new
skel/include/gc.c:154
↓ 1 callers
Function
gc_allocation_map_new
tests/aoc-2022/day-2/include/gc.c:154
↓ 1 callers
Function
gc_allocation_map_new
tests/aoc-2022/day-1/include/gc.c:154
↓ 1 callers
Function
gc_allocation_new
* Create a new allocation object. * * Creates a new allocation object using the system `malloc`. * * @param[in] ptr The pointer to the memory to m
skel/include/gc.c:98
↓ 1 callers
Function
gc_allocation_new
* Create a new allocation object. * * Creates a new allocation object using the system `malloc`. * * @param[in] ptr The pointer to the memory to m
tests/aoc-2022/day-2/include/gc.c:98
↓ 1 callers
Function
gc_allocation_new
* Create a new allocation object. * * Creates a new allocation object using the system `malloc`. * * @param[in] ptr The pointer to the memory to m
tests/aoc-2022/day-1/include/gc.c:98
↓ 1 callers
Function
gc_calloc
skel/include/gc.c:413
↓ 1 callers
Function
gc_calloc
tests/aoc-2022/day-2/include/gc.c:413
↓ 1 callers
Function
gc_calloc
tests/aoc-2022/day-1/include/gc.c:413
↓ 1 callers
Function
gc_calloc_ext
skel/include/gc.c:419
↓ 1 callers
Function
gc_calloc_ext
tests/aoc-2022/day-2/include/gc.c:419
↓ 1 callers
Function
gc_calloc_ext
tests/aoc-2022/day-1/include/gc.c:419
↓ 1 callers
Function
gc_free
skel/include/gc.c:456
↓ 1 callers
Function
gc_free
tests/aoc-2022/day-2/include/gc.c:456
↓ 1 callers
Function
gc_free
tests/aoc-2022/day-1/include/gc.c:456
↓ 1 callers
Function
gc_mark
skel/include/gc.c:551
↓ 1 callers
Function
gc_mark
tests/aoc-2022/day-2/include/gc.c:551
↓ 1 callers
Function
gc_mark
tests/aoc-2022/day-1/include/gc.c:551
↓ 1 callers
Function
gc_mark_roots
skel/include/gc.c:536
↓ 1 callers
Function
gc_mark_roots
tests/aoc-2022/day-2/include/gc.c:536
↓ 1 callers
Function
gc_mark_roots
tests/aoc-2022/day-1/include/gc.c:536
↓ 1 callers
Function
gc_needs_sweep
skel/include/gc.c:342
↓ 1 callers
Function
gc_needs_sweep
tests/aoc-2022/day-2/include/gc.c:342
↓ 1 callers
Function
gc_needs_sweep
tests/aoc-2022/day-1/include/gc.c:342
↓ 1 callers
Function
gc_realloc
skel/include/gc.c:426
↓ 1 callers
Function
gc_realloc
tests/aoc-2022/day-2/include/gc.c:426
↓ 1 callers
Function
gc_realloc
tests/aoc-2022/day-1/include/gc.c:426
↓ 1 callers
Function
gc_start_ext
skel/include/gc.c:475
↓ 1 callers
Function
gc_start_ext
tests/aoc-2022/day-2/include/gc.c:475
↓ 1 callers
Function
gc_start_ext
tests/aoc-2022/day-1/include/gc.c:475
↓ 1 callers
Function
gc_unroot_roots
* Unset the ROOT tag on all roots on the heap. * * @param gc A pointer to a garbage collector instance. */
skel/include/gc.c:603
↓ 1 callers
Function
gc_unroot_roots
* Unset the ROOT tag on all roots on the heap. * * @param gc A pointer to a garbage collector instance. */
tests/aoc-2022/day-2/include/gc.c:603
↓ 1 callers
Function
gc_unroot_roots
* Unset the ROOT tag on all roots on the heap. * * @param gc A pointer to a garbage collector instance. */
tests/aoc-2022/day-1/include/gc.c:603
↓ 1 callers
Method
gen
(self, node: Node)
src/Def.py:383
↓ 1 callers
Function
gen_compatible
(sig: FunctionSignature, arg_types: List[VariableType])
src/Def.py:1299
↓ 1 callers
Function
gen_fun_call
(node: Node)
src/Gen.py:346
↓ 1 callers
Function
gen_fun_preamble
(name: str)
src/Gen.py:534
↓ 1 callers
Function
gen_if_tree
(node: Node)
src/Gen.py:296
↓ 1 callers
Function
gen_load_imm
(opd: Operand)
src/Gen.py:113
↓ 1 callers
Function
gen_load_str_lit
(opd: Operand)
src/Gen.py:121
↓ 1 callers
Function
gen_load_var
(opd: Operand)
src/Gen.py:142
↓ 1 callers
Function
gen_postamble
()
src/Gen.py:488
↓ 1 callers
Function
gen_preamble
()
src/Gen.py:459
← previous
next →
201–300 of 512, ranked by callers