mikedlowis / libcds Goto Github PK
View Code? Open in Web Editor NEWA collection of data structures implemented in C to be included in multiple projects.
License: BSD 2-Clause "Simplified" License
A collection of data structures implemented in C to be included in multiple projects.
License: BSD 2-Clause "Simplified" License
mem.c is missing tests.
list should include a function for getting index of a node. something like:
int list_index_of(list_t* list, list_node_t* node){
int i = 0;
list_node_t* edon = list->head;
while(edon && edon != node){ edon = edon->next; i++; }
return (edon ? i : -1);
}
https://github.com/mikedlowis/data-structures/blob/master/source/list/list.c#L168
list_delete returns a list_node_t. but the node returned is mem_released in execution of the function. returned value is useless.
The CDS library should provide a module implementing a traditional logger interface for debugging purposes.
The CDS library should provide a string module providing a safer alternative to standard C strings. Ideally this would support unicode strings as well as ascii.
https://github.com/mikedlowis/data-structures/blob/master/source/list/list.c#L162
the release on this line may cause unexpected behavior. the insert function fails to find the previous node, so it releases the content?
wihtout stddef.h, size_t may be undefined (only applies to dev. branch, since master includes string.h (which includes it for you))
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.