Commit Graph

23 Commits

Author SHA1 Message Date
Saxon Milton e1e38bcafc Cleaned up some comments 2017-12-05 20:22:34 +10:30
Saxon Milton 508dc6536a Simplified testing file 2017-12-05 20:18:48 +10:30
Alan Noble 726d360a31 Resolved conflict. 2017-12-04 15:59:41 +10:30
Saxon1 ada834dc2c made small changes to revid and ringbuffer to allow for use of ringbuffer in revid 2017-12-04 14:31:54 +10:30
Saxon1 382d83c701 Created IsWritable function and also changed name of CanRead() to IsReadable() 2017-12-04 13:07:37 +10:30
Saxon1 13c6bd531b Improved function description 2017-12-04 12:57:35 +10:30
Saxon1 4783f39400 Corrected typo in comment and also improved comment 2017-12-04 12:55:19 +10:30
Saxon1 cdde22b2d6 Removed sizeChannel field 2017-12-04 12:54:01 +10:30
Saxon Milton 7387792f73 fix an error and ran go fmt 2017-12-03 20:07:45 +10:30
Saxon Milton 7da19e1f89 Corrected syntax error in RingBuffer and also improved testing file. 2017-12-03 20:05:46 +10:30
Saxon Milton 3a5a9f51fc Fixed some var names 2017-12-03 19:44:24 +10:30
Saxon Milton 89b4468f6c used size ring buffer rather than channel 2017-12-03 19:13:29 +10:30
Saxon Milton 1b6a2ae8ea Changed things such that the access to the ringBuffer struct is private, i.e. it is required that the constructor be used to obtain access to an object of this type. I have also edited the test file such that it abides by the new code. 2017-12-03 18:07:15 +10:30
Saxon1 df64b89587 currently creating constructor for RingBuffer 2017-12-03 09:31:19 +10:30
Saxon1 091c740cd5 Fixed case of RingBuffer fields 2017-12-03 09:17:08 +10:30
Saxon1 a5e5271082 Fixed alot of comments 2017-12-03 09:11:48 +10:30
Saxon1 e4a9a98b9c used error function instead of directly printing 2017-12-03 09:05:22 +10:30
Saxon1 eb766844bb Fixed another spelling mistake in a comment 2017-12-03 09:01:51 +10:30
Saxon1 41355c2034 Fixed some weird replace all mistake 2017-12-03 09:01:00 +10:30
Saxon1 ee0d8b4b1d Fixed spelling mistake in comment 2017-12-03 08:58:44 +10:30
Saxon1 a4f1b16ff1 renamed noOfElements to NoOfElements 2017-12-03 08:53:50 +10:30
Saxon1 edd663d048 Fixed copyright stuff 2017-12-03 08:51:02 +10:30
Saxon Milton d9e9d23dbe Added ringbuffer files 2017-12-02 15:54:34 +10:30