Documentation
¶
Index ¶
- func DivCeiling(a, b uint) uint
- func Max(a, b int) int
- func Min(a, b int) int
- func MinU(a, b uint) uint
- func SerializationRoundTrip(o Serializable) func(*testing.T)
- func SerializationRoundTripRaw(o RawSerializable) func(*testing.T)
- func ToSubscript(s string) string
- func ToSuperscript(s string) string
- type RawSerializable
- type Serializable
- type Task
- type WorkerPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SerializationRoundTrip ¶ added in v0.11.0
func SerializationRoundTrip(o Serializable) func(*testing.T)
func SerializationRoundTripRaw ¶ added in v0.11.2
func SerializationRoundTripRaw(o RawSerializable) func(*testing.T)
func ToSubscript ¶
ToSubscript converts a string to subscript to the utmost. It will use original rune if there has no corresponding subscript for a letter.
func ToSuperscript ¶
ToSuperscript converts a string to superscript to the utmost. It will use original rune if there has no corresponding superscript for a letter.
Types ¶
type RawSerializable ¶ added in v0.11.2
type Serializable ¶ added in v0.11.0
type Serializable interface { io.ReaderFrom io.WriterTo }
type WorkerPool ¶ added in v0.9.1
type WorkerPool struct {
// contains filtered or unexported fields
}
func NewWorkerPool ¶ added in v0.9.1
func NewWorkerPool() *WorkerPool
func (*WorkerPool) Stop ¶ added in v0.9.1
func (wp *WorkerPool) Stop()
Stop (but does not wait) the pool. It frees the worker.
Click to show internal directories.
Click to hide internal directories.