- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Ball (5.94 sec)
-
internal/once/init.go
// initialized when the provided function returns nil. // Init represents the structure. type Init struct { done uint32 m sync.Mutex } // Do is similar to sync.Once.Do - makes one successful // call to the function. ie, it invokes the function // if it is not successful yet. func (l *Init) Do(f func() error) error { if atomic.LoadUint32(&l.done) == 0 { return l.do(f) } return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue May 09 04:20:31 GMT 2023 - 2.1K bytes - Viewed (0) -
internal/init/init.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Nov 04 23:44:38 GMT 2022 - 874 bytes - Viewed (0)