-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Describe arguments to array_resize_buffer #8492
Conversation
6c7c7e3
to
1a4c02f
Compare
Ping? This is a three-line comment, so it's either obviously correct or obviously wrong. |
@@ -526,6 +526,9 @@ void jl_arrayunset(jl_array_t *a, size_t i) | |||
#define MALLOC_THRESH 1048576 | |||
|
|||
// allocate buffer of newlen elements, placing old data at given offset (in #elts) | |||
// newlen: new length (#elts), including offset | |||
// oldlen: old lenght (#elts), excluding offset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"length"
@eschnett Can you squash these commits? @JeffBezanson Merge this? |
@ViralBShah With squash, you mean opening a new pull request? |
doesn't have to be a new PR, you can do |
9469e1b
to
a67f717
Compare
Well, here you go. |
I am reviewing all doc issues, and at casual look, can't tell if the comments (especially about the offset) are correct. @vtjnash @Keno @JeffBezanson may know right away and be able to merge/reject. |
Describe arguments to array_resize_buffer
No description provided.