repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/esp32_spi_flash/main/main.c | null | null | null | null | null | null | C | 2026-05-04T19:33:41.539051 | /* FlashDB ESP32 SPI Flash Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include ... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/linux/applications/fdb_cfg.h | null | null | null | null | null | null | C | 2026-05-04T19:33:41.576276 | /*
* Copyright (c) 2020, Armink, <armink.ztl@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief configuration file
*/
#ifndef _FDB_CFG_H_
#define _FDB_CFG_H_
/* using KVDB feature */
#define FDB_USING_KVDB
#ifdef FDB_USING_KVDB
/* Auto update KV to latest default when current KVDB ver... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/applications/main.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.172942 | /*
* Copyright (c) 2006-2020, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-05-31 armink first version
*/
#include <stdio.h>
#include <board.h>
#include <flashdb.h>
#include <stm32f1xx_hal.h>
#define FDB_LOG_TAG "[main]... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/applications/syscall_newlib.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.182071 | /*
* Copyright (c) 2006-2020, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-05-31 RT-Thread first version
*/
#include <stdio.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdarg.h>
#undef er... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/applications/fal_cfg.h | null | null | null | null | null | null | C | 2026-05-04T19:33:42.183205 | /*
* Copyright (c) 2020, Armink, <armink.ztl@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _FAL_CFG_H_
#define _FAL_CFG_H_
#define FAL_DEBUG 1
#define FAL_PART_HAS_TABLE_CFG
/* ===================== Flash device Configuration ========================= */
extern const struct fal_flash_dev stm32_on... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/board.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.251403 | /*
* Copyright (c) 2006-2020, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-07-12 RealThread the first version
*/
#include <stdio.h>
#include <stdint.h>
#include <board.h>
static void rtthread_startup(void)
{
extern int... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/board.h | null | null | null | null | null | null | C | 2026-05-04T19:33:42.252611 | /*
* Copyright (c) 2006-2020, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-07-12 RealThread first version
*/
#ifndef __BOARD_H__
#define __BOARD_H__
#ifdef __cplusplus
extern "C"
{
#endif
/*-------------------------- CHIP... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/applications/syscall_armlibc.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.526546 | /*
* Copyright (c) 2020, Armink, <armink.ztl@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
int fputc(int ch, FILE *f)
{
extern void print_char(char);
if (ch == '\n') {
print_char('\r');
}
print_char(ch);
return ch;
}
|
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/esp8266_spi_flash/components/FlashDB/porting/fal_flash_esp8266_port.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.615742 | /*
* Copyright (c) 2020, Armink, <armink.ztl@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_spi_flash.h"
#include <string.h>
#include <fal.h>
#define FLASH_ERASE_MIN_SIZE (4 * 1024)
#define LOCKER_ENABLE
#ifdef LOCKER_ENABLE
#include "FreeRTOS.h"
#include "semphr.h"
static SemaphoreHand... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/esp32_spi_flash/components/FlashDB/porting/fal_flash_esp32_port.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.886790 | /*
* Copyright (c) 2022, kaans, <https://github.com/kaans>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_log.h"
#include <esp_partition.h>
#include <string.h>
#include <fal.h>
#define FLASH_ERASE_MIN_SIZE (4 * 1024)
#define LOCKER_ENABLE
#ifdef LOCKER_ENABLE
#include "freertos/FreeRTOS.h"
#include "f... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/drv_common.c | null | null | null | null | null | null | C | 2026-05-04T19:33:42.891756 | /*
* Copyright (c) 2006-2019, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-04-20 chenyaxing first version
*/
#include <stm32f1xx.h>
extern int rt_hw_usart_init(void);
extern void system_clock_config(int);
extern int clock_... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/uart_config.h | null | null | null | null | null | null | C | 2026-05-04T19:33:42.913724 | /*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-10-30 SummerGift first version
* 2019-01-03 zylx modify dma support
* 2020-05-18 chenyaxing modify uart_config struct
*/
#ifndef... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/stm32f1xx_hal_conf.h | null | null | null | null | null | null | C | 2026-05-04T19:33:42.914866 | /**
******************************************************************************
* @file stm32f1xx_hal_conf.h
* @brief HAL configuration file.
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT(c) 2018 STMicroelectronics</cen... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h | null | null | null | null | null | null | C | 2026-05-04T19:33:43.267933 | /**
******************************************************************************
* @file system_stm32f10x.h
* @author MCD Application Team
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
******************************************************************************
* @att... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/applications/fdb_cfg.h | null | null | null | null | null | null | C | 2026-05-04T19:33:43.661018 | /*
* Copyright (c) 2020, Armink, <armink.ztl@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief configuration file
*/
#ifndef _FDB_CFG_H_
#define _FDB_CFG_H_
/* using KVDB feature */
#define FDB_USING_KVDB
#ifdef FDB_USING_KVDB
/* Auto update KV to latest default when current KVDB ver... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h | null | null | null | null | null | null | C | 2026-05-04T19:33:43.731849 | /**
******************************************************************************
* @file stm32f1xx.h
* @author MCD Application Team
* @brief CMSIS STM32F1xx Device Peripheral Access Layer Header File.
*
* The file is the unique include file that the application programmer
* is u... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/cmsis_compiler.h | null | null | null | null | null | null | C | 2026-05-04T19:33:43.849451 | /**************************************************************************//**
* @file cmsis_compiler.h
* @brief CMSIS compiler generic header file
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 A... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/cmsis_armclang.h | null | null | null | null | null | null | C | 2026-05-04T19:33:43.899676 | /**************************************************************************//**
* @file cmsis_armclang.h
* @brief CMSIS compiler armclang (Arm Compiler 6) header file
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyrig... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/cmsis_armcc.h | null | null | null | null | null | null | C | 2026-05-04T19:33:44.007329 | /**************************************************************************//**
* @file cmsis_armcc.h
* @brief CMSIS compiler ARMCC (Arm Compiler 5) header file
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c)... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/drv_usart.c | null | null | null | null | null | null | C | 2026-05-04T19:33:44.010135 | /*
* Copyright (c) 2006-2019, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-11-09 xiangxistu first version
* 2020-05-18 chenyaxing modify stm32_uart_config struct
*/
#include <string.h>
#include <stdlib.h>
#include <s... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/cmsis_gcc.h | null | null | null | null | null | null | C | 2026-05-04T19:33:44.197716 | /**************************************************************************//**
* @file cmsis_gcc.h
* @brief CMSIS compiler GCC header file
* @version V5.0.4
* @date 09. April 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 Arm Limited.... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/cmsis_iccarm.h | null | null | null | null | null | null | C | 2026-05-04T19:33:44.318209 | /**************************************************************************//**
* @file cmsis_iccarm.h
* @brief CMSIS compiler ICCARM (IAR Compiler for Arm) header file
* @version V5.0.7
* @date 19. June 2018
******************************************************************************/
//-----------... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c | null | null | null | null | null | null | C | 2026-05-04T19:33:44.572398 | /**
******************************************************************************
* @file system_stm32f1xx.c
* @author MCD Application Team
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
*
* 1. This file provides two functions and one global variable to be called from
... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/drivers/drv_clk.c | null | null | null | null | null | null | C | 2026-05-04T19:33:44.841002 | /*
* Copyright (c) 2006-2019, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-10-26 ChenYong first version
* 2020-01-08 xiangxistu add HSI configuration
* 2020-04-20 chenyaxing add system_clock_config frequency p... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/core_sc000.h | null | null | null | null | null | null | C | 2026-05-04T19:33:44.888538 | /**************************************************************************//**
* @file core_sc000.h
* @brief CMSIS SC000 Core Peripheral Access Layer Header File
* @version V5.0.5
* @date 28. May 2018
******************************************************************************/
/*
* Copyright (c) 2... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/mpu_armv7.h | null | null | null | null | null | null | C | 2026-05-04T19:33:44.944050 | /******************************************************************************
* @file mpu_armv7.h
* @brief CMSIS MPU API for Armv7-M MPU
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018 Arm Limited... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/mpu_armv8.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.199787 | /******************************************************************************
* @file mpu_armv8.h
* @brief CMSIS MPU API for Armv8-M MPU
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018 Arm Limited... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/cmsis_version.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.388029 | /**************************************************************************//**
* @file cmsis_version.h
* @brief CMSIS Core(M) Version definitions
* @version V5.0.2
* @date 19. April 2017
******************************************************************************/
/*
* Copyright (c) 2009-2017 ARM L... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/tz_context.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.470330 | /******************************************************************************
* @file tz_context.h
* @brief Context Management for Armv8-M TrustZone
* @version V1.0.1
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/core_cm0.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.620762 | /**************************************************************************//**
* @file core_cm0.h
* @brief CMSIS Cortex-M0 Core Peripheral Access Layer Header File
* @version V5.0.5
* @date 28. May 2018
******************************************************************************/
/*
* Copyright (c)... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_legacy.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.835100 | /**
******************************************************************************
* @file stm32f1xx_hal_can_legacy.h
* @author MCD Application Team
* @brief Header file of CAN HAL module.
******************************************************************************
* @attention
*
* <h2><center>&... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/RTOS/Template/cmsis_os.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.865507 | /* ----------------------------------------------------------------------
* $Date: 5. February 2013
* $Revision: V1.02
*
* Project: CMSIS-RTOS API
* Title: cmsis_os.h template header file
*
* Version 0.02
* Initial Proposal Phase
* Version 0.03
* osKernelStart added, optional featu... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/core_cm0plus.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.867101 | /**************************************************************************//**
* @file core_cm0plus.h
* @brief CMSIS Cortex-M0+ Core Peripheral Access Layer Header File
* @version V5.0.6
* @date 28. May 2018
******************************************************************************/
/*
* Copyrigh... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/core_armv8mbl.h | null | null | null | null | null | null | C | 2026-05-04T19:33:45.883329 | /**************************************************************************//**
* @file core_armv8mbl.h
* @brief CMSIS Armv8-M Baseline Core Peripheral Access Layer Header File
* @version V5.0.7
* @date 22. June 2018
******************************************************************************/
/*
* ... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h | null | null | null | null | null | null | C | 2026-05-04T19:33:46.061850 | /**
******************************************************************************
* @file stm32f1xx_hal.h
* @author MCD Application Team
* @brief This file contains all the functions prototypes for the HAL
* module driver.
*********************************************************************... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h | null | null | null | null | null | null | C | 2026-05-04T19:33:46.153309 | /**
******************************************************************************
* @file stm32f1xx_hal_can_ex_legacy.h
* @author MCD Application Team
* @brief Header file of CAN HAL Extension module.
******************************************************************************
* @attention
*
* ... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32_assert_template.h | null | null | null | null | null | null | C | 2026-05-04T19:33:46.497707 | /**
******************************************************************************
* @file stm32_assert.h
* @author MCD Application Team
* @brief STM32 assert template file.
* This file should be copied to the application folder and renamed
* to stm32_assert.h.
********************... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_conf_template.h | null | null | null | null | null | null | C | 2026-05-04T19:33:46.526137 | /**
******************************************************************************
* @file stm32f1xx_hal_conf.h
* @author MCD Application Team
* @brief HAL configuration template file.
* This file should be copied to the application folder and renamed
* to stm32f1xx_hal_conf.h.
***... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cec.h | null | null | null | null | null | null | C | 2026-05-04T19:33:46.544063 | /**
******************************************************************************
* @file stm32f1xx_hal_cec.h
* @author MCD Application Team
* @brief Header file of CEC HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h | null | null | null | null | null | null | C | 2026-05-04T19:33:46.756437 | /**
******************************************************************************
* @file stm32f1xx_hal_cortex.h
* @author MCD Application Team
* @brief Header file of CORTEX HAL module.
******************************************************************************
* @attention
*
* <h2><center>&c... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/linux/applications/main.c | null | null | null | null | null | null | C | 2026-05-04T19:33:47.049656 | /*
* Copyright (c) 2021, Armink, <armink.ztl@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include <pthread.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <flashdb.h>
#define FDB_LOG_TAG "[main]"
static pthread_mutex_t kv_locker, ts_locker;
static pthread_mutexattr_t kv_lock... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h | null | null | null | null | null | null | C | 2026-05-04T19:33:47.097697 | /**
******************************************************************************
* @file stm32f1xx_hal_adc.h
* @author MCD Application Team
* @brief Header file containing functions prototypes of ADC HAL library.
******************************************************************************
* @atten... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h | null | null | null | null | null | null | C | 2026-05-04T19:33:47.215341 | /**
******************************************************************************
* @file stm32f1xx_hal_adc_ex.h
* @author MCD Application Team
* @brief Header file of ADC HAL extension module.
******************************************************************************
* @attention
*
* <h2><ce... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h | null | null | null | null | null | null | C | 2026-05-04T19:33:47.963377 | /**
******************************************************************************
* @file stm32f1xx_hal_can.h
* @author MCD Application Team
* @brief Header file of CAN HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... |
armink/FlashDB | https://github.com/armink/FlashDB | null | null | null | null | 2,531 | null | null | apache-2.0 | null | null | null | null | null | null | null | demos/stm32f103ve/libraries/CMSIS/Include/core_cm1.h | null | null | null | null | null | null | C | 2026-05-04T19:33:51.241241 | /**************************************************************************//**
* @file core_cm1.h
* @brief CMSIS Cortex-M1 Core Peripheral Access Layer Header File
* @version V1.0.0
* @date 23. July 2018
******************************************************************************/
/*
* Copyright (c... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/buf.h | null | null | null | null | null | null | C | 2026-05-04T19:33:53.504748 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/conf.c | null | null | null | null | null | null | C | 2026-05-04T19:33:53.522340 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/category_table.c | null | null | null | null | null | null | C | 2026-05-04T19:33:53.528603 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/conf.h | null | null | null | null | null | null | C | 2026-05-04T19:33:53.575257 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/category.c | null | null | null | null | null | null | C | 2026-05-04T19:33:53.578879 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/event.c | null | null | null | null | null | null | C | 2026-05-04T19:33:54.161002 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/event.h | null | null | null | null | null | null | C | 2026-05-04T19:33:54.161654 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/fifo.c | null | null | null | null | null | null | C | 2026-05-04T19:33:54.164070 | #define _GNU_SOURCE // For distros like Centos for syscall interface
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/param.h>
#include <unistd.h>
#include "misc.h"
#include "zc_profile.h"
#include "fifo.h"
static unsigned round_up_t... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/fifo.h | null | null | null | null | null | null | C | 2026-05-04T19:33:54.246263 | #ifndef __FIFO_H
#define __FIFO_H
#include <stdatomic.h>
#include <stdio.h>
#include <sys/param.h>
enum msg_head_flag {
MSG_HEAD_FLAG_RESERVED = 1,
MSG_HEAD_FLAG_COMMITED,
MSG_HEAD_FLAG_DISCARDED,
};
struct msg_head {
unsigned total_size;
atomic_uint flags;
char data[];
};
/* PAGE_SIZE must... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/category_table.h | null | null | null | null | null | null | C | 2026-05-04T19:33:54.286146 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/category.h | null | null | null | null | null | null | C | 2026-05-04T19:33:54.510273 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/level.c | null | null | null | null | null | null | C | 2026-05-04T19:33:54.891976 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/format.h | null | null | null | null | null | null | C | 2026-05-04T19:33:54.893142 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/consumer.c | null | null | null | null | null | null | C | 2026-05-04T19:33:55.009045 | #include <assert.h>
#include <pthread.h>
#include <stdatomic.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "category.h"
#include "conf.h"
#include "fifo.h"
#include "misc.h"
#include "rule.h"
#include "thread.h"
#include "zc_profile.h"
#include "consumer.h"
static void enque_event_exit(struc... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/level.h | null | null | null | null | null | null | C | 2026-05-04T19:33:55.102942 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/format.c | null | null | null | null | null | null | C | 2026-05-04T19:33:55.318719 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/lockfile.h | null | null | null | null | null | null | C | 2026-05-04T19:33:55.494271 | /**
* =============================================================================
*
* \file lockfile.h
* \breif
* \version 1.0
* \date 2013-07-07 12:34:20
* \author Song min.Li (Li), lisongmin@126.com
* \copyright Copyright (c) 2013, skybility
*
* ===========================================================... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/mdc.c | null | null | null | null | null | null | C | 2026-05-04T19:33:55.651327 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/mdc.h | null | null | null | null | null | null | C | 2026-05-04T19:33:55.747149 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/lockfile.c | null | null | null | null | null | null | C | 2026-05-04T19:33:55.799098 | /**
* =============================================================================
*
* \file lockfile.c
* \breif
* \version 1.0
* \date 2013-07-07 11:55:38
* \author Song min.Li (Li), lisongmin@126.com
* \copyright Copyright (c) 2013, skybility
*
* ===========================================================... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/buf.c | null | null | null | null | null | null | C | 2026-05-04T19:33:55.864570 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/misc.h | null | null | null | null | null | null | C | 2026-05-04T19:33:55.937818 | #ifndef __MISC_H
#define __MISC_H
#include <pthread.h>
#include <stdalign.h>
#include <stddef.h>
#define container_of(ptr, type, member) ((type *)((char *)(ptr) - offsetof(type, member)))
struct log_consumer;
struct zlog_process_data {
struct log_consumer *logc;
pthread_mutex_t share_mutex;
};
enum _msg_typ... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/level_list.c | null | null | null | null | null | null | C | 2026-05-04T19:33:55.955569 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/record.c | null | null | null | null | null | null | C | 2026-05-04T19:33:56.088559 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/record.h | null | null | null | null | null | null | C | 2026-05-04T19:33:56.338763 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/record_table.c | null | null | null | null | null | null | C | 2026-05-04T19:33:56.365598 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/rotater.c | null | null | null | null | null | null | C | 2026-05-04T19:33:56.500788 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/rule.h | null | null | null | null | null | null | C | 2026-05-04T19:33:56.697418 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/spec.c | null | null | null | null | null | null | C | 2026-05-04T19:33:56.981597 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/thread.c | null | null | null | null | null | null | C | 2026-05-04T19:33:57.098331 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/record_table.h | null | null | null | null | null | null | C | 2026-05-04T19:33:57.123448 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_arraylist.c | null | null | null | null | null | null | C | 2026-05-04T19:33:57.800139 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_arraylist.h | null | null | null | null | null | null | C | 2026-05-04T19:33:57.835181 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/spec.h | null | null | null | null | null | null | C | 2026-05-04T19:33:58.766496 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/thread.h | null | null | null | null | null | null | C | 2026-05-04T19:33:59.017065 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_defs.h | null | null | null | null | null | null | C | 2026-05-04T19:33:59.194813 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/fmacros.h | null | null | null | null | null | null | C | 2026-05-04T19:33:59.388910 | #ifndef __zlog_fmacro_h
#define __zlog_fmacro_h
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#if defined(__linux__) || defined(__OpenBSD__) || defined(_AIX)
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#endif
#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SO... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_profile.c | null | null | null | null | null | null | C | 2026-05-04T19:33:59.406517 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_hashtable.h | null | null | null | null | null | null | C | 2026-05-04T19:33:59.502735 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_profile.h | null | null | null | null | null | null | C | 2026-05-04T19:33:59.658837 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zlog-chk-conf.c | null | null | null | null | null | null | C | 2026-05-04T19:34:00.097599 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/level_list.h | null | null | null | null | null | null | C | 2026-05-04T19:34:00.148543 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_xplatform.h | null | null | null | null | null | null | C | 2026-05-04T19:34:00.191187 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_util.h | null | null | null | null | null | null | C | 2026-05-04T19:34:00.215240 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_hashtable.c | null | null | null | null | null | null | C | 2026-05-04T19:34:00.976771 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/rule.c | null | null | null | null | null | null | C | 2026-05-04T19:34:02.228596 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/consumer.h | null | null | null | null | null | null | C | 2026-05-04T19:34:03.842907 | #ifndef __CONSUMER_H
#define __CONSUMER_H
#include <pthread.h>
#include <stdbool.h>
#include "zc_xplatform.h"
struct zlog_conf_s;
struct logc_create_arg {
struct zlog_conf_s *conf;
};
struct zlog_buf_s;
struct fifo;
struct log_consumer {
pthread_t tid;
struct zlog_buf_s *msg_buf;
struct zlog_buf_s *... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/zc_util.c | null | null | null | null | null | null | C | 2026-05-04T19:34:05.065982 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
HardySimpson/zlog | https://github.com/HardySimpson/zlog | null | null | null | null | 2,527 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/rotater.h | null | null | null | null | null | null | C | 2026-05-04T19:34:06.925057 | /* Copyright (c) Hardy Simpson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
nkolban/esp32-snippets | https://github.com/nkolban/esp32-snippets | null | null | null | null | 2,510 | null | null | apache-2.0 | null | null | null | null | null | null | null | c-utils/c_list.c | null | null | null | null | null | null | C | 2026-05-04T19:34:09.719634 | #include <stdlib.h>
#include "c_list.h"
/**
* A list is an ordered set of entries. We have the following primitives:
* * list_create() - Create an empty list. The return is the list pointer.
* * list_delete() - Delete the list and optionally free all its entries.
* * list_first() - Return the first item in the ... |
nkolban/esp32-snippets | https://github.com/nkolban/esp32-snippets | null | null | null | null | 2,510 | null | null | apache-2.0 | null | null | null | null | null | null | null | cpp_utils/AWS.h | null | null | null | null | null | null | C | 2026-05-04T19:34:09.771522 | /*
* AWS.h
*
* Created on: May 31, 2017
* Author: kolban
*/
#ifndef COMPONENTS_AWS_H_
#define COMPONENTS_AWS_H_
#include "sdkconfig.h"
#ifdef CONFIG_AWS_IOT_SDK
#include <aws_iot_mqtt_client_interface.h>
#include <aws_iot_mqtt_client.h>
#include <string>
/**
* @brief AWS IoT access.
*/
class AWS {
publi... |
nkolban/esp32-snippets | https://github.com/nkolban/esp32-snippets | null | null | null | null | 2,510 | null | null | apache-2.0 | null | null | null | null | null | null | null | c-utils/c_timeutils.h | null | null | null | null | null | null | C | 2026-05-04T19:34:09.783358 | /*
* c_timeutils.h
*
* Created on: Nov 26, 2016
* Author: kolban
*/
#if !defined(_C_TIMEUTILS_H_)
#define _C_TIMEUTILS_H_
#include <sys/time.h>
#include <stdint.h>
struct timeval timeval_add(struct timeval *a, struct timeval *b);
void timeval_addMsecs(struct timeval *a, uint32_t msecs);
uint32_t ... |
nkolban/esp32-snippets | https://github.com/nkolban/esp32-snippets | null | null | null | null | 2,510 | null | null | apache-2.0 | null | null | null | null | null | null | null | BLE/scanner/ble1.c | null | null | null | null | null | null | C | 2026-05-04T19:34:09.787339 | # include <bt.h>
#include <esp_bt_main.h>
#include <esp_gap_ble_api.h>
#include <esp_log.h>
#include <esp_blufi_api.h>
#include <bt_types.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <ctype.h>
#include <string.h>
#include <math.h>
#include "nvs_flash.h"
#include "sdkconfig.h"
#define BT_BD_AD... |
nkolban/esp32-snippets | https://github.com/nkolban/esp32-snippets | null | null | null | null | 2,510 | null | null | apache-2.0 | null | null | null | null | null | null | null | arduino/i2c/i2cscanner/main/main.c | null | null | null | null | null | null | C | 2026-05-04T19:34:10.178576 | /**
* Scan for I2C devices.
*
* Scan for I2C devices using the Arduino Wire library.
*
* For additional details and documentation see:
* * Free book on ESP32 - https://leanpub.com/kolban-ESP32
*
*
* Neil Kolban <kolban1@kolban.com>
*
*/
#include "freertos/FreeRTOS.h"
#include "esp_wifi.h"
#include "esp_syst... |
nkolban/esp32-snippets | https://github.com/nkolban/esp32-snippets | null | null | null | null | 2,510 | null | null | apache-2.0 | null | null | null | null | null | null | null | BLE/scanner/main.c | null | null | null | null | null | null | C | 2026-05-04T19:34:10.274795 | #include <freertos/FreeRTOS.h>
#include <freertos/task.h>
extern void bt_task(void *ignore);
void app_main(void)
{
xTaskCreatePinnedToCore(&bt_task, "btTask", 2048, NULL, 5, NULL, 0);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.