Skip to content

nbody demo: now with more working #292

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

Closed
wants to merge 3 commits into from

Conversation

lkuper
Copy link
Contributor

@lkuper lkuper commented Mar 26, 2011

Now it does the same thing as the reference Java program on input of 50000. Hooray!

@graydon
Copy link
Contributor

graydon commented Mar 27, 2011

Integrated (though you have a merge node in here; try to rebase in the future. I cherry-picked the changes I wanted).

@graydon graydon closed this Mar 27, 2011
oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
Prepare for splitting off static alloc ids from local alloc ids
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
…crichton

Add the TIOCGWINSZ and TIOCSWINSZ constants

I've added the `TIOCGWINSZ` and `TIOCSWINSZ` constants/ioctl control codes. I wasn't quite sure where to put them, so hopefully they're in the right place.

As of now it's set to compile on 'FreeBSD-like' platforms, so it will compile on both FreeBSD *and* DragonflyBSD. I've only tested it on FreeBSD though, but it should also work on DragonflyBSD AFAIK.

Fixes rust-lang#292.
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
This is primarily doing to avoid falling into a portability trap by accident,
and in general makes the vendor types (on x86) going towards as minimal as they
can be. Along the way some tests were cleaned up which were still using the
portable types.
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Apr 17, 2025
…ust-lang#292)

`git subtree merge --squash` will always reset the subtree to the state
of the tree that is being merged from, which effectively eradicates all
our local changes. This was just masked by merge conflicts arising as we
were always attempted to merge from some long-ago version as we hadn't
consistently kept "git-subtree-split" markers.

This PR now amends the pull request descriptions to make sure we retain
the necessary information and uses `git merge` instead of the subtree
command.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants