Documentation ¶
Index ¶
- Constants
- type Coder16
- func (coder Coder16) AdaptiveCoder() Model
- func (coder Coder16) AdaptiveCoder32() Model32
- func (decoder Coder16) AdaptiveDecoder() Model
- func (decoder Coder16) AdaptiveDecoder32() Model32
- func (coder Coder16) AdaptivePredictiveBitCoder() Model
- func (decoder Coder16) AdaptivePredictiveBitDecoder() Model
- func (coder Coder16) AdaptivePredictiveCoder() Model
- func (coder Coder16) AdaptivePredictiveCoder32() Model32
- func (decoder Coder16) AdaptivePredictiveDecoder() Model
- func (decoder Coder16) AdaptivePredictiveDecoder32() Model32
- type Coder8
- type Edge
- type Lyndon
- type Model
- type Model32
- type Rotations
- type SuffixTree
- type Symbol
- type Symbol32
Constants ¶
View Source
const ( BUFFER_COUNT = 1 << 3 BUFFER_SIZE = 1 << 10 BUFFER_CHAN_SIZE = BUFFER_COUNT - 2 BUFFER_POOL_SIZE = BUFFER_COUNT * BUFFER_SIZE BUFFER_POOL_SIZE_MASK = BUFFER_POOL_SIZE - 1 )
View Source
const ( MAX_SCALE16 = (1 << (16 - 2)) - 1 MAX_SCALE32 = (1 << (32 - 2)) - 1 )
View Source
const SYMBOL_SIZE = 9
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coder16 ¶
func (Coder16) AdaptiveCoder ¶
func (Coder16) AdaptiveCoder32 ¶
func (Coder16) AdaptiveDecoder ¶
func (Coder16) AdaptiveDecoder32 ¶
func (Coder16) AdaptivePredictiveBitCoder ¶
func (Coder16) AdaptivePredictiveBitDecoder ¶
func (Coder16) AdaptivePredictiveCoder ¶
func (Coder16) AdaptivePredictiveCoder32 ¶
func (Coder16) AdaptivePredictiveDecoder ¶
func (Coder16) AdaptivePredictiveDecoder32 ¶
type Coder8 ¶
func BurrowsWheelerCoder ¶
func BurrowsWheelerDecoder ¶
func (Coder8) MoveToFrontCoder ¶
func (Coder8) MoveToFrontDecoder ¶
func (Coder8) MoveToFrontRunLengthCoder ¶
func (Coder8) MoveToFrontRunLengthDecoder ¶
type SuffixTree ¶
type SuffixTree struct {
// contains filtered or unexported fields
}
func BuildSuffixTree ¶
func BuildSuffixTree(input []byte) *SuffixTree
func (*SuffixTree) BurrowsWheelerCoder ¶
func (tree *SuffixTree) BurrowsWheelerCoder() (<-chan byte, <-chan int)
func (*SuffixTree) Index ¶
func (tree *SuffixTree) Index(sep string) int
Source Files ¶
Click to show internal directories.
Click to hide internal directories.