Versions in this module Expand all Collapse all v0 v0.0.3 Aug 16, 2024 v0.0.2 Aug 14, 2024 Changes in this version + const CostOfAddGate + const CostOfCstGate + const CostOfInput + const CostOfMulGate + const CostOfVariable + func CostOfCompress(deg0, deg1, deg2 int) int + func CostOfMultiply(aDeg0, aDeg1, bDeg0, bDeg1 int) int + func FromInterface(input interface{}) big.Int + func NextPowerOfTwo(x int, is4 bool) int + func ShowProfiling(varSourceInfo []SourceInfo, varCost []int) + func SortIntSeq(s []int, cmp func(int, int) bool) + type Hashable interface + EqualI func(Hashable) bool + HashCode func() uint64 + type InputBuf struct + func NewInputBuf(buf []byte) *InputBuf + func (i *InputBuf) ReadBigInt() *big.Int + func (i *InputBuf) ReadUint32() uint32 + func (i *InputBuf) ReadUint64() uint64 + type IntSeq struct + func (l *IntSeq) Len() int + func (l *IntSeq) Less(i, j int) bool + func (l *IntSeq) Swap(i, j int) + type Map map[uint64][]mapEntry + func (m Map) Add(e Hashable, v interface{}) interface{} + func (m Map) Clear() + func (m Map) FilterKeys(f func(interface{}) bool) []Hashable + func (m Map) Find(e Hashable) (interface{}, bool) + func (m Map) Set(e Hashable, v interface{}) + type OutputBuf struct + func (o *OutputBuf) AppendBigInt(x *big.Int) + func (o *OutputBuf) AppendUint32(x uint32) + func (o *OutputBuf) AppendUint64(x uint64) + func (o *OutputBuf) Bytes() []byte + type SourceInfo struct + File string + Line int