MCPcopy Create free account

hub / github.com/changkun/pkg / functions

Functions669 in github.com/changkun/pkg

↓ 2 callersMethodupdateNames
updateNames sets the gaussian process names.
bo/optimizer.go:76
↓ 1 callersFunctionAdaptiveKolmogorovZurbenko
AdaptiveKolmogorovZurbenko performs an adaptive Kolmogorov-Zurbenko (KZA) filter of xs using an initial window size m and k iterations. m must be a po
detect/change.go:53
↓ 1 callersFunctionBinarySearch
BinarySearch implements binary search algorithm. It returns the index if element x is found in arr Otherwise it returns -1.
algo/searchs.go:12
↓ 1 callersMethodCENTER
(i, j int)
csp/csp.go:945
↓ 1 callersFunctionCempty
Cempty is an empty cgo call
benchs/gocall/cgocall.go:10
↓ 1 callersFunctionClear
Clear deletes all gls data
gls/gls.go:41
↓ 1 callersMethodContentView
ContentView returns the window's content view, the highest accessible View in the window's view hierarchy. Reference: https://developer.apple.com/doc
metal/moving/appkit/appkit.go:39
↓ 1 callersFunctionCread
Cread is a cgo call for read
benchs/syscall/syscall.go:31
↓ 1 callersFunctionCwriteAll
CwriteAll is a cgo call for write
benchs/syscall/syscall.go:25
↓ 1 callersFunctionDot
Dot matrix multiplication
mat/matmult.go:18
↓ 1 callersMethodDotBlock
DotBlock matrix multiplication Use JIK block 36 version here, see ./benchmark/README.md
mat/matmult_block.go:9
↓ 1 callersMethodDotBlockJIK
DotBlockJIK block matrix multiplication
mat/matmult_block_jik.go:10
↓ 1 callersMethodDotBlockJIKP
DotBlockJIKP block matrix multiplication
mat/matmult_block_jik.go:79
↓ 1 callersMethodDotBlockP
DotBlockP matrix multiplication Use JIKP block 36 version here, see ./benchmark/README.md
mat/matmult_block.go:15
↓ 1 callersMethodDotNaive
DotNaive matrix multiplication O(n^3) Use JIK version here, see ./benchmark/README.md
mat/matmult_naive.go:9
↓ 1 callersMethodDotNaiveJIK
DotNaiveJIK matrix multiplication O(n^3)
mat/matmult_naive_jik.go:10
↓ 1 callersMethodDotNaiveJIKP
DotNaiveJIKP matrix multiplication O(n^3)
mat/matmult_naive_jik.go:32
↓ 1 callersMethodDotNaiveP
DotNaiveP matrix multiplication O(n^3) Use JIKP version here, see ./benchmark/README.md
mat/matmult_naive.go:15
↓ 1 callersFunctionDotP
DotP matrix multiplication
mat/matmult.go:27
↓ 1 callersMethodEAST
(i int)
csp/csp.go:939
↓ 1 callersFunctionEmpty
Empty is an empty go call
benchs/gocall/cgocall.go:15
↓ 1 callersMethodEstimate
Estimate returns the mean and standard deviation at the point x.
bo/gp.go:145
↓ 1 callersFunctionExecute
Execute defines the root cmd
hue/cmd/root.go:23
↓ 1 callersMethodExplorationErr
ExplorationErr returns the error of exploration
bo/optimizer.go:259
↓ 1 callersFunctionGOMAXTHREADS
GOMAXTHREADS change the limits of the maximum threads in runtime and returns the previous number of threads limit
mkill/mkill.go:66
↓ 1 callersMethodGet
Get gets the first element from queue
ds/ring_buffer.go:39
↓ 1 callersMethodGetLights
GetLights returns all lights in the given bridge
hue/lights/bridge.go:23
↓ 1 callersMethodGetResult
GetResult ...
caption/xfyun/client.go:259
↓ 1 callersMethodGetRetryTime
GetRetryTime returns the retry time if a task was failed.
sched/sched.go:25
↓ 1 callersMethodGrad
(a, b []float64)
bo/gp.go:205
↓ 1 callersMethodGradient
Gradient returns the gradient of the mean at the point x.
bo/gp.go:170
↓ 1 callersMethodInc
Inc adds element (i, j) with wal
mat/mat.go:139
↓ 1 callersFunctionInit
Init ...
sysmon/sysmon.go:27
↓ 1 callersMethodIsFirstZero
IsFirstZero check if first is zero time
sched/tests/order.go:31
↓ 1 callersFunctionIsStringsContains
IsStringsContains check if string slice contains specfied target string.
slice/slice.go:8
↓ 1 callersMethodLayer
Layer returns the underlying CALayer * pointer.
metal/moving/coreanim/coreanim.go:31
↓ 1 callersFunctionLinear2sRGB
Linear2sRGB converts linear inputs to sRGB space.
convert/color_space.go:10
↓ 1 callersFunctionMakeMetalLayer
MakeMetalLayer creates a new Core Animation Metal layer. Reference: https://developer.apple.com/documentation/quartzcore/cametallayer.
metal/moving/coreanim/coreanim.go:44
↓ 1 callersMethodMult
(i, j int, val float64)
mat/interface.go:15
↓ 1 callersMethodNORTH
(j int)
csp/csp.go:933
↓ 1 callersFunctionNew
New ...
caption/xfyun/client.go:82
↓ 1 callersFunctionNew
New creates a new erorr with given string.
errors/errors.go:7
↓ 1 callersFunctionNewArithmeticClient
(cc *grpc.ClientConn)
benchs/restrpc/rpcs/add.pb.go:150
↓ 1 callersFunctionNewBridge
NewBridge creates a new hue bridge by given hostname and username.
hue/lights/bridge.go:18
↓ 1 callersFunctionNewCountProcess
NewCountProcess creates a new counting random process. maxsize represents the observation window size of the count process. confidenceLevel gives the
rp/random_process.go:66
↓ 1 callersFunctionNewGCSignal
NewGCSignal creates a GC signal for the complextion of GC cycle.
rt/gc.go:17
↓ 1 callersFunctionNewLRU
NewLRU ...
ds/lru.go:19
↓ 1 callersFunctionNewRetryTask
NewRetryTask creates a task
sched/tests/retry.go:24
↓ 1 callersFunctionNewRingBuffer
NewRingBuffer creates a ring buffer with given capacity
ds/ring_buffer.go:15
↓ 1 callersFunctionNewS52_IntegerSemaphore
()
csp/csp.go:655
↓ 1 callersFunctionNewSkipList
NewSkipList returns a skiplist.
ds/skiplist.go:25
↓ 1 callersFunctionNewWaitGroup
NewWaitGroup creates a new WaitGroup of sync.WaitGroup
promise/wg.go:48
↓ 1 callersFunctionNewWindow
NewWindow returns a Window that wraps an existing NSWindow * pointer.
metal/moving/appkit/appkit.go:31
↓ 1 callersMethodNextDrawable
NextDrawable returns a Metal drawable. Reference: https://developer.apple.com/documentation/quartzcore/cametallayer/1478172-nextdrawable.
metal/moving/coreanim/coreanim.go:110
↓ 1 callersMethodP
P operator decreases semaphore
csp/csp.go:693
↓ 1 callersMethodPixelFormat
PixelFormat returns the pixel format of textures for rendering layer content. Reference: https://developer.apple.com/documentation/quartzcore/cametal
metal/moving/coreanim/coreanim.go:54
↓ 1 callersMethodPop
()
lockfree/stack_test.go:43
↓ 1 callersMethodPredict
Predict consumes all historical X and Y and predict the next x
bo/optimizer.go:279
↓ 1 callersMethodPut
Put puts x into ring buffer
ds/ring_buffer.go:23
↓ 1 callersFunctionQueryEncoder
QueryEncoder encodes a key value map to URL query string
net/net.go:28
↓ 1 callersFunctionRandomString
RandomString generates a random string
gen/generator.go:15
↓ 1 callersFunctionRegister
Register ...
benchs/restrpc/route/register.go:12
↓ 1 callersFunctionRegisterArithmeticServer
(s *grpc.Server, srv ArithmeticServer)
benchs/restrpc/rpcs/add.pb.go:168
↓ 1 callersFunctionRegisterHotKey
RegisterHotKey registers fn as a callback for a configured global hotkey. This function must run on the main thread.
hotkey/main.go:44
↓ 1 callersFunctionRenderGP
RenderGP renders a plot of the gaussian process for the specified dimension.
bo/optimizer_test.go:49
↓ 1 callersMethodReset
()
benchs/restrpc/rpcs/add.pb.go:33
↓ 1 callersFunctionRun
Run runs an initialized system momitor
sysmon/sysmon.go:43
↓ 1 callersMethodRunSerial
RunSerial will call f sequentially without parallelism. It blocks until all rounds have elapsed, or Stop is called.
bo/optimizer.go:292
↓ 1 callersFunctionS32_SQUASH
S32_SQUASH implements Section 3.2 SQUASH problem: "Adapt the previous program to replace every pair of consecutive asterisks "**" by an upward arrow "
csp/csp.go:121
↓ 1 callersFunctionS35_Reformat
S35_Reformat implements Section 3.5 Reformat problem: "Read a sequence of cards of 80 characters each, and print the characters on a lineprinter at 12
csp/csp.go:279
↓ 1 callersFunctionS36_ConwayProblem
S36_ConwayProblem implements Section 3.6 Conway's Problem: "Adapt the above program to replace every pair of consecutive asterisk by an upward arrow."
csp/csp.go:293
↓ 1 callersFunctionS41_DivisionWithRemainder
S41_DivisionWithRemainder implements Section 4.1 Division With Remainer. "Construct a process to represent a function type subroutine, which accepts a
csp/csp.go:321
↓ 1 callersFunctionS42_Factorial
S42_Factorial implements Section 4.2 Factorial "Compute a factorial by the recursive method, to a given limit." Solution: [fac(i:1..limit):: *[n:int
csp/csp.go:347
↓ 1 callersMethodS44_Scan
S44_Scan implements Section 4.4 Scanning a Set "Extend the solution to 4.3 by providing a fast method for scanning all members of the set without chan
csp/csp.go:458
↓ 1 callersFunctionS45_S46_NewRecursiveSmallSetOfIntegers
S45_RecursiveSmallSetOfIntegers implements Section 4.5 Recursive Data Representation: Small Set of Integers. "Same as above, but an array of processes
csp/csp.go:506
↓ 1 callersFunctionS51_BoundedBuffer
S51_BoundedBuffer implements Section 5.1 Bounded Buffer "Construct a buffering process X to smooth variations in the speed of output of portions by a
csp/csp.go:609
↓ 1 callersFunctionS53_DiningPhilosophers
S53_DiningPhilosophers implements Section 5.3 Dining Philosophers "Five philosophers spend their lives thinking and eating. The philosophers share a c
csp/csp.go:746
↓ 1 callersFunctionS61_TheSieveOfEratosthenes
S61_TheSieveOfEratosthenes implements Section 6.1 Prime Numbers: The Sieve of Eratosthenes. "To print in ascending order all primes less than 10000. U
csp/csp.go:833
↓ 1 callersMethodS62_Multiply
(IN [][]int)
csp/csp.go:987
↓ 1 callersFunctionS62_NewMatrix
(A [][]int)
csp/csp.go:954
↓ 1 callersFunctionSetDebug
SetDebug enables debug information for mkill
mkill/mkill.go:71
↓ 1 callersMethodSetDevice
SetDevice sets the Metal device responsible for the layer's drawable resources. Reference: https://developer.apple.com/documentation/quartzcore/camet
metal/moving/coreanim/coreanim.go:61
↓ 1 callersMethodSetDisplaySyncEnabled
SetDisplaySyncEnabled controls whether the Metal layer and its drawables are synchronized with the display's refresh rate. Reference: https://develop
metal/moving/coreanim/coreanim.go:96
↓ 1 callersMethodSetFirst
SetFirst time
sched/tests/order.go:38
↓ 1 callersMethodSetLast
SetLast time
sched/tests/order.go:52
↓ 1 callersMethodSetLayer
SetLayer sets v.layer to l. Reference: https://developer.apple.com/documentation/appkit/nsview/1483298-layer.
metal/moving/appkit/appkit.go:53
↓ 1 callersMethodSetMaximumDrawableCount
SetMaximumDrawableCount controls the number of Metal drawables in the resource pool managed by Core Animation. It can set to 2 or 3 only. SetMaximumD
metal/moving/coreanim/coreanim.go:85
↓ 1 callersMethodSetNames
SetNames ...
bo/gp.go:46
↓ 1 callersMethodSetPixelFormat
SetPixelFormat controls the pixel format of textures for rendering layer content. The pixel format for a Metal layer must be PixelFormatBGRA8UNorm, P
metal/moving/coreanim/coreanim.go:72
↓ 1 callersMethodSetWantsLayer
SetWantsLayer sets v.wantsLayer to wantsLayer. Reference: https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer.
metal/moving/appkit/appkit.go:60
↓ 1 callersMethodSize
Size of matrix
mat/mat.go:114
↓ 1 callersFunctionStop
Stop stops system monitoring
sysmon/sysmon.go:74
↓ 1 callersFunctionStore
Store stores goroutine local data
gls/gls.go:20
↓ 1 callersMethodStore
Store stores given number of events
rp/random_process.go:75
↓ 1 callersMethodString
()
ds/rbtree.go:340
↓ 1 callersMethodTexture
Texture returns a Metal texture object representing the drawable object's content. Reference: https://developer.apple.com/documentation/quartzcore/ca
metal/moving/coreanim/coreanim.go:132
↓ 1 callersMethodUploadAudio
UploadAudio ...
caption/xfyun/client.go:95
↓ 1 callersMethodV
V operator increases semaphore
csp/csp.go:698
↓ 1 callersMethodWaitUntilTimeout
WaitUntilTimeout waits for the waitgroup for the specified max timeout. Returns true if waiting timed out. Note that function added to waitgroup is st
promise/wg.go:73
↓ 1 callersMethodWithUndo
WithUndo sets up a function that can be executed if a goroutine is canceled.
g/g.go:38
← previousnext →201–300 of 669, ranked by callers