Skip to content

issues Search Results · repo:adrianbrad/queue language:Go

Filter by

5 results
 (53 ms)

5 results

inadrianbrad/queue (press backspace or delete to remove)

Hi there! Firstly, thanks for this great collection of data structures! I m evaluation the blocking queue, and it looks like there s a dead lock between OfferWait (when the capacity is full) and GetWait, ...
  • hariso
  • 2
  • Opened 
    on May 12
  • #23

when initialLen equal capacity t.Run( TestResetQueue , func(t *testing.T) { type strInt struct { A int } queue := fifo.NewBlocking([]*strInt{{A: 1}, {A: 2}, {A: 3}, {A: 4}, {A: 5}}, fifo.WithCapacity(5)) ...
  • Jcodelove
  • 5
  • Opened 
    on Dec 18, 2024
  • #17

in init the var,i can use queue.WithCapacity to limit the size of new queue,but i wanna the queue can auto expand,so ican pass a small initial count to init the var ,and it will auto expand when i offer ...
  • Nyx2022
  • 2
  • Opened 
    on Jun 14, 2024
  • #15

as the title, i advise this lib can add a feature for mashal and unmashal,thanks a lot !
  • Nyx2022
  • 4
  • Opened 
    on Jun 4, 2024
  • #14

In order to remove duplication in test files, table driven tests can be implemented. A function for testing each method in the Queue interface should be written.
enhancement
good first issue
  • adrianbrad
  • Opened 
    on May 15, 2023
  • #6
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub