Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6boris/Golang-Learn
/ functions
Functions
1,648 in github.com/6boris/Golang-Learn
⨍
Functions
1,648
◇
Types & classes
352
↓ 2 callers
Function
searchMatrix
(matrix [][]int, target int)
Leetcode/0240-Search-a-2D-Matrix-II/Solution.go:3
↓ 2 callers
Function
service
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:9
↓ 2 callers
Method
setValue
只有指针才能改变结构内容
Google-Engineer/4-1/node.go:21
↓ 2 callers
Method
size
()
Algorithm/Sort/Classify/HeapSort/HeapSort.go:34
↓ 2 callers
Function
square
(op int)
GreekTime/go_learning/code/ch34/unit_test/functions.go:3
↓ 2 callers
Function
uniquePaths
(m int, n int)
Leetcode/0062-Unique-Paths/Solution.go:3
↓ 2 callers
Function
withReference
(arr *[NumOfElems]Content)
GreekTime/go_learning/code/ch49/gc_friendly/passing_ref/pass_array_test.go:18
↓ 2 callers
Function
withValue
(arr [NumOfElems]Content)
GreekTime/go_learning/code/ch49/gc_friendly/passing_ref/pass_array_test.go:13
↓ 2 callers
Function
writeFirstProgram
(p Programmer)
GreekTime/go_learning/code/ch13/polymorphsim/polymorphsim_test.go:27
↓ 1 callers
Function
A
()
Complicat/v2/02.RWMutex.go:20
↓ 1 callers
Function
A
()
Complicat/v1/01.Mutex.go:17
↓ 1 callers
Method
AddItem
(item ...Item)
Design-Patterns-Golang/Create/Builder/Builder.go:92
↓ 1 callers
Method
AddTo
添加到对应的父节点
Design-Patterns-Golang/Struct/Composite/Compistie.go:24
↓ 1 callers
Function
AllResponse
()
GreekTime/go_learning/code/ch25/until_all_done/until_all_done_test.go:27
↓ 1 callers
Function
Area
(rectangle Rectangle)
Structs-Methods-Interfaces/Test2/shapes.go:11
↓ 1 callers
Function
Area
(width float64, height float64)
Structs-Methods-Interfaces/Test1/Perimeter.go:7
↓ 1 callers
Method
Area
Area returns the area of the rectangle
Structs-Methods-Interfaces/Test3/shapes.go:12
↓ 1 callers
Method
Area
()
Structs-Methods-Interfaces/Test3/shapes.go:26
↓ 1 callers
Function
AsyncS
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:50
↓ 1 callers
Function
AsyncService
()
GreekTime/go_learning/code/ch19/select/select_test.go:14
↓ 1 callers
Function
AsyncService
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:25
↓ 1 callers
Method
Attach
(observer ...Observer)
Design-Patterns-Golang/Behavior/Observer/Observer.go:24
↓ 1 callers
Function
B
()
Complicat/v2/02.RWMutex.go:25
↓ 1 callers
Function
B
()
Complicat/v1/01.Mutex.go:24
↓ 1 callers
Function
BuildMaxHeap
(slice []int)
Algorithm/Sort/Classify/HeapSort/HeapSort.go:10
↓ 1 callers
Function
C
()
Complicat/v2/02.RWMutex.go:29
↓ 1 callers
Function
C
()
Complicat/v1/01.Mutex.go:29
↓ 1 callers
Method
Cap
返回栈的容量
Algorithm/Stack/main.go:17
↓ 1 callers
Method
Category
名称
Design-Patterns-Golang/Create/Builder/Builder.go:11
↓ 1 callers
Function
CheckToken
校验token是否有效
Algorithm/Tmp/main.go:32
↓ 1 callers
Function
CheckType
(v interface{})
GreekTime/go_learning/code/ch37/reflect/reflect_test.go:15
↓ 1 callers
Function
Clear
()
GreekTime/go_learning/code/ch10/func/func_test.go:48
↓ 1 callers
Function
CocktailShakerSort
鸡尾酒排序(Cocktail shaker sort)
Algorithm/Sort/Sort.go:188
↓ 1 callers
Method
Coding
()
Design-Patterns-Golang/Struct/Facade/Facade.go:13
↓ 1 callers
Function
Consumer
消费者
Concurrency-and-Parallelism/Producer_Consumer/v2/main.go:18
↓ 1 callers
Function
Consumer
消费者
Concurrency-and-Parallelism/Producer_Consumer/v1/main.go:16
↓ 1 callers
Function
CountingSort
计数排序(Counting Sort)
Algorithm/Sort/Sort.go:238
↓ 1 callers
Function
CreateConcurrentMapBenchmarkAdapter
(numOfPartitions int)
GreekTime/go_learning/code/ch48/maps/concurrent_map_benchmark_adapter.go:21
↓ 1 callers
Function
CreateRWLockMap
()
GreekTime/go_learning/code/ch48/maps/rw_map.go:29
↓ 1 callers
Function
CreateSyncMapBenchmarkAdapter
()
GreekTime/go_learning/code/ch48/maps/sync_map_benchmark_adapter.go:5
↓ 1 callers
Function
D
()
Algorithm/LRU/v1/lru.go:7
↓ 1 callers
Method
DeleteOldFile
** * 删除多余的备份文件 */
Basic-Grammar/Flag/v1/main.go:56
↓ 1 callers
Method
Destory
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:43
↓ 1 callers
Method
Destory
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:150
↓ 1 callers
Method
Do
(interface{})
Design-Patterns-Golang/Behavior/Strategy/Strategy.go:12
↓ 1 callers
Method
Do1
()
Temp/main.go:9
↓ 1 callers
Method
Erase
(key int)
Algorithm/Tree/Order_Map/Solution.go:95
↓ 1 callers
Method
EventProcessGroutine
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:54
↓ 1 callers
Method
Exists
(key int)
Algorithm/Tree/Order_Map/Solution.go:64
↓ 1 callers
Function
Filter
Copy the values from channel 'in' to channel 'out', removing those divisible by 'prime'.
Concurrency-and-Parallelism/sieve.go:14
↓ 1 callers
Method
Find
查找子节点
Design-Patterns-Golang/Struct/Composite/Compistie.go:35
↓ 1 callers
Function
FirstResponse
()
GreekTime/go_learning/code/ch24/util_anyone_reply/first_response_test.go:15
↓ 1 callers
Function
GenToken
产生json web token
Algorithm/Tmp/main.go:15
↓ 1 callers
Function
Generate
Send the sequence 2, 3, 4, ... to channel 'ch'.
Concurrency-and-Parallelism/sieve.go:6
↓ 1 callers
Method
Get
()
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:20
↓ 1 callers
Method
GetByOrderIndex
(index int)
Algorithm/Tree/Order_Map/Solution.go:118
↓ 1 callers
Function
GetFibonacciSerie
(n int)
GreekTime/go_learning/code/ch46/tools/http/fb_server.go:10
↓ 1 callers
Method
GetIterator
()
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:47
↓ 1 callers
Function
GetNextValueArray
(sub []byte)
Algorithm/KMP/v1/main.go:7
↓ 1 callers
Method
GetObj
(timeout time.Duration)
GreekTime/go_learning/code/ch32/obj_pool/obj_pool.go:24
↓ 1 callers
Function
GetPayInstance
(s string)
Temp/main.go:29
↓ 1 callers
Method
GetPlayerScore
GetPlayerScore retrieves a player's score
Basic-Grammar/io/v2/FileSystemStore.go:20
↓ 1 callers
Function
GetSingletonObj
()
GreekTime/go_learning/code/ch23/singleton/once_test.go:17
↓ 1 callers
Function
GnomeSort
地精排序(Gnome Sort)
Algorithm/Sort/Sort.go:274
↓ 1 callers
Function
GuessingGame
()
Basic-Grammar/Sort/Sort.go:8
↓ 1 callers
Method
HasNext
()
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:11
↓ 1 callers
Method
HasNext
()
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:26
↓ 1 callers
Function
HeapSort
堆排序(Heap Sort)
Algorithm/Sort/Sort.go:131
↓ 1 callers
Function
HeapSort
???
Algorithm/Sort/Classify/HeapSort/HeapSort.go:36
↓ 1 callers
Method
HttpRequest
()
Design-Patterns-Golang/Struct/Bridge/Bridge.go:16
↓ 1 callers
Function
InOrder
先序遍历: 节点 - 左孩子 - 右孩子
Algorithm/Tree/BinaryTree/main.go:41
↓ 1 callers
Function
InfoFuncMap
()
Basic-Grammar/Template/v1/main.go:82
↓ 1 callers
Function
InitConsumer
初始化消费者
Framework/Nsq/v2/receive.go:29
↓ 1 callers
Function
InitConsumer
初始化消费者
Framework/Nsq/v3/receive.go:27
↓ 1 callers
Function
InitEfacePointer
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:25
↓ 1 callers
Function
InitEfaceType
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:20
↓ 1 callers
Function
InitIfacePointer
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:35
↓ 1 callers
Function
InitIfaceType
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:30
↓ 1 callers
Function
InitPointer
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:16
↓ 1 callers
Function
InitProducer
(str string)
Framework/Nsq/v3/send.go:29
↓ 1 callers
Method
Insert
(key int, data interface{})
Algorithm/Tree/Order_Map/Solution.go:69
↓ 1 callers
Function
InsertSort
排序
Interview/d/solution.go:50
↓ 1 callers
Function
InsertSort
插入排序(Insert Sort)
Algorithm/Sort/Sort.go:34
↓ 1 callers
Method
Interpret
(context string)
Design-Patterns-Golang/Behavior/Interpreter/Interpreter.go:36
↓ 1 callers
Method
Interpret
(context string)
Design-Patterns-Golang/Behavior/Interpreter/Interpreter.go:46
↓ 1 callers
Method
IsEmpty
判断栈是否为空
Leetcode/0155-Min-Stack/Solution.go:22
↓ 1 callers
Method
IsEmpty
判断栈是否为空
Algorithm/Stack/main.go:22
↓ 1 callers
Function
KMP
在content中的start-end之间寻找sub子串 成功返回匹配成功的起始下标,匹配失败则返回-1
Algorithm/KMP/v1/main.go:76
↓ 1 callers
Method
Len
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Standard-library-and-Packages/Heap/main.go:10
↓ 1 callers
Method
Len
Return the stack len
Leetcode/0739-Daily-Temperatures/Solution.go:14
↓ 1 callers
Method
Len
()
Complicat/v11/11.Map.go:21
↓ 1 callers
Function
LogDecorate
(fn Object)
Design-Patterns-Golang/Struct/Decorator/Decorator.go:49
↓ 1 callers
Function
MakeList
(nums []int)
Leetcode/0019-Remove-Nth-Node-From-End-of-List/Solution.go:12
↓ 1 callers
Function
MakeList
(nums []int)
Leetcode/0024-Swap-Nodes-in-Pairs/Solution.go:12
↓ 1 callers
Function
MakeList
(nums []int)
Leetcode/0206-Reverse-Linked-List/Solution.go:12
↓ 1 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
GreekTime/go_learning/code/ch47/structs_easyjson.go:81
↓ 1 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
GreekTime/go_learning/code/ch47/structs_easyjson.go:196
↓ 1 callers
Function
Max
(a, b int)
Leetcode/0104-Maximum-Depth-of-Binary-Tree/Solution.go:24
↓ 1 callers
Function
Max
(a int, b int)
Leetcode/0121-Best-Time-to-Buy-and-Sell-Stock/Solution.go:3
↓ 1 callers
Function
Max
(a int, b int)
Leetcode/0485-Max-Consecutive-Ones/Solution.go:3
← previous
next →
401–500 of 1,648, ranked by callers