value

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 0 Imported by: ? 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

Overview

Package value supplies small cross-package calls for the inline benchmarks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

func First(r Record) uint64

func Mix

func Mix(state, x uint64) uint64

func Sum

func Sum(p Pair) uint64

Types

type Mixed

type Mixed struct {
	Integer int64
	Float   float64
	Pointer *int64
	Payload [8]uint64
}

func (Mixed) Shift

func (v Mixed) Shift(delta int64) Mixed

func (Mixed) Summary

func (v Mixed) Summary() Summary

type Number

type Number uint64

func (Number) Mix

func (n Number) Mix(x uint64) Number

type Pair

type Pair struct {
	Left, Right uint64
}

func (*Pair) PointerSum

func (p *Pair) PointerSum() uint64

func (Pair) Sum

func (p Pair) Sum() uint64

type Record

type Record struct {
	Fields [8]uint64
}

func (Record) First

func (r Record) First() uint64

type ScalarPair

type ScalarPair struct {
	Integer int64
	Float   float64
}

func (ScalarPair) Shift

func (v ScalarPair) Shift(delta int64) ScalarPair

type State

type State struct {
	Value uint64
}

func (*State) Mix

func (s *State) Mix(x uint64)

type Summary

type Summary struct {
	Integer int64
	Float   float64
	Pointer *int64
}

Jump to

Keyboard shortcuts

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