MCPcopy Create free account

hub / github.com/6boris/Golang-Learn / functions

Functions1,648 in github.com/6boris/Golang-Learn

↓ 1 callersFunctionMax
(x int, y int)
Algorithm/Package/01/Solution.go:54
↓ 1 callersFunctionMerge
(left, right []int)
Algorithm/Sort/Sort.go:108
↓ 1 callersFunctionMergeSort
归并排序(Merge Sort)
Algorithm/Sort/Sort.go:96
↓ 1 callersFunctionMidOrder
后序遍历 : 左孩子 - 右孩子 - 根结点
Algorithm/Tree/BinaryTree/main.go:51
↓ 1 callersFunctionMin
(a int, b int)
Leetcode/0121-Best-Time-to-Buy-and-Sell-Stock/Solution.go:9
↓ 1 callersFunctionMin
(x int, y int)
Leetcode/0064-Minimum-Path-Sum/Solution.go:33
↓ 1 callersFunctionNewAgent
(sizeEvtBuf int)
GreekTime/go_learning/code/ch41/microkernel/agent.go:69
↓ 1 callersFunctionNewDbConnectPool
(chanLen int)
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:16
↓ 1 callersFunctionNewIntMap
(cap int)
Algorithm/Tree/Order_Map/Solution.go:57
↓ 1 callersFunctionNewObjPool
(numOfObj int)
GreekTime/go_learning/code/ch32/obj_pool/obj_pool.go:15
↓ 1 callersFunctionNewStraightPipeline
NewStraightPipeline create a new StraightPipelineWithWallTime
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/straigt_pipeline.go:4
↓ 1 callersMethodNotifyAllObservers
()
Design-Patterns-Golang/Behavior/Observer/Observer.go:28
↓ 1 callersFunctionOddEvenSort
奇偶排序(Odd Even Sort)
Algorithm/Sort/Sort.go:295
↓ 1 callersMethodOnEvent
(evt Event)
GreekTime/go_learning/code/ch41/microkernel/agent.go:36
↓ 1 callersMethodPeek
获取队列首部元素,不弹出
Algorithm/Queue/main.go:40
↓ 1 callersFunctionPerimeter
(retangle Rectangle)
Structs-Methods-Interfaces/Test2/shapes.go:8
↓ 1 callersFunctionPerimeter
Perimeter returns the perimeter of a rectangle
Structs-Methods-Interfaces/Test4/shapes.go:22
↓ 1 callersFunctionPerimeter
Perimeter returns the perimeter of a rectangle
Structs-Methods-Interfaces/Test5/shapes.go:22
↓ 1 callersFunctionPerimeter
(width float64, height float64)
Structs-Methods-Interfaces/Test1/Perimeter.go:3
↓ 1 callersFunctionPerimeter
Perimeter returns the perimeter of a rectangle
Structs-Methods-Interfaces/Test3/shapes.go:17
↓ 1 callersMethodPlaning
()
Design-Patterns-Golang/Struct/Facade/Facade.go:27
↓ 1 callersFunctionPlayerServer
PlayerServer currently returns Hello, world given _any_ request
Basic-Grammar/http-server/v1/server.go:9
↓ 1 callersMethodPop
()
Interview/Awesome-Go-Interview-Questions-and-Answers/Standard-library-and-Packages/Heap/main.go:18
↓ 1 callersMethodPop
()
Leetcode/0020-Valid-Parentheses/Solution.go:24
↓ 1 callersMethodPop
()
Leetcode/0155-Min-Stack/Solution.go:68
↓ 1 callersMethodPop
()
Basic-Grammar/Heap/Heap.go:18
↓ 1 callersMethodPop
()
Basic-Grammar/Stack/List_Stack.go:19
↓ 1 callersFunctionPostOrder
中序遍历: 左孩子 - 根结点 - 右孩子
Algorithm/Tree/BinaryTree/main.go:63
↓ 1 callersMethodPressSwitch
(light *Light)
Design-Patterns-Golang/Behavior/State/State.go:27
↓ 1 callersMethodPrice
()
Design-Patterns-Golang/Create/Builder/Builder.go:9
↓ 1 callersFunctionPrintArr
(x [][]int)
Algorithm/Package/01/Solution.go:45
↓ 1 callersFunctionPrintFile
(filename string)
Algorithm/Number/PrintFile/PrintFile.go:9
↓ 1 callersFunctionPrintList
打印链表
Leetcode/0021-Merge-Two-Sorted-Lists/Solution.go:50
↓ 1 callersMethodProcess
(data Request)
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/filter.go:13
↓ 1 callersMethodProcess
Process is to process the coming data by the pipeline
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/straigt_pipeline.go:18
↓ 1 callersMethodProduceBrushPen
()
Design-Patterns-Golang/Create/Factory/Factory.go:46
↓ 1 callersMethodProducePencil
()
Design-Patterns-Golang/Create/Factory/Factory.go:42
↓ 1 callersMethodProducing
对外提供生产产品服务 需要各个类型人员合作,但细节不对外公开的
Design-Patterns-Golang/Struct/Facade/Facade.go:51
↓ 1 callersFunctionPublish
发布消息
Framework/Nsq/v3/send.go:40
↓ 1 callersMethodPush
(x interface{})
Leetcode/0020-Valid-Parentheses/Solution.go:20
↓ 1 callersMethodPush
Push a val to stack top
Leetcode/0739-Daily-Temperatures/Solution.go:24
↓ 1 callersMethodPush
(x interface{})
Basic-Grammar/Heap/Heap.go:14
↓ 1 callersMethodPut
(conn *DbConnect)
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:29
↓ 1 callersFunctionQuickSort
(arr []int)
Algorithm/Sort/Classify/QuickSort/QuickSort.go:3
↓ 1 callersFunctionRandString
(len int)
Framework/Nsq/v3/util.go:8
↓ 1 callersFunctionRangeTemplate
(args NewInformation, text string)
Basic-Grammar/Template/v1/main.go:105
↓ 1 callersFunctionRead
(i int)
Basic-Grammar/Runtime/v2/main.go:20
↓ 1 callersFunctionRead
(ch chan bool, i int)
Basic-Grammar/Runtime/v3/main.go:23
↓ 1 callersFunctionRead
(ch chan bool, i int)
Basic-Grammar/Runtime/v1/main.go:18
↓ 1 callersFunctionRead
(i int)
Basic-Grammar/Runtime/v4/main.go:21
↓ 1 callersFunctionReadFromMap
(k string)
Basic-Grammar/Test/Parallel.go:16
↓ 1 callersMethodRecordWin
RecordWin will store a win for a player, incrementing wins if already known
Basic-Grammar/io/v3/FileSystemStore.go:33
↓ 1 callersMethodReleaseObj
(obj *ReusableObj)
GreekTime/go_learning/code/ch32/obj_pool/obj_pool.go:34
↓ 1 callersMethodReleasing
()
Design-Patterns-Golang/Struct/Facade/Facade.go:34
↓ 1 callersFunctionRemoveDuplicatesAndEmpty
数组去重
Interview/d/solution.go:38
↓ 1 callersFunctionReverse
(str string)
Algorithm/String/Reverse/SimpleReverse.go:22
↓ 1 callersFunctionReviseNextValueArray
(next []int)
Algorithm/KMP/v1/main.go:63
↓ 1 callersFunctionS
()
GreekTime/go_learning/code/ch18/csp/async_service_test.go:45
↓ 1 callersFunctionSelectSort
选择排序(Select Sort)
Algorithm/Sort/Sort.go:47
↓ 1 callersFunctionShellSort
希尔排序(Shell Sort)
Algorithm/Sort/Sort.go:176
↓ 1 callersFunctionSolution
* s[i-1] s[i] s[i+1] abb aeb aaa aea baa bea */
Interview/b/solution.go:10
↓ 1 callersFunctionSolution1
* param1:物品的数量 param2:各个物品的重量 param3:各个物品的价值 param4:背包的容量 算法说明 m[i][j]:表示面对第i个物品,背包容量为j的时候,能获得的最大价值 if j<weights[i] //背包掏空了都放不下第i个物品 m[i][j
Algorithm/Package/01/Solution.go:17
↓ 1 callersMethodSpeak
()
GreekTime/go_learning/code/ch12/extension/extension_test.go:11
↓ 1 callersMethodSpeakTo
(host string)
GreekTime/go_learning/code/ch12/extension/extension_test.go:15
↓ 1 callersFunctionSplit
截取指定字符串前面的字符
Temp/split/Solution.go:8
↓ 1 callersFunctionStartReceive
(topic, channel, address string)
Framework/Nsq/v3/receive.go:12
↓ 1 callersFunctionStartSend
(n int)
Framework/Nsq/v3/send.go:11
↓ 1 callersMethodStop
()
GreekTime/go_learning/code/ch41/microkernel/agent.go:141
↓ 1 callersMethodTemplate
(text string)
Basic-Grammar/Template/v1/main.go:50
↓ 1 callersMethodTemplateWithFuncMap
(text string)
Basic-Grammar/Template/v1/main.go:66
↓ 1 callersMethodTop
()
Leetcode/0155-Min-Stack/Solution.go:76
↓ 1 callersFunctionTreeInit
()
Algorithm/Tree/BinaryTree/main.go:14
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
GreekTime/go_learning/code/ch47/structs_easyjson.go:208
↓ 1 callersMethodWrite
(p []byte)
Basic-Grammar/command-line/v1/tape.go:11
↓ 1 callersMethodWrite
(p []byte)
Basic-Grammar/io/v7/tape.go:11
↓ 1 callersMethodWrite
(p []byte)
Basic-Grammar/io/v9/tape.go:11
↓ 1 callersMethodWrite
(p []byte)
Basic-Grammar/io/v8/tape.go:11
↓ 1 callersFunctionWriteToMap
(k, v string)
Basic-Grammar/Test/Parallel.go:10
↓ 1 callersFunction_calculate_depth
helper function for t.depth
Algorithm/Tree/BinaryTree/BinaryTree.go:73
↓ 1 callersMethodadd
添加子节点
Design-Patterns-Golang/Struct/Composite/Compistie.go:30
↓ 1 callersFunctionaddTwoNumbers
(l1 *ListNode, l2 *ListNode)
Leetcode/0002-Add-Two-Numbers/Solution.go:16
↓ 1 callersFunctionadder
()
Google-Engineer/6-1/adder/main.go:5
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/command-line/v1/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v7/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v2/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v9/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v6/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v5/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v8/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v3/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v1/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/io/v4/server_test.go:126
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/json/v6/server_test.go:127
↓ 1 callersFunctionassertContentType
(t *testing.T, response *httptest.ResponseRecorder, want string)
Basic-Grammar/json/v5/server_test.go:127
↓ 1 callersFunctionassertLeague
(t *testing.T, got, want []Player)
Basic-Grammar/json/v5/server_test.go:145
↓ 1 callersFunctionassertLeague
(t *testing.T, got, want []Player)
Basic-Grammar/json/v4/server_test.go:136
↓ 1 callersFunctionassertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v2/FileSystemStore_test.go:44
↓ 1 callersFunctioncalculate
(m *[row][col]int)
GreekTime/go_learning/code/ch46/tools/file/prof.go:27
↓ 1 callersFunctioncancel_2
(cancelChan chan struct{})
GreekTime/go_learning/code/ch21/cancel_by_close/cancel_test.go:22
↓ 1 callersMethodcheckFilesNum
** * 确认是否需要删除一些备份文件 */
Basic-Grammar/Flag/v1/main.go:45
← previousnext →501–600 of 1,648, ranked by callers