Sha256: dddf6f198a966a382c35f49dfd70788ab78ec6fda3cbc5a20598394a428b635b

Contents?: true

Size: 1.06 KB

Versions: 16

Compression:

Stored size: 1.06 KB

Contents

package brotli

/* Copyright 2017 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

/* Parameters for the Brotli encoder with chosen quality levels. */
type hasherParams struct {
	type_                       int
	bucket_bits                 int
	block_bits                  int
	hash_len                    int
	num_last_distances_to_check int
}

type distanceParams struct {
	distance_postfix_bits     uint32
	num_direct_distance_codes uint32
	alphabet_size             uint32
	max_distance              uint
}

/* Encoding parameters */
type encoderParams struct {
	mode                             int
	quality                          int
	lgwin                            uint
	lgblock                          int
	size_hint                        uint
	disable_literal_context_modeling bool
	large_window                     bool
	hasher                           hasherParams
	dist                             distanceParams
	dictionary                       encoderDictionary
}

Version data entries

16 entries across 16 versions & 1 rubygems

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