commit | 1ad59efd5f79687a0199d9aa9eff15e99a736dac | [log] [tgz] |
---|---|---|
author | ichern <ichern@google.com> | Wed Feb 12 09:34:35 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 12 09:35:28 2020 -0800 |
tree | 8de8072381063454322ecad61c823f167c0a42bd | |
parent | 2d1f3b905178663cfa2f1b973ff6c642c8789e74 [diff] |
Fix wrong manipulation with ByteFragmentAtOffset - the offset inside ByteFragmentAtOffset is the offset of the ByteBuffer from the beginning of the file, it is needed mostly for NinjaScope manipulations - the offset inside ByteBufferFragment is the offset in the ByteBuffer, it points already at the place where lexing and parsing should begin - add test for a big Ninja file and small ByteBuffer sizes used to read that file (the test is failing with the previous implementation) Closes #10769. PiperOrigin-RevId: 294685980
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md