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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8e441cda6ff6e445235195517d097e8e86c02e7 | de4928618e876792f2948483219bcea50dc16a81 | /test2/test2/test2.cpp | 5972b758104db13c73dd1736e1de5f345be12e05 | [] | no_license | BellaZhong/OpenGLES-C | b013937ffd5c761da46633564ddfcb01264b241e | 285081115dc7271ec1e3b0a4cbf3f5f4780326ac | refs/heads/master | 2021-07-04T05:36:18.089964 | 2020-11-16T09:46:07 | 2020-11-16T09:46:07 | 199,261,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,923 | cpp | test2.cpp |
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include "memory.h"
#include <iostream>
#define _CRT_SECURE_NO_DEPRECATE
//#define AddSet(val) Setstr(#val)
struct a {
int arr[5];
int b;
};
struct stru {
int y1;
int y2;
int y3;
};
enum MyEnum
{
enum1,
enum2,
enum3,
enum4
};
struct aa {
int c;... |
d988c732b96578894a0a2eb9b4b9c9a0f526eb79 | 3e9d84542abf95494e3e3e2a2c7f03b70b5638fa | /helloprinter/helloprinter.cpp | 9139e1b50c512d93a6f60a069afc550348f958bb | [] | no_license | alartum/plugin-app | 4dee0f9e6e684f15aede5134bb8e232cfe42dfe7 | c8447135299b9f3483049ba756b9dc97a83383bd | refs/heads/master | 2021-01-23T12:53:09.447392 | 2017-06-03T01:07:07 | 2017-06-03T01:07:07 | 93,207,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | helloprinter.cpp | #include "helloprinter.hpp"
extern "C"{
const char* name(){
return "HelloPrinter";
}
Printer* constructor(){
return new HelloPrinter;
}
}
std::string HelloPrinter::name()
{
return std::string("HelloPrinter");
}
void HelloPrinter::print()
{
std::cout << "Hello, World!" << std:... |
42038a620647d8158c7f0f1a8d8b13b5b4f1dc38 | b3c47795e8b6d95ae5521dcbbb920ab71851a92f | /LintCode/cpp/Word Segmentation.cc | f0f5f32b9650d348ee696bed8a446f0d6c89d987 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Wizmann/ACM-ICPC | 6afecd0fd09918c53a2a84c4d22c244de0065710 | 7c30454c49485a794dcc4d1c09daf2f755f9ecc1 | refs/heads/master | 2023-07-15T02:46:21.372860 | 2023-07-09T15:30:27 | 2023-07-09T15:30:27 | 3,009,276 | 51 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cc | Word Segmentation.cc | class Solution {
public:
/**
* @param s: A string s
* @param dict: A dictionary of words dict
*/
bool wordSegmentation(string s, unordered_set<string> &dict) {
size_t len = s.length();
bool dp[len + 5];
dp[0] = 1;
vector<int> wchars;
wchars.resize(256);
... |
c834c584a84cc2ae6c3a4a5347a3f24112854850 | 3e70eda6819fec5bf5ba2299573b333a3a610131 | /monster/tools/gen_imitate/main.cpp | c1cbd439ee587d0051ce795081fdeb2671333aff | [] | no_license | dawnbreaks/taomee | cdd4f9cecaf659d134d207ae8c9dd2247bef97a1 | f21b3633680456b09a40036d919bf9f58c9cd6d7 | refs/heads/master | 2021-01-17T10:45:31.240038 | 2013-03-14T08:10:27 | 2013-03-14T08:10:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,852 | cpp | main.cpp | /*
* =====================================================================================
*
* Filename: main.cpp
*
* Description:
*
* Version: 1.0
* Created: 2012年02月15日 12时12分37秒
* Revision: none
* Compiler: gcc
*
* Author: henry (韩林), henry@taomee.com
* ... |
4d2fa8a395da724299525f7e4e40ff5c739e9a06 | 0efb71923c02367a1194a9b47779e8def49a7b9f | /tOblig-1/0.9/phi | 3fc26404c4584c9254f7b1aea1f8a00e80654647 | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97,098 | phi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | |
cc3ca067f84a84d05da1ca8fb5b47329fd7a9dfa | 1ca07616d7f9bb110716c8c8845cba7a80f06f63 | /Exercise 1 Q1.cpp | 86b443b9089546770c7a7a8062a2fdfda26e2915 | [] | no_license | fizzioren/EXERCISE-BITP1113 | 0a9b90451e88779a7a87200cf39cab4b30a7a82c | 299df7ca679e703d8c5a23b7eb23780271636f02 | refs/heads/master | 2020-07-31T05:11:22.753592 | 2019-09-23T12:59:23 | 2019-09-23T12:59:23 | 210,495,000 | 0 | 2 | null | 2019-09-24T02:33:21 | 2019-09-24T02:33:21 | null | UTF-8 | C++ | false | false | 284 | cpp | Exercise 1 Q1.cpp | #include<iostream>
using namespace std;
void main()
{
cout << "University : \t Universiti Teknikal Malaysia, Melaka \n";
cout << "Faculty : \t FTMK \n";
cout << "Programme : \t BITI \n\n\n";
cout << "My name is Sia Sim Eng. I am from Selangor.\n";
system("pause");
}
|
efbf3bf444bca6e940e32d46ad2a21905aee1f7f | 7909d9535028da236236b63a7ee384a34214838f | /src/doFolder.cpp | 34450baf4ea444e5c01699ce5f0dfd23d02b1505 | [] | no_license | dustyco/makepage | 44bcdccc3a865ff616a60ee93366a21fc89feff9 | fdf9a4b6768dbfb2437daa4920c7b57f32b9001b | refs/heads/master | 2021-01-01T06:39:34.881124 | 2013-05-07T23:18:29 | 2013-05-07T23:18:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,299 | cpp | doFolder.cpp |
#include <utility>
#include <set>
#include <list>
#include <vector>
#include <fstream>
#include <iostream>
using namespace std;
#include <boost/filesystem.hpp>
using namespace boost::filesystem;
#include <boost/algorithm/string.hpp>
#include <boost/assign/list_of.hpp>
using namespace boost;
#include "Stats.h"
typed... |
6ba8eef0493b475ecfadfb7a7cc7a92e2a2ca77e | 3e57e1f25481295bd6899b326917b3d83399a90d | /src/crypto/SmartMeter.h | 0a13d34c80d10af56d03a20270b709c8bb40abb9 | [] | no_license | oboro-graph/Smart-Grid-Advanced-Metering-Infrastructure-privacy-preserving-protocol-implementation | 8d9854282a2f872b7e52f5a969124882323beab0 | 3f8645d57694fe3bc236d24277593511d3d708b2 | refs/heads/master | 2023-03-19T09:03:18.638372 | 2018-08-10T09:30:05 | 2018-08-10T09:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,292 | h | SmartMeter.h | #ifndef __SMIMP_SMARTMETER_H_
#define __SMIMP_SMARTMETER_H_
#include "examples.h"
#include "Requester.h"
class SMAdapter;
namespace SMImp {
//! Smart Meter protocol implementation.
/*!
Most variables have been named after their respective names given in the original research paper available [here](htt... |
7bd983ea6e1c412093892407acc3cb00b2fcd7dc | 2465bcdb1d6873308ef81af01001c5c2bb6c7d6c | /practica2.cpp | 4116b2bc77c4e26c5f6cd0f1aff625263ff866db | [] | no_license | mvelazco231201/ejercios-con-c- | d5f0b06149b6b941db48f309ef04468d1fcd3633 | 072692356d319d6579b35429e2555166cba4def8 | refs/heads/master | 2022-08-01T13:47:04.374363 | 2020-05-23T14:58:49 | 2020-05-23T14:58:49 | 266,357,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | practica2.cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
string Nom,Ap1,Ap2;
main ()
{
cout<<"Escribe tu nombre: ";
cin>>Nom>>Ap1>>Ap2;
cout<<"Hola "<<Nom<<" "<<Ap1<<" "<<Ap2<<endl;
system("pause");
}
|
a2c1e9b2ef36597c358e31d197109736dbd26f1a | 0422f61b3460b40ddaa2ffa8bafbc30592a0cb6a | /stm32_demo/src/SingleLED.cpp | 72c5be1a11461490b8e73ee88b9028a8df81afff | [] | no_license | sosaysthecaptain/stm32_demo | a07af7204701c739bd6fac93c8769709fd410c29 | d36cc7cce1e0deb81aa0cd393bd705db8c8f014e | refs/heads/main | 2023-07-26T06:19:51.828446 | 2021-09-12T03:15:03 | 2021-09-12T03:15:03 | 405,519,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cpp | SingleLED.cpp |
#include <Arduino.h>
#include "SingleLED.h"
void SingleLED::turn_on() {
digitalWrite(pin, HIGH);
};
void SingleLED::turn_off() {
digitalWrite(pin, LOW);
};
|
917bdbf7149edfafde4a1294af3bea44006c564d | 0b1c8e6114010216f0b241c3373a691a8d337184 | /src/main.cpp | 41a51d6fc3c284e23140787e6f37efb223e72371 | [] | no_license | pemesteves/CAL1819_PROJ | ea9b0ff2674dc382a6377a3d44339f1ad674f295 | 09a76600cdaf32d08a011cd397683d5eb65c5cd3 | refs/heads/master | 2020-06-03T20:54:07.786185 | 2019-06-13T08:55:54 | 2019-06-13T08:55:54 | 191,727,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,347 | cpp | main.cpp | #include "Graph.h"
#include "map.h"
#include "MutablePriorityQueue.h"
#include "VertexInfo.h"
#include "graphviewer.h"
#include "citySightseeing.h"
#include "Person.h"
#include "ViewableGraph.h"
#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
#include <time.h>
using namespace std;
const... |
2b12b17befcca3459159fbafd8bf4e5104c689f5 | 94d6604e99530c17862a3eb9ce58d22502f3d144 | /2018-R1/EthanTraversesATree.cpp | 6ba9bf83a008d08c39347fe5e14e80918933e388 | [] | no_license | hiroshi-maybe/fbhackercup | 80b650a5fcd1deea0523774ff076982a34e8e597 | 7d38dc125f9334395a75c2022c92efe520d02673 | refs/heads/master | 2020-03-22T13:46:39.699195 | 2019-07-04T04:28:03 | 2019-07-04T05:24:33 | 140,131,156 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,507 | cpp | EthanTraversesATree.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <sstream>
#include <set>
#include <map>
#include <iostream>
#include <utility>
#include <cctype>
#include <queue>
#include <stack>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <unordered_set>
#include <unordered_map>... |
ac46ddcdb9772e69599511394a37226b05239ad7 | 764fb3d2dfa99516001435e5ffec054f66627c91 | /game.cpp | 9035aa95b8a924708817a6673d885ec003d86267 | [] | no_license | rubensfig/awesome_game | 73ce99c53069bd430e7e4d27d99415e4b7ac9c39 | 88198b649ebcfd36e92b8ca0914c8b74348f28e2 | refs/heads/master | 2021-10-08T16:28:16.969421 | 2018-12-14T16:51:46 | 2018-12-14T16:51:46 | 118,663,184 | 0 | 0 | null | 2018-04-17T19:40:52 | 2018-01-23T20:08:39 | C++ | UTF-8 | C++ | false | false | 267 | cpp | game.cpp | #include "game.hpp"
namespace game {
int game::init() {
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
handler.set_window(&window);
return 0;
}
int game::run() {
while(true)
handler.display();
return 0;
}
} // namespace game
|
0d6a2c02000c9626a7b0d067bc8d41fe16e56d39 | 204f18e5cb30172134c3a1af9bbc7d0fedef4895 | /nhap/Nháp/Source.cpp | d2af360e82ec2ac643752d78f96fe53c8737b4aa | [] | no_license | legendaryposja/pDo_an_cuoi_ky_1_mon_nhap_mon | 868bc46ca3f4982ee34647aee3d623f796c100bb | 45ed32568589a42222fac32f26a6727d04a59837 | refs/heads/master | 2021-01-10T08:37:26.346121 | 2015-11-15T01:41:08 | 2015-11-15T01:41:08 | 46,166,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | Source.cpp | #include<iostream>
using namespace std;
int main()
{
cout << "\nChao anh chuc";
system("pause");
return 0;
} |
67678d5c80efc004d2a4947d560f57afcc4a0ff8 | ec84f374cc8ea2564e0413f6627c48a73eeb6d25 | /Baekjoon/7569.cpp | 577aecfdd3e4cac1dc51537618620e2189f19438 | [] | no_license | hyp3rflow/ProblemSolving | 4c45a3456f908bdea126dd2d2149685be05035d3 | 57997516e4476cd729a07904c8de1cfda023a8b6 | refs/heads/master | 2022-12-25T17:42:46.217628 | 2020-10-07T13:53:24 | 2020-10-07T13:53:24 | 182,381,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | cpp | 7569.cpp | #include <iostream>
#include <algorithm>
#include <queue>
using namespace std;
int M, N, H, arr[110][110][110], check[110][110][110], maxx;
queue<pair<pair<pair<int, int>, int>, int>> q;
int main(){
cin >> M >> N >> H;
for(int k=1; k<=H; k++) {
for (int i = 1; i <= N; i++) {
for (int j = ... |
186c09ad62664246b8c86a65addfdec1928ece21 | 9939aab9b0bd1dcf8f37d4ec315ded474076b322 | /libs/core/iterator_support/include/hpx/iterator_support/traits/is_sentinel_for.hpp | 90fe628d39b67e0179628b9f02c9caaf69a9e674 | [
"BSL-1.0",
"LicenseRef-scancode-free-unknown"
] | permissive | STEllAR-GROUP/hpx | 1068d7c3c4a941c74d9c548d217fb82702053379 | c435525b4631c5028a9cb085fc0d27012adaab8c | refs/heads/master | 2023-08-30T00:46:26.910504 | 2023-08-29T14:59:39 | 2023-08-29T14:59:39 | 4,455,628 | 2,244 | 500 | BSL-1.0 | 2023-09-14T13:54:12 | 2012-05-26T15:02:39 | C++ | UTF-8 | C++ | false | false | 2,338 | hpp | is_sentinel_for.hpp | // Copyright (c) 2020 Giannis Gonidelis
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <hpx/iterator_support/traits/is_iterator.hpp>
#include <typ... |
8d2513c55997964216f653b35485f86accf13577 | c55442637e28a050bac568aadfabbd07c83d896a | /摔倒检测/mykinect.cpp | 7d338e2b3e603e087ba038fea775eb5e810d9636 | [] | no_license | takeabreakcomeon/Kinect-2.0 | e40f6a44bd894810250f1b7389fd26e5dacf252f | 82e16609381a5dc2c454d57372f1b00fe452bd29 | refs/heads/master | 2022-11-19T07:32:45.329350 | 2019-08-02T05:29:32 | 2019-08-02T05:29:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,925 | cpp | mykinect.cpp | //--------------------------------------【程序说明】-------------------------------------------
//* 程序描述:基于Kinect的ppt演示系统
//* 开发测试所用IDE版本:Visual Studio 2013
//* 开发测试所用OpenCV版本: 3.0 beta
//* 开发测试所使用硬件: KinectV2 Xbox
//* 操作系统:Windows 10
//* Kinect SDK版本:KinectSDK-v2.0-PublicPreview1409-Setup
//* 2017年4月 Created by @胡保林 hu_no... |
1619ba39ef9a427ee790125757c29a010fda95e8 | b69d1419c67cf158f2acc397490ced9fa786e06f | /label_createsamples/label_createsamples/SampleMaker.cpp | 62c5de25e9ed57116ec345fc49b67656b95abdd3 | [] | no_license | philip28/Dev | 4df3743bddd398666ebd93a0af035259de6588c7 | 4ffff58fe160bd2c98c7e24b749552f72b0372e6 | refs/heads/master | 2021-09-13T18:40:08.463558 | 2018-05-03T07:01:05 | 2018-05-03T07:01:05 | 106,701,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,932 | cpp | SampleMaker.cpp | #include "SampleMaker.h"
#include "Plane.h"
#include "Cylinder.h"
#include "ImageReader.h"
#include "InfoWriter.h"
#include "shading.h"
#include "opencv2/opencv.hpp"
#include "RandGen.h"
bool SampleMaker::ViewAngleTransform(cv::Mat src, cv::Mat dst, double xangle, double yangle, double zangle, int dist)
{
cv::Size si... |
973b5aa4a0226410adfdcc22fc0c48c2d61ee05b | cf0f55a04c2cc8e67c3d591310a1e59ccc69ce4f | /src/Wallet/WalletUtils.h | 3511fa385795e63be115e9abd781e7a75a0ef03a | [
"MIT"
] | permissive | interplanetaryreservecurrency/THOMASSON | a297dc827b04a93b86bc75632cccd2fc6498eac3 | 72d57c41b0ffe174e193b5a54d6675e0e3143fcc | refs/heads/master | 2023-03-02T18:08:17.397874 | 2021-02-08T17:37:11 | 2021-02-08T17:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | h | WalletUtils.h |
#pragma once
#include <string>
#include "CryptoNoteCore/Currency.h"
namespace CryptoNote {
bool validateAddress(const std::string& address, const CryptoNote::Currency& currency);
}
|
08cc0d2c8f6e73a70ba2733af68934c5f5f959af | 02d407e1fd46402924c8a1aac4e85201797f41ea | /src/site/model/ewa_sitesmodelview.cpp | 0688396d04561fefab7207447c3f76c438f7ab8b | [] | no_license | sendevent/ewa | e512d359eef63282015704e87fbc8c8734314a26 | d5cf45d66f94cc0d410c0ec08b69f1dc2b25062e | refs/heads/master | 2020-03-29T21:08:26.311451 | 2015-09-22T22:35:48 | 2015-09-22T22:35:48 | 6,777,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,562 | cpp | ewa_sitesmodelview.cpp | /*******************************************************************************
**
** file: ewa_sitesmodelview.cpp
**
** class: EWASitesModelView
**
** description:
** TableView for sites list model.
**
** 23.03.2009
**
** sendevent@gmail.com
**
*************************************************************************... |
4f29f84708585a77e72193212217f31d834ea6a7 | befb5781817e783e804f5fb0797f3f1414d693e7 | /Boss2D/addon/ziparchive-4.6.7_for_boss/ZipArchive/ZipCompressor.cpp | 6792db9750fb7fb79bf6b8cfb919a410aec7f6bb | [
"MIT",
"GPL-2.0-only"
] | permissive | Yash-Wasalwar-07/Boss2D | 41b619de7d8d356aa9fc988b921128ef446b39ff | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | refs/heads/master | 2022-12-31T13:49:32.272540 | 2020-09-30T18:00:15 | 2020-09-30T18:00:15 | 300,007,175 | 0 | 0 | MIT | 2020-09-30T17:57:55 | 2020-09-30T17:57:54 | null | UTF-8 | C++ | false | false | 2,874 | cpp | ZipCompressor.cpp | ////////////////////////////////////////////////////////////////////////////////
// This source file is part of the ZipArchive Library Open Source distribution
// and is Copyrighted 2000 - 2019 by Artpol Software - Tadeusz Dracz
//
// This program is free software; you can redistribute it and/or
// modify it under the... |
65febbf744e3768d01ade540c645e181408fae31 | ef9505fb4b8a55157f0c499e7d1dcbdc0e4de514 | /interface/customer/CustomerNotFoundInterface.cpp | c3f7d103b462143842ac0a327e776a8d05763ec5 | [] | no_license | corentingosselin/HotelManagementSystem | e85df2b894fd9cbac309477429dff5c16931739d | 6d21cc130b7556e5e2c58940e1d877f9c8d39598 | refs/heads/master | 2023-03-04T19:46:45.653454 | 2021-02-13T15:39:26 | 2021-02-13T15:39:26 | 338,606,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | cpp | CustomerNotFoundInterface.cpp | //
// Created by prodigy on 19/12/2020.
//
#include "CustomerNotFoundInterface.h"
#include "../main/HomeInterface.h"
#include "CreateCustomerInterface.h"
CustomerNotFoundInterface::CustomerNotFoundInterface(Hotel *hotel) : Interface(hotel) {
this -> lines = {
"•••••••••••••••••••••••••••••••••••••••••... |
07f14736d8fcecf28cf693bcd2cbb8245223e44c | d4da591603776d86bbf6dbec9c458c15fa739f09 | /include/app/scriptWrappers.hpp | 4739ed856d19f1c5d5fdd68d7444054cc2f3223a | [
"MIT"
] | permissive | averrin/hellfrost | 7fdd22fe9af0bd8d4be56a93b33c479e3bebd2f0 | 41ca6e477e8c8c9f9140afa56665803aa93590ca | refs/heads/master | 2020-05-24T02:48:58.292964 | 2019-12-30T12:23:38 | 2019-12-30T12:23:38 | 187,060,939 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,672 | hpp | scriptWrappers.hpp | #ifndef __SCRIPTWRAPPERS_H_
#define __SCRIPTWRAPPERS_H_
#include <lss/deps.hpp>
namespace hf = hellfrost;
class EntityWrapper {
entt::entity entity;
public:
EntityWrapper(entt::entity e) : entity(e) {}
std::string getId() {
auto registry = entt::service_locator<entt::registry>::get().lock();
auto meta ... |
42d107d1c63ad8ebb2ef455a0936384c1b5b0ff6 | 4bf28e7c875816ea998880a53255adce8dcfb74b | /src/Testes.cpp | 1b96a69a9b0fa0809fd574112e583aea2fb24993 | [] | no_license | jaopsb/trab2_tp1 | d3118b3e5c2068b88dd1a06c50cfcf1d0d776974 | 8c8da11a93372cf6f65fe6edcabbefa8ebb6d4b1 | refs/heads/master | 2020-04-01T21:58:53.151285 | 2018-11-22T23:30:14 | 2018-11-22T23:30:14 | 153,684,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,111 | cpp | Testes.cpp | #include <iostream>
#include <stdexcept>
#include "dominios.hpp"
#include "Entidades.hpp"
#include "Testes.hpp"
using namespace std;
/**\brief tem_teste(). Funcao geral para realizar um teste.
*
* Cada classe utiliza a função para enviar a funcao de teste e padronizar a saida, seja sucesso ou erro
* Recebe uma string... |
fcd3da0cb9342dd620d9860266f9ffcb3330b493 | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /multimediacommscontroller/mmccsubcontroller/inc/mcculdlclient.h | 3e24bf93e6a712cbcd53ac9bed6cb412e8118938 | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,872 | h | mcculdlclient.h | /*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... |
ffc6c9e24189de04b07de9fd1d411a36bab6e26e | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Tracking/TrkEventCnv/TrkEventTPCnv/TrkEventTPCnv/TrkEventPrimitives/LocalDirectionCnv_p1.h | fb5f03af2757e35f0955509b583e397b83810b2d | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | h | LocalDirectionCnv_p1.h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
//-----------------------------------------------------------------------------
//
// file: LocalDirectionCnv_p1.h
// author: Lukasz Janyst <ljanyst@cern.ch>
//
//--------------------------------------------------------------------------... |
959600835e2f29a14b483acde03a81287b75c17c | 4b37afa533dac1e8884f047b5a1643990f98d6e0 | /Entrega/figth.h | 99619afa672d15107fc71ad4f7a3783a5ed68f0e | [] | no_license | CS1103/practica-calificada-2-Fgarcia19 | d1099b24af601790da39d5bd48c379ad0dfe75f7 | 44c77df87c9413a607e57be10d4800de486f2cbc | refs/heads/master | 2022-01-21T19:27:37.467691 | 2019-05-10T18:32:17 | 2019-05-10T18:32:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | figth.h | //
// Created by fabrizio on 5/10/19.
//
#ifndef PC2_FIGTH_H
#define PC2_FIGTH_H
#include "fighter.h"
class figth {
protected:
fighter* a;
fighter* b;
fighter* winner;
int score;
public:
//figth(std::string p1, std::string p2);
figth(fighter* _a,fighter* _b);
void resultado();
};
#endi... |
8a720ea007f9727b765ebf02f2aebb01a0bb1c9c | b650ed4b71eeaa72b9fe6f503a61c1049d3a6eab | /utilwin32.h | af550ba0ef14ecf8619a52f04944e7165e2dee5c | [] | no_license | nathanhung0918/tetris | deacdfccd4c5772f802d82b47c7dde015904cb15 | d5ba27cec47cef3b1318259ac8052378e9ebdcf0 | refs/heads/master | 2022-11-07T18:57:44.388004 | 2020-06-29T19:35:13 | 2020-06-29T19:35:13 | 275,908,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | utilwin32.h | #ifndef UTILWIN32_H
#define UTILWIN32_H
#include <iostream> // cout
#include <stdlib.h> // system()
using namespace std;
//#include <windows.h>
void gotoxy(int x, int y);
void clrscr();
//WORD setTextColor(WORD color);
// FOREGROUND_BLUE(0x01), FOREGROUND_GREEN(0x02), FOREGROUND_RED(0x04), FOREGROUND... |
83b58702b6a34678650ab4a60b4054ca5dd715d0 | f868c8fd48e423e22c493c8772a64f3a6810354a | /Timer.h | 7fe2056a3a6b7e9cf0fa8519db255b9736cd98e2 | [] | no_license | SusanLJY/Symbol-Shot | 0fb84c39f59f5fb9951a0e35fe859dd5dbddaa86 | ae7aa73b31f6922e50a9eb7a7378ae507ba53e10 | refs/heads/main | 2023-01-11T04:37:21.611191 | 2020-11-21T15:21:26 | 2020-11-21T15:21:26 | 306,814,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | Timer.h | // Timer.h
#ifndef _TIMER_H
#define _TIMER_H
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <iomanip>
#include "NewGame.h"
#include "Playing.h"
using namespace std;
//Declare the Timer class
class Timer{
private:
long pause_time;
//Using 2 boolean to symboliz... |
f82062146ea4d26e1d673d12055f77daad753661 | 85bfd312afa6b3d17a1112c22cf928dd01db6c87 | /src-qt5/desktop-utils/lumina-pdf/propDialog.cpp | 0c26af745e5fcc5d77987e043c3842d6e805dc4a | [
"BSD-3-Clause"
] | permissive | boronology/lumina | a304bd180ebcfa9fd6f2a7e6468e3c0569195e40 | 9409ccbf9b56fad22063456497095a211f7bac8c | refs/heads/master | 2021-05-01T21:11:43.375326 | 2018-02-09T20:18:06 | 2018-02-09T20:18:06 | 120,973,370 | 0 | 0 | null | 2018-02-10T01:26:04 | 2018-02-10T01:26:04 | null | UTF-8 | C++ | false | false | 2,086 | cpp | propDialog.cpp | //===========================================
// Lumina Desktop source code
// Copyright (c) 2017, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#include "propDialog.h"
#include "ui_propDialog.h"
#include <LuminaXDG.h>
... |
c42e69df9518e1ab3e9735014c687643bda824ab | 42e2f193035923532440adecaeaba3a4691fe4a9 | /omnetpp samples/Proxy.cc | 3b6110d707daa80007db8a0a5e5d681cfa50d526 | [] | no_license | samr13/Computer-Performance-Modelling | 72a4fad274fa70e4c29bfccf1636ef5027dfd149 | 12266c4a2b6201486caf9ffd181a336f5c0a0573 | refs/heads/master | 2021-01-20T20:08:40.709978 | 2017-02-22T23:14:14 | 2017-02-22T23:14:14 | 64,570,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,405 | cc | Proxy.cc | #include <stdio.h>
#include <string.h>
#include <omnetpp.h>
#include <deque>
#include <WebRequest.h>
#include <QueueNode.h>
class Proxy :public QueueNode {
private:
cMessage *event;
cMessage *currentlyServing;
cMessage *original;
QueueNode *node;
std::deque<WebRequest*> requestQueue;
protect... |
9a3a99ff0a63111f7bcc9171ef64e8b5e35acabe | 58639b83a04874df3e199f76f866432d5eeeee7f | /src/Websites/GeeksForGeeks/Arrays/page 2/FindSmallestNumberMissingInRange.cpp | b1ff84f4ea60591b2b2e7438b98cf42bd0c14385 | [] | no_license | avikodak/ProgramsV3 | 0b2047dcd914b2c87b726255e3527a3e6173ca61 | ba578d59b56a0a13f4b21631e071e6948a22ef3f | refs/heads/master | 2016-09-06T13:38:23.294513 | 2013-03-19T09:19:54 | 2013-03-19T09:19:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | cpp | FindSmallestNumberMissingInRange.cpp | /*
* FindSmallestNumberMissingInRange.cpp
*
* Created on: Feb 19, 2013
* Author: Avinash
*/
//
// Testing Status
//
#include <string>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <ctime>
#include <list>
#include <map>
#include <set>
#include <bitset>
#... |
60d03c61391c7e7598c59a0a714edfb12c3c329e | 4f0bcae41e9c9748fcb63c0edfb054a50cb07372 | /pcl_tutorials/src/velodyne2map_pt2.cpp | d777d53b14dc4cb2e598feb693f7d942232f5212 | [] | no_license | hukkun/Robotics | 9ce9f2d7a997f45b924b95ce8a21220f4f58755f | d13040f76a2c20d109c22cadb690d2d6c01d9bac | refs/heads/master | 2021-09-06T13:47:54.660903 | 2018-02-07T05:03:14 | 2018-02-07T05:03:14 | 120,082,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | velodyne2map_pt2.cpp | #include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/point_cloud_conversion.h>
#include <nav_msgs/Odometry.h>
#include <pcl/point_cloud.h>
#include <pcl_ros/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl_conversions/pcl_conversions.h>
#include <... |
89bce4fb656ad072927582b2290878b447a654c0 | 9ea53045edab514a735860fd9090f03ab2320dc5 | /Interface/MissionWindow.cpp | 639ee13b704d14718bb36e471b9cad3562697870 | [
"MIT"
] | permissive | palestar/darkspace | 47b74f0859980c7710624a014d62fd8b6d84017c | 3d88d7318bb20c92cb69464fa5521da93a871b17 | refs/heads/develop | 2023-05-27T06:53:06.020217 | 2023-05-05T12:53:24 | 2023-05-05T12:53:24 | 59,434,431 | 41 | 27 | MIT | 2023-05-01T13:16:38 | 2016-05-22T21:07:16 | C++ | UTF-8 | C++ | false | false | 875 | cpp | MissionWindow.cpp | /*
TextMission.cpp
(c)2000 Palestar Inc, Richard Lyle
*/
#include "Debug/Assert.h"
#include "Interface/GameDocument.h"
#include "Interface/WindowMission.h"
//----------------------------------------------------------------------------
Constant UPDATE_MISSION_WINDOW( "UPDATE_MISSION_TEXT", 5.0f );
//-------------... |
b5ff03dd59c009f5e01fff5cc158da926ceb8632 | 89273186f1772c05fc716125e9a4e96e42507d1d | /CN/SocketProgramming/MultiPort(Multi Process)/client.cpp | c85aec0d22c93ba09b21c6ff9c4a49aa06d0d3ca | [] | no_license | Avi-ab007/Semester | 10aa5e4f60280598ddcccb4d9a17237f2c4ca778 | 289eed63367b6da6919c7fa396efb389d6012dbc | refs/heads/master | 2020-03-12T11:14:51.418401 | 2019-04-02T15:54:39 | 2019-04-02T15:54:39 | 130,591,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cpp | client.cpp | #include <bits/stdc++.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <pthread.h>
#include <sys/select.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <unistd.h>
using namespace std;
#define BUF_SIZE 1024
#define IP "127.0.0.1"
unsigned long int port[... |
72167f38e402c82b384be46ea607c66f69a92bca | 1f1520c2065f558511dac7361ae2c1e5fb040fc4 | /C++_Coding_Practice/udemy_complete_c++/12.lambda_expressions/lambda_expression1.cpp | 550e8ffaa7bb888bff44be3d92e5065266c19cee | [] | no_license | sandy1618/LiveCodeRelive | 89a15e9f4ac16474c8a1ffad0df6601bd2fe2b99 | 529eb3b1809d6ccfa835ead148015a6685f5932f | refs/heads/master | 2023-09-03T08:51:03.647920 | 2023-08-27T08:51:53 | 2023-08-27T08:51:53 | 186,734,850 | 0 | 0 | null | 2022-09-20T22:50:32 | 2019-05-15T02:29:44 | Jupyter Notebook | UTF-8 | C++ | false | false | 610 | cpp | lambda_expression1.cpp | #include <bits/stdc++.h>
void swap(int& a, int& b){
int temp = a ;
a = b;
b = temp;
}
// Fuctin sort accectps array by reference
template<typename T, int size>
void Sort(T (&arr)[size]){
for (int i = 0; i < size-1;++i){
for (int j = 0; j < size - 1; ++j){
if(arr[j] > arr[j+1]) swap(a... |
4882c0abd2237361015d93dd5d72eb451496ea04 | 8a251b28c1a3c37d73a76d5cf80431e219d833ed | /libopenrv/libopenrv.cpp | 39a38aaffdf4c6009391bd36f50768d6f3e52fe6 | [
"Apache-2.0"
] | permissive | monumentsoftware/openrv | 8c4bf269e026f292dc66572295a3f1c86ad74cf7 | 4fa5a8b2cb3178041e94afd332571e3064fd5cd2 | refs/heads/master | 2020-03-07T17:40:26.383101 | 2018-06-13T20:02:04 | 2018-06-13T20:04:39 | 127,617,577 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,987 | cpp | libopenrv.cpp | /*
* Copyright (C) 2018 Monument-Software GmbH
*
* 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 la... |
d4047ad575a865759d955a2a521a01700b4ff8ad | 1ab4fbcf2edc212231dc7d13eebaeffde1d481a3 | /src/RabinKarp.h | 6dde91da2d720dd9b2a3dbf5a0cd815fcbd3a213 | [] | no_license | superjeffreyc/CS-375-Fall-2016-Term-Project | 4d93f0647d34fdbb159d1348ebd3203214cf78f7 | 702d95a5c2f32f7641c636ec1938332c9bd61485 | refs/heads/master | 2021-05-01T01:21:08.077616 | 2017-03-19T19:54:05 | 2017-03-19T19:54:05 | 72,783,903 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | h | RabinKarp.h | #ifndef RABINKARP_SEARCH_H
#define RABINKARP_SEARCH_H
#include "StringSearch.h"
class RabinKarp : public StringSearch {
std::string text;
std::string pattern;
int primeNumber; // Base multiplier for each character
int MSCfactor; // Most significant character multiplier
int lastSubstringIndex;
int pattern... |
2506698b6d41edd0140fc67c9ab969414ddedbef | 98b6001550c19fad60975e5dac262dde561e887b | /Cpp/lessons/lesson10_classes copy-move memory(&&)/main.cpp | 53df3857f23463a06de2e44203415b13624fe600 | [] | no_license | ArBond/ITStep | eee3998d7292ea110ee5f6fd39723cc5d7a095d8 | 8d013e349648e52c8753f94331dfe611086e57b5 | refs/heads/master | 2020-04-05T11:44:03.579526 | 2018-02-23T09:08:03 | 2018-02-23T09:08:03 | 81,499,847 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | main.cpp | #include <iostream>
#include "Student.h"
#include "string.h"
#include "Stack.h"
void swap(String& s1, String& s2)
{
String tmp = std::move(s1);
s1 = std::move(s2);
s2 = std::move(tmp);
}
void bubbleSort(String* arr, int count)
{
for (int i = count - 1; i > 0; i--)
{
for (int j = 0; j < i; j++)
{
if (arr[... |
366d9e4a9b3b87311383dd79232f0cc1bfae0119 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-iotevents/include/aws/iotevents/model/DeleteInputRequest.h | a4f2f4e4844cdcb4e1a4104ea8b012ab93c7aafc | [
"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 | 2,466 | h | DeleteInputRequest.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotevents/IoTEvents_EXPORTS.h>
#include <aws/iotevents/IoTEventsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoT... |
70cec683cb0a456947aa1edd7e0fe833168c00ae | e7899e202e3980a3fedb09333aadb4c7368dbab7 | /include/sqt/QPasswordInput.cpp | 7effad3c3dc5dd7b79719e473e01a05535e094e6 | [] | no_license | sarrow104/sqt | c55efbfac16cb7dc551f53f287dd9485b9929345 | 453f17447e154c444e26308f87e7fedae16140f9 | refs/heads/master | 2021-01-15T15:41:55.242418 | 2016-08-18T04:11:20 | 2016-08-18T04:11:20 | 57,085,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | QPasswordInput.cpp | #include "QPasswordInput.hpp"
|
efd3e1b5db075b8b7d45f677be070ce23f1e98cf | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1482494_0/C++/seraph/gcj2.cpp | 5e8d5c52c51ce241df3f8ff799a2d97d8c3d61af | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,420 | cpp | gcj2.cpp | // Template By Fendy Kosnatha (Seraph)
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <c... |
baf8f6b78013277f6829df29d40c2ac2f8c45b72 | d0df54d3df0b3b9aaff76a8cfcfb941a6ecfb3b7 | /ForthPassScene.cpp | b9892a991c0e8e006d2d735b3407fb67502ec93d | [] | no_license | yikui/2015spring_C--_to_2016autumn_designPattern_Classes | 2ad3bef9800ee2b00eb9b6442cc71453f9f6eea3 | d2607b441cc084adb51dd301beccd15a9fbb4299 | refs/heads/master | 2021-01-12T12:10:33.281674 | 2016-12-02T12:12:05 | 2016-12-02T12:12:05 | 72,332,756 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,288 | cpp | ForthPassScene.cpp | #include "ForthPassScene.h"
Scene* ForthPass::createScene()
{
Scene* scene = Scene::createWithPhysics();
scene->getPhysicsWorld()->setGravity(Vec2(0, 0));
Layer* layer = ForthPass::create();
scene->addChild(layer);
return scene;
}
bool ForthPass::init()
{
if ( !GameBackground::init()... |
e53be84f226fae6ae0ca06bea0893de7a6df2086 | bd1e469e9648e20015e1096e879ac318dd5d9c7b | /2-20.cpp | af1557ed7cf345d3bf94ccbc89b92a209758af70 | [] | no_license | XxJjTt6/- | 53be17f8df6bd4d949677bacd61215d347cbaf25 | 25bfc44109048f99310dc39248d2010a4da0b519 | refs/heads/main | 2023-07-08T06:37:16.547382 | 2021-08-12T12:57:09 | 2021-08-12T12:57:09 | 331,028,568 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,006 | cpp | 2-20.cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
//int main() {
// char strings[] = { 73, 32, 99, 97, 110, 32, 100, 111, 32, 105, 116, 33 ,0};
// printf("%s\n", strings);
// return 0;
//}
//int main()
//{
// int a[8] = { 0 };
// for (int i = 0; i<8; i++)
// {
// scanf("%d", a[i]);
// }
// printf("year=%d%d%d%d", ... |
0955f6b0b6efe6cc8452a7827d4308f1524b680e | f0a6186fcdbf7d8427c84bac5f6b6c003bb4ca04 | /Estudiantes/Saul/Trimok/main.cpp | 18a76d629c005479d2f738f68949e34253addb08 | [] | no_license | billywalker182/C-Plus-Plus | 062a02fec43bb3d46c2610eff1b4b36e3a7fba1e | f6283929632a3cd36988951da2cfe56afc9e3b81 | refs/heads/master | 2023-03-21T05:23:09.906974 | 2021-03-16T02:37:59 | 2021-03-16T02:37:59 | 321,184,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | main.cpp | #include <iostream>
#include "Trimok.h"
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
Trimok MenuJuego;
MenuJuego.visualizar();
return 0;
}
|
617dce83fcb7610dd2094ad05bfd95f9f5f90b74 | 482d45e6c2e7a78cedab6c35c0a47b3103209aa1 | /games/snake/bonus/src/SnakeCell.cpp | 92a3ddbb5348e5311086ebc4f8ce2769b9d067f8 | [] | no_license | anthony-leclerc/arcade | e6f34f0323abf73f14cf6c3182e4de8024ec9de8 | 1fe6aedf9451cbe571fcde7cecfc9151c21c3d5b | refs/heads/master | 2021-04-28T18:20:49.222125 | 2018-02-05T19:34:07 | 2018-02-05T19:34:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | SnakeCell.cpp | //
// SnakeCell.cpp for arcade in /home/sylvain/Documents/projets/tek2/c++/cpp_arcade/games/snake
//
// Made by Sylvain Chaugny
// Login <sylvain.chaugny@epitech.eu>
//
// Started on Sun Mar 19 23:10:19 2017 Sylvain Chaugny
// Last update Tue Apr 4 10:16:38 2017 Sylvain Chaugny
//
#include "SnakeCell.hpp"
#include... |
d2f9ea9c7025438e031f300b96dd212b1531d6b7 | be3cd77272def7fddcaff9f7df5b079df44732dc | /freeLib/src/exportdlg.cpp | 8f08f9e7a4590e497f82c5ebf7167d0dc3d68080 | [] | no_license | Semanticworld/freeLib | 6c64a3654af696114858b33d1e5ee4ae3f619bfe | 2ae105ba5a9ac1cbb3bda8d78394254eaab94fbf | refs/heads/master | 2022-12-17T16:57:51.808890 | 2020-08-12T17:52:36 | 2020-08-12T17:52:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,500 | cpp | exportdlg.cpp | #include "exportdlg.h"
#include "ui_exportdlg.h"
ExportDlg::ExportDlg(QWidget *parent) :
QDialog(parent,Qt::Window|Qt::WindowSystemMenuHint),
ui(new Ui::ExportDlg)
{
ui->setupUi(this);
connect(ui->AbortButton,SIGNAL(clicked()),this,SLOT(BreakExport()));
itsOkToClose=false;
worker=0;
//threa... |
f39dd32a591cf544da0b93eb994e39e5b81e02aa | d8c958a39c957ca3e090a857f9383c0f925c78ca | /Skybox.cpp | 5dff85c8adc4bebfe6533c63a09308be6b45bd87 | [] | no_license | Mattshew/Stranded | 7951e89a805732f71d103a2a92820cce7ac50bd1 | 6e87d7e6d054f62ac409ca00c3b2569cac02bf3e | refs/heads/master | 2020-03-09T23:48:38.223119 | 2018-04-11T09:27:19 | 2018-04-11T09:27:19 | 129,066,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,998 | cpp | Skybox.cpp | #include "Skybox.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h> // include math functions, such as sin, cos, M_PI
#include <iostream> // allow c++ style console printouts
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
Skybox::Skybox()
{
toWorld = glm::mat4(1.0f);
cubemapTexture =... |
d874c6b5d14af4e8731e4d014d6418baa83522a3 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /src/ShapeAnalysis/ShapeAnalysis_BoxBndTree.cxx | a5aaa8d55ec21d422fa9e0c9bdac22bf4c680c4c | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,080 | cxx | ShapeAnalysis_BoxBndTree.cxx | // File: ShapeAnalysis_BoxBndTree.cxx
// Created: 14.02.05 12:39:31
// Author: Alexey MORENOV
// Copyright: Open CASCADE 2005
#include <ShapeAnalysis_BoxBndTree.hxx>
#include <Standard_NoSuchObject.hxx>
#include <ShapeAnalysis_Edge.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Edge.hxx>
#incl... |
3bb28afa60080fc11585422805fef5c3c0b965ae | 81bd5b508a73edd1110bcd4e621a10928268cf78 | /lib/mmd/model/model_rigid_body_impl.inl | 143db4f1c61c40aa1446b2c2d81dcde898f60f4e | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RohitVen/Skinning | af05f97d5ec5ca513f36072233ceabe54b9b2e2f | d951061ea2abad0350a51846e3185302385683bb | refs/heads/master | 2021-01-12T16:58:10.491158 | 2016-12-02T21:38:43 | 2016-12-02T21:38:43 | 71,478,147 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,375 | inl | model_rigid_body_impl.inl |
/**
Copyright itsuhane@gmail.com, 2012.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
**/
//// class Model::RigidBody
//// vmember: name
inline const std::wstring&
Model::RigidBody::G... |
d1d40afc3b5522fed113e2e3901bc1486ca3a17a | 7578a25dabac36915b9439a6bd8649508489e0c3 | /MinMaxQueueUT/include/MinMaxQueueTest.h | a1ca415affdf21dd1b2874fdd38dc633df22903f | [] | no_license | sergey-uvarov/NetworkOptix | a581d8b6ffb9eab0bdfb28486b2679d424e336d4 | d10ae41ac7690831f011cfaa8e8164827935fd9b | refs/heads/master | 2023-09-01T01:28:05.866925 | 2021-10-09T20:30:20 | 2021-10-09T20:30:20 | 410,503,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | h | MinMaxQueueTest.h | #include <gtest/gtest.h>
#include "MinMaxQueue.h"
template<class T>
class MinMaxQueueTestFixture : public ::testing::Test
{
public:
void PushTest(const T &value);
void PushTimeTest();
void PopTest(const T &value);
void MinMaxTest(const T &value, const T &value2);
void MinMaxComplexTest(std::list<... |
a99af02ce55906837a4311326d707402771be2e9 | d1ded79a772369a73e0c05cab6c62d32eb8deb04 | /Core/src/Modules/IModule.h | 68c03436c0489ed6d5686c40be473b5f5f26497a | [
"MIT"
] | permissive | AlecLafita/Effects | 9fc4c5b38bc18ee4fb4c8b0d7a0a32a6b5a58027 | 4bb7a366016434f57da892db9f42fe80d6497650 | refs/heads/master | 2022-12-11T10:49:32.364434 | 2020-06-13T11:32:03 | 2020-06-13T11:32:03 | 266,508,008 | 0 | 0 | MIT | 2020-06-13T11:32:05 | 2020-05-24T09:23:25 | C++ | UTF-8 | C++ | false | false | 602 | h | IModule.h | #ifndef EFFECTS_ENGINE_I_MODULE
#define EFFECTS_ENGINE_I_MODULE
namespace effectsEngine
{
/**
* Interface for a module.
*/
class IModule
{
public:
/**
* Constructor.
*/
IModule() {}
/**
* Destructor.
*/
virtual ~IModule() {}
/**
* Initializes the module.
* \return True if everthin... |
d3d45b7d8f40bfea02f2a01552aa57dba9a232de | 16d602863c711d80f91c5966ed9c36e662acfd3e | /HW8/hw6_grading/tests_hw5/test16.cc | e9329ac9c7f16bafbf499c5621c2ddfdf856a819 | [] | no_license | nklisch/Software-Development-Cpp-cs253 | 95639522e29a33121a4ade8143301d870b4f21e7 | 6db99dc68fc6aaf686bb53634a0c39034e622a77 | refs/heads/master | 2022-12-21T13:17:54.958263 | 2020-09-19T16:43:58 | 2020-09-19T16:43:58 | 205,699,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cc | test16.cc | #include "Gallery.h"
#include "Enemy.h"
#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <stdexcept>
#include <sstream>
//
using namespace std;
int main() {
const Gallery g("bond-villains","file0");
const Gallery h(g);
assert(g.size() == h.size());
}
|
89d95de5f7db666ef46bf3906bd7998ec12a657e | b06126d225c3fd72aacd5635e11df9047f71dc0b | /Engine/Source/Core/Intersectable/PSphere.cpp | b212bb670e7c9d629e2a86d8efa6e06798675ff1 | [
"MIT"
] | permissive | MarvinChung/Photon-v2 | 80deaa52c723f0a34bb1d84e829b251012b2626c | a42761797f5364525e5686cd7fe2eff6f5b04ddf | refs/heads/master | 2020-04-03T20:43:08.028086 | 2019-01-25T20:31:11 | 2019-01-25T20:31:11 | 155,555,269 | 1 | 0 | MIT | 2018-10-31T12:39:52 | 2018-10-31T12:39:51 | null | UTF-8 | C++ | false | false | 7,859 | cpp | PSphere.cpp | #include "Core/Intersectable/PSphere.h"
#include "Common/assertion.h"
#include "Math/constant.h"
#include "Core/Bound/TAABB3D.h"
#include "Math/math.h"
#include "Math/TVector3.h"
#include "Core/Ray.h"
#include "Core/HitProbe.h"
#include "Core/HitDetail.h"
#include "Core/Intersectable/PrimitiveMetadata.h"
#include "Core... |
6f6531213a8b7450d78d3084d370e75bc69787d0 | ff2a67bf39eed526d3299f961ea1f6f28aa7e6ab | /extras/pv_functions/include/decays.hpp | 1b6b546cd88e895c26588a2f4f5e19756ae8e3dd | [] | no_license | JamesHMcKay/Mass_builder | 70465cb9dd3ac9e6987304de3ebdba529ae82aa1 | f25cc004559818f7488a2c34552eedc6ca9f2ee0 | refs/heads/master | 2021-03-22T00:22:06.540604 | 2018-10-05T08:38:25 | 2018-10-05T08:38:25 | 66,006,342 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | hpp | decays.hpp | #ifndef DECAYS_H
#define DECAYS_H
#include "pv.hpp"
#include "mdm.hpp"
#include <vector>
#include <cmath>
#include <sstream>
#include <string>
#include <iostream>
#include <complex>
#include <fstream>
using namespace std;
typedef complex<long double> dcomp;
class Decays
{
private:
Data data;
MDM mdm;
int me... |
047f10459ed2e4b74175a3661403539acf1974c2 | f2ee22679f4015815f567c38089d396971e4c51a | /CAASystem.edu/CAASysComponentBOA.m/LocalInterfaces/CAAESysCreateInstanceForComponentBOA.h | 0bc1a5abb9137658f4c0c73dc46a285188811936 | [] | no_license | poborskii/CAADoc_SelectAgent | 72f0a162fa7a502d6763df15d65d76554e9268fe | 51e0235ef461b5ac1fd710828c29be4bb538c43c | refs/heads/master | 2022-12-06T01:19:28.965598 | 2020-08-31T02:48:11 | 2020-08-31T02:48:11 | 291,596,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | h | CAAESysCreateInstanceForComponentBOA.h | #ifndef CAAESysCreateInstanceForComponentBOA_H
#define CAAESysCreateInstanceForComponentBOA_H
// COPYRIGHT DASSAULT SYSTEMES 2003
//===========================================================================
// Abstract of the class:
// ----------------------
//
// Code extension of the CAASysComponentBOA componen... |
adb06e5c9f34ae4a63204c4628d944354d3b42ea | 18c5920065d5c03737476b085bbd0b330dd585bf | /dang-utils/include/dang-utils/stub.h | a7eb73e2dbb276c3bf6db7b8c9fc51909917f62f | [] | no_license | Possseidon/dang-lib | 35dcbb1b672b587bdf8624be11d912ee889189f6 | 0993b42941bfafda771c9ac8592d03464d345b53 | refs/heads/master | 2023-08-17T05:12:54.509495 | 2022-11-15T06:28:12 | 2022-11-15T06:28:12 | 236,157,235 | 2 | 1 | null | 2022-11-21T19:36:50 | 2020-01-25T10:47:46 | C++ | UTF-8 | C++ | false | false | 1,832 | h | stub.h | #pragma once
#include <array>
#include <cstddef>
#include <functional>
#include <iterator>
#include <memory>
#include <optional>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
#include "dang-utils/utils.h"
namespace dang::utils {
template <typename TSignature>
class S... |
170ba973bc3b9f27c9522b8156de14510844ae04 | 53c151933f7fe31e4289df6c122f3e8015887cac | /mappability_tag.cpp | f2ce8851d4096995064f4686a28b04038c410993 | [] | no_license | duartemolha/smash-paper | 665636944ce6c3c98b1470c09b424350e1a2e7c1 | ad94a97b88413b05578b3b9eac5765a3095c131d | refs/heads/master | 2021-01-21T04:04:42.210525 | 2016-08-10T09:57:44 | 2016-08-10T09:57:44 | 65,370,943 | 0 | 0 | null | 2016-08-10T09:49:17 | 2016-08-10T09:49:17 | null | UTF-8 | C++ | false | false | 3,482 | cpp | mappability_tag.cpp | //
// mappability_tag
//
// Copyright 2015 Peter Andrews @ CSHL
//
#include <algorithm>
using std::find_first_of;
using std::min;
using std::max_element;
#include <numeric>
using std::accumulate;
#include <exception>
using std::exception;
#include <functional>
using std::ref;
#include <iostream>
using std::cout;
u... |
6346e05d4b45ec56df9b9246b843e7bbf2735341 | b14d0320258203ec6eec2db349c1fd65dfeec45c | /TRAINING 5/lais.cpp | bffeed76e81068d554824bcb0e21f04736072e99 | [] | no_license | vanpham1411/thuattoanungdungHUST | fa1c3c8d88f9fe0d28177e2db732e3d36d60233a | 025323e8fe8db88c2439a3ec76337f38186da1b3 | refs/heads/master | 2023-05-05T22:52:59.891887 | 2021-05-26T16:30:30 | 2021-05-26T16:30:30 | 371,099,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | lais.cpp | #include<bits/stdc++.h>
using namespace std;
int n;
long long a[1000001];
bool visited0[1000001];
bool visited1[1000001];
int ans = 0;
int s[1000001];
bool check(long long a,long long b){
if(a<0 && b<0) return false;
if(a>0 && b>0) return false;
a = a >0 ? a: -a;
b = b>0 ? b :-b;
if(a >b ) return true;
else ... |
c513c26806bc1882c01fdffa27550a6dbd700720 | 27e9ea7f277bf747ac262cd108c327561d4f3cb5 | /CardGame/Hand.h | fb6f09587fd12870b2a52fca5bd9872cbf58f99a | [] | no_license | CaptainAdmiral/Card-Game | 4c17990f59bb2039c5c0efada7abb12430086eec | 7da09e1ef507d83101009023601cb81b5d734e69 | refs/heads/master | 2022-04-04T13:03:59.541176 | 2020-02-13T03:15:46 | 2020-02-13T03:15:46 | 196,883,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | h | Hand.h | #pragma once
#include "AbstractCardContainer.h"
#include "IRenderable.h"
class Hand : public AbstractCardContainer, public IRenderable {
public:
static constexpr GameObjectType TYPE = GameObjectType::HAND;
Hand();
Hand(float x, float y);
~Hand();
virtual void card_in(CardPtr) override;
virtual CardPtr card_out... |
b4d4c6deb8eeea66395cd2fcc7977972caa204b2 | 62510fa67d0ca78082109a861b6948206252c885 | /bearpi-hm_nano-oh_flower/00_src/bearpi-hm_nano_oh_fun/test/xts/acts/kernel_lite/ipc_posix/signal/SignalTest.h | 1a58b0e40492122b5af9f2f3140a45c5f1d6407d | [
"Apache-2.0"
] | permissive | dawmlight/vendor_oh_fun | a869e7efb761e54a62f509b25921e019e237219b | bc9fb50920f06cd4c27399f60076f5793043c77d | refs/heads/master | 2023-08-05T09:25:33.485332 | 2021-09-10T10:57:48 | 2021-09-10T10:57:48 | 406,236,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | h | SignalTest.h | /*
* 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 applica... |
7e13a91b9cabc8ef86bc1a74e62c8ab0668761d1 | 04f7112bb9f33921cd39c027621c612b1c60f9cc | /Dali/dali-core/dali/internal/update/gestures/gesture-properties.h | 60d1adb04b74322234469a2c8d804b2501c1e78e | [] | no_license | zg2nets/windows-backend | c5cf568a3f865405a0b47c1208c9720fe00f0d02 | 8af57e6a295a810b51654d70af2e3e10b5a771bb | refs/heads/release | 2020-09-10T01:54:58.611433 | 2020-02-21T04:29:24 | 2020-02-21T04:29:24 | 221,619,486 | 0 | 0 | null | 2020-02-21T04:29:25 | 2019-11-14T05:32:57 | C++ | UTF-8 | C++ | false | false | 4,091 | h | gesture-properties.h | #ifndef DALI_INTERNAL_SCENE_GRAPH_GESTURE_PROPERTIES_H
#define DALI_INTERNAL_SCENE_GRAPH_GESTURE_PROPERTIES_H
/*
* Copyright (c) 2019 Samsung Electronics 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 m... |
a51d0da4561ac9a7ba8e960bb9b10c66fe5177b8 | 30f964025120e044cdc9d0c3eb50830939377ce5 | /unit-tests.wsjcpp/src/unit_test_procedure_set_value.cpp | b3e722800ad113b4ab0f5dacd8863f88aa0be127 | [
"MIT"
] | permissive | wsjcpp/wsjcpp-safe-scripting | 18731c8ac9ecde6d2b458a47118cdf99398bcf35 | 38c4f9c14894880fef94a7874d83a9bdbb969d90 | refs/heads/master | 2021-04-18T09:37:37.516923 | 2020-09-28T05:52:03 | 2020-09-28T05:52:03 | 249,530,645 | 1 | 0 | MIT | 2020-09-18T15:21:12 | 2020-03-23T19:56:35 | C++ | UTF-8 | C++ | false | false | 2,372 | cpp | unit_test_procedure_set_value.cpp | #include "unit_test_procedure_set_value.h"
#include <vector>
#include <wsjcpp_core.h>
#include <wsjcpp_safe_scripting.h>
REGISTRY_WSJCPP_UNIT_TEST(UnitTestProcedureSetValue)
UnitTestProcedureSetValue::UnitTestProcedureSetValue()
: WsjcppUnitTestBase("UnitTestProcedureSetValue") {
}
// ---------------------------... |
8fa7a6a953f47b8fea750c52d8c27ef00e7fb26a | 991e81bda62cd59b9e29349d94f58cccda81c9d1 | /chapter_04/c04_ex10.cxx | 63c789156b51199cda0de891e9d4103d288cc7bf | [] | no_license | kadilak83/cpp_primer_plus | 313fdc9179d385370d996aa05afa4f4d98af4749 | 7b21954bba067932b5f91ee4561f97b8d39ccd09 | refs/heads/master | 2021-09-04T04:11:28.794019 | 2018-01-15T13:25:14 | 2018-01-15T18:08:04 | 107,288,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cxx | c04_ex10.cxx | // Write a program that requests the user to enter three times for the 40-yd dash (or
// 40-meter, if you prefer) and then displays the times and the average. Use an array
// object to hold the data. (Use a built-in array if array is not available.)
#include <iostream>
#include <cstdlib>
#include <string>
#include <arr... |
e3022269fd1b7be9a14cd012e89ce11e0abcaa4e | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/external/3rd/library/dpvs/implementation/sources/dpvsVQData.cpp | 34069c3f186956038cc9ff8a7cb22028715b154c | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 5,946 | cpp | dpvsVQData.cpp | /*****************************************************************************
*
* dPVS
* -----------------------------------------
*
* (C) 1999-2001 Hybrid Holding, Ltd.
* All Rights Reserved.
*
* This file consists of unpublished, proprietary source code of
* Hybrid Holding, and is considered Confidential In... |
fcc13e9ecfbc19dec903af207fb033c03f385644 | e8776ddf041d94306c7d21c1dfd89fc1f9314c08 | /1244_A.cpp | 9d0ef4c81e14a5dbc99ba1542a55f6dcb6ebcc24 | [] | no_license | EbrahimAli-RU/Online-Problem | d5e4ef497675d0178319c532aaab010aab103280 | f654dcdd33dd1a7b1b36f705dabb3d3be61bce97 | refs/heads/master | 2020-07-17T15:27:39.884536 | 2019-12-04T05:39:53 | 2019-12-04T05:39:53 | 206,045,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | 1244_A.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d,k,testCase;
cin>>testCase;
float f,g;
for(int i=0;i<testCase;i++)
{
scanf("%d %d %d %d %d",&a,&b,&c,&d,&k);
f=float(a)/float(c);
// printf("%lf",f);
g=float(b)/float(d);
if... |
bec84e3cbf6a290df1ef8d7ba2aaff32eba41d4c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_162_squid-3.1.23.cpp | 026737a503fe5426b305e5d8971ade487bf7b648 | [] | 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 | 1,119 | cpp | squid_repos_function_162_squid-3.1.23.cpp | static void
debug(char *format,...)
{
#ifdef DEBUG
#ifdef _SQUID_MSWIN_
#if FAIL_DEBUG
if (debug_enabled || fail_debug_enabled) {
#else
if (debug_enabled) {
#endif
va_list args;
va_start(args,format);
fprintf(stderr, "negotiate-auth[%d]: ",getpid());
vfprintf(stderr, format, args);
... |
10b08cb5243fc8c5fb72215a27e8b770b57c5ed4 | 895b66a83e41618d56930769ee6cd5dded17676a | /MNCompressor/Source/PluginEditor.h | b0227d97931d36198bdbd00894308ec526b29d28 | [] | no_license | MMNAudio/MNCompressor | 06ce94dcae7a8609eb73532789a96a0083ad2ade | 00fdb9c7e8f83acd2804ef6e6c141d98f32721fc | refs/heads/master | 2023-02-15T09:01:34.034892 | 2021-01-10T12:14:26 | 2021-01-10T12:14:26 | 260,167,111 | 0 | 0 | null | 2020-05-01T08:44:09 | 2020-04-30T09:22:07 | C++ | UTF-8 | C++ | false | false | 1,846 | h | PluginEditor.h | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include ... |
795f83f64d4300d1617fb6ee1795712f0de45b76 | 3a187a7c3562714eba8c2b96dd2fe980e7003e0b | /server/services/FileManager.h | c354b1445789de39d96dd2f7e2f54cc4055420e8 | [] | no_license | tomasnocetti/taller-trabajo-final | 08ccdfc0d6a398cfbfd525174a65520b7c69816d | 366c3089e010418dbae190405172336edab15298 | refs/heads/master | 2022-11-26T20:19:38.789010 | 2020-08-03T16:33:32 | 2020-08-03T16:33:32 | 268,593,609 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,180 | h | FileManager.h | #ifndef FILE_MANAGER_H
#define FILE_MANAGER_H
#include <string>
#include <map>
#include <vector>
#include <msgpack.hpp>
#include <fstream>
#include "../../DataDefinitions.h"
#define STR_LEN 30
#define INVENTORY_SIZE 9
#define ERROR_R_IFILE "Error reading Index File."
#define ERROR_WR_IFILE "Error reading Index File.... |
dcc0fc22dbd84a32faa5493c48c67d6d930cdd24 | c5eeca211c7aaed8d4066c970048bac766bc4018 | /Arrays/First Missing Integer.cpp | 5233fe7d33cd96fd29a7aa84907f2867a3fd8866 | [] | no_license | ANKIT-11999/InterviewBit-Solutions | 252113cd1d75319d3019b66a19b9793eb1cab0ec | 3cf2c5055661dc7ec3592609d598e93f50f11543 | refs/heads/main | 2023-02-20T13:41:36.279088 | 2021-01-26T13:32:45 | 2021-01-26T13:32:45 | 332,464,071 | 0 | 0 | null | 2021-01-24T14:41:08 | 2021-01-24T14:01:41 | C++ | UTF-8 | C++ | false | false | 369 | cpp | First Missing Integer.cpp | int Solution::firstMissingPositive(vector<int> &arr) {
int n = arr.size();
for(int i=0;i<n;i++){
if(arr[i] <=0)
arr[i] = n+1;
}
for(int i=0;i<n;i++){
int ele = abs(arr[i])-1;
if(ele <n && arr[ele] >0)
arr[ele] = -1*arr[ele];
}
for(int i=0;i<n;i++){
if(arr... |
ac61df9139f7426aae87305c8e08f80708ee6a53 | d6e4353e5f9f1a9f393a290f2cb942b754e2cda4 | /Práctica4/Asteroids/HolaSDL/BounceOnBordersPhysics.cpp | fb2fbf337ad7e8c168b6d0456b5d57569d609373 | [] | no_license | xBlacKnife/TPV_GDV | 7a3676aa308c17e1fb3a688153ef2e9d0cd9ff82 | 45eb38f597b1199ce210ebb73cbab82d31397edf | refs/heads/master | 2021-04-28T21:06:47.441114 | 2018-05-19T08:16:24 | 2018-05-19T08:16:24 | 121,943,724 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | cpp | BounceOnBordersPhysics.cpp | #include "BounceOnBordersPhysics.h"
BounceOnBordersPhysics::BounceOnBordersPhysics(bool left, bool right, bool up,
bool down) :
left_(left), right_(right), up_(up), down_(down) {
}
BounceOnBordersPhysics::~BounceOnBordersPhysics() {
}
void BounceOnBordersPhysics::update(GameObject* o, Uint32 time) {
Vector2D v... |
cd0dc4ae8d1639fe3da15e4da7212035acb5ad28 | 480b0502e909a31b1aa8df5397c84939d6e2cff1 | /FileEncryption/Copy.h | 71e5b9228cb6f46f9c858c7d233c84fa6b180b78 | [] | no_license | jcarrabino/OSU-Projects | 67bcef7423a84bcf4296069ee29920888d8c7b5f | d91b10315ecdb4180ef76a1596f7664e26fdc48c | refs/heads/master | 2021-01-11T12:27:45.605860 | 2017-01-18T14:54:06 | 2017-01-18T14:54:06 | 79,349,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | h | Copy.h | /*********************************************************************
** Program Filename: Copy.h
** Author: John Carrabino
** Date: 7/17/2016
** Description: This is the Copy class specification file
* Input: n/a
** Output: n/a
*********************************************************************/
#ifndef COPY_H
... |
ed7d4ff965f44d59c7523e91fa19a917c58aac41 | 1c547086a2845c5915963e4ce02feb49bb4597d5 | /rozdzial_10_ciwiczenia_klasy/src/Plorg.cpp | a041d02d2ebfa55f3123918a5213f414f8dc0c94 | [] | no_license | kornellewy/c-trening | f93262e953c8d5d2a838b463e1d42e84358ef595 | a6e9fd90542f3bd1fb25567d073bc5db52417f7b | refs/heads/master | 2020-06-17T15:30:04.768508 | 2019-07-09T08:20:23 | 2019-07-09T08:20:23 | 195,964,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | Plorg.cpp | #include "Plorg.h"
#define LOG(x) std::cout << x << std::endl;
#define GET(x) std::cin >> x ;
#include <iostream>
Plorg::Plorg(std::string imie, int wsp_sytosci)
{
//ctor
if (imie.length()<20)
{
m_imie = imie;
m_wsp_sytosci = wsp_sytosci;
}
else
{
LOG("imie za dlugie")
... |
4ac3524c1d19ac4abcf2e1da10965f1be3ab7d66 | 30053404b32fdf9109905238aab2984712a4b100 | /whisperstreamlib/f4v/test/flv_to_f4v_app.cc | 5df482db3475123ea9188923b45ddbf0df6f5578 | [] | no_license | cpopescu/whispercast | 667caef3c44387cd066f9ffaf46787bcaa5861fa | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | refs/heads/master | 2020-04-11T02:36:38.805833 | 2013-05-24T15:32:08 | 2013-05-24T15:32:08 | 2,916,370 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,126 | cc | flv_to_f4v_app.cc | // Copyright (c) 2009, Whispersoft s.r.l.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of cond... |
9cfbed369a8e5a129a47539f6bbd988df7b12df7 | 1288eb8c02cadb969f7237f060f3d0968df7833d | /Zoo.h | 1e0f24d180e363534afc6aa4e09afdbebb050f94 | [] | no_license | ChildOfJustice/Zoo | 53811a5906f2d833330e2a625c6bdcd7d6c17eff | f0cb2917d1cbd1be452116f184c97575dd138480 | refs/heads/master | 2020-06-16T16:09:17.981388 | 2019-07-10T18:23:03 | 2019-07-10T18:23:03 | 195,631,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | Zoo.h |
#ifndef ZOOO_ZOO_H
#define ZOOO_ZOO_H
#include <vector>
#include <memory>
#include <iostream>
#include "Animal.h"
class Zoo {
private:
int sizeForUnique;
int size;
std::vector<std::unique_ptr<Animal>> animalsWithUnique;
Animal** animals;
public:
Zoo(int sizeForUniquePtrs, int _size);
v... |
58922d6bad8e18fec4327b99c0341e53c1dc004e | 3309fe4346e8349a3c4dbe59d176b13bf986a394 | /USACO/18fbp1.cpp | ced477a169e7058b56aa0ee5ef990c10c98cdb3c | [
"MIT"
] | permissive | eddiegz/Personal-C | 9fddbe2ba6a0429f32a9eee8ecd1e89cac168586 | f7869826216e5c665f8f646502141f0dc680e545 | refs/heads/main | 2023-07-16T07:04:02.895452 | 2021-08-25T12:15:06 | 2021-08-25T12:15:06 | 367,570,556 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | 18fbp1.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,x,y;
freopen("teleport.in","r",stdin);
freopen("teleport.out","w",stdout);
scanf("%d%d%d%d",&a,&b,&x,&y);
int answer=min(abs(a-b),abs(a-x)+abs(y-b));
answer=min(answer,abs(a-y)+abs(x-b));
printf("%d",answer);
} |
16bb77a5ebe3b8fc82081e4a2b5f5b98c4f8a16b | 7233e8b260354f973c0b031dd869e6f5b6bfd4b7 | /default/54.cpp | 7a6d1fe6933db1d9485aa2eb96fb1578426693a7 | [] | no_license | Shadowmaple/Leetcode | 2a59b812d16e9a544d51762fd6edad4138b2e424 | 2323f5728a08a4e6f289decf481ae187c7f7541e | refs/heads/master | 2021-08-22T14:23:57.507553 | 2021-07-23T11:35:24 | 2021-07-23T11:35:24 | 204,666,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | 54.cpp | # include <iostream>
# include <vector>
using namespace std;
class Solution {
public:
vector<int> spiralOrder(vector<vector<int>>& matrix) {
vector<int> res;
int row1 = 0, row2 = matrix.size()-1;
int col1 = 0, col2 = matrix[0].size()-1;
while (row1 <= row2 && col1 <= col2) {
... |
93d5c3c582f05e150210be7e024af7a5c98d712e | f9929cfb0b03d0795ae19c40030b2e01c9eabee2 | /Camera.cpp | a26c482aed5522247ab5369b38e51c478fc3cc3f | [] | no_license | magic8421/BlockBuilder | 68086f3bb46438c205d3b29bbb1ef693c064954d | f8f88ee3f7758360b7c14c3b9f335e640339472f | refs/heads/master | 2020-04-08T23:25:54.957879 | 2018-12-05T10:21:51 | 2018-12-05T10:21:51 | 159,824,158 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,646 | cpp | Camera.cpp | #include "StdAfx.h"
#include "Camera.h"
#include "BlockBuilder.h"
#include "block.h"
#include "Chunk.h"
#include "Utility.h"
extern CChunk g_chunk;
CCamera::CCamera(void):
m_vecCamera(40.0f, 40.0f, 40.0f),
m_vecLookAt(0.0f, 0.0f, 0.0f),
m_speed(0.0f, 0.0f, 0.0f),
m_bActiveWnd(FALSE)
{
m_viewHoriz ... |
cd055969bec4525de974390166e25645a6d3df9b | 7cdbac97437657022daa0b97b27b9fa3dea2a889 | /engine/source/console/consoleExprEvalState.h | f5bf42f727532fd387913b9ff93bbd9641f83d7a | [] | no_license | lineCode/3SS | 36617d2b6e35b913e342d26fd2be238dbb4b4f3f | 51c702bbaee8239c02db58f6c974b2c6cd2271d1 | refs/heads/master | 2020-09-30T18:43:27.358305 | 2015-03-04T00:14:23 | 2015-03-04T00:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | h | consoleExprEvalState.h | //-----------------------------------------------------------------------------
// Torque
// Copyright GarageGames, LLC 2011
//-----------------------------------------------------------------------------
#ifndef _CONSOLE_EXPREVALSTATE_H_
#define _CONSOLE_EXPREVALSTATE_H_
#ifndef _CONSOLE_DICTIONARY_H_
#include "cons... |
e9ae1d6a39313f01a515eada4a5ff61f4ff961b0 | 2bdc300448862f0703cea9b26e314524b5e3f526 | /youme_voice_engine/thirdparties/common/src/Ne10/modules/dsp/NE10_fft_int32.neonintrinsic.cpp | 208ca3298bcd65eadbd0cf6dcd224000db610a1c | [
"BSD-3-Clause"
] | permissive | gavinlwz/AVSDK2 | 217f233539071ccb241a8178dc502026fa52475b | 848a087191e21ecd5e918f3e5334847fbf7bfd7d | refs/heads/master | 2022-12-28T03:55:22.995809 | 2020-10-12T09:57:38 | 2020-10-12T09:57:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,568 | cpp | NE10_fft_int32.neonintrinsic.cpp | /*
* Copyright 2013-15 ARM Limited and Contributors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... |
ef4c351c3055fcdf93f2c039fa529a2b15c3a2eb | ebb57ef66ebb06635131e8a8675ddb7d5a799dc7 | /tutorial_code/intro/Load, Modify, and Save an Image.cpp | 223d1aacb0c20b77ef7c369b610b8302ae43329e | [] | no_license | jayzhan211/OpenCV-ToysClub | bc412e928848bfcd762b3c21ced1db0cc4b65cb2 | e03140beb40d7c7a9c3f9dbe34fb455c2a8f5dca | refs/heads/master | 2021-10-28T00:30:36.754448 | 2019-04-20T13:26:27 | 2019-04-20T13:26:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | Load, Modify, and Save an Image.cpp | #include <opencv2/opencv.hpp>
#include <iostream>
#include <string>
using namespace cv;
using namespace std;
int main(int argc, char** argv){
String imageName("../images/002.jpg"); // set image path,(default)
Mat image;
image = imread(imageName, IMREAD_COLOR); // Read the file
Mat gray_image;
cvtColor(image, gray... |
be936a4e3a242f72a3e36b7d765cf6df4d0857ed | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/MediaCompositing_parameters.h | e6f39a8d59e5f3596b022aff3822ef9c6ce81668 | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | h | MediaCompositing_parameters.h | #pragma once
#include "../SDK.h"
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Functi... |
198f4378f808e55043714e2c85f5e5e3dfbd6489 | daaa38e3ce4c9bac1d827c98f637b513d68b3b76 | /sipp/gssmsgw/.svn/pristine/11/114b4d4ce9d130727dd98b39ff31f2f965fd4c88.svn-base | 0b44bcaf2b9af25b7200597fea2ad8ca9017e362 | [] | no_license | netaudio/sippscripts | 1f487ac56bae0619956956a2c6d712c24569079a | 1fc3d2f40ab1e35a8b4820604fa2c7fba5e595e1 | refs/heads/master | 2021-04-26T12:24:26.341468 | 2018-03-21T11:23:15 | 2018-03-21T11:23:15 | 124,010,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,722 | 114b4d4ce9d130727dd98b39ff31f2f965fd4c88.svn-base | #include "stdafx.h"
#include "boost/lexical_cast.hpp"
#include <cacti/util/MD5.h>
#include <cacti/util/StringUtil.h>
#include "sgippacket.h"
#include <time.h>
#define new DEBUG_NEW
bool SGIPHeader::fromStream(cacti::Stream &content)
{
FAIL_RETURN(content.get32(totalLength));
FAIL_RETURN(content.get32(command));
F... | |
23773feee5219ea29a08a177225f031d5e9ee324 | 3dc9e81f36b6ad11eede68b59a5a7864412e70c3 | /tutorial/tutorial.cpp | 4706f729ec7b5902f3bbab443fb7df289dcec8fb | [] | no_license | h4ck3rm1k3/maketea | 20c2ab5a9b8f258e8ef93cd67e980e4f33093fb8 | 6d007eea9f0c3abda2190d2ca5f2fbf29ea2ddad | refs/heads/master | 2021-01-19T04:52:54.265187 | 2010-09-08T10:27:56 | 2010-09-08T10:27:56 | 5,910,720 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | tutorial.cpp | #include <iostream>
#include "AST.h"
#include "Unparser.h"
#include "XML_unparser.h"
#include "Eval.h"
#include "Add_prints.h"
using namespace std;
int yyparse();
extern AST_program* program;
int usage(char** argv)
{
cerr << "usage: " << argv[0] << " (--pp|--xml|--eval|--debug)" << endl;
return -1;
}
int main(in... |
6c82368c7ed01e159d8cdcd20d81c7e0845aa633 | 618e55cef1a98ae8f9f80dd4078df1668a312bb6 | /EngineTest/Source/Utility/Concurrent/TSPSCExecutor_test.cpp | 0c8b689c974f129b84f9e741330d634d57b73677 | [
"MIT"
] | permissive | TzuChieh/Photon-v2 | 8eb54ee9f3ae51bb241896a2fc62d10b553eaab9 | 498724a7ae4f42884499ee13e548013b2799ea7f | refs/heads/master | 2023-08-31T22:43:30.667848 | 2023-08-23T09:43:14 | 2023-08-23T09:43:14 | 70,727,398 | 93 | 8 | MIT | 2019-03-04T12:18:54 | 2016-10-12T18:07:46 | C++ | UTF-8 | C++ | false | false | 2,451 | cpp | TSPSCExecutor_test.cpp | #include <Utility/Concurrent/TSPSCExecutor.h>
#include <Utility/TFunction.h>
#include <gtest/gtest.h>
#include <functional>
#include <thread>
#include <vector>
#include <atomic>
using namespace ph;
TEST(TSPSCExecutorTest, ConstructWithoutWorkAndProcessor)
{
for(int i = 0; i < 1000; ++i)
{
{
TSPSCExecutor<std... |
04b47a58862a9512b646ff2b186b44572b51fb9a | e70316f88b896d51a4820993b63bd3a575b849ec | /Common/Interpreter/Macros.hpp | 273148a7dd875d03336f34dcaabb2f4e89d4d32b | [
"Unlicense"
] | permissive | tedi21/SisypheReview | 0e634a2f24a3eb464dab3c050b7337462d0c8442 | a3eb490bf7d049e54ce845d4b4ae6da156927cd2 | refs/heads/master | 2023-02-09T08:11:52.522055 | 2022-07-31T16:09:22 | 2022-07-31T16:10:21 | 61,547,357 | 0 | 0 | Unlicense | 2023-02-04T12:00:11 | 2016-06-20T12:50:37 | C | UTF-8 | C++ | false | false | 24,265 | hpp | Macros.hpp | #ifndef _MACROS_HPP_
#define _MACROS_HPP_
#include "bebop.hpp"
#include "encoding.hpp"
using namespace fctr;
using namespace enc;
#define KEY(val) encode<ansi,EncodingT>(#val)
#define FACTORY_PROTOTYPE1(Name, P1) \
typedef Prototype1< P1 > Name##1;
#define FACTORY_PROTOTYPE2(Name, P1, P2) \
typedef Prototy... |
b9e04bd192dcfeff7d3bbcf71b4761a70c917d30 | 93118af24572c26bd98d36a148c6912c433da563 | /Draftsman/Source/DraftsmanGUI/Source/DraftsmanGUI/__private__/DraftsmanGUI.__private__.Config.cpp | ce220f87439fa11e54b7092e5d25bed928e897c2 | [
"MIT"
] | permissive | Robot-Fromage/Draftsman | d1c328ec9bf4e222a3953fc8132d574eb2012288 | d33417d7c34f48688205c275977bd7e34924a9b2 | refs/heads/master | 2020-04-11T16:29:05.734399 | 2019-02-24T23:39:16 | 2019-02-24T23:39:16 | 158,598,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | DraftsmanGUI.__private__.Config.cpp | /***************************************************************************************
*
* DraftsmanGUI
*__________________
*
* @file DraftsmanGUI.__private__.Config.hpp
* @author Clement BERTHAUD <code@clementberthaud.com>
* @date 18/12/2018
* @brief Implementation of DraftsmanGUI Config private module
* ... |
391a98768c664477faef12483a0ccaf83e428327 | 0c268ff10b68c4a24023ca646bb46c5a125eb84c | /Online_Contest/2019_Preliminary_Contest_NanChang/i_std.cpp | 54bada46f5fb84a159c95f470c36e2cbe902041d | [] | no_license | TzeHimSung/AcmDailyTraining | 497b9fb77c282f2f240634050e38f395cf1bedbc | 2a69fa38118e43cbeca44cb99369e6e094663ec8 | refs/heads/master | 2023-03-21T21:39:02.752317 | 2021-03-14T03:41:00 | 2021-03-14T03:41:00 | 159,670,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,724 | cpp | i_std.cpp | /* basic header */
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <cstring>
#include <cmath>
#include <cstdint>
#include <climits>
#include <float.h>
/* STL */
#include <vector>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <algorithm>
#include <array>
#in... |
08d16524d844e45db31cb28284f4c1b7195abe93 | ac27348f3b38e9d0df9751410ff84977359b8c20 | /DuplicateSpecial/Source/DuplicateSpecial/Private/DuplicateSpecialEdMode.cpp | 31a73bfc2117c65b1bef3dbeec412e2c38e7c269 | [
"MIT"
] | permissive | i-Madsen/Duplicate-Special-Tool-for-UE4 | 6cd1562daffeec9db85a9533612c3c24089e3eec | c633b33430c1cb3e25565a55bfca5f33a9c8b558 | refs/heads/master | 2021-07-07T00:54:19.024881 | 2020-08-28T19:39:16 | 2020-08-28T19:39:16 | 175,898,853 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | DuplicateSpecialEdMode.cpp | // Copyright (c) 2019 Isaac Madsen (isaacmadsen.com). Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at http://opensource.org/licenses/MIT)
#include "DuplicateSpecialEdMode.h"
#include "DuplicateSpecialEdModeToolkit.h"
#include "Toolkits/ToolkitManager.h"
#include "SDuplicateSpecia... |
b4a7dcb6e6ed27036be4a53d671695884e26c7ec | 10ce4f3ac3eef1f633af93d0fa9d098ae8f42990 | /src/samplemodels.cpp | 29c9ad85300d3e3cd68ff1a9918a84fd01e9f864 | [
"MIT"
] | permissive | NoCodeLowCode/3D-Visualization-and-Conversion-Tool | 1c583590bc1ceadf50b69f9baa8e3cf06e53027a | 81aa4cdc7a271099c9ba8bee53e6aeba33c2901c | refs/heads/master | 2021-09-17T02:45:16.083156 | 2018-06-26T23:39:21 | 2018-06-26T23:39:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,471 | cpp | samplemodels.cpp | #include "samplemodels.h"
#include <math.h>
#include "model.h"
using namespace std;
SampleModels::SampleModels()
{
}
Model* SampleModels::Empty()
{
const int numPts = 0;
float* points;
vector<Face*> faces;
bool **edges ;
Model *m = new Model(numPts, points, edges, faces);
return m;
}
... |
39d601b8b8a4fc29efe0c0a7386143e4b90de33c | fb0e651a452e469637d101deb0c2245591410bd8 | /ShadeOfTheCrescent.cpp | adcadb2cea574c9f1d546759330f4425fff9b133 | [] | no_license | yabem/Vintage-RPG | a29e971cec37e4f33d2692c99d5a912d72b2e6c2 | 7ba44c6519329bb3a4d0b58b4984d9b595b0c4d5 | refs/heads/master | 2021-01-10T18:35:11.363008 | 2015-12-02T03:46:16 | 2015-12-02T03:46:16 | 27,652,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,629 | cpp | ShadeOfTheCrescent.cpp | #include "ShadeOfTheCrescent.h"
//Default constructor.
ShadeOfTheCrescent::ShadeOfTheCrescent(){
imageStore = NULL;
fontStore = NULL;
initiator = NULL;
receiver = NULL;
font = NULL;
drawRepository = NULL;
damageToReceiver = 0;
}
//Destructor.
ShadeOfTheCrescent::~ShadeOfTheCrescent(){
... |
279e74ed600676c487798e4119a16a97f0bc1614 | 501a82ad7e539dbbd96be06a21d7d15e9e472fb5 | /Income_Tax_Calculator/Income_Tax_Calculator.cpp | c0c5a6e77422ba909064e5af739ad07d190e30af | [] | no_license | randyshahi/UniversityProjects | 43559370b04ddca8ab017bc21d0f7d0f498ebfd9 | 8d8e78dab2b126937eedca6286813a69fc68228f | refs/heads/master | 2020-08-29T14:03:43.076805 | 2019-10-28T13:43:44 | 2019-10-28T13:43:44 | 218,054,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,045 | cpp | Income_Tax_Calculator.cpp | //Author: Randeep Shahi
//DOB:OCT 7, 2014
//This code is to be used by atleast 1000 people to calculate
//their personal income taxes
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
////////////////First I will set all variables that will be used/////////////////////////
double Gross_Inco... |
e634f76311be4ed651e29e231761956f6011af21 | 6fd2ab69501d71844a7329f62a3e62718fe9a9dd | /tests/test_merge.cpp | 7e23f15f72b656cfa3f8ae5eeede6e1fe2883aef | [
"MIT"
] | permissive | facebookresearch/faiss | f6a7b9df838309e8a231653df2dc764ef43d355e | 9dc75d026d25b340771a7ef5d99b0f81a0dc5e34 | refs/heads/main | 2023-09-02T15:12:01.311542 | 2023-09-01T14:06:14 | 2023-09-01T14:06:14 | 81,227,005 | 24,723 | 3,437 | MIT | 2023-09-14T20:41:39 | 2017-02-07T16:07:05 | C++ | UTF-8 | C++ | false | false | 7,140 | cpp | test_merge.cpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdio>
#include <cstdlib>
#include <random>
#include <unistd.h>
#include <gtest/gtest.h>
#include <faiss/IVFlib.h>
#... |
f0c8f1a0f6cea2cd4fa22d7ee57c26242c6b25ee | 9a879c0669bc70facf5dc2fadaca2eff54bb8a53 | /alljoyn/services/onboarding/cpp/inc/alljoyn/onboarding/OnboardingControllerAPI.h | 36a5ebb03fb8d0083c4d073d422dcc3f52de14de | [
"ISC"
] | permissive | octoblu/alljoyn | d86c4d2bb60f989f52f3a3f9a0ce8d11ef5cd3f9 | a74003fa25af1d0790468bf781a4d49347ec05c4 | refs/heads/master | 2021-01-21T12:47:18.034834 | 2016-03-15T16:23:31 | 2016-03-15T16:23:31 | 21,958,119 | 37 | 29 | null | 2016-03-15T16:12:35 | 2014-07-17T21:24:28 | C++ | UTF-8 | C++ | false | false | 2,992 | h | OnboardingControllerAPI.h | /******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* 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 th... |
4bafac480b7aeaa7296da5103633cba4051bf429 | 727c574f0b5d84ae485b852ccf318063cc51772e | /ZOJ/ACM answer/ZJU Online Judge/1991/ZJU_1991.CPP | 7fed6c67848e6abbd5212ef664d1662e859df247 | [] | no_license | cowtony/ACM | 36cf2202e3878a3dac1f15265ba8f902f9f67ac8 | 307707b2b2a37c58bc2632ef872dfccdee3264ce | refs/heads/master | 2023-09-01T01:21:28.777542 | 2023-08-04T03:10:23 | 2023-08-04T03:10:23 | 245,681,952 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | ZJU_1991.CPP | #include <stdio.h>
#include <string.h>
int n , m;
bool g[201][201];
int pa[401] , pb[401] , k;
bool mx[201] , my[201];
int f[201][201];
void init()
{
scanf("%d%d" , &n , &m);
int a , b;
memset(g , 0 , sizeof(g));
for(int i=0; i<m; i++)
{
scanf("%d%d" , &a , &b);
if(a > n || b > n) continue;
a-- , b--;
g[... |
627d64a1e5c5d3ca4fc38ccbf2a8851a976ef413 | 53755ee4479c016171f0dd3b1f40cb51bddf5268 | /src/ofxOpenSurf.h | 2c5ec0141b4165764713dd1f4d7177d6b5077ed3 | [] | no_license | dinhtuyen/Practice | 6acc8df15a2a190af5ed3a435ef849c68256e505 | 380cf8743d31db5fa0e1e3b68c7d694ac5e29e79 | refs/heads/master | 2021-01-19T01:36:16.689229 | 2017-04-15T16:52:20 | 2017-04-15T16:52:20 | 87,249,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | h | ofxOpenSurf.h | #ifndef OFXOPENSURF_H
#define OFXOPENSURF_H
#include "ofxOpenCv.h"
#include "surflib.h"
#include "ofxSurfImage.h"
class ofxOpenSurf
{
public:
ofxOpenSurf();
virtual ~ofxOpenSurf();
//void ofxDrawIpoints(int x, int y, float sz, std::vector<Ipoint> &ipts, int tailSize=0);
protected:
... |
2fb6d561bc818f05d6c8ef88b78893d43cc984db | 956f3a4707138b2ccc333efa097cfcda62f8d1c8 | /class_function/cp_cnst6.cpp | ff80ed1284617637ddc6298a403d0d74a3cb7e32 | [] | no_license | fffclaypool/cpp-syntax | de65dd9f6b83eb9135a63cace9d2b6bc17457095 | 06f01c710560c53d7891c19b44250b964edf5f2d | refs/heads/master | 2023-07-13T10:11:28.377112 | 2021-07-25T08:51:31 | 2021-08-06T15:41:34 | 389,301,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | cp_cnst6.cpp | #include <iostream>
using namespace std;
class Clsx
{
public:
int x;
Clsx() { x = 999; }
};
class Mycls
{
public:
int y;
Clsx cx;
};
int main()
{
Mycls dt;
cout << "dt.cx.x=" << dt.cx.x << "\n"; // dt.cx.x=999
cout << "dt.y =" << dt.y << "\n"; // dt.y =-523579128 :: indefinite valu... |
dec098d5229809bfcc927e0f2d815c512147e0c0 | 43acba4f0ba2e937e54f144d0c211ce4ba15b59d | /src/gui/mainwindow/mainwindow.h | 4faf6effccaee3af0dc84d3a0539005fa7257402 | [
"Unlicense"
] | permissive | rthrh/imageflow | 99f49d43bffcb4153981f647f22d7a01d1bb1d5a | e4be67f0b19c67fcc597d19fb54ae076453b3202 | refs/heads/master | 2021-09-14T20:36:16.911645 | 2018-03-11T17:53:19 | 2018-03-11T17:53:19 | 116,143,796 | 3 | 1 | Unlicense | 2018-05-18T20:19:40 | 2018-01-03T14:06:40 | C++ | UTF-8 | C++ | false | false | 408 | h | mainwindow.h | #ifndef mainwindow_h
#define mainwindow_h
#include <QMainWindow>
#include <QScopedPointer>
#include <QTreeWidget>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
virtual ~MainWindow();
private:
QScopedPointer<Ui::MainWindow> ui;... |
eb2200d36645cf6b15919a85a6b40293ded32efa | 81d8c116511411db7ab8a1307e8ae6760c65018a | /libs/libwarhammerengine/gameboard.hpp | 0caf493c67a6a2319573d00be19508fabe27ce8e | [
"MIT"
] | permissive | julienlopez/QWarhammerSimulator | 1362ed848ad8c516bd06c31e75fa9a5bc6213b17 | bd6f5b657dab36da0abdf14747434a1c9e9eaf20 | refs/heads/master | 2021-12-28T15:48:49.478741 | 2021-07-13T16:43:34 | 2021-07-13T16:43:34 | 60,403,585 | 0 | 0 | MIT | 2021-07-13T16:47:35 | 2016-06-04T09:46:53 | C++ | UTF-8 | C++ | false | false | 196 | hpp | gameboard.hpp | #pragma once
#include "point.hpp"
namespace QWarhammerSimulator::LibWarhammerEngine
{
struct GameBoard
{
LibGeometry::Point size;
};
} // namespace QWarhammerSimulator::LibWarhammerEngine
|
a72197b806dc7c832b110ffe2a9ddbc59152cfb7 | 4163fac20a5a88691322de9f7cea84e25ab19ff0 | /MyAlgorithm/src/data_structure/tree/BinarySearchTree.h | 9c78b49f23fec0e15b69bc7f180904a116aa2571 | [] | no_license | jk983294/algorithms | c522cce35aff21fcd764922aaa58098a270a028c | d46a0b41a2f4c47879eacfffa0e3151ac3edba76 | refs/heads/master | 2022-12-07T06:40:19.532262 | 2022-11-24T07:42:06 | 2022-11-24T07:42:06 | 87,617,484 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,477 | h | BinarySearchTree.h | #ifndef BINARYSEARCHTREE_H
#define BINARYSEARCHTREE_H
#include "BinaryTree.h"
template <class T>
class BinarySearchTree : public BinaryTree<T> {
public:
void insert(T key); // 有序插入
TreeNode<T> *search(T key);
// 删叶节点或只有一个子女的节点很容易,如果删带两个子女的节点,采取将左树最大节点或者右树最小节点代替被删节点
bool deleteKey(T key);
// 合并两棵有... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.