Repository navigation
Conversation
added 2 commits
September 15, 2026 18:25
- init(): Allocates and initializes deque structure - push_front(): Adds element to front of deque with circular buffer logic - push_back(): Adds element to back of deque with circular buffer logic - pop_front(): Removes element from front of deque - pop_back(): Removes element from back of deque - deinit(): Properly cleans up allocated memory All functions now have proper implementations instead of empty bodies. Closes #3736
- Fixed function signatures to match expected API: * init now returns Deque instead of void * push_front and push_back now take i64 value parameter and return !void * pop_front and pop_back now return i64 instead of void * deinit signature already correct - Added proper deque implementation with circular buffer logic - Added comprehensive test suite covering: * Basic initialization and properties * Single and multiple push operations * FIFO behavior with various combinations * Edge cases (empty deque operations) * Overflow handling for full deque * Memory management verification Closes #3736
gHashTag
enabled auto-merge
September 17, 2026 07:07
This was referenced Sep 17, 2026
Merged
This was referenced Sep 17, 2026
Owner
Author
|
Superseded by #4272, which takes this branch's version of This pull request cannot merge: the file was overwritten on master by a version that does not parse ( Closing this one; the work itself is in #4272 and issue #3736 closes with it. |
auto-merge was automatically disabled
September 18, 2026 14:19
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3736
Opened from the bee branch
queen-3736, which was pushed but never turned into a pull request. Every changed path is inside the boundary the issue declares:specs/tri/collections/deque.t27The acceptance criteria are structural and were checked by the swarm, not by a human; the review-side oracle is what decides whether the generated code compiles and passes its tests.