Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/pkg
/ functions
Functions
669 in github.com/changkun/pkg
⨍
Functions
669
◇
Types & classes
109
Function
BenchmarkSubmit
(b *testing.B)
sched/sched_test.go:294
Function
CopyFile
CopyFile : General Approach
misc/error-handling-abstraction/main.go:15
Method
Cov
Cov implements Conv interface and calculates the covariance between a and b.
bo/gp.go:213
Method
Del
Del returns the deleted value if ok
ds/skiplist.go:120
Method
Dequeue
Dequeue dequeues a value from the head of queue
ds/queue.go:23
Method
Dequeue
()
lockfree/queue_test.go:60
Method
Dequeue
()
lockfree/queue_test.go:78
Method
Descriptor
()
benchs/restrpc/rpcs/add.pb.go:36
Method
Descriptor
()
benchs/restrpc/rpcs/add.pb.go:82
Method
DotBlockIJK
DotBlockIJK block matrix multiplication
mat/matmult_block_ijk.go:10
Method
DotBlockIJKP
DotBlockIJKP block matrix multiplication
mat/matmult_block_ijk.go:79
Method
DotBlockIKJ
DotBlockIKJ block matrix multiplication
mat/matmult_block_ikj.go:10
Method
DotBlockIKJP
DotBlockIKJP block matrix multiplication
mat/matmult_block_ikj.go:73
Method
DotBlockJKI
DotBlockJKI block matrix multiplication
mat/matmult_block_jki.go:10
Method
DotBlockJKIP
DotBlockJKIP block matrix multiplication
mat/matmult_block_jki.go:73
Method
DotBlockKIJ
DotBlockKIJ block matrix multiplication
mat/matmult_block_kij.go:10
Method
DotBlockKIJP
DotBlockKIJP block matrix multiplication
mat/matmult_block_kij.go:73
Method
DotBlockKJI
DotBlockKJI block matrix multiplication
mat/matmult_block_kji.go:10
Method
DotBlockKJIP
DotBlockKJIP block matrix multiplication
mat/matmult_block_kji.go:73
Method
DotNaiveIJK
DotNaiveIJK matrix multiplication O(n^3)
mat/matmult_naive_ijk.go:12
Method
DotNaiveIJKP
DotNaiveIJKP matrix multiplication O(n^3)
mat/matmult_naive_ijk.go:34
Method
DotNaiveIKJ
DotNaiveIKJ matrix multiplication O(n^3)
mat/matmult_naive_ikj.go:10
Method
DotNaiveIKJP
DotNaiveIKJP matrix multiplication O(n^3)
mat/matmult_naive_ikj.go:31
Method
DotNaiveJKI
DotNaiveJKI matrix multiplication O(n^3)
mat/matmult_naive_jki.go:10
Method
DotNaiveJKIP
DotNaiveJKIP matrix multiplication O(n^3)
mat/matmult_naive_jki.go:31
Method
DotNaiveKIJ
DotNaiveKIJ matrix multiplication O(n^3)
mat/matmult_naive_kij.go:10
Method
DotNaiveKIJP
DotNaiveKIJP matrix multiplication O(n^3)
mat/matmult_naive_kij.go:31
Method
DotNaiveKJI
DotNaiveKJI matrix multiplication O(n^3)
mat/matmult_naive_kji.go:10
Method
DotNaiveKJIP
DotNaiveKJIP matrix multiplication O(n^3)
mat/matmult_naive_kji.go:31
Method
Drawable
Drawable implements the mtl.Drawable interface.
metal/moving/coreanim/coreanim.go:127
Method
Enqueue
Enqueue enqueues a value to the tail of queue
ds/queue.go:18
Method
Enqueue
(interface{})
lockfree/queue_test.go:59
Method
Enqueue
(v interface{})
lockfree/queue_test.go:72
Method
Estimate
Estimate implements Exploration.
bo/exploration.go:22
Function
ExampleGoID
()
rt/goid_test.go:27
Function
ExampleInit
()
maint/bench_test.go:30
Function
ExampleQueue
()
lockfree/queue_test.go:41
Function
ExampleStack
()
lockfree/stack_test.go:24
Method
Execute
Execute is the actual execution block
sched/sched_test.go:385
Method
Execute
Execute is the actual execution block
sched/tests/task.go:68
Method
Execute
Execute is the actual execution block
sched/tests/retry.go:79
Method
Get
Get gets a random element from the set.
ds/randomized_set.go:39
Method
Get
Get returns corresponding v with given k.
ds/skiplist.go:90
Method
Get
Get implements TaskFuture interface
sched/sched.go:349
Method
Get
Get order
sched/tests/order.go:66
Method
GetA
()
benchs/restrpc/rpcs/add.pb.go:58
Method
GetB
()
benchs/restrpc/rpcs/add.pb.go:65
Method
GetExecution
GetExecution get execution time
sched/sched_test.go:352
Method
GetExecution
GetExecution get execution time
sched/tests/task.go:35
Method
GetFirst
GetFirst time
sched/tests/order.go:45
Method
GetID
GetID get task id
sched/sched_test.go:346
Method
GetID
GetID get task id
sched/tests/task.go:29
Method
GetID
GetID get task id
sched/tests/retry.go:34
Method
GetLast
GetLast time
sched/tests/order.go:59
Method
GetMax
GetMax implements Param.
bo/param.go:43
Method
GetMax
GetMax implements Param.
bo/param.go:74
Method
GetMax
GetMax implements Param.
bo/param.go:109
Method
GetMin
GetMin ...
ds/min_stack.go:45
Method
GetMin
GetMin implements Param.
bo/param.go:48
Method
GetMin
GetMin implements Param.
bo/param.go:79
Method
GetMin
GetMin implements Param.
bo/param.go:114
Method
GetName
GetName implements Param.
bo/param.go:38
Method
GetName
GetName implements Param.
bo/param.go:69
Method
GetName
GetName implements Param.
bo/param.go:104
Method
GetRetryTime
GetRetryTime get retry execution duration
sched/sched_test.go:363
Method
GetRetryTime
GetRetryTime get retry execution duration
sched/tests/task.go:46
Method
GetRetryTime
GetRetryTime get retry execution duration
sched/tests/retry.go:51
Method
GetSum
()
benchs/restrpc/rpcs/add.pb.go:104
Method
GetTimeout
GetTimeout get timeout of execution
sched/sched_test.go:358
Method
GetTimeout
GetTimeout get timeout of execution
sched/tests/task.go:41
Method
GetTimeout
GetTimeout get timeout of execution
sched/tests/retry.go:46
Method
Grad
Grad computes the gradient of the matern covariance between a and b with respect to a. nu = 2.5.
bo/gp.go:221
Method
Grad
(x []float64, params []Param)
bo/exploration.go:37
Method
Grad
Grad returns the gradient of the barrier function.
bo/exploration.go:68
Method
Insert
Insert inserts a value to the set. Returns true if the set did not already contain the specified element.
ds/randomized_set.go:20
Function
InsertSort
InsertSort ...
algo/sorts.go:8
Method
IsFull
IsFull checks if the ring buffer is full
ds/ring_buffer.go:50
Method
IsValidID
IsValidID check id is valid
sched/sched_test.go:373
Method
IsValidID
IsValidID check id is valid
sched/tests/task.go:56
Method
IsValidID
IsValidID check id is valid
sched/tests/retry.go:61
Method
Layer
Layer implements the Layer interface.
metal/moving/coreanim/coreanim.go:49
Method
Len
Len returns the length of given skiplist.
ds/skiplist.go:34
Method
Len
()
leaktest/leaktest.go:25
Method
Less
(i, j int)
sched/sched.go:367
Method
Less
(i, j int)
leaktest/leaktest.go:26
Function
MergeSort
MergeSort ...
algo/sorts.go:22
Method
Mult
Mult multiple element (i, j) with wal
mat/mat.go:144
Function
NewMinStack
NewMinStack ...
ds/min_stack.go:19
Function
NewQueue
NewQueue returns a queue
ds/queue.go:13
Function
NewRandomizedSet
NewRandomizedSet ...
ds/randomized_set.go:15
Function
NewStack
NewStack returns a new stack
ds/stack.go:13
Method
Pop
Pop ...
ds/min_stack.go:35
Method
Pop
Pop pops the top value out of the stack
ds/stack.go:23
Method
Pop
()
sched/sched.go:377
Method
Pop
()
lockfree/stack_test.go:61
Method
Pow
Pow computes power of n of element (i, j)
mat/mat.go:149
Method
ProtoMessage
()
benchs/restrpc/rpcs/add.pb.go:35
Method
ProtoMessage
()
benchs/restrpc/rpcs/add.pb.go:81
Method
Push
Push ...
ds/min_stack.go:24
Method
Push
Push pushes a value to the stack
ds/stack.go:18
← previous
next →
401–500 of 669, ranked by callers