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
↓ 1 callers
Function
Max
(x int, y int)
Algorithm/Package/01/Solution.go:54
↓ 1 callers
Function
Merge
(left, right []int)
Algorithm/Sort/Sort.go:108
↓ 1 callers
Function
MergeSort
归并排序(Merge Sort)
Algorithm/Sort/Sort.go:96
↓ 1 callers
Function
MidOrder
后序遍历 : 左孩子 - 右孩子 - 根结点
Algorithm/Tree/BinaryTree/main.go:51
↓ 1 callers
Function
Min
(a int, b int)
Leetcode/0121-Best-Time-to-Buy-and-Sell-Stock/Solution.go:9
↓ 1 callers
Function
Min
(x int, y int)
Leetcode/0064-Minimum-Path-Sum/Solution.go:33
↓ 1 callers
Function
NewAgent
(sizeEvtBuf int)
GreekTime/go_learning/code/ch41/microkernel/agent.go:69
↓ 1 callers
Function
NewDbConnectPool
(chanLen int)
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:16
↓ 1 callers
Function
NewIntMap
(cap int)
Algorithm/Tree/Order_Map/Solution.go:57
↓ 1 callers
Function
NewObjPool
(numOfObj int)
GreekTime/go_learning/code/ch32/obj_pool/obj_pool.go:15
↓ 1 callers
Function
NewStraightPipeline
NewStraightPipeline create a new StraightPipelineWithWallTime
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/straigt_pipeline.go:4
↓ 1 callers
Method
NotifyAllObservers
()
Design-Patterns-Golang/Behavior/Observer/Observer.go:28
↓ 1 callers
Function
OddEvenSort
奇偶排序(Odd Even Sort)
Algorithm/Sort/Sort.go:295
↓ 1 callers
Method
OnEvent
(evt Event)
GreekTime/go_learning/code/ch41/microkernel/agent.go:36
↓ 1 callers
Method
Peek
获取队列首部元素,不弹出
Algorithm/Queue/main.go:40
↓ 1 callers
Function
Perimeter
(retangle Rectangle)
Structs-Methods-Interfaces/Test2/shapes.go:8
↓ 1 callers
Function
Perimeter
Perimeter returns the perimeter of a rectangle
Structs-Methods-Interfaces/Test4/shapes.go:22
↓ 1 callers
Function
Perimeter
Perimeter returns the perimeter of a rectangle
Structs-Methods-Interfaces/Test5/shapes.go:22
↓ 1 callers
Function
Perimeter
(width float64, height float64)
Structs-Methods-Interfaces/Test1/Perimeter.go:3
↓ 1 callers
Function
Perimeter
Perimeter returns the perimeter of a rectangle
Structs-Methods-Interfaces/Test3/shapes.go:17
↓ 1 callers
Method
Planing
()
Design-Patterns-Golang/Struct/Facade/Facade.go:27
↓ 1 callers
Function
PlayerServer
PlayerServer currently returns Hello, world given _any_ request
Basic-Grammar/http-server/v1/server.go:9
↓ 1 callers
Method
Pop
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Standard-library-and-Packages/Heap/main.go:18
↓ 1 callers
Method
Pop
()
Leetcode/0020-Valid-Parentheses/Solution.go:24
↓ 1 callers
Method
Pop
()
Leetcode/0155-Min-Stack/Solution.go:68
↓ 1 callers
Method
Pop
()
Basic-Grammar/Heap/Heap.go:18
↓ 1 callers
Method
Pop
()
Basic-Grammar/Stack/List_Stack.go:19
↓ 1 callers
Function
PostOrder
中序遍历: 左孩子 - 根结点 - 右孩子
Algorithm/Tree/BinaryTree/main.go:63
↓ 1 callers
Method
PressSwitch
(light *Light)
Design-Patterns-Golang/Behavior/State/State.go:27
↓ 1 callers
Method
Price
()
Design-Patterns-Golang/Create/Builder/Builder.go:9
↓ 1 callers
Function
PrintArr
(x [][]int)
Algorithm/Package/01/Solution.go:45
↓ 1 callers
Function
PrintFile
(filename string)
Algorithm/Number/PrintFile/PrintFile.go:9
↓ 1 callers
Function
PrintList
打印链表
Leetcode/0021-Merge-Two-Sorted-Lists/Solution.go:50
↓ 1 callers
Method
Process
(data Request)
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/filter.go:13
↓ 1 callers
Method
Process
Process is to process the coming data by the pipeline
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/straigt_pipeline.go:18
↓ 1 callers
Method
ProduceBrushPen
()
Design-Patterns-Golang/Create/Factory/Factory.go:46
↓ 1 callers
Method
ProducePencil
()
Design-Patterns-Golang/Create/Factory/Factory.go:42
↓ 1 callers
Method
Producing
对外提供生产产品服务 需要各个类型人员合作,但细节不对外公开的
Design-Patterns-Golang/Struct/Facade/Facade.go:51
↓ 1 callers
Function
Publish
发布消息
Framework/Nsq/v3/send.go:40
↓ 1 callers
Method
Push
(x interface{})
Leetcode/0020-Valid-Parentheses/Solution.go:20
↓ 1 callers
Method
Push
Push a val to stack top
Leetcode/0739-Daily-Temperatures/Solution.go:24
↓ 1 callers
Method
Push
(x interface{})
Basic-Grammar/Heap/Heap.go:14
↓ 1 callers
Method
Put
(conn *DbConnect)
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:29
↓ 1 callers
Function
QuickSort
(arr []int)
Algorithm/Sort/Classify/QuickSort/QuickSort.go:3
↓ 1 callers
Function
RandString
(len int)
Framework/Nsq/v3/util.go:8
↓ 1 callers
Function
RangeTemplate
(args NewInformation, text string)
Basic-Grammar/Template/v1/main.go:105
↓ 1 callers
Function
Read
(i int)
Basic-Grammar/Runtime/v2/main.go:20
↓ 1 callers
Function
Read
(ch chan bool, i int)
Basic-Grammar/Runtime/v3/main.go:23
↓ 1 callers
Function
Read
(ch chan bool, i int)
Basic-Grammar/Runtime/v1/main.go:18
↓ 1 callers
Function
Read
(i int)
Basic-Grammar/Runtime/v4/main.go:21
↓ 1 callers
Function
ReadFromMap
(k string)
Basic-Grammar/Test/Parallel.go:16
↓ 1 callers
Method
RecordWin
RecordWin will store a win for a player, incrementing wins if already known
Basic-Grammar/io/v3/FileSystemStore.go:33
↓ 1 callers
Method
ReleaseObj
(obj *ReusableObj)
GreekTime/go_learning/code/ch32/obj_pool/obj_pool.go:34
↓ 1 callers
Method
Releasing
()
Design-Patterns-Golang/Struct/Facade/Facade.go:34
↓ 1 callers
Function
RemoveDuplicatesAndEmpty
数组去重
Interview/d/solution.go:38
↓ 1 callers
Function
Reverse
(str string)
Algorithm/String/Reverse/SimpleReverse.go:22
↓ 1 callers
Function
ReviseNextValueArray
(next []int)
Algorithm/KMP/v1/main.go:63
↓ 1 callers
Function
S
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:45
↓ 1 callers
Function
SelectSort
选择排序(Select Sort)
Algorithm/Sort/Sort.go:47
↓ 1 callers
Function
ShellSort
希尔排序(Shell Sort)
Algorithm/Sort/Sort.go:176
↓ 1 callers
Function
Solution
* s[i-1] s[i] s[i+1] abb aeb aaa aea baa bea */
Interview/b/solution.go:10
↓ 1 callers
Function
Solution1
* param1:物品的数量 param2:各个物品的重量 param3:各个物品的价值 param4:背包的容量 算法说明 m[i][j]:表示面对第i个物品,背包容量为j的时候,能获得的最大价值 if j<weights[i] //背包掏空了都放不下第i个物品 m[i][j
Algorithm/Package/01/Solution.go:17
↓ 1 callers
Method
Speak
()
GreekTime/go_learning/code/ch12/extension/extension_test.go:11
↓ 1 callers
Method
SpeakTo
(host string)
GreekTime/go_learning/code/ch12/extension/extension_test.go:15
↓ 1 callers
Function
Split
截取指定字符串前面的字符
Temp/split/Solution.go:8
↓ 1 callers
Function
StartReceive
(topic, channel, address string)
Framework/Nsq/v3/receive.go:12
↓ 1 callers
Function
StartSend
(n int)
Framework/Nsq/v3/send.go:11
↓ 1 callers
Method
Stop
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:141
↓ 1 callers
Method
Template
(text string)
Basic-Grammar/Template/v1/main.go:50
↓ 1 callers
Method
TemplateWithFuncMap
(text string)
Basic-Grammar/Template/v1/main.go:66
↓ 1 callers
Method
Top
()
Leetcode/0155-Min-Stack/Solution.go:76
↓ 1 callers
Function
TreeInit
()
Algorithm/Tree/BinaryTree/main.go:14
↓ 1 callers
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
GreekTime/go_learning/code/ch47/structs_easyjson.go:208
↓ 1 callers
Method
Write
(p []byte)
Basic-Grammar/command-line/v1/tape.go:11
↓ 1 callers
Method
Write
(p []byte)
Basic-Grammar/io/v7/tape.go:11
↓ 1 callers
Method
Write
(p []byte)
Basic-Grammar/io/v9/tape.go:11
↓ 1 callers
Method
Write
(p []byte)
Basic-Grammar/io/v8/tape.go:11
↓ 1 callers
Function
WriteToMap
(k, v string)
Basic-Grammar/Test/Parallel.go:10
↓ 1 callers
Function
_calculate_depth
helper function for t.depth
Algorithm/Tree/BinaryTree/BinaryTree.go:73
↓ 1 callers
Method
add
添加子节点
Design-Patterns-Golang/Struct/Composite/Compistie.go:30
↓ 1 callers
Function
addTwoNumbers
(l1 *ListNode, l2 *ListNode)
Leetcode/0002-Add-Two-Numbers/Solution.go:16
↓ 1 callers
Function
adder
()
Google-Engineer/6-1/adder/main.go:5
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/command-line/v1/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v7/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v2/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v9/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v6/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v5/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v8/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v3/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v1/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v4/server_test.go:126
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/json/v6/server_test.go:127
↓ 1 callers
Function
assertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/json/v5/server_test.go:127
↓ 1 callers
Function
assertLeague
(t *testing.T, got, want []Player)
Basic-Grammar/json/v5/server_test.go:145
↓ 1 callers
Function
assertLeague
(t *testing.T, got, want []Player)
Basic-Grammar/json/v4/server_test.go:136
↓ 1 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v2/FileSystemStore_test.go:44
↓ 1 callers
Function
calculate
(m *[row][col]int)
GreekTime/go_learning/code/ch46/tools/file/prof.go:27
↓ 1 callers
Function
cancel_2
(cancelChan chan struct{})
GreekTime/go_learning/code/ch21/cancel_by_close/cancel_test.go:22
↓ 1 callers
Method
checkFilesNum
** * 确认是否需要删除一些备份文件 */
Basic-Grammar/Flag/v1/main.go:45
← previous
next →
501–600 of 1,648, ranked by callers