amos 2f32624d3b Batch 18 (20261026-C-hwe-codegen-18): add 100 calibrated HWE code-gen tasks; pause production for rollout
100 tasks from the HWE arm-linux code-gen pool (outside the lk/man/pth
range given to batch 22), each with at least one independent
contract-edge defect and plain public docs. Claude reviewed 100/100
USABLE against current digests; no ID or source overlap with main or
batch 22. Difficulty is unmeasured.

progress.md records the wrap-up: all Codex sessions and Qwen schedulers
stopped for the user's rollout, Qwen results so far (57 HARD of 373),
and what is left on each batch branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 17:52:13 +08:00

30 lines
1017 B
C++

#ifndef INLINE_RECORD_INTERNAL_HPP
#define INLINE_RECORD_INTERNAL_HPP
#include <cstddef>
#include <cstdint>
#include <vector>
namespace inline_record { namespace detail {
// Internal representation is not an application interface.
class Record {
public:
Record(std::uint32_t token, std::uint16_t tag, std::size_t n);
std::uint32_t token() const;
std::uint16_t tag() const;
std::size_t count() const;
std::size_t size() const;
std::uint32_t checksum() const;
std::int32_t get(std::size_t index) const;
std::uint8_t byte(std::size_t offset) const;
void fill(std::size_t start, std::size_t count, std::int32_t value);
void copy_from(const Record& source, std::size_t from,
std::size_t to, std::size_t count);
private:
std::vector<std::uint8_t> wire_;
std::uint32_t read32(std::size_t offset) const;
void write32(std::size_t offset, std::uint32_t value);
void refresh_checksum();
void set(std::size_t index, std::int32_t value);
};
}}
#endif