示例#1
0
文件: qrng.go 项目: postfix/gsl-1
func Size(q *GslQrng) int {
	return int(C.gsl_qrng_size((*C.gsl_qrng)(unsafe.Pointer(q.Ptr()))))
}
示例#2
0
// Size returns the size of the generator
func (s *QrngState) Size() uint64 {
	return uint64(C.gsl_qrng_size(s.state))
}