repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
yandld/lpc_uart_server
mcu_source/Libraries/startup/src/system_MK02F12810.c
/* ** ################################################################### ** Processors: MK02FN128VFM10 ** MK02FN64VFM10 ** MK02FN128VLF10 ** MK02FN64VLF10 ** MK02FN128VLH10 ** MK02F...
yandld/lpc_uart_server
mcu_source/Project/Internal/lpc54018_uart_server/src/usbd_thread.c
#include <rtthread.h> #include "common.h" #include "usbd.h" #include "usbd_cdc.h" #include "usbd_cp210x.h" #include "usbd_digi_serial.h" rt_mq_t msd_mq; static struct usbd_t usbd; void USBD_Connect (bool con); void USBD_Init (void); //struct ucdc_line_coding coding; typedef struct { uint8_t param; void (*exec...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/components/net/canfestival/src/rtt_canfestival.c
<gh_stars>1-10 #include <stdbool.h> #include <rtthread.h> #include <rtdevice.h> #include "canfestival.h" #include "TaskSlave.h" #include "timer.h" #include "gpio.h" #include "at32_can.h" #include "chkv.h" #include "app.h" #include "common.h" #include "at32_can.h" static rt_mq_t cf_mq; static rt_mutex_t cf_mute...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/inc/usbd_composite.h
<reponame>yandld/lpc_uart_server #ifndef __USBD_COMPOSITE_H_ #define __USBD_COMPOSITE_H_ #include <stdint.h> #include <usbd.h> #include <usbd_cdc.h> void usbd_composite_init(struct usbd_t *h, uint32_t option); #endif
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/emc.h
/** ****************************************************************************** * @file emc.h * @author YANDLD * @version V3.0.0 * @date 2016.5.29 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ #ifndef...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/mrt.h
<filename>mcu_source/Libraries/drivers_lpc/inc/mrt.h<gh_stars>1-10 /** ****************************************************************************** * @file mrt.h * @author YANDLD * @version V3.0.0 * @date 2016.05.31 * @brief www.beyondcore.net http://upcmcu.taobao.com ***********************...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/mrt.c
<gh_stars>1-10 /** ****************************************************************************** * @file mrt.c * @author YANDLD * @version V3.0.0 * @date 2016.5.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/lcdc.h
/** ****************************************************************************** * @file lcdc.h * @author YANDLD * @version V3.0.0 * @date 2016.6.2 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ #ifndef...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/src/usbd_hid.c
<gh_stars>1-10 #include <string.h> #include "usb_common.h" #include "usbd.h" #include "usbd_hid.h" struct uhid_t { struct usbd_t *h; /* usbd handle */ struct usbd_hid_callback_t *cb; uint8_t out_buf[64]; uint8_t keyboard_in_buf[8]; uint8_t mouse_in_buf[4]; }; static struct uhid_t hid...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/system_SKEAZ1284.h
/* ** ################################################################### ** Compilers: ARM Compiler ** Freescale C/C++ for Embedded ARM ** GNU C Compiler ** GNU C Compiler - CodeSourcery Sourcery G++ ** IA...
yandld/lpc_uart_server
mcu_source/Project/Internal/lpc54018_uart_server/src/uart_dma_test.c
#include <rtthread.h> #include "uart_bridge.h" #include "common.h" #include "gpio.h" #include "uart.h" #include "dma.h" void _setup_dma_tx_desc(uint8_t ch, DMA_ChlSetup_t *setup); void _setup_dma_rx_desc(uint8_t ch, DMA_ChlSetup_t *setup); uint8_t rx_buf0[128]; DMA_ChlSetup_t rx_dma0; void uart_dma_test_thread_entr...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/test/usbd_msc_test.c
<gh_stars>1-10 #include <string.h> #include "usbd_msc.h" extern struct usbd_t usbd; #define BLOCK_SIZE (512) #define BLOCK_CNT (100) uint8_t DiskBuf[BLOCK_SIZE*BLOCK_CNT]; uint32_t msc_read_sector (uint32_t block, uint8_t *buf, uint32_t block_cnt) { // printf("r block:%d cnt:%d\r\n", block, block_cnt...
yandld/lpc_uart_server
mcu_source/Project/Internal/lpc54018_uart_server/src/uart_bridge_support.c
#include "common.h" #include "uart.h" #include "dma.h" #include "ulog.h" void _setup_dma_tx_desc(uint8_t ch, DMA_ChlSetup_t *setup) { setup->chl = DMAREQ_FLEXCOMM0_RX + ch*2 + 1; if(ch == 8) { setup->chl = DMAREQ_FLEXCOMM8_TX; } if(ch == 9) { setup->chl = DMAREQ_FLEXC...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/system_MM32F103xCxE_o.h
<gh_stars>1-10 #ifndef __SYSTEM_MM32F103xCxE_o_H__ #define __SYSTEM_MM32F103xCxE_o_H__ extern uint32_t SystemCoreClock; void SystemInit (void); #endif
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/MKS22F25612.h
<gh_stars>1-10 /* ** ################################################################### ** Processors: MKS22FN256LH12 ** MKS22FN128LH12 ** MKS22FN256LL12 ** MKS22FN128LL12 ** ** Compilers: Keil ARM C/C++ Compiler ** ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/test/usbd_hid_test.c
#include "usbd_hid.h" extern struct usbd_t usbd; uint32_t data_send_notify(uint8_t ep) { printf("ep%d: data_send_notify\r\n", ep); return CH_OK; } uint32_t hid_data_received(uint8_t ep, uint8_t *buf, uint32_t len) { int i; printf("ep%d: received, size:%d\r\n", ep, len); for(i=0; i<len; i++) {...
yandld/lpc_uart_server
mcu_source/Libraries/startup/src/system_MKL03Z4.c
<gh_stars>1-10 /* ** ################################################################### ** Processors: MKL03Z32CAF4 ** MKL03Z32VFG4 ** MKL03Z16VFG4 ** MKL03Z8VFG4 ** MKL03Z32VFK4 ** ...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/LPC82x.h
/**************************************************************************** * $Id:: LPC8xx.h 6437 2012-10-31 11:06:06Z dep00694 $ * Project: NXP LPC8xx software example * * Description: * CMSIS Cortex-M0+ Core Peripheral Access Layer Header File for * NXP LPC800 Device Serie...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/sdif.h
<reponame>yandld/lpc_uart_server<filename>mcu_source/Libraries/drivers_lpc/inc/sdif.h<gh_stars>1-10 /** ****************************************************************************** * @file sdif.h * @author YANDLD * @version V3.0.0 * @date 2016.5.29 * @brief www.beyondcore.net http://upcmcu.taob...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/src/usbd_lpc_driver.c
#include "common.h" #include "usbd.h" #include "usbd_config.h" void USBD_Reset (void); void USBD_EnableEP (uint32_t EPNum); void USBD_ResetEP (uint32_t EPNum); #if defined(RTT) #include <rtthread.h> extern rt_mq_t msd_mq; typedef struct { uint8_t param; void (*exec)(uint32_t param); }msd_msg_t; #endif ...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/spi.c
<gh_stars>1-10 /** ****************************************************************************** * @file spi.c * @author YANDLD * @version V3.0.0 * @date 2015.6.21 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/components/net/canfestival/examples/master402/master402_canopen.c
#include <stdint.h> #include <rtthread.h> #include <finsh.h> #include "canfestival.h" #include "canopen_callback.h" #include "timers_driver.h" #include "master402_canopen.h" #include "master402_od.h" #define PRODUCER_HEARTBEAT_TIME 500 #define CONSUMER_HEARTBEAT_TIME 1000 struct servo_config_state { uint8_t state; ...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/QN908XB.h
<gh_stars>1-10 /* ** ################################################################### ** Processor: QN908X ** Compilers: Keil ARM C/C++ Compiler ** GNU C Compiler ** IAR ANSI C/C++ Compiler for ARM ** ** Reference manual: User manua...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/inc/usbd.h
#ifndef __CHLIB_USBD_H_ #define __CHLIB_USBD_H_ #include <stdio.h> #include <stdint.h> #include <stdbool.h> #include "usb_common.h" #include "usbd_config.h" #if ( USBD_DEBUG == 1 ) #include <stdio.h> #endif #if ( USBD_DEBUG == 1 ) #define USBD_TRACE printf #else #define USBD_TRACE(...) #endif #define USBD_USE_HID0...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/syscon.c
/** ****************************************************************************** * @file syscon.c * @author YANDLD * @version V3.0.0 * @date 2016.5.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/src/vsc/usbd_cp210x.c
<reponame>yandld/lpc_uart_server<filename>mcu_source/Libraries/utilities/chusb/src/vsc/usbd_cp210x.c #include <string.h> #include "usb_common.h" #include "usbd.h" #include "usbd_cp210x.h" #include "uart_bridge.h" #include "uart.h" /* https://www.silabs.com/documents/public/application-notes/AN571.pdf */ typedef struc...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/src/usbd_msc.c
#include <string.h> #include "usb_common.h" #include "usbd.h" #include "usbd_msc.h" /* MSC state machine */ enum STAT { STAT_CBW, /* receive CBW block */ STAT_CMD, /* process cmd */ STAT_CSW, /* send CSW */ STAT_RECEIVE, /* receive data */ STAT_SEND, /*...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/spi.h
<gh_stars>1-10 /** ****************************************************************************** * @file spi.h * @author YANDLD * @version V3.0.0 * @date 2016.6.2 * @brief www.beyondcore.net http://upcmcu.taobao.com *****************************************************************************...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/syscon.h
/** ****************************************************************************** * @file syscon.h * @author YANDLD * @version V3.0.0 * @date 2016.05.31 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ #if...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/src/usbd.c
#include "usbd.h" #include "usb_common.h" /* usbd device handle */ static struct usbd_t *handle; /* read data from PC */ uint32_t usbd_ep_read(uint8_t ep, uint8_t *buf) { uint32_t size; size = handle->ops->ep_read(ep, buf, (handle->data01_out >> ep) & 0x01); handle->data01_out ^= (1 << ep); ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/inc/usbd_cdc.h
#ifndef __USBD_cdc_H_ #define __USBD_cdc_H_ #include <stdint.h> #include <usbd.h> #include <usb_common.h> struct usbd_cdc_callback_t { uint32_t (*get_line_coding)(struct ucdc_line_coding *line_coding); uint32_t (*set_line_coding)(struct ucdc_line_coding *line_coding); uint32_t (*set_control_line_serial_s...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/wdog.h
/** ****************************************************************************** * @file wdog.h * @author YANDLD * @version V3.0.0 * @date 2016.2.16 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ #ifnde...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/src/usbd_lpc_driver_hs.c
<gh_stars>1-10 #include "common.h" #include "syscon.h" #include "usbd.h" #include "usbd_config.h" void USBD_Reset (void); void USBD_EnableEP (uint32_t EPNum); void USBD_ResetEP (uint32_t EPNum); #if defined(RTT) #include <rtthread.h> extern rt_mq_t msd_mq; typedef struct { uint8_t param; void (*exec)(ui...
yandld/lpc_uart_server
user_space_test_program/usbttytest_multiply.c
<reponame>yandld/lpc_uart_server<gh_stars>1-10 #include <pthread.h> #include <stdio.h> #include <sys/time.h> #include <string.h> #include <unistd.h> #include <termios.h> #include <stdlib.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/select.h> #include <errno.h> #include <signal.h> #d...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/inc/usbd_msc.h
<filename>mcu_source/Libraries/utilities/chusb/inc/usbd_msc.h #ifndef __USBD_MSC_H_ #define __USBD_MSC_H_ #include <stdint.h> #include <usbd.h> #include <usb_common.h> struct usbd_msc_callback_t { uint32_t (*msc_read_sector) (uint32_t block, uint8_t *buf, uint32_t block_cnt); uint32_t (*msc_write_sector)(uin...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/LPC8xx.h
<reponame>yandld/lpc_uart_server // Attention please! // This is the header file for the LPC80x product family only. /**************************************************************************** * $Id:: LPC8xx.h 6437 2012-10-31 11:06:06Z dep00694 $ * Project: NXP LPC8xx software example * ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/components/net/canfestival/examples/master402/master402_od.h
/* File generated by gen_cfile.py. Should not be modified. */ #ifndef MASTER402_H #define MASTER402_H #include "data.h" /* Prototypes of function provided by object dictionnary */ UNS32 master402_valueRangeTest (UNS8 typeValue, void * value); const indextable * master402_scanIndexOD (CO_Data *d, UNS16 wIndex, UNS32...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/system_MK02F12810.h
/* ** ################################################################### ** Processors: MK02FN128VFM10 ** MK02FN64VFM10 ** MK02FN128VLF10 ** MK02FN64VLF10 ** MK02FN128VLH10 ** MK02F...
yandld/lpc_uart_server
mcu_source/Project/Internal/lpc54018_uart_server/src/led_thread.c
#include "rtthread.h" #include "rtdevice.h" #include "gpio.h" #ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) #endif typedef struct { uint8_t port; uint8_t pin; } led_t; led_t leds[] = { {HW_GPIO3, 6}, {HW_GPIO3, 7}, {HW_GPIO3, 8}, {HW_GPIO3, 9}, {HW_GPIO3, 10}, ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/bsp/lpc546xx/drv_spi.c
<reponame>yandld/lpc_uart_server<filename>mcu_source/Libraries/utilities/rtthread/bsp/lpc546xx/drv_spi.c #include <rthw.h> #include <stdio.h> #include <rtthread.h> #include "common.h" #include "spi.h" #include "gpio.h" #include <rtdevice.h> #include <drivers/spi.h> static struct rt_spi_bus bus; #define SPI10_CS ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/inc/usb_common.h
<filename>mcu_source/Libraries/utilities/chusb/inc/usb_common.h #ifndef __CHLIB_USB_COMMON_H_ #define __CHLIB_USB_COMMON_H_ #include <stdint.h> #include <stdbool.h> #if !defined(CH_OK) #define CH_OK (0) #endif #if !defined(CH_ERR) #define CH_ERR (1) #endif #define USB_CLASS_DEVICE 0x00 #de...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/components/net/canfestival/examples/master402/master402_od.c
/* File generated by gen_cfile.py. Should not be modified. */ #include "master402_od.h" /**************************************************************************/ /* Declaration of mapped variables */ /**************************************************************************...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/spifi.c
/** ****************************************************************************** * @file spifi.c * @author YANDLD * @version V3.0.0 * @date 2016.5.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ ...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/components/net/canfestival/slave_od/TaskSlave.c
/* File generated by gen_cfile.py. Should not be modified. */ #include "TaskSlave.h" /**************************************************************************/ /* Declaration of mapped variables */ /**************************************************************************/ I...
yandld/lpc_uart_server
mcu_source/Libraries/startup/src/system_MKE18F16.c
/* ** ################################################################### ** Processors: MKE18F256VLH16 ** MKE18F256VLL16 ** MKE18F512VLH16 ** MKE18F512VLL16 ** ** Compilers: Keil ARM C/C++ Compiler ** ...
yandld/lpc_uart_server
mcu_source/Libraries/startup/src/system_MKL33Z4.c
/* ** ################################################################### ** Processors: MKL33Z256VLH4 ** MKL33Z128VLH4 ** MKL33Z64VLH4 ** MKL33Z256VMP4 ** MKL33Z128VMP4 ** MKL33Z64V...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/sdif.c
<gh_stars>1-10 /** ****************************************************************************** * @file sdif.c * @author YANDLD * @version V3.0.0 * @date 2016.5.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ***************************************************************************...
yandld/lpc_uart_server
mcu_source/Project/Internal/lpc54018_uart_server/src/uart_bridge.c
#include <rtthread.h> #include "uart_bridge.h" #include "common.h" #include "gpio.h" #include "uart.h" #include "dma.h" #include "rtdevice.h" #include "usbd.h" #include "ulog.h" void set_led(uint8_t idx, uint8_t val); void _setup_dma_tx_desc(uint8_t ch, DMA_ChlSetup_t *setup); void _setup_dma_rx_desc(uint8_t ch, DMA_...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/dma.c
/** ****************************************************************************** * @file dma.c * @author YANDLD * @version V3.0.0 * @date 2016.5.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ #inclu...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/rtthread/components/net/canfestival/slave_od/TaskSlave.h
/* File generated by gen_cfile.py. Should not be modified. */ #ifndef TASKSLAVE_H #define TASKSLAVE_H #include "data.h" /* Prototypes of function provided by object dictionnary */ UNS32 TaskSlave_valueRangeTest (UNS8 typeValue, void * value); const indextable * TaskSlave_scanIndexOD (CO_Data *d, UNS16 wIndex, UNS32...
yandld/lpc_uart_server
mcu_source/Libraries/startup/inc/MKV10Z7.h
<filename>mcu_source/Libraries/startup/inc/MKV10Z7.h /* ** ################################################################### ** Compilers: ARM Compiler ** Freescale C/C++ for Embedded ARM ** GNU C Compiler ** IAR ANSI C/C++ Compi...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/src/emc.c
<gh_stars>1-10 /** ****************************************************************************** * @file emc.c * @author YANDLD * @version V3.0.0 * @date 2016.5.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************...
yandld/lpc_uart_server
mcu_source/Libraries/utilities/chusb/test/usbd_config.h
<filename>mcu_source/Libraries/utilities/chusb/test/usbd_config.h #ifndef __CHLIB_USBD_CONFIG_H_ #define __CHLIB_USBD_CONFIG_H_ /* general USBD configration */ #define EP0_MAX_SIZE (64) #define USBD_VID (0x0465) #define USBD_PID (0x622F) #define MANUFACT...
yandld/lpc_uart_server
mcu_source/Libraries/drivers_lpc/inc/i2c.h
<reponame>yandld/lpc_uart_server /** ****************************************************************************** * @file i2c.h * @author YANDLD * @version V3.0.0 * @date 2016.6.2 * @brief www.beyondcore.net http://upcmcu.taobao.com ***********************************************************...
yandld/lpc_uart_server
mcu_source/Project/Internal/lpc54018_uart_server/src/uart_bridge.h
#ifndef __UART_BRIDGE_H_ #define __UART_BRIDGE_H_ #include <rtthread.h> #include "rtdevice.h" #include <dma.h> typedef struct { uint32_t total_out; uint32_t total_out_speed; uint32_t total_in; uint32_t total_in_speed; }stat_t; typedef struct { struct rt_ringbuffer trb; /* tx ring buffer insta...
TozyZuo/DingTalkPlugin
Pods/DingDingPod/Headers/DDSettingHeader.h
<gh_stars>1-10 // // DDSettingHeader.h // DingTalk // // Created by TozyZuo on 2018/3/9. // Copyright © 2018年 TozyZuo. All rights reserved. // #ifndef DDSettingHeader_h #define DDSettingHeader_h @interface DTCellItem : NSObject @property(retain, nonatomic) UIFont *titleFont; @property(retain, nonatomic) UIColor ...
TozyZuo/DingTalkPlugin
DingTalkDylib/DingTalkDylib.h
<filename>DingTalkDylib/DingTalkDylib.h // weibo: http://weibo.com/xiaoqing28 // blog: http://www.alonemonkey.com // // DingTalkDylib.h // DingTalkDylib // // Created by TozyZuo on 2018/3/1. // Copyright (c) 2018年 TozyZuo. All rights reserved. // #import <Foundation/Foundation.h>
coleworld87/grpc
src/core/ext/upb-generated/envoy/api/v2/scoped_route.upb.c
<filename>src/core/ext/upb-generated/envoy/api/v2/scoped_route.upb.c /* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/api/v2/scoped_route.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #include <stddef.h> #include "upb/msg.h" #...
coleworld87/grpc
src/core/ext/upb-generated/envoy/api/v2/srds.upb.h
<filename>src/core/ext/upb-generated/envoy/api/v2/srds.upb.h /* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/api/v2/srds.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_API_V2_SRDS_PROTO_UPB_H_ #define ENVOY_API_V...
coleworld87/grpc
src/core/ext/filters/client_channel/server_address.h
<filename>src/core/ext/filters/client_channel/server_address.h /* * * Copyright 2018 gRPC authors. * * 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/licens...
coleworld87/grpc
src/core/ext/upb-generated/envoy/type/semantic_version.upb.h
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/type/semantic_version.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_TYPE_SEMANTIC_VERSION_PROTO_UPB_H_ #define ENVOY_TYPE_SEMANTIC_VERSION_PROTO_UPB_H_ #include "...
coleworld87/grpc
src/core/ext/upb-generated/envoy/api/v2/lds.upb.h
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/api/v2/lds.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_API_V2_LDS_PROTO_UPB_H_ #define ENVOY_API_V2_LDS_PROTO_UPB_H_ #include "upb/generated_util.h" #include "u...
coleworld87/grpc
src/core/ext/upb-generated/envoy/api/v2/endpoint.upb.c
<gh_stars>1-10 /* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/api/v2/endpoint.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #include <stddef.h> #include "upb/msg.h" #include "envoy/api/v2/endpoint.upb.h" #include "envoy/api/...
coleworld87/grpc
src/core/ext/upb-generated/envoy/api/v2/listener.upb.h
<reponame>coleworld87/grpc /* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/api/v2/listener.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_API_V2_LISTENER_PROTO_UPB_H_ #define ENVOY_API_V2_LISTENER_PROTO_UPB_H_ #...
dad98253/razer_pad
pad.c
<filename>pad.c #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <stdarg.h> #include <errno.h> #include <dirent.h> #include <string.h> #define mydebug 0 #define FOUND 0 #define NOT_FOUND 1 #define READ_ERROR 2 #define OPEN_ERROR 3 int LoadDirectoryContents(const char* sDir,const char* name); int br...
Foran/civetweb
examples/websocket/WebSockCallbacks.h
#ifndef WEBSOCKCALLBACKS_H_INCLUDED #define WEBSOCKCALLBACKS_H_INCLUDED #include "civetweb.h" #ifdef __cplusplus extern "C" { #endif void websock_init_lib(void); void websock_exit_lib(void); void websock_send_broadcast(const char * data, int data_len); void websocket_ready_handler(struct mg_connect...
Foran/civetweb
examples/websocket/WebSockCallbacks.c
<reponame>Foran/civetweb<filename>examples/websocket/WebSockCallbacks.c #include <assert.h> #include <stdlib.h> #include <time.h> #include "WebSockCallbacks.h" #ifdef __APPLE__ #include <string.h> #endif #ifdef _WIN32 #include <Windows.h> typedef HANDLE pthread_mutex_t; static int pthread_mutex_init(pthre...
Eszrah/chrone-memory
chrone-memory/include/LinearMemoryMapper.h
#pragma once #include <utility> #include "NativeType.h" #include "CoreAllocatorProxy.h" namespace chrone::memory { struct LinearAllocatorProxy { void* (*Allocate)(void*, Uint32) { CoreAllocatorProxy::Allocate }; void (*Deallocate)(void*, void*) { CoreAllocatorProxy::Deallocate }; void* allocatorData{ nullptr }; ...
Eszrah/chrone-memory
chrone-memory/include/NativeType.h
<reponame>Eszrah/chrone-memory<filename>chrone-memory/include/NativeType.h #pragma once #include <cstdint> #include <cstddef> using PtrSize = std::ptrdiff_t; using UChar = std::uint8_t; using Char = std::int8_t; using Bool8 = std::uint8_t; using Uint8 = std::uint8_t; using Int8 = std::int8_t; using Uint16 = std::u...
Eszrah/chrone-memory
chrone-memory/include/MemoryConstructor.h
#pragma once namespace chrone::memory { struct MemoryConstructor { using InstanceCountType = size_t; template<class T, class... Args> inline static void Construct(T* instance, Args&&... args); template<class T, class... Args> inline static void ConstructRange(InstanceCountType count, T* instance, Args&&... arg...
Eszrah/chrone-memory
chrone-memory/include/CoreAllocatorProxy.h
<gh_stars>0 #pragma once #include "NativeType.h" namespace chrone::memory { struct CoreAllocatorProxy { inline static void* Allocate( void* /*allocatorData*/, Uint32 byteCount) { return new Char[byteCount]; } inline static void Deallocate( void* /*allocatorData*/, void* memory) { delete[]...
Eszrah/chrone-memory
chrone-memory/include/LinearMemoryMapperFunc.h
<reponame>Eszrah/chrone-memory #pragma once #include "NativeType.h" namespace chrone::memory { struct StaticLinearMemoryMapper; struct DynamicLinearMemoryMapper; struct LinearAllocatorProxy; struct LinearMemoryMapperFunc { static void Allocate(StaticLinearMemoryMapper& mapper); static Char* MapMemory(StaticLine...
shvets/WebAPI
WebAPI_tvOS/WebAPI_tvOS.h
<filename>WebAPI_tvOS/WebAPI_tvOS.h // // WebAPI_tvOS.h // WebAPI_tvOS // // Created by <NAME> on 10/27/17. // #import <UIKit/UIKit.h> //! Project version number for WebAPI_tvOS. FOUNDATION_EXPORT double WebAPI_tvOSVersionNumber; //! Project version string for WebAPI_tvOS. FOUNDATION_EXPORT const unsigned char We...
shvets/WebAPI
WebAPI_macOS/WebAPI_macOS.h
<reponame>shvets/WebAPI<gh_stars>0 // // WebAPI_macOS.h // WebAPI_macOS // // Created by <NAME> on 10/27/17. // #import <Cocoa/Cocoa.h> //! Project version number for WebAPI_macOS. FOUNDATION_EXPORT double WebAPI_macOSVersionNumber; //! Project version string for WebAPI_macOS. FOUNDATION_EXPORT const unsigned cha...
shvets/WebAPI
WebAPI_iOS/WebAPI_iOS.h
// // WebAPI_iOS.h // WebAPI_iOS // // Created by <NAME> on 10/27/17. // #import <UIKit/UIKit.h> //! Project version number for WebAPI_iOS. FOUNDATION_EXPORT double WebAPI_iOSVersionNumber; //! Project version string for WebAPI_iOS. FOUNDATION_EXPORT const unsigned char WebAPI_iOSVersionString[]; // In this head...
onodera-punpun/xdesktop
xdesktop.c
<reponame>onodera-punpun/xdesktop #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <stdbool.h> #include <unistd.h> #include <signal.h> #include <sys/select.h> #include <xcb/xcb.h> #include <xcb/xcb_event.h> #include <xcb/xcb_icccm.h> #include <xcb/xcb_ewmh.h> #include "xdesktop.h" ...
andywx/agensgraph
src/backend/parser/uname_const_decl.c
/* * uname_const_decl.c * * $Id$ * * Constant declarations of commonly used UNAMEs. * * This file is part of the OpenLink Software Virtuoso Open-Source (VOS) * project. * * Copyright (C) 1998-2019 OpenLink Software * * This project is free software; you can redistribute it and/or modify it * under ...
andywx/agensgraph
src/backend/parser/dkpool.h
/* * dkpool.h * * Created on: 2019年11月21日 * Author: liu */ #ifndef SRC_BACKEND_PARSER_DKPOOL_H_ #define SRC_BACKEND_PARSER_DKPOOL_H_ /* * Dkpool.h * * $Id$ * * Temp memory pool for objects that should be allocated one by one but freed * together. * * This file is part of the OpenLink Software V...
andywx/agensgraph
src/backend/parser/sparql_func.c
/* * sparql_func.c * * Created on: 2019年11月14日 * Author: liu */ #include "sparql.h" #include"sparql_l.h" #include "sparql_p.h" #include "sparql_func.h" #include <ctype.h> #include <stdio.h> #include <stdarg.h> uint32 dk_set_length(s_node_t *set) { uint32 count; for (count = 0; set; set = set->next) cou...
andywx/agensgraph
src/backend/parser/sparql_func.h
<reponame>andywx/agensgraph /* * sparql_func.h * * Created on: 2019年11月16日 * Author: liu */ #include"sparql.h" #include"sparql_l.h" #include <string.h> #include <stdlib.h> #include "Dk.h" #include "dkpool.h" #ifndef SRC_BACKEND_PARSER_SPARQL_FUNC_H_ #define SRC_BACKEND_PARSER_SPARQL_FUNC_H_ #define DBG_NAME(...
andywx/agensgraph
src/backend/parser/uname_const_decl.h
/* * $Id$ * * This file is part of the OpenLink Software Virtuoso Open-Source (VOS) * project. * * Copyright (C) 1998-2019 OpenLink Software * * This project is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Softwar...
andywx/agensgraph
src/backend/parser/sparql_l.h
<filename>src/backend/parser/sparql_l.h<gh_stars>1-10 #pragma once #define DV_STRING 182 #define MAX_XML_LNAME_LENGTH 500 /* for local names, namespace prefixes and namespace URIs */ #define MAX_XML_QNAME_LENGTH (2*MAX_XML_LNAME_LENGTH + 1) /* for qualified names (that have semicolons) */ #define NUMERIC_MAX_SCAL...
andywx/agensgraph
src/backend/parser/dkpool.c
<gh_stars>1-10 /* * dkpool.c * * Created on: 2019年11月21日 * Author: liu */ /* * Dkpool.c * * $Id$ * * Temp memory pool for objects that should be allocated one by one but freed * together. * * This file is part of the OpenLink Software Virtuoso Open-Source (VOS) * project. * * Copyright (C) ...
andywx/agensgraph
src/backend/commands/copyrdf.c
#include "postgres.h" #include "access/xact.h" #include "catalog/namespace.h" #include "commands/async.h" #include "commands/prepare.h" #include "commands/copyrdf.h" #include "commands/sequence.h" #include "utils/guc.h" #include "utils/portal.h" #include "stdio.h" #include "string.h" #inclu...
andywx/agensgraph
src/backend/parser/sparqlwords.h
<filename>src/backend/parser/sparqlwords.h /* ANSI-C code produced by gperf version 3.0.4 */ /* Command-line: /usr/bin/gperf -aCDGptr -Kkwd -L ANSI-C -k'1,2,3,5,7,$' --ignore-case -Nsparql_lex_hash_kw sparqlwords.gperf */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' ==...
andywx/agensgraph
src/include/commands/copyrdf.h
<gh_stars>1-10 #ifndef COPYRDF_H #define COPYRDF_H #include "nodes/execnodes.h" #include "nodes/parsenodes.h" #include "parser/parse_node.h" #include "tcop/dest.h" extern void DoCopyRdf(CopyRdfStmt *stmt); #endif /* COPYRDF_H */
andywx/agensgraph
src/backend/parser/Dk.h
<filename>src/backend/parser/Dk.h /* * Dksets.h * * Created on: 2019年11月16日 * Author: liu */ #include "sparql.h" #include "sparql_l.h" #ifndef SRC_BACKEND_PARSER_DKSETS_H_ #define SRC_BACKEND_PARSER_DKSETS_H_ struct mem_pool_s; typedef struct mem_pool_s mem_pool_t; typedef struct mem_block_s mem_block_t;...
andywx/agensgraph
src/backend/parser/sparql_p.h
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
andywx/agensgraph
src/backend/parser/sparql.h
#pragma once #include <stddef.h> typedef char *caddr_t; # ifndef ptrlong # define ptrlong long # endif #define DV_TYPE_OF(x) \ (IS_BOX_POINTER (x) \ ? (dtp_t) box_tag(x) \ : ((dtp_t)(DV_LONG_INT)) ) #define SPAR_ALIAS (ptrlong)1001 /*!< Alias, (expn AS ?varname). spar_dealias() is identity function for non-alia...
andywx/agensgraph
src/backend/parser/sparql_l.c
<filename>src/backend/parser/sparql_l.c #line 2 "sparql_l.c" #line 4 "sparql_l.c" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 37 #if YY_FLEX_SUBMINOR_VERSION > 0 #def...
andywx/agensgraph
src/backend/parser/sparql_p.c
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by...
susundberg/python-median-filter-2d
src/filter_cwrap.h
<reponame>susundberg/python-median-filter-2d<filename>src/filter_cwrap.h #pragma once #include <stdint.h> extern "C" { int median_filter_2d_float64(int x, int y, int hx, int hy, int blockhint, const double* in, double* out); int median_filter_2d_float32(int x, int y, int hx, int hy, int blockhint, const float* ...
susundberg/python-median-filter-2d
src/filter.h
<filename>src/filter.h<gh_stars>1-10 #ifndef FILTER_H #define FILTER_H // T: float or double. // x, y: image dimensions, width x pixels and height y pixels. // hx, hy: window radius in x and y directions. // blockhint: preferred block size, 0 = pick automatically. // in: input image. // out: output image. // // Total ...
kschetan25/project_3_csim
main_prog.c
#include "csim.h" #include <stdio.h> #define DATABASE 1000L #define CLIENTS 10L #define SERVERS 1L #define NODES 11L #define SIMTIME 100.0 typedef struct msg *msg_t; struct data_tuple { long data_id; double data_ts; }; struct msg { struct data_tuple bcastData[DATABASE]; double timestamp; long da...
kschetan25/project_3_csim
proj_3.c
#include "csim.h" #include <stdio.h> #define MAX_SIZE 1000 #define MAX_DATABASE 1000L #define BCAST_INTERVAL 20.0 #define NUM_CLIENTS 10L #define NUM_SERVERS 1L #define TRANS_TIME 0.8 #define TOTAL_NODES 101L #define CACHE_SIZE 100L #define REQUEST 1L #define REPLY 2L typedef struct msg *msg_t; struct msg { } msg_t...
prophecy/Pillar
Dependencies/Include/Rocket/Core/Context.h
<filename>Dependencies/Include/Rocket/Core/Context.h /* * This source file is part of libRocket, the HTML/CSS Interface Middleware * * For the latest information, see http://www.librocket.com * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * * Permission is hereby granted, free of charge, to any ...
prophecy/Pillar
Dependencies/Include/cml/vector/vector_unroller.h
<filename>Dependencies/Include/cml/vector/vector_unroller.h /* -*- C++ -*- ------------------------------------------------------------ Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/ The Configurable Math Library (CML) is distributed under the terms of the Boost Software License, v1.0 (see cml/LICENSE for d...
prophecy/Pillar
Src/Foundation/IInput.h
<filename>Src/Foundation/IInput.h /* * This source file is part of Wonderland, the C++ Cross-platform middleware for game * * For the latest information, see https://github.com/prophecy/Wonderland * * The MIT License (MIT) * Copyright (c) 2015 <NAME> * * Permission is hereby granted, free of charge, to any pers...
prophecy/Pillar
Dependencies/Include/SDL_image/IMG_tif.c
<reponame>prophecy/Pillar<filename>Dependencies/Include/SDL_image/IMG_tif.c /* SDL_image: An example image loading library for use with SDL Copyright (C) 1997-2013 <NAME> <<EMAIL>> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any ...
prophecy/Pillar
Dependencies/Include/cml/fixed.h
/* -*- C++ -*- ------------------------------------------------------------ Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/ The Configurable Math Library (CML) is distributed under the terms of the Boost Software License, v1.0 (see cml/LICENSE for details). *------------------------------------------------...