repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
liuyuwang2016/Projects | KinectOpenCV/KinectOpenCV/src/LineModel.h | <reponame>liuyuwang2016/Projects
#pragma once
#include "AbstractModel.h"
typedef std::array<GRANSAC::VPFloat, 2> Vector2VP;
class Point2D
: public GRANSAC::AbstractParameter
{
public:
Point2D(GRANSAC::VPFloat x, GRANSAC::VPFloat y)
{
m_Point2D[0] = x;
m_Point2D[1] = y;
};
Vector2VP m_Point2D;
};
class Lin... |
liuyuwang2016/Projects | test7_2a/test7_2a/src/test7_2a.h | #ifndef TEST7_2A_H
#define TEST7_2A_H
#include <QtWidgets/QMainWindow>
#include "ui_test7_2a.h"
#include "GeneratedFiles/ui_test7_2a.h"
class test7_2a : public QMainWindow
{
Q_OBJECT
public:
test7_2a(QWidget *parent = 0);
~test7_2a();
private slots:
int OnBtnOpen();
int OnBtnSave();
private:
Ui::test7_2aClas... |
liuyuwang2016/Projects | Test11_3A/Test11_3A/test11_3a.h | #ifndef TEST11_3A_H
#define TEST11_3A_H
#include <QtWidgets/QMainWindow>
#include "ui_test11_3a.h"
class Test11_3A : public QMainWindow
{
Q_OBJECT
public:
Test11_3A(QWidget *parent = 0);
~Test11_3A();
private:
Ui::Test11_3AClass ui;
};
#endif // TEST11_3A_H
|
liuyuwang2016/Projects | Text8_3A/Text8_3A/SendDlg.h | <reponame>liuyuwang2016/Projects
#ifndef SENDDLG_H
#define SENDDLG_H
#include <QDialog>
#include "ui_SendDlg.h"
class SendDlg : public QDialog
{
Q_OBJECT
public:
SendDlg(QWidget *parent = 0);
~SendDlg();
private:
Ui::SendDlg ui;
};
#endif // SENDDLG_H
|
liuyuwang2016/Projects | test7_2a/test7_2a/searchwindow.h | <gh_stars>1-10
#ifndef SEARCHWINDOW_H
#define SEARCHWINDOW_H
#include <QWidget>
#include "ui_searchwindow.h"
class SearchWindow : public QWidget
{
Q_OBJECT
public:
SearchWindow(QWidget *parent = 0);
~SearchWindow();
private:
Ui::SearchWindow ui;
};
#endif // SEARCHWINDOW_H
|
liuyuwang2016/Projects | QtDrop/QtDrop/GeneratedFiles/ui_qtdrop.h | /********************************************************************************
** Form generated from reading UI file 'qtdrop.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************... |
liuyuwang2016/Projects | 5-Aixs Dispenser SnapToReality/5-Aixs Dispenser SnapToReality/osapi/osapi.h | <gh_stars>1-10
#ifndef _OSAPI_H
#define _OSAPI_H
#define _CRT_SECURE_NO_WARNINGS
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <stdio.h>
#include <time.h>
#include <string>
#include "Thread.h"
#include "Mutex.h"
#include "Semaphore.h"
#include "Socket.h"
#endif
|
liuyuwang2016/Projects | UI/UI/ui.h | <reponame>liuyuwang2016/Projects<gh_stars>1-10
#ifndef UI_H
#define UI_H
#include <QtWidgets/QMainWindow>
#include "ui_ui.h"
class UI : public QMainWindow
{
Q_OBJECT
public:
UI(QWidget *parent = 0);
~UI();
private:
Ui::UIClass ui;
};
#endif // UI_H
|
liuyuwang2016/Projects | UI/UI/GeneratedFiles/ui_ui.h | <reponame>liuyuwang2016/Projects
/********************************************************************************
** Form generated from reading UI file 'ui.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************... |
liuyuwang2016/Projects | Computer Vision Final Project/Computer Vision Final Project/myRANSAC.h | #include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <stdio.h>
#include <iostream>
//using namespace cv;
class myRANSAC {
public:
myRANSAC();
float slope = 1.5;
float intersection = 250;
double d;
int allPointsLength;
int runRansac(cv::Mat... |
liuyuwang2016/Projects | KinectQt/KinectQt/GeneratedFiles/ui_widget.h | <reponame>liuyuwang2016/Projects
/********************************************************************************
** Form generated from reading UI file 'widget.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********... |
liuyuwang2016/Projects | UI-5-Axis-Dispenser/UI-5-Axis-Dispenser/Kinect_v2.h | <filename>UI-5-Axis-Dispenser/UI-5-Axis-Dispenser/Kinect_v2.h<gh_stars>1-10
#pragma once
#include <Kinect.h>
class Kinect_v2
{
public:
Kinect_v2();
~Kinect_v2();
};
|
liuyuwang2016/Projects | Test10_1A/Test10_1A/GeneratedFiles/ui_test10_1a.h | <gh_stars>1-10
/********************************************************************************
** Form generated from reading UI file 'test10_1a.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**************************... |
liuyuwang2016/Projects | Computer Vision Final Project/Computer Vision Final Project/OpenGLCamera.h | <gh_stars>1-10
#pragma once
#include <math.h>
// glut Header
#include <GL/glut.h>
class Vector3
{
public:
float v[3];
public:
Vector3()
{
v[0] = 0;
v[1] = 0;
v[2] = 0;
}
Vector3(float x, float y, float z)
{
v[0] = x;
v[1] = y;
v[2] = z;
}
Vector3(const Vector3& rV)
{
v[0] = rV.v[0];
v[1] ... |
liuyuwang2016/Projects | Text8_3A/Text8_3A/GeneratedFiles/ui_text8_3a.h | /********************************************************************************
** Form generated from reading UI file 'text8_3a.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******************************************... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_iter.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/FreeRTOS-Plus-TCP/include/NetworkBufferManagement.h | <reponame>jtlai0921/amazon-freertos
/*
* FreeRTOS+TCP V2.0.5
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 Soft... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor.c | <filename>lib/cbor/test/test_aws_cbor.c
/*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_int.c | <filename>lib/cbor/test/test_aws_cbor_int.c
/*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software")... |
jtlai0921/amazon-freertos | tests/ti/cc3220_launchpad/common/config_files/aws_test_ota_config.h | <reponame>jtlai0921/amazon-freertos
/*
* Amazon FreeRTOS V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 S... |
jtlai0921/amazon-freertos | lib/third_party/mcu_vendor/nuvoton/M480/middleware/wifi_esp8266/esp8266_wifi.c | /**************************************************************************//**
* @file esp8266_wifi.c
* @version V1.10
* @brief M480 series ESP8266 WiFi driver source file
*
* @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved.
****************************************************************... |
jtlai0921/amazon-freertos | lib/ota/portable/microchip/curiosity_pic32mzef/aws_ota_pal.c | /*
Amazon FreeRTOS OTA PAL for Curiosity PIC32MZEF V0.9.1
Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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 without restr... |
jtlai0921/amazon-freertos | demos/nuvoton/numaker_iot_m487_httpd/common/application_code/simple_http_server.c | <gh_stars>1-10
/*
* Amazon FreeRTOS V1.3.0
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restr... |
jtlai0921/amazon-freertos | lib/pkcs11/portable/nuvoton/m480/aws_pkcs11_pal.c | /*
* Amazon FreeRTOS PKCS#11 for Numaker_PFM_M487
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_acc.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/defender/test/port_tests/test_aws_defender_uptime.c | /*
* Amazon FreeRTOS Device Defender Agent V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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... |
jtlai0921/amazon-freertos | tests/common/include/aws_clientcredential_keys.h | <reponame>jtlai0921/amazon-freertos<filename>tests/common/include/aws_clientcredential_keys.h
/*
* PEM-encoded client certificate
*
* Must include the PEM header and footer:
* "-----BEGIN CERTIFICATE-----"
* "...base64 data..."
* "-----END CERTIFICATE-----";
*/
static const char clientcredentialCLIENT_CERTIFICAT... |
jtlai0921/amazon-freertos | lib/defender/test/port_tests/test_aws_defender_cpu.c | /*
* Amazon FreeRTOS Device Defender Agent V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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... |
jtlai0921/amazon-freertos | tests/common/mqtt/aws_test_mqtt_agent.c | <filename>tests/common/mqtt/aws_test_mqtt_agent.c
/*
* Amazon FreeRTOS MQTT AFQP V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Softwar... |
jtlai0921/amazon-freertos | lib/defender/test/unit_tests/test_aws_defender_report_tcp_conn.c | /*
* Amazon FreeRTOS Device Defender Agent V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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... |
jtlai0921/amazon-freertos | tests/common/cbor/aws_test_cbor.c | #include "unity_fixture.h"
TEST_GROUP( Full_CBOR );
TEST_GROUP_RUNNER( Full_CBOR )
{
RUN_TEST_GROUP( aws_cbor_acceptance )
}
|
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor_int.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/defender/src/aws_defender.c | <reponame>jtlai0921/amazon-freertos
/*
* Amazon FreeRTOS Device Defender Agent V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_string.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_alloc.c | <filename>lib/cbor/test/test_aws_cbor_alloc.c
/*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software... |
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor_map.c | <gh_stars>1-10
/*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 ... |
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor_iter.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor_string.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | demos/st/stm32l475_discovery/common/application_code/main.c | /*
* Amazon FreeRTOS V1.3.0
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restriction, includi... |
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor_print.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_print.c | <reponame>jtlai0921/amazon-freertos<gh_stars>1-10
/*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Soft... |
jtlai0921/amazon-freertos | tests/common/ota/aws_test_pal.c | /*
* Amazon FreeRTOS OTA AFQP V1.0.0
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restriction... |
jtlai0921/amazon-freertos | lib/defender/src/report/aws_defender_report_types.h | <filename>lib/defender/src/report/aws_defender_report_types.h
/*
* Amazon FreeRTOS
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), ... |
jtlai0921/amazon-freertos | demos/nuvoton/numaker_iot_m487_wifi_https/common/application_code/aws_iot_https.c | /* This example demonstrates connection with AWS IoT through HTTPS protocol.
*
* AWS IoT: Publish to a topic through HTTPS/POST method:
* http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html
*
* AWS IoT: Thing Shadow RESTful API:
* http://docs.aws.amazon.com/iot/latest/developerguide/thing-shadow-... |
jtlai0921/amazon-freertos | lib/cbor/src/aws_cbor_jump_table.h | /*
* Amazon FreeRTOS
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restriction, including with... |
jtlai0921/amazon-freertos | tests/nuvoton/numaker_iot_m487/common/application_code/nuvoton_code/entropy_hardware_poll.c | /*
* Hardware entropy collector for M487 RNG
*
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "FreeRTOS.h"
#include "task.h"
#include "NuMicro.h"
/*
* Get Random number generator.
*/
#define PRNG_KEY_SIZE (0x20UL)
static volatile int g_PRNG_done;
volatile int g_... |
jtlai0921/amazon-freertos | lib/cbor/test/test_aws_cbor_map.c | /*
* Amazon FreeRTOS CBOR Library V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restric... |
jtlai0921/amazon-freertos | lib/FreeRTOS-Plus-TCP/source/protocols/include/FreeRTOS_TCP_server.h | <gh_stars>1-10
/*
* FreeRTOS+TCP V2.0.5
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 without restrict... |
korken89/kfly_gui | ui_controller.h | <reponame>korken89/kfly_gui
#ifndef UI_CONTROLLER_H
#define UI_CONTROLLER_H
#include <cmath>
#include <QWidget>
#include <QTimer>
#include <QDebug>
#include "communication.h"
namespace Ui {
class ui_controller;
}
class ui_controller : public QWidget
{
Q_OBJECT
public:
explicit ui_controller(QWidget *parent ... |
korken89/kfly_gui | ui_rc_input_channel.h | #ifndef UI_RC_INPUT_CHANNEL_H
#define UI_RC_INPUT_CHANNEL_H
#include <QWidget>
#include <QComboBox>
#include <QSpinBox>
#include <QProgressBar>
#include "communication.h"
namespace Ui {
class ui_rc_input_channel;
}
class ui_rc_input_channel : public QWidget
{
Q_OBJECT
public:
explicit ui_rc_input_channel(QW... |
korken89/kfly_gui | ui_rc_output_channel.h | <gh_stars>0
#ifndef UI_RC_OUTPUT_CHANNEL_H
#define UI_RC_OUTPUT_CHANNEL_H
#include <QWidget>
#include <QComboBox>
#include <QSlider>
#include <QProgressBar>
#include "communication.h"
namespace Ui {
class ui_rc_output_channel;
}
class ui_rc_output_channel : public QWidget
{
Q_OBJECT
public:
explicit ui_rc_o... |
korken89/kfly_gui | ui_connect.h | #ifndef UI_CONNECT_H
#define UI_CONNECT_H
#include <QWidget>
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
#include "communication.h"
namespace Ui {
class ui_connect;
}
class ui_connect : public QWidget
{
Q_OBJECT
public:
explicit ui_connect(QWidget *parent = 0);
~ui_conne... |
korken89/kfly_gui | ui_developer.h | #ifndef UI_DEVELOPER_H
#define UI_DEVELOPER_H
#include <QWidget>
#include <QTimer>
#include <QDebug>
#include <QDateTime>
#include "communication.h"
namespace Ui {
class ui_developer;
}
class ui_developer : public QWidget
{
Q_OBJECT
public:
explicit ui_developer(QWidget *parent = 0);
~ui_developer();
... |
korken89/kfly_gui | communication.h | #ifndef COMMUNICATION_H
#define COMMUNICATION_H
#include <QtCore>
#include <QtWidgets>
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
#include <vector>
#include <thread>
#include "kfly_comm/kfly_comm.hpp"
class communication : public QObject
{
Q_OBJECT
private:
QSerialPort _seri... |
korken89/kfly_gui | ui_rc_input.h | #ifndef UI_RC_INPUT_H
#define UI_RC_INPUT_H
#include <QWidget>
#include <QTimer>
#include <QDebug>
#include <vector>
#include "communication.h"
#include "ui_rc_input_channel.h"
namespace Ui {
class ui_rc_input;
}
class ui_rc_input : public QWidget
{
Q_OBJECT
public:
explicit ui_rc_input(QWidget *parent = 0)... |
korken89/kfly_gui | ui_sensors.h | <reponame>korken89/kfly_gui<gh_stars>0
#ifndef UI_SENSORS_H
#define UI_SENSORS_H
#include <QWidget>
#include <QTimer>
#include <QDebug>
#include <QDateTime>
#include "communication.h"
#include "imu_calibration.h"
namespace Ui {
class ui_sensors;
}
class ui_sensors : public QWidget
{
Q_OBJECT
public:
explici... |
korken89/kfly_gui | sliderbox.h | <gh_stars>0
#ifndef SLIDERBOX_H
#define SLIDERBOX_H
#include <QWidget>
#include <QPushButton>
#include <QPainter>
#include <QMouseEvent>
#include <QCursor>
#include <QObject>
class sliderbox : public QPushButton
{
Q_OBJECT
public:
sliderbox(QWidget *parent);
void setDisabled(bool value);
bool isDisabled() c... |
korken89/kfly_gui | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QCloseEvent>
#include <QMessageBox>
#include "communication.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void closeEv... |
korken89/kfly_gui | imu_calibration.h | #ifndef IMU_CALIBRATION_H
#define IMU_CALIBRATION_H
#include <vector>
#include <eigen3/Eigen/Dense>
namespace calibration
{
enum class state
{
GETTING_SAMPLES,
NEXT_AXIS,
DONE
};
class gain_bias_3axis
{
private:
std::vector<double> samples_x_;
std::vector<double> samples_y_;
std::vector<doub... |
korken89/kfly_gui | ui_motor_mixer_channel.h | #ifndef UI_MOTOR_MIXER_CHANNEL_H
#define UI_MOTOR_MIXER_CHANNEL_H
#include <QWidget>
namespace Ui {
class ui_motor_mixer_channel;
}
class ui_motor_mixer_channel : public QWidget
{
Q_OBJECT
public:
explicit ui_motor_mixer_channel(QWidget *parent = 0);
~ui_motor_mixer_channel();
void set_channel_number(int... |
korken89/kfly_gui | ui_rc_output.h | <gh_stars>0
#ifndef UI_RC_OUTPUT_H
#define UI_RC_OUTPUT_H
#include <QWidget>
#include <QDebug>
#include <QMessageBox>
#include <vector>
#include "communication.h"
#include "ui_rc_output_channel.h"
namespace Ui {
class ui_rc_output;
}
class ui_rc_output : public QWidget
{
Q_OBJECT
public:
explicit ui_rc_outp... |
korken89/kfly_gui | ui_motor_mixer.h | #ifndef UI_MOTOR_MIXER_H
#define UI_MOTOR_MIXER_H
#include <QWidget>
#include <QTimer>
#include <vector>
#include "communication.h"
#include "ui_motor_mixer_channel.h"
namespace Ui {
class ui_motor_mixer;
}
class ui_motor_mixer : public QWidget
{
Q_OBJECT
public:
explicit ui_motor_mixer(QWidget *parent... |
korken89/kfly_gui | ui_arming.h | <gh_stars>0
#ifndef UI_ARMING_H
#define UI_ARMING_H
#include <QWidget>
#include <QTimer>
#include <QDebug>
#include "communication.h"
namespace Ui {
class ui_arming;
}
class ui_arming : public QWidget
{
Q_OBJECT
public:
explicit ui_arming(QWidget *parent = 0);
~ui_arming();
void register_communicati... |
korken89/kfly_gui | ui_sys_info.h | <reponame>korken89/kfly_gui
#ifndef UI_SYS_INFO_H
#define UI_SYS_INFO_H
#include <QWidget>
#include "communication.h"
namespace Ui {
class ui_sys_info;
}
class ui_sys_info : public QWidget
{
Q_OBJECT
public:
explicit ui_sys_info(QWidget *parent = 0);
~ui_sys_info();
void register_communication(commu... |
yanfeng1573/PodsSpecFMCode | HelloFM/HelloFM/EntryPoint.h | <gh_stars>0
//
// EntryPoint.h
// HelloFM
//
// Created by <NAME> on 24/5/18.
// Copyright © 2018 My2c2p. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface EntryPoint : NSObject
+ (void)sayHiTo:(NSString *)someone;
@end
|
yanfeng1573/PodsSpecFMCode | HelloFM/HelloFM/HelloFM.h | //
// HelloFM.h
// HelloFM
//
// Created by <NAME> on 24/5/18.
// Copyright © 2018 My2c2p. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for HelloFM.
FOUNDATION_EXPORT double HelloFMVersionNumber;
//! Project version string for HelloFM.
FOUNDATION_EXPORT const unsigned char HelloFMVe... |
OpenIMSDK/Open-IM-SDK-ReactNative | ios/CallbackProxy.h | <reponame>OpenIMSDK/Open-IM-SDK-ReactNative
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#import "RCTEventEmitter.h"
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#endif
@import OpenIMCore;
NS_ASSUME_NONNULL_BEGIN
@interface RNCallbackProxy : NSObject <Open_im_sdk_c... |
OpenIMSDK/Open-IM-SDK-ReactNative | ios/OpenImSdkRn.h | <filename>ios/OpenImSdkRn.h
@import OpenIMCore;
#import "CallbackProxy.h"
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#import "RCTEventEmitter.h"
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#endif
@interface OpenIMSDKRN : RCTEventEmitter <RCTBridgeModule,Open_im_sd... |
OpenIMSDK/Open-IM-SDK-ReactNative | ios/SendMessageCallbackProxy.h | #import "OpenImSdkRn.h"
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#import "RCTEventEmitter.h"
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#endif
@import OpenIMCore;
NS_ASSUME_NONNULL_BEGIN
@interface RNSendMessageCallbackProxy : NSObject <Open_im_sdk_callbackSe... |
justinian/poplibc | src/include/j6libc/wchar_t.h | <filename>src/include/j6libc/wchar_t.h<gh_stars>1-10
#pragma once
/* Type definition: wchar_t */
#if __is_identifier(wchar_t)
typedef __WCHAR_TYPE__ wchar_t;
#endif
|
justinian/poplibc | src/stdio/fwrite.c | /* fwrite( const void *, size_t, size_t, FILE * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <string.h>
#include "j6libc/glue.h"
size_t fwrite( const void * restrict ptr, size_t size, size_t nmem... |
justinian/poplibc | src/tests/test_internal.c | <reponame>justinian/poplibc<filename>src/tests/test_internal.c<gh_stars>1-10
#include "_PDCLIB_test.h"
#include "_PDCLIB_iotest.h"
#include <assert.h>
START_TEST( atomax )
{
/* basic functionality */
TESTCASE( _PDCLIB_atomax( "123" ) == 123 );
/* testing skipping of leading whitespace and trailing garbage ... |
justinian/poplibc | src/include/stdint.h | <filename>src/include/stdint.h
#pragma once
/* Integer types <stdint.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
/* 7.18.2 Limits of specified-width integer types */
#include <j6libc/int.h>
#include <j6libc/int_widths.h>
... |
justinian/poplibc | src/string/strpbrk.c | <gh_stars>1-10
/* strpbrk( const char *, const char * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <string.h>
char * strpbrk( const char * s1, const char * s2 )
{
const char * p1 = s1;
const char * p2;
... |
justinian/poplibc | src/inttypes/strtoumax.c | /* strtoumax( const char *, char * *, int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <limits.h>
#include <inttypes.h>
#include <stddef.h>
uintmax_t strtoumax( const char * restrict nptr, char ** restrict endptr, ... |
justinian/poplibc | src/stdio/sscanf.c | /* sscanf( const char *, const char *, ... )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <stdarg.h>
int sscanf( const char * restrict s, const char * restrict format, ... )
{
int rc;
va_li... |
justinian/poplibc | src/include/j6libc/sig_atomic_t.h | <filename>src/include/j6libc/sig_atomic_t.h
#pragma once
/* Type definition: sig_atomic_t */
#if __is_identifier(sig_atomic_t)
#if __SIG_ATOMIC_WIDTH__ == 16
typedef int16_t sig_atomic_t;
#elif __SIG_ATOMIC_WIDTH__ == 32
typedef int32_t sig_atomic_t;
#elif __SIG_ATOMIC_WIDTH__ == 64
typedef int64_t sig_atomic_t;
#else... |
justinian/poplibc | src/ctype/isdigit.c | /* isdigit( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <ctype.h>
#include <locale.h>
int isdigit( int c )
{
return ( c >= _PDCLIB_lc_ctype.digits_low && c <= _PDCLIB_lc_ctype.digits_high );
}
|
justinian/poplibc | src/string/strcmp.c | <filename>src/string/strcmp.c
/* strcmp( const char *, const char * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <string.h>
int strcmp( const char * s1, const char * s2 )
{
while ( ( *s1 ) && ( *s1 == *s2 ) )
... |
justinian/poplibc | src/stdio/sprintf.c | <reponame>justinian/poplibc<filename>src/stdio/sprintf.c
/* sprintf( char *, const char *, ... )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
int sprintf( char * rest... |
justinian/poplibc | src/tests/_PDCLIB_test.h | /* PDCLib testing suite <_PDCLIB_test.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
/* -------------------------------------------------------------------------- */
/* Helper macros for test drivers ... |
justinian/poplibc | src/stdio/fflush.c | <gh_stars>1-10
/* fflush( FILE * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include "j6libc/glue.h"
extern struct _PDCLIB_file_t * _PDCLIB_filelist;
int fflush( struct _PDCLIB_file_t * stream )
{
... |
justinian/poplibc | src/tests/test_time.c | #include "_PDCLIB_test.h"
#include <assert.h>
#define MKTIME( tm, sec, min, hour, day, month, year, wday, yday ) tm.tm_sec = sec; tm.tm_min = min; tm.tm_hour = hour; tm.tm_mday = day; tm.tm_mon = month; tm.tm_year = year; tm.tm_wday = wday; tm.tm_yday = yday; tm.tm_isdst = -1;
/* Test data generated by reference mkti... |
justinian/poplibc | src/stdio/vsprintf.c | /* vsprintf( char *, const char *, va_list )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
int vsprintf( char * restrict s, const char * restrict format, va_list arg )... |
justinian/poplibc | src/stdio/setbuf.c | <gh_stars>1-10
/* setbuf( FILE *, char * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
void setbuf( struct _PDCLIB_file_t * restrict stream, char * restrict buf )
{
if ( buf == NULL )
{
set... |
justinian/poplibc | src/j6libc/sbrk.c | #include <stdint.h>
void *sbrk(intptr_t) __attribute__ ((weak));
void *sbrk(intptr_t i) { return 0; }
|
justinian/poplibc | src/tests/_PDCLIB_iotest.h | <reponame>justinian/poplibc
/* PDCLib testing suite <_PDCLIB_test.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
/* -------------------------------------------------------------------------- */
/* Helper macros for printf() /... |
justinian/poplibc | src/stdio/remove.c | /* remove( const char * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
/* This is an example implementation of remove() fit for use with POSIX kernels.
*/
#include <stdio.h>
#include <string.h>
extern struct _PDCLIB_file_t *... |
justinian/poplibc | src/ctype/isalnum.c | <reponame>justinian/poplibc
/* isalnum( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <ctype.h>
#include <locale.h>
int isalnum( int c )
{
return ( isdigit( c ) || isalpha( c ) );
}
|
justinian/poplibc | src/stdio/fgetc.c | /* fgetc( FILE * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include "j6libc/glue.h"
int fgetc( struct _PDCLIB_file_t * stream )
{
if ( _PDCLIB_prepread( stream ) == EOF )
{
return EOF;
... |
justinian/poplibc | src/stdlib/system.c | /* system( const char * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdlib.h>
/* This is an example implementation of system() fit for use with POSIX kernels.
*/
extern int fork( void );
extern int execve( const... |
justinian/poplibc | src/stdio/fopen.c | <gh_stars>1-10
/* fopen( const char *, const char * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <stdlib.h>
#include "j6libc/glue.h"
#include <string.h>
extern struct _PDCLIB_file_t * _PDCLIB_fi... |
justinian/poplibc | src/stdio/fclose.c | /* fclose( FILE * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <stdlib.h>
#include "j6libc/glue.h"
extern struct _PDCLIB_file_t * _PDCLIB_filelist;
int fclose( struct _PDCLIB_file_t * stream )
{... |
justinian/poplibc | src/stdio/tmpfile.c | /* tmpfile( void )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include "j6libc/glue.h"
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
extern struct _PDCLIB_file_t * _PDCLIB_filelist;
/* T... |
justinian/poplibc | src/stdlib/strtoll.c | <filename>src/stdlib/strtoll.c
/* strtoll( const char *, char * *, int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <limits.h>
#include <stdlib.h>
#include <stdint.h>
long long int strtoll( const char * s, char ** ... |
justinian/poplibc | src/stdio/fsetpos.c | /* fsetpos( FILE *, const fpos_t * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include "j6libc/glue.h"
int fsetpos( struct _PDCLIB_file_t * stream, const struct _PDCLIB_fpos_t * pos )
{
if ( stream-... |
justinian/poplibc | src/stdio/freopen.c | <filename>src/stdio/freopen.c
/* freopen( const char *, const char *, FILE * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "j6libc/glue.h"
struct _PDCLIB_fi... |
justinian/poplibc | src/include/stdalign.h | <gh_stars>1-10
#pragma once
/* Alignment <stdalign.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#define alignas _Alignas
#define alignof _Alignof
#define __alignas_is_defined 1
#define __alignof_is_defined 1
|
justinian/poplibc | src/string/memchr.c | <filename>src/string/memchr.c
/* memchr( const void *, int, size_t )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <string.h>
void * memchr( const void * s, int c, size_t n )
{
const unsigned char * p = (const uns... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.