Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-golf/code-golf
/ functions
Functions
650 in github.com/code-golf/code-golf
⨍
Functions
650
◇
Types & classes
120
↓ 1 callers
Function
genReversiBoard
(steps int)
hole/reversi.go:131
↓ 1 callers
Function
generateDFA
()
hole/dfa-simulator.go:59
↓ 1 callers
Function
generateNFA
()
hole/nfa-simulator.go:139
↓ 1 callers
Function
generateSequence
()
hole/rot13.go:35
↓ 1 callers
Function
generateTsortTest
guaranteed Hamiltonian path, so the output is unique
hole/topological-sort.go:45
↓ 1 callers
Function
getAllowedStrokes
(lang: string)
assets/js/lang-allowed-strokes.tsx:39
↓ 1 callers
Function
getAutogeneratedTestCases
()
hole/reversi.go:217
↓ 1 callers
Function
getComponentNamesRecursive
(config: RootItemConfig)
assets/js/hole/tabs.tsx:438
↓ 1 callers
Method
getErrorCorrectionBlocks
()
hole/qr.go:40
↓ 1 callers
Function
getGridAutogeneratedTestCases
()
hole/css-grid.go:137
↓ 1 callers
Function
getGridStaticTestCases
()
hole/css-grid.go:114
↓ 1 callers
Function
getHideDeleteBtn
()
assets/js/_hole-common.tsx:335
↓ 1 callers
Function
getHoleLangNotesContent
(lang: string)
assets/js/_hole-common.tsx:47
↓ 1 callers
Function
getLangWikiContent
(lang: string)
assets/js/_hole-common.tsx:24
↓ 1 callers
Function
getLatestTimestamp
(db *sql.DB)
utils/update_sql_from_api.go:62
↓ 1 callers
Function
getLineChanges
(before: string, after: string, ignoreCase: boolean, isArgDiff: boolean)
assets/js/_diff.tsx:250
↓ 1 callers
Function
getPoolFromLayoutConfig
(config: LayoutConfig)
assets/js/hole/tabs.tsx:431
↓ 1 callers
Function
getSavedInDB
()
assets/js/_hole-common.tsx:160
↓ 1 callers
Function
getSolution
()
assets/js/_hole-common.tsx:192
↓ 1 callers
Function
getSolutions
(r *http.Request)
routes/admin_solutions.go:173
↓ 1 callers
Function
getStandardQr
()
hole/qr.go:74
↓ 1 callers
Function
getStaticTestCases
()
hole/reversi.go:191
↓ 1 callers
Function
getUnusedUserID
(userMap map[string]int32)
utils/update_sql_from_api.go:102
↓ 1 callers
Function
getUserMap
(db *sql.DB)
utils/update_sql_from_api.go:75
↓ 1 callers
Function
getUsername
(id int, db *sqlx.DB)
discord/bot.go:110
↓ 1 callers
Function
getViewState
()
assets/js/hole/tabs.tsx:457
↓ 1 callers
Function
handle_result
langs/berry/berry.c:9
↓ 1 callers
Function
hasGroupCounts
Determines whether a partial hand contains the specified number of pairs and melds
hole/mahjong.go:26
↓ 1 callers
Function
highlightCorrectAnswersReversiBoard
(board ReversiBoard)
hole/reversi.go:184
↓ 1 callers
Function
huffmanEncode
(s string)
hole/huffman.go:55
↓ 1 callers
Function
iPow
(a, b int64)
hole/lucky-tickets.go:38
↓ 1 callers
Function
initCheevos
()
config/cheevos.go:31
↓ 1 callers
Function
initHoles
()
config/holes.go:84
↓ 1 callers
Function
initLangs
()
config/langs.go:59
↓ 1 callers
Function
initNav
TODO OnePerRow needs a better name because it also means a single dropdown, maybe something like unified/single namespace.
config/nav.go:33
↓ 1 callers
Function
initRect
(rect *[rectSize][rectSize]byte)
hole/rectangle-fill.go:29
↓ 1 callers
Function
initSettings
()
config/settings.go:20
↓ 1 callers
Function
isSet
(a, b, c string)
hole/set.go:21
↓ 1 callers
Function
isSevenPairs
(tileCounts map[rune]int)
hole/mahjong.go:157
↓ 1 callers
Method
isStandard
()
hole/qr.go:58
↓ 1 callers
Function
itemsDiff
(exp: string, out: string, multisetItemDelimiter: string)
assets/js/_diff.tsx:26
↓ 1 callers
Function
largeFracGen
Generates a fraction with at least one value greater than 15
hole/fractions.go:34
↓ 1 callers
Function
loadLastAnnouncement
(db *sqlx.DB, channelID string)
discord/bot.go:445
↓ 1 callers
Function
logNewRecord
( golfer *Golfer.Golfer, hole *config.Hole, lang *config.Lang, updates []Golfer.RankUpdate, db *sqlx.DB, )
discord/bot.go:340
↓ 1 callers
Function
logOutPOST
POST /log-out
routes/log-out.go:11
↓ 1 callers
Function
makeCols
(isArgDiff: boolean, maxLineNum: number, argv: string[])
assets/js/_diff.tsx:173
↓ 1 callers
Function
makeEditor
(parent: HTMLDivElement)
assets/js/hole/tabs.tsx:148
↓ 1 callers
Function
makeHoleLangNotesEditor
(parent: HTMLDivElement)
assets/js/hole/tabs.tsx:195
↓ 1 callers
Function
mixedCaseToSnakeCase
(s string)
db/db.go:16
↓ 1 callers
Function
mod
(x: number, modulus: number)
assets/js/base.tsx:123
↓ 1 callers
Function
multisetJudge
(caseFold bool)
hole/judges.go:181
↓ 1 callers
Function
mutateDeep
* Mutate the given item recursively to: * - change reorderEnabled (false if isMobile, otherwise true) * - change rows to columns (if isMobile, other
assets/js/hole/tabs.tsx:651
↓ 1 callers
Function
parseGridQuestion
(data string)
hole/css-grid.go:43
↓ 1 callers
Function
parseSubstitutions
()
assets/js/hole/tabs.tsx:266
↓ 1 callers
Function
perimeter
(ai, bi int)
hole/ellipse-perimeters.go:9
↓ 1 callers
Function
play
( ctx context.Context, hole *config.Hole, lang *config.Lang, code string, run *Run, )
hole/play.go:118
↓ 1 callers
Function
printTrail
(s string)
hole/snake.go:40
↓ 1 callers
Function
push_args
langs/berry/berry.c:34
↓ 1 callers
Function
randGrid
()
hole/game-of-life.go:44
↓ 1 callers
Function
randLength
()
hole/huffman.go:18
↓ 1 callers
Function
randStr
(len int)
hole/qr.go:11
↓ 1 callers
Function
randString
(n int)
hole/huffman.go:9
↓ 1 callers
Function
randTrail
(length int)
hole/snake.go:10
↓ 1 callers
Function
randomGET
GET /random
routes/random.go:11
↓ 1 callers
Function
recurseNFA
solve recursively
hole/nfa-simulator.go:115
↓ 1 callers
Function
removePoolItem
(componentType: string)
assets/js/hole/tabs.tsx:581
↓ 1 callers
Function
requestAtResults
(search: string, updateResults: (results: SearchNavResult[]) => void)
assets/js/_search-nav.ts:121
↓ 1 callers
Function
requestResults
(search: string, updateResults: (results: SearchNavResult[]) => void)
assets/js/_search-nav.ts:54
↓ 1 callers
Function
rowCount
(item: ContentItem | undefined)
assets/js/hole/tabs.tsx:723
↓ 1 callers
Function
runCode
( ctx context.Context, hole *config.Hole, lang *config.Lang, code string, run *Run, )
hole/play.go:143
↓ 1 callers
Function
scorePopups
(updates: RankUpdate[])
assets/js/_hole-common.tsx:411
↓ 1 callers
Function
showRun
(run: Run)
assets/js/_hole-common.tsx:633
↓ 1 callers
Function
smallFracGen
Generates a fraction with numerator and denominator both less than 16
hole/fractions.go:22
↓ 1 callers
Function
solveDFA
(g string)
hole/dfa-simulator.go:15
↓ 1 callers
Function
solveGrid
(question GridTestCase)
hole/css-grid.go:88
↓ 1 callers
Function
solveNFA
(test string)
hole/nfa-simulator.go:20
↓ 1 callers
Function
solveNumbrix
(puzzle *[boardSize][boardSize]int)
hole/numbrix.go:262
↓ 1 callers
Function
solveSWGPT
(corpusSanitized string, promptWords map[string]bool)
hole/star-wars-gpt.go:22
↓ 1 callers
Function
sqReduce
(n, d int)
hole/quadratic-formula.go:27
↓ 1 callers
Method
step
()
hole/game-of-life.go:67
↓ 1 callers
Function
sudokuBoard
(fillIn bool)
hole/sudoku.go:119
↓ 1 callers
Function
sumDigits
(number, base int64)
hole/lucky-tickets.go:52
↓ 1 callers
Function
testMakeCode
()
utils/update_sql_from_api.go:48
↓ 1 callers
Function
throttle
(fn: () => void, interval: number)
assets/js/_util.ts:88
↓ 1 callers
Function
tracePath
(dist [height][width]int, ei, ej int)
hole/maze.go:58
↓ 1 callers
Function
upsertNotes
()
assets/js/hole/tabs.tsx:253
↓ 1 callers
Function
wordify
(i int)
hole/spelling-numbers.go:44
↓ 1 callers
Function
writeNode
(sb *strings.Builder, node *Node)
hole/reverse-polish-notation.go:85
Function
API
API adds CORS headers.
middleware/api.go:6
Function
AdminArea
AdminArea enforces that an admin golfer is logged in.
middleware/admin_area.go:10
Function
BenchmarkArabicToRoman
(b *testing.B)
hole/play_test.go:9
Function
BenchmarkArrows
(b *testing.B)
hole/play_test.go:10
Function
BenchmarkISBN
(b *testing.B)
hole/play_test.go:11
Function
BenchmarkList
(b *testing.B)
zone/zone_test.go:5
Function
BenchmarkOrdinalNumbers
(b *testing.B)
hole/play_test.go:12
Function
BenchmarkRomanToArabic
(b *testing.B)
hole/play_test.go:13
Function
BenchmarkSIUnits
(b *testing.B)
hole/play_test.go:15
Function
BenchmarkSet
(b *testing.B)
hole/play_test.go:14
Function
BenchmarkSpellingNumbers
(b *testing.B)
hole/play_test.go:16
Function
BenchmarkSudoku
(b *testing.B)
hole/play_test.go:17
← previous
next →
301–400 of 650, ranked by callers