MCPcopy Create free account

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

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

↓ 2 callersFunctionpangramGrepTests
(l, r int)
hole/pangram-grep.go:16
↓ 2 callersFunctionparseTime
(s string)
config/hole_of_the_week_test.go:31
↓ 2 callersFunctionperOutputJudge
Creates a judge by treating an output as a sequence of delimited outputs, each corresponding to a respective input. The final expected output length's
hole/judges.go:28
↓ 2 callersFunctionpopulateHolesLangsTables
(db *sqlx.DB)
main.go:184
↓ 2 callersFunctionpopulateScores
(editor: any)
assets/js/_hole-common.tsx:768
↓ 2 callersFunctionprintSudoku
(board [boardSize][boardSize]int)
hole/sudoku.go:15
↓ 2 callersFunctionqr
(decoder bool)
hole/qr.go:114
↓ 2 callersFunctionrandReplacements
Randomly create splits and fouls to make it more interesting.
hole/ten-pin-bowling.go:35
↓ 2 callersMethodrandomDate
(hour int)
hole/zodiac-signs.go:41
↓ 2 callersFunctionremoveDragSource
(componentType: string)
assets/js/hole/tabs.tsx:599
↓ 2 callersFunctionrenderCharDiff
(className: string, charDiff: Diff.Change[], isRight: boolean)
assets/js/_diff.tsx:388
↓ 2 callersFunctionrepeatingDecimalsTest
(p, q int)
hole/repeating-decimals.go:31
↓ 2 callersFunctionreverseBytes
(s []byte)
hole/p-adic-expansion.go:5
↓ 2 callersFunctionsaveLastAnnouncement
(announce *RecAnnouncement, db *sqlx.DB)
discord/bot.go:471
↓ 2 callersFunctionscrambledSortTest
(alphabet []byte, words []string)
hole/scrambled-sort.go:47
↓ 2 callersFunctionsetCode
(code: string, editor: EditorView | null)
assets/js/_hole-common.tsx:216
↓ 2 callersFunctionsmoothOutput
(n, k int)
hole/smooth-numbers.go:35
↓ 2 callersFunctionsolveSudoku
(board *[boardSize][boardSize]int, cell int, count *int)
hole/sudoku.go:52
↓ 2 callersFunctionstraightCheck
(numbers []int)
hole/poker.go:36
↓ 2 callersFunctionstrokeLen
(str: string, allowedStrokes: Set<number>)
assets/js/_util.ts:49
↓ 2 callersFunctionsudoku
(fillIn bool)
hole/sudoku.go:174
↓ 2 callersMethodtoString
()
hole/game-of-life.go:86
↓ 2 callersFunctiontoggleMobile
(_isMobile: boolean)
assets/js/hole/tabs.tsx:661
↓ 2 callersFunctiontooltip
(row: any, scoring: 'Bytes' | 'Chars')
assets/js/_hole-common.tsx:339
↓ 2 callersFunctiontranspose
(s string)
hole/transpose-sentence.go:31
↓ 2 callersFunctiontrimPerLine
(bytesSlice []byte)
hole/play.go:39
↓ 2 callersFunctiontsort
does not support isolated nodes cycles are insurmountable obstructions
hole/topological-sort.go:12
↓ 2 callersFunctionunbox
compute bottom-right (br) bbox coordinates
hole/intersection.go:16
↓ 2 callersFunctionupdateHoleLangNotesContent
()
assets/js/hole/tabs.tsx:106
↓ 2 callersFunctionupdateLangPicker
()
assets/js/_hole-common.tsx:222
↓ 2 callersFunctionupdateLocalStorage
(code: string)
assets/js/_hole-common.tsx:710
↓ 2 callersFunctionupdateMobileContainerHeight
()
assets/js/hole/tabs.tsx:733
↓ 2 callersFunctionupdateReadonlyPanel
(name: string)
assets/js/hole/tabs.tsx:72
↓ 2 callersFunctionupdateUsernamesBatch
(db *sqlx.DB, ids []string)
github/update_usernames.go:55
↓ 2 callersFunctionupdateWikiContent
()
assets/js/hole/tabs.tsx:99
↓ 1 callersFunctionAll
(ts []T, pred func(T) bool)
hole/css-grid.go:79
↓ 1 callersFunctionAwardRoles
AwardRoles awards Discord roles based on cheevos etc.
discord/bot.go:236
↓ 1 callersFunctionBytes
Bytes returns a string of integer bytes formatted as B/KiB/MiB/GiB.
pretty/pretty.go:17
↓ 1 callersFunctionCreate
(r *http.Request)
session/session.go:20
↓ 1 callersFunctionDatabase
Database adds the database handle to the context.
middleware/database.go:11
↓ 1 callersMethodEarned
Earned returns whether the golfer has that cheevo.
golfer/golfer.go:122
↓ 1 callersMethodFromFormValue
(value string)
config/settings.go:73
↓ 1 callersFunctionGet
Get a Golfer given a session ID, updates the session's last used time.
golfer/get.go:13
↓ 1 callersFunctionLogNewRecord
LogNewRecord logs a record breaking solution in Discord.
discord/bot.go:332
↓ 1 callersFunctionOpen
Open a connection pool to the Database.
db/db.go:21
↓ 1 callersFunctionPopulateHolesOfTheWeek
(db db.Queryable)
config/hole_of_the_week.go:47
↓ 1 callersMethodScan
(src any)
config/sql.go:16
↓ 1 callersMethodSponsorOrAdmin
()
golfer/golfer.go:174
↓ 1 callersMethodString
()
hole/quadratic-formula.go:77
↓ 1 callersFunctionTitle
(s string)
pretty/pretty.go:166
↓ 1 callersFunctionUpdateHoleOfTheWeekTopic
()
discord/bot.go:489
↓ 1 callersFunctionWalkObject
(JsonObject obj)
langs/f-sharp/trimmer.cs:48
↓ 1 callersFunctionWiki
TODO Make our own minimal wiki that doesn't use GitHub. Reward contrib.
github/wiki.go:20
↓ 1 callersFunction_getLangWikiContent
(lang: string)
assets/js/_hole-common.tsx:30
↓ 1 callersFunctionabs
(i int)
zone/zone.go:69
↓ 1 callersFunctionaddItemFromPool
* Try to add after selected item, with sensible defaults
assets/js/hole/tabs.tsx:501
↓ 1 callersFunctionaddPoolItem
(componentType: string)
assets/js/hole/tabs.tsx:560
↓ 1 callersFunctionapplyInitialLayout
()
assets/js/hole/tabs.tsx:472
↓ 1 callersFunctionavatar
(rawURL: string, size: number)
assets/js/_util.ts:37
↓ 1 callersFunctionbadgeSVG
(label, value, color string)
routes/badge.go:126
↓ 1 callersFunctioncalendar
(month, year int)
hole/calendar.go:10
↓ 1 callersFunctioncallbackGET
GET /callback
routes/callback.go:28
↓ 1 callersMethodcheckDirection
(row, col, dr, dc, player int)
hole/connect-four.go:29
↓ 1 callersFunctioncheckMobile
()
assets/js/hole/tabs.tsx:682
↓ 1 callersMethodcheckWinner
(player int)
hole/connect-four.go:43
↓ 1 callersFunctionclosestNumbrixMatch
closestNumbrixMatch tries to build a valid Numbrix solution that overlaps with userGrid by preferring the user's chosen positions for each number (wit
hole/numbrix.go:147
↓ 1 callersFunctioncomputeZeckendorf
(n int32)
hole/zeckendorf-representation.go:10
↓ 1 callersFunctionconvertNotesAndRun
()
assets/js/hole/tabs.tsx:276
↓ 1 callersFunctioncookie
(r *http.Request, name string)
routes/util.go:9
↓ 1 callersFunctioncopy_file
langs/go/go.c:72
↓ 1 callersFunctioncopy_file
langs/gleam/gleam.c:75
↓ 1 callersFunctioncopy_folder
langs/go/go.c:96
↓ 1 callersFunctioncopy_folder
langs/gleam/gleam.c:99
↓ 1 callersFunctiondebounce
(func: () => void, timeout = 500)
assets/js/_util.ts:109
↓ 1 callersFunctiondebounce
(func: Function, timeout = 500)
assets/js/_search-nav.ts:143
↓ 1 callersFunctiondefaultJudge
(run Run)
hole/judges.go:15
↓ 1 callersFunctiondelinkRankingsView
()
assets/js/hole/tabs.tsx:326
↓ 1 callersFunctiondiamondPopups
(updates: RankUpdate[], experimental: boolean)
assets/js/_hole-common.tsx:501
↓ 1 callersFunctiondiffHTMLRows
(hole: string, exp: string, out: string, argv: string[], ignoreCase: boolean, isArgDiff: boolean)
assets/js/_diff.tsx:198
↓ 1 callersFunctiondig
http://weblog.jamisbuck.org/2010/12/27/maze-generation-recursive-backtracking
hole/maze.go:24
↓ 1 callersMethoddropDisc
(col, player int)
hole/connect-four.go:17
↓ 1 callersFunctioneach_join
Based on the original Bash implementation: https://stackoverflow.com/a/17841619/7481517
langs/tex/tex.c:153
↓ 1 callersMethodedgeDate
(hour int)
hole/zodiac-signs.go:45
↓ 1 callersFunctionemulPlay
()
hole/connect-four.go:61
↓ 1 callersFunctionencodeDecodeSequence
(s string)
hole/rot13.go:45
↓ 1 callersFunctionfillRect
(rect [rectSize][rectSize]byte)
hole/rectangle-fill.go:71
↓ 1 callersFunctionfindExit
(dist [height][width]int)
hole/maze.go:41
↓ 1 callersFunctionfirstDifference
(left: string[], right: string[], ignoreCase: boolean)
assets/js/_diff.tsx:164
↓ 1 callersFunctionformatDistance
(secs int)
hole/time-distance.go:19
↓ 1 callersFunctionformatGridQuestion
(board GridTestCase)
hole/css-grid.go:61
↓ 1 callersFunctionformatGridSolution
(solution GridSolution)
hole/css-grid.go:19
↓ 1 callersFunctiongenGridTestCase
()
hole/css-grid.go:122
↓ 1 callersFunctiongenInvalidHand
(mutationCount int)
hole/mahjong.go:131
↓ 1 callersFunctiongenNotes
(rootIdx int, rootNote string, steps [2]int)
hole/musical-chords.go:44
↓ 1 callersFunctiongenQr
(content string)
hole/qr.go:52
↓ 1 callersFunctiongenRandomSequence
()
hole/mahjong.go:78
↓ 1 callersFunctiongenRandomSevenPairs
()
hole/mahjong.go:102
↓ 1 callersFunctiongenRandomStandardHand
()
hole/mahjong.go:84
↓ 1 callersFunctiongenRandomThirteenOrphans
()
hole/mahjong.go:115
↓ 1 callersFunctiongenRandomTriplet
()
hole/mahjong.go:73
← previousnext →201–300 of 650, ranked by callers