{"id":13420440,"url":"https://github.com/happyfish100/libfastcommon","last_synced_at":"2025-04-12T01:55:21.717Z","repository":{"id":17479111,"uuid":"20253457","full_name":"happyfish100/libfastcommon","owner":"happyfish100","description":"c common functions library extracted from my open source project FastDFS. this library is very simple and stable.  functions including: string, logger, chain, hash, socket, ini file reader, base64 encode / decode, url encode / decode, fast timer, skiplist, object pool etc. detail info please see the c header files.","archived":false,"fork":false,"pushed_at":"2025-04-06T17:03:44.000Z","size":2327,"stargazers_count":911,"open_issues_count":27,"forks_count":527,"subscribers_count":73,"default_branch":"master","last_synced_at":"2025-04-12T01:55:17.645Z","etag":null,"topics":["avl-tree","c-library","connection-pool","fastdfs","id-generator","ini-parser","object-pool","process-control","skiplist","socket-io","system-info","task-scheduler"],"latest_commit_sha":null,"homepage":"http://bbs.chinaunix.net/forum-240-1.html","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/happyfish100.png","metadata":{"files":{"readme":"README","changelog":"HISTORY","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-28T10:21:06.000Z","updated_at":"2025-04-09T19:34:14.000Z","dependencies_parsed_at":"2023-12-23T09:24:34.227Z","dependency_job_id":"bd4f6d1c-f691-40e3-8475-fce6fb76c3cf","html_url":"https://github.com/happyfish100/libfastcommon","commit_stats":{"total_commits":867,"total_committers":12,"mean_commits":72.25,"dds":0.5259515570934257,"last_synced_commit":"ce0c23358f6ac7fbdd06c5d6b475f935eea079e9"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyfish100%2Flibfastcommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyfish100%2Flibfastcommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyfish100%2Flibfastcommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyfish100%2Flibfastcommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happyfish100","download_url":"https://codeload.github.com/happyfish100/libfastcommon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505867,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avl-tree","c-library","connection-pool","fastdfs","id-generator","ini-parser","object-pool","process-control","skiplist","socket-io","system-info","task-scheduler"],"created_at":"2024-07-30T22:01:33.726Z","updated_at":"2025-04-12T01:55:21.698Z","avatar_url":"https://github.com/happyfish100.png","language":"C","readme":"Copyright (C) 2010 Happy Fish / YuQing\n\nlibfastcommon may be copied only under the terms of the Less GNU General\nPublic License(LGPL).\nPlease visit the libfastcommon Home Page for more detail.\nEnglish language: https://github.com/happyfish100/libfastcommon\nChinese language: http://www.fastken.com/\n\n\nc common functions library extracted from my open source projects FastDFS and \nFastDHT. this library is very simple and stable.\n\nsome functions are wrappered into php extension, such as fastcommon_gethostaddrs,\n     fastcommon_id_generator_xxx, fastcommon_get_ifconfigs, fastcommon_get_sysinfo etc.\n\nC function including:\n  logger: [logger.h] asynchronously sync to disk for high performance, thread safe,\n          log rotate, auto delete old log files, compress log file etc.\n\n  ini file reader: [ini_file_reader.h] support sections marked by [SectionName]\n          support a config item ocurs multiple times for multiple values, such as:\n             tracker_server = ip1\n             tracker_server = ip2\n          #include directive to include other ini file\n          #@function directive for annotation\n          #@set directive to set variables for condition of #@if directive\n          support control statements for special purpose as:\n              #@if, #@else, #@endif, #@for, #@endfor\n\n  id generator: [id_generator.h] generate unique 64 bits integer ID for multi processes\n\n  string operation: [shared_func.h] uppercase, lowercase, trim etc.\n\n  base64 encode / decode: [base64.h] for standard base64 or variable base64\n\n  url encode / decode: [shared_func.h]\n\n  md5 encode: [md5.h]\n\n  hash: [hash.h] hash table\n\n  chain: [chain.h] singly linked list\n\n  blocked queue: [fast_blocked_queue.h]\n\n  avl tree: [avl_tree.h] AVL tree\n\n  skiplist: [skiplist.h] [flat_skiplist.h] [multi_skiplist.h] flat skiplist and multi skiplist\n\n  socket: [sockopt.h] socket wrapper for connect, recv, send etc. support IPv6\n\n  ioevent: [ioevent.h] [ioevent_loop.h] like epoll (support Linux, FreeBSD and SunOS),\n\n  io buffer management: [fast_task_queue.h] for network io buffer\n\n  memory pool: [fast_mpool.h]\n\n  object based allocator: [fast_mblock.h]\n\n  connection pool: [connection_pool.h]\n\n  time wheel based timer: [fast_timer.h] for network timeout management, very high performance\n\n  local ip functions: [local_ip_func.h] get local ipv4 addresses\n\n  system info functions: [system_info.h] get cpu count, memory size, system load,\n          mounted filesystems and processes info etc.\n\n  process control: [process_ctrl.h] for process start/stop/restart control\n\n  task schedule: [sched_thread.h] task shedule management/thead for repeat tasks\n\n  char convert: [char_converter.h] and [char_convert_loader.h] for fast char convert\n\ndetail info please see the c header files.\n\n","funding_links":[],"categories":["TODO scan for Android support in followings","Source Code Collections","C"],"sub_categories":["Advanced books"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappyfish100%2Flibfastcommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappyfish100%2Flibfastcommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappyfish100%2Flibfastcommon/lists"}