blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9e729c841cfa6014440fc919e9351bb711bd51b | b7c15c33ea387e15a6bffcb36297c210851348d6 | /Dungeon Escape/Player.h | 832a29140027b2278a7ac08e22e2f822eecfaaa3 | [] | no_license | nickc01/Dungeon-Escape-OLD | 0f8e44f931ee39484b397233a2a05b7ea371ab08 | 652a9852520cf19174e27f928f6fcd7855bacb1e | refs/heads/master | 2022-10-29T03:50:12.871308 | 2020-03-22T23:56:19 | 2020-03-22T23:56:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,480 | h | Player.h | #pragma once
#include "AnimatedEntity.h" //Contains the AnimatedEntity class for entities that are animated
#include "WorldMap.h" //Contains the WorldMap class
#include "ResourceTexture.h" //Contains the ResourceTexture class for loading in texture resources
#include <SFML/Graphics.hpp> //Contains many essential SFML ... |
9c13cbd6791bb23be4500bbe5d8c621fab2b6f52 | 9b9a5ed499756374b7047ea36aaed984c92c68c9 | /examples/LargeFileTest/LargeFileTest.cpp | 4afc0b12f29fe9b3d7a915537592f6cc0e728f5e | [
"MIT"
] | permissive | rickkas7/LittleFS-RK | af46b5e63b510b7e14d106399b6088d2592b8760 | 786a51f2f7a5ae308b43bf6d4a240820ff385b41 | refs/heads/main | 2023-01-11T16:15:39.359373 | 2020-11-10T22:20:13 | 2020-11-10T22:20:13 | 311,787,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,010 | cpp | LargeFileTest.cpp |
#include "Particle.h"
#include "LittleFS-RK.h"
#include <fcntl.h>
// Test program that creates a number of large files for testing.
// Used to exercise the whole flash over time.
SYSTEM_THREAD(ENABLED);
SYSTEM_MODE(MANUAL);
SerialLogHandler logHandler(LOG_LEVEL_WARN, { // Logging level for non-application messag... |
39e5989c992bc508c36f4c9ee577de32952bc231 | bdb971cbe6451fb3d4b19f091ee17357d5607809 | /MP4/Player.cpp | 9912ed1550bef5e6f650ae07ffb90caba6cb315d | [] | no_license | bobthesponge10/MP4 | 6d2c6fcb8eb910586bcca13b50cbc526ef488881 | ab3e4339a6e7e2a85c0e7defb9c886b1b69cb7f2 | refs/heads/master | 2023-01-07T11:29:02.313640 | 2020-11-09T23:25:47 | 2020-11-09T23:25:47 | 308,957,435 | 0 | 1 | null | 2020-11-06T17:11:29 | 2020-10-31T19:31:02 | C++ | UTF-8 | C++ | false | false | 12,587 | cpp | Player.cpp | // Player.cpp
#include "Player.h"
// Sets command keywords
const vector<string> help_ {"h", "help", "?", "what", "why"};
const vector<string> up_ {"w", "up"};
const vector<string> down_ {"s", "down"};
const vector<string> left_ {"a", "left"};
const vector<string> right_ {"d", "right"};
con... |
f989fa898415496866cc642ea939bb14cdf94c6c | 326bdbf6363d1429772c3acb840766c461ada20c | /RedBall/Coin.cpp | 35fc2e3d8b31b95b6399b5c384b6efc142f5f00c | [] | no_license | ZoRRoZ-ZeT/Red_Ball | b259b5d595fe2cccb551f0084f355262324898f0 | 5e8f6cab5aa7556a22b7d34a1915fdabef96deda | refs/heads/main | 2023-06-03T05:03:12.097554 | 2021-06-22T19:46:15 | 2021-06-22T19:46:15 | 379,380,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | Coin.cpp | #include "Coin.h"
Coin::Coin(sf::Vector2f _position, sf::Vector2f _size, std::string path)
:Obstacle(_position, _size, path)
{
}
void Coin::Render(sf::RenderWindow * target)
{
target->draw(this->GetSprite());
}
|
11cab9cb24c293f4c276555a8fafa21ea11271fc | 1f4615d0bf8fbbd7bf7082ef752af1d32fbcdab7 | /vitrina/ui_contenedor_datos.h | 9d93ede9a9d6ffcd926de2573acaf709e74cb365 | [] | no_license | rodety/manager | be4568f4a601490f762756e7693120730a23b28f | edbf07466fd04748fb2bcc8007d8f692f7a2cc2f | refs/heads/master | 2016-09-10T18:14:38.978545 | 2013-05-16T07:48:10 | 2013-05-16T07:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | h | ui_contenedor_datos.h | #ifndef UI_CONTENEDOR_DATOS_H
#define UI_CONTENEDOR_DATOS_H
#include <QWidget>
#include "ui_almacen.h"
#include "configuracion/sesion.h"
#include <QInputDialog>
namespace Ui {
class ui_contenedor_datos;
}
class ui_contenedor_datos : public QWidget
{
Q_OBJECT
private:
QString idContenedor;
ui_almacen* ui... |
95a3778f340c8036941474be6d12c7172dcc7b36 | 12b15a6f8f99b8b4259e537af73075995b7d04bf | /lab/lab5_pass_by_object/pass_object.cpp | 17aa9f99e21764e2ec5b07c8792ed0425fde9a38 | [] | no_license | PraveshPandey23/cpp_project | 48cdfee60e9537a3d0cc7552d6e4f30e47f34ace | f08ded410d984d5906a8e8aceed96c4b1e332b2b | refs/heads/main | 2023-06-05T22:04:35.318902 | 2021-06-24T11:44:34 | 2021-06-24T11:44:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | pass_object.cpp | #include<iostream>
using namespace std;
class Complex
{
private:
double real,imaginery;
double sum_real,sum_imaginery;
public:
void getdata()
{
cout<<"Enter complex number "<<endl;
cin>>real>>imaginery;
}
void display_s... |
c125c17134e56715ef615143a34fd60ee854d7dd | 030724b60fb4f8b63953b7401702a98072993e94 | /cpp/826.most_profit_assigning_work.cpp | 61c99571b6c0c119ddbc26311d70bc5e414b108b | [] | no_license | MtTsai/Leetcode | 5f51a892b78cf6427ce2b4891a10bc2d4ed4d972 | 21e83294aee779a16a8c1b96089da4a40eb03035 | refs/heads/master | 2021-01-24T17:17:52.909429 | 2019-08-04T06:53:53 | 2019-08-04T06:54:23 | 123,228,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | 826.most_profit_assigning_work.cpp | class Solution {
public:
int maxProfitAssignment(vector<int>& difficulty, vector<int>& profit, vector<int>& worker) {
vector<pair<int, int>> jobs;
for (int i = 0; i < difficulty.size(); i++) {
jobs.push_back({profit[i], difficulty[i]});
}
sort(worker.rbegin(), wo... |
dabc950f38be87b4dbc8869ba81ce17479bce0ed | 2d9f20e8247fb0b457628391c6a6941f756fba2e | /server/lib/MultithreadQueue.hpp | 5db55055851b32ac5c41a109ccddfd38f9363189 | [] | no_license | ProjectB/ProjectB | e1644a56714b26ce93b21b32d1c9a6fb0d08e592 | 35f04106d1ecb79730d755e79e707130046da563 | refs/heads/master | 2020-12-25T19:14:41.580589 | 2015-03-22T20:24:56 | 2015-03-22T20:24:56 | 5,298,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | hpp | MultithreadQueue.hpp | /*
* MultithreadQueue.hpp
*
* Created on: Sep 7, 2012
* Author: ricardo
*/
#ifndef MULTITHREADQUEUE_HPP_
#define MULTITHREADQUEUE_HPP_
#include <queue>
#include <thread>
template <typename T>
class MultithreadQueue {
private:
std::queue<T> mtQueue;
std::mutex mtMutex;
public:
void push(T elem) {
mtMu... |
ca5b2bf20013846def54024ebc0930d8e6c9a3ad | 55bc718e7d994774806bef6d95e1c958243e1d37 | /powerstatustray.cpp | 3a02dc7471dcd46e4fcd58ec91eec8a04ea43086 | [
"MIT"
] | permissive | FauxFaux/tinies | 9069953b6cd75f605975b29b86ca05430d013fa0 | b475c4ee2945a3c9177cdfc5e9e33d18d49dfc47 | refs/heads/master | 2020-06-04T07:23:25.492469 | 2018-05-20T20:29:35 | 2018-05-20T20:29:35 | 3,166,427 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,522 | cpp | powerstatustray.cpp | /* Tray code modified from http://damb.dk */
#pragma comment(lib, "user32.lib")
#pragma comment(lib, "shell32.lib")
#include "defines.h"
#include <iostream>
#include <string>
#include <algorithm>
#include <windows.h>
#include <vector>
#include <set>
#include <utility>
#include <sstream>
std::vector... |
2cc9f0006c1b3ae3f7e7bdb57fea67ea5b238434 | 1aa66758de93fd481fb37a5e9ca791b8a828027b | /Project/Foldable MTP/Program/Ibis/Source/Project/BankGuild/UnitCtrlBank.cpp | 5f064a56578af51c96270c30c7ee78cc2c13b4df | [] | no_license | yuecl01/YW | 1f632bdb110868ad6a13c18d1b16abe0f649be13 | 87687d4026961122b1f2f88e1689b1a1cdf7e9bb | refs/heads/master | 2023-03-15T13:57:10.560018 | 2018-06-16T07:58:22 | 2018-06-16T07:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195,676 | cpp | UnitCtrlBank.cpp | #include "StdAfx.h"
#include "UnitCtrlBank.h"
#include "IbisApp.h"
#include "UI\GausGUI\GxMsgBox.h"
#include "Etc\FileSupport.h"
#include "Etc\Ini.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
ALARM_ID CUnitCtrlBank::GetAlarmID_of_Shuttle( ALARM_ID id... |
011fb970861c24252a5ddb93c49963587344a2fc | d62244cdf3f9edaac1efc0e6e39a3f749140bf68 | /src/Common/Utils.h | fbafc6b0da1fdd4948c0b9946ff8782f30828b11 | [] | no_license | wurui1994/BiliPlayer | 640f6ad312e0be8a329c9aa47a124848636916cc | c4ddbf2550031d9da92e648a06f5a3293abec023 | refs/heads/master | 2020-03-29T08:39:50.003971 | 2019-04-03T13:38:33 | 2019-04-03T13:38:33 | 146,700,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,652 | h | Utils.h | #pragma once
#include <QtWidgets/QWidget>
#include <QtCore/QString>
#include <QtCore/QTextStream>
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QtWidgets>
#define MsgBox() QMessageBox::information(NULL,__FILE__,__FUNCTION__)
#define Debug() qDebug() << __FILE__ << __FUNCTION__ << __LINE__
struct ... |
78d6ae23b2cd3d13035c42d7e80c8d90137e361d | 47f1b172aa4bf82afed7956742611b35983a24aa | /t5-neith/duilib/Layout/UISlideTabLayout.cpp | 2c2fbb4ecd8bb76c188760c88d0d7bdc38758c95 | [] | no_license | github188/TPS | 92e4a822bd51e5d9f0cb8df9c3d85f2ca9bb958f | b45510bc37837feda19733bec9d3d821e9fc787a | refs/heads/master | 2020-06-19T11:27:51.643398 | 2019-07-12T09:51:04 | 2019-07-12T09:51:04 | 196,691,872 | 0 | 1 | null | 2019-07-13T07:24:30 | 2019-07-13T07:24:29 | null | GB18030 | C++ | false | false | 7,689 | cpp | UISlideTabLayout.cpp | #include "stdafx.h"
#include "UISlideTabLayout.h"
namespace DuiLib
{
CSlideTabLayoutUI::CSlideTabLayoutUI():
m_bIsVertical(false),
m_bAnimating(false),
m_iCurFrame(0 )
{
}
LPCTSTR CSlideTabLayoutUI::GetClass() const
{
return _T("SlideTabLayoutUI");
}
LPVOID CSlideTabLayoutUI::GetInterface(LPCTSTR pstr... |
1fa57cf9f50989ecaac89892ec050516aafd79fa | 424c540b5865015e67783944f8fbdac659e42431 | /mylist.cpp | 33555649b5f0e1b2c86f626d80d34295bdc60bdb | [] | no_license | mpavlichenko/FifteenPlus | 661993cefe6d492f437a7e8ec9eb0462f901a68d | d178c4c3beadcdd818d1cc3338cd76c70d69b11d | refs/heads/master | 2020-04-15T15:13:42.522247 | 2015-09-07T07:38:06 | 2015-09-07T07:38:06 | 42,036,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | mylist.cpp | #include "mylist.h"
#include <QDebug>
MyList::MyList(int someText, QString someColor):
someColor(someColor), someText(someText)
{
}
|
2b659734463dc73480518134ea7abb475e5290c9 | dace6e1bc4e4402837d2a36765615ae4011f5773 | /webupdate-blink/webupdate-blink.ino | 5a83e22d2151144083f65c6cd9afba14f5cbbc38 | [] | no_license | Yoimer/nodemcu | 0dbc515050ce709de816c7a8ef5a6459e8e59a41 | 722f1fc66d6f7e385d0f557faf3ae336603a18ef | refs/heads/master | 2021-01-20T01:28:10.663355 | 2018-10-11T13:06:22 | 2018-10-11T13:06:22 | 89,283,559 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,424 | ino | webupdate-blink.ino | /*
To upload through terminal you can use: curl -F "image=@firmware.bin" esp8266-webupdate.local/update
*/
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
ESP8266WiFiMulti WiFiMulti;
const char* hos... |
57ae21ef80dd618654c4a7c5d40816dbf7996fc6 | 38774bbe5122c4a4328f9a5e6e9f53e8e9b54df9 | /misc/listpd.h | cece4b08381096d809659b9d021b8728a3e2dcb1 | [] | no_license | Malows/aedcode | b2964985712e4f21cc701545bb341a942e97cd55 | 1b9dc6160b989a7699e8d48049ca6ffb78b24de4 | refs/heads/master | 2021-01-18T11:01:32.422219 | 2011-10-22T00:57:05 | 2011-10-22T00:57:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | listpd.h | // -*- mode: c++ -*-
//__INSERT_LICENSE__
// $Id: listpd.h,v 1.1 2004/02/23 01:16:39 mstorti Exp $
#ifndef AED_LISTPD_H
#define AED_LISTPD_H
#define iterator_t list_dbl_iterator
#define cell list_dbl_cell
#define list list_dbl
#define elem_t double
#include <aedsrc/listp.h>
#endif
|
54e253d68205bbbd8e88e39d8b529f9cf4127044 | 737a9d8471e4112d9bd2f839850d0f7fe55bfa66 | /addons/vanguard/CfgVehicles.hpp | 26939c04c9da365503acf9cac80ce75316dc4573 | [] | no_license | Theseus-Aegis/Units | ab325d6701ae8066bc554530ec774d177a9e098a | 55311d018de6abf88db5b8337be18d2b989759ef | refs/heads/master | 2023-08-14T02:31:54.082280 | 2023-08-13T19:53:20 | 2023-08-13T19:53:20 | 189,776,167 | 4 | 13 | null | 2023-09-13T11:10:04 | 2019-06-01T20:46:51 | C++ | UTF-8 | C++ | false | false | 843 | hpp | CfgVehicles.hpp | class CfgVehicles {
#include "\x\tacu\addons\assets\script_classes_vehicles.hpp"
// Base Classes
class TACU_Main_U_INDEP_Soldier_Base;
#include "independent\CfgVehicles_Contractors_Green.hpp"
#include "independent\CfgVehicles_Contractors_Sand.hpp"
#include "independent\CfgVehicles_Contractors_... |
dbb09910df2cd6284fd6078207925d9ce2e03916 | a0be71e84272af17e3f9c71b182f782c35a56974 | /Image/App/ImageBase.cpp | 9f8dea88f60f96f05f01521cc953c08121385f61 | [] | no_license | PrLayton/SeriousFractal | 52e545de2879f7260778bb41ac49266b34cec4b2 | ce3b4e98d0c38fecf44d6e0715ce2dae582c94b2 | refs/heads/master | 2021-01-17T19:26:33.265924 | 2016-07-22T14:13:23 | 2016-07-22T14:13:23 | 60,533,401 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,192 | cpp | ImageBase.cpp | /***************************************************************************
* *
* This is a class for holding and handling basic image data *
* *
* Author:... |
a003fd79c19589e3209bbf599ce63daa25930443 | 9e080bbd5d0d553a0a29bde28bb4eb21f5b87a90 | /temp/Set/Set/MTest.h | 327a03b83f6c78afcce6fdcdc1025fb23f50c047 | [] | no_license | ored95/OOP | 710c1fa8fae775d4f852c40237938add078b7ab1 | e1507cf826e6b51175e2dcb6f943b212c9f770d1 | refs/heads/master | 2021-06-19T12:05:23.140015 | 2017-06-28T22:58:03 | 2017-06-28T22:58:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | h | MTest.h | #pragma once
#include "MSet.h"
class MTest
{
public:
char c;
};
enum eType {TInt, TDouble, TClass};
void PrintSet(const MBase *set, eType type);
#include "MTest.hpp" |
c3784ad672f5de9df2784c8593d0d773cd006ab1 | 3434b3267f31bbde89fc55002c8c9d60c347aef4 | /kp2/exhibit.hpp | 771805b101e7c06deb1242980021ce0638d08c6d | [] | no_license | AnastasiiaLatysh/KPI-OOP | aea3af3e0a76155c21a43a91a76649b308d5718c | ba33d1015a11d21048b1555bbe30c7ce0dbe38e5 | refs/heads/master | 2020-05-09T14:37:00.338896 | 2019-04-13T16:43:55 | 2019-04-13T16:43:55 | 181,200,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,159 | hpp | exhibit.hpp | #include <iostream>
using namespace std;
class Exhibit
{
char *name;
int length, width;
Address address;
public:
Exhibit();
Exhibit(char*, int, int, Address);
Exhibit(Exhibit&);
~Exhibit();
Exhibit& setName(char*);
Exhibit& setLength(int);
Exhibit& setWidth(int);
... |
ea97923c5d8c074737e595622884df565aac8450 | 1f5079b24785a0e6a8bef1f15e1bca939e94ba56 | /Dev/C++/Mascaret/include/VEHA/Behavior/Activity/Activity.h | 77efb50130ea1ea4b56d1fd34834c9663b561954 | [] | no_license | querrec/Mascaret | 7d5d0628dfb93226a602f79a7a974c14a60a88e8 | c71eba3667b3e3fa8a0b18a1f40219aee358c968 | refs/heads/master | 2021-01-17T08:12:10.024097 | 2016-04-14T13:27:52 | 2016-04-14T13:27:52 | 25,727,699 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | h | Activity.h | #ifndef _v2_VEHA_Behavior_Activity_Activity_H
#define _v2_VEHA_Behavior_Activity_Activity_H
#include "Tools/veha_plateform.h"
#include "VEHA/Behavior/Common/Behavior.h"
#include "VEHA/Behavior/Activity/ActivityNode.h"
#include "VEHA/Behavior/Activity/ActivityPartition.h"
#include "VEHA/Behavior/Activity/ActivityEdge.h... |
b395d6b4480fa9cc8db66800309fb82ddea2b46a | b728c792b5171f6be6ad91919b4a76a6f198b3e9 | /src/lib/datasrc/tests/memory/memory_segment_mock.h | 39c0d1ff605c1a0b085d38586655aedf0a0a4f65 | [
"LicenseRef-scancode-unknown-license-reference",
"ISC",
"BSL-1.0"
] | permissive | bundy-dns/bundy | c8beeca2c051924590794c92a3a58d1980a86024 | 3d41934996b82b0cd2fe22dd74d2abc1daba835d | refs/heads/master | 2021-09-28T16:24:39.037808 | 2021-09-22T06:04:17 | 2021-09-22T06:04:17 | 19,160,469 | 110 | 33 | NOASSERTION | 2021-09-22T06:04:18 | 2014-04-25T20:54:37 | C++ | UTF-8 | C++ | false | false | 2,283 | h | memory_segment_mock.h | // Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "A... |
027714d021151cb6df7a043704f3dbf3f801442b | 0f8d6679c49d26149201ef741800d82bf7dc006f | /MotorControl/Diagnostics.ino | e8d97f34d4aed4c31218bead8cfd2adc56ecfad2 | [] | no_license | GeoGenesis/delicious-sky-cake | 21ff3e298e16d8a1939ba5cb4aae2f73ee5e2229 | fb30c157cc692172f86262290ea3e1518c7425d2 | refs/heads/master | 2016-08-12T22:29:16.345204 | 2016-04-07T10:18:43 | 2016-04-07T10:18:43 | 50,645,488 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,733 | ino | Diagnostics.ino |
/*
Code written by GEORGE GOODSELL
Student ID: 120015759
City University, 2016
THESIS WORK
*/
void speedTest(){
//============================
// Servo Max Speed Test -
// Assesses the Servo's maximum response time between changes
// Uses customDiag() function to test max speed by decreasing delay... |
8384b7a3a8e97ece17a0547d065b54e59b18eca5 | 572a29d90ac817d249d0b9f805a7e3cebbd2e9a6 | /spaceshark.ino | 9ff6bbb35ea407a15730b6272aa06f22b9dcb85b | [
"MIT"
] | permissive | talhaahmad96/spaceshark-firmware | 42e537ab24bc16bd466ac53be727d8a80db29301 | 3bece9e5a0f25e2ba2ac7d03f2d87da49a6412ef | refs/heads/master | 2020-03-28T03:58:48.829745 | 2018-09-03T00:28:41 | 2018-09-03T00:28:41 | 147,686,475 | 0 | 0 | MIT | 2018-09-06T14:29:45 | 2018-09-06T14:29:44 | null | UTF-8 | C++ | false | false | 5,691 | ino | spaceshark.ino | // Space Shark microcontroller firmware for Particle Photon
// See project pages at http://github.com/spaceshark
#include "TinyStepper_28BYJ_48.h"
// Define stepper motor pin connections
const int MOTOR_IN1_PIN = 1;
const int MOTOR_IN2_PIN = 2;
const int MOTOR_IN3_PIN = 3;
const int MOTOR_IN4_PIN = 4;
// Constant va... |
4a68db4eb5cb239c9c72785090e9cd35c3d303bd | 7967197594dd6e4fb199554415f54f1014b5bc61 | /instadd/mainwindow.cpp | 67db8bd9e4c56b465cf48c14c63e2a181606c187 | [] | no_license | marcin-filipiak/qt_instadd | a45843c860ea90e2b20565a4fedd09f471fa4b87 | 0727a8a991dcb9243b3a0e192db608fdacfc7df6 | refs/heads/master | 2023-09-01T01:01:49.114215 | 2023-08-24T07:29:20 | 2023-08-24T07:29:20 | 217,893,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QWebEngineView>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QWebEngineProfile *prof = QWebEngineProfile::defaultProfile();
//750x1334
prof->setHttpUserAgent("Mozilla/5.0... |
808e16e198eb66b2a87034f60bf8cc8af299b36f | a92beb5f22b9c8960b3a6a24199de8b69d4eb33d | /src/generate_data/single_triangle/python_module.cpp | 6fe1b5144d306ac2d5da88193178b32c14914574 | [
"MIT"
] | permissive | rgreenblatt/path | 9d5336f0170a7fa5a3b6499587a8dfc80824d2a4 | 2057618ee3a6067c230c1c1c40856d2c9f5006b0 | refs/heads/master | 2023-08-07T12:14:15.128771 | 2021-10-04T14:47:30 | 2021-10-04T14:47:30 | 221,096,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,543 | cpp | python_module.cpp | #include "generate_data/single_triangle/constants.h"
#include "generate_data/single_triangle/generate_data.h"
#include <torch/extension.h>
using namespace generate_data;
using namespace generate_data::single_triangle;
PYBIND11_MODULE(neural_render_generate_data_single_triangle, m) {
m.def("generate_data", &generat... |
f353870081322cdd7ef88473d4188690a6f74f86 | be34d599008cc0b3b81177fdb9f9e2dcbd7f56ba | /src/mcu-basic/lamp.cpp | fe57beb075da70f71b15ad955be6ae633947456e | [
"Apache-2.0"
] | permissive | wouterdevinck/lamp | d5c94f98bd8b39fdf5395ae1bc129f0fe1f0e931 | 5020ba56f68738133934c4014166813790d04df9 | refs/heads/master | 2023-03-07T03:05:55.753756 | 2020-08-11T10:15:29 | 2020-08-11T10:15:29 | 134,090,004 | 2 | 0 | Apache-2.0 | 2023-02-25T04:39:21 | 2018-05-19T18:58:27 | C++ | UTF-8 | C++ | false | false | 283 | cpp | lamp.cpp | #include "new.h"
#include "Platform.h"
#include "Lamp.h"
#define BOARDS 15
using namespace lamp;
extern "C" {
int main(void);
}
int main(void) {
auto platform = new Platform(BOARDS);
auto lamp = new Lamp(platform);
lamp->start();
while(1){
platform->loop();
}
}
|
a6527fe19a3d38a896d3336201afe96fc0e6944b | f86385c53221aea1de25ea281d0e436e127be2f9 | /src/SimpleLog.cpp | 63360268f16f6c501866466a8b2b6b7c1479088b | [] | no_license | djpan0303/SimpleLog | d9a2b0f0b2559cfce73d3a3d8f67a4e0435ffd6c | b71af518010a100929b0ff836a51b4ee3da0e423 | refs/heads/master | 2023-06-25T00:56:50.233966 | 2018-11-15T12:04:46 | 2018-11-15T12:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,159 | cpp | SimpleLog.cpp | #include <unistd.h>
#include <iostream>
#include <libgen.h>
#include <SimpleLog.h>
#include <StringUtil.h>
namespace SLog {
void* thread_proc(void* arg)
{
SimpleLog* thread = reinterpret_cast<SimpleLog*>(arg);
while(true)
{
thread->svc();
}
return NULL;
}
SimpleLog::SimpleLog(Appender *app... |
8785c142ac35def63b9deac035b9ccc876e22f2a | b3dcc1fdd957f172ca43b5408f3ebf710e729e79 | /Engine/include/Texture/Patterns/Stripe.h | 33d18c01190bd77c9f0275c6902bd9ebb6fc2c23 | [
"MIT"
] | permissive | listopat/Raymond | d548a99964820055b3294f193a743759530f2851 | e29c37475b7b575c399cce03b0f4d7fafc942643 | refs/heads/main | 2023-04-29T06:58:31.223440 | 2021-05-09T12:32:55 | 2021-05-09T12:32:55 | 324,155,984 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | Stripe.h | #pragma once
#include <Texture/Pattern.h>
class Stripe : public Pattern , public std::enable_shared_from_this<Stripe> {
public:
Color a, b;
Stripe(const Color &s1, const Color &s2);
static std::shared_ptr<Stripe> createStripe(const Color &s1, const Color &s2);
Color atUV(const UV &uv) const override;... |
791f6486548139fca72793b7f99221d1b7fb729a | dc219e436aa41cbd01a079fb620b5ab87e4246a7 | /src/testApp.cpp | 2855221c8c878c2fe8efe83489a3fd465cded602 | [] | no_license | louischaman/midiLightTest2_2 | 63e4a0bf1bbaf37b5a6471accccf1ca6d6fb74dc | c32047da14238eabbdeeb97b212646921d221c16 | refs/heads/master | 2021-03-12T21:28:09.523769 | 2015-01-24T13:03:39 | 2015-01-24T13:03:39 | 29,776,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,169 | cpp | testApp.cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
ofSetFrameRate(60);
nTLights = 4;
nGLights = 8;
baud = 19200;
ofSetVerticalSync(true);
ofBackground(0);
// ofSetLogLevel(OF_LOG_VERBOSE);
lightSetup();
arduinoSetup();
... |
a8bff6a66da81d1e0ee0061076dbeae0500685a9 | 9d0ca5e92c40f4d016846f8d07639425fc88a4ba | /ioi-training-master/IOI/2007/training.cpp | 83485b1e8bffed6235e1a9652d64babe9f04a14a | [] | no_license | prajneya/IOI | 01532de1b92509e62214fd5a8208bc66db82c429 | c509fccd5b9ef2f0748ae834aaee759582481ad8 | refs/heads/master | 2020-06-14T09:42:58.889117 | 2016-12-16T02:42:45 | 2016-12-16T02:42:45 | 75,202,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,769 | cpp | training.cpp | #include <algorithm>
#include <cassert>
#include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#define NMAX 1010
#define SMAX ((1<<10)+10)
#define MMAX 5010
#define LOGN 12
#define DEG 12
#define ALL(v) ((1<<n[(v)])-1)
using namespace std;
struct edge{
int u,v,cost;
};
class lca_table{
private:... |
1a47e8f7cb5db8f2e7210a256844a263a5023332 | de4fb0931c064fa213f46f7dfc4ec58c5c8d0fbb | /dmx1a4.ino | c755e33b9326b7d2716cdecb852b9a4bea875dca | [] | no_license | DarioJorgeIglesias/LaboratorioElectronicaDigital | 0de9fbfd59795e300c49b3389ed2cb2d7499246e | 973a3bba73709b0ef0a179844fed8c072c7576ea | refs/heads/master | 2020-05-15T23:58:50.152138 | 2020-03-04T08:53:41 | 2020-03-04T08:53:41 | 182,567,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | ino | dmx1a4.ino | //Autor:Dario Jorge Iglesias
boolean A,B,D0,D1,D2,D3,I;
void setup(){
pinMode(6,INPUT); //pin 6 es la entrada I
pinMode(7,INPUT); pinMode(8,INPUT);//pin7 A, pin8 B
pinMode(9,OUTPUT); pinMode(10,OUTPUT);//pin 9 D0,10 D1
pinMode(11,OUTPUT);pinMode(12,OUTPUT);//11 D2,12 D3
}
void loop()
{
I=digital... |
f9d5586a2448f74e4c5e4d3502f6741df280890b | 483ff5e7737805d977441ce2ea8caaf6fb95b7ba | /raspberryDriveGeany_2017-06-03/Bildanalyse.cpp | 26eeae5fa802aa40477b7c4781a743f8aee782e0 | [] | no_license | jonandjon/carControl | efc683976adec68396764095a235d9abb5ab83f0 | 5f32b52f939ec6642f04922cac300105e57e58a0 | refs/heads/master | 2020-05-16T04:30:49.625693 | 2019-05-10T18:06:04 | 2019-05-10T18:06:04 | 182,780,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,286 | cpp | Bildanalyse.cpp | #include "Bildanalyse.h"
#include "CamPixy.h"
Bildanalyse::Bildanalyse(){};
Bildanalyse::~Bildanalyse(){};
void printObjektKoordinatenX()
{
//? pixyPos(); //muss nicht sein, der jeweils letzte Datensatz wird gedruckt
// Nur zur Kontrolle ein Aaru aller Koordnatenwerte un aller Obekte
for(int ind... |
c8c7cf3a8f9146b856ef40c940d8a1ac7dd7d217 | b9687a5da36555d4f0868e6557311b2d84c3520e | /code/src/log4cplus-1.1/include/log4cplus/helpers/queue.h | ef3c64aee60b8dcc674da503373aada2a63944ee | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | zleesz/ui-with-lua | 7defbe35f740790270ab867bf96df72564a1db08 | df37ab532073f9cda29d2352f7068ea049a37f43 | refs/heads/master | 2016-09-05T13:53:22.076409 | 2014-08-23T08:44:56 | 2014-08-23T08:44:56 | 32,198,624 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,366 | h | queue.h | // Copyright (C) 2009, Vaclav Haisman. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modifica-
// tion, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// t... |
556506de49408287acea90162e8b295a466a0d23 | b1aa67666ec7c8f4036a8769498cb37e16027076 | /src/PrimitiveNodes/UnsupportedSink.h | ff641bbb12b0402cc832c20a22c05c1275e8905d | [
"BSD-3-Clause"
] | permissive | ucb-cyarp/vitis | acbd5fedc65afd422fbf141512eb92697461b764 | e928047652d1569f2af57dd3094c8fe90b7d6cb5 | refs/heads/master | 2023-04-12T19:39:40.121305 | 2022-05-06T22:01:10 | 2022-05-06T22:01:10 | 138,628,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,863 | h | UnsupportedSink.h | //
// Created by Christopher Yarp on 9/13/18.
//
#ifndef VITIS_UNSUPPORTEDSINK_H
#define VITIS_UNSUPPORTEDSINK_H
#include <vector>
#include <memory>
#include <map>
#include <string>
#include "PrimitiveNode.h"
#include "GraphMLTools/GraphMLDialect.h"
#include "GraphCore/NodeFactory.h"
/**
* \addtogroup PrimitiveNod... |
74d83364d23fb52c5c7dc63bad3ad12bc57ca59f | 0cac2210f68f2c17dc2e7375bf1ae7f6427b096b | /core/include/engine/Method_MMF.hpp | 55b8cccee984dfd932347df4e00e4a7c2022691f | [
"MIT"
] | permissive | spirit-code/spirit | 43e4fbb3d99049490f7fe89b0fc1736589c58f29 | e82250d3b14411c2c2fa292d143f13e3e111ad8c | refs/heads/master | 2023-06-12T23:29:10.559514 | 2023-03-17T16:15:44 | 2023-03-17T16:16:17 | 69,043,835 | 114 | 61 | MIT | 2023-06-04T19:52:34 | 2016-09-23T16:51:17 | C++ | UTF-8 | C++ | false | false | 2,177 | hpp | Method_MMF.hpp | #pragma once
#ifndef SPIRIT_CORE_ENGINE_METHOD_MMF_HPP
#define SPIRIT_CORE_ENGINE_METHOD_MMF_HPP
#include "Spirit_Defines.h"
#include <data/Parameters_Method_MMF.hpp>
#include <engine/Method_Solver.hpp>
namespace Engine
{
/*
The Minimum Mode Following (MMF) method
*/
template<Solver solver>
class Method_MMF : pu... |
2d8fbd266adf378560549de59bd9a81142a8d1dd | 8d81f8a15efd9a4d0f11ac3fe64d822eb98bd37d | /1_leetcode/grayCode.cpp | 1d78892a5020601a15a083f525fa39d7b397cedc | [] | no_license | wyxmails/MyCode | b32a14d3b3a63dd9b3049d266231728419ed60d1 | 641abffc65b52b6f4a279432a8c4037a3b6a900c | refs/heads/master | 2020-12-25T17:24:03.304677 | 2016-08-28T14:05:10 | 2016-08-28T14:05:10 | 18,900,363 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | grayCode.cpp | /*
Gray Code Total Accepted: 15118 Total Submissions: 47113 My Submissions
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with... |
1eeb8d0cf645752829cba35c904a31fc97f32a0f | d2b90ca90ce2ccb730616579d8215d6ddff941db | /modeb.h | e3e22917b12b12510d94501d5f395daa9f9b2b46 | [] | no_license | wanggy0201/TSP-Solutions | 371dee43ef5b6fbcf6c158d908f9b49449d37e3f | 3b02a2217f93740beb5db761ffc93fd375eb4a99 | refs/heads/master | 2021-05-01T05:38:31.274297 | 2017-01-23T04:05:17 | 2017-01-23T04:05:17 | 79,768,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | modeb.h | //
// modeb.hpp
// 281Project4
//
// Created by Guangyu Wang on 11/29/16.
// Copyright © 2016 Guangyu Wang. All rights reserved.
//
#ifndef modeb_hpp
#define modeb_hpp
#include <stdio.h>
#include <iostream>
#include <vector>
#include <limits>
#include <iomanip>
#include "modea.h"
using namespace std;
void mod... |
c1a06d8001a0ac7a215a0e1afa7d3aaa3de841c8 | 8a7881c1f05794c44cd462eee18cb02a612c2e20 | /math/quaternion.h | 9765fbda0d9c9bde41b0d97aae9fc80e90c47b4f | [] | no_license | danilob/ShootPhysics | 90e71a1d4c7ea65a3d4f8a320999e38fd13afa8f | 542802fa5d92eb3414aeb1d944c8a127345c1d5c | refs/heads/master | 2021-08-14T15:18:14.004570 | 2017-11-16T03:24:39 | 2017-11-16T03:24:39 | 106,582,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,636 | h | quaternion.h | #ifndef QUATERNION_H
#define QUATERNION_H
#define EPSILON 0.00001
#define HALFPI 1.570796326794895
#include <math.h>
#include <stdlib.h>
#include <vector>
#include "vec4.h"
class QuaternionQ
{
public:
float w,x,y,z;
//construtores
QuaternionQ();
QuaternionQ( float w, Vec4 v );
... |
32be208ff9d829419c72eaf1c1ce78881d27d6d1 | bc1d68d7a7c837b8a99e516050364a7254030727 | /src/HDU/HDU2795 Billboard.cpp | 325dff926bfd7c2f34cd25c8f6285f1ef872702e | [] | no_license | kester-lin/acm_backup | 1e86b0b4699f8fa50a526ce091f242ee75282f59 | a4850379c6c67a42da6b5aea499306e67edfc9fd | refs/heads/master | 2021-05-28T20:01:31.044690 | 2013-05-16T03:27:21 | 2013-05-16T03:27:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | cpp | HDU2795 Billboard.cpp | /*******************************************************************************
# Author : Neo Fung
# Email : neosfung@gmail.com
# Last modified: 2012-01-18 20:11
# Filename: HDU1689 Just a Hook.cpp
# Description :
******************************************************************************/
#ifdef _MSC_VER
#... |
c0c6fd89fba78f0b5c8f890dc2a96b37ae28b09c | 39cf008356c868b1163d95aa37eba05b8a2130ae | /renderer.cpp | 45710ceaf2313dfefbd48106dc1e895e93351b86 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | mynameisdesmond/msbOFCore | 12f9550446dc16d000f6920fda546b22ab56c123 | 1e0fb5919c1fdbd7aa99fe7c31f53fe94958270a | refs/heads/master | 2020-04-05T19:03:07.361458 | 2014-04-21T16:29:16 | 2014-04-21T16:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,049 | cpp | renderer.cpp | #include "input.h"
//loaders and the like
#include "spriteMeshLoader.h"
#include "colladaLoader.h"
//actors
#include "msbLight.h"
//#include "videoTextureActor.h"
//buttons
#include "listButton.h"
#include "sliderButton.h"
#include "userPopUp.h"
#include "assignButton.h"
#include "textInputButton.h"
#include "mov... |
583d7f6e0fd02162720bf02185260a047778735f | bebf05455518256d3b977876502d56b7d0277098 | /Component.h | 8320a59c5d67bec73dc4935517ea9edcf492188e | [] | no_license | LeBertrand/event-scheduler | 18b462c4e5887be40dcdb1c8b6d3121ea14661c5 | d5c26052d536dd12737ce6ecb366b8fc51ce2584 | refs/heads/master | 2021-05-04T15:25:50.361777 | 2018-02-11T23:39:04 | 2018-02-11T23:39:04 | 120,227,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | h | Component.h | #include "LinkedListQueue.h"
/*
* Programmer - Shmuel Jacobs
* Date - February 6
* Operating Systems and Sytems Programming
* Component class models a computer component in a system managed by a
* scheduler. Class relies on scheduler, to avoid redundant bookkeeping.
* Class can't do its ow... |
aab79b31f11c192cc263c1d0dc59f6b7d7be5f2e | 3159d77c2fc0828025bd0fb6f5d95c91fcbf4cd5 | /cpp/hw_rendering/vulkan/Application.cpp | bbfac25fd6e198d8aa43b2e1bacceb564ff8e305 | [] | no_license | jcmana/playground | 50384f4489a23c3a3bb6083bc619e95bd20b17ea | 8cf9b9402d38184f1767c4683c6954ae63d818b8 | refs/heads/master | 2023-09-01T11:26:07.231711 | 2023-08-21T16:30:16 | 2023-08-21T16:30:16 | 152,144,627 | 1 | 0 | null | 2023-08-21T16:21:29 | 2018-10-08T20:47:39 | C++ | UTF-8 | C++ | false | false | 26,676 | cpp | Application.cpp | #include <cmath>
#include <fstream>
#include <vector>
#include <limits>
#include <algorithm>
#include "Application.h"
static constexpr char MAINWINDOW_TITLE[] = "Vulkan Tutorial - Hello triangle!";
static constexpr int MAINWINDOW_SIZE_W = 800;
static constexpr int MAINWINDOW_SIZE_H = 600;
static constexpr char SHAD... |
6d29b5736405c33345ea31d414526babaeb4cfa5 | 7a82c1d888ea6b47f72d0e4d270d319500254fe8 | /SMO/smosynth/smosynth/smosynth.prj/solution3/syn/systemc/synth_top.h | 38e380aa7bda115a357d82522358b2d6157914eb | [] | no_license | yiranlc/SVM | cfd27dfedca0cdf54dfe721b2d72f435fbe9e683 | b66adcc21c440d99c491f9361136b0b292ff423e | refs/heads/master | 2021-01-22T22:44:38.621572 | 2015-06-01T00:25:30 | 2015-06-01T00:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,096 | h | synth_top.h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2015.1
// Copyright (C) 2015 Xilinx Inc. All rights reserved.
//
// ===========================================================
#ifndef _synth_top_HH_
#define... |
00edce55032093ac355779d56f5af97604f291a4 | 4d22354225daba8e7fb83f27e3c0e4ac38ca4132 | /app/src/main/cpp/vscode/Win32/WindowsHelper.hpp | 83b18093be0761dc9cce413766629815efc5de5a | [
"Zlib"
] | permissive | Is-Daouda/is-Engine | 609ad87ca64c26c1de01c589576fc6190dad93bd | 9609263bafcc52ea7c60fa880ef95f64851b36ee | refs/heads/master | 2023-08-08T18:16:57.959281 | 2023-07-18T22:00:05 | 2023-07-18T22:00:05 | 163,519,422 | 205 | 25 | Zlib | 2021-05-07T13:20:35 | 2018-12-29T15:01:27 | C | UTF-8 | C++ | false | false | 355 | hpp | WindowsHelper.hpp | #ifndef WINDOWS_HELPER_HPP
#define WINDOWS_HELPER_HPP
class WindowsHelper
{
public:
WindowsHelper();
void setIcon(const HWND& inHandle);
private:
PBYTE getIconDirectory(const int& inResourceId);
HICON getIconFromIconDirectory(const PBYTE& inIconDirectory, const uint& inSize);
HICON m_hIcon32;
HICON m_hIcon16;... |
0451988435e70abe719fd2fe505cb6ca15cc30f8 | cc4dd28b347007ee4489be0d49849c96db1dea77 | /src/infra/raft/RaftInterface.h | 65af5f17bd2aa14f671efc3368d3d1eef7f15c7d | [
"Apache-2.0",
"OpenSSL",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | eBay/Gringofts | b4237920e684e5f1b0ac0fd2dfb1178599fc083f | 8370d441051338279ed4f473e281bfbbac3c115f | refs/heads/master | 2023-08-30T11:34:00.723132 | 2023-08-30T07:26:33 | 2023-08-30T07:26:33 | 247,857,064 | 104 | 28 | Apache-2.0 | 2023-09-06T05:59:42 | 2020-03-17T02:01:55 | C++ | UTF-8 | C++ | false | false | 5,359 | h | RaftInterface.h | /************************************************************************
Copyright 2019-2020 eBay Inc.
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
https://www.apache.org/licenses/LICENSE-2.0... |
17bce82615bb0b8ce853d9bfa5ce4d1acf45ea0b | 6070f5fe6b72ead9c04d2d90a79fb48555290a45 | /Library/history.h | e512d04fe5d79f2fa09ec283f2fda233ca51a85c | [] | no_license | elocj/DataStructures-Algorithms | b452b2094485b82bdfe3777c5b52737764162bf1 | 6cfb8fb5e4f89a5db6f2769fcd493a3ae3067828 | refs/heads/master | 2020-11-28T03:34:36.779198 | 2019-12-23T06:51:23 | 2019-12-23T06:51:23 | 229,694,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | h | history.h | // file history.h
// header file for class History
#ifndef HISTORY_H
#define HISTORY_H
#include "command.h"
class History: public Command {
public:
// Constructors
History(); // Constructor
virtual ~History(); // Destructor
History(const History&); // Copy constructor
// Functions
// Sets th... |
d16aec3a2e10f9bdf38f4c3c5f37ec66c4b717e3 | db505586d69634c319352b52485177f389bd4dcb | /winscreen.hpp | 888aad6c88bba1366d080aba395a01af59aa76bb | [] | no_license | Gooeybots/TicTacToe | 971c11f80a55725b311fc8a4b5a009d6d03ff412 | b188a46489863805d69e103abbaa7229baacd15d | refs/heads/master | 2021-01-10T22:11:39.929962 | 2015-08-07T16:36:27 | 2015-08-07T16:36:27 | 40,269,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | hpp | winscreen.hpp | #ifndef WINSCREEN_HPP
#define WINSCREEN_HPP
#include <map>
#include <glm/glm.hpp>
#include "gameenums.hpp"
/* shows a screen with game result until a button is pressed or
* mouse button clicked */
bool ShowWinScreen(const std::map<Game, unsigned int> &GameGLObjectMap,
const glm::mat4 &viewArea, con... |
5bd6db0951ea8b72cd14a4faaad63bec49ff5df9 | b3ff4c9a1ef9b314831d2049ce1e240d19033b8c | /Views/Login/userloginview.cpp | ef88746082a58474ea04ecf74249d1817ecab8c3 | [] | no_license | Betrove/school_project | 0884c08b460ecd1bfb1c5d26ef2f3f8245845451 | b9afc1e4d14dbebafe0849ab0ea5fde221531387 | refs/heads/master | 2021-08-24T07:15:45.802900 | 2017-12-08T15:48:20 | 2017-12-08T15:48:20 | 112,995,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | userloginview.cpp | #include "userloginview.h"
#include "ui_userloginview.h"
#include "qmessagebox.h"
UserLoginView::UserLoginView(const ServiceManager &serviceManager):
QWidget(NULL),ui(new Ui::UserLoginView),serviceManager(serviceManager)
{
ui->setupUi(this);
connect(ui->dialogWidget,SIGNAL(tryLogin(UserCredential)),this,S... |
4996bc6cfd51f496485e45bce00a5a4c7674023e | a0216efe53c1eb33716d4b6b39b94de26696caa4 | /Stack.h | d15446175621b26cde23ed21d4bb273e77b09e98 | [] | no_license | tylerkimbell12/CSCI_2275_Final | c5161d728dec09f99c9c3de04cbb4c5c0d27c18a | 7dfd8a868e6b8dd939f00dbf585d45d8edc95ac5 | refs/heads/main | 2023-01-27T13:50:05.709778 | 2020-12-07T22:47:13 | 2020-12-07T22:47:13 | 316,043,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | Stack.h | #include <iostream>
#include <string>
using namespace std;
struct Node {
string data;
Node *prev;
Node(string toQ) {
data = toQ;
prev = NULL;
}
};
class Stack {
private:
Node *top;
public:
Stack() {
top = NULL;
}
bool isEmpty();
... |
cc2cb96140869bd7b0b29a0015e75f10be34457a | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/wwise/source/SoundEngine/AkAudiolib/Common/AkModifiers.h | c627400ab4fa6fe41093d02e50e7b6cab4125ff8 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | h | AkModifiers.h | /***********************************************************************
The content of this file includes source code for the sound engine
portion of the AUDIOKINETIC Wwise Technology and constitutes "Level
Two Source Code" as defined in the Source Code Addendum attached
with this file. Any use of the Lev... |
be92592a938153c325082baac4326db01065b279 | 1742cd526f243de44a84769c07266c473648ecd6 | /cdf/102428i.cpp | 84b1306619273e0d4677e4aa6fa0e920a8271768 | [] | no_license | filipeabelha/gym-solutions | 0d555f124fdb32508f6406f269a67eed5044d9c6 | 4eb8ad60643d7923780124cba3d002c5383a66a4 | refs/heads/master | 2021-01-23T05:09:38.962238 | 2020-11-29T07:14:31 | 2020-11-29T07:14:31 | 86,275,942 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | 102428i.cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
typedef vector <int> vi;
typedef long long ll;
const int N = 1e5+5;
const int MOD = 1e9+7;
int n, l, k, x, vis[N];
ll memo[N];
vi adj[N], adjr[N];
ll dp (int v) {
if (v == 1) return memo[v] = 1;
if (memo[v] != -1) return memo[v];
ll ans... |
b6a8c03a2220da835a0b8f6b855eb690062530c2 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/22/e51fa2d716f89d/main.cpp | b914c7508dbd0161254a656083032d702eab0093 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | cpp | main.cpp | #include <utility>
#include <type_traits>
struct foobar
{
foobar(int) { } // implicit conversion
foobar(const foobar&) = delete;
};
namespace bah {
using std::forward;
using std::move;
struct Piecewise_construct_t {};
template <class T1, class T2>
struct Pair {
typedef T1 fir... |
2cf4fc831fb097980c0ca9106e2a1d68900f047b | 6730e217faa36488f706f6ff4a997de550180b29 | /Client/ActCommand.h | 847e6ef9e52d377e412b7cf3dec54ab12f456e83 | [] | no_license | gameMedia/DirectX9_2D-Dungreed | 338ab671c341ce499b694f8e7b152c07ce4eca7f | fdfb3c5bebe0f7d269ea6787c03293443425e5c3 | refs/heads/master | 2023-08-21T12:37:00.079679 | 2021-10-10T09:40:30 | 2021-10-10T09:40:30 | 415,541,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | ActCommand.h | #pragma once
#include "ICommandActor.h"
class ICommandActor;
class CActCommand
{
public:
ENUM_STATE;
ENUM_DIR;
public:
virtual ~CActCommand() {};
public:
virtual void Initialize() = 0;
virtual void Execute(ICommandActor* _pPlayer) = 0;
}; |
dbe49e4759d8906571e759ac15fdd46768db2082 | c97f852dc33dfedf6ff21a547c8a9c6ee71be5be | /app/src/main/cpp/native-lib.cpp | 3c6bcb0e44b6e000d46e8b9d3bcccdd0c7a7f7fc | [] | no_license | Vision-Hongik/Android_Camera-opencv-_demo | 1694b94b4d398003dd286ee2102a1c70aa40351e | 3bf447f7ce1c2b59ce46a2c856303098885b52c1 | refs/heads/master | 2022-11-08T04:22:17.776948 | 2020-06-30T12:38:50 | 2020-06-30T12:38:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | native-lib.cpp | #include <jni.h>
#include <string>
#include <opencv2/opencv.hpp>
using namespace cv;
extern "C"
JNIEXPORT void JNICALL
Java_com_example_vision_CameraActivity_ConvertRGBtoGray(JNIEnv *env, jobject thiz,
jlong mat_addr_input,
... |
ccbd1bb767803f4513cc30ae3868dafa8cf50a6e | a972e2a5215d39aa39de0e9a8f3229d7636438e4 | /HttpRequest.cc | e5add4953b2a9d4a12e5d48b88a7172e6966dfa6 | [] | no_license | Smilezbc/WebServer | e7a4a62640d7d1f8699c291263a239e703454742 | a363532422996a6fcd23f37716e660eda8f7e535 | refs/heads/master | 2021-02-25T01:17:49.662368 | 2020-03-23T01:02:48 | 2020-03-23T01:02:48 | 245,445,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cc | HttpRequest.cc | #include "HttpRequest.h"
using namespace webServer;
HttpRequest::HttpRequest()
{
}
HttpRequest::~HttpRequest()
{
}
bool HttpRequest::setMothed(const char* beg,const char*end)
{
string method(beg,end);
if(method=="GET")
{
method_=kGet;
}
else if(method_=="POST")
{
method_=kPost... |
2c2ebbf23c44985aeee0711e09c2661631c8bf59 | fa04d2f56c8d4ebfb931968392811a127a4cb46c | /trunk/Cities3D/src/NetworkRules/NetworkRestartListCtrl.h | cc7742f571621ef7d2f23be5e185d88fc4f391c0 | [] | no_license | andrewlangemann/Cities3D | 9ea8b04eb8ec43d05145e0b91d1c542fa3163ab3 | 58c6510f609a0c8ef801c77f5be9ea622e338f9a | refs/heads/master | 2022-10-04T10:44:51.565770 | 2020-06-03T23:44:07 | 2020-06-03T23:44:07 | 268,979,591 | 0 | 0 | null | 2020-06-03T03:25:54 | 2020-06-03T03:25:53 | null | UTF-8 | C++ | false | false | 3,711 | h | NetworkRestartListCtrl.h | /*
* Cities3D - Copyright (C) 2001-2009 Jason Fugate (saladyears@gmail.com)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
*... |
457a794c6935be25195fb1f368bc5a2cfbbb8e0a | 37c03cd062dba1ee2edc3de51014613fb6adc392 | /ProfileLogHandler.h | 00523699e7b40f13d3da83ceb08e58e93ed014b2 | [] | no_license | quamilek/PutNukem3D | 5423917fb2adea654d2362cdce66a63b29bb527f | be24ffe5e2e2f9bd45854bf5916ae1295e92b58e | refs/heads/master | 2020-06-04T02:34:53.558337 | 2013-01-18T22:00:37 | 2013-01-18T22:00:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | h | ProfileLogHandler.h | // ProfileLogHandler.h: interface for the CProfileLogHandler class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PROFILELOGHANDLER_H__CAD57C2F_2BF7_492C_8ED3_EFE606EF3EAC__INCLUDED_)
#define AFX_PROFILELOGHANDLER_H__CAD57C2F_2BF7_492C_8ED3_EFE606EF3EAC__INCLUDED_
#if _MSC... |
ced993d642e859de3ea8c0c202e367202042cf30 | 0b8fb930dc626ffb7f099001437ffda0edc67bce | /Composite/include/CompositeRowColumn.h | 9a66f612b36d945282abca0f7cbddf386c466bc1 | [] | no_license | mollicap16/Design-Patterns | d29a38934b4d2890d7fd93ec92edf7e394a3d66d | ebd4bbe94a0dec562cc010ca1916b31254aca1f9 | refs/heads/master | 2020-04-16T00:03:54.082985 | 2019-01-31T19:52:27 | 2019-01-31T19:52:27 | 165,123,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | CompositeRowColumn.h | #ifndef COMPOSITEROWCOLUMN_H
#define COMPOSITEROWCOLUMN_H
// NOTE: This example is from https://sourcemaking.com/design_patterns/composite/cpp/1
#include <iostream>
#include <vector>
class Component {
public:
virtual void Traverse()=0;
};
class Primitive : public Component {
public:
Primitive(int32_t value);
... |
c856692cd1441d3e42c1d7af32bd0ebbf71474c4 | 0aa57d60e92c6f2bcc402ec7bcbfe1984c654bd9 | /mcu/ATSAM_V2/src/hwcan_atsam_v2.h | 771a6ecdc88479a428cda754890f43f2a1f40ffb | [
"Zlib",
"BSD-3-Clause"
] | permissive | nvitya/nvcm | bf00d31e3fd459b78c9345c9821bad252f9d5ab0 | 80b5fb2736b400a10edeecdaf24eb998dfab9759 | refs/heads/master | 2021-12-27T03:01:39.114790 | 2021-10-26T08:10:32 | 2021-10-26T08:10:32 | 121,033,719 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,766 | h | hwcan_atsam_v2.h | /* -----------------------------------------------------------------------------
* This file is a part of the NVCM project: https://github.com/nvitya/nvcm
* Copyright (c) 2018 Viktor Nagy, nvitya
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held ... |
16e3c1b1db5551896ee4ec751fbc137ba0a8a5e9 | 5b947316624979a5a0f4cca3e9db13bc87e5a92a | /yac/functions.cpp | e3ae055cd648ff6ce881a6b3755d70253144da3c | [] | no_license | trexinc/evil-programmers | c23cc0e0d100f5b6083a3d2ca718f9b353872788 | 3fe7a0d97e41cdb57eb10639bb399dfca7dd3dab | refs/heads/master | 2023-07-19T01:19:14.691343 | 2023-07-05T19:17:08 | 2023-07-05T19:17:08 | 32,504,532 | 66 | 36 | null | 2022-04-27T19:12:21 | 2015-03-19T06:22:19 | C++ | WINDOWS-1251 | C++ | false | false | 6,059 | cpp | functions.cpp | #include "functions.hpp"
#include "registry.hpp"
inline bool IsSlash(wchar_t x)
{
return x==L'\\'||x==L'/';
}
inline bool IsSpace(wchar_t x)
{
return x==L' '||x==L'\t';
}
inline bool IsEol(wchar_t x)
{
return x==L'\r'||x==L'\n';
}
const wchar_t* GetFileName(const wchar_t* fullpath)
{
const w... |
52d5549183bdcf47f2b44e5922aaa5a126f96868 | 7bfafe96d7a4113018d11abef9a2230317f650b4 | /2nd Semester/algorithm/HW#4/solution.h | 84ad96cab319bc7fa927e3dbd8de768e174400d0 | [] | no_license | ayeonee/3rdGrade | ab8a398acac58aa740b018d81fb11b410a432dec | ff73c50f8b10455f8ad89b385fdf03c2d495ddad | refs/heads/main | 2023-02-05T21:22:55.986326 | 2020-12-20T08:31:58 | 2020-12-20T08:31:58 | 322,534,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | solution.h | #ifndef SOLUTION_H
#define SOLUTION_H
#include <iostream>
class Solution {
public:
unsigned long long int pathCases (int m, int n);
};
#endif |
2f569aff0512d90ed8edcba521e0e774d1db43c5 | 29a8bd0313113e6edba69cb90c91dfed613bc6a1 | /dalvikInsight/jni/vm/mterp/c/OP_SUB_FLOAT.cpp | 9cd296804241223e0c69c20344e0df2ab9b770f7 | [] | no_license | freemanZYQ/JNI | 0995cb199aff48b7b6cb349f2deca6d9e0134090 | 2f4a4e03e53448ee724bf39dac9d55c75fcf3954 | refs/heads/master | 2020-10-01T20:27:44.682632 | 2018-10-11T06:07:13 | 2018-10-11T06:07:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | OP_SUB_FLOAT.cpp | #include "opcommon.h"
HANDLE_OP_X_FLOAT(OP_SUB_FLOAT, "sub", -)
OP_END
|
514c84c119f7a903cb57cd8c8b7b97a42dc6f8ff | 109aa64a8c0299de6336e3c5f79c8d027b0369f9 | /ampp/etl/string_util.h | 3edb8c78c3ebe6bb8e1333534508797f4c076c5c | [
"MIT"
] | permissive | kodokse/ampp | 7242b6e0bb1f4e26be8a10be50283340c9db924f | d97e11564a2974c2aa123fadafcb0280a4cdae2d | refs/heads/master | 2021-01-20T08:41:31.765944 | 2017-11-24T14:53:16 | 2017-11-24T14:53:16 | 90,180,768 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,297 | h | string_util.h | #pragma once
namespace etl
{
template <class CharT>
std::vector<std::basic_string<CharT>> Split(const CharT *&s, const CharT *end, CharT ch);
template <class CharT>
std::vector<std::basic_string<CharT>> Split(const CharT *&s, const CharT *end, const CharT *match);
template <class CharT>
std::vector<std::basic_string<... |
3089eb95636c90be50d4e2a2e69e5f325ac8c240 | 7fbd1b93b9b333cd7787dadd28dc3b45d44de4a6 | /src/config_handler.cpp | e224a03260376cdd60ca7a1b442c02d022744e59 | [] | no_license | mrcacaomame/tello | b02ac4423ad7f125bc354aa7e34658699d562901 | 8e4398361fdb9d4f29094c3d6e80103e88a8b96e | refs/heads/master | 2023-03-16T11:29:14.574262 | 2020-09-26T19:53:46 | 2020-09-27T13:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,056 | cpp | config_handler.cpp | #ifdef USE_CONFIG
#include <map>
#include <yaml-cpp/yaml.h>
#include "config_handler.hpp"
#include "utils.hpp"
#include "tello.hpp"
std::map<std::string, std::unique_ptr<Tello>> handleConfig(
const std::string& config_file,
asio::io_service& io_service,
std::condition_variable& cv_run
){
utils_log::LogInfo()... |
a30567ed2c728bef73ecc55de89c5764da5a5f5e | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/sessions/core/command_storage_backend.h | 249b5674689d1d0427170cf4199e1bc215f7049f | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 11,866 | h | command_storage_backend.h | // Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SESSIONS_CORE_COMMAND_STORAGE_BACKEND_H_
#define COMPONENTS_SESSIONS_CORE_COMMAND_STORAGE_BACKEND_H_
#include <stddef.h>
#include <memory>
#include <set>
#... |
709ed68ac2a404f6ead5cb6b8cb4c4ec9746c7c6 | a0c4ed3070ddff4503acf0593e4722140ea68026 | /source/UTILS/UOFS/OFS/DNBKT.CXX | 234759a2d965274569de1c76ecf7d984bb6ca178 | [] | no_license | cjacker/windows.xp.whistler | a88e464c820fbfafa64fbc66c7f359bbc43038d7 | 9f43e5fef59b44e47ba1da8c2b4197f8be4d4bc8 | refs/heads/master | 2022-12-10T06:47:33.086704 | 2020-09-19T15:06:48 | 2020-09-19T15:06:48 | 299,932,617 | 0 | 1 | null | 2020-09-30T13:43:42 | 2020-09-30T13:43:41 | null | UTF-8 | C++ | false | false | 26,436 | cxx | DNBKT.CXX | //+----------------------------------------------------------------------------
//
// File: dnbkt.cxx
//
// Contents: Implementation of class DNB (static methods for DSKNODEBKT).
//
// Classes: DNB
//
// Functions: Methods of the above classes.
//
// History: 06-Nov-92 RobDu Created.
//
//----------------------------... |
8d2cb45435e91e3785f2c91bb4f66f3451044939 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /InnerDetector/InDetDetDescr/SCT_GeoModel/src/SCT_FSIFibreMask.cxx | b16d678153db65551d6521858719b5747fb740fa | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,688 | cxx | SCT_FSIFibreMask.cxx | /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#include "SCT_GeoModel/SCT_FSIFibreMask.h"
#include "SCT_GeoModel/SCT_MaterialManager.h"
#include "SCT_GeoModel/SCT_GeometryManager.h"
#include "SCT_GeoModel/SCT_BarrelParameters.h"
#include "GeoModelKernel/GeoTube.h"
#include "GeoModel... |
9abb3c83143f312140526a270334d2a79539f728 | 5642ca3d0eba16ca4ecd24dba5249658dd6916d3 | /jam6.cpp | f8fbef6ede8fb89f8b1c419820b38542e5cff64a | [] | no_license | Suuareezz/DSA_Codes | 0d4615550db861453293cdac0387c9cbb318e12d | ad33ee7f03db4258e8b0bdbfae9ce2b63b6ecda3 | refs/heads/master | 2023-01-03T15:46:13.334343 | 2020-10-21T14:43:16 | 2020-10-21T14:43:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | jam6.cpp | #include <stdio.h>
#include<cstring>
void f(char**);
int main()
{
char *argv[] = { "ab", "cd", "ef", "gh", "ij", "kl" };
f(argv);
return 0;
}
void f(char **p)
{
char *t;
t = (p += sizeof(int))[-1];
char *utah="jk";
strcpy(t,utah);
printf("%sn", t);
}
|
ddd69b7abeb9752370bcaa351a2a7f3c61b11068 | f816c668c0a43c702884558867300db94651269d | /StoreFrontEnd/Views/CollectionEditor/CELIOption.cpp | 675ec6517f20e1403cd96437a3f209a944c47d27 | [] | no_license | MRobertEvers/Card-Collection-Manager | a77de7df7d80e712d1318b2a8abed1a6492454f7 | 8ff77956c70bbbaa803f88061208e681a4533917 | refs/heads/master | 2021-07-11T23:43:26.051644 | 2018-12-09T01:17:56 | 2018-12-09T01:17:56 | 114,420,990 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | CELIOption.cpp | #include "CELIOption.h"
#include "../StoreFrontEnd/StoreFrontEnd.h"
using namespace std;
vector<CELIOption>
CELIOption::ParseCollectionItemsList( const vector<string>& avecItems )
{
StoreFront* ptSF = StoreFrontEnd::Server();
vector<CELIOption> vecRetVal;
for( auto& id : avecItems )
{
unsigned int... |
f73ba0cd6273e52e40ea503e52f7ac45e9871a2f | 713ff744e14bbb2553f5a4c1bda48b929e56e39a | /1004 - Monkey Banana Problem.cpp | 78d55d22560b8ace3ebc76c63c3d49afeaa627bd | [] | no_license | Subangkar/LightOJ-Solved-Problems | 6f77edf9d8d2666d25cb7c7f5f198ec7edf57656 | d4d8115fdb2e3baf75915d19b2a5b8dfe5081076 | refs/heads/master | 2020-04-08T15:37:05.229363 | 2019-12-09T09:37:26 | 2019-12-09T09:45:08 | 159,485,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cpp | 1004 - Monkey Banana Problem.cpp | //
// Created by Subangkar on 30-Nov-19.
//
#include<bits/stdc++.h>
using namespace std;
#define N_MAX 200
uint64_t dp[N_MAX][N_MAX];
//double dp_value(int T, int D) {
// if (T & 1) return 0.00;
// for (int d = 0; d <= D; ++d) {
// dp[0][d] = 1.00;
// }
// for (int t = 2; t <= T; t += 2) {
// for (int d = 0; d <... |
cac58b03e087f8c92d6699aeb8a4c3e1b1960368 | 7b2a83366f57f7344d27d8ada013a5e2c5fd3ca3 | /Headers/Enum.h | 68b7b6c7dccc6de851b677d4789ae22a43ee6911 | [] | no_license | jw96118/Super-Meat-Boy | 4aad03b433f4971d6a7ca0fbc55e5bac2f894cc5 | 7f6b18f9c83be380f71203c74e82865323ce328d | refs/heads/main | 2023-07-10T22:39:37.618941 | 2021-08-14T14:39:27 | 2021-08-14T14:39:27 | 396,022,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | h | Enum.h | #pragma once
enum DISPLAY_MODE
{
MODE_FULL,
MODE_WIN
};
enum TEXTURE_TYPE
{
TEXTURE_SINGLE,
TEXTURE_MULTI
};
enum OBJECT_TYPE
{
OBJECT_TERRAIN,
OBJECT_PLAYER,
OBJECT_BANDAGE,
OBJECT_EFFECT,
OBJECT_UI,
OBJECT_END
};
enum SCENE_TYPE
{
SCENE_LOGO,
SCENE_STAGE_SELECT,
SCENE_STAGE,
SCENE_END
};
enum TILE_... |
7f67c30fd5971d6c146f3717a963012f33e27133 | 5072ccd720f8a0bc73ed1883a360d5d2d18ad9c8 | /src/DIDL/container.cpp | 2c6f6943214793500758246f9871e82d66f15f47 | [] | no_license | rouming/TvHolic | 09ab14dedcb93e55199eb19af0b5f963c7796f8b | a6ae47ab8b0a020c63f89e7363e86a60948f880b | refs/heads/master | 2020-12-24T18:12:35.308236 | 2013-05-13T10:34:24 | 2013-05-13T10:45:14 | 9,367,557 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | container.cpp | #include "container.h"
#include <QDebug>
Container::Container(QString id, QString parentId, QString title,
bool restricted, QString creator, QString writeStatus,
bool searchable, QList<SearchClass *> searchClasses,
QList<CreateClass *> createClasses)
: DidlObject(id, parentId, title, restricted,
... |
5889684e8a7ac6f190a2a329a1340baed945aa91 | 1c42e1ae10997cf477aff771c156f074b49f97c3 | /flame/trafgen.h | ddf88e32b464fa8826b388602a7c1ade25cd10f7 | [
"Apache-2.0"
] | permissive | DNS-OARC/flamethrower | ad7d8ebc6626fb0c7cc3324a897920b821ae4f7a | 122d80f5f306131441c43b859699c637b602262c | refs/heads/master | 2023-05-25T03:47:01.714253 | 2022-12-07T16:16:54 | 2022-12-07T16:16:54 | 164,416,885 | 301 | 38 | Apache-2.0 | 2023-05-19T21:18:56 | 2019-01-07T10:34:55 | C++ | UTF-8 | C++ | false | false | 2,546 | h | trafgen.h | // Copyright 2017 NSONE, Inc
#pragma once
#include <memory>
#include <unordered_map>
#include <vector>
#include "config.h"
#ifdef DOH_ENABLE
#include "http.h"
#include "httpssession.h"
#endif
#include "metrics.h"
#include "query.h"
#include "target.h"
#include "tcpsession.h"
#include "tokenbucket.h"
#include <uvw... |
a085fe2c17763294d52887ec5b50b902b51d5bcd | 53f134bc79450dd425d80eb839f6275ff06569bd | /Button.ino | a2e572e114c557d82682fee3c604af3ee2101fe0 | [] | no_license | bryanxander/Coop | c55c605c7e8286a4d34ccf0fccddcc5dc7465dbd | 5759b86d823e926751f173c7ee008c8d2f50468e | refs/heads/master | 2021-01-10T14:24:04.267896 | 2016-04-01T13:10:11 | 2016-04-01T13:10:11 | 55,230,650 | 0 | 0 | null | 2016-04-01T13:10:12 | 2016-04-01T12:23:49 | Arduino | UTF-8 | C++ | false | false | 1,222 | ino | Button.ino | #define buttonLightPulsation 0.004
#define debounceDelay 250
volatile bool debouncing = false;
volatile uint32_t lastPushDate = 0;
////////////////////////////////////////////////////////////////////////////////
// setup
void setupButton() {
// set led as fully bright
analogWrite(oButtonLight, 255);
// se... |
f26e6ad4eed021be3be1ccd23bc7955cdb1e1b1c | d613e6a8270b796928c093edc7ecdb405231e8d7 | /Project2_code/Parameter.cpp | 51bb6bd90dec6b6a1d4a98666bd355e6ed026e39 | [] | no_license | jaydooroo/Project2 | be7026ee3bf3c867a057c07f7d9b06161fc97b89 | 5fb98417843a5ad62ac75f2034c86d4f19f2c81d | refs/heads/master | 2023-08-04T09:45:28.751682 | 2021-09-28T06:16:03 | 2021-09-28T06:16:03 | 411,134,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | Parameter.cpp | //
// Created by ejh61 on 2021-09-25.
//
#include "Parameter.h"
Parameter:: Parameter(std::string tempChoice, std::string tempString): choice(tempChoice) {
if (choice == "STRING") {
STRING = tempString;
} else {
ID = tempString;
}
}
std::string Parameter::toString() {
std::ostringstr... |
3e12177a064fb5967c42912dd285310f2705f2d9 | 74dbf92796bc4fa8ea7d8cc5d93ac0224ad7c5ce | /ManageGuard/Error.h | 338ff349e12b4b0023c10f4d0b2090ebb0994864 | [] | no_license | draxteam/manageGuard | ca864e34718420f36836f3225c8014269871455d | 150b2add969dbcf3e83f6dba8bf583f008933201 | refs/heads/master | 2021-01-23T06:54:12.024225 | 2013-03-31T14:38:05 | 2013-03-31T14:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | Error.h | #ifndef ERROR_H
#define ERROR_H
#include <QObject>
#include <QtGui>
class Error : public QDialog
{
public:
Error();
private:
QString m_readError(int errorNbr); //Lit les erreurs envoyés à la fonction
void m_displayDialError(QString returnError); //Affiche l'erreur à l'écran
... |
bd617772f1f85d6f9e48437ba86401d4ee4ee2c4 | be4665ef9c3afb80daeed5977a2032b31892db7d | /src/config_type.h | 892de3cb4cacad4cb7a1aaa5c69a9f4d74baf48c | [
"BSD-3-Clause"
] | permissive | smartlee/kvrocks | 0498face27350cde72125383fc00912d819c6ea2 | faabb8ad9688b819d3fc3e630d962361f068e57c | refs/heads/master | 2021-07-31T16:39:10.464356 | 2021-07-22T10:40:08 | 2021-07-22T10:40:08 | 249,922,148 | 0 | 0 | BSD-3-Clause | 2021-07-22T10:40:08 | 2020-03-25T08:14:54 | C++ | UTF-8 | C++ | false | false | 4,055 | h | config_type.h | #pragma once
#include <string>
#include <utility>
#include "util.h"
#include "status.h"
// forward declaration
class Server;
typedef std::function<Status(const std::string&, const std::string&)> validate_fn;
typedef std::function<Status(Server *srv, const std::string&, const std::string&)> callback_fn;
typedef str... |
88099a9778a43582ab0470637fe680d7db9843c6 | fc79fe29914d224d9f3a1e494aff6b8937be723f | /Libraries/Rim Framework/include/rim/util/rimStaticArrayList.h | a4410d138ee74385212ca4aa9e4a111c76be7ff6 | [] | no_license | niti1987/Quadcopter | e078d23dd1e736fda19b516a5cd5e4aca5aa3c50 | 6ca26b1224395c51369442f202d1b4c4b7188351 | refs/heads/master | 2021-01-01T18:55:55.210906 | 2014-12-09T23:37:09 | 2014-12-09T23:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,522 | h | rimStaticArrayList.h | /*
* rimStaticArrayList.h
* Rim Framework
*
* Created by Carl Schissler on 2/18/11.
* Copyright 2011 Rim Software. All rights reserved.
*
*/
#ifndef INCLUDE_RIM_STATIC_ARRAY_LIST_H
#define INCLUDE_RIM_STATIC_ARRAY_LIST_H
#include "rimUtilitiesConfig.h"
//#################################################... |
9b6a6726fd60c514b4d0f6e8f2da231f4217d984 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_patch_hunk_146.cpp | 3c68e07ed63c0ac369c3ec2b2b0c503df595e43d | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cpp | git_patch_hunk_146.cpp | return git_config_string(&pager_program, var, value);
if (!strcmp(var, "core.editor"))
return git_config_string(&editor_program, var, value);
if (!strcmp(var, "core.commentchar")) {
- const char *comment;
- int ret = git_config_string(&comment, var, value);
- if (!ret)
- comment_line_char = comment[0... |
f6653e3e5fa2ceb8fe79aff34e46534a4f591c86 | 363687005f5b1d145336bf29d47f3c5c7b867b5b | /atcoder/abc182/d/Main.cpp | 5b8599a8ad82bba211af3ba9a64f991dd5799f8b | [] | no_license | gky360/contests | 0668de0e973c0bbbcb0ccde921330810265a986c | b0bb7e33143a549334a1c5d84d5bd8774c6b06a0 | refs/heads/master | 2022-07-24T07:12:05.650017 | 2022-01-17T14:01:33 | 2022-07-10T14:01:33 | 113,739,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | Main.cpp | /*
[abc182] D - Wandering
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double DD;
typedef pair<int, int> pii;
typedef pair<ll, int> pli;
typedef pair<ll, ll> pll;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define ALL(c) (c).begin(), (c).end()
const int MAX_N = 200... |
df49067d75db881e926123f89b5cd061539ac208 | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /src/library/printer.h | 67c225d32e92fca4798c109fc64a609c2475ddbd | [
"Apache-2.0"
] | permissive | codyroux/lean0.1 | 1ce92751d664aacff0529e139083304a7bbc8a71 | 0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef | refs/heads/master | 2021-01-16T20:55:35.062666 | 2014-06-07T14:14:40 | 2014-06-07T14:14:40 | 19,588,851 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | h | printer.h | /*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <iostream>
#include <utility>
#include "kernel/expr.h"
#include "kernel/context.h"
#include "kernel/formatter.h"
namespace lean {
cla... |
bfdbfd691a0642da18c7d634695a993e737bf612 | a6e474bc7f48955c360bb894d43d9c1297a33cc1 | /벽돌깨기3/벽돌깨기3/cBlock.h | 2876b88df9b7f31be2dbb95e8b9aa44fd1f3d2da | [] | no_license | zkem4wkd/C--Practice | 38a6f1263782577c48e766c97a390c40bcfaea71 | 9d19e1ef962bf2281ccf1de87f938b598bdbed5e | refs/heads/master | 2022-12-15T06:56:29.040390 | 2020-09-17T01:48:31 | 2020-09-17T01:48:31 | 293,418,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | cBlock.h | #pragma once
#include "define.h"
class cBlock
{
private:
BLOCK tBlock[50];
public:
int Search(int nEnd, int nX, int nY);
void setBlock(int nBlockCount);
public:
void Initialize();
void Progress();
void Render();
void Release();
public:
cBlock();
~cBlock();
};
|
6222f3af3840116a85403b5a07578f7b7398bf67 | b72d4e8ddb2bcf043126730dc471ab2800072c15 | /Taiko trainer/TaikoTrainerWindow.cpp | d87e4ffbeb7b3168f883178c23edd8d1e093bb3f | [] | no_license | hakerg/Taiko-trainer | 981d5cc7bc73becf6519dd93063ac7aa4add3f86 | e9fd5407f83d38cbe83fd8d0c63448be917c02d3 | refs/heads/master | 2020-04-15T00:03:01.366142 | 2019-01-05T15:19:34 | 2019-01-05T15:19:34 | 164,226,525 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 5,735 | cpp | TaikoTrainerWindow.cpp | #include "TaikoTrainerWindow.h"
#include <allegro5\allegro_ttf.h>
#include "AnimationHalfCosine.h"
#include "contants.h"
TaikoTrainerWindow::TaikoTrainerWindow() :
AllegroWindow(SCREEN_SIZE, SUB_FRAME_BUFFER_SIZE),
hits(MAX_REGISTERED_HITS),
keys_overlay_animations
{
{ current_frame.katsu_left_intensity, KEYS_O... |
22818dea5681d5ca56f39713f3f894db031e1608 | 989662f985f3f66e4ba0eb8acc45b0c637c91037 | /tetris/debug/qrc_trtrisarea.cpp | 5a11fd105c5eba8a28d43990c4b82f32bf324fc5 | [] | no_license | guzhoudiaoke/qt_games | 5caa56ee39df7cfdcd7a7310974c79156d2c773b | 603b22d3f3d1cadbf81e54659278abde50cf97a9 | refs/heads/master | 2021-01-20T22:09:51.429313 | 2016-07-20T11:53:19 | 2016-07-20T11:53:19 | 63,777,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,081 | cpp | qrc_trtrisarea.cpp | /****************************************************************************
** Resource object code
**
** Created: Wed Aug 31 16:03:52 2011
** by: The Resource Compiler for Qt version 4.7.0
**
** WARNING! All changes made in this file will be lost!
*********************************************************... |
2c6f18c573af5a4aa5e1d6d3d58d170c3863ef10 | f3c27fa8d094cc5d3fad81a1e2e32891d1f1d931 | /proj-rt/proj-rt-files/reflective_shader.cpp | 30347e00b0f2ef97d1150940642c0f0d97600c51 | [] | no_license | ahernandez25/CS130 | 301a5ca10b63e2692c10db95ac62f9b5c488f2c3 | bd44d13410678a99f484b1d12ed2c2e78dcd2e7b | refs/heads/master | 2020-12-10T23:00:22.241132 | 2020-02-11T03:47:36 | 2020-02-11T03:47:36 | 233,735,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | reflective_shader.cpp | #include "reflective_shader.h"
#include "ray.h"
#include "render_world.h"
vec3 Reflective_Shader::
Shade_Surface(const Ray& ray,const vec3& intersection_point,
const vec3& normal,int recursion_depth) const
{
vec3 color;
Ray reflected_ray;
vec3 r;
vec3 color_reflected;
vec3 color_intersect;
... |
78e575032ddb18ddf0073338affcfd0952f59e0f | 20a5125d13c99a0505a14f7af3fcbda26cd56f1f | /AREAPERI.CPP | 6f54c2030654b8f77960ba0c7bf4666a6a2f8daa | [] | no_license | mayuresh1730/hello-world | dc47027ffb4630672086f6eb29b9e48c506ac0a0 | 6233ab481b5aae28ff6890656ece04f5faa07835 | refs/heads/master | 2021-01-12T06:32:39.236858 | 2017-01-10T14:02:49 | 2017-01-10T14:02:49 | 77,379,156 | 0 | 0 | null | 2016-12-26T11:25:32 | 2016-12-26T11:19:34 | null | UTF-8 | C++ | false | false | 684 | cpp | AREAPERI.CPP | /* perimeter as well as area of rectangle and circle*/
#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
float leng,bre,area,peri,circum,areac,rad;
printf("\nlength and breadth of rectangle are respectively");
scanf("%f%f",&leng,&bre);
/* formula for area of rectangle*/
area=leng*bre;
/*perimeter of... |
a4cc339ad000279e478a5aab06c44826e65b3324 | 37e0b5df87a990d5217d6b81747c068df1883212 | /LevelEditor/GameObject.h | 44b606e84b7e68a9befd21438743f58ef6f86df6 | [] | no_license | thekevinbutler/sfmlbox2d | 130cf0b3579d2665d9ce6420d4b1f4d5d031f417 | 78f30a33277c920bd33d33a9e9c7a4ad6ec33911 | refs/heads/master | 2021-05-01T23:52:19.112390 | 2017-01-04T15:01:59 | 2017-01-04T15:01:59 | 78,023,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | GameObject.h | #ifndef GAMEOBJECT_H
#define GAMEOBJECT_H
#include "SFML\Graphics.hpp"
class GameObject : public sf::Transformable
{
public:
enum EObjType
{
OBJ_TYPE_DEFAULT,
OBJ_TYPE_PHYS,
OBJ_TYPE_PLAYERSTART,
OBJ_INTERACT
};
GameObject();
void setObjType(EObjType pType);
EObjType getObjType();
private:
EObjType ... |
c456870d4257a7603cf1e494dd07e66b231c56b0 | 37f447063c5c34baae7193ea659fd3081bbe623c | /source/main.cc | e9cfd921fdd54230d8dfc7784b43f349818892b7 | [] | no_license | watchog/compress | b046a5b57e258f7a5bba6ebc8f8b0b9511ddec1f | acb5ef1f6d9628e1dcea66a95f9c642e989db1b0 | refs/heads/master | 2020-03-07T13:25:16.587843 | 2018-04-22T08:23:52 | 2018-04-22T08:23:52 | 127,500,029 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cc | main.cc | #include"head.h"
#include"rwfile.h"
#include"bit_operation.h"
#include"build_tree.h"
#include"encode.h"
#include"decode.h"
#include"compress.h"
#include"extract.h"
#include"compress_extract.h"
int main(int argc,char **argv)
{
if(argc < 3){
std::cerr << argv[0] << " opt(1-压缩 or 2-解压缩) " << "文件名";
std::cerr << s... |
3c013d51177136336a150ccdfd47383eac82440c | 7b79b6f0a96554ac41aba7b739b9bd93b3f57c45 | /A1014.cpp | 5910bc02fefce8d78e46a8198e2ca4add586ab5d | [] | no_license | lrscy/PAT | f80ff57995821b493e8b98c72de56cdf13ab8994 | 831bb1f462aad5a6d4ab622bc04c4393832df868 | refs/heads/master | 2021-01-10T07:38:08.739617 | 2016-02-24T15:23:21 | 2016-02-24T15:23:21 | 52,203,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | A1014.cpp | #include <iostream>
#include <cstring>
#include <cstdio>
#include <queue>
using namespace std;
const int INF = 0x3F3F3F3F;
const int MAXN = 1000 + 10;
int t[MAXN], st[MAXN], win[25];
queue<int> que[25];
int n, m, k, q;
int main() {
int i;
memset( win, 0, sizeof( win ) );
scanf( "%d%d%d%d", &n, &m, &k, &q );
for( ... |
031d891182173967ce547621ccdd67062b1c4aae | 8cd433650402dacace74ef1875004ac0208317f1 | /SciEngine/SciMath/SciMatrix4x4.cpp | 66d99446bd77e70e944b34c2545a0c60b8122241 | [] | no_license | ScienceDiscoverer/SciEngine | 7685002a91918ef588813b6201364d2037c94f76 | f23f3a9e9fac2839c89b35142752ca15e187d772 | refs/heads/master | 2020-03-17T07:13:39.604454 | 2018-05-14T16:19:42 | 2018-05-14T16:19:42 | 133,389,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,343 | cpp | SciMatrix4x4.cpp | #include <cassert>
#include <cstring>
#include "SciMatrix4x4.h"
// Constants
const size_t msize = sizeof(SciMatrix4x4);
const SciMatrix4x4 identity;
// Constructors
// Load Identity matrix
SciMatrix4x4::SciMatrix4x4()
{
Identity();
}
// Construct from vectors (column-space) for post-mult. on column vector
SciMatrix... |
d09f050578c01f7cc04c0b2a618ce9ec8979dba3 | 2ee347b2afa1f25ef96cba3de0a1c9a42caff298 | /GameDev_tv_course/ToonTanks_Source/ToonTanks/PawnBase.h | 59f424752732668495e93130837340abfddedbfc | [] | no_license | Resnog/Games_UE4 | 933b2bc9dd3bf0cc7a7b26606cbb5e25f0dc38b5 | 81628b9c348bb526d9b5548e6ab2f4cd3d48f252 | refs/heads/main | 2023-01-21T09:53:14.769462 | 2020-11-28T17:02:02 | 2020-11-28T17:02:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,318 | h | PawnBase.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/CapsuleComponent.h"
#include "GameFramework/Pawn.h"
#include "ToonTanks/ProyectileBase.h"
#include "PawnBase.generated.h"
class UHealthComponent;
class USoundBase;
cla... |
94e444a7b280aac88b716aca346ee72ed1b646f9 | b4a537160bc8aee055534280b8564992d05d4245 | /02000/02018.cpp | 0d6ff3dd2159a0943a40172682c8379550f940a3 | [] | no_license | kadragon/acmicpc | c90d8658969d9bcbecd7ac45a188ac1ad4ad1dd3 | b76bb7b545256631212ea0a2010d2c485dbd3e40 | refs/heads/master | 2021-07-13T01:45:03.963267 | 2021-04-18T07:33:08 | 2021-04-18T07:33:08 | 244,813,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | 02018.cpp | //
// Created by kangdonguk on 2020/06/04.
//
// https://www.acmicpc.net/problem/2018
// 수들의 합 5
#include <stdio.h>
int main() {
int n, a = 1, t;
scanf("%d", &n);
for (int i = 1;; i++) {
t = (n - ((i + 1) * i) / 2);
if (t <= 0) break;
if (t % (i + 1) == 0)
a++;
}
... |
c6b1fab9c7d92e1cbf02b81c90eb19f2841ad0da | fbe3446166131953d656b153f1ce89005d5f8738 | /Tercas/calendar/activity.bak/entactivity/entactivityQt/src/AbbrColorWidget.cpp | b2cc31868359eb526231729bf3fd7e1dd4af4e6b | [] | no_license | odira/src | 97389b28a460ab531da0f361d5688f5ab00ded49 | 96eefa25d1d1b3fc4b8c76ad5a9df54d5b977858 | refs/heads/main | 2022-02-06T05:22:58.136570 | 2022-02-01T12:08:01 | 2022-02-01T12:08:01 | 79,330,489 | 0 | 0 | null | 2019-10-31T22:41:09 | 2017-01-18T10:43:21 | Python | UTF-8 | C++ | false | false | 2,963 | cpp | AbbrColorWidget.cpp | #include <QtWidgets>
#include <QtSql>
#include "AbbrColorWidget.h"
AbbrColorWidget::AbbrColorWidget(QWidget *parent)
: QWidget(parent),
m_abbr(QString()), m_color(QColor())
{
m_lineEdit = new QLineEdit;
m_lineEdit->setFixedWidth(38);
m_lineEdit->setFixedHeight(30);
m_lineEdit->setAlignment(Q... |
8353ab22134f449cf693818e18f383407edd66a3 | 050feba8fddacdb88d5d45751c0424a2ef220268 | /src/Scene/Transform.cpp | 7202053e8eb70eb5901b1ed558ddade348b60925 | [] | no_license | ascn/kiwi | 6b8d1aa127ea9d65bcce5cbd4ff6e76b1e8d6b08 | de920a75d3b6682436560b6718963861750efcf5 | refs/heads/master | 2020-03-27T19:02:02.934932 | 2019-05-13T03:16:32 | 2019-05-13T03:16:32 | 146,961,423 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,604 | cpp | Transform.cpp | #include "Scene/Transform.h"
namespace Kiwi {
K_COMPONENT_S(Transform)
Vector3 Transform::worldUp(0.f, 1.f, 0.f);
Vector3 Transform::worldRight(1.f, 0.f, 0.f);
Vector3 Transform::worldForward(0.f, 0.f, 1.f);
Transform::Transform() :
position(0.0, 0.0, 0.0),
scale(1.0, 1.0, 1.0),
rotation(),
eulerAng... |
1330ceeb719fb226dbfd43afd78039cde4905528 | 077248999b997bf8b4968b8dce1b41115f2333fd | /src/AutoCar/JoyStick.cpp | 404f21789466dc7e48f6606a7b6702a0ff09cd52 | [] | no_license | xtruong91/autocar | 66f7fb4fb608f7ff7f4a19b9ea6aac4038237249 | 010341323ffe8a4cf6acd79e50b16dd2dfea6b89 | refs/heads/master | 2022-05-06T02:11:36.013684 | 2019-07-07T23:35:09 | 2019-07-07T23:35:09 | 190,846,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | JoyStick.cpp | /*
* File: JoyStick.cpp
* File Created: Saturday, 8th June 2019
* Author: truongtx (truongtx91@gmail.com)
* -----
* Description:
* Version: 0.1
* Tool: CMake
* -----
* Copyright TruongTX
*/
#include "JoyStick.h"
JoyStick::JoyStick(const JoyStickPinConfig& config)
: m_config(config)
{
}
RetVal
JoySti... |
9b639f1333909a951304f6f99c09aaf8e3e74931 | cbdaac38d2ba16d34152e7c82186856239b2c9e5 | /player.cpp | 3a33cb482c3befc3cc8572ed962a7fa43dd4e510 | [] | no_license | TGrovesy/Games-Computing | 93ab35bbb1031eb86c7edc2d376ebf129b6c88c9 | 569514d2b3fd7c3437d479d462482ad630df18df | refs/heads/main | 2023-02-16T19:44:47.814778 | 2021-01-17T17:12:40 | 2021-01-17T17:12:40 | 323,744,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | cpp | player.cpp | #include "player.h"
Player::Player(dWorldID w, dSpaceID s) : GameObject(w, s), horizontalAngle(0.0f), verticalAngle(0.0f), angularSpeed(2.5f)
{
SetupCamera();
}
Player::~Player(){
}
void Player::SetupCamera(){
// Set up the OpenFrameworks camera
camera.setGlobalPosition(position.x, position.y, position.... |
dc92da659049c51017faf8229c248bdf9f745e7b | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-kinesis/include/aws/kinesis/model/StreamSummary.h | 17288d57adbc91a904ecb1946613a7241edd912c | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 7,055 | h | StreamSummary.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesis/Kinesis_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesis/model/StreamStatus.h>
#include <aws/kinesis/model/StreamModeDetails.h>
#inc... |
98cb599d60c65fdd716752b0a04936470b343de7 | 20997effd7b2ef823c8bbe8233d32e05efe72aa7 | /GameMode.cpp | 20b890211ba1e734f7d04ffbd211c656df9ff42e | [] | no_license | CalLavicka/portals | 1579b3bfec5a83b063f9e04d3fb57894fe69188f | 41c273818beabef38c8f6d0fbe70cd7eafb42f31 | refs/heads/master | 2020-03-31T22:46:36.003527 | 2018-12-07T00:59:56 | 2018-12-07T00:59:56 | 152,630,999 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 33,970 | cpp | GameMode.cpp | #include "GameMode.hpp"
#include "MenuMode.hpp"
#include "Load.hpp"
#include "MeshBuffer.hpp"
#include "Save.hpp"
#include "Scene.hpp"
#include "gl_errors.hpp" //helper for dumpping OpenGL error messages
#include "check_fb.hpp" //helper for checking currently bound OpenGL framebuffer
#include "read_chunk.hpp" //helper... |
fa83a7ce090b2ac0458dbd56b3a7e5803c097eb4 | 41499f73e807ac9fee5e2ff96a8894d08d967293 | /FORKS/C++/OpenPGP/tree/Packets/Tag6.cpp | 7ec358870661d463dc3b29bc2d3f71f9a108fcd2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"WTFPL",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | lordnynex/CLEANUP | c9f3058ec96674696339e7e936170a8645ddc09b | 77e8e3cad25ce740fefb42859d9945cc482e009a | refs/heads/master | 2021-01-10T07:35:08.071207 | 2016-04-10T22:02:57 | 2016-04-10T22:02:57 | 55,870,021 | 5 | 1 | WTFPL | 2023-03-20T11:55:51 | 2016-04-09T22:36:23 | C++ | UTF-8 | C++ | false | false | 390 | cpp | Tag6.cpp | #include "Tag6.h"
Tag6::Tag6(uint8_t tag):
Key(tag)
{}
Tag6::Tag6():
Tag6(6)
{}
Tag6::Tag6(const Tag6 & copy):
Key(copy)
{}
Tag6::Tag6(std::string & data):
Tag6(6)
{
read(data);
}
Tag6::~Tag6(){}
Packet::Ptr Tag6::clone() const{
return std::make_shared <Tag6> (*this);
}
Tag6 & Tag6::operat... |
f8e3204748c7ff9ed13b7dadae40b46a6ff8c972 | c8dfc743c17411d30bbde1309505dd33baaddf7f | /fabrik/src/fabrik_math.cpp | 4ae48c87e835cf9f57b8f814fd9eeaf51ea36133 | [] | no_license | OneManMonkeySquad/AWE | 2ba8d51c4a85f2bf868c895dc5898e980b13ff65 | e8b67f608e46956323a483d04de88de7e27047ff | refs/heads/master | 2021-12-23T16:23:24.826779 | 2021-10-30T13:19:35 | 2021-10-30T13:19:35 | 237,494,665 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | fabrik_math.cpp | #include "pch.h"
#include "fabrik_math.h"
namespace math {
vector2 vector2::normalised() const {
return *this / magnitude();
}
vector2 operator+(vector2 l, vector2 r) {
return { l.x + r.x, l.y + r.y };
}
vector2 operator-(vector2 l, vector2 r) {
return { l.x - r.x, l.y - r.y };
}
vector2 operator*(vect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.