Sha256: c35129652884ae9e2cc5c52e763a5411bd513efda26d13c20fbb64f046945d4d

Contents?: true

Size: 629 Bytes

Versions: 16

Compression:

Stored size: 629 Bytes

Contents

package brotli

/* Dictionary data (words and transforms) for 1 possible context */
type encoderDictionary struct {
	words                 *dictionary
	cutoffTransformsCount uint32
	cutoffTransforms      uint64
	hash_table            []uint16
	buckets               []uint16
	dict_words            []dictWord
}

func initEncoderDictionary(dict *encoderDictionary) {
	dict.words = getDictionary()

	dict.hash_table = kStaticDictionaryHash[:]
	dict.buckets = kStaticDictionaryBuckets[:]
	dict.dict_words = kStaticDictionaryWords[:]

	dict.cutoffTransformsCount = kCutoffTransformsCount
	dict.cutoffTransforms = kCutoffTransforms
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.6 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.5 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.4 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.2 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.1 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.3.0 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.2.1 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.2.0 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.1.1 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.1.0 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.0.2 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.0.1 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go
ruby_snowflake_client-1.0.0 ext/vendor/github.com/andybalholm/brotli/encoder_dict.go