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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3fb96ac477892d1df91d66c0438813006d0e0628 | 0d1b5db4da112ca12f236b6ca33a30b50fd7c839 | /OpenGLStudy/Engine/Graphics/EnvironmentCaptureManager.h | 16e358e8eff43f23251260afd0af1984475dccff | [] | no_license | BosonHBC/GraphicsEngine_OpenGL | fd8f86f764a17a74432f6b1f2823e5dd01d34067 | a59c8564a3e9b17d986374b769f8bc50251d9353 | refs/heads/master | 2020-11-24T09:49:02.829849 | 2020-10-04T23:13:56 | 2020-10-04T23:13:56 | 228,088,171 | 6 | 1 | null | 2020-10-04T23:13:57 | 2019-12-14T20:59:47 | C++ | UTF-8 | C++ | false | false | 2,765 | h | EnvironmentCaptureManager.h | #pragma once
#include "Graphics/EnvironmentProbes/EnvProbe.h"
#include "Math/Shape/Sphere.h"
namespace Graphics
{
// Forward declaration
struct sDataRequiredToRenderAFrame;
namespace EnvironmentCaptureManager
{
struct sCaptureProbes
{
cEnvProbe EnvironmentProbe; // Environment probe, it capture the very deta... |
975a609f5d4ce31d125a0072211dd1d3efe6b01e | 9493f455c8e28a660b559deb3ecb06f679e40f25 | /ChainFunctor.cpp | 0ecb5d012fd706b09d478a5c7ba9024382e49e90 | [] | no_license | davidkazlauskas/tests-templatious | ccb2994df6a52ac2a3b8629d834f6b73b0e85654 | b73bd631d4ce5fee888bcc0fe541560fe5279394 | refs/heads/master | 2021-01-10T21:18:24.531408 | 2015-09-08T17:03:36 | 2015-09-08T17:03:36 | 35,752,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,225 | cpp | ChainFunctor.cpp | /*
* =====================================================================================
*
* Filename: ChainFunctor.hpp
*
* Description: Chain functor tests
*
* Version: 1.0
* Created: 10/21/2014 07:54:38 PM
* Revision: none
* Compiler: gcc
*
* Author: Dav... |
5402aa860dbb425c2a4ea9701a3d018a0de651a6 | 8df198126a11543066c64a98a9d5ee24c7fa7618 | /(((... All online judge practice and contest ...)))/@Codeforces/CF 341B.cpp | c03482970893148860d846142c3e7628219afc6b | [] | no_license | mehadi-trackrep/ACM_Programming_related | eef0933febf44e3b024bc45afb3195b854eba719 | 7303931aa9f2ab68d76bbe04b06157b00ac9f6a6 | refs/heads/master | 2021-10-09T03:15:09.188172 | 2018-12-20T09:35:22 | 2018-12-20T09:35:22 | 117,265,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | CF 341B.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
typedef vector<vi> vvi;
#define INF 1e9
#define FOR(i, a, b) for(int i=int(a); i<int(b); i++)
#define FORC(cont, it) for(decltype((cont).begin()) it = (cont).begin(); it != (c... |
4ce5b41c3cefa688dd2c4bf49ec1e03572ca1594 | 1bdccbe765fd32947c4434c2293f77484782ae58 | /src/PlayerState.cpp | b5c2eeba107edc8b12e191e067241b2f0bf24300 | [] | no_license | douxl5516/Monopoly | fe46cacc868ca4cffb679ada2dce4d547c6ebea0 | 308a3fcc516f78aaecbf1f9d706c16d9ec84a3a6 | refs/heads/master | 2020-03-28T12:44:38.545220 | 2018-11-01T17:39:28 | 2018-11-01T17:39:28 | 148,329,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | cpp | PlayerState.cpp | #include "PlayerState.h"
#include "player.h"
#include <iostream>
using namespace std;
PlayerState::PlayerState(int _round)
{
round = _round;
}
PlayerState::~PlayerState()
{
}
FreezeState::FreezeState(int round):PlayerState(round)
{
}
void FreezeState::execute(Player* p)
{
if (!p->getAct() && round-- > 0) {
cout... |
f5985c12e25fc0765c5f218f17dad5170bad8eb5 | 67702ab2376dcae588baf2288fc73071d96f06b9 | /src/FillOps.cpp | 1c67ec2d6a12c0bb8b7aceef9b2999d9b4308c55 | [
"MIT"
] | permissive | tdp-libs/tp_caffe2_utils | 29679913aac22216eb93b6bbd500fe402e1c5cab | b4ca6e5bb30e7320c2c70fdb5375187253db7fde | refs/heads/master | 2021-08-06T00:42:43.228088 | 2020-04-27T16:06:59 | 2020-04-27T16:06:59 | 171,952,464 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,380 | cpp | FillOps.cpp | #include "tp_caffe2_utils/FillOps.h"
namespace tp_caffe2_utils
{
//##################################################################################################
caffe2::OperatorDef* addXavierFillOp(caffe2::NetDef& net,
const std::vector<int64_t>& shape,
... |
bc871484e252c1131102e9fa1be46a4038fc7479 | e9fd094bf1657e4282b992c4edcc056ee53dc1ae | /GameDev_Demo/OptionsMenu.cpp | 5549d91e7719d1da9ecd9fc6d4f6fc351c2f8530 | [] | no_license | DanNixon/CSC3224_CSC3222_Gaming | 09e661c27967b711cb117b6a1e1c9ffeff6e6a38 | ee964339d5605a0ae0b702657f609926e5539ea0 | refs/heads/master | 2020-12-31T04:07:29.606492 | 2016-07-17T18:33:54 | 2016-07-17T18:33:54 | 48,428,962 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,118 | cpp | OptionsMenu.cpp | /**
* @file
* @author Dan Nixon (120263697)
*
* For CSC3224 Project 1.
*/
#include "OptionsMenu.h"
#include <Engine_Utility/StringUtils.h>
#include "DemoGame.h"
using namespace Engine::Common;
using namespace Engine::Maths;
using namespace Engine::UIMenu;
using namespace Engine::Utility;
namespace GameDev
{
n... |
5f46701149097e111b0c95dcf5b1790665a19834 | d84852c821600c3836952b78108df724f90e1096 | /exams/2558/02204111/1/midterm/1_1_711_5820501730.cpp | 23fad3b620fd575b9471ceb7b85de09f11159890 | [
"MIT"
] | permissive | btcup/sb-admin | 4a16b380bbccd03f51f6cc5751f33acda2a36b43 | c2c71dce1cd683f8eff8e3c557f9b5c9cc5e168f | refs/heads/master | 2020-03-08T05:17:16.343572 | 2018-05-07T17:21:22 | 2018-05-07T17:21:22 | 127,944,367 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | 1_1_711_5820501730.cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int usage,voltage;
cin>>usage>>
cin>>voltage>>
Electricity Cost : 320.437;
Service : 228.17;
Ft : 60.294;
Vat 7 % : 38.0289;
X = Electricity Cost + Service + Ft + Vat 7 %;
cout<<"Total cost : Bath"<<X;
... |
292b23f16eb5607687ee779a64b71b3f35fb1eb6 | 747336d891514ad5f6a9e95220590f9253de590d | /leet_code_old/src/number_of_islands_tests.cpp | 99339a32e92aeccbff25789a27619f251067374d | [] | no_license | alexcthompson/algo_learning | cf89de42d2784806c450187a8d5fbab6af662a3a | 0e6be95b26bbc7285f7b544deed267aae9d85fad | refs/heads/master | 2023-08-06T03:10:38.884767 | 2023-07-29T19:03:40 | 2023-07-29T19:03:40 | 159,570,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | number_of_islands_tests.cpp | #define CATCH_CONFIG_MAIN
#include <vector>
#include "catch2/catch.hpp"
#include "number_of_islands.hpp"
TEST_CASE( "island counting tests" ) {
Solution soln;
SECTION( "known results" ) {
std::vector<std::vector<char>> grid;
int expected_result;
grid = {};
expected_result =... |
d8f8faa445153d5d95e5fe5178c02fdf5e167bcc | 32eb44863da691b5e755c99123252d5c4ed33fcd | /logic.h | aa3998d0e12f9eb9b00f9a2ebbcb0a433bca49cd | [] | no_license | iccicci/VM167 | c237e6b0dc31f9606d2dd589ccdd639cc86e03d7 | cef05d6c7a7babfbf1f71f5ace2c68521e9152e5 | refs/heads/master | 2023-01-19T16:43:19.402749 | 2020-11-26T17:36:51 | 2020-11-26T17:36:51 | 310,894,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h | logic.h | #pragma once
namespace logic
{
public struct TickInfo {
int button;
const char* log;
};
public ref class LogicInterface
{
private:
class Logic* logic;
public:
LogicInterface();
~LogicInterface();
void clearScreen(int buttonId);
System::Boolean connect();
float ... |
57070f4961e4df9b3619f499ac8062ae30e1e851 | 5c1a874d5c28870da4975da040f096cbc87f4390 | /register/Register_TB.cpp | 5723be28978e9a192122a17f6b2e775dd6b7186a | [
"MIT"
] | permissive | varunnagpaal/systemc | b7d9eaa3cfbea324e95ad4195e29b476f2a7fdd7 | 6b6099d5108538174e71ba2564865aa303f176aa | refs/heads/master | 2020-03-29T23:15:26.909364 | 2014-11-23T20:43:32 | 2014-11-23T20:43:32 | 26,684,062 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | cpp | Register_TB.cpp | #include "Register_TB.h"
#include <iostream>
// Stimulus Generator Implementation
template<int W>
testbench<W>::testbench( sc_module_name name,
double clkPeriod,
sc_time_unit timeUnit ): sc_module( name ),
_clkPeriod( clkPeriod ),
_timeUnit( timeUnit ),
... |
aec4561f5e18d66ccb139223dcea9642c1740825 | 272b280b0f51f64666a00d6625a36da66713eb80 | /include/source/GameObjects.cpp | 2d15a922fb0df6d851074843312b527243f9e65b | [] | no_license | MatthewJDowling/GraphicsSections | ede269dede4b8fd5b29883ac26677649b4d42790 | 058ee0081ab96c3e22b4c8d10b8228de7681312b | refs/heads/master | 2021-01-18T20:35:14.921744 | 2017-09-15T00:45:17 | 2017-09-15T00:45:17 | 100,546,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | cpp | GameObjects.cpp | #include "..\include\graphics\GameObjects.h"
#include "graphics\draw.h"
#include "graphics\Load.h"
void __internal::t_setUniform(const Shader & s, int & loc_io, int & tex_io, const Camera & val)
{
t_setUniform(s, loc_io, tex_io, val.proj); // 0
t_setUniform(s, loc_io, tex_io, val.view);
}
void __internal::t_setUnif... |
9e230fe29ec892cd2bb1bfef87f52ad8d7f58853 | 4b62774fb7958d8917ff0eca29b105c160aa3408 | /Contest Programming/Codes/Light OJ/1201 - A Perfect Murder.cpp | 07969bb972a0c4acca1bba0663bc56a13f264f54 | [] | no_license | talhaibnaziz/projects | 1dd6e43c281d45ea29ee42ad93dd7faa9c845bbd | 95a5a05a938bc06a65a74f7b7b75478694e175db | refs/heads/master | 2022-01-21T08:00:37.636644 | 2021-12-30T01:58:34 | 2021-12-30T01:58:34 | 94,550,719 | 0 | 0 | null | 2021-12-26T02:01:24 | 2017-06-16T14:16:24 | Java | UTF-8 | C++ | false | false | 1,370 | cpp | 1201 - A Perfect Murder.cpp | #include <bits/stdc++.h>
using namespace std;
int n;
vector <int> tree[1010];
bool vis[1010], vis2[1010];
int dp[1010][3];
int rec(int node, bool ik)
{
if(dp[node][ik]!=-1) return dp[node][ik];
vis[node]=1;
vis2[node]=1;
//cout<<node<<' '<<ik<<endl;
int ans=0;
if(ik)
{
... |
0e8dbc5cf1d2d8eb7af8deb83ade56836437430b | 0a9c86bd80cd0238b4ad46eb14141f8764c4d13d | /game/InputContextMechTS.cpp | 128b487817911814cd98ccb2c5b8af8b531a4473 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sd2017/TriggerTime | 744665719f68d0b7fe107ff537db046ec12ce671 | 9265dee6a178e43bf7365e3aa2f7f2ca22df074f | refs/heads/master | 2023-08-18T12:29:23.032342 | 2021-09-18T10:35:56 | 2021-09-18T10:35:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,790 | cpp | InputContextMechTS.cpp | /*
* Copyright (c) 2014, Stanislav Vorobiov
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of ... |
450e43ef464b4a9c1b9f8632fea6765e2f382ec7 | 29f3596b596193479a2fd53a5b8b76c0d3434de8 | /main.cpp | f07d815d2610c4f455aa9e84dea898fdfe59825a | [] | no_license | omabdullah/HW2 | dcaf2d354f38714c0ae6766a043fe1ba005a0404 | f83a5df3cc895b99f5941e685787e6020eae5762 | refs/heads/main | 2022-12-24T20:31:51.758705 | 2020-10-09T04:31:40 | 2020-10-09T04:31:40 | 302,264,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,835 | cpp | main.cpp | #include <iostream>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#if __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
using namespace std;
bool leftDown = false, rightDown = false;
int lastPos[2];
float cameraPos[4] = {0, 1, 4, 1}; // TODO: Your code here! setup a proper cam... |
4a4e20ad08e956bc426b97ce738707a81ce8416b | 3533549c2c6a870eb97cd6ef40a430d433aa4bf5 | /app/mail.cpp | 812dea6108158b0460ec6bdd761ce7a4faef2efa | [] | no_license | czeidler/fejoaOLD | 8077286670b292ea8b4f375ca06a4b11680e66f9 | aab7affb5eabe5cb5402daf462a59ccdec3630af | refs/heads/master | 2020-12-31T02:02:20.890399 | 2014-05-04T10:11:14 | 2014-05-04T10:11:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,859 | cpp | mail.cpp | #include "mail.h"
#include <QBuffer>
#include <QString>
const QByteArray DataParcel::getSignature() const
{
return signature;
}
const QString DataParcel::getSignatureKey() const
{
return signatureKey;
}
const Contact *DataParcel::getSender() const
{
return sender;
}
QString DataParcel::getUid() const
... |
42669bfcee2bef2109544352479265529291051b | 143ce588dbb18c96fe6f344429bbef80dbad0452 | /src/gtpV2Codec/gtpV2Stack.cpp | 113dc2d75630dbcd9a72794a07990d3e54b6bb7c | [
"Apache-2.0"
] | permissive | sauravpkr/Nucleus | 04ef4ad71c9b9eea3bc9b5c6836a2de992bb1d03 | 099e55a1fb5ccff6da021bf423b9f891cd2d6c42 | refs/heads/master | 2023-05-31T11:06:40.420840 | 2021-05-26T10:56:23 | 2021-05-26T10:56:23 | 364,496,221 | 0 | 6 | Apache-2.0 | 2021-05-26T10:56:24 | 2021-05-05T07:34:07 | C++ | UTF-8 | C++ | false | false | 81,345 | cpp | gtpV2Stack.cpp | /*
* Copyright 2019-present Infosys Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/******************************************************************************
*
* This is an auto generated file.
* Please do not edit this file.
* All edits to be made through template source file
* <TOP-DIR/scripts/Gtp... |
77c4adf1e7908d14654a85e38600a7917d6f5e47 | 5ac6a4049412058e0416f9015fc13f29322b277f | /Code/TotalSafe/CajaFuerte/CajaFuerte_1.07/Nagivation.ino | ef0453de394f333f8ef09b3027758ad482eaecc6 | [] | no_license | CastroAldrick/CajaFuerte | b957d1273f9e16267590b4d182d0a65b7b1fb179 | c280beb0cb7c5a58bfe0e9dec8928a432d62ee85 | refs/heads/master | 2020-04-05T09:18:17.549753 | 2019-04-25T13:43:00 | 2019-04-25T13:43:00 | 156,749,892 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,094 | ino | Nagivation.ino |
int CheckHDirection() {
if (!digitalRead(LEFT)) {
Serial.println("LEFT has been pressed");
buttonDebounceTimer = 5;
cleared = false;
return -1;
}
if (!digitalRead(RIGHT)) {
Serial.println("RIGHT has been pressed");
buttonDebounceTimer = 5;
cleared = false;
return 1;
}
else{r... |
cbfaa86b9a89cf86570a9a5bd38dbaafa7701933 | 9f5f8e5ca355e3ff5d411e620d7e6b10cb4b1e22 | /Courses/Distributed Systems and Midd/Poject/omnet/samples/dsp2/sysReply_m.h | b246e19337ba270ecdd041da1972e9a09745dc62 | [] | no_license | djonines/thesisBackUp | fe001b65f6f5d35bceef1792aca730066fd1c685 | e81cb9ae2ba257fd31dc979a2134be7b1e0cc5f2 | refs/heads/master | 2020-05-22T09:48:59.587887 | 2012-05-04T23:16:10 | 2012-05-04T23:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | h | sysReply_m.h | //
// Generated file, do not edit! Created by opp_msgc 4.1 from sysReply.msg.
//
#ifndef _SYSREPLY_M_H_
#define _SYSREPLY_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0401
#if (MSGC_VERSION!=OMNETPP_VERSION)
# error Version mismatch! Probably this file was generated by an earlier ver... |
cdc24406e7f05ee051f0774dc8e56f25343a4875 | b9e177770e38bd2cac9302403a79c343967ab7eb | /Classes/ProgressScene.cpp | d072f6931fb8800b64209c10d3640cf249961596 | [] | no_license | KeZongWang/LuoBo | 629091236d13690ced5dab64ec77a65e8b72e73b | 587b9546eb72138ec6efb9eedaf2a4a60d655e0a | refs/heads/master | 2020-03-16T13:13:42.209155 | 2018-05-11T11:55:40 | 2018-05-11T11:55:40 | 132,684,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,522 | cpp | ProgressScene.cpp | //
// ProgressScene.cpp
// DefendRadish
//
// Created by mac on 18/5/10.
//
//
#include "ProgressScene.hpp"
#include "SceneManage.hpp"
#include "Constant.h"
#include "CocoStudio.h"
#include "ui/cocosGUI.h"
#include "SceneManage.hpp"
using namespace cocos2d;
cocos2d::Scene* ProgressScene::createScene()
{
re... |
c15d99fed0eb2681bd6b106546f9bf5bfe69dfc3 | 3c3f900dadf850dc7720656a986b3d3db60b14d5 | /kaddressbook/plugins/mergelib/autotests/searchandmergecontactduplicatecontactdialogtest.cpp | ea0701c6fc5640b950620eb3a000d27590829536 | [
"BSD-3-Clause"
] | permissive | KDE/kdepim-addons | 680602d3b8dd1bfecd6e5c5423412cc5bf1b7cbf | d0bff1924db427aae0b6cf40dda52e998293b906 | refs/heads/master | 2023-09-04T05:08:51.218761 | 2023-09-04T01:49:13 | 2023-09-04T01:49:13 | 46,991,984 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,635 | cpp | searchandmergecontactduplicatecontactdialogtest.cpp | /*
SPDX-FileCopyrightText: 2014-2023 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "searchandmergecontactduplicatecontactdialogtest.h"
#include "../searchduplicate/searchandmergecontactduplicatecontactdialog.h"
#include <QStandardPaths>
#include <QTest>
#include <QStac... |
92ce5dcc42de38c9e0c199a26db8588ce3478498 | 3eac3a676598dd093504224d1ed97ba5334b4b3c | /Codeforces Round #641 (Div. 2)/A - Orac and Factors.cpp | 1cfd4df271ef541f1a41fe322aff490ea98420b4 | [] | no_license | jainamandelhi/Competitive-programming-questions | 3fd3264062659ba7bf086d97c38c19275113e254 | dda005eab0276c6caff0d2bc3bdaf0b12958aeae | refs/heads/master | 2021-07-10T11:32:19.463811 | 2020-06-26T16:23:52 | 2020-06-26T16:23:52 | 137,579,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | A - Orac and Factors.cpp | /* Isn't passion overrated?*/
#include<bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define ll long long
#define mod 1000000007
using namespace std;
ll gcd(ll a, ll b)
{
if (b == 0)
return a;
return gcd(b, a % b);
}
int main()
{
ios_base:: sync_with_stdio(false);
cin.tie(NULL); cout.ti... |
85f542c0b3c402489f6810a5db688c9f41ca246f | b482d2213c9f38a88e81c45b7421c00b2dbec36e | /6_Chapter_3_DoubleBuffer/mainwindow.h | 732720af53e0ac445b460511efdbcfa11026cc8d | [] | no_license | bandaostart/QT5 | d400c4bbe15130f08b18b82a9c1d4be8b20131c5 | ddc79db78e120013964f822566ff9d36f61925cb | refs/heads/master | 2020-04-14T11:37:27.296099 | 2019-01-16T06:55:13 | 2019-01-16T06:55:13 | 163,819,159 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPainter>
#include <QMouseEvent>
#include <QPaintEvent>
#include <QResizeEvent>
#include <QColor>
#include <QPixmap>
#include <QPoint>
#include <QPalette>
#include <QLabel>
#include <QComboBox>
#include <QSpinBox>
#include <QToolButton>
#includ... |
4b0e6a161baf5749d32f086a8f17e37688454e4c | f0a860d374cff3c7b142abb3e294d0732dae6148 | /Array/quad.cpp | c8f581ab37ada213c904bcf481049de0041f2848 | [] | no_license | gari3008ma/Algo-Wiki | 84f92020d07962da27e26a1214f7f5bee1df67fd | bc640ee26b8838acfae5bbc522647dbb908ba38e | refs/heads/master | 2022-01-05T02:02:35.685934 | 2019-06-09T16:25:30 | 2019-06-09T16:25:30 | 122,847,387 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | quad.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t,n,i,arr[1000],j,k,l,sum;
cin>>t;
while(t--)
{
cin>>n>>sum;
for(i=0;i<n;i++)
cin>>arr[i];
for(i=0;i<n;i++)
{
for(j=i+1;j<n;j++)
{
for(k=j+1;k<n;k++)
{
for(l=k+1;l<n;l++)
if(sum==(arr[i]+arr[j]+arr[k]+arr[l]))
{... |
b74a0bd6be2859e1cfaacfd60a43d326767203b7 | 5a66ab025f1d0f1959eba8b8d077195f1295325d | /manager/executeur_taches/src/CapStation.cpp | 4e7a68f4e065b54da2cf2c232b50db07a7785e66 | [] | no_license | PyroTeam/robocup-pkg | e07eac96cacb17f2dd3b5232bd39e8f01e7a6535 | a38e15f4d1d1c6a2c6660af2ea675c0fa6069c79 | refs/heads/devel | 2020-12-25T16:54:06.609071 | 2017-01-07T15:30:13 | 2017-01-07T15:30:13 | 26,918,239 | 9 | 3 | null | 2017-01-07T15:30:13 | 2014-11-20T15:21:22 | C++ | UTF-8 | C++ | false | false | 3,777 | cpp | CapStation.cpp | #include <string>
#include "CapStation.h"
#include "manager_msg/activity.h"
/* Constructeur */
CapStation::CapStation(int teamColor)
: Machine(teamColor)
{
m_name += "CS";
m_faType = FinalApproachingGoal::CS;
m_type = "CapStation";
m_blackCap = 0;
m_greyCap = 0;
m_stockID[0] = 1, m_stockID[1] ... |
2dfd578600e6216f22c0a069b2b857f0ce247be0 | 723175a9420efaf6a26aea9dd4e813be8cd8e46a | /source/SceneDeserializeCallback.cpp | e9bce108ffef4634636821b4bc718ec7e8b3f3de | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | permissive | asdlei99/GTGameEngine | 94bb1a19fb3761832cb815b248c40beb57947616 | 380d1e01774fe6bc2940979e4e5983deef0bf082 | refs/heads/master | 2022-03-25T10:33:58.551508 | 2016-12-30T08:55:00 | 2016-12-30T08:55:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | SceneDeserializeCallback.cpp | // Copyright (C) 2011 - 2014 David Reid. See included LICENCE.
#include <GTGE/SceneDeserializeCallback.hpp>
namespace GT
{
SceneDeserializeCallback::SceneDeserializeCallback()
{
}
SceneDeserializeCallback::~SceneDeserializeCallback()
{
}
bool SceneDeserializeCallback::IsChunkHandled(con... |
2adcd747af7c0cec0ef0887e846cb229edc9137a | 0bdc6e9f8df498ea770828e323d004c4a9b0dbbf | /src/naumaxia.cpp | 40dd75cb9caa2738117e1ee8e6a0d0f7db259277 | [] | no_license | StathisTsirigotis/battleship_simulation | 06fb8b3dec68360d07ee3c84959b08f6b143a080 | 8450dd05feb1807452e2d26a161d95f3e7cc0d68 | refs/heads/main | 2023-07-22T12:29:11.806903 | 2021-09-06T13:11:52 | 2021-09-06T13:11:52 | 403,624,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,513 | cpp | naumaxia.cpp | #include "naumaxia.h"
#include "ship.h"
#include "episkeuastiko.h"
#include "eksereunisis.h"
#include "peiratiko.h"
#include "emporiko.h"
#include "utils.h"
#include <iostream>
#include <cstdlib>
#include <typeinfo>
Naumaxia::Naumaxia(int rows, int cols, int num_ship) :
rows(rows), cols(cols), num_ships(num_ship),... |
097cff542ad0315d6075fab9f6945d6d421aaf4f | 6158c19a5f7f74aee8c8ca504f87c783a887a99b | /src/FileExplorer.hpp | 0e5ddb49151fe234116192bb3870ff20ebe5e2fc | [] | no_license | Motherboard/mp3_gui | 0f1c7effabae07b00753367e60d3ddf514bb184a | c8ebfe5b2f26751d09aad61c671f4fe0b9a78767 | refs/heads/main | 2023-05-24T03:37:14.152625 | 2021-06-13T19:30:40 | 2021-06-13T19:30:40 | 376,624,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | hpp | FileExplorer.hpp | #pragma once
#include <vector>
#include <string>
#include <cstdio>
#include <experimental/filesystem>
enum class SeekMode { Relative, Absolute };
class FileExplorer {
std::vector<unsigned> _line_offsets;
std::experimental::filesystem::path _current_path{"/"};
FILE * _sorted_entries_in_dir = nullptr;
... |
69a690a710ee8ff3e1b6f550d617d3b5e4b71cf4 | a0604bbb76abbb42cf83e99f673134c80397b92b | /fldserver/base/task/sequence_manager/sequenced_task_source.h | 9480fced748d6e18f69e4b66aa117cee12e78fbb | [
"BSD-3-Clause"
] | permissive | Hussam-Turjman/FLDServer | 816910da39b6780cfd540fa1e79c84a03c57a488 | ccc6e98d105cfffbf44bfd0a49ee5dcaf47e9ddb | refs/heads/master | 2022-07-29T20:59:28.954301 | 2022-07-03T12:02:42 | 2022-07-03T12:02:42 | 461,034,667 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | h | sequenced_task_source.h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TASK_SEQUENCE_MANAGER_SEQUENCED_TASK_SOURCE_H_
#define BASE_TASK_SEQUENCE_MANAGER_SEQUENCED_TASK_SOURCE_H_
#include "fldserver/base/optional... |
09bc229d2f758ae4313df4c8a3deb12c4dc4579d | 26cc428b3d87f0cd0f1a2e6a51e9da25cd0b651a | /inflowPosition/Blasius_5/linear/0.25/p | a2aaf9aa4df987c50e5db505b67467568ee71e65 | [] | no_license | CagriMetin/BlasiusProblem | 8f4fe708df8f3332d054b233d99a33fbb3c15c2a | 32c4aafd6ddd6ba4c39aef04d01b77a9106125b2 | refs/heads/master | 2020-12-24T19:37:14.665700 | 2016-12-27T19:13:04 | 2016-12-27T19:13:04 | 57,833,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,988 | p | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | |
c6739c3c6bd8b71c0983b29dda6db5fb9d885d53 | 34515f5927c07688979818cfcfa76c752c800ac5 | /stixel_world.h | 271db9b09b39ae3c0bf171772a0adffa3a9011af | [] | no_license | yonghoonkwon/stixel-world | 481b4d852eae9c95848f2529854c395a36ea6aa1 | 408ba8510113588a5b9c8fb16bea78328ff2a9fe | refs/heads/master | 2021-01-22T22:20:52.377821 | 2017-03-18T04:52:17 | 2017-03-18T04:52:17 | 85,534,200 | 1 | 0 | null | 2017-03-20T04:06:19 | 2017-03-20T04:06:19 | null | UTF-8 | C++ | false | false | 724 | h | stixel_world.h | #ifndef __STIXEL_WORLD_H__
#define __STIXEL_WORLD_H__
#include <opencv2/opencv.hpp>
struct Stixel
{
int u;
int vT;
int vB;
int width;
float disp;
};
class StixelWorld
{
public:
StixelWorld() = delete;
StixelWorld(
float focalLengthX,
float focalLengthY,
float principalPointX,
float principalPointY,
... |
2c251f6f4c76228643a4e0416d7e765c16eea737 | 73e89812a3e4f979641c7d8765b46ed0226e3dd9 | /Urasandesu.Swathe/Urasandesu/Swathe/AutoGen/Profiling/ClassFacade/ModuleProfilerFacade.h | 1b0d7f09b3aedb851d01f1169e7984e9ccea3e66 | [] | no_license | urasandesu/Swathe | c601244e7339c2d6fe5686a0ee2ca44732007d89 | e086ede891a64d991f1f738b00eb158b44537d06 | refs/heads/master | 2021-01-19T00:52:31.845284 | 2017-03-17T11:32:51 | 2017-03-17T11:32:51 | 6,515,991 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,188 | h | ModuleProfilerFacade.h | /*
* File: ModuleProfilerFacade.h
*
* Author: Akira Sugiura (urasandesu@gmail.com)
*
*
* Copyright (c) 2014 Akira Sugiura
*
* This software is MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation f... |
7f3768d977fa812cde2e1ae239322a00c5a6a2ff | fa9ede38fa4d56e39bb89757ad60f0bf7fa7ac92 | /include/components/Cursor.h | b36a3804c0746e51ffb789eb9843cf4598f8a89f | [] | no_license | Takashi-san/Yawara_Game | d27eb6613a8d54f02cd31a47bc5b0bab3ed8cb8c | d8ff2a84029131e9cd946d209024844daa99a970 | refs/heads/master | 2020-05-23T21:16:14.786938 | 2019-07-15T08:32:42 | 2019-07-15T08:32:42 | 186,946,234 | 1 | 0 | null | 2019-07-14T15:19:06 | 2019-05-16T03:43:23 | C++ | UTF-8 | C++ | false | false | 341 | h | Cursor.h | #pragma once // Alows to initializate the header just once
#include "Component.h"
#include "GameObject.h"
#include "Vec2.h"
#include <string>
#include <iostream>
#include <stdbool.h>
#include <memory>
class Cursor : public Component
{
private:
public:
Cursor(GameObject &);
void Update(float);
void Render();
boo... |
c67707b4d3c116e771dacdeffe9d1a1650c617d2 | 509801ad7b89cb4de92747e3361514153035f40a | /src/cwap/Location.hpp | 1f7d59bcfd3aca4962708ee4589b480c81880c7e | [
"Apache-2.0"
] | permissive | SimplyKnownAsG/cwap | b48f0e8f332d78fe716365eef21a8954447e7495 | 2eaad6a2817017d5b04f465bd8f71e6fbbace5aa | refs/heads/master | 2021-01-01T16:08:32.275442 | 2019-11-25T16:07:35 | 2019-11-25T16:07:35 | 97,777,259 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | hpp | Location.hpp | #pragma once
#include <clang-c/Index.h>
#include <ostream>
#include <string>
namespace cwap {
class Location {
public:
const std::string file_name;
const unsigned line;
const unsigned column;
const unsigned offset;
static Location Create(const CXCursor& cursor);
... |
7618055cefad226d49a72528e3c7533a99d62a21 | a53cd014871bad537d51b0c6498a1bafd652366d | /app/vachellia/ops/HorizonOps.h | 952d46d077a87c1f67e162ae10b1f461edc85e67 | [] | no_license | spinos/gorse | b3d9f39b12d091a7058ed686ce52c70bdf7927dc | 65e81fcdbf6f747cbc43bf362a94f01f608ed4e1 | refs/heads/master | 2020-03-29T09:32:01.162127 | 2019-10-09T15:47:29 | 2019-10-15T20:07:46 | 149,762,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | h | HorizonOps.h | /*
* HorizonOps.h
* vachellia
*
*/
#ifndef VCHL_HORIZON_OPS_H
#define VCHL_HORIZON_OPS_H
#include "RenderableOps.h"
namespace alo {
class HorizonOps : public RenderableOps {
Vector3F m_center;
float m_planetRadius;
public:
enum { Type = 298999 };
HorizonOps();
virtual ~HorizonOps();
... |
7633f762b2fc2ac8619822f08c291459d836faff | bc8daafdf886d9e3e0ce43baf74e8200c22eb809 | /src/launcher.cpp | 29cd884cb4c1eb2f93e30a3c813abf95bb152eca | [] | no_license | WJLiddy/DubstepZombiesC | dd8c3bff50bc194be9b311889249e3909442be9e | bed3f4c72f7b4ebeca31f20bf3559d8fb505fee6 | refs/heads/master | 2021-04-29T11:03:51.732181 | 2017-03-09T23:24:44 | 2017-03-09T23:24:44 | 77,858,903 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | cpp | launcher.cpp | #include <stdio.h>
#include <allegro5/allegro.h>
#include "gamestate/gamestate.h"
#include "gamestate/titlescreen.h"
#include "drawutils/drawutils.h"
#include "input/inputs.h"
#include "input/controller.h"
#include "input/keyboard.h"
const float FPS = 60;
int main(int argc, char **argv){
ALLEGRO_EVENT_QUEUE *even... |
2f068dfb5674762e00e75c5790b8d19e3e52a958 | d76934f14ba26fe6fa374724cbd2f0f8416726c4 | /lib/lda/real_audio_channel.cpp | 9b0c57008a75edf0322f966c574fa5e29ccbb92c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | TheMarlboroMan/libdansdl2 | 6e54681e51512b23d55713187e64a61e6e001a46 | 7692bcaa2bb7f412d88a01ead6f61c7ee0842c1c | refs/heads/master | 2023-01-27T18:23:57.743163 | 2023-01-11T07:57:03 | 2023-01-11T08:00:13 | 39,908,671 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | cpp | real_audio_channel.cpp | #include <lda/real_audio_channel.h>
#include <lda/audio_controller.h>
#include <cmath>
using namespace lda;
//!Default class constructor.
//!It is private, so good luck creating it.
real_audio_channel::real_audio_channel(int i, const int& main_vol)
:index(i), repeat(0), volume(128), playing(false),
monitoring(fal... |
0d70e0a97a0c9357ac5b7198569dbfa503425e18 | 4603a7dd17c50b98d1da8b5c346c714361fd52f0 | /base/utility/string_util.cpp | 4d8732534b58ff6f9aa935881369777a2cc99115 | [
"Apache-2.0"
] | permissive | openharmony-sig-ci/hiviewdfx_hiview | 513f4b7fd0fb1273240467f9200334446d2959c6 | 32251dad5b7623631288a1947518e03494c1f7a4 | refs/heads/master | 2023-07-18T11:29:47.255518 | 2021-09-03T08:10:55 | 2021-09-03T08:10:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,842 | cpp | string_util.cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
9f9fd8b63a873dd2358a1a5a9a1d51cf17e178d2 | 48189c5e12266f7457d8501ad1c7d3da67ee44b7 | /PhysicsProject/PhysicsProject/Joint.cpp | f468995a4e659961b5da1a75556f74ee22114d04 | [] | no_license | CesarRocha/Engine | 9d75dbb4878fce7b5bf35fb2c967eb57738617ad | de593a3878f66bcf11c608ccef4a42cf2e6d625c | refs/heads/master | 2020-04-11T11:02:32.024231 | 2018-04-22T09:00:56 | 2018-04-22T09:00:56 | 50,062,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | Joint.cpp | //================================================================
// Joint.cpp
//================================================================
#include "Joint.hpp"
//================================================================
Joint::Joint()
: body1(0)
, body2(0)... |
aa5fadca230b9ec3366ee47ab9891c57c42c0b11 | dab18ad37866e4ddc7f93ac548888751e543fe47 | /modules/behavior/Formation.h | fe38f46f8ae45ad1950a78dd428b4ed465a11a6e | [] | no_license | samindaa/TopoFramework | 1910cd9c0d7d3b51e6710df89c5dffc22d29d262 | d0ff72500fc6d27656a96d2efad49e9bb81e9f5d | refs/heads/master | 2021-01-23T11:50:53.187302 | 2013-10-06T03:09:23 | 2013-10-06T03:09:23 | 11,386,169 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | h | Formation.h | #ifndef FORMATION_H
#define FORMATION_H
#include "kernel/Template.h"
#include "representations/rcss/FieldDimensions.h"
#include "representations/perception/FrameInfo.h"
#include "representations/perception/Gamestate.h"
#include "representations/perception/PlayerInfo.h"
#include "representations/modeling/RobotPose.h"... |
f6edfc2792c668848ac9d79080c22d38cd362924 | a92237bd9b14f588b9fdae06f60ddca998f504c3 | /src/pieces/King.cpp | 16967600a398a97be23c369e4a835c115276a852 | [] | no_license | darrian12/Chess | 2149c132fb962d8c486251d3f02c12135d8052f6 | 13ef6491d5832540132d1f310881a424c5287cbe | refs/heads/main | 2023-02-24T23:19:25.336811 | 2021-01-31T22:10:27 | 2021-01-31T22:10:27 | 334,757,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | King.cpp | #include "King.h"
King::King(int tile, COLOR color)
{
m_tile = tile;
m_type = Piece::TYPE::KING;
m_color = color;
SetupMoves();
}
King::~King()
{
}
void King::SetupMoves()
{
m_validMoves =
{
Move(Move::Direction::UP_LEFT, 1),
Move(Move::Direction::UP, 1),
Move(Move::D... |
1483a43594c10d37a48aadc5e9d407b17b296260 | 8bea9cde04655aad2563a7c1a0e0f26b9802b792 | /DEFER2/def2.cxx | 4e8324ace99a4faba416c4e82153b68327c7d9d1 | [] | no_license | alex19999/upgraded-broccoli | db5d4bf266d25da0e0618e0789f6846a74c9485a | 00d5a0fd65729390e5add59ceae1fcaf1f6a1e8b | refs/heads/master | 2020-04-06T04:12:45.749619 | 2017-09-22T18:15:19 | 2017-09-22T18:15:19 | 83,016,460 | 0 | 0 | null | 2017-09-22T18:13:41 | 2017-02-24T07:56:54 | C++ | UTF-8 | C++ | false | false | 6,302 | cxx | def2.cxx | #include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include"def2.hxx"
#include<cassert>
#include<cctype>
#include <unistd.h>
#define MAX_OP 10
Node::Node (Node* parent, double data, type t):
data_ (data),
type_ (t),
left_ (NULL),
right_ (NULL),
parent_ (parent)
{}
Def... |
2b230a37735040e8ebc15553bc371773c923de75 | 734ad0714537e082832fc8c5c9746edb991a5b14 | /src/main.cpp | aa3113cd86e80526f4e5ddace794bec19a98dc6f | [
"MIT"
] | permissive | ipud2/KingEngine | d672cb9d4425bca0a9196d92e81973cda2312fd3 | 5c7e5ff89bfd7acc1031470660fc89b06d56101b | refs/heads/master | 2020-06-29T13:23:31.332861 | 2016-07-22T03:22:10 | 2016-07-22T03:22:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,775 | cpp | main.cpp | #include "ksApplication.h"
#include "ksComplex.h"
#include "ksPathFinder.h"
#include "ksButton.h"
#include "ksContainer.h"
#include "ksTransition.h"
#include "ksScene.h"
#include "ksAudioTrack.h"
#include "ksImageControl.h"
#include <string>
#include <vector>
#include <iostream>
int main()
{
ksApplication app("KingEn... |
71ff525765a8b2296360f6f58f4e971c14bfa6fc | c3a3a524a70873fa5a8dd01df3b1f90cbd75fb0a | /bug_one/src/bugrobot.h | 9d44ff462e116a58a53c122c2fcae203dfc11f37 | [] | no_license | Dearth/ROS_BugOne | 4232fb97b8d968da4805f49e5016cf134ad0d7d5 | 7f81cd465f8eef626beb560d983bac32f70b3683 | refs/heads/master | 2021-05-28T05:14:03.380152 | 2015-02-24T03:32:22 | 2015-02-24T03:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,959 | h | bugrobot.h | #ifndef _BUGROBOT_H_
#define _BUGROBOT_H_
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <iostream>
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <sstream>
#include <nav_msgs/Odometry.h>
#include <sensor_msgs/LaserScan.h>
#include <tf/transform_broadcaster.h>
#include <cmath>
#include "Loc... |
e0c4de91a6bb067b0e19aa14659268c9b45ede1d | eda03521b87da8bdbef6339b5b252472a5be8d23 | /Tests/AK/TestCircularQueue.cpp | 337164725d0d78f1e4db011439764a504a8542a2 | [
"BSD-2-Clause"
] | permissive | SerenityOS/serenity | 6ba3ffb242ed76c9f335bd2c3b9a928329cd7d98 | ef9b6c25fafcf4ef0b44a562ee07f6412aeb8561 | refs/heads/master | 2023-09-01T13:04:30.262106 | 2023-09-01T08:06:28 | 2023-09-01T10:45:38 | 160,083,795 | 27,256 | 3,929 | BSD-2-Clause | 2023-09-14T21:00:04 | 2018-12-02T19:28:41 | C++ | UTF-8 | C++ | false | false | 1,573 | cpp | TestCircularQueue.cpp | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibTest/TestCase.h>
#include <AK/CircularQueue.h>
#include <AK/DeprecatedString.h>
TEST_CASE(basic)
{
CircularQueue<int, 3> ints;
EXPECT(ints.is_empty());
ints.enqueue(1);
int... |
c66a9bbebae97002522e7950c1f35dd7adc55b51 | e648a965eb5816817ecf829be0057cc9621d5080 | /Animator/particleSystem.cpp | d89e6aecc6d4e66ce7dbefe459a0badad1d5173e | [] | no_license | siusiukim/COMP4411 | cb558b747304462afe9e006fe5945c17c7bcde29 | 4a31b6a6912b0f284cd7bce7e1c309622e57fdbe | refs/heads/master | 2020-05-18T19:50:33.451384 | 2018-05-05T15:39:07 | 2018-05-05T15:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,927 | cpp | particleSystem.cpp | #pragma warning(disable : 4786)
#include "particleSystem.h"
#include "modelerview.h"
#include "modelerapp.h"
#include "modelerdraw.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <limits.h>
using namespace std;
/*************
* Destructor
*************/
ParticleSystem::~P... |
ccafdfdc022fc7f77066e049f93588d60342be5b | 2292df0f8b4670bb979b92b4e797fb31686be083 | /SceneNodeManager/Node.cpp | e0c678027818735947582ee3d08a7d8268068e7b | [] | no_license | LiuYiZhou95/LeetCode | 25877207a15283d9aa1885d3be6eb428aebedfca | 2bcbdac2b5fed4f46fff30951cabc2ddbbc45ffe | refs/heads/master | 2020-08-27T19:47:43.276752 | 2019-10-25T07:24:54 | 2019-10-25T07:24:54 | 217,474,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | cpp | Node.cpp | //
// Node.cpp
// SharedPointer
//
// Created by action.zhou on 2019/8/12.
// Copyright © 2019年 action.zhou. All rights reserved.
//
#include <stdio.h>
#include "Node.h"
#include "Scene.h"
#include <iostream>
using namespace std;
Node::Node(int i)
:i(i),
scene_(nullptr),
parent_(nullptr)
{
}
Node::~Node(){
... |
cf937bedc08e0df3854faba77a8f6b69a67e9024 | 504d304c87cff76f4a710d7b6a4bba4c8b08e0bb | /include/nasoq/common/Util.h | 24334746bd2ddae8f3e6750a2bcfb12a6c15791b | [
"MIT"
] | permissive | sympiler/nasoq | 880e144e3f51fb73eec2cb0d96f98f458df11cd6 | b1fba68c0f8fc87526c0be7d838f9483452f8920 | refs/heads/master | 2023-03-02T10:09:39.505343 | 2023-01-16T03:51:50 | 2023-01-16T03:51:50 | 249,756,245 | 64 | 17 | MIT | 2023-01-06T16:54:48 | 2020-03-24T16:14:32 | C++ | UTF-8 | C++ | false | false | 12,427 | h | Util.h | //
// Created by kazem on 7/25/17.
//
#ifndef CHOLOPENMP_UTIL_H
#define CHOLOPENMP_UTIL_H
#include <fstream>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <sstream>
#include <vector>
#include "nasoq/common/def.h"
#include "nasoq/common/transpose_unsym.h"
namespace nasoq {
/*
* r... |
151db279b56da4d6858ad1c674aaad0080de628b | ffd409ab7ff4bb316fa4d709188e3b17dc79e19a | /Arthur_model_1.cpp | 12516f939bdd4c8c4ea31accbdf718f92f7cfc28 | [] | no_license | snu-istick/Team | cb08738028a3e00d73e0b0d0691c87514ade3f6f | 64b95ca54d51089d5db4b8eec1ed39dbc7ee5d75 | refs/heads/master | 2020-03-08T01:26:33.136450 | 2018-04-03T00:59:00 | 2018-04-03T00:59:00 | 127,830,310 | 0 | 0 | null | 2018-04-03T00:55:27 | 2018-04-03T00:55:27 | null | UHC | C++ | false | false | 7,031 | cpp | Arthur_model_1.cpp | // Arthur_model_1.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
#include <iostream>
#include <fstream>
#include <iomanip>
#include <stdlib.h>
#include <random>
using namespace std;
int a1 = 10, b1 = 5, c1=1, a2 = 1, b2 = 10, c2= 5, a... |
89079fe03d2781deb12cd15c26a7fe3b6b51fef6 | 51a90b3e2291fd987655c1d36f9bb8991824ef1c | /student.h | 80af1471df3fe3e64026ad950bb42f5b7d6b25f5 | [] | no_license | OOP2019lab/lab11-180915hassanAli | 2eb1b931a8f979219ddc2e7f35c24a5ef18cf90b | e72281fb06d5fc65d31daa4a5a804310d65bf1f5 | refs/heads/master | 2020-05-09T20:38:48.855286 | 2019-04-15T05:03:35 | 2019-04-15T05:03:35 | 181,415,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | student.h | #pragma once
#include "person.h"
#include <string>
class student: public person{
private:
std::string fyp_name;
float cgpa;
public:
student(std::string first_name,std::string last_name,std::string age, std::string fyp_name,float cgpa);
~student();
std::string getfyp_name();
float getcgpa();
... |
c5809fbe2e19a2a6eb5f5a6e70db9caac294ca28 | 1d8700836cc244653cb6e20dfff62b3348eaa48c | /producer.cpp | 6051547793afa268bc1d076d02f784ff1b22c3b4 | [
"MIT"
] | permissive | Coder-0x7fffffff/ProducerAndConsumer | 572a345aeafd2e8f613c0430cf0fa03981bfee07 | 833ff5e3f5e9e27a08162e6ab77a95e9d05ff02c | refs/heads/master | 2022-04-19T00:50:49.788257 | 2020-04-17T07:44:03 | 2020-04-17T07:44:03 | 256,436,289 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | producer.cpp | #include "producer.h"
extern QMutex *mutex;
extern QSemaphore *full,*empty;
extern int producetCount;
extern int consumerCount;
extern int producerMs;
extern int consumerMs;
extern int producerTs;
extern int consumerTs;
extern int storeMax;
extern int goodMax;
extern int usedGood;
extern int producedGood;
extern int i... |
91c7d8cf41fef66f71709903c945c9c2af97c743 | d56d8c6a9dfad7898f7f874898a7736d172a0635 | /ex2/common/GeneralUtility.cpp | 81d78eee7d7ba2cbde38ffab6b68b89d4013f41c | [] | no_license | GrapeWang-zz325/StowagePlanning | 7c97490381966fb00a357ef4a45f57f89c23e2fb | ebc5edd9abb572f1196bd0504d4aff0201dcdf8a | refs/heads/master | 2022-10-31T20:00:30.118224 | 2020-06-18T22:35:54 | 2020-06-18T22:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | cpp | GeneralUtility.cpp | #include "GeneralUtility.h"
// Split string by delimeter, stores outpit in result
void GeneralUtility::split(std::vector<string>& result, const string &s, char delim)
{
std::stringstream ss(s);
std::string item;
while (getline(ss, item, delim))
{
result.push_back(item);
}
}
// Trim white... |
cd5457dfedd0e61abfc5db3080316aeaee3e0102 | d7def7f68fa36f68d82fbe209dfa36d4f4df6f72 | /DSA/DataStructuresAndAlgorithms/ak47/Regex.h | ae66dd6bcbb1efd89c3083f75cea79a9fd1cd63c | [] | no_license | terziev-viktor/FMI-Bachelor-Projects | d6a19203dea07a46c7afdd096d713c93fc6b632b | aaffbc22883fe2fb0ce03202123b8ab27b639271 | refs/heads/master | 2021-07-14T02:48:16.946848 | 2021-03-21T21:30:11 | 2021-03-21T21:30:11 | 123,151,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | Regex.h | #pragma once
#include "NAutomata.h"
#include <memory>
namespace ak47
{
using std::string;
class Regex
{
public:
Regex(const std::string& regex);
Regex(const std::string& regex, bool Init);
bool IsMatch(const std::string& str);
void Init();
protected:
std::string regex;
std::shared_ptr<ak47::NAutom... |
4ecb0325deea0b21b904872502cbb76ab49d02e3 | 6e8bf8af8f416a281b7b16607b9e6b124f7092a6 | /Roteiro 6 Questao 1/Relogio.h | d4c5f50578b389faaf9c8c58a9cf6ab1d5546afb | [] | no_license | GiovanniBru/Roteiro6novo | d282e2370caf82e833528ab0249a6c4bc59017c2 | 255917a351ddd717b8b0db9bd680da763c741232 | refs/heads/master | 2021-05-16T08:27:40.444254 | 2017-09-26T13:58:56 | 2017-09-26T13:58:56 | 104,086,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | h | Relogio.h | #ifndef RELOGIO_H
#define RELOGIO_H
using namespace std;
class Relogio
{
public:
Relogio();
virtual ~Relogio();
void setHorario(int, int, int);
int getHora(int);
int getMinuto(int);
int getSegundo(int);
void avancarHorario(int hora, int minuto,... |
5530d4a51e1bdc1d64b644bf2d9aa661d5e58d84 | cd470ad61c4dbbd37ff004785fd6d75980987fe9 | /Templates/Aho_Corasick_Automaton.cpp | 0a041f90f39cd9d5d0a57aac2f44229ec7e58c1a | [] | no_license | AutumnKite/Codes | d67c3770687f3d68f17a06775c79285edc59a96d | 31b7fc457bf8858424172bc3580389badab62269 | refs/heads/master | 2023-02-17T21:33:04.604104 | 2023-02-17T05:38:57 | 2023-02-17T05:38:57 | 202,944,952 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,747 | cpp | Aho_Corasick_Automaton.cpp | #include <cstdio>
#include <cstring>
using namespace std;
const int N=11000;
struct Aho_Corasick_Automaton{
int go[N][26],fail[N],cnt; // AC_Auto
int h,t,Q[N]; // BFS_queue
int edge,hd[N],pr[N],to[N],val[N],sum[N]; // Fail_Tree
void addedge(int u,int v){
to[++edge]=v,pr[edge]=hd[u],hd[u]=edge;
}
void... |
5d97338a156c05828c10292a9bc7bfbac3d6dd57 | 7df0ba90e096d987fe55e89bf64f92985cb03906 | /Modules/Core/src/IO/mitkGeometry3DToXML.cpp | c611eac6c771885a06677ca1f2ef02c6e6906996 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | SVRTK/MITK | 04eb6a54292a6da7c445cdf5a275b9b4addf6e21 | 52252d60e42702e292d188e30f6717fe50c23962 | refs/heads/master | 2022-06-04T20:47:10.398158 | 2020-04-27T10:29:27 | 2020-04-27T10:29:27 | 259,278,772 | 0 | 0 | BSD-3-Clause | 2020-04-27T10:19:57 | 2020-04-27T10:19:56 | null | UTF-8 | C++ | false | false | 8,327 | cpp | mitkGeometry3DToXML.cpp | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
d24a3e592a016f9226e1a4a85c6963d87876586a | 63ea92b95c82ca0558ec7312357c5079f92725b1 | /SkinDetection/SkinDetection/Source.cpp | 7a68b1142c8319c5f44de41f7c0945a1cc97620e | [] | no_license | razibdeb/SkinDetector | 309c24abb2955fe5278da6626e62f3fc48eccb79 | 6d81d9a733a754fcaeac2eb93d2489f19c5be1cc | refs/heads/master | 2020-06-15T06:12:10.113453 | 2015-02-04T14:26:49 | 2015-02-04T14:26:49 | 30,260,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | Source.cpp |
#include<opencv2\opencv.hpp>
#include"SkinDetector.h"
using namespace std;
using namespace cv;
int main()
{
VideoCapture capture;
//open capture object at location zero (default location for webcam)
capture.open(0);
//set height and width of capture frame
capture.set(CV_CAP_PROP_FRAME_WIDTH,320);
... |
bb4264268072c1b5f963ea9de4c61dc90a0f3d8d | 6ded2d148a50a4fb2afdda2cbd272595a0467540 | /GenesisEngine/GenesisEngine/PhysicsComponent.cpp | c40479334962aa6f66e37f7a94cfbe95964b9ac5 | [] | no_license | KingWapo/GenesisEngine | 3d8f7954b57f92e6bf2bde04ae29ad224ad83324 | 5675473573c6e918c1f420b32285e00c11563a4c | refs/heads/master | 2016-09-06T16:30:46.247272 | 2015-04-23T20:27:13 | 2015-04-23T20:27:13 | 30,262,891 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,100 | cpp | PhysicsComponent.cpp | #include "PhysicsComponent.h"
#include "Actor.h"
#include <math.h>
const char *PhysicsComponent::g_Name = "PhysicsComponent";
PhysicsComponent::PhysicsComponent() {
setPosition(Vector2(0.0, 0.0));
setVelocity(Vector2(0.0, 0.0));
setMass(1.0);
setGrav(1.0);
}
PhysicsComponent::PhysicsComponent(Vector2 p_position... |
aafe64285222dbf40c3585b071ac7554db1f1ee6 | 95c19710b2fd8949486a4aacbdefbda6927c6e81 | /tetris.h | f655df5d7a5244be201be1b006bfba712281c8a1 | [] | no_license | t0n1c/led_matrix_games | 62cc1b3045cdeaac488fa287deea29267f66d34f | 980b8d4ad3a0363dbbde20b210036f4f66675fd0 | refs/heads/master | 2021-01-18T11:19:56.982037 | 2015-03-28T17:15:01 | 2015-03-28T17:15:01 | 56,936,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | h | tetris.h |
#ifndef TETRIS_H_
#define TETRIS_H_
#include <StandardCplusplus.h>
#include <set>
#include "piece.h"
typedef struct{
int x;
int y;
}PointStruct;
/*typedef struct{
int x_right;
int x_left;
int y_top;
int y_bottom;
}BoundsStruct;
*/
using namespace std;
void tetris_setup();
void tetris_loop();... |
810a80ca7b7facadb5d70a8d60ac8bfce82d3352 | 42b4b82be54bb4c6bd38cc6f0fb7c78a131ccaea | /h_string.cpp | 974c60fefe4b05ea7647a330986a47595f496670 | [] | no_license | HevilH/HSearch | f01d8c578144f8b505c7af5279ac9c1ea0ef25ab | c5b8976f79632f0983975c482b3ebc0abff21a49 | refs/heads/master | 2023-05-02T20:47:29.585962 | 2021-05-26T11:10:55 | 2021-05-26T11:10:55 | 349,426,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,255 | cpp | h_string.cpp | #include "h_string.h"
size_t wstrlen(const wchar_t* s) {
const wchar_t* sc;
for (sc = s; *sc != 0; sc++);
return sc - s;
}
h_string::h_string() {
w_str = L"";
len = 0;
}
h_string::h_string(h_string &s) {
len = s.len;
w_str = new wchar_t[len + 1];
for (int i = 0; i < len; i++)
w_str[i] = s.w_str[i];
w_str[... |
703519d1df71ff296660dab6c58e80d07f24e49e | 53dc9c8bf8a24c9157608af4f93a6c7575643210 | /StardewLike/src/StateMachine/PlayerStateMachine.cpp | 748d4ea7e5892924f307265989d740496f19639d | [] | no_license | JFLPardal/Stardewlike | b94291abde0e7f31ee0fe13a8878d99c91e91704 | d810d784c7a22a65ae3cefcaf257bb19dd65875e | refs/heads/master | 2021-06-12T20:57:50.535542 | 2020-06-17T15:16:35 | 2020-06-17T15:16:35 | 254,396,830 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | PlayerStateMachine.cpp | #include "pch.h"
#include "PlayerStateMachine.h"
#include "Components/Orientation.h"
#include "GameObject.h"
std::vector<State> PlayerStateMachine::m_possibleStates =
{
State::walk, State::idle
};
PlayerStateMachine::PlayerStateMachine()
{
m_currentState = State::idle;
}
void PlayerStateMachine::Start(GameObject*... |
0226f1152ac1a9659696f67c2e079ddb3fb2757a | 67f88d9de5d80d78de654de316cb6373229efb52 | /kruskal_rebours.cpp | 8a67cebb71ee7f32867872c8bad393627e68413e | [
"MIT"
] | permissive | sushithreddy75/DATA-STRUCTURES | 0e99a7280da41eb0391e90fc9e8c2be58d54b1ad | ec948dbaadd0c675596ba1b6fd7c71ef14c9d656 | refs/heads/main | 2023-02-09T06:35:13.391029 | 2020-12-22T05:28:56 | 2020-12-22T05:28:56 | 309,661,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,589 | cpp | kruskal_rebours.cpp | #include<iostream>
#include<stack>
using namespace std;
void swap(int **x,int i,int j)
{
int a=x[i][0],b=x[i][1],c=x[i][2];
x[i][0]=x[j][0];x[i][1]=x[j][1];x[i][2]=x[j][2];
x[j][0]=a;x[j][1]=b;x[j][2]=c;
}
void heapify(int **heap,int i)
{
if(i<=0)
return;
if(heap[i][0]>heap[(i-1)/2][0]||(heap[i]... |
c204435c9fb1f865e42809d932d65d1dbab9aaee | ae03ab18cbd8ce785c0586755c95f66aea72427b | /Meso_STALite/Signal_API/SignalAPI_code/AgentLite/main_api.cpp | 68d2a26d410fce7a2bf96c63b7251e737a54849e | [] | no_license | QLwin/Dynamic-Traffic-Simulation | 474f5817900371e1a029abac723318cc2b6f268d | bce642dfc1813d4da289d9fadd76cdbb5263ee2e | refs/heads/master | 2023-04-22T02:46:49.294967 | 2021-04-26T02:08:02 | 2021-04-26T02:08:02 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 59,374 | cpp | main_api.cpp | // Portions Copyright 2019
// Xuesong (Simon) Zhou
// If you help write or modify the code, please also list your names here.
// The reason of having Copyright info here is to ensure all the modified version, as a whole, under the GPL
// and further prevent a violation of the GPL.
// More about "How to use GNU... |
b5b7da325fe409f8262d0316e2e5f6719abcad24 | 08a6e58321d7b7b7eaec5b6bc54019e26f639b0b | /src/include/fadeanimation.h | 5989dc3ae68652cd16645c755d0f017ed4dab56f | [] | no_license | jeffersonfr/jclick | bd4decd96897e8f32daba4317d139dd69707250d | 753f901f54d0e1026c1e3078d1450efc4ab709e9 | refs/heads/master | 2020-04-17T11:43:30.126392 | 2020-02-18T18:19:06 | 2020-02-18T18:19:06 | 166,552,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | h | fadeanimation.h | #ifndef __FADEANIMATION_PHOTOBOOTH_H
#define __FADEANIMATION_PHOTOBOOTH_H
#include "animation.h"
#include "jgui/jimage.h"
#include "jgui/jcolor.h"
#include <vector>
class FadeAnimation : public Animation {
private:
std::vector<jgui::Image *> _frames;
jgui::jcolor_t<float> _color;
int _state;
int _index;
... |
3f50059740c6a85fa56e30c8fc77622a8f6d398b | a94a34cd7af1f45267e6eb0dfda627f1a9c7070c | /Practices/Training/Competition/MonthlyCompetition/20190531yz/source/JF02015_张扬/square.cpp | cfd00736cff3594df134573c30fa882691bd4180 | [] | no_license | AI1379/OILearning | 91f266b942d644e8567cda20c94126ee63e6dd4b | 98a3bd303bc2be97e8ca86d955d85eb7c1920035 | refs/heads/master | 2021-10-16T16:37:39.161312 | 2021-10-09T11:50:32 | 2021-10-09T11:50:32 | 187,294,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | square.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
freopen("square.in","r",stdin);
freopen("square.out","w",stdout);
double ans1=0,ans2=0,ans3=0;
int a,b,c;
int n;
double k;
double ba[2000];
scanf("%d%lf",&n,&k);
ba[0]=n;
for(int i=1;i<k;i++){
ba[i]=sqrt(ba[i-1]*ba[i-1])/sqrt(2);
}
for(int i=0;i<k;... |
3b26f5e4c54aee22a3f8615437dde68b6dadf46c | c7c0ece47912c77f919241537b2a7b3a9347b862 | /Lab 9/GetOutput.cpp | b3977c1b1b7221ebe35aa0654ff4aa38d2fc079e | [] | no_license | KermiteO/CS1D | b06d27002b910307d797a6618e3cd17ab42b2be0 | 0335fcef3d2b3c9872125a890f059c2aea121475 | refs/heads/master | 2021-01-01T10:56:48.704473 | 2020-02-09T05:54:46 | 2020-02-09T05:54:46 | 239,248,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | GetOutput.cpp | /**********************************************************************
* AUTHOR : Kermite & Maclem
* Lab #9 : Testing
* CLASS : CS1B
* SECTION : TTH 8:00a - 11:50a
* DUE DATE : 2/19/15
*********************************************************************/
#include "HeaderFile.h"
void GetOutput(i... |
672cc827674782505148378ebf384c607753b4a7 | 9c6ee300a4890e463612a992e996433d7226e5b0 | /src/core/Scene.h | e9d3f7bea3789565857e79cba588f3ae9399169a | [] | no_license | Zoophish/Lambda | aa353078640a12f507b91499fb20f425405942c9 | 3b9c7900df24c5314076e90183b7badd551c3150 | refs/heads/master | 2021-08-03T15:36:10.681899 | 2021-07-20T13:29:49 | 2021-07-20T13:29:49 | 190,223,245 | 28 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,169 | h | Scene.h | /*---- By Sam Warren 2019 ----
---- Embree scene implmentation as an interface for scene construction and ray queries. ----
Scene flags improve results for certain tyes of scenes. If the scene flag is changed,
the scene must be re-comitted to apply the changes.
Uses one device per scene, hence the RTCDevice is k... |
74c516f6dbcf7b4a3c5449eae165dad6ed91c8d9 | 93ab36c3a4545e817032f8bde2f85edd2b5552d4 | /source/main.cpp | 2df24020b70ecfd829bf49543053bf00199e3582 | [] | no_license | uschmann/rex-runner | 5571c349960b82737e7c2c5e3685e77b734b0233 | 49b5b1e7cd20a43b4e53809ef0ba06e297df6255 | refs/heads/master | 2020-03-30T06:33:28.957971 | 2018-09-30T08:57:57 | 2018-09-30T08:57:57 | 150,870,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | cpp | main.cpp | #include <iostream>
#include <SDL2/SDL.h>
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <curl/curl.h>
#include <string>
#include <switch.h>
#include "Game.h"
#define DEBUG
SDL_Window* window = NULL;
SDL_Renderer* renderer = NULL;
SDL_Surface* screen = NULL;
SDL_Texture*... |
f8e07731310e6851f7be873cf765dfbe2ab88fc4 | 1352eac84ee81b864c302e64c238635221b4d307 | /Design and analysis of algorithms/Graphs/Knights/Knights.cpp | ed571ad870df8e0a72bb5e8201667f91cbea53e7 | [] | no_license | erikz99/Data-Structures-And-Algorithms | 5f329136e5f8a0bde59b47f710701410a90dfc48 | 350e95e38b295131057d6af1a39b3642c231e8b7 | refs/heads/main | 2023-03-11T15:57:09.845087 | 2021-02-21T21:15:59 | 2021-02-21T21:15:59 | 336,898,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | cpp | Knights.cpp | #include <iostream>
#include <climits>
#include <vector>
#include <queue>
#include <utility>
using namespace std;
struct knight {
int x, y;
};
struct cell {
int first, second;
};
knight arr[2020];
int mat[2020][2020];
int moves = 0;
int cnt = 0;
int n, m, k;
int pX, pY;
void bfs(int x, int y) {
vector <... |
ca750f7a35c7d0c00183932db61a6dfc92bf9479 | d5bfee386aef992bede5567d69895ac8fe90a0c6 | /examples/mechanics/basics/pendulum_with_joints/system.cc | a549338015ea2ff58575fab6d3746d03370716d4 | [] | no_license | yumianhuli2/mbsim | 6905034b2698f3d6f8b4ff73e07658ce4fbd4a18 | 1093c03590f900d19278613e5f3cf195472d9127 | refs/heads/master | 2023-08-02T13:11:38.246585 | 2021-10-04T07:29:07 | 2021-10-04T07:29:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,469 | cc | system.cc | #include "system.h"
#include "mbsim/frames/fixed_relative_frame.h"
#include "mbsim/objects/rigid_body.h"
#include "mbsim/links/joint.h"
#include "mbsim/constitutive_laws/constitutive_laws.h"
#include "mbsim/environment.h"
#include "mbsim/functions/kinematics/kinematics.h"
#include "mbsim/functions/kinetics/kinetics.h"
... |
6bcf95dbe05db490fa0f56ae96634c6a5e8baebc | c0376f9eb4eb1adf2db5aff3d25abc3576d0241b | /src/util/gui/clearlineeditaddon.h | 8f4dac559e2385fe4b1c23f791f760c46807852b | [
"BSL-1.0"
] | permissive | ROOAARR/leechcraft | 0179e6f1e7c0b7afbfcce60cb810d61bd558b163 | 14bc859ca750598b77abdc8b2d5b9647c281d9b3 | refs/heads/master | 2021-01-17T22:08:16.273024 | 2013-08-05T12:28:45 | 2013-08-05T12:28:45 | 2,217,574 | 1 | 0 | null | 2013-01-19T15:32:47 | 2011-08-16T18:55:44 | C++ | UTF-8 | C++ | false | false | 3,069 | h | clearlineeditaddon.h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2013 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... |
4abdeb1f2759497ae1fcb43073f9a0a861efd3d0 | e18f226be7ec8945273c903a31427eaebda112ce | /src/pr2_arm_move_ik/include/pr2_arm_move_ik/trajectory_unwrap.h | 2f23edb285c642da11b9a177835abbfc15487f70 | [] | no_license | gnoliyil/pr2_kinetic_packages | 3cad819236de2a8c92b756eb8f49f76d4e4f1648 | e43479ea6088062b63271c6b94417c266429d439 | refs/heads/master | 2020-06-25T01:06:37.872211 | 2017-08-25T21:19:33 | 2017-08-25T21:19:33 | 96,950,087 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,144 | h | trajectory_unwrap.h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All ... |
dfb133c276a2e03630c929ecd1d4aeb555ad9a1e | 95a0bb23a05a96b9ef01f88dcc35c2bdaa7f2f14 | /1.9.1.12285/SDK/WBP_SelectableButtonWithText_functions.cpp | a3ac34c5e9c87d2c0c2d313103f94ec476427325 | [] | no_license | MuhanjalaRE/Midair-Community-Edition-SDKs | 38ccb53898cf22669d99724e7246eb543ae2d25d | 8f459da568912b3d737d6494db003537af45bf85 | refs/heads/main | 2023-04-06T03:49:42.732247 | 2021-04-14T11:35:28 | 2021-04-14T11:35:28 | 334,685,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,160 | cpp | WBP_SelectableButtonWithText_functions.cpp | // Name: mace, Version: 1.9.1.12285
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------... |
6a6e5f469e66c768167a6b7d6438ffec9215b606 | ea0ab164fe55cc105e889e5040da02ba13983b4a | /StringCalculator.hpp | aa21f1f62189a397b20c90145947a45015c38e41 | [] | no_license | YaliWang2019/StringCalculator | acd1658c0e489051c02ed338d13f97724782f846 | 4a1da74cb7f3596ff8736cfd8ee4aa3f44327ea6 | refs/heads/main | 2023-02-28T08:14:41.884913 | 2021-02-04T17:11:26 | 2021-02-04T17:11:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | hpp | StringCalculator.hpp | #ifndef STRINGCALCULATOR_H
#define STRINGCALCULATOR_H
#include <string>
class StringCalculator {
public :
StringCalculator();
int Add(std::string numbers);
};
#endif // !STRINGCALCULATOR_H |
d344351d0e4f16f0077c5f95d50532f2c5afe02b | 905df54eb3c39d27046a9d6474e055ec2741f878 | /src/vigenereautokeywidget.cpp | f51381880bb4f91c1588916822559466eb077206 | [] | no_license | kevinfernaldy/simple-cryptography | 51e73f97c6f96b61723b2574303058e4297a62e0 | 732f5d312e8b69012cb784d3c387f89f3bec1b78 | refs/heads/master | 2023-07-22T02:29:27.856363 | 2021-09-05T09:05:16 | 2021-09-05T09:05:16 | 403,307,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,260 | cpp | vigenereautokeywidget.cpp | #include <include/vigenereautokeywidget.h>
#include "ui_vigenereautokeywidget.h"
#include <QFileDialog>
#include <QMessageBox>
#include <fstream>
#include <include/cipher/util.h>
VigenereAutoKeyWidget::VigenereAutoKeyWidget(QWidget *parent) : QWidget(parent), ui(new Ui::VigenereAutoKeyWidget)
{
ui->setupUi(this)... |
0e6cc6e135c1be802864dd5a44db34103b2eca4b | c10c875c7c7fa19a779e8da0579258675fed7b1a | /sim/midas/src/main/cc/simif_convey.h | 3b264cd226469719a24a0bb15473ec86b50f0b43 | [
"LicenseRef-scancode-bsd-3-clause-jtag"
] | permissive | davidmetz/firesim | b4a0b8587a9b40665070fd6e3d915f5269290ebd | 251548023d52ab9d4e9bb9644974d9c9267c87a2 | refs/heads/zynq-support-redux | 2023-01-06T16:14:16.578992 | 2020-11-02T08:24:19 | 2020-11-02T08:24:19 | 278,298,296 | 0 | 0 | NOASSERTION | 2020-09-14T11:31:11 | 2020-07-09T07:46:38 | null | UTF-8 | C++ | false | false | 1,053 | h | simif_convey.h | // See LICENSE for license details.
#ifndef __SIMIF_CONVEY_H
#define __SIMIF_CONVEY_H
#include "simif.h"
#include <stdint.h>
#include <stdio.h>
extern "C"{
#include <wdm_user.h>
}
class simif_convey_t: public virtual simif_t
{
public:
simif_convey_t(int argc, char** argv);
virtual ~simif_convey_t();
... |
f6b8eb30a93ffb44e7dcd9c5ba845d47214b25a9 | 652eff8d86465c7dbda3ad8601d35318ce14d4a6 | /DTDParser/Tokenizer.h | 524bcdbdba9c79003af961b03467af7854a4f1a6 | [
"MIT"
] | permissive | jezhiggins/bindotron | 4cc08739df469c7c9c8fe0a5332d718c9c205792 | db9089d9ba7662e48ba42e15e01420f31ab34c60 | refs/heads/master | 2021-01-20T09:33:01.480074 | 2017-05-04T13:11:54 | 2017-05-04T13:11:54 | 90,264,250 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,691 | h | Tokenizer.h | #ifndef ARABICA_DTDPARSER_TOKENIZER_H
#define ARABICA_DTDPARSER_TOKENIZER_H
// $Id: Tokenizer.h,v 1.11 2001/12/13 16:12:20 jez Exp $
#include <string>
#include <XML/UnicodeCharacters.h>
#include <XML/XMLCharacterClasses.h>
namespace DTD
{
template<class stringT>
class Token
{
public:
enum Type... |
09c11d8ff0d006671dfa2f34db212e658ff3baed | 67a17f4a03abcfd7b1626c6c421e0fe03882f8f5 | /9749008.cc | da0846f24e2e031db66f31fbd6b3409e58b6d993 | [] | no_license | TinyBeing/study | fd41bc272ce1a65e26bd66796bdc4d2623cda4d9 | ba84b56ae0e878470d7a9e3bc59a6c0da9215cb5 | refs/heads/master | 2020-03-22T21:26:53.757500 | 2018-10-19T17:39:12 | 2018-10-19T17:39:12 | 140,688,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,476 | cc | 9749008.cc | #include <stdlib.h>
#include <iostream>
#include <stack>
#include <utility>
using namespace std;
int** co;
int re;
stack<pair<int,int> > q;
inline int make(int** c, int a, int b, int n) {
int count=0;
for (int i = 0; i < n; i++) {
if (c[a][i] == 0) {
q.push(pair<int, int>(a, i));
count++;
c[a][i] = 1;
... |
f81055ef07f83987fa72fb36fc51242ff2179556 | 84c82b4e56f660aad04c6ff445a7a594e35c9870 | /src/PreShower.cc | c470c9ea779189a509167910c1bc208edf3c8f85 | [] | no_license | ginnocen/DelphesO2 | cc1cfe7836eaf3345dac88db10be611bbc25fca8 | ff47f74d437f2ca4d65302ad8caa5b79c544325b | refs/heads/master | 2023-08-13T18:00:53.284453 | 2021-10-04T11:47:09 | 2021-10-04T11:47:09 | 276,666,301 | 0 | 0 | null | 2021-10-10T04:40:07 | 2020-07-02T14:21:35 | C++ | UTF-8 | C++ | false | false | 1,970 | cc | PreShower.cc | /// @author: Roberto Preghenella
/// @email: preghenella@bo.infn.it
/// @author: Antonio Uras
/// @email: antonio.uras@cern.ch
/// @author: Marco van Leeuwen
/// @email: marco.van.leeuwen@cern.ch
#include "PreShower.hh"
#include "TDatabasePDG.h"
#include "THnSparse.h"
#include "TRandom.h"
#include "TDatime.h"
#inclu... |
9f4b292e687cf97508015899ed47cdfe93bf35ea | e39be34960c422082b4ef2906ea5f79c3fc0b9fd | /Algorithms_Assignment/Written:Programming_assignment_3/q3_quicksort.cpp | a4a7d5a65c4952fe0f70c8b97a9b4c82eb4da6d0 | [] | no_license | kwanhiuhong/Algorithms-Cpp-C | 3636eac3f747973f76b811fd98a63fe1363a0af5 | f4c2e13023055641fbfb04fde0e942d56a6c7088 | refs/heads/master | 2023-03-13T15:08:07.446699 | 2021-03-12T06:03:08 | 2021-03-12T06:03:08 | 164,850,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | cpp | q3_quicksort.cpp | //
// main.cpp
// quick_sort
//
// Created by Peter on 11/8/18.
// Copyright © 2018 Peter. All rights reserved.
//
#include <iostream>
using namespace std;
int partition(int * arr, int p ,int r);
void quicksort(int * arr, int p ,int r);
void kthsmallest(int * arr, int p ,int r, int k);
int main(int argc, const ... |
9964230cc1beddf786c2d95b6db8aec13c48cb2d | 4b75484caaf240878f4768f689b5a4153a7a63a9 | /BTREE/bnode.h | 0a584ae3b7baa6f63dbb6eefac084d520e6ae8e1 | [] | no_license | samueljrz/Advanced-Data-Structure | e4a86cc98b29edd81c2d7c6ad45729974d666317 | dbf307296b0df11281722d12b4e2645fd9b7124d | refs/heads/master | 2023-01-19T21:21:58.428631 | 2020-11-26T12:47:14 | 2020-11-26T12:47:14 | 247,602,953 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,784 | h | bnode.h | #ifndef BNODE_H
#define BNODE_H
#include <iostream>
class Bnode {
private:
int *key; // vetor de chaves
int d; // grau minimo
Bnode **c; // vetor de ponteiros para filhos
int n; // numero atual de chaves
bool leaf; // true se o noh eh uma folha, false caso contrari... |
57ad06aebdf0fd2132e48146d5e96c47cbeefd5a | 1b74e77cd051d9db4e9f29c151b606980ea04a7f | /FILE_read Data/main.cpp | 67660c633a0a644bdbd40a90e6d58136bdf7bad9 | [] | no_license | Sudhan17/Cpp_Programming | 45b020b68b9f792c83dab9442006c6bb9733eb60 | dd04ea8d0e3e20415b5d2b2acaef40c5bdf19330 | refs/heads/main | 2023-07-04T19:17:18.600418 | 2021-08-12T11:50:17 | 2021-08-12T11:50:17 | 392,226,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | main.cpp | #include <iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream fin; // create input stream
char ch; // variable for storing GET pointer character
fin.open("my.txt"); // load file into RAM
fin >> ch; // storing 1st GET pointer vale... |
22dbbf1d8090411e67e9dbbfe8ded343adc8f6d6 | 82692cb6d80b9bda8930366f36f48eb6df073eba | /SteamAPIWrap/Services.hpp | 066f5c7b9dfcc5c3d6baf82f908e772086e94206 | [
"MIT"
] | permissive | HoggeL/Ludosity-s-Steamworks-Wrapper | 897078de3bb5d6fa8b954aab05135c3084eb2b93 | 5cd8f5740829a20af23343865895ceb782f9b0b4 | refs/heads/master | 2021-01-01T04:50:04.904843 | 2016-05-09T21:31:05 | 2016-05-09T21:31:05 | 58,408,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,781 | hpp | Services.hpp | #ifndef Services_h_
#define Services_h_
#include "Services.h"
#include "Singleton.hpp"
#include "ErrorCodes.hpp"
#include "LoadStatus.hpp"
#include "CallbackID.hpp"
#include "ResultID.hpp"
namespace SteamAPIWrap
{
class CServices : public CSteamAPIContext, public CSingleton<CServices>
{
public:
bool Startup(... |
4b165ce7f674f933de0af3c58fd4a03fc9cd02fe | 7ace7f8411bf5cbacd650c0b3a173e88a8b22bd8 | /Lesson 05 - Prefix Sums/MinAvgTwoSlice/solution.cpp | 857b1bd16ee234efad22a0327ca748908459af2c | [] | no_license | bskim45/codility-lessons | f312ee1f23e927bc4b9d3787548c840e39f58be9 | 64bd6c64ea386206eae615fefe18e22fb24c57cf | refs/heads/master | 2020-12-02T19:23:31.028338 | 2017-07-08T17:43:35 | 2017-07-08T17:43:35 | 96,334,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | solution.cpp | // Task Score: 100%
// Correctness: 100%
// Performance: 100%
// Time Complexity: O(N)
// Space Complexity: O(1)
#include <cfloat>
int solution(vector<int> &A) {
double min_avg = DBL_MAX;
int idx = 0;
for(size_t i = 0; i < A.size() - 2; i++) {
double avg = std::min(double(A[i] + A[i + 1]) / 2,
... |
f1b656b39fffd158b498cbd2643d6d7e80d61b64 | 376c88f77e904986c2d81eb9ea8de851a8135b9a | /testy/test_grmath.cpp | e71c7a8d663716812b760131615f80ef7db66fe7 | [
"MIT"
] | permissive | Wiladams/ndt | e01da0e7844c48c591031157cd0611fed08b6f0b | d93f6fd0e6de46e86dbe8e7dbb394f867fa799d4 | refs/heads/master | 2023-03-01T00:34:48.897819 | 2023-02-18T19:16:16 | 2023-02-18T19:16:16 | 252,350,143 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | test_grmath.cpp |
#include <cstdio>
#include <DirectXMath.h>
#include <DirectXPackedVector.h>
#include <DirectXColors.h>
#include <DirectXCollision.h>
using namespace DirectX;
using point3 = XMFLOAT3; // 3D point
using rtcolor = XMFLOAT3;
void main()
{
struct Ray {
XMFLOAT3 pos;
XMFLOAT3 dir;
}
st... |
17226ceea8d34fb6e9eb1c04fbed149dd89a5254 | ae4ade7352ad31c3f4892dcdf7307c169c055a4c | /Team.cpp | 0560130a17c8c097ee81cbe95b851462f054406d | [] | no_license | adeemadil/CS201-Fundamental-Structures-Of-Computer-Science | e304f593a0fc44fadb2c666808f3263951509b20 | b387d1e02aea9e431ea8e469ea36a5a79718a5da | refs/heads/master | 2023-04-23T03:29:08.174206 | 2021-05-10T20:10:42 | 2021-05-10T20:10:42 | 255,088,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,886 | cpp | Team.cpp | #include "Team.h"
#include <iostream>
#include <algorithm>
using namespace std;
Team::Team(const string tname, const string tColor, const int tYear) {
teamName = tname;
teamColor = tColor;
teamYear = tYear;
head = NULL;
}
Team::~Team() {
if (head != NULL) {
PlayerNode* current = head;
PlayerNo... |
9b24b3416d889396ba7d807a1c794b9a36d468be | 04bce0202f77bc85cf3f64f6b3a0ced87d533ce3 | /test/Jack_Test/view/title.h | 3223f3ff0cda739af96a4cbe965797bc3d2d5d57 | [] | no_license | jziesing/Interstellar | 0ee97afd21b19eaedfbf073d067ab22c0dc51327 | 42f1fbee0358d3b17b82a54dbc21a7a7ec04ad83 | refs/heads/master | 2016-09-05T19:36:50.178095 | 2014-11-16T05:58:34 | 2014-11-16T05:58:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | h | title.h | #ifndef TITLE_H
#define TITLE_H
#include <SFML/Graphics.hpp>
#include <string>
using namespace sf;
using namespace std;
class title {
protected:
int center[2];
Font font;
public:
title(int center_x, int center_y);
void initFont(string filePath);
Text createTitle(string txt, int fontsz, int style);
//RectangleSh... |
fc38d9ded5327fddadfc180001a11cec11ab2a5e | 3e814f0ed8f3563880228f837c851021fc561ba4 | /Group_Project_Group48/main.cpp | cfc3b0cfb451ee45f849ba0d784de73cb0c2b266 | [] | no_license | katrinechow/OSU-CS-162 | a356ba8cdcc48b89d051283dd415b55eb186d0aa | 082fba9bb4bfa1de742d6e9cdc1e1d74c546e1e0 | refs/heads/master | 2020-06-08T16:07:12.269212 | 2019-06-22T17:42:20 | 2019-06-22T17:42:20 | 193,259,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | main.cpp | /*********************************************************************
** Program: Predator prey game
** Author: Group 48
** Date: Feb 5, 2018
** Description: Menu class implementation
*********************************************************************/
#include <iostream>
#include <cstdlib>
#include "bugWorld.hpp"
... |
141750c3f219e45e419dad0c955ac986ac4b060e | 1d1b972fe088c601eafdd0a9451f15a43fb40b4e | /QtGuiApplication1/QtGuiApplication1/Debug/moc/moc_QtGuiApplication1.cpp | fe2075f461e7be176181c54792e48a6ba43d427a | [] | no_license | sh963852741/SimpleFileTransfer | 84edf9c4258c16332ffd5ee86549691e66aff6af | 8d6ca2635173b0ed0867437b09abdaa18abbcc21 | refs/heads/master | 2021-04-20T17:12:13.039059 | 2020-05-10T14:18:15 | 2020-05-10T14:18:15 | 249,703,997 | 0 | 2 | null | 2020-05-10T14:18:16 | 2020-03-24T12:36:20 | C++ | UTF-8 | C++ | false | false | 11,594 | cpp | moc_QtGuiApplication1.cpp | /****************************************************************************
** Meta object code from reading C++ file 'QtGuiApplication1.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.1)
**
** WARNING! All changes made in this file will be lost!
**************************************************... |
a67af7fe0dfc912a1eae47db1371c82bbefc3a69 | e272d18a042e6b6808bc615917b1783d53607870 | /done/1169.cpp | 5d13c44ad1ba5acccaf545119963380409561bce | [] | no_license | chessdroid/morbidel-timus | 58656c7a62132aaae71289a20ee77baeca4ba554 | b079bf3ae716d4eeb54722037ac55066f9e9da7c | refs/heads/master | 2020-07-10T02:20:08.032088 | 2013-04-11T20:48:39 | 2013-04-11T20:48:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | cpp | 1169.cpp | /*
* ACM Timus Online
* Pairs - Problem 1169
*
* solution: the problem can be reformulated as follows: find x1..xk which satisfies the first two Viete relations:
* x1 + x2 + ... + xi = N
* x1x2 + ... + xi-1xi = K
* for some i
*
* for a value i for x1 a pair (n, k) turns in (n - i, k - i * (n - i)).
*... |
4832dda856cf379a18bf30176fdeb5dfc83b10eb | e8a494cd4aa449ce95a01db6d61f8ec2ebba0257 | /editlinedialog.cpp | dd15124e67d9220340141e2c23b007d081d094e4 | [] | no_license | qianlanwyd/graphics-program | df5d0442f497fcc52463c8991f83540343649351 | 65ce5303266e21324fd3590d0c8e51f7dbac51c3 | refs/heads/master | 2020-04-08T06:56:17.893251 | 2019-01-07T08:12:08 | 2019-01-07T08:12:08 | 159,119,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | cpp | editlinedialog.cpp | #include "editlinedialog.h"
#include "ui_editlinedialog.h"
#include "openglwidget.h"
#include "myshape.h"
#include"changelinedialog.h"
#include"rotatelinedialog.h"
#include"tranlinedialog.h"
#include"scalelinedialog.h"
#include"QMessageBox"
editlineDialog::editlineDialog(QWidget *parent) :
QDialog(parent),
ui(... |
2c548e66310143a7efb4c111f5466c4240e015f1 | ae8054dca7a277c363eef6bd0a4028fd982eb3d6 | /sample/Test-cam/testDlg.h | 893c42fc7a532c2927a396c7a672c7611f5b472c | [] | no_license | wwang13/FaceIdentifiSystem | 7116a1b6fd11daf4ee57760170b579b45d46d827 | ae5c6cc145b0dae5f77e973c107a4ed65f30b019 | refs/heads/TheFirstVersion | 2021-01-22T06:07:16.037641 | 2016-08-08T06:28:54 | 2016-08-08T06:28:54 | 65,707,015 | 0 | 0 | null | 2016-08-15T05:35:20 | 2016-08-15T05:35:20 | null | UTF-8 | C++ | false | false | 1,599 | h | testDlg.h | // TestDlg.h : header file
//
#if !defined(AFX_TESTDLG_H__85E8D483_7487_48F6_A87B_C37F8760B0A8__INCLUDED_)
#define AFX_TESTDLG_H__85E8D483_7487_48F6_A87B_C37F8760B0A8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
//... |
074cf982057779d185056bde3fc7874feab1f80f | 4d4822b29e666cea6b2d99d5b9d9c41916b455a9 | /Example/Pods/Headers/Private/GeoFeatures/boost/mpi/packed_oarchive.hpp | 040aa9ba899bea52cee225209faad23f5355d317 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | eswiss/geofeatures | 7346210128358cca5001a04b0e380afc9d19663b | 1ffd5fdc49d859b829bdb8a9147ba6543d8d46c4 | refs/heads/master | 2020-04-05T19:45:33.653377 | 2016-01-28T20:11:44 | 2016-01-28T20:11:44 | 50,859,811 | 0 | 0 | null | 2016-02-01T18:12:28 | 2016-02-01T18:12:28 | null | UTF-8 | C++ | false | false | 62 | hpp | packed_oarchive.hpp | ../../../../../../../GeoFeatures/boost/mpi/packed_oarchive.hpp |
137fbd054425a064a9ca4fdeb65ec38cc6573922 | f6c11d71f88eee3e7cb3486436e407b806e8df24 | /LungSeparation/main.cxx | 3a2632bbc15ff768bdbcdba682a34a3acb45dc54 | [] | no_license | midmelody/ToolsITK | 7778f459ddea4e113d5f3eb7eef4ff8d8ea73179 | e627d6bde94e0a6e9f8b382261437ea00af6ea7d | refs/heads/master | 2020-04-18T00:16:59.913186 | 2019-04-12T13:37:39 | 2019-04-12T13:37:39 | 167,070,815 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,017 | cxx | main.cxx | #include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkBinaryBallStructuringElement.h"
#include "itkBinaryDilateImageFilter.h"
#include "itkBinaryErodeImageFilter.h"
#include "itkNotImageFilter.h"
#include "itkHessianToObjectnessMeasureImageFilter.h"
#include "itkMultiScaleHessianBasedMeasureImageFilter.h"... |
f8aeec2d05306596f2b8c4a2bf3abfea00fec302 | 9e1e09ea61632e80465f371a083625d03b1e5ab2 | /src/CryptoNoteCore/CachedTransaction.h | 38d7d8a533587b3dfb8d8354320a83f11021bccc | [
"MIT"
] | permissive | bitcoin-note/bitcoin-note | 0f93c5a04dda2df6ff838187d894a0c4af633649 | 7be1e60f327b7ce1f995fee97f80131dcb934e70 | refs/heads/master | 2021-05-11T19:50:51.485229 | 2018-01-18T00:05:24 | 2018-01-18T00:05:24 | 117,895,059 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | h | CachedTransaction.h | // Copyright (c) 2018, The Bitcoin Note Developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <boost/optional.hpp>
#include <CryptoNote.h>
namespace CryptoNote {
class CachedTransaction {
public:
... |
d7f8539220c7ca9ac9f46c7ecc76c21ac63f0338 | 13f1ff12873c242e56e53feed402bd1fb6b7405c | /hw4-XiaoLeS-master/src/lib/sema/SymbolManager.cpp | d5a9f45e65cc586f13e946413fc31688133c691b | [
"MIT"
] | permissive | battlebrian/CompilerDesign | 4460acfc29f25345077f4b717143c3f2df3bdb46 | 7bd9883d94d60655e26f403cb24af2ef67f9343a | refs/heads/main | 2023-08-31T09:42:37.297351 | 2021-10-12T15:00:45 | 2021-10-12T15:00:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,752 | cpp | SymbolManager.cpp | #include "sema/SymbolManager.hpp"
//#include "visitor/AstNodeInclude.hpp"
//#include "AST/PType.hpp"
#include <cstring>
// SymbolEntry
SymbolEntry::SymbolEntry(const char* vn, const char* k, int lev, PTypeSharedPtr pt, const char* a) {
this->var_name = vn;
this->kind = k;
this->level = lev;
this->type = pt;
this-... |
566a3e61af54b5af25b03282bb282a6bef44b1d5 | 47fca1e24037565433c96755370381e3a89b73ef | /dialog.cpp | c3d05cf7ac726918dff630fe7491b22e0f836df5 | [] | no_license | winetx-winetx/Qt-axis | b18b21ecd21bc9938b60b3af956ca02643318c98 | 09e44d1ca13a665b4ff1df0a1b6982af96328864 | refs/heads/master | 2022-01-13T07:52:38.538568 | 2019-06-10T12:22:19 | 2019-06-10T12:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,509 | cpp | dialog.cpp | #include "dialog.h"
#include "ui_dialog.h"
Dialog::Dialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dialog)
{
ui->setupUi(this);
MyUiInit();
}
Dialog::~Dialog()
{
delete mAds;
delete server;
mAds = nullptr;
server = nullptr;
delete ui;
}
void Dialog::MyUiInit()
{
ui->btn... |
35f4e6f433c37c032928bcc7219b8f3900cae383 | 97cec4606c28e85af46f0a66bf38d46d373a1ea6 | /Example/Example.h | aee323ccbbba27436347a9428fa2662026c1d76e | [
"Apache-2.0"
] | permissive | imclab/unity3d-to-gameplay3d-physics-exporter | 03619885ffb8256a9ff671164eb768ea69f9b7fd | 68677d0a0c05f0831d3c0b25e53d6ab4373d4b32 | refs/heads/master | 2021-01-22T01:55:17.488493 | 2013-12-23T19:16:33 | 2013-12-23T19:16:33 | 15,624,319 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 605 | h | Example.h | #ifndef Example_H_
#define Example_H_
#include "gameplay.h"
using namespace gameplay;
/**
* Simple example of how you can reload the scenes that you generate using
* the Unity3D exporter at runtime for rapid iteration.
*/
class Example: public Game
{
public:
Example();
void keyEvent(Keyboard::KeyEvent evt, i... |
4402ed8a7b06405b5d12996a2d1b68523f592549 | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/lib/entitydef/property_change.hpp | 9b52f3ed6b021e14bc08e4a8305d6f3348c0906f | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 4,099 | hpp | property_change.hpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... |
6ff8851f3dc3767b7a15bfa13acc6b2cf9290338 | 35a3a794c94fbe9a3d9b0bcb19eaeb60c7ca6a26 | /cf1105d.cpp | 0e623327cc395cb71ead61f95cf8d2f79fad59fe | [] | no_license | jshky/CODE | be7eae06f8478706495ea1886233165995ba6f69 | e78b61572953167091796b51a2c152780cf8c661 | refs/heads/master | 2021-07-06T23:55:00.038980 | 2020-09-20T05:44:42 | 2020-09-20T05:44:42 | 183,609,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,021 | cpp | cf1105d.cpp | #include<cstdio>
#include<queue>
#include<vector>
using namespace std;
const int N=1005,tx[4]={0,0,-1,1},ty[4]={1,-1,0,0};
int n,m,p,s[10],cnt[10];
bool vis[N][N];
char str[N],a[N][N];
struct Map{
int x,y;
};
bool check(int x,int y,int color){
if (x<1 || x>n || y<1 || y>m || (a[x][y]-'0'!=color && a[x][y]!='.'... |
a84ac34aa6535bb441d8c924df5bf4c0b7a0ad44 | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/51.3/p | ecad62f5ff101e7af6d59006177655eb58c6053f | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,010 | p | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.