Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/pkg
/ types & classes
Types & classes
109 in github.com/changkun/pkg
⨍
Functions
669
◇
Types & classes
109
↓ 1 callers
TypeAlias
goroutineByID
leaktest/leaktest.go:23
↓ 1 callers
FuncType
randerFunc
func([]float64) []float64
bo/optimizer.go:112
Struct
AddInput
please upgrade the proto package
benchs/restrpc/rpcs/add.pb.go:25
Struct
AddOutput
benchs/restrpc/rpcs/add.pb.go:72
Interface
ArithmeticClient
ArithmeticClient is the client API for Arithmetic service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://go
benchs/restrpc/rpcs/add.pb.go:142
Interface
ArithmeticServer
ArithmeticServer is the server API for Arithmetic service.
benchs/restrpc/rpcs/add.pb.go:164
Struct
Attempt
Attempt defines a struct that contains attempt strategy
promise/attempt.go:21
Struct
AttemptStrategy
AttemptStrategy represents a strategy for waiting for an action to complete successfully. This is an internal type used by the implementation of other
promise/attempt.go:14
Interface
BarrierFunc
BarrierFunc returns a value that is added to the value to bound the optimization.
bo/exploration.go:35
Struct
BoundsMethod
BoundsMethod is a hack that contains the target space.
bo/bounds.go:16
Struct
Bridge
Bridge implements a hue light bridge
hue/lights/bridge.go:12
Struct
Client
Client ...
caption/xfyun/client.go:69
Struct
Conf
Conf config struct
caption/xfyun/client.go:42
Struct
Conn
Conn is a connection for accessing xfyun APIs.
caption/xfyun/client.go:63
Interface
Cov
Cov calculates the covariance between a and b.
bo/gp.go:203
Struct
Dense
Dense implements Matrix interface dense matrix underlying data struct
mat/mat.go:25
Interface
Exploration
Exploration is the strategy to use for exploring the Gaussian process.
bo/exploration.go:12
Struct
ExponentialParam
ExponentialParam is an exponentially distributed parameter between 0 and in the range (0, +math.MaxFloat64] whose rate parameter (lambda) is Rate and
bo/param.go:97
Struct
G
G is a goroutine
g/g.go:26
Struct
GCSignal
GCSignal is a signal that allows you to receive a notification after GC cycle
rt/gc.go:7
Struct
GP
GP represents a gaussian process.
bo/gp.go:18
Struct
LRU
LRU ...
ds/lru.go:13
Interface
Layer
Layer is an object that manages image-based content and allows you to perform animations on that content. Reference: https://developer.apple.com/docu
metal/moving/coreanim/coreanim.go:29
FuncType
Less
Less defines a function that compares the order of a and b. Returns true if a < b
common/common.go:9
Struct
Light
Light represents an individual light component
hue/lights/lights.go:11
Struct
LogBarrier
LogBarrier implements a logarithmic barrier function.
bo/exploration.go:52
Struct
MaternCov
MaternCov calculates the covariance between a and b. nu = 2.5 https://en.wikipedia.org/wiki/Mat%C3%A9rn_covariance_function#Simplification_for_.CE.BD_
bo/gp.go:210
Interface
Matrix
Matrix interface
mat/interface.go:8
Struct
MetalDrawable
MetalDrawable is a displayable resource that can be rendered or written to by Metal. Reference: https://developer.apple.com/documentation/quartzcore/
metal/moving/coreanim/coreanim.go:122
Struct
MetalLayer
MetalLayer is a Core Animation Metal layer, a layer that manages a pool of Metal drawables. Reference: https://developer.apple.com/documentation/quar
metal/moving/coreanim/coreanim.go:37
Struct
MinStack
MinStack ...
ds/min_stack.go:10
Struct
Node
Node ...
ds/lru.go:8
Struct
NormalParam
NormalParam is a normally distributed parameter with Mean and StdDev. The Max and Min parameters use discard sampling to find a point between them. Se
bo/param.go:62
Struct
Optimizer
Optimizer is a blackbox gaussian process optimizer.
bo/optimizer.go:37
FuncType
OptimizerOption
OptimizerOption sets an option on the optimizer.
bo/options.go:8
Struct
Order
Order is used for recording execution order
sched/tests/order.go:16
Interface
Param
Param represents a parameter that can be optimized.
bo/param.go:17
Struct
Queue
Queue is a FIFO queue
ds/queue.go:8
Struct
Queue
Queue implements lock-free FIFO freelist based queue. ref: https://dl.acm.org/citation.cfm?doid=248052.248106
lockfree/queue.go:14
Struct
RBTree
RBTree is a red-black tree
ds/rbtree.go:61
Interface
RandomProcess
RandomProcess defines two type of tests for given observations.
rp/random_process.go:46
Struct
RandomizedSet
RandomizedSet implements O(1) randomized set
ds/randomized_set.go:10
Struct
RejectionParam
RejectionParam samples from Param and then uses F to decide whether or not to reject the sample. This is typically used with a UniformParam. F should
bo/param.go:144
Struct
RequestParams
RequestParams ...
net/net.go:21
Struct
RespInfo
RespInfo ...
caption/xfyun/client.go:74
Struct
RetryTask
RetryTask implements task.Interface However it has no export field, which is not able to be scheduled by sched
sched/tests/retry.go:16
Struct
RingBuffer
RingBuffer implements ring buffer queue
ds/ring_buffer.go:8
Struct
S41_In
csp/csp.go:300
Struct
S41_Out
csp/csp.go:303
Struct
S43_SmallSetOfIntegers
S43_SmallSetOfIntegers implements Section 4.3 Small Set Of Integers. "To represent a set of not more than 100 integers as a process, S, which accepts
csp/csp.go:392
Struct
S45_Has
csp/csp.go:583
Struct
S46_Least
csp/csp.go:588
Struct
S52_IntegerSemaphore
S52_IntegerSemaphore implements Section 5.2 Integer Semaphore. "To implement an integer semaphore, S, shared among an array X(i:1..100) of client proc
csp/csp.go:649
Struct
S62_Matrix
S62_MatrixMultiplication implements Section 6.2 An interative Array: Matrix Multiplication. "A square matrix A of order 3 is given. Three streams are
csp/csp.go:923
Struct
SafeCopy
misc/error-handling-abstraction/main.go:55
Struct
Server
Server ...
benchs/restrpc/rpcs/server.go:6
Struct
SkipList
A SkipList maintains an ordered collection of key:valkue pairs. It support insertion, lookup, and deletion operations with O(log n) time complexity Pa
ds/skiplist.go:17
Struct
Stack
Stack is a FILO stack
ds/stack.go:8
Struct
Stack
Stack implements lock-free freelist based stack.
lockfree/stack.go:13
Struct
State
State represents all states of a light light
hue/lights/lights.go:22
Interface
Task
Task interface for sched
sched/sched.go:19
Struct
Task
Task implements task.Interface
sched/tests/task.go:13
Interface
TaskFuture
TaskFuture is the future of Task execution
sched/sched.go:32
Struct
TestCase
algo/sorts_test.go:16
Struct
UCB
UCB implements upper confidence bound exploration.
bo/exploration.go:17
Struct
UniformParam
UniformParam is a uniformly distributed parameter between Max and Min.
bo/param.go:32
Struct
UniqueRand
ds/rbtree_test.go:15
Struct
Vertex
Create a vertex buffer.
metal/moving/main.go:133
Struct
Vertex
Create a vertex buffer.
metal/hello/main.go:85
Struct
View
View is the infrastructure for drawing, printing, and handling events in an app. Reference: https://developer.apple.com/documentation/appkit/nsview.
metal/moving/appkit/appkit.go:46
Struct
WaitGroup
WaitGroup wrapper
promise/wg.go:43
Struct
Window
Window is a window that an app displays on the screen. Reference: https://developer.apple.com/documentation/appkit/nswindow.
metal/moving/appkit/appkit.go:26
Struct
arithmeticClient
benchs/restrpc/rpcs/add.pb.go:146
Struct
camera
ray/camera.go:8
Struct
catch
errors/errors.go:17
TypeAlias
color
ds/rbtree.go:13
Struct
countProcess
CountProcess caches historical number of events, which provides significant test and poission process evaluation.
rp/random_process.go:54
Struct
dielectric
ray/material.go:46
Struct
directItem
lockfree/common.go:12
Struct
dummy
rt/gc.go:11
Struct
future
sched/sched.go:344
Struct
gocallback
hotkey/main.go:30
Struct
goroutine
leaktest/leaktest.go:18
Struct
hitRecord
ray/hit.go:3
Interface
hitable
ray/hit.go:10
Struct
hitableList
ray/hit.go:14
Struct
lambertian
ray/material.go:12
Interface
material
ray/material.go:8
Struct
metal
ray/material.go:27
Struct
mutexQueue
lockfree/queue_test.go:63
Struct
mutexStack
lockfree/stack_test.go:46
Struct
node
ds/min_stack.go:13
Struct
pair
bo/optimizer_test.go:57
Struct
progressData
caption/xfyun/client.go:240
Interface
queueInterface
lockfree/queue_test.go:58
Struct
ray
ray/ray.go:7
Struct
rbnode
ds/rbtree.go:20
Struct
sched
sched is the actual scheduler for task scheduling sched implements greedy scheduling, with a timer and a task queue, the task queue is a priority que
sched/sched.go:93
Struct
skiplistitem
ds/skiplist.go:152
Struct
sphere
ray/sphere.go:7
next →
1–100 of 109, ranked by callers