type go.uber.org/atomic.Float32
13 uses
go.uber.org/atomic (current package)
float32.go#L31: type Float32 struct {
float32.go#L40: func NewFloat32(val float32) *Float32 {
float32.go#L41: x := &Float32{}
float32.go#L49: func (x *Float32) Load() float32 {
float32.go#L54: func (x *Float32) Store(val float32) {
float32.go#L60: func (x *Float32) Swap(val float32) (old float32) {
float32.go#L65: func (x *Float32) MarshalJSON() ([]byte, error) {
float32.go#L70: func (x *Float32) UnmarshalJSON(b []byte) error {
float32_ext.go#L31: func (f *Float32) Add(delta float32) float32 {
float32_ext.go#L42: func (f *Float32) Sub(delta float32) float32 {
float32_ext.go#L49: func (f *Float32) CAS(old, new float32) (swapped bool) {
float32_ext.go#L68: func (f *Float32) CompareAndSwap(old, new float32) (swapped bool) {
float32_ext.go#L73: func (f *Float32) 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. |