MCPcopy Create free account

hub / github.com/code-golf/code-golf / functions

Functions650 in github.com/code-golf/code-golf

↓ 1 callersFunctiongenReversiBoard
(steps int)
hole/reversi.go:131
↓ 1 callersFunctiongenerateDFA
()
hole/dfa-simulator.go:59
↓ 1 callersFunctiongenerateNFA
()
hole/nfa-simulator.go:139
↓ 1 callersFunctiongenerateSequence
()
hole/rot13.go:35
↓ 1 callersFunctiongenerateTsortTest
guaranteed Hamiltonian path, so the output is unique
hole/topological-sort.go:45
↓ 1 callersFunctiongetAllowedStrokes
(lang: string)
assets/js/lang-allowed-strokes.tsx:39
↓ 1 callersFunctiongetAutogeneratedTestCases
()
hole/reversi.go:217
↓ 1 callersFunctiongetComponentNamesRecursive
(config: RootItemConfig)
assets/js/hole/tabs.tsx:438
↓ 1 callersMethodgetErrorCorrectionBlocks
()
hole/qr.go:40
↓ 1 callersFunctiongetGridAutogeneratedTestCases
()
hole/css-grid.go:137
↓ 1 callersFunctiongetGridStaticTestCases
()
hole/css-grid.go:114
↓ 1 callersFunctiongetHideDeleteBtn
()
assets/js/_hole-common.tsx:335
↓ 1 callersFunctiongetHoleLangNotesContent
(lang: string)
assets/js/_hole-common.tsx:47
↓ 1 callersFunctiongetLangWikiContent
(lang: string)
assets/js/_hole-common.tsx:24
↓ 1 callersFunctiongetLatestTimestamp
(db *sql.DB)
utils/update_sql_from_api.go:62
↓ 1 callersFunctiongetLineChanges
(before: string, after: string, ignoreCase: boolean, isArgDiff: boolean)
assets/js/_diff.tsx:250
↓ 1 callersFunctiongetPoolFromLayoutConfig
(config: LayoutConfig)
assets/js/hole/tabs.tsx:431
↓ 1 callersFunctiongetSavedInDB
()
assets/js/_hole-common.tsx:160
↓ 1 callersFunctiongetSolution
()
assets/js/_hole-common.tsx:192
↓ 1 callersFunctiongetSolutions
(r *http.Request)
routes/admin_solutions.go:173
↓ 1 callersFunctiongetStandardQr
()
hole/qr.go:74
↓ 1 callersFunctiongetStaticTestCases
()
hole/reversi.go:191
↓ 1 callersFunctiongetUnusedUserID
(userMap map[string]int32)
utils/update_sql_from_api.go:102
↓ 1 callersFunctiongetUserMap
(db *sql.DB)
utils/update_sql_from_api.go:75
↓ 1 callersFunctiongetUsername
(id int, db *sqlx.DB)
discord/bot.go:110
↓ 1 callersFunctiongetViewState
()
assets/js/hole/tabs.tsx:457
↓ 1 callersFunctionhandle_result
langs/berry/berry.c:9
↓ 1 callersFunctionhasGroupCounts
Determines whether a partial hand contains the specified number of pairs and melds
hole/mahjong.go:26
↓ 1 callersFunctionhighlightCorrectAnswersReversiBoard
(board ReversiBoard)
hole/reversi.go:184
↓ 1 callersFunctionhuffmanEncode
(s string)
hole/huffman.go:55
↓ 1 callersFunctioniPow
(a, b int64)
hole/lucky-tickets.go:38
↓ 1 callersFunctioninitCheevos
()
config/cheevos.go:31
↓ 1 callersFunctioninitHoles
()
config/holes.go:84
↓ 1 callersFunctioninitLangs
()
config/langs.go:59
↓ 1 callersFunctioninitNav
TODO OnePerRow needs a better name because it also means a single dropdown, maybe something like unified/single namespace.
config/nav.go:33
↓ 1 callersFunctioninitRect
(rect *[rectSize][rectSize]byte)
hole/rectangle-fill.go:29
↓ 1 callersFunctioninitSettings
()
config/settings.go:20
↓ 1 callersFunctionisSet
(a, b, c string)
hole/set.go:21
↓ 1 callersFunctionisSevenPairs
(tileCounts map[rune]int)
hole/mahjong.go:157
↓ 1 callersMethodisStandard
()
hole/qr.go:58
↓ 1 callersFunctionitemsDiff
(exp: string, out: string, multisetItemDelimiter: string)
assets/js/_diff.tsx:26
↓ 1 callersFunctionlargeFracGen
Generates a fraction with at least one value greater than 15
hole/fractions.go:34
↓ 1 callersFunctionloadLastAnnouncement
(db *sqlx.DB, channelID string)
discord/bot.go:445
↓ 1 callersFunctionlogNewRecord
( golfer *Golfer.Golfer, hole *config.Hole, lang *config.Lang, updates []Golfer.RankUpdate, db *sqlx.DB, )
discord/bot.go:340
↓ 1 callersFunctionlogOutPOST
POST /log-out
routes/log-out.go:11
↓ 1 callersFunctionmakeCols
(isArgDiff: boolean, maxLineNum: number, argv: string[])
assets/js/_diff.tsx:173
↓ 1 callersFunctionmakeEditor
(parent: HTMLDivElement)
assets/js/hole/tabs.tsx:148
↓ 1 callersFunctionmakeHoleLangNotesEditor
(parent: HTMLDivElement)
assets/js/hole/tabs.tsx:195
↓ 1 callersFunctionmixedCaseToSnakeCase
(s string)
db/db.go:16
↓ 1 callersFunctionmod
(x: number, modulus: number)
assets/js/base.tsx:123
↓ 1 callersFunctionmultisetJudge
(caseFold bool)
hole/judges.go:181
↓ 1 callersFunctionmutateDeep
* 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 callersFunctionparseGridQuestion
(data string)
hole/css-grid.go:43
↓ 1 callersFunctionparseSubstitutions
()
assets/js/hole/tabs.tsx:266
↓ 1 callersFunctionperimeter
(ai, bi int)
hole/ellipse-perimeters.go:9
↓ 1 callersFunctionplay
( ctx context.Context, hole *config.Hole, lang *config.Lang, code string, run *Run, )
hole/play.go:118
↓ 1 callersFunctionprintTrail
(s string)
hole/snake.go:40
↓ 1 callersFunctionpush_args
langs/berry/berry.c:34
↓ 1 callersFunctionrandGrid
()
hole/game-of-life.go:44
↓ 1 callersFunctionrandLength
()
hole/huffman.go:18
↓ 1 callersFunctionrandStr
(len int)
hole/qr.go:11
↓ 1 callersFunctionrandString
(n int)
hole/huffman.go:9
↓ 1 callersFunctionrandTrail
(length int)
hole/snake.go:10
↓ 1 callersFunctionrandomGET
GET /random
routes/random.go:11
↓ 1 callersFunctionrecurseNFA
solve recursively
hole/nfa-simulator.go:115
↓ 1 callersFunctionremovePoolItem
(componentType: string)
assets/js/hole/tabs.tsx:581
↓ 1 callersFunctionrequestAtResults
(search: string, updateResults: (results: SearchNavResult[]) => void)
assets/js/_search-nav.ts:121
↓ 1 callersFunctionrequestResults
(search: string, updateResults: (results: SearchNavResult[]) => void)
assets/js/_search-nav.ts:54
↓ 1 callersFunctionrowCount
(item: ContentItem | undefined)
assets/js/hole/tabs.tsx:723
↓ 1 callersFunctionrunCode
( ctx context.Context, hole *config.Hole, lang *config.Lang, code string, run *Run, )
hole/play.go:143
↓ 1 callersFunctionscorePopups
(updates: RankUpdate[])
assets/js/_hole-common.tsx:411
↓ 1 callersFunctionshowRun
(run: Run)
assets/js/_hole-common.tsx:633
↓ 1 callersFunctionsmallFracGen
Generates a fraction with numerator and denominator both less than 16
hole/fractions.go:22
↓ 1 callersFunctionsolveDFA
(g string)
hole/dfa-simulator.go:15
↓ 1 callersFunctionsolveGrid
(question GridTestCase)
hole/css-grid.go:88
↓ 1 callersFunctionsolveNFA
(test string)
hole/nfa-simulator.go:20
↓ 1 callersFunctionsolveNumbrix
(puzzle *[boardSize][boardSize]int)
hole/numbrix.go:262
↓ 1 callersFunctionsolveSWGPT
(corpusSanitized string, promptWords map[string]bool)
hole/star-wars-gpt.go:22
↓ 1 callersFunctionsqReduce
(n, d int)
hole/quadratic-formula.go:27
↓ 1 callersMethodstep
()
hole/game-of-life.go:67
↓ 1 callersFunctionsudokuBoard
(fillIn bool)
hole/sudoku.go:119
↓ 1 callersFunctionsumDigits
(number, base int64)
hole/lucky-tickets.go:52
↓ 1 callersFunctiontestMakeCode
()
utils/update_sql_from_api.go:48
↓ 1 callersFunctionthrottle
(fn: () => void, interval: number)
assets/js/_util.ts:88
↓ 1 callersFunctiontracePath
(dist [height][width]int, ei, ej int)
hole/maze.go:58
↓ 1 callersFunctionupsertNotes
()
assets/js/hole/tabs.tsx:253
↓ 1 callersFunctionwordify
(i int)
hole/spelling-numbers.go:44
↓ 1 callersFunctionwriteNode
(sb *strings.Builder, node *Node)
hole/reverse-polish-notation.go:85
FunctionAPI
API adds CORS headers.
middleware/api.go:6
FunctionAdminArea
AdminArea enforces that an admin golfer is logged in.
middleware/admin_area.go:10
FunctionBenchmarkArabicToRoman
(b *testing.B)
hole/play_test.go:9
FunctionBenchmarkArrows
(b *testing.B)
hole/play_test.go:10
FunctionBenchmarkISBN
(b *testing.B)
hole/play_test.go:11
FunctionBenchmarkList
(b *testing.B)
zone/zone_test.go:5
FunctionBenchmarkOrdinalNumbers
(b *testing.B)
hole/play_test.go:12
FunctionBenchmarkRomanToArabic
(b *testing.B)
hole/play_test.go:13
FunctionBenchmarkSIUnits
(b *testing.B)
hole/play_test.go:15
FunctionBenchmarkSet
(b *testing.B)
hole/play_test.go:14
FunctionBenchmarkSpellingNumbers
(b *testing.B)
hole/play_test.go:16
FunctionBenchmarkSudoku
(b *testing.B)
hole/play_test.go:17
← previousnext →301–400 of 650, ranked by callers