摘要:
1 package main 2 3 import "fmt" 4 5 type Vector []float64 6 7 func (v Vector) DoSome(i,n int, u Vector, c chan float64) { 8 var sum float64 9 for ; i<n; i++ {10 sum += u[i]11 }12 c <- sum 13 }14 15 const NCPU = 216 17 func (v *Vector) DoAll(u Vector) {18 c := make(chan float64, NC... 阅读全文
摘要:
|------ |------- |-------manager.go |-------manager_test.go |------- |-------play.go |-------mp3.go |-------wav.go |-------- |-------mplayer.go |------ |-----------------------------------------------------------... 阅读全文