MCPcopy Create free account

hub / github.com/betty200744/ultimate-go / functions

Functions2,090 in github.com/betty200744/ultimate-go

↓ 4 callersMethodAppend
method, can be defined for any named type, except pointer and interface method, receiver can pointer and values method, value receiver, call by value,
effective-go/methods/pointers-vs-values.go:16
↓ 4 callersFunctionBuildMaxHeap
(arr []int)
algorithms/data-structures/heap/maxheap/maxheap.go:29
↓ 4 callersFunctionBuildMinHeap
(arr []int)
algorithms/data-structures/heap/minheap/minheap.go:29
↓ 4 callersFunctionCountNode
(node *Node)
algorithms/data-structures/tree/binary_search_tree/binary_search_tree.go:125
↓ 4 callersFunctionCreateBinaryTree
()
algorithms/data-structures/tree/binary_tree/binary_tree_test.go:8
↓ 4 callersMethodDelete
(data int)
algorithms/data-structures/tree/binary_search_tree/binary_search_tree.go:64
↓ 4 callersMethodDraw
()
design-pattern/creational/abstract_factory/abstract_factory.go:9
↓ 4 callersMethodFind
(data int)
algorithms/data-structures/tree/binary_search_tree/binary_search_tree.go:96
↓ 4 callersMethodFindById
method, value receiver
Language_Specification/reference-type/method/methods_receiver.go:42
↓ 4 callersFunctionGetIp
()
utils/network.go:21
↓ 4 callersFunctionGivenLevelOrder
(root *TreeNode, level int)
leetcode/binary_search/102_107_levelOrder/102_107_levelOrder.go:50
↓ 4 callersFunctionHash
计算hash值
algorithms/data-structures/hashing/hashing_with_chaining/hashingWithChaining.go:50
↓ 4 callersFunctionLog
(w io.Writer, key, val string)
build-in-package/sync/sync-pool_test.go:26
↓ 4 callersFunctionMinWindow
(s string, t string)
leetcode/string/76_minWindow/76_minWindow.go:44
↓ 4 callersFunctionNewNode
(data int)
leetcode/binary_search/230.Kth-Smallest-Element-in-a-BST/230_KthSmallest.go:9
↓ 4 callersFunctionReverseInt
(x int)
leetcode/7_reverseInt/7_reverseInt.go:8
↓ 4 callersMethodRouteChat
A Bidirectional streaming RPC. Accepts a stream of RouteNotes sent while a route is being traversed, while receiving other RouteNotes (e.g. from othe
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:340
↓ 4 callersMethodScan
(value interface{})
awesome-go/gorm/pgtype/jsonb.go:13
↓ 4 callersFunctionSetUpRouter
()
awesome-go/bazel/go-tutorial/service/service.go:9
↓ 4 callersFunctionToMap
(s string)
leetcode/string/76_minWindow/76_minWindow.go:32
↓ 4 callersMethodValues
()
algorithms/data-structures/containers/containers.go:8
↓ 4 callersMethodarea
()
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:21
↓ 4 callersFunctionfoo
()
diagnostics/profiling/pprof/http/main.go:12
↓ 4 callersFunctionlogger
logger is to mock a sophisticated logging system. To simplify the example, we just print out the content.
awesome-go/grpc-go/features/interceptor/server/main.go:49
↓ 4 callersFunctionsovHelloworld
(x uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:235
↓ 4 callersFunctionsovHelloworld
(x uint64)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:238
↓ 4 callersFunctionsovHelloworld
(x uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:254
↓ 4 callersFunctionsovHelloworld
(x uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:254
↓ 4 callersFunctionsovHelloworld
(x uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:313
↓ 4 callersFunctiontoRadians
(num float64)
awesome-go/grpc-go/route_guide/server/server.go:171
↓ 4 callersFunctionunaryCall
(c pb.EchoClient, requestID int, message string, want codes.Code)
awesome-go/grpc-go/features/deadline/client/main.go:37
↓ 4 callersMethodwriteSubNode
(str string)
awesome-go/protoc-gen-star/printer.go:80
↓ 3 callersMethodAddLast
(value interface{})
algorithms/data-structures/lists/singlylinkedlist/singlylinkedlist.go:64
↓ 3 callersFunctionBreadthFirst
Breadth-first search
algorithms/data-structures/tree/binary_search_tree/binary_search_tree.go:144
↓ 3 callersFunctionCodeString
(errorNo Code)
Language_Specification/errors/errors.go:18
↓ 3 callersFunctionCoinChange
(coins []int, amount int)
leetcode/dynamic_programming/322_coinChange/322_coinChange.go:10
↓ 3 callersMethodDecodeText
(ci *ConnInfo, src []byte)
awesome-go/gorm/pgtype/int8range.go:54
↓ 3 callersMethodDecrypt
(token string)
awesome-go/jwt-go/jwt.go:63
↓ 3 callersMethodEXPECT
()
awesome-go/grpc-go/route_guide/mock_routeguide/rg_mock.go:116
↓ 3 callersMethodEncrypt
(token string)
awesome-go/jwt-go/jwt.go:59
↓ 3 callersFunctionExchange
(nums []int)
leetcode/lcof/21_exchange/21_exchange.go:3
↓ 3 callersFunctionFib_DP_Tabulation
the best, Bottom-up DP Algorithm
leetcode/array/509_fibonacciNumber/509_fibonacciNumber.go:11
↓ 3 callersFunctionFib_DP_memoized
bad
leetcode/array/509_fibonacciNumber/509_fibonacciNumber.go:26
↓ 3 callersFunctionFibonacciNumber
(N int)
leetcode/array/509_fibonacciNumber/509_fibonacciNumber.go:3
↓ 3 callersFunctionGetAgents
()
Language_Specification/reference-type/struct_test.go:33
↓ 3 callersFunctionGetArea
-------------------- Polymorphic function --------------------
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:60
↓ 3 callersFunctionGetArrayOfLenAndSize
(n, s int)
algorithms/utils/utils.go:7
↓ 3 callersMethodGetFeature
A simple RPC. Obtains the feature at a given position. A feature with an empty name is returned if there's no feature at the given position.
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:323
↓ 3 callersMethodGetLeftChildIndex
(parentIndex int)
algorithms/data-structures/heap/heap.go:18
↓ 3 callersMethodGetRightChildIndex
(parentIndex int)
algorithms/data-structures/heap/heap.go:22
↓ 3 callersFunctionHeight
(root *TreeNode)
leetcode/binary_search/543_diameterOfBinaryTree/543_diameterOfBinaryTree.go:18
↓ 3 callersFunctionHeight
(root *TreeNode)
leetcode/binary_search/102_107_levelOrder/102_107_levelOrder.go:16
↓ 3 callersFunctionHelloWorld
(key string)
build-in-package/singleflight/singleflight.go:13
↓ 3 callersFunctionIndex
计算table中的index
algorithms/data-structures/hashing/hashing_with_chaining/hashingWithChaining.go:59
↓ 3 callersFunctionIsPrimes
(n int)
leetcode/math/204_countPrimes/204_countPrimes.go:8
↓ 3 callersFunctionKthBiggest
(root *Node, k int)
leetcode/binary_search/230.Kth-Smallest-Element-in-a-BST/230_KthSmallest.go:52
↓ 3 callersFunctionKthSmallest
(root *Node, k int)
leetcode/binary_search/230.Kth-Smallest-Element-in-a-BST/230_KthSmallest.go:41
↓ 3 callersFunctionKthSmallest
(root *Node, k int)
algorithms/data-structures/tree/binary_search_tree/binary_search_tree.go:131
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:153
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:183
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:156
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:186
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:158
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:192
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:158
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:192
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:231
↓ 3 callersMethodMarshalToSizedBuffer
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:261
↓ 3 callersMethodMaxHeapifyDown
向下对比,传入parentIndex, 递归与left and right child对比,大的做parent
algorithms/data-structures/heap/maxheap/maxheap.go:40
↓ 3 callersMethodMessage
Message return error message
Language_Specification/errors/errors.go:49
↓ 3 callersMethodMinHeapifyDown
向下对比,传入parentIndex, 递归与left and right child对比,小的做parent
algorithms/data-structures/heap/minheap/minheap.go:40
↓ 3 callersMethodMove
()
design-pattern/go-design/conversion/conversion.go:6
↓ 3 callersFunctionNew
()
algorithms/data-structures/stack/stack.go:22
↓ 3 callersFunctionNewConfig
(workdir, user string)
design-pattern/creational/prototype/prototype.go:8
↓ 3 callersFunctionNewConsulClient
(addr string)
awesome-go/consul/register/register.go:21
↓ 3 callersFunctionNewIdGenerator
NewNode returns a new snowflake worker that can be used to generate snowflake IDs
design-pattern/creational/simple_factory/simple_factory.go:21
↓ 3 callersFunctionNewNode
(data int)
design-pattern/structual/composite/composite.go:10
↓ 3 callersFunctionNewNode
(data int)
leetcode/lcof/27_mirrorTree/27_mirrorTree.go:11
↓ 3 callersMethodPay
(*PaymentContext)
design-pattern/behavioral/strategy/strategy.go:35
↓ 3 callersMethodPop
()
algorithms/data-structures/stack/stack.go:42
↓ 3 callersMethodPut
(key string, value interface{})
mock/user/user.go:7
↓ 3 callersFunctionQueryLatestDate
()
awesome-go/influxdb-client-go/basic_example/query_data.go:22
↓ 3 callersMethodRemoveFirst
()
algorithms/data-structures/lists/singlylinkedlist/singlylinkedlist.go:75
↓ 3 callersMethodReset
()
kubernetes/proto/greeting.pb.go:81
↓ 3 callersFunctionReturnError
(e Code)
Language_Specification/errors/errors.go:75
↓ 3 callersMethodService
(service, tag string)
awesome-go/consul/register/register.go:12
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:209
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:222
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:212
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:225
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:222
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:238
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:222
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:238
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:287
↓ 3 callersMethodSize
()
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:300
↓ 3 callersMethodStart
()
build-in-package/sync/sync_struct.go:40
↓ 3 callersMethodValue
()
algorithms/data-structures/lists/arraylist/arraylist.go:38
↓ 3 callersMethodValue
()
awesome-go/gorm/pgtype/jsonb.go:10
↓ 3 callersFunctionVisit
(node *Node)
algorithms/data-structures/tree/binary_tree/binary_tree.go:40
← previousnext →101–200 of 2,090, ranked by callers