Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on BufferSlice.next #6

Open
dodysw3 opened this issue Oct 7, 2024 · 1 comment
Open

Question on BufferSlice.next #6

dodysw3 opened this issue Oct 7, 2024 · 1 comment

Comments

@dodysw3
Copy link

dodysw3 commented Oct 7, 2024

| `next` | A pointer to the next `BufferSlice` in the linked list, as an offset from the start of the `BufferManager` in shared memory. |

A pointer to the next BufferSlice in the linked list, as an offset from the start of the BufferManager in shared memory.

However the provided example shown below indicates that it is an offset from the start of BufferList?

@zhquzzuli
Copy link
Contributor

yes, example shown below only shows the structure of a BufferSlice,the actual offset value in code will plus BufferList header length and BufferManager header length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants