Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cubitect/cubiomes-viewer
/ functions
Functions
1,749 in github.com/Cubitect/cubiomes-viewer
⨍
Functions
1,749
◇
Types & classes
206
↓ 1 callers
Function
auxsort
** Quicksort algorithm (recursive function) */
lua/src/ltablib.c:345
↓ 1 callers
Function
b_str2int
lua/src/lbaselib.c:60
↓ 1 callers
Function
boolF
** Add a false to list of constants and return its index. */
lua/src/lcode.c:625
↓ 1 callers
Function
boolT
** Add a true to list of constants and return its index. */
lua/src/lcode.c:635
↓ 1 callers
Function
breakstat
** Break statement. Semantically equivalent to "goto break". */
lua/src/lparser.c:1437
↓ 1 callers
Function
callclosemethod
** Call closing method for object 'obj' with error message 'err'. The ** boolean 'yy' controls whether the call is yieldable. ** (This function assume
lua/src/lfunc.c:108
↓ 1 callers
Function
capture_to_close
lua/src/lstrlib.c:395
↓ 1 callers
Function
changedline
** Check whether new instruction 'newpc' is in a different line from ** previous instruction 'oldpc'. More often than not, 'newpc' is only ** one or a
lua/src/ldebug.c:841
↓ 1 callers
Function
checkHeader
lua/src/lundump.c:290
↓ 1 callers
Function
check_capture
lua/src/lstrlib.c:386
↓ 1 callers
Function
check_conflict
** check whether, in an assignment to an upvalue/local variable, the ** upvalue/local variable is begin used in a previous assignment to a ** table. I
lua/src/lparser.c:1330
↓ 1 callers
Function
checkclib
** return registry.CLIBS[path] */
lua/src/loadlib.c:335
↓ 1 callers
Function
checkclosemth
** Check whether object at given level has a close metamethod and raise ** an error if not. */
lua/src/lfunc.c:126
↓ 1 callers
Function
checkoption
lua/src/loslib.c:274
↓ 1 callers
Function
checkrepeated
** Check whether there is already a label with the given 'name'. */
lua/src/lparser.c:1447
↓ 1 callers
Function
checktoclose
lua/src/lparser.c:1717
↓ 1 callers
Function
choosePivot
** Choose an element in the middle (2nd-3th quarters) of [lo,up] ** "randomized" by 'rnd' */
lua/src/ltablib.c:334
↓ 1 callers
Function
closelistfield
lua/src/lparser.c:867
↓ 1 callers
Function
cmpVers
returns +1 if newer, -1 if older and 0 if equal
src/aboutdialog.h:12
↓ 1 callers
Function
codebitwise
** Code bitwise operations; they are all associative, so the function ** tries to put an integer constant as the 2nd operand (a K operand). */
lua/src/lcode.c:1484
↓ 1 callers
Function
codeclosure
** codes instruction to create new closure in parent function. ** The OP_CLOSURE instruction uses the last available register, ** so that, if it invok
lua/src/lparser.c:721
↓ 1 callers
Function
codecommutative
** Code commutative operators ('+', '*'). If first operand is a ** numeric constant, change order of operands to try to use an ** immediate or K opera
lua/src/lcode.c:1466
↓ 1 callers
Function
codeconcat
** Create code for '(e1 .. e2)'. ** For '(e1 .. e2.1 .. e2.2)' (which is '(e1 .. (e2.1 .. e2.2))', ** because concatenation is right associative), mer
lua/src/lcode.c:1640
↓ 1 callers
Function
codeeq
** Emit code for equality comparisons ('==', '~='). ** 'e1' was already put as RK by 'luaK_infix'. */
lua/src/lcode.c:1540
↓ 1 callers
Function
codenot
** Code 'not e', doing constant folding. */
lua/src/lcode.c:1186
↓ 1 callers
Function
codesJ
** Format and emit an 'isJ' instruction. */
lua/src/lcode.c:429
↓ 1 callers
Function
codeunexpval
** Emit code for unary expressions that "produce values" ** (everything but 'not'). ** Expression to produce final result will be encoded in 'e'. */
lua/src/lcode.c:1359
↓ 1 callers
Function
collectargs
** Traverses all arguments from 'argv', returning a mask with those ** needed before running any Lua code (or an error code if it finds ** any invalid
lua/src/lua.c:275
↓ 1 callers
Function
collectvalidlines
lua/src/ldebug.c:290
↓ 1 callers
Function
combine
lua/src/luac.c:143
↓ 1 callers
Function
computesizes
** Compute the optimal size for the array part of table 't'. 'nums' is a ** "count array" where 'nums[i]' is the number of integers in the table ** be
lua/src/ltable.c:389
↓ 1 callers
Function
const2exp
** Convert a constant in 'v' into an expression description 'e' */
lua/src/lcode.c:692
↓ 1 callers
Method
copyResults
src/formsearchcontrol.cpp:827
↓ 1 callers
Function
correctgraylists
** Correct all gray lists, coalescing them into 'grayagain'. */
lua/src/lgc.c:1179
↓ 1 callers
Function
correctpointers
** Correct pointers to objects inside 'allgc' list when ** object 'o' is being removed from the list. */
lua/src/lgc.c:999
↓ 1 callers
Function
correctstack
** {================================================================== ** Stack reallocation ** ======================================================
lua/src/ldo.c:160
↓ 1 callers
Function
createargtable
** Create the 'arg' table, which stores all arguments from the ** command line ('argv'). It should be aligned so that, at index 0, ** it has 'argv[scr
lua/src/lua.c:181
↓ 1 callers
Function
createclibstable
** create table CLIBS to keep track of loaded C libraries, ** setting a finalizer to close all libraries when closing state. */
lua/src/loadlib.c:730
↓ 1 callers
Function
createmeta
lua/src/liolib.c:784
↓ 1 callers
Function
createmetatable
lua/src/lstrlib.c:1852
↓ 1 callers
Function
createsearcherstable
lua/src/loadlib.c:710
↓ 1 callers
Function
doargs
lua/src/luac.c:76
↓ 1 callers
Function
dofilecont
lua/src/lbaselib.c:409
↓ 1 callers
Function
dolibrary
** Receives 'globname[=modname]' and runs 'globname = require(modname)'. */
lua/src/lua.c:213
↓ 1 callers
Method
draw
src/world.cpp:1143
↓ 1 callers
Function
dumpCode
lua/src/ldump.c:100
↓ 1 callers
Function
dumpConstants
lua/src/ldump.c:108
↓ 1 callers
Function
dumpDebug
lua/src/ldump.c:154
↓ 1 callers
Function
dumpHeader
lua/src/ldump.c:197
↓ 1 callers
Function
dumpProtos
lua/src/ldump.c:134
↓ 1 callers
Function
dumpUpvalues
lua/src/ldump.c:143
↓ 1 callers
Method
editBiomeColor
src/biomecolordialog.cpp:275
↓ 1 callers
Function
end_capture
lua/src/lstrlib.c:548
↓ 1 callers
Function
equalkey
** Check whether key 'k1' is equal to the key in node 'n2'. This ** equality is raw, so there are no metamethods. Floats with integer ** values have b
lua/src/ltable.c:216
↓ 1 callers
Method
equals
src/config.cpp:56
↓ 1 callers
Function
errorlimit
lua/src/lparser.c:74
↓ 1 callers
Method
estimateSeedCnt
src/config.cpp:473
↓ 1 callers
Method
estimateSurface
src/world.cpp:907
↓ 1 callers
Function
exprstat
lua/src/lparser.c:1794
↓ 1 callers
Function
f_close
lua/src/liolib.c:222
↓ 1 callers
Function
field
lua/src/lparser.c:902
↓ 1 callers
Function
filterpc
lua/src/ldebug.c:455
↓ 1 callers
Function
finaltarget
** return the final target of a jump (skipping jumps to jumps) */
lua/src/lcode.c:1787
↓ 1 callers
Function
findfield
** Search for 'objidx' in table at index -1. ('objidx' must be an ** absolute index.) Return 1 + string at top if it found a good name. */
lua/src/lauxlib.c:52
↓ 1 callers
Function
findindex
** returns the index of a 'key' for table traversals. First goes all ** elements in the array part, then elements in the hash part. The ** beginning o
lua/src/ltable.c:329
↓ 1 callers
Function
findlast
** find last 'next' field in list 'p' list (to add elements in its end) */
lua/src/lgc.c:952
↓ 1 callers
Function
findloader
lua/src/loadlib.c:624
↓ 1 callers
Function
findpcall
** Try to find a suspended protected call (a "recover point") for the ** given thread. */
lua/src/ldo.c:727
↓ 1 callers
Function
findsetreg
** Try to find last instruction before 'lastpc' that modified register 'reg'. */
lua/src/ldebug.c:465
↓ 1 callers
Function
findvararg
lua/src/ldebug.c:184
↓ 1 callers
Function
finishCcall
** Completes the execution of a C function interrupted by an yield. ** The interruption must have happened while the function was either ** closing it
lua/src/ldo.c:681
↓ 1 callers
Function
finishpcallk
** Finish the job of 'lua_pcallk' after it was interrupted by an yield. ** (The caller, 'finishCcall', does the final call to 'adjustresults'.) ** The
lua/src/ldo.c:647
↓ 1 callers
Function
floatforloop
** Execute a step of a float numerical for loop, returning ** true iff the loop must continue. (The integer case is ** written online with opcode OP_F
lua/src/lvm.c:266
↓ 1 callers
Function
forlimit
** Try to convert a 'for' limit to an integer, preserving the semantics ** of the loop. Return true if the loop must not run; otherwise, '*p' ** gets
lua/src/lvm.c:176
↓ 1 callers
Function
forlist
lua/src/lparser.c:1591
↓ 1 callers
Function
fornum
lua/src/lparser.c:1568
↓ 1 callers
Function
forprep
** Prepare a numerical for loop (opcode OP_FORPREP). ** Return true to skip the loop. Otherwise, ** after preparation, stack will be as follows: **
lua/src/lvm.c:206
↓ 1 callers
Function
forstat
lua/src/lparser.c:1619
↓ 1 callers
Function
freeupval
lua/src/lgc.c:757
↓ 1 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
lua/src/lgc.c:1700
↓ 1 callers
Function
funcinfo
lua/src/ldebug.c:256
↓ 1 callers
Function
funcname
lua/src/lparser.c:1767
↓ 1 callers
Function
funcnamefromcode
** Try to find a name for a function based on the code that called it. ** (Only works when function was called by a Lua function.) ** Returns what the
lua/src/ldebug.c:594
↓ 1 callers
Function
funcstat
lua/src/lparser.c:1781
↓ 1 callers
Function
gather_nodes
src/scripts.cpp:284
↓ 1 callers
Function
genQHBases
src/searchthread.cpp:321
↓ 1 callers
Function
genstep
** Does a generational "step". ** Usually, this means doing a minor collection and setting the debt to ** make another collection when memory grows 'g
lua/src/lgc.c:1415
↓ 1 callers
Method
getBiomeName
src/world.cpp:869
↓ 1 callers
Method
getLayerOptions
src/layerdialog.cpp:190
↓ 1 callers
Function
getQHInfo
src/search.cpp:694
↓ 1 callers
Function
getQMInfo
src/search.cpp:748
↓ 1 callers
Method
getSeed
src/formsearchcontrol.cpp:339
↓ 1 callers
Method
getSettings
src/extgendialog.cpp:92
↓ 1 callers
Method
getTileSize
src/config.cpp:292
↓ 1 callers
Function
get_prompt
** Return the string to be used as a prompt by the interpreter. Leave ** the string (or nil, if using the default value) on the stack, to keep ** it a
lua/src/lua.c:450
↓ 1 callers
Function
get_term_width
src/headless.cpp:15
↓ 1 callers
Function
getbaseline
** Get a "base line" to find the line corresponding to an instruction. ** Base lines are regularly placed at MAXIWTHABS intervals, so usually ** an in
lua/src/ldebug.c:60
↓ 1 callers
Function
getbinopr
lua/src/lparser.c:1205
↓ 1 callers
Function
getboolfield
lua/src/loslib.c:243
↓ 1 callers
Function
getformat
** Get a conversion specification and copy it to 'form'. ** Return the address of its last character. */
lua/src/lstrlib.c:1245
← previous
next →
701–800 of 1,749, ranked by callers