MCPcopy Create free account

hub / github.com/changkun/pkg / functions

Functions669 in github.com/changkun/pkg

↓ 1 callersMethodb
()
ray/vector.go:19
↓ 1 callersFunctionbootServer
(success chan bool)
benchs/restrpc/main_test.go:18
↓ 1 callersMethodcall
()
hotkey/main.go:32
↓ 1 callersFunctioncheck
(arr []int)
ds/rbtree_test.go:29
↓ 1 callersFunctioncheckwork
()
mkill/mkill.go:25
↓ 1 callersMethodcolor
(world *hitableList, depth int)
ray/ray.go:44
↓ 1 callersMethodcompleteSliceUpload
(taskid string)
caption/xfyun/client.go:189
↓ 1 callersMethoddelCase2
(n *rbnode)
ds/rbtree.go:263
↓ 1 callersMethoddelCase3
(n *rbnode)
ds/rbtree.go:276
↓ 1 callersMethoddelCase4
(n *rbnode)
ds/rbtree.go:288
↓ 1 callersMethoddelCase5
(n *rbnode)
ds/rbtree.go:300
↓ 1 callersMethoddelCase6
(n *rbnode)
ds/rbtree.go:319
↓ 1 callersFunctionempty
benchs/gocall/c/ccall.c:19
↓ 1 callersFunctionfileSize
(filename string)
caption/xfyun/client.go:371
↓ 1 callersMethodg
()
ray/vector.go:16
↓ 1 callersFunctiongetDefaultConf
()
caption/xfyun/client.go:52
↓ 1 callersMethodgetRay
(s, t float64, r *ray)
ray/camera.go:37
↓ 1 callersMethodgetSizeAndSiceNum
(filename string)
caption/xfyun/client.go:327
↓ 1 callersMethodgetTimer
()
sched/sched.go:127
↓ 1 callersFunctionguess
guess implements an active user modeling regarding guess your preferred color
bo/example/main.go:63
↓ 1 callersMethodinitSliceUpload
(filename, language string, filesize, sliceNum int64)
caption/xfyun/client.go:123
↓ 1 callersMethodinsertCase2
(n *rbnode)
ds/rbtree.go:123
↓ 1 callersMethodinsertCase3
(n *rbnode)
ds/rbtree.go:129
↓ 1 callersMethodinsertCase4
(n *rbnode)
ds/rbtree.go:140
↓ 1 callersMethodinsertCase5
(n *rbnode)
ds/rbtree.go:150
↓ 1 callersFunctioninterestingGoroutine
(g string)
leaktest/leaktest.go:32
↓ 1 callersMethodlength
length of queue
sched/sched.go:268
↓ 1 callersFunctionlinear2sRGB
(v float64)
convert/color_space.go:19
↓ 1 callersMethodmaximumNode
()
ds/rbtree.go:53
↓ 1 callersFunctionmerge
(left []int, right []int)
algo/sorts.go:32
↓ 1 callersMethodmultV0
(vv *vec)
ray/vector.go:80
↓ 1 callersFunctionnewCamera
(lookfrom, lookat, vup *vec, vfov, aspect, aperture, focusDist float64)
ray/camera.go:15
↓ 1 callersFunctionnewHitableList
()
ray/hit.go:18
↓ 1 callersFunctionnewMutexQueue
()
lockfree/queue_test.go:68
↓ 1 callersFunctionnewMutexStack
()
lockfree/stack_test.go:51
↓ 1 callersFunctionnewTasks
(size int)
sched/sched_test.go:321
↓ 1 callersFunctionnewZeroTask
newZeroTask creates a task
sched/sched_test.go:337
↓ 1 callersMethodnormOutputs
()
bo/gp.go:135
↓ 1 callersMethodoutput
(prefix string, isTail bool, str *string)
ds/rbtree.go:344
↓ 1 callersMethodpeek
peek the top priority item without deletion
sched/sched.go:300
↓ 1 callersMethodperformSliceUpload
(filename, taskid string, filesize, sliceNum int64)
caption/xfyun/client.go:153
↓ 1 callersMethodpop
Pop item
sched/sched.go:285
↓ 1 callersMethodr
()
ray/vector.go:13
↓ 1 callersFunctionrandInUnitDisk
(r float64)
ray/camera.go:46
↓ 1 callersMethodrandomLevel
()
ds/skiplist.go:83
↓ 1 callersFunctionread_call
benchs/syscall/c/syscall.c:17
↓ 1 callersMethodrefract
(n *vec, niOverNt float64, refracted *vec)
ray/vector.go:106
↓ 1 callersMethodreset
()
ray/ray.go:20
↓ 1 callersFunctionrun
()
metal/moving/main.go:40
↓ 1 callersFunctionsafeOpen
(src string)
misc/error-handling-abstraction/main.go:61
↓ 1 callersFunctionsampleParamsMap
(params []Param)
bo/optimizer.go:104
↓ 1 callersMethodscatter
(rin *ray, rec *hitRecord, attenuation *vec, scattered *ray)
ray/material.go:9
↓ 1 callersFunctionschlick
(cosine, refIdx float64)
ray/material.go:87
↓ 1 callersFunctionsend
(w io.Writer, client *speech.Client, gsf string)
caption/google/main.go:45
↓ 1 callersFunctionsetCamera
(nx, ny int)
ray/main.go:24
↓ 1 callersMethodsetTimer
(d time.Duration)
sched/sched.go:137
↓ 1 callersFunctionsetWorld
()
ray/main.go:35
↓ 1 callersFunctionslowGetGoID
()
rt/goid_test.go:19
↓ 1 callersMethodsqrt0
()
ray/vector.go:51
↓ 1 callersFunctionstartFPSCounter
()
metal/moving/main.go:181
↓ 1 callersFunctionstddiv
(x []float64)
rp/random_process.go:154
↓ 1 callersFunctiontimer_end
call this function to end a timer, returning nanoseconds elapsed as a long
benchs/gocall/c/ccall.c:12
↓ 1 callersFunctiontimer_end
benchs/syscall/c/syscall.c:27
↓ 1 callersFunctiontimer_start
call this function to start a nanosecond-resolution timer
benchs/gocall/c/ccall.c:5
↓ 1 callersFunctiontimer_start
benchs/syscall/c/syscall.c:21
↓ 1 callersMethodupdate
update of a given task
sched/sched.go:313
↓ 1 callersMethodworker
()
g/g.go:75
↓ 1 callersFunctionwriteAll
(fd int, buf []byte)
benchs/syscall/syscall_test.go:14
↓ 1 callersFunctionwritePNG
writePNG encodes the image m to a named file, in PNG format.
metal/hello/main.go:140
↓ 1 callersFunctionwrite_all
benchs/syscall/c/syscall.c:6
↓ 1 callersMethodztest
ztest implements a one-tailed (right) z test (assumption: Guassian). H0: w.events[len(w.events)/2:] <= w.events[0:len(w.events)/2] H1: w.events[len(w
rp/random_process.go:134
MethodAcceptable
Acceptable calculates whether the system can accept k events on next interval, here we implement by poission process. Since we have tested half of th
rp/random_process.go:107
MethodAdd
Add adds matrix B to A
mat/matadd.go:8
MethodAdd
Add ...
benchs/restrpc/rpcs/server.go:9
MethodAdd
(ctx context.Context, in *AddInput, opts ...grpc.CallOption)
benchs/restrpc/rpcs/add.pb.go:154
MethodAdd
(context.Context, *AddInput)
benchs/restrpc/rpcs/add.pb.go:165
MethodAdd
Add bulk adds XY pairs.
bo/gp.go:92
FunctionAll
All a list of function to be executed
promise/wg.go:16
FunctionBasicBarrier
BasicBarrier returns -Inf if an x value is outside the param range.
bo/exploration.go:41
FunctionBenchmarkAPIRestful
(b *testing.B)
benchs/restrpc/main_test.go:81
FunctionBenchmarkAPIgRPC
(b *testing.B)
benchs/restrpc/main_test.go:105
FunctionBenchmarkCall
(b *testing.B)
maint/bench_test.go:14
FunctionBenchmarkDotBlock
----------------------- benchmarks ----------------------------
mat/matmult_block_test.go:103
FunctionBenchmarkDotNaive
----------------------- benchmarks ----------------------------
mat/matmult_naive_test.go:70
FunctionBenchmarkEmptyCgoCalls
(b *testing.B)
benchs/gocall/gocall_test.go:9
FunctionBenchmarkEmptyGoCalls
(b *testing.B)
benchs/gocall/gocall_test.go:15
FunctionBenchmarkFastrand
(b *testing.B)
gen/generator_test.go:27
FunctionBenchmarkGet
(b *testing.B)
rt/goid_test.go:56
FunctionBenchmarkLinear2sRGB
(b *testing.B)
convert/color_space_test.go:13
FunctionBenchmarkNewRand
-------------- benchmarks -----------------
mat/mat_test.go:189
FunctionBenchmarkPageFault
(b *testing.B)
mem/bench_test.go:35
FunctionBenchmarkPrefetch
(b *testing.B)
mem/bench_test.go:10
FunctionBenchmarkQueue
(b *testing.B)
lockfree/queue_test.go:90
FunctionBenchmarkRBTree_Put
(b *testing.B)
ds/rbtree_test.go:144
FunctionBenchmarkRand
(b *testing.B)
gen/generator_test.go:33
FunctionBenchmarkReadWriteCgoCalls
(b *testing.B)
benchs/syscall/syscall_test.go:25
FunctionBenchmarkReadWriteGoCalls
(b *testing.B)
benchs/syscall/syscall_test.go:33
FunctionBenchmarkReadWriteNetCalls
(b *testing.B)
benchs/syscall/syscall_test.go:41
FunctionBenchmarkRender
(b *testing.B)
ray/ray_test.go:13
FunctionBenchmarkStack
(b *testing.B)
lockfree/stack_test.go:69
← previousnext →301–400 of 669, ranked by callers