Commit Graph

46 Commits

Author SHA1 Message Date
Alliswell
97d021424e
feat: add G.711 a-law algorithm (#858)
* feat: add G.711 a-law algorithm

* chore: add CMakeLists.txt for audio/

* updating DIRECTORY.md

* docs: add explanation to G.711 a-law algorithm

* docs: adjust comments to G.711 a-law algorithm

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: adjust comments to G.711 a-law algorithm

Co-authored-by: David Leal <halfpacho@gmail.com>

* test: add self-test for G.711 a-law algorithm

* fix: initialize variables to zero

* docs: adjust comments to G.711 a-law algorithm

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-03 23:46:43 +05:30
tinouduart33
3682694f76
feat: Get a trace of all of the allocations, using a doubly linked list and wrappers for malloc/calloc and free. (#782)
* Add malloc, calloc and free wrappers to trace all of the allocations

* Improve memory leak reporting when multiple allocations occurs in the same file at the same line.

* Change directory name from 'debugging' to 'developer_tools' and added CMakeLists.txt, also change an include name to match a file name

* Edit root CMakeLists.Txt

* Update developer_tools/malloc_dbg.h

Co-authored-by: David Leal <halfpacho@gmail.com>

* Edit CMakeLists.txt to create a static library from malloc_dbg.c

* Add comments for the includes

* Change test.c name to test_malloc_dbg.c, also edit CMakeLists.txt to link malloc_dbg.a only to test_malloc_dbg.

* Change comment style and change EXIT_SUCCESS to 0

* Fix typo in doxygen comments

* Enhance comments

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 16:38:41 -06:00
Krishna Vedala
b02072c479
added geomety folder 2020-08-16 17:39:31 -04:00
Sai Vivek Amirishetty
485a6fe60e
Added a new Tic Tac Toe game made using C (#530)
* Added a new Tic Tac Toe game made using C

* Removed .DS_Store from CGames

* Delete .DS_Store

* Updated Formatting

* Deleted the file

* Updated Code Formatting

* Deleted .DS_Store again

* Updated Comments in the Code

* Updated code information

* Updated Documentation

* Updated Information

* fix filename

* enable cmake for games

* add docs and make better global name

* fix clang errors

* Fixed Segmentation Error

* Update games/tic-tac-toe.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Updated Function Description

* Update games/tic-tac-toe.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-07-31 07:00:30 -04:00
Krishna Vedala
ff2e7a3528
[enhancement] formatted and added Hash directory to cmake (#580)
* added hash folder to CMAKE build

* split sdbm code from hash.c to independent program

* update readme file

* docs + vartype fix

* split djb2 code from hash.c to independent program

* fix function reference

* split xor8 code from hash.c to independent program

* split adler32 code from hash.c to independent program

* remove additional author

* split crc32 code from hash.c to independent program

* remove redundant files

* interpret large numbers as specific types

* disable eror clang-diagnostic-implicitly-unsigned-literal

* force use constants

* updating DIRECTORY.md

* clang-tidy fixes for 606e5d4fce

* added return in function doc to enable doc

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-29 13:18:11 -04:00
Krishna Vedala
3c1b585656
[enhancement] updated cmake checks (#581)
* added header file checks

* cmake cleanup and better use of checks

* fixed bug in numerical_methods/CMake

* add docs to cmake
2020-07-23 10:44:18 -04:00
Krishna Vedala
83a8239805
[enhancement] Client_server folder code updated for windows OS as well. (#577)
* update codes to run on Windows platform as well

* added cmake for client_server

* added scope parameters

* force use of unistd.h in non-windows

* use size_t instead of int

* use unsigned int instead of size_t

* clang-tidy fixes for ac0991eb51

* updated UDP server-client as well

* use unsigned int

* added documentation

* spell correction

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-21 22:59:18 -04:00
Krishna Vedala
9a9781064f
[enhancement] New Graphics implementation with algorithm for spirograph (#557)
* skeleton of spirograph

* add graphics to cmake

* updating DIRECTORY.md

* added cmake to graphics folder

* add stub test function

* working program

* set pre-processor macro if GLUT is available

* use snprintf

details: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm

* conditional include for mac

* corrected conditional include for mac

* fix cmake for MACOS

* OpenGL animation if available, else plot to CSV

* MacOS does not provide glutBitmapString function

* formatting source-code for 8d570b4c28

* fix parameter

* try caps include path GL

* provide custom glutBitmapString cuntion

* add glut library to gitpod docker

* enable VNC in gitpod

* better documentation and cmake configuration

* enable keyboard inputs to pause and change parameters

* fix lgtm alerts

* implementation similar to one in C++ repo

* fix compilation errors on MSVC

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-10 15:48:07 -04:00
Krishna Vedala
c3f220098f
remove /Z option from cmake MSVC 2020-06-30 13:38:53 -04:00
Krishna Vedala
cf2a17e380
enable autobrief in documentation 2020-06-28 15:30:06 -04:00
Krishna Vedala
0a3455255a
disable timestamps in documentation 2020-06-28 11:27:18 -04:00
Krishna Vedala
5360573994
organize subfolder order 2020-06-06 17:09:31 -04:00
Krishna Vedala
241780495f doxygen variable name corrections 2020-06-05 09:22:46 -04:00
Krishna Vedala
27fc66819d docs: enable timestamps, link in new window, clang assisted parsing 2020-06-05 09:08:37 -04:00
Krishna Vedala
e48fb4eca1 add machine_learning folder 2020-05-31 10:56:51 -04:00
Krishna Vedala
aa98625b45 find openmp declared required only once
added subfolders after finding openmp
2020-05-31 10:49:26 -04:00
Krishna Vedala
b1e1923580 check if math library is available and include if present 2020-05-29 14:04:14 -04:00
Krishna Vedala
d4f202cbea force include math library for each target 2020-05-29 13:49:28 -04:00
Krishna Vedala
19be090698 cmake syntax correction 2020-05-29 13:35:33 -04:00
Krishna Vedala
e914f5a48f use link_libraries instead 2020-05-29 13:34:37 -04:00
Krishna Vedala
f05eb38574 link with math library when using clang and gcc 2020-05-29 13:29:59 -04:00
Krishna Vedala
06b7c9043f change C standard requirement back to 11 2020-05-29 13:22:11 -04:00
Krishna Vedala
8f45f7e680 fix cmake - requires use of /Za on MSVC 2020-05-29 12:34:24 -04:00
Krishna Vedala
1c5a699340 remove function_timer from all compilations 2020-05-29 10:47:36 -04:00
Krishna Vedala
5b1e350b2e remove deprecated /Za option from MSVC 2020-05-29 10:40:48 -04:00
Krishna Vedala
ecb2c42502 add mathjax extensions & cppreference tag file 2020-05-29 10:16:55 -04:00
Krishna Vedala
3d4ed3522d
use HTTPS CDN for MathJaX 2020-05-25 21:21:26 -04:00
Krishna Vedala
64c7a54bbc
reorder text 2020-05-25 19:17:03 -04:00
Krishna Vedala
4d0d4e7987
optimize doxygen for C 2020-05-25 19:06:21 -04:00
Krishna Vedala
bf59ee7eff
include call graph when possible 2020-05-25 17:02:03 -04:00
Krishna Vedala
24c71d8dab
added doxygen documentation 2020-05-24 22:28:28 -04:00
Krishna Vedala
d5014515cc skip C99 required files - complex.h for MSVC 2020-05-22 20:32:58 -04:00
Krishna Vedala
e4ac34d796
print message if OpenMP was found or not 2020-04-24 09:04:32 -04:00
Krishna Vedala
4b07f0f6fc
use malloc and free for dynamic variables 2020-04-23 20:45:45 -04:00
Krishna Vedala
2bd049c73a
if msvc, disable deprecation C4996 2020-04-23 20:00:57 -04:00
Krishna Vedala
a4cb77a36f
make function_time compile in release mode 2020-04-20 12:04:08 -04:00
Krishna Vedala
952d521a3c
better name - numerical methods 2020-04-08 10:28:58 -04:00
Krishna Vedala
64789aed99
bump cmake_c_standard to C11 2020-04-08 09:30:46 -04:00
Krishna Vedala
205766fc05
Merge branch 'master' into project_euler/master2
* master:
  set c99 standard as default
  checkout submodule as well
  use cd to build directory
  changed to checkout@master
  Create ccpp.yml
2020-04-08 09:28:49 -04:00
Krishna Vedala
fd2970182d
set c99 standard as default 2020-04-07 22:27:27 -04:00
Krishna Vedala
8d3d626e25
+ cmake searching folder 2020-04-07 21:25:45 -04:00
Krishna Vedala
8e7aa19113
cmake for 'computer_oriented_statistical_methods' 2020-04-07 19:29:39 -04:00
Krishna Vedala
3b576fec20
added sorting folder to cmake 2020-04-07 18:11:24 -04:00
Krishna Vedala
d24b6ea344
added option to enable or disable use of openmp 2020-04-07 00:24:13 -04:00
Krishna Vedala
0c86721f4a
better way to link libraries 2020-04-07 00:00:04 -04:00
Krishna Vedala
45398453be
First working cmake 2020-04-06 23:50:46 -04:00