quytelda / focs Goto Github PK
View Code? Open in Web Editor NEWFunctional Open C Structures - C Data Structures Library
License: GNU General Public License v3.0
Functional Open C Structures - C Data Structures Library
License: GNU General Public License v3.0
The '__addr_to_index()' function should only return positive values, per it's return type (size_t), but it can return values that are negative. This can result in out-of-range indices being used in the program.
After calling 'rb_push_head/tail()', the length of the ring buffer is still zero no matter how many values have been pushed to it. The length of the buffer should equal one after 'rb_push_head/tail()' is called on an empty list, or one greater than the length before the call.
There is no function in the Singly Linked List API that gives access to the length of the list. The only way to access it is to reference the data structure's private area, and read the length variable, which should be private.
There is no function in the Doubly Linked List API that gives access to the length of the list. The only way to access it is to reference the data structure's private area, and read the length variable, which should be private.
The 'empty()/null()' and 'contains()/elem()' functions of FOCS data structures should not be grouped with other higher order functions because they are not higher order functions. They would be better grouped with other data structure management functions, like 'size()'.
The generics API has no associated unit tests, and the exported macros are not used in the unit tests for any data structure.
The doubly linked list data structure double_list isn't defined using the new data structure API defined in 'focs/data_structures.h'.
The other data structure APIs in FOCS have some form of reverse function, but ring_buffer
lacks this functionality.
The higher order functions and management operations data structures are set to NULL in the singly linked list implementation, so that singly linked lists can't be used with the generic macros.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.