package
0.0.0-20240621172328-9750751a5335
Repository: https://github.com/paypal/junodb.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
http://blog.sgmansfield.com/2015/12/goroutine-ids/ Goroutine Id, used for debugging purpose.
No description provided by the author
No description provided by the author
No description provided by the author
lower two bytes are used for Shard Id, and higher two bytes are used for Micro Shard Id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
in MB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBuffer creates and initializes a new Buffer using buf as its initial contents.
NewBufferString creates and initializes a new Buffer using string s as its initial contents.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Yaping shi Dec 20, 2016 lock-free RingBuffer for single producer - single consumer - This RingBuffer can be used for communication between maximum two go routines without locking - producer can only update tail - conusmer can only update head .
MinRead is the minimum slice size passed to a Read call by Buffer.ReadFrom.

# Variables

ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
A Buffer is a variable-sized buffer of bytes with Read and Write methods.
channel based buffer pool.
channel based buffer pool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
sync.Pool based buffer pool.
sync.Pool based buffer pool.
This Wrapper class it to work around the issue with time.Timer.Reset(), mentioned below: https://github.com/golang/go/issues/11513 timer.C is buffered, so if the timer has just expired, the newly reset timer can actually trigger immediately.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author