MCPcopy Create free account

hub / github.com/RezaSi/go-interview-practice / functions

Functions12,886 in github.com/RezaSi/go-interview-practice

MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/YounesBouchbouk/solution-template.go:54
MethodGetValue
(ctx context.Context, key interface{})
challenge-30/submissions/ForcemCS/solution-template.go:14
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/ForcemCS/solution-template.go:43
MethodGetValue
Get a value from context
challenge-30/submissions/mvsouza/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/mvsouza/solution-template.go:54
MethodGetValue
Get a value from context
challenge-30/submissions/Ali-Fartoot/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/Ali-Fartoot/solution-template.go:62
MethodGetValue
Get a value from context
challenge-30/submissions/mick4711/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/mick4711/solution-template.go:54
MethodGetValue
Get a value from context
challenge-30/submissions/PolinaSvet/solution-template.go:23
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/PolinaSvet/solution-template.go:62
MethodGetValue
Get a value from context
challenge-30/submissions/y1hao/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/y1hao/solution-template.go:54
MethodGetValue
Get a value from context
challenge-30/submissions/cep-ter/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/cep-ter/solution-template.go:60
MethodGetValue
Get a value from context
challenge-30/submissions/xyersh/solution-template.go:22
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/xyersh/solution-template.go:55
MethodGetValue
Get a value from context
challenge-30/submissions/MaryNfs/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/MaryNfs/solution-template.go:57
MethodGetValue
Get a value from context
challenge-30/submissions/berkkaradalan/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/berkkaradalan/solution-template.go:54
MethodGetValue
Get a value from context
challenge-30/submissions/muhammedkucukaslan/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/muhammedkucukaslan/solution-template.go:55
MethodGetValue
Get a value from context
challenge-30/submissions/PureTeamLead/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/PureTeamLead/solution-template.go:61
MethodGetValue
Get a value from context
challenge-30/submissions/ImHotDog/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/ImHotDog/solution-template.go:60
MethodGetValue
Get a value from context
challenge-30/submissions/ashwinipatankar/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/ashwinipatankar/solution-template.go:60
MethodGetValue
Get a value from context
challenge-30/submissions/KhaledMosaad/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/KhaledMosaad/solution-template.go:63
MethodGetValue
Get a value from context
challenge-30/submissions/Onkar-25/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/Onkar-25/solution-template.go:63
MethodGetValue
Get a value from context
challenge-30/submissions/nzamulov/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/nzamulov/solution-template.go:54
MethodGetValue
Get a value from context
challenge-30/submissions/Gandook/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/Gandook/solution-template.go:54
MethodGetValue
Get a value from context
challenge-30/submissions/JackDalberg/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/JackDalberg/solution-template.go:60
MethodGetValue
Get a value from context
challenge-30/submissions/hrabkin/solution-template.go:21
MethodGetValue
GetValue retrieves a value from the context
challenge-30/submissions/hrabkin/solution-template.go:60
MethodGitHubWebhookHandler
GitHubWebhookHandler handles GitHub sponsor webhooks
web-ui/internal/handlers/api.go:1226
MethodHandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/odelbos/solution-template.go:158
MethodHandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/Kosench/solution-template.go:185
MethodHandleAuthorize
HandleAuthorize handles GET requests to the OAuth2 authorization endpoint. On success it issues a short-lived authorization code and 302-redirects the
challenge-15/submissions/PopovMarko/solution-template.go:235
MethodHandleAuthorize
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/imankhodadi/solution-template.go:149
MethodHandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/mvsouza/solution-template.go:202
MethodHandleAuthorize
HandleAuthorize
challenge-15/submissions/PolinaSvet/solution-template.go:376
MethodHandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/nzamulov/solution-template.go:160
MethodHandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/Cpoing/solution-template.go:168
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/solution-template.go:94
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/odelbos/solution-template.go:211
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/Kosench/solution-template.go:354
MethodHandleBooks
HandleBooks processes the book-related endpoints Transport layer
challenge-9/submissions/PopovMarko/solution-template.go:408
MethodHandleBooks
this function signature is part of the assignment signature and cannot be deleted
challenge-9/submissions/imankhodadi/solution-template.go:374
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/nosrio/solution-template.go:393
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/mvsouza/solution-template.go:306
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/mick4711/solution-template.go:234
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/ne0phyte/solution-template.go:199
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/PolinaSvet/solution-template.go:390
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/brenoamin/solution-template.go:202
MethodHandleBooks
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/kushalShukla-web/solution-template.go:198
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/ashwinipatankar/solution-template.go:229
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/nzamulov/solution-template.go:191
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/Cpoing/solution-template.go:224
MethodHandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/Gandook/solution-template.go:210
MethodHandlePackageChallenge
HandlePackageChallenge handles package challenge test and submit requests
web-ui/internal/handlers/api.go:821
MethodHandleSubmissions
HandleSubmissions handles submission operations
web-ui/internal/handlers/api.go:223
MethodHandleToken
HandleToken handles the token endpoint
challenge-15/submissions/odelbos/solution-template.go:253
MethodHandleToken
HandleToken handles the token endpoint This is where the authorization code is exchanged for tokens Or the access token is refreshed using a refresh t
challenge-15/submissions/Kosench/solution-template.go:333
MethodHandleToken
HandleToken handles POST requests to the OAuth2 token endpoint. It dispatches by grant_type to either the authorization_code or refresh_token flow. Th
challenge-15/submissions/PopovMarko/solution-template.go:392
MethodHandleToken
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/imankhodadi/solution-template.go:256
MethodHandleToken
HandleToken handles the token endpoint
challenge-15/submissions/mvsouza/solution-template.go:282
MethodHandleToken
HandleToken
challenge-15/submissions/PolinaSvet/solution-template.go:484
MethodHandleToken
HandleToken handles the token endpoint
challenge-15/submissions/nzamulov/solution-template.go:251
MethodHandleToken
HandleToken handles the token endpoint
challenge-15/submissions/Cpoing/solution-template.go:254
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/odelbos/solution-template.go:132
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/Kosench/solution-template.go:119
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions
challenge-16/submissions/PopovMarko/solution-template.go:99
FunctionHighAllocationSearch
(text, substr string)
challenge-16/submissions/Hikitak/solution-template.go:88
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/manik23/solution-template.go:188
FunctionHighAllocationSearch
(text, substr string)
challenge-16/submissions/imankhodadi/solution-template.go:83
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/YounesBouchbouk/solution-template.go:136
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions
challenge-16/submissions/mvsouza/solution-template.go:125
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/Ali-Fartoot/solution-template.go:128
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions
challenge-16/submissions/mick4711/solution-template.go:199
FunctionHighAllocationSearch
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkHighAllocationSearch$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/y1hao/solution-template.go:231
FunctionHighAllocationSearch
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkHighAllocationSearch$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/AkifhanIlgaz/solution-template.go:231
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/awsl1110/solution-template.go:111
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/nzamulov/solution-template.go:113
FunctionHighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/kuzminprog/solution-template.go:108
MethodHitRate
()
challenge-28/solution-template.go:15
MethodHitRate
()
challenge-28/solution-template.go:122
MethodHitRate
()
challenge-28/solution-template.go:172
MethodHitRate
()
challenge-28/submissions/odelbos/solution-template.go:17
MethodHitRate
()
challenge-28/submissions/odelbos/solution-template.go:117
MethodHitRate
()
challenge-28/submissions/odelbos/solution-template.go:213
MethodHitRate
()
challenge-28/submissions/odelbos/solution-template.go:342
MethodHitRate
()
challenge-28/submissions/odelbos/solution-template.go:403
MethodHitRate
HitRate returns the cache hit rate as a float between 0 and 1.
challenge-28/submissions/PopovMarko/solution-template.go:35
← previousnext →7,301–7,400 of 12,886, ranked by callers