Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlutoLang/Pluto
/ functions
Functions
1,782 in github.com/PlutoLang/Pluto
⨍
Functions
1,782
◇
Types & classes
129
↓ 2 callers
Function
ffi_new_struct_type
src/lffi.cpp:484
↓ 2 callers
Function
field
src/lparser.cpp:1954
↓ 2 callers
Method
finalizeAndThrow
src/lerrormessage.hpp:156
↓ 2 callers
Function
find_cat_node
src/lcatlib.cpp:119
↓ 2 callers
Function
find_non_compat_tkn_by_name
src/lparser.cpp:435
↓ 2 callers
Function
findlabel
** Search for an active label with the given name, starting at ** index 'ilb' (so that it can search for all labels in current block ** or all labels
src/lparser.cpp:1326
↓ 2 callers
Function
finishbinexpneg
Try to code a binary operator negating its second operand. ** For the metamethod, 2nd operand must keep its original value. */
src/lcode.cpp:1687
↓ 2 callers
Function
finishgencycle
** Finish a young-generation collection. */
src/lgc.cpp:1292
↓ 2 callers
Function
finishpcall
** Continuation function for 'pcall' and 'xpcall'. Both functions ** already pushed a 'true' before doing the call, so in case of success ** 'finishpc
src/lbaselib.cpp:541
↓ 2 callers
Function
firsttry
** First allocation will fail except when freeing a block (frees never ** fail) and when it cannot try again; this fail will trigger 'tryagain' ** and
src/lmem.cpp:69
↓ 2 callers
Function
fitsBx
** Check whether 'i' can be stored in an 'sBx' operand. */
src/lcode.cpp:688
↓ 2 callers
Function
fixforjump
** Fix for instruction at position 'pc' to jump to 'dest'. ** (Jump addresses are relative in Lua). 'back' true means ** a back jump. */
src/lparser.cpp:5043
↓ 2 callers
Function
formatvarinfo
src/ldebug.cpp:733
↓ 2 callers
Function
freestack
src/lstate.cpp:179
↓ 2 callers
Function
fullinc
** Perform a full collection in incremental mode. ** Before running the collection, check 'keepinvariant'; if it is true, ** there may be some objects
src/lgc.cpp:1770
↓ 2 callers
Function
funcnamefromcall
** Try to find a name for a function based on how it was called. */
src/ldebug.cpp:677
↓ 2 callers
Function
genmoveresults
Generic case for 'moveresult' */
src/ldo.cpp:548
↓ 2 callers
Function
get2digits
src/lstrlib.cpp:1326
↓ 2 callers
Method
getLineNumberOfLastNonEmptyLine
src/llex.h:494
↓ 2 callers
Function
getMode
src/lbaselib.cpp:396
↓ 2 callers
Function
get_global_prop_opt
src/lparser.cpp:785
↓ 2 callers
Function
get_named_type_opt
src/lparser.cpp:540
↓ 2 callers
Function
get_onecapture
** get information about the i-th capture. If there are no captures ** and 'i==0', return information about the whole match, which ** is the range 's'
src/lstrlib.cpp:758
↓ 2 callers
Function
getendpos
** Gets an optional ending string position from argument 'arg', ** with default value 'def'. ** Negative means back from end: clip result to [0, len]
src/lstrlib.cpp:79
↓ 2 callers
Function
getfunctionattribute
Returns true if the function is declared '<nodiscard>'. */
src/lparser.cpp:2611
↓ 2 callers
Function
getgclist
src/lgc.cpp:163
↓ 2 callers
Function
getglobalattribute
src/lparser.cpp:5666
↓ 2 callers
Function
getnum
src/lstrlib.cpp:1576
↓ 2 callers
Function
getobjname
** Extend 'basicgetobjname' to handle table accesses */
src/ldebug.cpp:587
↓ 2 callers
Function
getoptco
src/lcorolib.cpp:187
↓ 2 callers
Function
getoption
** Read and classify next option. 'size' is filled with option's size. */
src/lstrlib.cpp:1615
↓ 2 callers
Function
globalstatfunc
src/lparser.cpp:5766
↓ 2 callers
Function
hashint
** Hash for integers. To allow a good hash, use the remainder operator ** ('%'). If integer fits as a non-negative int, compute an int ** remainder, w
src/ltable.cpp:145
↓ 2 callers
Function
hintarraytostring
src/lparser.cpp:2677
↓ 2 callers
Function
init_var
** Create an expression representing variable 'vidx' */
src/lparser.cpp:939
↓ 2 callers
Function
intarith
src/lobject.cpp:125
↓ 2 callers
Function
isIndexBasedTable
This function by itself is not a comprehensive check; the actual array encoding may bail to object if it detects an issue.
src/ljson.hpp:4
↓ 2 callers
Method
isKeywordEnabled
src/llex.h:583
↓ 2 callers
Function
iter_aux
src/lutf8lib.cpp:228
↓ 2 callers
Function
jumponcond
** Emit instruction to jump if 'e' is 'cond' (that is, if 'cond' ** is true, code will jump if 'e' is true.) Return jump position. ** Optimize when 'e
src/lcode.cpp:1253
↓ 2 callers
Function
keyinarray
** Check whether a key is in the array part of a table and return its ** index there, or zero. */
src/ltable.cpp:333
↓ 2 callers
Function
l_checktime
src/loslib.cpp:290
↓ 2 callers
Function
l_str2dloc
** Convert string 's' to a Lua number (put in 'result'). Return NULL on ** fail or the address of the ending '\0' on success. ('mode' == 'x') ** means
src/lobject.cpp:301
↓ 2 callers
Function
l_strcmp
** Compare two strings 'ts1' x 'ts2', returning an integer less-equal- ** -greater than zero if 'ts1' is less-equal-greater than 'ts2'. ** The code is
src/lvm.cpp:416
↓ 2 callers
Function
l_strton
** Try to convert a value from string to a number value. ** If the value is not a string or is a string not representing ** a valid numeral (or if coe
src/lvm.cpp:89
↓ 2 callers
Function
lambdabody
** Lambda implementation. ** Shorthands lambda expressions into `function (...) return ... end`. ** The '|' token was chosen because it's not commonly
src/lparser.cpp:2798
↓ 2 callers
Function
loadAlign
src/lundump.cpp:64
↓ 2 callers
Function
loadFunction
src/lundump.cpp:326
↓ 2 callers
Function
load_aux
src/lbaselib.cpp:379
↓ 2 callers
Function
loadfunc
** Try to find a load function for module 'modname' at file 'filename'. ** First, change '.' to '_' in 'modname'; then, if 'modname' has ** the form X
src/loadlib.cpp:576
↓ 2 callers
Function
localclass
src/lparser.cpp:2381
↓ 2 callers
Function
localfunc
src/lparser.cpp:5433
↓ 2 callers
Function
luaB_dumpvar_impl
src/lbaselib.cpp:612
↓ 2 callers
Function
luaC_checkfinalizer
** if object 'o' has a finalizer, remove it from 'allgc' list (must ** search the list to find it) and link it in 'finobj' list. */
src/lgc.cpp:1068
↓ 2 callers
Function
luaC_freeallobjects
** Call all finalizers of the objects in the given Lua state, and ** then free all objects, except for the main thread. */
src/lgc.cpp:1529
↓ 2 callers
Function
luaC_newobjdt
** create a new collectable object (with given type, size, and offset) ** and link it to 'allgc' list. */
src/lgc.cpp:297
↓ 2 callers
Function
luaD_checkminstack
** Check whether stacks have enough space to run a simple function (such ** as a finalizer): At least BASIC_STACK_SIZE in the Lua stack, two ** availa
src/ldo.cpp:228
↓ 2 callers
Function
luaD_errerr
raise a stack error while running the message handler */
src/ldo.cpp:215
↓ 2 callers
Function
luaD_growstack
** Try to grow the stack by at least 'n' elements. When 'raiseerror' ** is true, raises any error; otherwise, return 0 in case of errors. */
src/ldo.cpp:361
↓ 2 callers
Function
luaD_hookcall
** Executes a call hook for Lua functions. This function is called ** whenever 'hookmask' is not zero, so it checks whether call hooks are ** active.
src/ldo.cpp:484
↓ 2 callers
Function
luaD_precall
** Prepares the call to a function (C or Lua). For C functions, also do ** the call. The function to be called is at '*func'. The arguments ** are on
src/ldo.cpp:723
↓ 2 callers
Function
luaE_checkcstack
** Called when 'getCcalls(L)' larger or equal to LUAI_MAXCCALLS. ** If equal, raises an overflow error. If value is larger than ** LUAI_MAXCCALLS (whi
src/lstate.cpp:138
↓ 2 callers
Function
luaE_extendCI
src/lstate.cpp:73
↓ 2 callers
Function
luaE_resetthread
src/lstate.cpp:320
↓ 2 callers
Function
luaF_unlinkupval
src/lfunc.cpp:186
↓ 2 callers
Function
luaG_errormsg
src/ldebug.cpp:874
↓ 2 callers
Function
luaG_opinterror
src/ldebug.cpp:806
↓ 2 callers
Function
luaH_finishset
** Finish a raw "set table" operation, where 'hres' encodes where the ** value should have been (the result of a previous 'pset' operation). ** Beware
src/ltable.cpp:1184
↓ 2 callers
Function
luaH_getn
** Try to find a border in table 't'. (A 'border' is an integer index ** such that t[i] is present and t[i+1] is absent, or 0 if t[1] is absent, ** or
src/ltable.cpp:1332
↓ 2 callers
Function
luaH_getstr
src/ltable.cpp:1042
↓ 2 callers
Function
luaH_initmetatable
src/ltable.cpp:814
↓ 2 callers
Function
luaH_psetshortstr
src/ltable.cpp:1128
↓ 2 callers
Function
luaH_resizearray
src/ltable.cpp:750
↓ 2 callers
Function
luaK_exp2const
** If expression is a constant, fills 'v' with its value ** and returns 1. Otherwise, returns 0. */
src/lcode.cpp:85
↓ 2 callers
Function
luaK_exp2val
** Ensures final expression result is either in a register ** or it is a constant. */
src/lcode.cpp:1064
↓ 2 callers
Function
luaK_freeexp
src/lcode.cpp:2196
↓ 2 callers
Function
luaK_int
src/lcode.cpp:693
↓ 2 callers
Function
luaK_intK
** Add an integer to list of constants and return its index. */
src/lcode.cpp:600
↓ 2 callers
Function
luaK_isalwaysnil
src/lcode.cpp:1268
↓ 2 callers
Function
luaK_numberK
** Add a float to list of constants and return its index. Floats ** with integral values need a different key, to avoid collision ** with actual integ
src/lcode.cpp:618
↓ 2 callers
Function
luaK_vapar2local
** Change a vararg parameter into a regular local variable */
src/lcode.cpp:820
↓ 2 callers
Function
luaL_callmeta
src/lauxlib.cpp:1038
↓ 2 callers
Function
luaL_execresult
src/lauxlib.cpp:310
↓ 2 callers
Function
luaL_testudata
src/lauxlib.cpp:355
↓ 2 callers
Function
luaL_traceback
src/lauxlib.cpp:146
↓ 2 callers
Function
luaL_unref
src/lauxlib.cpp:749
↓ 2 callers
Function
luaL_utf16_to_utf8
src/lauxlib.cpp:832
↓ 2 callers
Function
luaM_saferealloc_
src/lmem.cpp:192
↓ 2 callers
Function
luaO_chunkid
src/lobject.cpp:722
↓ 2 callers
Function
luaO_pushvfstring
** this function handles only '%d', '%c', '%f', '%p', '%s', and '%%' conventional formats, plus Lua-specific '%I' and '%U' */
src/lobject.cpp:636
↓ 2 callers
Function
luaO_rawarith
src/lobject.cpp:161
↓ 2 callers
Function
luaO_utf8esc
src/lobject.cpp:418
↓ 2 callers
Function
luaS_newextlstr
src/lstring.cpp:319
↓ 2 callers
Function
luaS_resize
** Resize the string table. If allocation fails, keep the current size. ** (This can degrade performance, but any non-zero size should work ** correct
src/lstring.cpp:96
↓ 2 callers
Function
luaT_trybinassocTM
src/ltm.cpp:187
↓ 2 callers
Function
luaV_objlen
** Main operation 'ra = #rb'. */
src/lvm.cpp:756
↓ 2 callers
Function
luaZ_init
src/lzio.cpp:39
↓ 2 callers
Function
lua_callk
src/lapi.cpp:1132
↓ 2 callers
Function
lua_copy
src/lapi.cpp:254
↓ 2 callers
Function
lua_dump
** Dump a Lua function, calling 'writer' to write its parts. Ensure ** the stack returns with its original size. */
src/lapi.cpp:1243
← previous
next →
601–700 of 1,782, ranked by callers