MCPcopy Create free account

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

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

FunctionBenchmarkSudokuFillIn
(b *testing.B)
hole/play_test.go:18
FunctionDowntime
Downtime serves a 503 Service Unavailable.
middleware/downtime.go:14
FunctionDuration
Duration returns a HTML <time> tag of a time.Duration in milliseconds.
pretty/pretty.go:44
MethodEnterNestedPrompt
()
langs/powershell/powershell.cs:115
MethodExitNestedPrompt
()
langs/powershell/powershell.cs:119
MethodFlushInputBuffer
()
langs/powershell/powershell.cs:214
MethodGetBufferContents
(Rectangle rectangle)
langs/powershell/powershell.cs:218
MethodGetContext
(context.Context, any, string, ...any)
db/db.go:36
FunctionGolfer
Golfer adds the golfer to the context if logged in.
middleware/golfer.go:13
FunctionGolferArea
GolferArea enforces that a golfer is logged in.
middleware/golfer_area.go:11
FunctionGolferInfo
GolferInfo adds the GolferInfo object handle to the context.
middleware/golfer_info.go:11
MethodIsFollowing
IsFollowing returns whether the golfer is following that golfer. FIXME Ideally we'd scan into a []int not a []int64 but pq won't.
golfer/golfer.go:137
MethodIsHiding
IsHiding returns whether the golfer is following that golfer. FIXME Ideally we'd scan into a []int not a []int64 but pq won't.
golfer/golfer.go:144
MethodLess
(i, j int)
hole/huffman.go:38
FunctionLogFailedRejudge
(golfer *Golfer.Golfer, hole *config.Hole, lang *config.Lang, scoring string)
discord/bot.go:317
FunctionLogger
Logger logs each request.
middleware/logger.go:33
MethodMain
(string[] args)
langs/powershell/powershell.cs:10
MethodMarshalJSON
()
null/null.go:26
MethodMustExecContext
(context.Context, string, ...any)
db/db.go:38
MethodNamedExec
(string, any)
db/db.go:39
MethodNamedExecContext
(context.Context, string, any)
db/db.go:40
MethodNamedQuery
(string, any)
db/db.go:41
MethodNotifyBeginApplication
()
langs/powershell/powershell.cs:123
MethodNotifyEndApplication
()
langs/powershell/powershell.cs:127
MethodPopulatePath
(r *http.Request)
config/nav.go:165
MethodPrepareNamedContext
(context.Context, string)
db/db.go:43
MethodPreparex
(string)
db/db.go:44
MethodPreparexContext
(context.Context, string)
db/db.go:45
MethodPrompt
(string caption, string message, Collection<FieldDescription> descriptions)
langs/powershell/powershell.cs:141
MethodPromptForChoice
(string caption, string message, Collection<ChoiceDescription> choices, int defaultChoice)
langs/powershell/powershell.cs:146
MethodPromptForCredential
(string caption, string message, string userName, string targetName)
langs/powershell/powershell.cs:151
MethodReadKey
(ReadKeyOptions options)
langs/powershell/powershell.cs:223
MethodReadLine
()
langs/powershell/powershell.cs:161
MethodReadLineAsSecureString
()
langs/powershell/powershell.cs:166
FunctionRedirHolesLangs
RedirHolesLangs redirects old values for {hole} and {lang}.
middleware/redir_holes_langs.go:11
MethodScan
(src any)
golfer/golfer.go:99
MethodScan
(src any)
config/sql.go:14
MethodScan
(src any)
config/sql.go:15
MethodScan
(src any)
config/sql.go:17
MethodScan
(src any)
config/sql.go:19
MethodScan
(src any)
config/sql.go:20
MethodScan
(src any)
config/sql.go:21
MethodScrollBufferContents
(Rectangle source, Coordinates destination, Rectangle clip, BufferCell fill)
langs/powershell/powershell.cs:228
FunctionSession
Session creates the session and stores it in the request context.
middleware/session.go:10
MethodSetBufferContents
(Coordinates origin, BufferCell[,] contents)
langs/powershell/powershell.cs:233
MethodSetShouldExit
(int exitCode)
langs/powershell/powershell.cs:131
FunctionSettings
Settings adds the page settings into the context.
middleware/settings.go:12
FunctionStatic
Static serves static files from public.
middleware/static.go:26
MethodSwap
(i, j int)
hole/huffman.go:44
FunctionTestBanners
(t *testing.T)
routes/banner_test.go:13
FunctionTestBytes
(t *testing.T)
pretty/pretty_test.go:11
FunctionTestCallbackGETNoCode
(t *testing.T)
routes/callback_test.go:11
FunctionTestComma
(t *testing.T)
pretty/pretty_test.go:25
FunctionTestEarn
(t *testing.T)
golfer/golfer_test.go:12
FunctionTestHoleReleasedStable
(t *testing.T)
config/holes_test.go:35
FunctionTestHoleSynopses
(t *testing.T)
config/holes_test.go:10
FunctionTestID
(t *testing.T)
config/config_test.go:5
FunctionTestLogOutGET
(t *testing.T)
routes/log-out_test.go:11
FunctionTestMixedCaseToSnakeCase
(t *testing.T)
db/db_test.go:5
FunctionTestNextHolesReleased
(t *testing.T)
config/holes_test.go:27
FunctionTestNullIfEmpty
(t *testing.T)
null/null_test.go:5
FunctionTestOrdinal
(t *testing.T)
pretty/pretty_test.go:42
FunctionTestPage
(t *testing.T)
pager/pager_test.go:9
FunctionTestRandomGET
(t *testing.T)
routes/random_test.go:11
FunctionTestThisWeek
(t *testing.T)
config/hole_of_the_week_test.go:11
FunctionTestTime
(t *testing.T)
pretty/pretty_test.go:65
MethodUnmarshalJSON
(data []byte)
null/null.go:34
MethodUnmarshalJSONFrom
(dec *jsontext.Decoder)
ordered/ordered.go:15
MethodUnmarshalText
(b []byte)
config/sql.go:23
MethodUnmarshalText
(b []byte)
config/sql.go:24
MethodValue
()
golfer/golfer.go:176
MethodValue
()
golfer/golfer.go:180
MethodValue
()
config/sql.go:26
MethodValue
()
config/sql.go:27
MethodValue
()
config/sql.go:28
MethodWriteDebugLine
(string message)
langs/powershell/powershell.cs:181
MethodWriteErrorLine
(string value)
langs/powershell/powershell.cs:186
MethodWriteProgress
(long sourceId, ProgressRecord record)
langs/powershell/powershell.cs:196
MethodWriteVerboseLine
(string message)
langs/powershell/powershell.cs:200
MethodWriteWarningLine
(string message)
langs/powershell/powershell.cs:205
FunctionaboutGET
GET /about
routes/about.go:12
FunctionaddRow
* Add the first element from the pool to the root column, or create a new * column containing the root and the first pool element if non exist.
assets/js/hole/tabs.tsx:512
FunctionadminBannerPOST
POST /banners/{banner}
routes/admin_banners.go:39
FunctionadminBannersGET
GET /admin/banners
routes/admin_banners.go:11
FunctionadminGET
GET /admin
routes/admin.go:14
FunctionadminSolutionGET
GET /admin/solutions/{hole}/{lang}/{golferID}
routes/admin_solutions.go:157
FunctionadminSolutionsGET
GET /admin/solutions
routes/admin_solutions.go:36
FunctionadminSolutionsRunGET
GET /admin/solutions/run
routes/admin_solutions.go:57
FunctionapiCheevoGET
GET /api/cheevos/{cheevo}
routes/api.go:37
FunctionapiCheevosGET
GET /api/cheevos
routes/api.go:32
FunctionapiGET
GET /api, text/plain rather that YML content types to render in browser.
routes/api.go:26
FunctionapiGolferBadgeGET
GET /api/golfers/{name}/badges/{metric}
routes/badge.go:104
FunctionapiGolferGET
GET /api/golfers/{golfer}
routes/api.go:42
FunctionapiHoleGET
GET /api/langs/{lang}
routes/api.go:75
FunctionapiHolesGET
GET /api/holes
routes/api.go:70
FunctionapiLangGET
GET /api/langs/{lang}
routes/api.go:85
FunctionapiLangsGET
GET /api/langs
routes/api.go:80
FunctionapiMiniRankingsGET
GET /mini-rankings/{hole}/{lang}/{scoring:bytes|chars}/{view:top|me|following}
routes/legacy_api.go:343
FunctionapiNoteDELETE
DELETE /api/notes/{hole}/{lang}
routes/api.go:109
FunctionapiNoteGET
GET /api/notes/{hole}/{lang}
routes/api.go:129
← previousnext →401–500 of 650, ranked by callers