Skip to content

crux: demo ring buffer #171

@skhal

Description

@skhal

Demo a ring buffer: a buffer of fixed length N, where the tail index rotates in the range [0, N).

Ref: https://cs.opensource.google/go/go/+/master:src/cmd/vendor/golang.org/x/term/terminal.go;l=991-1000;drc=ca5ffe0092363f21df2c57b50144ba056f260049

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew binary, feature, functionality.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions