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
↓ 1 callers
Method
b
()
ray/vector.go:19
↓ 1 callers
Function
bootServer
(success chan bool)
benchs/restrpc/main_test.go:18
↓ 1 callers
Method
call
()
hotkey/main.go:32
↓ 1 callers
Function
check
(arr []int)
ds/rbtree_test.go:29
↓ 1 callers
Function
checkwork
()
mkill/mkill.go:25
↓ 1 callers
Method
color
(world *hitableList, depth int)
ray/ray.go:44
↓ 1 callers
Method
completeSliceUpload
(taskid string)
caption/xfyun/client.go:189
↓ 1 callers
Method
delCase2
(n *rbnode)
ds/rbtree.go:263
↓ 1 callers
Method
delCase3
(n *rbnode)
ds/rbtree.go:276
↓ 1 callers
Method
delCase4
(n *rbnode)
ds/rbtree.go:288
↓ 1 callers
Method
delCase5
(n *rbnode)
ds/rbtree.go:300
↓ 1 callers
Method
delCase6
(n *rbnode)
ds/rbtree.go:319
↓ 1 callers
Function
empty
benchs/gocall/c/ccall.c:19
↓ 1 callers
Function
fileSize
(filename string)
caption/xfyun/client.go:371
↓ 1 callers
Method
g
()
ray/vector.go:16
↓ 1 callers
Function
getDefaultConf
()
caption/xfyun/client.go:52
↓ 1 callers
Method
getRay
(s, t float64, r *ray)
ray/camera.go:37
↓ 1 callers
Method
getSizeAndSiceNum
(filename string)
caption/xfyun/client.go:327
↓ 1 callers
Method
getTimer
()
sched/sched.go:127
↓ 1 callers
Function
guess
guess implements an active user modeling regarding guess your preferred color
bo/example/main.go:63
↓ 1 callers
Method
initSliceUpload
(filename, language string, filesize, sliceNum int64)
caption/xfyun/client.go:123
↓ 1 callers
Method
insertCase2
(n *rbnode)
ds/rbtree.go:123
↓ 1 callers
Method
insertCase3
(n *rbnode)
ds/rbtree.go:129
↓ 1 callers
Method
insertCase4
(n *rbnode)
ds/rbtree.go:140
↓ 1 callers
Method
insertCase5
(n *rbnode)
ds/rbtree.go:150
↓ 1 callers
Function
interestingGoroutine
(g string)
leaktest/leaktest.go:32
↓ 1 callers
Method
length
length of queue
sched/sched.go:268
↓ 1 callers
Function
linear2sRGB
(v float64)
convert/color_space.go:19
↓ 1 callers
Method
maximumNode
()
ds/rbtree.go:53
↓ 1 callers
Function
merge
(left []int, right []int)
algo/sorts.go:32
↓ 1 callers
Method
multV0
(vv *vec)
ray/vector.go:80
↓ 1 callers
Function
newCamera
(lookfrom, lookat, vup *vec, vfov, aspect, aperture, focusDist float64)
ray/camera.go:15
↓ 1 callers
Function
newHitableList
()
ray/hit.go:18
↓ 1 callers
Function
newMutexQueue
()
lockfree/queue_test.go:68
↓ 1 callers
Function
newMutexStack
()
lockfree/stack_test.go:51
↓ 1 callers
Function
newTasks
(size int)
sched/sched_test.go:321
↓ 1 callers
Function
newZeroTask
newZeroTask creates a task
sched/sched_test.go:337
↓ 1 callers
Method
normOutputs
()
bo/gp.go:135
↓ 1 callers
Method
output
(prefix string, isTail bool, str *string)
ds/rbtree.go:344
↓ 1 callers
Method
peek
peek the top priority item without deletion
sched/sched.go:300
↓ 1 callers
Method
performSliceUpload
(filename, taskid string, filesize, sliceNum int64)
caption/xfyun/client.go:153
↓ 1 callers
Method
pop
Pop item
sched/sched.go:285
↓ 1 callers
Method
r
()
ray/vector.go:13
↓ 1 callers
Function
randInUnitDisk
(r float64)
ray/camera.go:46
↓ 1 callers
Method
randomLevel
()
ds/skiplist.go:83
↓ 1 callers
Function
read_call
benchs/syscall/c/syscall.c:17
↓ 1 callers
Method
refract
(n *vec, niOverNt float64, refracted *vec)
ray/vector.go:106
↓ 1 callers
Method
reset
()
ray/ray.go:20
↓ 1 callers
Function
run
()
metal/moving/main.go:40
↓ 1 callers
Function
safeOpen
(src string)
misc/error-handling-abstraction/main.go:61
↓ 1 callers
Function
sampleParamsMap
(params []Param)
bo/optimizer.go:104
↓ 1 callers
Method
scatter
(rin *ray, rec *hitRecord, attenuation *vec, scattered *ray)
ray/material.go:9
↓ 1 callers
Function
schlick
(cosine, refIdx float64)
ray/material.go:87
↓ 1 callers
Function
send
(w io.Writer, client *speech.Client, gsf string)
caption/google/main.go:45
↓ 1 callers
Function
setCamera
(nx, ny int)
ray/main.go:24
↓ 1 callers
Method
setTimer
(d time.Duration)
sched/sched.go:137
↓ 1 callers
Function
setWorld
()
ray/main.go:35
↓ 1 callers
Function
slowGetGoID
()
rt/goid_test.go:19
↓ 1 callers
Method
sqrt0
()
ray/vector.go:51
↓ 1 callers
Function
startFPSCounter
()
metal/moving/main.go:181
↓ 1 callers
Function
stddiv
(x []float64)
rp/random_process.go:154
↓ 1 callers
Function
timer_end
call this function to end a timer, returning nanoseconds elapsed as a long
benchs/gocall/c/ccall.c:12
↓ 1 callers
Function
timer_end
benchs/syscall/c/syscall.c:27
↓ 1 callers
Function
timer_start
call this function to start a nanosecond-resolution timer
benchs/gocall/c/ccall.c:5
↓ 1 callers
Function
timer_start
benchs/syscall/c/syscall.c:21
↓ 1 callers
Method
update
update of a given task
sched/sched.go:313
↓ 1 callers
Method
worker
()
g/g.go:75
↓ 1 callers
Function
writeAll
(fd int, buf []byte)
benchs/syscall/syscall_test.go:14
↓ 1 callers
Function
writePNG
writePNG encodes the image m to a named file, in PNG format.
metal/hello/main.go:140
↓ 1 callers
Function
write_all
benchs/syscall/c/syscall.c:6
↓ 1 callers
Method
ztest
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
Method
Acceptable
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
Method
Add
Add adds matrix B to A
mat/matadd.go:8
Method
Add
Add ...
benchs/restrpc/rpcs/server.go:9
Method
Add
(ctx context.Context, in *AddInput, opts ...grpc.CallOption)
benchs/restrpc/rpcs/add.pb.go:154
Method
Add
(context.Context, *AddInput)
benchs/restrpc/rpcs/add.pb.go:165
Method
Add
Add bulk adds XY pairs.
bo/gp.go:92
Function
All
All a list of function to be executed
promise/wg.go:16
Function
BasicBarrier
BasicBarrier returns -Inf if an x value is outside the param range.
bo/exploration.go:41
Function
BenchmarkAPIRestful
(b *testing.B)
benchs/restrpc/main_test.go:81
Function
BenchmarkAPIgRPC
(b *testing.B)
benchs/restrpc/main_test.go:105
Function
BenchmarkCall
(b *testing.B)
maint/bench_test.go:14
Function
BenchmarkDotBlock
----------------------- benchmarks ----------------------------
mat/matmult_block_test.go:103
Function
BenchmarkDotNaive
----------------------- benchmarks ----------------------------
mat/matmult_naive_test.go:70
Function
BenchmarkEmptyCgoCalls
(b *testing.B)
benchs/gocall/gocall_test.go:9
Function
BenchmarkEmptyGoCalls
(b *testing.B)
benchs/gocall/gocall_test.go:15
Function
BenchmarkFastrand
(b *testing.B)
gen/generator_test.go:27
Function
BenchmarkGet
(b *testing.B)
rt/goid_test.go:56
Function
BenchmarkLinear2sRGB
(b *testing.B)
convert/color_space_test.go:13
Function
BenchmarkNewRand
-------------- benchmarks -----------------
mat/mat_test.go:189
Function
BenchmarkPageFault
(b *testing.B)
mem/bench_test.go:35
Function
BenchmarkPrefetch
(b *testing.B)
mem/bench_test.go:10
Function
BenchmarkQueue
(b *testing.B)
lockfree/queue_test.go:90
Function
BenchmarkRBTree_Put
(b *testing.B)
ds/rbtree_test.go:144
Function
BenchmarkRand
(b *testing.B)
gen/generator_test.go:33
Function
BenchmarkReadWriteCgoCalls
(b *testing.B)
benchs/syscall/syscall_test.go:25
Function
BenchmarkReadWriteGoCalls
(b *testing.B)
benchs/syscall/syscall_test.go:33
Function
BenchmarkReadWriteNetCalls
(b *testing.B)
benchs/syscall/syscall_test.go:41
Function
BenchmarkRender
(b *testing.B)
ray/ray_test.go:13
Function
BenchmarkStack
(b *testing.B)
lockfree/stack_test.go:69
← previous
next →
301–400 of 669, ranked by callers