repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
Rajib-Sarwar/VizuryEventLogger-iOS-SDK | Frameworks/VizuryEventLogger/VizuryEventLogger.framework/Headers/VizuryEventLogger.h | //
// VizuryEventLogger.h
// VizuryEventLogger
//
// Created by <NAME> Sarwar on 6/3/20.
// Copyright © 2020 <NAME> Sarwar. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for VizuryEventLogger.
FOUNDATION_EXPORT double VizuryEventLoggerVersionNumber;
//! Project version st... |
woutercharle/switch | Switch_Device/Switch_DataContainer.h | /*?*************************************************************************
* Switch_DataContainer.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
*... |
woutercharle/switch | Switch_Device/Switch_Device_Tests.h | /*?*************************************************************************
* Switch_Device_Test.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* ... |
woutercharle/switch | Switch_Serialization/Switch_JsonSerializableInterface.h | /*?*************************************************************************
* Switch_JsonSerializableInterface.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ----------... |
woutercharle/switch | Switch_Network/Switch_NetworkAddress.h | /*?*************************************************************************
* Switch_NetworkAddress.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------... |
woutercharle/switch | Switch_Base/Switch_Debug.h | /*?*************************************************************************
* Switch_Debug.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* Wout... |
woutercharle/switch | Switch_Device/Switch_DeviceStore.h | <filename>Switch_Device/Switch_DeviceStore.h<gh_stars>0
/*?*************************************************************************
* Switch_DeviceStore.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
*... |
woutercharle/switch | Switch_Router/Switch_RouterNodeModel.h | /*?*************************************************************************
* Switch_RouterNodeModel.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------... |
woutercharle/switch | Switch_Router/Switch_Router.h | /*?*************************************************************************
* Switch_Router.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* Wou... |
woutercharle/switch | Switch_Parameters/Switch_ParameterContainer.h | <gh_stars>0
/*?*************************************************************************
* Switch_ParameterContainer.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ------... |
woutercharle/switch | Switch_Network/Switch_NodeExclusionPayload.h | <reponame>woutercharle/switch<filename>Switch_Network/Switch_NodeExclusionPayload.h
/*?*************************************************************************
* Switch_NodeExclusionPayload.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* ... |
woutercharle/switch | Switch_Network/Switch_PingPongPayload.h | <filename>Switch_Network/Switch_PingPongPayload.h
/*?*************************************************************************
* Switch_PingPongPayload.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* ... |
woutercharle/switch | Switch_Base/Switch_Utilities.h | <reponame>woutercharle/switch<filename>Switch_Base/Switch_Utilities.h<gh_stars>0
/*?*************************************************************************
* Switch_Utilities.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email ... |
woutercharle/switch | Switch_Base/Switch_CompilerConfiguration.h | /*?*************************************************************************
* Switch_CompilerConfiguration.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------... |
woutercharle/switch | Switch_Network/Switch_DataPayload.h | /*?*************************************************************************
* Switch_DataPayload.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* ... |
woutercharle/switch | Switch_Controller/Switch_ControllerFunctionalFacade.h | /*?*************************************************************************
* ControllerFunctionalFacade.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* -----------------... |
woutercharle/switch | Switch_Controller/Switch_ControllerFunctionalInterface.h | <filename>Switch_Controller/Switch_ControllerFunctionalInterface.h
/*?*************************************************************************
* Switch_ControllerFunctionalInterface.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email... |
woutercharle/switch | Switch_Router/Switch_RouterNetworkModel.h | /*?*************************************************************************
* Switch_RouterNetworkModel.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ------------------... |
woutercharle/switch | Switch_Base/Switch_StdLibExtras.h | /*?*************************************************************************
* Switch_StdLibExtras.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* ... |
woutercharle/switch | Switch_Controller/Switch_Controller.h | <filename>Switch_Controller/Switch_Controller.h<gh_stars>0
/*?*************************************************************************
* Switch_Controller.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*... |
woutercharle/switch | Switch_Http/Switch_HttpInterfaceTraits.h | <filename>Switch_Http/Switch_HttpInterfaceTraits.h
/*?*************************************************************************
* Switch_HttpInterfaceTraits.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
... |
woutercharle/switch | Switch_Device/Switch_Device.h | /*?*************************************************************************
* Switch_Device.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* Wou... |
woutercharle/switch | Switch_Application/Switch_StatedObject.h | /*?*************************************************************************
* Switch_StatedObject.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* ... |
woutercharle/switch | Switch_Parameters/Switch_Parameter.h | <gh_stars>0
/*?*************************************************************************
* Switch_Parameter.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------... |
woutercharle/switch | Switch_Network/Switch_BroadcastPayload.h | <filename>Switch_Network/Switch_BroadcastPayload.h
/*?*************************************************************************
* Switch_BroadcastPayload.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
*... |
woutercharle/switch | Switch_Base/Switch_Types.h | <reponame>woutercharle/switch<gh_stars>0
/*?*************************************************************************
* Switch_Types.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAM... |
woutercharle/switch | Switch_Node/Switch_Dimmer.h | /*?*************************************************************************
* Switch_Dimmer.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* Wou... |
woutercharle/switch | Switch_Node/Switch_Node.h | <filename>Switch_Node/Switch_Node.h<gh_stars>0
/*?*************************************************************************
* Switch_Node.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER O... |
woutercharle/switch | Switch_Http/Switch_HttpInterfaceBase.h | <reponame>woutercharle/switch
/*?*************************************************************************
* Switch_HttpInterfaceBase.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
*********************... |
woutercharle/switch | Switch_Http/Switch_JSONRequest.h | /*?*************************************************************************
* Switch_JSONRequest.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
********************************************************... |
woutercharle/switch | Switch_Network/Switch_NetworkMessage.h | /*?*************************************************************************
* Switch_NetworkMessage.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------... |
woutercharle/switch | Switch_Http/Switch_Http_Tests.h | /*?*************************************************************************
* Switch_Http_Test.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
***********************************************************... |
woutercharle/switch | Switch_Node/Switch_NodeConfiguration.h | /*?*************************************************************************
* Switch_NodeConfiguration.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* -------------------... |
woutercharle/switch | Switch_Controller/Switch_InterfaceTranslations.h | /*?*************************************************************************
* Switch_InterfaceDevice.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------... |
woutercharle/switch | Switch_Http/Switch_HttpInterface.h | /*?*************************************************************************
* Switch_HttpInterface.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
*******************************************************... |
woutercharle/switch | Switch_Controller/Switch_InterfaceDevice.h | /*?*************************************************************************
* Switch_InterfaceDevice.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------... |
woutercharle/switch | Switch_Base/Switch_TimerOne.h | <reponame>woutercharle/switch<filename>Switch_Base/Switch_TimerOne.h
/*
* Interrupt and PWM utilities for 16 bit Timer1 on ATmega168/328
* Original code by <NAME> for http://labs.ideo.com August 2008
* Modified March 2009 by <NAME> and <NAME> for ATmega328 support
* Modified June 2009 by <NAME> and <NAME> to fi... |
woutercharle/switch | Switch_Application/Switch_ApplicationModule.h | /*?*************************************************************************
* Switch_ApplicationModule.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ------------------... |
woutercharle/switch | Switch_Parameters/Switch_ParameterizedObject.h | /*?*************************************************************************
* Switch_ParameterizedObject.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* -----------------... |
woutercharle/switch | Switch_Controller/Switch_Controller_Tests.h | /*?*************************************************************************
* Switch_Device_Test.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------------
* ... |
woutercharle/switch | Switch_Network/Switch_NetworkConfiguration.h | /*?*************************************************************************
* Switch_NetworkConfiguration.h
* -----------------------
* copyright : (C) 2013 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMAGES
* ---------------... |
woutercharle/switch | Switch_Device/Switch_DataAdapter.h | <reponame>woutercharle/switch<filename>Switch_Device/Switch_DataAdapter.h
/*?*************************************************************************
* Switch_DataAdapter.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email ... |
woutercharle/switch | Switch_Serialization/Switch_JsonSerializer.h | <reponame>woutercharle/switch
/*?*************************************************************************
* Switch_JsonSerializer.h
* -----------------------
* copyright : (C) 2014 by <NAME>
* email : <EMAIL>
*
* DISCLAIMER OF DAMA... |
PhilipTrauner/dir_sync | include/networking.h | <gh_stars>0
#pragma once
#include <unordered_map>
#include <typeindex>
#include "asio.hpp"
#include <google/protobuf/message.h>
#include "dir_sync.pb.h"
using std::unordered_map;
using std::type_index;
using asio::ip::tcp;
using google::protobuf::Message;
using dir_sync::FileTree;
using dir_sync::FileRequest;
u... |
PhilipTrauner/dir_sync | include/shared.h | #pragma once
#include <string>
#include <vector>
#include "asio.hpp"
#include "dir_sync.pb.h"
using std::string;
using std::vector;
using asio::ip::tcp;
using dir_sync::FileTree;
using dir_sync::SanityCheck;
// Max amount of file descriptors nftw() is allowed to use
const unsigned short MAX_FDS{15};
const unsign... |
PhilipTrauner/dir_sync | include/constants.h | #pragma once
// dir_sync in hex
unsigned short default_port = 64697;
// Exit codes
int CONNECTION_COULD_NOT_BE_ESTABLISHED{1}; |
stripysock/rollbar-ios | RollbarFramework/RollbarFramework.h | #import <UIKit/UIKit.h>
//! Project version number for RollbarFramework.
FOUNDATION_EXPORT double RollbarFrameworkVersionNumber;
//! Project version string for RollbarFramework.
FOUNDATION_EXPORT const unsigned char RollbarFrameworkVersionString[];
@import CrashReporter;
#import <Rollbar/Rollbar.h>
#import <Rollbar... |
amckinney/grpc | src/php/ext/grpc/call.h | /*
*
* Copyright 2015 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
Ombarus/python_env | npp/plugins/NppExec/BaseDef.h | #define WM_COMMAND 0x0111
#define WM_SYSCOMMAND 0x0112
#define WM_USER 0x0400
#define NPPMSG (WM_USER + 1000)
// add more definitions if needed...
#define pi 3.14159265359
#define e 2.718281828459
|
arrayfire/arrayfire-lua | wrapper/Lua/template/from.h | <reponame>arrayfire/arrayfire-lua
#ifndef FROM_TEMPLATE_H
#define FROM_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<typename O, af_err (*func)(O *, const af_array)> int From (lua_State * L)
{
lua_settop(L, 1); // arr
O out; // TODO: Declare...
af_err err = func(&out, GetArray(L, 1));
lua_pushint... |
arrayfire/arrayfire-lua | wrapper/Lua/template/args.h | <reponame>arrayfire/arrayfire-lua
#ifndef ARGS_TEMPLATE_H
#define ARGS_TEMPLATE_H
extern "C" {
#include <lua.h>
#include <lauxlib.h>
}
#include <arrayfire.h>
template<class T>
struct get_return { typedef T type; };
typedef struct { af_array * mUD; } ARRAY_PROXY;
typedef struct { af_features * mUD; } FEATURES_PROX... |
arrayfire/arrayfire-lua | wrapper/Lua/template/out.h | #ifndef OUT_TEMPLATE_H
#define OUT_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<typename T1, typename T2, af_err (*func)(af_array *, rtype_t<T1>, rtype_t<T2>)> int Out_Arg2 (lua_State * L)
{
lua_settop(L, 2); // arg1, arg2
af_array * arr_ud = NewArray(L);// arg1, arg2, arr_ud
af_err err = func(arr... |
arrayfire/arrayfire-lua | wrapper/Lua/methods.h | <filename>wrapper/Lua/methods.h
#ifndef METHODS_H
#define METHODS_H
extern "C" {
#include <lua.h>
#include <lauxlib.h>
}
#include "lua_compat.h"
int AssignIndex (lua_State * L);
int Create (lua_State * L);
int Constructor (lua_State * L);
int Device (lua_State * L);
int Features (lua_State * L);
int Methods (lua_S... |
arrayfire/arrayfire-lua | wrapper/Lua/lua_compat.h | extern "C" {
#include <lua.h>
#include <lauxlib.h>
}
#if LUA_VERSION_NUM > 501
#define lua_objlen(L,i) lua_rawlen(L, (i))
#endif
|
arrayfire/arrayfire-lua | wrapper/Lua/template/out2_in2.h | <filename>wrapper/Lua/template/out2_in2.h
#ifndef OUT2_IN2_TEMPLATE_H
#define OUT2_IN2_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<typename T, af_err (*func)(af_array *, af_array *, const af_array, const af_array, rtype_t<T>)>
int Out2In2_Arg (lua_State * L)
{
lua_settop(L, 3); // a, b, arg
af_arra... |
arrayfire/arrayfire-lua | wrapper/Lua/template/out_in.h | <gh_stars>1-10
#ifndef OUT_IN_TEMPLATE_H
#define OUT_IN_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<af_err (*func)(af_array *, af_array)> int OutIn (lua_State * L)
{
lua_settop(L, 1); // in
af_array * arr_ud = NewArray(L);// in, arr_ud
af_err err = func(arr_ud, GetArray(L, 1));
return PushErr(L... |
arrayfire/arrayfire-lua | wrapper/Lua/graphics.h | #ifndef GRAPHICS_H
#define GRAPHICS_H
extern "C" {
#include <lua.h>
#include <lauxlib.h>
}
#include "lua_compat.h"
int Draw (lua_State * L);
int Window (lua_State * L);
#endif // GRAPHICS_H
|
arrayfire/arrayfire-lua | wrapper/Lua/template/in.h | <reponame>arrayfire/arrayfire-lua
#ifndef IN_TEMPLATE_H
#define IN_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<af_err (*func)(af_array)> int In (lua_State * L)
{
lua_settop(L, 1); // in
af_err err = func(GetArray(L, 1));
lua_pushinteger(L, err);// in, err
return 1;
}
template<typename T, af_er... |
arrayfire/arrayfire-lua | wrapper/Lua/template/out_in2.h | <reponame>arrayfire/arrayfire-lua<filename>wrapper/Lua/template/out_in2.h
#ifndef OUT_IN2_TEMPLATE_H
#define OUT_IN2_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<af_err (*func)(af_array *, const af_array, const af_array)> int OutIn2 (lua_State * L)
{
lua_settop(L, 2); // a, b
af_array * arr_ud = New... |
arrayfire/arrayfire-lua | wrapper/Lua/template/out_in3.h | <gh_stars>1-10
#ifndef OUT_IN3_TEMPLATE_H
#define OUT_IN3_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<af_err (*func)(af_array *, const af_array, const af_array, const af_array)> int OutIn3 (lua_State * L)
{
lua_settop(L, 3); // a, b, c
af_array * arr_ud = NewArray(L);// a, b, c, arr_ud
af_err err... |
arrayfire/arrayfire-lua | wrapper/Lua/template/out2_in.h | #ifndef OUT2_IN_TEMPLATE_H
#define OUT2_IN_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<af_err (*func)(af_array *, af_array *, const af_array)>
int Out2In (lua_State * L)
{
lua_settop(L, 1); // a
af_array * out1 = NewArray(L); // a, out1
af_array * out2 = NewArray(L); // a, out1, out2
af_err err ... |
arrayfire/arrayfire-lua | wrapper/Lua/export.h | #if defined(_WIN32) || defined(_MSC_VER)
#define __EXPORT__ extern "C" __declspec(dllexport)
#else
#define __EXPORT__ extern "C" __attribute__((visibility("default")))
#endif
|
arrayfire/arrayfire-lua | wrapper/Lua/utils.h | #ifndef UTILS_H
#define UTILS_H
#include "template/args.h"
#include <arrayfire.h>
#include <vector>
extern "C" {
#include <lua.h>
#include <lauxlib.h>
}
af_dtype GetDataType (lua_State * L, int index);
void PushResult (lua_State * L, af_err err);
int PushErr (lua_State * L, af_err err, int nret = 1);
void * Get... |
arrayfire/arrayfire-lua | wrapper/Lua/funcs.h | #ifndef FUNCS_H
#define FUNCS_H
extern "C" {
#include <lua.h>
#include <lauxlib.h>
}
#include "lua_compat.h"
int AddEnums (lua_State * L);
int CreateArrayFuncs (lua_State * L);
int Backends (lua_State * L);
int ComputerVision (lua_State * L);
int ImageProcessing (lua_State * L);
int Interface (lua_State * L);
int ... |
arrayfire/arrayfire-lua | wrapper/Lua/template/doubles.h | #ifndef DOUBLES_TEMPLATE_H
#define DOUBLES_TEMPLATE_H
#include "../utils.h"
#include "args.h"
template<af_err (*func)(double *, double *, const af_array)> int TwoDoublesIn (lua_State * L)
{
lua_settop(L, 1); // arr
double d1 = 0.0, d2 = 0.0;
af_err err = func(&d1, &d2, GetArray(L, 1));
lua_pushinteger(L, err);... |
Pn-X/ExtRouter | Example/Example/LoginViewController.h | //
// LoginViewController.h
// Example
//
// Created by hang_pan on 2020/6/30.
// Copyright © 2020 hang_pan. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface LoginViewController : UINavigationController
@end
NS_ASSUME_NONNULL_END
|
Pn-X/ExtRouter | Example/Example/StoreViewController.h | <filename>Example/Example/StoreViewController.h
//
// StoreViewController.h
// Example
//
// Created by hang_pan on 2020/6/30.
// Copyright © 2020 hang_pan. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface StoreViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
|
Pn-X/ExtRouter | Example/Pods/Headers/Public/ExtRouter/ExtRouter.h | //
// ExtRouter.h
// ExtRouter
//
// Created by Pn-X on 2020/5/9.
// Copyright © 2020 pn-x. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ExtRouterContext;
typedef void(^ExtRouterCallback)(BOOL ret, NSString *msg, id data);
typedef NSString ExtRouterParamsKey;
extern ExtRouterParamsKey * const ExtRoute... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-sntp/main/oled_iic.c | #include "oled_iic.h"
#include "stdlib.h"
#include "oledfont.h"
#include "myiic.h"
/**********************************************
// OLED IIC Write Write
**********************************************/
void Write_IIC_Command(unsigned char IIC_Command)
{
mIIC_Start();
mIIC_Send_Byte(0x78); //Slave addr... |
BBIGQ-LYQ/ESP8266_Test_Storage | IIC_test/main/user_main.c | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "driver/gpio.h"
#include "esp_log.h"
#include "esp_system.h"
#include "myiic.h"
#include "oled_iic.h"
static const char *TAG = "iic_test";
static void i2c_task(... |
BBIGQ-LYQ/ESP8266_Test_Storage | UART_bluetooth/main/user_main.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/uart.h"
static const char *TAG = "bluetooth test";
static void ble_task(void *arg)
{
uart_config_t uart_config = {
.baud_rate = 9600, //蓝牙波特率
... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-sntp/main/user_main.c | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "freertos/event_groups.h"
#include "driver/gpio.h"
#include "esp_log.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "nvs_fla... |
BBIGQ-LYQ/ESP8266_Test_Storage | hw_timer_test/main/user_main.c | <gh_stars>0
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "esp_log.h"
#include "driver/gpio.h"
#include "driver/hw_timer.h"
static const char *TAG = "hw_timer_example";
#define TEST_ONE_SHOT false
#define TEST_RELOAD true
... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-mqtt/main/user_main.c | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "freertos/event_groups.h"
#include "driver/gpio.h"
#include "esp_log.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "nvs_fla... |
BBIGQ-LYQ/ESP8266_Test_Storage | ADC_test/main/user_main.c | <filename>ADC_test/main/user_main.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/adc.h"
#include "esp_log.h"
static const char *TAG = "adc example";
static void adc_task()
{
int x;
uint16_t adc_data[100];
while (1) {... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-http-request/main/BBIGQ_TCP.h | #ifndef _TCP_ANY_H_
#define _TCP_ANY_H_
#include <sys/socket.h>
#include <netinet/in.h>
//#include <netinet/ip.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <pthread.h>
#include <stdlib.h>
#include <fcntl.h>
#define MAX_BUFF 1024
/*... |
BBIGQ-LYQ/ESP8266_Test_Storage | Hello-8266/main/user_main.c | <filename>Hello-8266/main/user_main.c
/*
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.
*/
#in... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-sntp/main/oled_iic.h | #ifndef _OLED_IIC_H_
#define _OLED_IIC_H_
#include <stdint.h>
#define OLED_MODE 0
#define SIZE 8
#define XLevelL 0x00
#define XLevelH 0x10
#define Max_Column 128
#define Max_Row 64
#define Brightness 0xFF
#define X_WIDTH 128
#define Y_WIDTH 64
#define OLED_CMD 0 //写命令
#define OLED_DATA 1 //写数据
void OLED_... |
BBIGQ-LYQ/ESP8266_Test_Storage | PWM_test/main/user_main.c | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "esp_log.h"
#include "esp_system.h"
#include "esp_err.h"
#include "esp8266/gpio_register.h"
#include "esp8266/pin_mux_register.h"
#include "driver/pwm.h"
#defin... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-http-request/main/user_main.c | #include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include <netdb.h>
#include <sys/socket.h>
#include "esp_system.h"
#include "BBIGQ_TCP.... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-sntp/main/myiic.h | #ifndef _MYIIC_H_
#define _MYIIC_H_
#include <stdint.h>
#include "driver/gpio.h"
#ifdef __cplusplus
extern "C" {
#endif
#define IIC_SCL_PIN 4
#define IIC_SDA_PIN 5
#define IIC_OUTPUT_PIN_SEL ((1ULL<<IIC_SCL_PIN) | (1ULL<<IIC_SDA_PIN))
#define IIC_SCL_OUT(state) (gpio_set_level(IIC_SCL_PIN, state))
#... |
BBIGQ-LYQ/ESP8266_Test_Storage | UART_bluetooth/build/include/sdkconfig.h | <filename>UART_bluetooth/build/include/sdkconfig.h
/*
*
* Automatically generated file; DO NOT EDIT.
* Espressif IoT Development Framework Configuration
*
*/
#define CONFIG_MBEDTLS_XTEA_C 1
#define CONFIG_TCP_RECVMBOX_SIZE 6
#define CONFIG_TCP_WND_DEFAULT 5840
#define CONFIG_PARTITION_TABLE_OFFSET 0x8000
#define C... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-http-request/main/BBIGQ_TCP.c |
//通过struct sockaddr_in结构体配置服务器地址
/* struct sockaddr_in {
sa_family_t sin_family; // address family: AF_INET
in_port_t sin_port; // port in network byte order
struct in_addr sin_addr; //internet address
};*/
/* Internet address.
struct in_addr {
uint32_t ... |
BBIGQ-LYQ/ESP8266_Test_Storage | protocol-sntp/main/myiic.c | #include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "esp_log.h"
#include "esp_heap_caps.h"
#include "myiic.h"
#define i2c_master_wait os_delay_us
#define i2c_delay_times 5
void mIIC_Init(void)
{
gpio_config_t io_conf; //创建一个GPIO结构体
io_conf.intr_type = GPIO_INTR_DISABLE; ... |
nickchenchj/lab0-c | queue.c | <filename>queue.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "harness.h"
#include "queue.h"
/*
* Create empty queue.
* Return NULL if could not allocate space.
*/
queue_t *q_new()
{
queue_t *q = malloc(sizeof(queue_t));
if (!q)
return NULL;
q->head = NULL;
q->tail... |
SmallElephant/FEHtmlLabel | FEHtmlLabel/Classes/UILabel+FEUtil.h | //
// UILabel+FEUtil.h
// FEHtmlTool
//
// Created by FlyElephant on 2019/5/14.
//
#import <UIKit/UIKit.h>
@interface UILabel (FEUtil)
+ (NSAttributedString *)loadHtmlWithStyle:(NSString *)string fontName:(NSString *)fontName fontSize:(CGFloat)fontSize color:(NSString *)color;
+ (NSAttributedString *)loadHtmlWit... |
eXascaleInfolab/pSCAN | include/Graph.h | #ifndef _GRAPH_H_
#define _GRAPH_H_
#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <string>
#include <vector>
#include <unordered_map>
#include "cmdline.h"
namespace pscan {
typedef unsigned Id;
typedef int Degree; // ATTENTION: degrees are specified as int in the input file
using ... |
MintaiDS/White | Source/Engine/Graphics/Core/MovableObject.h | #pragma once
#include "Object.h"
#include "ITransformable.h"
#include "MotionController.h"
#include "ObjectManager.h"
namespace White {
namespace Engine {
template<typename T>
class MovableObject : public Object, public ITransformable {
public:
MovableObject();
virtual void Scale(const Vector<float>& scalin... |
MintaiDS/White | Source/Engine/Graphics/Core/Interface/ITranslatable.h | <filename>Source/Engine/Graphics/Core/Interface/ITranslatable.h<gh_stars>0
#pragma once
#include "Vector.h"
using namespace White::Util::Math;
namespace White {
namespace Engine {
class ITranslatable {
public:
virtual ~ITranslatable();
template<typename T>
void Translate(const Vector<T>& translatio... |
MintaiDS/White | Source/Util/Math/Train.h | #pragma once
#include <string>
#include <vector>
#include "Edge.h"
#include "Post.h"
namespace White {
namespace Util {
namespace Math {
class Train {
public:
static const int level_cost[2];
Train() {}
Train(int idx, int line_idx, int position, std::string& ... |
MintaiDS/White | Source/Engine/Graphics/Drawing/Texture.h | <reponame>MintaiDS/White
#pragma once
#include "BMPImage.h"
#include "Object.h"
using namespace White::Engine::Util;
namespace White {
namespace Engine {
namespace Graphics {
class Texture : public Object {
public:
Texture();
Texture(const Texture& other);
void Create();
void Delete();
void... |
MintaiDS/White | Source/Util/System/Window.h | #pragma once
#include <winsock2.h>
#include <windows.h>
#include <vector>
namespace White {
namespace Util {
namespace System {
class Window {
public:
Window();
static LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam);
virtual LR... |
MintaiDS/White | Source/Util/Math/Circle.h | #pragma once
#include "Ellipse.h"
namespace White {
namespace Util {
namespace Math {
template<typename T>
struct Circle : public Ellipse<T> {
Circle(T r);
T r;
};
template<typename T>
Circle<T>::Circle(const T r)
: Ellipse(r * 2, r * 2)
, r(r) {}
}
}
}
|
MintaiDS/White | Source/Util/Math/Graph.h | <filename>Source/Util/Math/Graph.h
#pragma once
#include <vector>
#include <map>
#include <string>
#include <memory>
#include "Vector.h"
#include "Post.h"
#include "Train.h"
#include "Edge.h"
namespace White {
namespace Util {
namespace Math {
class Graph;
struct Pnt {
... |
MintaiDS/White | Source/Util/Math/Polygon.h | #pragma once
#include "GLFunctions.h"
#include "Vector.h"
#include "Common.h"
namespace White {
namespace Util {
namespace Math {
template<typename T>
struct Polygon {
Polygon();
Polygon(const std::vector<Vector<T>>& vertices);
void Add(const Vector<T>& vertex);
std::vector<Vector<T>> vertices;
};
... |
MintaiDS/White | Source/Engine/Graphics/Core/Interface/IScalable.h | <reponame>MintaiDS/White
#pragma once
#include "Vector.h"
using namespace White::Util::Math;
namespace White {
namespace Engine {
class IScalable {
public:
virtual ~IScalable();
template<typename T>
void Scale(const Vector<T>& scaling);
private:
virtual void Scale(const Vector<float>& scaling) = ... |
MintaiDS/White | Source/Engine/Graphics/Shader/Program.h | #pragma once
#include "Shader.h"
namespace White {
namespace Engine {
namespace Graphics {
struct Program {
Program();
~Program();
void Create();
void Attach(const Shader& shader);
void Detach(const Shader& shader);
void Link();
void Use();
void Delete();
int GetVariableLoca... |
MintaiDS/White | Source/Engine/Graphics/Util/MeshLoader.h | #pragma once
#include "Mesh.h"
#include "ModelFormat.h"
#include <string>
namespace White {
namespace Engine {
namespace Graphics {
struct MeshLoader {
MeshLoader();
MeshLoader(const Mesh<GLfloat>& mesh);
Mesh<float> Import(std::wstring path);
void Export(std::wstring path, const Mesh<float>& mesh)... |
MintaiDS/White | Source/Util/Math/Post.h | <gh_stars>0
#pragma once
//#include "Train.h"
#include <string>
namespace White {
namespace Util {
namespace Math {
enum PostType {
CITY = 1,
MARKET = 2,
STORAGE = 3
};
class Post {
public:
Post() {}
Post(int idx, int point_id... |
MintaiDS/White | Source/Engine/Graphics/Core/Interface/IRotatable.h | #pragma once
#include "Vector.h"
using namespace White::Util::Math;
namespace White {
namespace Engine {
class IRotatable {
public:
virtual ~IRotatable();
template<typename T>
void Rotate(const Vector<T>& rotation);
private:
virtual void Rotate(const Vector<float>& rotation) = 0;
};
template<typ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.