repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
chensongpoixs/cmediasoupclient
test/wsclient.h
#ifndef __WSCLIENT_HPP_ #define __WSCLIENT_HPP_ #include <string> #include <vector> namespace wsclient { class WebSocketCallback { public: virtual void OnMessage(const std::string& message) {} virtual void OnMessage(const std::vector<uint8_t>& message) {} virtual void OnClose() {} }; class WebSocket { public: ...
chensongpoixs/cmediasoupclient
test/cgm_command.h
<reponame>chensongpoixs/cmediasoupclient /*********************************************************************************************** created: 2019-05-13 author: chensong purpose: gm_command ************************************************************************************************/ #ifnde...
chensongpoixs/cmediasoupclient
test/cgame_define.h
/*********************************************************************************************** created: 2020-07-16 author: chensong purpose: cgame_define.h 我可能会遇到很多的人,听他们讲好2多的故事,我来写成故事或编成歌,用我学来的各种乐器演奏它。 然后还可能在一个国家遇到一个心仪我的姑娘,她可能会被我帅气的外表捕获,又会被我深邃的内涵吸引,在某个下雨的夜晚,她会全身淋透然后要在我狭小的住处换身上的湿衣服。 3小时候后她告诉我她其实是这个国家的公主,她愿...
chensongpoixs/cmediasoupclient
test/desktop_capture.h
#ifndef EXAMPLES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_TEST_H_ #define EXAMPLES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_TEST_H_ #include "api/video/video_frame.h" #include "api/video/video_sink_interface.h" #include "desktop_capture_source.h" #include "desktop_capture_source.h" #include "modules/desktop_capture/desktop_capturer....
chensongpoixs/cmediasoupclient
test/cmsg_header.h
/*********************************************************************************************** created: 2019-05-15 author: chensong purpose: msg_header ************************************************************************************************/ #ifndef _C_MSG_HEADER_H_ #define _C_MSG_HEADER...
chensongpoixs/cmediasoupclient
test/ccfg.h
<reponame>chensongpoixs/cmediasoupclient<filename>test/ccfg.h /*********************************************************************************************** created: 2019-05-01 author: chensong purpose: ccfg *********************************************************************************************...
chensongpoixs/cmediasoupclient
test/cwebsocket_mgr.h
<reponame>chensongpoixs/cmediasoupclient #ifndef C_WEBSOCKET_MGR_H #define C_WEBSOCKET_MGR_H #include <thread> #include <atomic> #include "wsclient.h" #ifdef _WIN32 #pragma comment( lib, "ws2_32" ) #include <WinSock2.h> #endif #include <assert.h> #include <stdio.h> #include <string> #include <mutex> #include <list> n...
chensongpoixs/cmediasoupclient
test/cplayer.h
<reponame>chensongpoixs/cmediasoupclient /*********************************************************************************************** created: 2019-05-12 author: chensong purpose: palyer ************************************************************************************************/ #ifndef _...
chensongpoixs/cmediasoupclient
test/crobot_cfg.h
<reponame>chensongpoixs/cmediasoupclient<gh_stars>0 /*********************************************************************************************** created: 2019-05-10 author: chensong purpose: robot_cfg *****************************************************************************************...
chensongpoixs/cmediasoupclient
test/cmsg_base_id.h
<filename>test/cmsg_base_id.h /*********************************************************************************************** created: 2019-05-13 author: chensong purpose: msg_base_id ************************************************************************************************/ #ifndef _C_M...
chensongpoixs/cmediasoupclient
test/crobot_client.h
/*********************************************************************************************** created: 2019-05-10 author: chensong purpose: robot_client ************************************************************************************************/ #ifndef _C_ROBOT_CLINET_H_ #define _C_ROBOT_...
chensongpoixs/cmediasoupclient
test/ctime_mgr.h
/*********************************************************************************************** created: 2019-05-06 author: chensong purpose: ctime_mgr ************************************************************************************************/ #ifndef _C_TIME_MGR_H_ #define _C_TIME_MGR_H_ #inc...
chensongpoixs/cmediasoupclient
test/csession.h
<filename>test/csession.h /*********************************************************************************************** created: 2019-05-10 author: chensong purpose: 网络层 ************************************************************************************************/ #ifndef _C_SESSION_H_ #d...
chensongpoixs/cmediasoupclient
test/capture.h
<reponame>chensongpoixs/cmediasoupclient<filename>test/capture.h #pragma once #include <osg/Camera> #include <mutex> #include <atomic> class DesktopCapture; class CaptureScreen :public osg::Camera::DrawCallback { public: CaptureScreen(); ~CaptureScreen(); void setCallback(DesktopCapture *callback); virtual void...
chensongpoixs/cmediasoupclient
test/cmsg_statistic.h
<gh_stars>0 /*********************************************************************************************** created: 2020-09-04 author: chensong purpose: cmsg_statistic.h 我可能会遇到很多的人,听他们讲好2多的故事,我来写成故事或编成歌,用我学来的各种乐器演奏它。 然后还可能在一个国家遇到一个心仪我的姑娘,她可能会被我帅气的外表捕获,又会被我深邃的内涵吸引,在某个下雨的夜晚,她会全身淋透然后要在我狭小的住处换身上的湿衣服。 3小时候后她告诉我...
chensongpoixs/cmediasoupclient
test/crobot.h
/*********************************************************************************************** created: 2019-05-10 author: chensong purpose: robot ************************************************************************************************/ #ifndef _C_ROBOT_H_ #define _C_ROBOT_H_ #include...
chensongpoixs/cmediasoupclient
test/cmsg_parse.h
/*********************************************************************************************** created: 2019-09-12 author: chensong purpose: cmsg_parse ************************************************************************************************/ #ifndef _C_MSG_PARSE_H_ #define _C_MSG_PARSE_H_ #include <go...
DeercoderAlgorithm/PKU_OJ
1001/3605328_WA.c
<reponame>DeercoderAlgorithm/PKU_OJ #include<stdio.h> void main() { float R; int i,n; double result=1; printf("input R and n\n"); scanf("%f%d",&R,&n); for(i=0;i<n;i++) { result=result*R; } printf("%.60f",result); }
DeercoderAlgorithm/PKU_OJ
1000/3605146_WA.c
#include<stdio.h> void main() { int a,b; printf("input a and b\n"); scanf("%d%d",&a,&b); printf("a+b=%d\n",a+b); return 0; }
DeercoderAlgorithm/PKU_OJ
1003/5315323_AC_0MS_220K.c
#include<stdio.h> int main() { float get,total; int a[10]; int i,j=0,k; scanf("%f",&get); while(get!=0.0) { for(i=1,total=0.0;total<get;i++) { total+=(float)1/(i+1); if(total>get) { break; } } a[j]=i; ++j; scanf("%f" ,&get); } ...
DeercoderAlgorithm/PKU_OJ
1001/5346962_WA.c
<filename>1001/5346962_WA.c<gh_stars>0 //求高精度的问题。北大1001题。 #include<stdio.h> double calculate(float R,int n) { int i; double total=1.0; for(i=0;i<n;i++) { total*=R; } return total; } int main() { float R; int n,i; double a[6]; for(i=0;i<6;i++) { scanf("%f %d",&R,&n); a[i]=calculate(R...
DeercoderAlgorithm/PKU_OJ
1005/5391722_WA.c
#include<stdio.h> #define PI 3.1415926 #define MAX 10 int get_year(float R) { int i=0; double area=PI*R/2; int sum; //待估计的每年丢失的面积 while((sum=i*50+1)<area) { i++; } return i; } int main() { float a,b,max; int N,i; int c[MAX]; scanf("%d",&N); for(i=0;i<N;i++) { scanf("%f%f",&a,&b); ...
DeercoderAlgorithm/PKU_OJ
1008/test_AC.c
#include <stdio.h> #include <string.h> #include <stdlib.h> const char Haab_month[][10] = { "pop", "no", "zip", "zotz", "tzec", "xul", "yoxkin", "mol", "chen", "yax", "zac", "ceh", "mac", "kankin", "muan", "pax", "koyab", "cumhu", "uayet"}; const char Holly_day[][10] = { "imix", "ik", "akbal", "kan", "chicchan", "cimi...
DeercoderAlgorithm/PKU_OJ
1004/3608294_AC_0MS_196K.c
<filename>1004/3608294_AC_0MS_196K.c #include<stdio.h> void main() { float a=0; float sum=0; int i; for(i=0;i<12;i++) { scanf("%f",&a); sum+=a; } printf("$%.2f",sum/12); }
DeercoderAlgorithm/PKU_OJ
1045/11404056_AC_0MS_384K.c
<reponame>DeercoderAlgorithm/PKU_OJ #include <stdio.h> #include <math.h> float getValue(float Vr, float r, float c, float w) { float va1 = 1.0f / pow(c * w * r, 2.0f); float value = sqrt(pow(Vr, 2.0f) / (1 + va1)); return value; } int main() { float Vr, r, c; int size; ...
DeercoderAlgorithm/PKU_OJ
1000/3605131_WA.c
#include<stdio.h> void main() { int a,b,c; printf("input a and b\n"); scanf("%d,%d",&a,&b); c=a+b; printf("a+b=%d\n",c); }
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpiutil-cpp-2019.4.1-headers.zip_5e342f497d78cde8042c25fea7a66506/wpi/NativeFormatting.h
//===- NativeFormatting.h - Low level formatting helpers ---------*- C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/tasking/IProcessable.h
<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { namespace tasking{ class IProcessable { public: virtual ~IProcessable(){} virtual void Process() = 0; }; }}}
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/jni/com_ctre_phoenix_CTRLoggerJNI.h
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_ctre_phoenix_CTRLoggerJNI */ #ifndef _Included_com_ctre_phoenix_CTRLoggerJNI #define _Included_com_ctre_phoenix_CTRLoggerJNI #ifdef __cplusplus extern "C" { #endif /* * Class: com_ctre_phoenix_CTRLoggerJNI *...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/LinearInterpolation.h
#pragma once namespace ctre { namespace phoenix { class LinearInterpolation { public: static float Calculate(float x, float x1, float y1, float x2, float y2); }; }}
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tRelay.h
<reponame>FRC-Team-955/2019-Outreach-Code<filename>build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tRelay.h // Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/CANifierFaults.h
<reponame>FRC-Team-955/2019-Outreach-Code #pragma once namespace ctre { namespace phoenix { struct CANifierFaults { //!< True iff any of the above flags are true. bool HasAnyFault() const { return false; } int ToBitfield() const { int retval = 0; return retval; } CANifierFaults(int bits) { ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/RemoteSensorSource.h
<reponame>FRC-Team-955/2019-Outreach-Code #pragma once #include <string> namespace ctre { namespace phoenix { namespace motorcontrol { enum class RemoteSensorSource { RemoteSensorSource_Off, RemoteSensorSource_TalonSRX_SelectedSensor, RemoteSensorSource_Pigeon_Yaw, RemoteSensorSource_Pigeon_Pitch, ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.4.1-headers.zip_b81507b0c50c581f7502538d67c4b01b/DigitalSource.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/platform/can/PlatformCAN.h
#include "ctre/phoenix/cci/PlatformCAN_CCI.h" namespace ctre { namespace phoenix { namespace platform { namespace can { class PlatformCAN { public: static int32_t SetCANInterface(const char * canInterface); static int32_t StartAll(); static int32_t DestroyAll(); static void SetAutoca...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAlarm.h
// Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_Alarm_h__ #define __nFRC_2019_19_0_2_Alarm_h__ #include "../tSystem.h" #include "../tSystemInterface.h" namespace nFPGA { namespace nFRC_2019_19_0_2 { class tAlarm { public: tAla...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/tasking/ILoopable.h
<reponame>FRC-Team-955/2019-Outreach-Code #pragma once namespace ctre { namespace phoenix { namespace tasking { class ILoopable{ public: virtual ~ILoopable(){} virtual void OnStart() = 0; virtual void OnLoop() = 0; virtual bool IsDone() = 0; virtual void OnStop() = 0; }; }}}
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.4.1-headers.zip_b81507b0c50c581f7502538d67c4b01b/frc/RobotState.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/HsvToRgb.h
<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { class HsvToRgb { public: static void Convert(double hDegrees, double S, double V, float* r, float* g, float* b); }; } }
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/ControlFrame.h
#pragma once namespace ctre { namespace phoenix { namespace motorcontrol { //{ enum ControlFrame { Control_3_General = 0x040080, Control_4_Advanced = 0x0400C0, Control_6_MotProfAddTrajPoint = 0x040140, }; enum ControlFrameEnhanced { Control_3_General_ = 0x040080, Control_4_Advanced_ = 0x0400c0, ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/CTRLogger.h
#include "ctre/phoenix/ErrorCode.h" // ErrorCode #include <string> namespace ctre { namespace phoenix { class CTRLogger { public: static void Close(); static ErrorCode Log(ErrorCode code, std::string origin); static void Open(int language); //static void Description(ErrorCode code, const char *&shrt, c...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/motorcontrol/IFollower.h
#pragma once namespace ctre { namespace phoenix { namespace motorcontrol { /* forward proto */ class IMotorController; class IFollower { public: virtual ~IFollower(){} virtual void Follow(ctre::phoenix::motorcontrol::IMotorController & masterToFollow) = 0; virtual void ValueUpdated()= 0; }; } // ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccumulator.h
<filename>build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccumulator.h // Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_Accumulator_h__ #define...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/unmanaged/Unmanaged.h
<reponame>FRC-Team-955/2019-Outreach-Code #pragma once namespace ctre { namespace phoenix { namespace unmanaged { //These functions do nothing on a roborio for FRC use void FeedEnable(int timeoutMs); bool GetEnableState(); void SetTransmitEnable(bool en); bool GetTransmitEnable(); int Ge...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpiutil-cpp-2019.4.1-headers.zip_5e342f497d78cde8042c25fea7a66506/wpi/raw_ostream.h
//===--- raw_ostream.h - Raw output stream ----------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/sensors/PigeonIMU_StatusFrame.h
#pragma once namespace ctre { namespace phoenix { namespace sensors { /** Enumerated type for status frame types. */ enum PigeonIMU_StatusFrame { PigeonIMU_CondStatus_1_General = 0x042000, PigeonIMU_CondStatus_9_SixDeg_YPR = 0x042200, PigeonIMU_CondStatus_6_SensorFusion = 0x042140, PigeonIMU_CondStatus...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/hal-cpp-2019.4.1-headers.zip_c188c7b3a999a3880106aec59871f632/mockdata/MockHooks.h
<filename>build/tmp/expandedArchives/hal-cpp-2019.4.1-headers.zip_c188c7b3a999a3880106aec59871f632/mockdata/MockHooks.h /*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modif...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/SensorTerm.h
#pragma once namespace ctre { namespace phoenix { namespace motorcontrol { enum class SensorTerm { SensorTerm_Sum0, SensorTerm_Sum1, SensorTerm_Diff0, SensorTerm_Diff1, }; class SensorTermRoutines { public: static std::string toString(SensorTerm value) { switch(value) { cas...
FRC-Team-955/2019-Outreach-Code
src/main/include/Robot.h
<gh_stars>0 #pragma once #include <string> #include <frc/TimedRobot.h> #include <frc/smartdashboard/SendableChooser.h> class Robot : public frc::TimedRobot { public: void RobotInit() override; void RobotPeriodic() override; void AutonomousInit() override; void AutonomousPeriodic() override; void TeleopInit() ov...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpiutil-cpp-2019.4.1-headers.zip_5e342f497d78cde8042c25fea7a66506/wpi/uv/Pipe.h
<reponame>FRC-Team-955/2019-Outreach-Code /*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpiutil-cpp-2019.4.1-headers.zip_5e342f497d78cde8042c25fea7a66506/wpi/SafeThread.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/DemandType.h
#pragma once namespace ctre { namespace phoenix { namespace motorcontrol { /** * How to interpret a demand value. */ enum DemandType { /** * Ignore the demand value and apply neutral/no-change. */ DemandType_Neutral = 0, /** * When closed-looping, set the target of the aux PID loop to the dema...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motion/SetValueMotionProfile.h
<filename>build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motion/SetValueMotionProfile.h<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { namespace motion { enum SetValueMotionProfile { Disable = 0, Enable = 1, Hold = 2, }; } // namespace moti...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tHMB.h
// Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_HMB_h__ #define __nFRC_2019_19_0_2_HMB_h__ #include "../tSystem.h" #include "../tSystemInterface.h" namespace nFPGA { namespace nFRC_2019_19_0_2 { class tHMB { public: tHMB(){} ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/signals/IInvertable.h
#pragma once namespace ctre { namespace phoenix { namespace signals { class IInvertable { public: virtual ~IInvertable(){} virtual void SetInverted(bool invert) = 0; virtual bool GetInverted() const = 0; }; } // namespace Signals } // namespace phoenix } // namespace ctre
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/netcomm-2019.12.1-headers.zip_97d07b8af9f28e0504c6dc239ac1f176/FRC_NetworkCommunication/NetCommRPCProxy_Occur.h
#pragma once #ifdef __cplusplus extern "C" { #endif void NetCommRPCProxy_SetOccurFuncPointer(void (*Occur)(uint32_t)); #ifdef __cplusplus } #endif
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/nInterfaceGlobals.h
// Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_nInterfaceGlobals_h__ #define __nFRC_2019_19_0_2_nInterfaceGlobals_h__ namespace nFPGA { namespace nFRC_2019_19_0_2 { extern unsigned int g_currentTargetClass; static const int...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/FollowerType.h
#pragma once namespace ctre { namespace phoenix { namespace motorcontrol { enum FollowerType { FollowerType_PercentOutput = 0, FollowerType_AuxOutput1, }; } // namespace motorcontrol } // namespace phoenix } // namespace ctre
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/sensors/PigeonIMU_ControlFrame.h
#pragma once namespace ctre { namespace phoenix { namespace sensors { /** Enumerated type for status frame types. */ enum PigeonIMU_ControlFrame { PigeonIMU_CondStatus_Control_1 = 0x00042800, }; } // namespace sensors } // namespace phoenix } // namespace ctre
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.4.1-headers.zip_b81507b0c50c581f7502538d67c4b01b/frc/shuffleboard/WidgetType.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/signals/IOutputSignal.h
<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { namespace signals { class IOutputSignal { public: virtual ~IOutputSignal(){} virtual void Set(double value) = 0; }; } // namespace Signals } // namespace phoenix } // namespace ctre
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/cci/Logger_CCI.h
#pragma once #include "ctre/phoenix/cci/CCI.h" #include "ctre/phoenix/ErrorCode.h" #include <string> extern "C" { CCIEXPORT void c_Logger_Close(); CCIEXPORT void c_Logger_Open(int language, bool logDriverStation); CCIEXPORT ctre::phoenix::ErrorCode c_Logger_Log(ctre::phoenix::ErrorCode code, const char* o...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/core-5.12.0-headers.zip_318ff6fc4a9e78b523ef7a1e4e5003aa/ctre/phoenix/runtime/LibLoader.h
/** * @brief OS abstracted Library Loader class for DLLs/shared-objects. * @author Ozrien * * This is useful for basic plugin systems. * Example Use... * <pre> * {@code * ctre::phoenix::runtime::LibLoader ldr; * typedef int (*example_func_t)(...params...); * try { * ldr.Open(...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/ControlMode.h
<reponame>FRC-Team-955/2019-Outreach-Code<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { namespace motorcontrol { enum class ControlMode { PercentOutput = 0, Position = 1, Velocity = 2, Current = 3, Follower = 5, MotionProfile = 6, MotionMagic = 7, MotionProfileArc = 10, Dis...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/sensors/PigeonIMU_StickyFaults.h
<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { namespace sensors { struct PigeonIMU_StickyFaults { //!< True iff any of the above flags are true. bool HasAnyFault() const { return false; } int ToBitfield() const { int retval = 0; return retval; } PigeonIMU_StickyFaults(int...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/RCRadio3Ch.h
#pragma once #include <vector> #include "ctre/phoenix/CANifier.h" #include "ctre/phoenix/tasking/IProcessable.h" namespace ctre{ namespace phoenix { class RCRadio3Ch : public ctre::phoenix::tasking::IProcessable{ public: enum Channel{ Channel1, Channel2, Channel3, }; enum Status{ LossOfC...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/CustomParamConfiguration.h
<reponame>FRC-Team-955/2019-Outreach-Code<filename>build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/CustomParamConfiguration.h<gh_stars>0 #pragma once #include <string> namespace ctre { namespace phoenix { struct CustomParamConfiguration { int customParam0; ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.4.1-headers.zip_b81507b0c50c581f7502538d67c4b01b/frc/livewindow/LiveWindowSendable.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2012-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/navx-cpp-3.1.366-headers.zip_da3cae41d5a5ab6ed4220136e136cf0b/IMUProtocol.h
<gh_stars>100-1000 /* ============================================ Nav6 source code is placed under the MIT license Copyright (c) 2013 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software withou...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpiutil-cpp-2019.4.1-headers.zip_5e342f497d78cde8042c25fea7a66506/wpi/memory.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/RoboRIO_FRC_ChipObject_Aliases.h
// Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __RoboRIO_FRC_ChipObject_Aliases_h__ #define __RoboRIO_FRC_ChipObject_Aliases_h__ #define nRoboRIO_FPGANamespace nFRC_2019_19_0_2 #endif // __RoboRIO_FRC_ChipObject_Aliases_h__
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/jni/com_ctre_phoenix_platform_PlatformJNI.h
<gh_stars>0 /* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_ctre_phoenix_platform_PlatformJNI */ #ifndef _Included_com_ctre_phoenix_platform_PlatformJNI #define _Included_com_ctre_phoenix_platform_PlatformJNI #ifdef __cplusplus extern "C" { #endif /* * Class: ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.4.1-headers.zip_b81507b0c50c581f7502538d67c4b01b/frc/ControllerPower.h
<gh_stars>10-100 /*----------------------------------------------------------------------------*/ /* Copyright (c) 2011-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the ...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/InvertType.h
<reponame>FRC-Team-955/2019-Outreach-Code<filename>build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/InvertType.h #pragma once #include <string> namespace ctre { namespace phoenix { namespace motorcontrol { /** * Choose the invert type of th...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccel.h
<reponame>FRC-Team-955/2019-Outreach-Code // Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_Accel_h__ #define __nFRC_2019_19_0_2_Accel_h__ #include "../tSystem.h" #include "../tSystemInterface.h" namespace nFPGA { namespace nFRC_201...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAO.h
// Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_AO_h__ #define __nFRC_2019_19_0_2_AO_h__ #include "../tSystem.h" #include "../tSystemInterface.h" namespace nFPGA { namespace nFRC_2019_19_0_2 { class tAO { public: tAO(){} vi...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/chipobject-2019.12.1-headers.zip_45012665afb78c4c4816a3a35e8fe8aa/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tBIST.h
// Copyright (c) National Instruments 2008. All Rights Reserved. // Do Not Edit... this file is generated! #ifndef __nFRC_2019_19_0_2_BIST_h__ #define __nFRC_2019_19_0_2_BIST_h__ #include "../tSystem.h" #include "../tSystemInterface.h" namespace nFPGA { namespace nFRC_2019_19_0_2 { class tBIST { public: tBIST()...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.4.1-headers.zip_b81507b0c50c581f7502538d67c4b01b/frc/Controller.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpiutil-cpp-2019.4.1-headers.zip_5e342f497d78cde8042c25fea7a66506/wpi/UidVector.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/autocache.h
#pragma once namespace ctre{ namespace phoenix{ enum AutocacheState{ DISABLED = 0, ENABLED = 1, }; } }
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/wpilibc-cpp-2019.2.1-headers.zip_c5f7002a6c1dfda8aa2899e2594d01fe/frc/shuffleboard/ShuffleboardWidget.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/CANifierControlFrame.h
<reponame>FRC-Team-955/2019-Outreach-Code #pragma once namespace ctre { namespace phoenix { /** Enumerated type for status frame types. */ enum CANifierControlFrame { CANifier_Control_1_General = 0x03040000, CANifier_Control_2_PwmOutput = 0x03040040, }; } // namespace phoenix } // namespace ctre
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/Utilities.h
<filename>build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/Utilities.h #pragma once namespace ctre { namespace phoenix { class Utilities { public: static float abs(float f); static float bound(float value, float capValue = 1); static float cap(float valu...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/unmanaged/Unmanaged.h
<filename>build/tmp/expandedArchives/api-cpp-5.12.0-headers.zip_4c0f1181ce667c2b1da6d536e53054ec/ctre/phoenix/unmanaged/Unmanaged.h #include "ctre/phoenix/cci/Unmanaged_CCI.h" namespace ctre { namespace phoenix { namespace unmanaged { class Unmanaged { public: static void FeedEnable(int timeoutMs); s...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/CANifierStatusFrame.h
<gh_stars>1-10 #pragma once namespace ctre { namespace phoenix { /** Enumerated type for status frame types. */ enum CANifierStatusFrame { CANifierStatusFrame_Status_1_General = 0x041400, CANifierStatusFrame_Status_2_General = 0x041440, CANifierStatusFrame_Status_3_PwmInputs0 = 0x041480, CANifierStatusF...
FRC-Team-955/2019-Outreach-Code
build/tmp/expandedArchives/cci-5.12.0-headers.zip_dcc0606199f9f03e2afc8c79f610ebba/ctre/phoenix/motorcontrol/StatusFrame.h
#pragma once namespace ctre { namespace phoenix { namespace motorcontrol { enum StatusFrameEnhanced { Status_1_General = 0x1400, Status_2_Feedback0 = 0x1440, Status_4_AinTempVbat = 0x14C0, Status_6_Misc = 0x1540, Status_7_CommStatus = 0x1580, Status_9_MotProfBuffer = 0x1600, /** * Old name for ...
Sakuraortime/PainterEngine
PainterEngine/Kernel/PX_Lexer.h
#ifndef __PX_LEXER_H #define __PX_LEXER_H #include "../Core/PX_Core.h" #define PX_LEXER_CA_COMMENT_MAX_COUNT 32 #define PX_LEXER_CA_SPACER_MAX_COUNT 32 #define PX_LEXER_CA_DELIMITER_MAX_COUNT 32 #define PX_LEXER_CA_CONTAINER_MAX_COUNT 32 typedef enum __PX_LEXER_SORT_STATUS { PX_LEXERSORT_STATUS_NORMAL= 0,...
Sakuraortime/PainterEngine
PainterEngine/Kernel/PX_Json.h
<reponame>Sakuraortime/PainterEngine<gh_stars>1-10 #ifndef PX_JSON_H #define PX_JSON_H #include "PX_Lexer.h" typedef enum { PX_JSON_VALUE_TYPE_STRING, PX_JSON_VALUE_TYPE_NUMBER, PX_JSON_VALUE_TYPE_BOOLEAN, PX_JSON_VALUE_TYPE_NULL, PX_JSON_VALUE_TYPE_OBJECT, PX_JSON_VALUE_TYPE_ARRAY, }PX_JSON_VALUE_TYPE; typed...
Sakuraortime/PainterEngine
PainterEngine/Kernel/PX_Json.c
#include "PX_Json.h" static px_uint json_quotes; px_bool PX_JsonInterpret_Object(PX_Json *pjson,px_lexer *lexer,PX_Json_Object *json_Object); px_bool PX_JsonInterpret_Value(PX_Json *pjson,px_lexer *lexer,PX_Json_Value *_value,px_bool arrayElement); px_void PX_JsonFreeValue(PX_Json *pjson,PX_Json_Value *json_Value); P...
andrewhop/aws-lc
crypto/fipsmodule/ec/p384_table.h
/* ------------------------------------------------------------------------------------ Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 ------------------------------------------------------------------------------------ */ // This file is generated by make_table...
asuszko/cufft_helpers
src/cufft_addredundants.h
<reponame>asuszko/cufft_helpers<filename>src/cufft_addredundants.h #ifndef CUFFT_ADDREDUNDANTS_H #define CUFFT_ADDREDUNDANTS_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif extern "C" { void DLL_EXPORT cufft_addredundants(void *d_idata, ...
asuszko/cufft_helpers
src/cufft_c2c.h
#ifndef CUFFT_C2C_H #define CUFFT_C2C_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif extern "C" { void DLL_EXPORT cufft_c2c(cufftHandle *plan, void *idata, void *odata, int CUFFT_DIR,...
asuszko/cufft_helpers
src/cufft_conj.h
<filename>src/cufft_conj.h #ifndef CUFFT_CONJ_H #define CUFFT_CONJ_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif extern "C" { void DLL_EXPORT cufft_conj(void *d_data, dim3 extent, int dtype, ...
asuszko/cufft_helpers
src/cufft_r2c.h
<filename>src/cufft_r2c.h #ifndef CUFFT_R2C_H #define CUFFT_R2C_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif extern "C" { void DLL_EXPORT cufft_r2c(cufftHandle *plan, void *d_idata, void *d_odata, ...
asuszko/cufft_helpers
src/cufft_plan.h
<filename>src/cufft_plan.h #ifndef CUFFT_PLAN_H #define CUFFT_PLAN_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif typedef int planlen[3]; extern "C" { cufftHandle DLL_EXPORT *cufft_plan(planlen extent, int fft_type, ...
asuszko/cufft_helpers
src/cufft_c2r.h
#ifndef CUFFT_C2R_H #define CUFFT_C2R_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif extern "C" { void DLL_EXPORT cufft_c2r(cufftHandle *plan, void *idata, void *odata, int dtype); } ...
asuszko/cufft_helpers
src/cufft_setstream.h
<reponame>asuszko/cufft_helpers<filename>src/cufft_setstream.h #ifndef CUFFT_SETSTREAM_H #define CUFFT_SETSTREAM_H #ifdef _WIN32 #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT #endif extern "C" { void DLL_EXPORT cufft_setstream(cufftHandle *plan, cudaStrea...
liuyongjiesail/LikeButton
LikeButtonDemo/LikeAnimationButton.h
// // LikeAnimationButton.h // LikeButtonDemo // // Created by 刘永杰 on 2018/7/6. // Copyright © 2018年 刘永杰. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, LikeAnimationButtonType) { LikeAnimationButtonTypeTop = 0, LikeAnimationButtonTypeTread = 1, }; @class LikeAnimationButt...
Krypton91/dayz-mod-compass
SchanaModCompass/Mission/gui/schana_heading.c
class SchanaHeadingMenu extends UIScriptedMenu { private Widget m_SchanaHeadingRootWidget; private TextWidget m_SchanaHeadingTextWidget; private Widget m_SchanaCompassFrameWidget; private ImageWidget m_SchanaCompassImageWidget; private bool m_SchanaIsVisible; private bool m_SchanaHeadingVisible ...
Krypton91/dayz-mod-compass
SchanaModCompass/Mission/mission/missiongameplay.c
<filename>SchanaModCompass/Mission/mission/missiongameplay.c modded class MissionGameplay extends MissionBase { private ref SchanaHeadingMenu m_SchanaHeadingMenu; override void OnUpdate (float timeslice) { super.OnUpdate (timeslice); if (GetUApi ()) { UAInput inp = GetUApi ().GetIn...