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

Describe arguments to array_resize_buffer #8492

Merged
merged 1 commit into from
Jan 2, 2015

Conversation

eschnett
Copy link
Contributor

No description provided.

@ivarne ivarne added the docs This change adds or pertains to documentation label Sep 26, 2014
@jiahao jiahao force-pushed the master branch 3 times, most recently from 6c7c7e3 to 1a4c02f Compare October 11, 2014 22:06
@eschnett
Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"length"

@ViralBShah
Copy link
Member

@eschnett Can you squash these commits?

@JeffBezanson Merge this?

@eschnett
Copy link
Contributor Author

@ViralBShah With squash, you mean opening a new pull request?

@tkelman
Copy link
Contributor

tkelman commented Nov 19, 2014

doesn't have to be a new PR, you can do git rebase -i HEAD~~, squash into a single commit, then force push over this branch by preceding the name with +: git push eschnett +array-comments

@eschnett
Copy link
Contributor Author

Well, here you go.

@ViralBShah
Copy link
Member

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.

timholy added a commit that referenced this pull request Jan 2, 2015
Describe arguments to array_resize_buffer
@timholy timholy merged commit 67a84f1 into JuliaLang:master Jan 2, 2015
@eschnett eschnett deleted the array-comments branch January 6, 2015 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants