We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think https://github.com/libocca/occa/blob/main/src/occa/internal/core/memoryPool.cpp#L131 should be changed to:
} else { - resize(reserved + alignedBytes); + resize(offset + alignedBytes); return slice(reserved, bytes); }
The text was updated successfully, but these errors were encountered:
I was wrong. Current implementation is correct.
Sorry, something went wrong.
Actually, there is an issue for the corner case size == reserved + alignedBytes.
size == reserved + alignedBytes
@stgeke Is this still an issue?
Yeah, this needs to be fixed.
No branches or pull requests
I think https://github.com/libocca/occa/blob/main/src/occa/internal/core/memoryPool.cpp#L131 should be changed to:
The text was updated successfully, but these errors were encountered: