humanize

package
v0.27.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(num int64) string

Bytes returns the rendering of bytes aproximated to the nearest power of 1024 (Kb, Mb, Gb, Tb, etc.) with one decimal place.

Types

This section is empty.

Directories

Path Synopsis
cmd
builderiface command
constraint_generator command
constraint_generator prints out various lists of constraints used by generics, which can then be copy&pasted into the code.
constraint_generator prints out various lists of constraints used by generics, which can then be copy&pasted into the code.
graph_generator command
notimplemented_generator command
backends_generator generates parts of the backends.Builder interface based on the github.com/gomlx/gopjrt/xlabuilder implementation.
backends_generator generates parts of the backends.Builder interface based on the github.com/gomlx/gopjrt/xlabuilder implementation.
simplego_generator command
simplego_generator auto-generates parts of the SimpleGo backend:
simplego_generator auto-generates parts of the SimpleGo backend:
xla_generator command
xla_generator generates xla.Backend implementations based on backend.Builder API.
xla_generator generates xla.Backend implementations based on backend.Builder API.
Package must provide a set of functions that check for errors and panic on error.
Package must provide a set of functions that check for errors and panic on error.
Package scoped provides a mapping from a string to any data type that is "scoped".
Package scoped provides a mapping from a string to any data type that is "scoped".
Package xlabuilderparser parses the xlabuilder API to enumerate graph building functions, and the `op_types.txt` file to get a list of the supported ops.
Package xlabuilderparser parses the xlabuilder API to enumerate graph building functions, and the `op_types.txt` file to get a list of the supported ops.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL