MCPcopy Create free account

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

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

FunctionFindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/shansing/solution-template.go:279
FunctionFindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/KhaledMosaad/solution-template.go:327
FunctionFindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/t4e1/solution-template.go:300
FunctionFindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/maket12/solution-template.go:294
FunctionFindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/Gandook/solution-template.go:277
FunctionFindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/JackDalberg/solution-template.go:263
FunctionFindUsersByAgeRange
(ctx context.Context, db *gorm.DB, minAge, maxAge int)
packages/gorm/challenge-5-generics/submissions/odelbos/solution.go:84
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/jrbarbati/solution-template.go:131
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/odelbos/solution-template.go:116
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/kiramux/solution-template.go:129
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/hvijaycse/solution-template.go:124
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/PopovMarko/solution-template.go:140
MethodFront
()
challenge-27/submissions/imankhodadi/solution-template.go:90
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/YounesBouchbouk/solution-template.go:144
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/mvsouza/solution-template.go:119
MethodFront
()
challenge-27/submissions/Ali-Fartoot/solution-template.go:91
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/mick4711/solution-template.go:136
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/PolinaSvet/solution-template.go:173
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/y1hao/solution-template.go:121
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/cep-ter/solution-template.go:125
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/AkifhanIlgaz/solution-template.go:124
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/xyersh/solution-template.go:157
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/Johrespi/solution-template.go:138
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/grozdovk/solution-template.go:138
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/ashwinipatankar/solution-template.go:163
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/diyorich/solution-template.go:119
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/shansing/solution-template.go:128
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/KhaledMosaad/solution-template.go:149
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/t4e1/solution-template.go:132
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/maket12/solution-template.go:129
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/nzamulov/solution-template.go:118
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/Gandook/solution-template.go:135
MethodFront
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/JackDalberg/solution-template.go:123
MethodGet
Get retrieves a value from the cache
packages/gin/challenge-2-middleware/submissions/father-frog/solution.go:70
MethodGet
(key string)
challenge-28/submissions/odelbos/solution-template.go:11
MethodGet
(key string)
challenge-28/submissions/odelbos/solution-template.go:60
MethodGet
(key string)
challenge-28/submissions/odelbos/solution-template.go:154
MethodGet
(key string)
challenge-28/submissions/odelbos/solution-template.go:289
MethodGet
(key string)
challenge-28/submissions/odelbos/solution-template.go:367
MethodGet
Get retrieves a value by key. Returns the value and true if found, or nil and false if the key does not exist.
challenge-28/submissions/PopovMarko/solution-template.go:16
MethodGet
Get returns the value for key and moves the accessed node to the MRU position.
challenge-28/submissions/PopovMarko/solution-template.go:175
MethodGet
Get returns the value for key and increments its access frequency. The node is moved from its current frequency bucket to the freq+1 bucket.
challenge-28/submissions/PopovMarko/solution-template.go:400
MethodGet
Get returns the value for key. In FIFO semantics, reads do not affect eviction order.
challenge-28/submissions/PopovMarko/solution-template.go:595
MethodGet
Get acquires the lock and delegates to the underlying cache. A write lock is used because LRU/LFU Get modifies node order internally.
challenge-28/submissions/PopovMarko/solution-template.go:710
MethodGet
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:10
MethodGet
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:93
MethodGet
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:418
MethodGet
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:511
MethodGet
(key string)
challenge-28/submissions/mvsouza/solution-template.go:10
MethodGet
(key string)
challenge-28/submissions/mvsouza/solution-template.go:76
MethodGet
(key string)
challenge-28/submissions/mvsouza/solution-template.go:175
MethodGet
(key string)
challenge-28/submissions/mvsouza/solution-template.go:291
MethodGet
(key string)
challenge-28/submissions/mvsouza/solution-template.go:358
MethodGet
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:9
MethodGet
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:107
MethodGet
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:342
MethodGet
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:517
MethodGet
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:628
MethodGet
(key string)
challenge-28/submissions/nzamulov/solution-template.go:132
MethodGet
(key string)
challenge-28/submissions/nzamulov/solution-template.go:247
MethodGet
(key string)
challenge-28/submissions/nzamulov/solution-template.go:360
MethodGet
(key string)
challenge-28/submissions/nzamulov/solution-template.go:428
MethodGetAll
()
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:102
MethodGetAll
Helper methods for TaskStore GetAll returns all tasks
packages/fiber/challenge-1-basic-routing/solution-template.go:111
MethodGetAll
Helper methods for TaskStore GetAll returns all tasks
packages/fiber/challenge-1-basic-routing/submissions/odelbos/solution.go:117
MethodGetAll
()
packages/fiber/challenge-1-basic-routing/submissions/0xSangeet/solution.go:108
MethodGetAll
Helper methods for TaskStore GetAll returns all tasks
packages/fiber/challenge-1-basic-routing/submissions/RezaSi/solution.go:141
MethodGetAll
()
challenge-9/solution-template.go:30
MethodGetAll
()
challenge-9/submissions/odelbos/solution-template.go:27
MethodGetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/odelbos/solution-template.go:50
MethodGetAll
()
challenge-9/submissions/Kosench/solution-template.go:43
MethodGetAll
()
challenge-9/submissions/Kosench/solution-template.go:66
MethodGetAll
()
challenge-9/submissions/PopovMarko/solution-template.go:37
MethodGetAll
Implement BookRepository interface methods for InMemoryBookRepository entity GetAll returns slice of pointers on Book or error
challenge-9/submissions/PopovMarko/solution-template.go:61
MethodGetAll
()
challenge-9/submissions/imankhodadi/solution-template.go:26
MethodGetAll
()
challenge-9/submissions/imankhodadi/solution-template.go:86
MethodGetAll
()
challenge-9/submissions/nosrio/solution-template.go:27
MethodGetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/nosrio/solution-template.go:55
MethodGetAll
()
challenge-9/submissions/mvsouza/solution-template.go:34
MethodGetAll
()
challenge-9/submissions/mvsouza/solution-template.go:56
MethodGetAll
()
challenge-9/submissions/mick4711/solution-template.go:38
MethodGetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/mick4711/solution-template.go:61
MethodGetAll
()
challenge-9/submissions/ne0phyte/solution-template.go:28
MethodGetAll
()
challenge-9/submissions/ne0phyte/solution-template.go:50
MethodGetAll
()
challenge-9/submissions/PolinaSvet/solution-template.go:36
MethodGetAll
()
challenge-9/submissions/PolinaSvet/solution-template.go:105
MethodGetAll
()
challenge-9/submissions/brenoamin/solution-template.go:28
MethodGetAll
Implement BookRepository methods for InMemoryBookRepository ...
challenge-9/submissions/brenoamin/solution-template.go:52
MethodGetAll
()
challenge-9/submissions/kushalShukla-web/solution-template.go:45
MethodGetAll
()
challenge-9/submissions/kushalShukla-web/solution-template.go:72
MethodGetAll
()
challenge-9/submissions/ashwinipatankar/solution-template.go:26
MethodGetAll
()
challenge-9/submissions/ashwinipatankar/solution-template.go:63
MethodGetAll
()
challenge-9/submissions/nzamulov/solution-template.go:28
MethodGetAll
()
challenge-9/submissions/nzamulov/solution-template.go:53
MethodGetAll
()
challenge-9/submissions/Cpoing/solution-template.go:25
MethodGetAll
Implement BookRepository methods for InMemoryBookRepository ...
challenge-9/submissions/Cpoing/solution-template.go:50
MethodGetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/Gandook/solution-template.go:49
MethodGetAllBooks
()
challenge-9/solution-template.go:57
MethodGetAllBooks
()
challenge-9/submissions/odelbos/solution-template.go:126
MethodGetAllBooks
Implement BookService methods for DefaultBookService
challenge-9/submissions/odelbos/solution-template.go:146
← previousnext →6,801–6,900 of 12,886, ranked by callers