MCPcopy Create free account
hub / github.com/DOSNetwork/core / SetUint64

Method SetUint64

group/mod/int.go:195–198  ·  view source on GitHub ↗

SetUint64 sets the Int to an arbitrary uint64 value. The modulus must already be initialized.

(v uint64)

Source from the content-addressed store, hash-verified

193// SetUint64 sets the Int to an arbitrary uint64 value.
194// The modulus must already be initialized.
195func (i *Int) SetUint64(v uint64) kyber.Scalar {
196 i.V.SetUint64(v).Mod(&i.V, i.M)
197 return i
198}
199
200// Uint64 returns the uint64 representation of the value.
201// If the value is not representable in an uint64 the result is undefined.

Callers 3

NegMethod · 0.80
firstEventFunction · 0.80
SetGroupSizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected