Sha256: 10ade449bf2d83e11dce487ceb99cf5689919e024d63b6887d5711f750bf96b7

Contents?: true

Size: 1.34 KB

Versions: 16

Compression:

Stored size: 1.34 KB

Contents

package brotli

/* Copyright 2013 Google Inc. All Rights Reserved.

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

func brotli_min_double(a float64, b float64) float64 {
	if a < b {
		return a
	} else {
		return b
	}
}

func brotli_max_double(a float64, b float64) float64 {
	if a > b {
		return a
	} else {
		return b
	}
}

func brotli_min_float(a float32, b float32) float32 {
	if a < b {
		return a
	} else {
		return b
	}
}

func brotli_max_float(a float32, b float32) float32 {
	if a > b {
		return a
	} else {
		return b
	}
}

func brotli_min_int(a int, b int) int {
	if a < b {
		return a
	} else {
		return b
	}
}

func brotli_max_int(a int, b int) int {
	if a > b {
		return a
	} else {
		return b
	}
}

func brotli_min_size_t(a uint, b uint) uint {
	if a < b {
		return a
	} else {
		return b
	}
}

func brotli_max_size_t(a uint, b uint) uint {
	if a > b {
		return a
	} else {
		return b
	}
}

func brotli_min_uint32_t(a uint32, b uint32) uint32 {
	if a < b {
		return a
	} else {
		return b
	}
}

func brotli_max_uint32_t(a uint32, b uint32) uint32 {
	if a > b {
		return a
	} else {
		return b
	}
}

func brotli_min_uint8_t(a byte, b byte) byte {
	if a < b {
		return a
	} else {
		return b
	}
}

func brotli_max_uint8_t(a byte, b byte) byte {
	if a > b {
		return a
	} else {
		return b
	}
}

Version data entries

16 entries across 16 versions & 1 rubygems

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