type go.uber.org/atomic.Float64
13 uses
go.uber.org/atomic (current package)
float64.go#L31: type Float64 struct {
float64.go#L40: func NewFloat64(val float64) *Float64 {
float64.go#L41: x := &Float64{}
float64.go#L49: func (x *Float64) Load() float64 {
float64.go#L54: func (x *Float64) Store(val float64) {
float64.go#L60: func (x *Float64) Swap(val float64) (old float64) {
float64.go#L65: func (x *Float64) MarshalJSON() ([]byte, error) {
float64.go#L70: func (x *Float64) UnmarshalJSON(b []byte) error {
float64_ext.go#L31: func (f *Float64) Add(delta float64) float64 {
float64_ext.go#L42: func (f *Float64) Sub(delta float64) float64 {
float64_ext.go#L49: func (f *Float64) CAS(old, new float64) (swapped bool) {
float64_ext.go#L68: func (f *Float64) CompareAndSwap(old, new float64) (swapped bool) {
float64_ext.go#L73: func (f *Float64) String() string {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |