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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2401089eb43275ec9a9d2e3763a784c3d07ccf45 | 6c0d209ef31cc818596b954f3d1631a1056096f8 | /src/collection.h | b6c00c2c7082f1bf04ca0866d75cc112fb8df956 | [] | no_license | neochapay/radon | 8543e3ffac4a1f11d99fca01e487ff19b682bc3a | 173ec1dba6e0cb7b1f50b87f079a56f11b7352ad | refs/heads/master | 2021-01-17T11:34:01.883530 | 2016-05-20T15:30:11 | 2016-05-20T15:30:11 | 30,340,075 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | h | collection.h | #ifndef COLLECTION_H
#define COLLECTION_H
#include "dbadapter.h"
#include <QObject>
#include <QFile>
#include <QDir>
#include <QVariant>
#include <QtSql>
class Collection : public QObject
{
Q_OBJECT
public:
explicit Collection(QObject *parent = 0);
~Collection();
QDir collectionDir;
QString col... |
3064d7b7fa30d20d93b08b58a512229c98eb7b49 | 05666bfc4f4d98f0fc7607b214afd1078bdc3378 | /Fucking Data Scientist/Cpp/Class/complex.cpp | 5dd76a26456cb5a96e9243df75cc42df9bea2d19 | [] | no_license | KalininSaveliy/Saviery | f2857ea15bc4c5b5effd61b6b9d81954fee02019 | 2abc118fc31eee6c3ed60b83e72c361527aa6083 | refs/heads/master | 2021-07-13T13:31:51.771433 | 2020-09-27T23:03:01 | 2020-09-27T23:03:01 | 210,689,830 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,487 | cpp | complex.cpp | #include <cmath>
#include <iostream>
#include <ostream>
// класс комплексных чисел в алгебраическом виде: a + i*b
class Complex
{
private:
double re; // действительная часть
double im; // мнимая часть
public:
Complex();
explicit Complex(double r)
{
re =... |
9246e3c5acff6d86064ddf2fef3296f8db2b6c00 | dccd1058e723b6617148824dc0243dbec4c9bd48 | /aoj/vol1/0186.cpp | d1c79a2e712a593dec00805931ac73812afc902a | [] | no_license | imulan/procon | 488e49de3bcbab36c624290cf9e370abfc8735bf | 2a86f47614fe0c34e403ffb35108705522785092 | refs/heads/master | 2021-05-22T09:24:19.691191 | 2021-01-02T14:27:13 | 2021-01-02T14:27:13 | 46,834,567 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | 0186.cpp | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main(){
while(1){
long q1, b, c1, c2, q2;
scanf(" %ld", &q1);
if(q1==0) break;
scanf(" %ld %ld %ld %ld", &b, &c1, &c2, &q2);
long x, y;
//まず買えるだけ買ってみる
long t=b/c1;
if(t>q2) x=q2;
else x=t;
//その時の普通の鶏肉の量
... |
18fa45ef6470aaffca718b7b6735a5a253598607 | 45d7ef74114645d1d1b4a9ab94f61498138be4d4 | /Project/project.ino | 580bfe78a6e666918604161f024d0e4446f55006 | [] | no_license | zeroease/SEIS744_Project | 19dab79e961e9c309606f5faa0119ee18155e6d3 | a2376c883065ed80a3c7d9d4b7a66e03ed32b981 | refs/heads/master | 2020-03-15T02:17:54.172463 | 2018-05-09T19:26:15 | 2018-05-09T19:26:15 | 131,914,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,065 | ino | project.ino | //ANTONIO DITOMMASO PROJECT FOR SEIS 744-01
//CODE PULLED FROM https://particle.hackster.io/Richa1/kid-tracker-1b58c9
// This #include statement was automatically added by the Particle IDE.
// add these libraries to you code to allow this functions to automatically be added by the Particle IDE.
#include "application.h"... |
b9e0a0ef9005aa37765108a785238fa3c4623010 | 0c3a864f8926f7f8b96e2a01954eed51b7d5222c | /Editor/GamePanel.hpp | 7fa534a9540043f929f1632be92f407134b307f6 | [] | no_license | anybirds/Newbie | de5a928e9aab4858da19561ad96d1b3147889105 | cb31413f82d10638f6c205b41b97a00226290b27 | refs/heads/master | 2021-09-18T12:27:52.109851 | 2021-09-06T15:32:19 | 2021-09-06T15:32:19 | 340,873,850 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | hpp | GamePanel.hpp | #pragma once
#include <memory>
#include <Panel.hpp>
class ATexture;
class AFramebuffer;
class Framebuffer;
class GamePanel : public Panel {
public:
static GamePanel &GetInstance() { static GamePanel gamePanel; return gamePanel; }
private:
GamePanel();
ATexture *gameTexture;
AFramebuffer *gameFrame... |
c11f127d55c92182cf91fe4c577156b99792b2b1 | 719b7a89983753a9a8dabda42552f0c2215c6795 | /icpcawards/icpcawards.cpp | 6af9593f1851a7eb981b6fe06e5c3703540e9878 | [] | no_license | p-lots/kattis | c524baea77fec03fb3ad9d50931ef24c89e9fee5 | 5bc7692d6eaf9ca2ff933be800aa6414de1f5a8f | refs/heads/master | 2020-05-21T14:43:18.804553 | 2019-11-25T00:36:29 | 2019-11-25T00:36:29 | 186,088,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | cpp | icpcawards.cpp | #include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
typedef std::pair<std::string, std::string> school_team_name;
typedef std::vector<school_team_name> name_vec;
std::vector<std::string> tokenize(std::string line)
{
std::vector<std::string> ret;
std::stringst... |
5b93014a6154e39aa87939fcc388a3ea20fe9b78 | e19dafb0eb4f282dab5a0644a02356a6cc2db15e | /Shutter.h | f40ae007ef7c062a2fd3c81f1c4049a6428dfc3c | [] | no_license | tchoblond59/MSRollerShutter | 58d5d93505bfba5809c659bdf7ba775f69b8f706 | 9d5047f65d3ef97e4285f4bffa1394a42c84638f | refs/heads/master | 2023-04-06T23:24:17.247471 | 2023-03-17T15:38:53 | 2023-03-17T15:38:53 | 177,821,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,868 | h | Shutter.h | #ifndef Shutter_h
#define Shutter_h
#include <Arduino.h>
#include "MyNodeDefinition.h"
//#include <C:\Users\julie\OneDrive\Documents\Arduino\libraries\MySensors\core\MySensorsCore.h> //If someone can explain me why i have to do this shit...
#include <OneWire.h>
#include <DallasTemperature.h>
//#include <timer.h>
// **... |
2cc3c455896239303e8eed0fad39170467bbb0a2 | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /swerc-2012-cf100438/j.cpp | e3b47d32af3ce7c12409e546e5cd7275129285d9 | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,755 | cpp | j.cpp | //#pragma GCC optimize("O3")
//#pragma GCC target("sse4,avx2,abm,fma,tune=native")
#include <bits/stdc++.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <typename T>
using ordered_set = tree<T, null_typ... |
a646d161369e2476a041776ac7f864b92dd6a7bc | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.14.0/VoiceSystem.h | 611a409f032dcd29902411747d04d2e98d3fa90f | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | h | VoiceSystem.h | #pragma once
class VoiceSystem{
public:
VoiceSystem(void);
void addCommand(MCGrammar,short,std::string const&,float);
void finalizeCommands(void);
void getCurrentGrammar(void);
void getDictationStr(void);
void init(std::string const&);
void isActive(void);
void reset(void);
void setTransla... |
59d99c93df3f054d333a61a7cf70cb0e48b53785 | 7a8dccad5960048658dd0241cfd75f3363f61c77 | /inc/source/source.h | ed36f28ecf5c9d60e1d5f50782e168431916c12d | [] | no_license | aszokalski/webmaster | 4daba53c1b50077011510e16a1f39d830f50cc92 | fadce6200ed5bdfe8c74350e2461ab12d7fcca96 | refs/heads/master | 2022-11-18T09:49:12.886101 | 2020-07-16T18:54:18 | 2020-07-16T18:54:18 | 280,233,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | h | source.h | //
// Created by Adam Szokalski on 20/11/2019.
//
#ifndef WEBMASTER_SOURCE_H
#define WEBMASTER_SOURCE_H
#include <string>
namespace source{
constexpr char END_OF_TEXT = '\3';
class Source {
private:
std::string raw; //Template html
int i; ... |
4521d5d303895613ce63f9b2f8166edac5169560 | 067a75f83ed29a756e9198a3aee375e5f2acddb9 | /Draw.h | f400de9c465a818bb9cbdcb26ecc282d43f8c503 | [] | no_license | RYUSAchan/Shooting | 5a48dfb3aea17e9a47ff9433f1df9ffb0def7e8a | 18c9d1539b05471c7a37a2b51e6f503a5617948c | refs/heads/master | 2016-08-12T14:28:15.766613 | 2015-10-29T06:17:01 | 2015-10-29T06:17:01 | 45,162,275 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,390 | h | Draw.h | //Draw.h
#pragma once
#include "GameObject.h"
#define CP_MIDDLECENTER 0 //中央
#define CP_LEFT 1 //x方向左
#define CP_CENTER 2 //x方向中央
#define CP_RIGHT 4 //x方向右
#define CP_TOP 8 //y方向上
#define CP_MIDDLE 16 //y方向中央
#define CP_BOTTOM 32 //y方向下
class DxFont : public GameObject
{
private:
LPD3DXFONT font;
public... |
cdb3f1abb706b3c02d733e02337f77b4d9791983 | 10c2ec47c85c53d4618611ced929cc20881b2369 | /lucas.cpp | c422ae8ef27df9521a218e19642803cfa6e0b445 | [] | no_license | butwedo/OI-code | 51c9d763120b6f977387734ca2cf54d037d915ed | 5727a35137108cf9224af7671994e7e2f41d3610 | refs/heads/master | 2021-06-24T11:40:46.973128 | 2017-09-11T06:37:55 | 2017-09-11T06:37:55 | 103,098,919 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 986 | cpp | lucas.cpp | #include <iostream>
#include <cstdio>
//hdu 3037
//对大数取模的Lucas定理:C(n,m)%p=C(n%p,m%p)*C(n/p,m/p)%p p为质数
//其中 C(n/p,m/p)可递归计算下去
typedef long long lld;
lld N,M,P;
//由费马小定理可得 a^(p-1)=1(mod p) p为质数
//因此 a对于p的逆元为 a^(p-2)可用快速幂求得
int Pow(lld a,lld n,lld p)
{
lld x=a;
lld res=1;
while(n)
{
if(n&1... |
c46b6e445492fd6acd9faa6b9f2f621c356b8bcc | b3a847cca7271da0683f54a65f09e59b67e60e11 | /CplusplusSample/SampleProject/HackerRank/subarrayDivision.cpp | 7982a08efae3a734990fb5b1026e2b30347dbbe2 | [] | no_license | nhan0504/Learn-C-plus-plus | 484bdc4dcae1eae56ab2a747e5e786758c5aecaf | 6536bc15b3452f7201453b1071598a631a93afd4 | refs/heads/main | 2023-06-01T23:55:45.030435 | 2021-06-18T04:29:25 | 2021-06-18T04:29:25 | 324,389,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | subarrayDivision.cpp | /*
int i = 0
int j = 0
int sum = 0
int count = 0
while i != size
while j - i != m
sum += s[j]
j++
if sum == d -> count++
i++
j = i
return count
*/
int birthday(vector<int> s, int d, int m) {
vector<int>::size_type i, j, size;
i = 0;
j = 0;
size = s.size();
int sum = 0... |
4e882aa7950d2f96027825fc308dc2adc479a3ea | 5b885600120e8ea9ccf945f6465ce5928d7fa55f | /src/base/objs/CubeCalculator/CubeCalculator.cpp | 58c2a2b4f384653e6ae5326bbfc4061d6e53feaa | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | hassanjallow/isis3 | b2f2156a104ded38f7b3867f18b35a759d8987db | 712187cfbcdc6093b7b45b4ef0b4eb87dc09a7de | refs/heads/master | 2021-05-27T16:44:07.006539 | 2010-03-19T16:47:37 | 2010-03-19T16:47:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,475 | cpp | CubeCalculator.cpp | /**
* @file
* $Revision: 1.5 $
* $Date: 2010/02/23 17:03:08 $ ... |
2ff166fbece51d2818314a3d388d7362c4f30431 | fe2836176ca940977734312801f647c12e32a297 | /NCTU-training-camp/2016 Summer/2005-2006 ACM-ICPC East Central North America Regional Contest/B/main.cpp | 52cb2b91fdb1676af4ab25560a05e7802e543842 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | cpp | main.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> ii;
struct node {
string name;
vector<int> child;
} data[1111];
typedef pair<string, int> vsi;
bool cmp(vsi a, vsi b)
{
if(b.second == a.second)
return a.first < b.first;
return b.second < a.second;
}
i... |
4887cd94323042aab2867607194c868379ffed42 | 402414b727541d24d1eebd6f13d564b0f062c2cd | /Btap-Tuan1/bai16.cpp | d6fefad0f7a2a69c678a2088dcbf01fc71f07e5b | [] | no_license | hieupham297/BtapLTNC | 2f173b899dd16e78c6587109394e5242bf390157 | 5fac9b7e6cb6840bb045292014f887ae10dc412f | refs/heads/main | 2023-04-26T04:49:25.886064 | 2021-05-24T14:27:09 | 2021-05-24T14:27:09 | 351,496,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | bai16.cpp | #include <iostream>
#include <string>
#include <iomanip>
#include <cmath>
using namespace std;
int main(){
int a,b,c; cin >> a >> b >> c;
if(a == b && b==c && c==a) cout << "true";
else cout << "false";
return 0;
}
|
0b37b09adae39ff8b99966865c6c2779fb2106f4 | 46f2e7a10fca9f7e7b80b342240302c311c31914 | /lid_driven_flow/cavity/0.0786/U | 170e072d81f4a18f0ac1872df543a127b3f7b68c | [] | no_license | patricksinclair/openfoam_warmups | 696cb1950d40b967b8b455164134bde03e9179a1 | 03c982f7d46b4858e3b6bfdde7b8e8c3c4275df9 | refs/heads/master | 2020-12-26T12:50:00.615357 | 2020-02-04T20:22:35 | 2020-02-04T20:22:35 | 237,510,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,976 | U | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
e088570e684cd9e91e474e9759de93849b43da31 | b90c7beffffc58cd41d4c26b8964b9bc089290e3 | /Federal Tax Calculator/main.cpp | 9a84ea76894cb81335531ce07dad67e38a8d0e89 | [] | no_license | jlegendary/CPP-Practice-Programs | 1a82c3d33927fd5d3a2d898fb2a405c58f6199be | 06f95473dab9c5dab7568c5753e833852ee2496c | refs/heads/master | 2021-01-02T22:50:16.388803 | 2015-09-14T02:37:43 | 2015-09-14T02:37:43 | 40,048,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,051 | cpp | main.cpp | //
// main.cpp
// Federal Tax Calculator
//
// Created by JLegendary on 8/24/15.
// Copyright (c) 2015 JLegendary. All rights reserved.
//
#include <iostream> //Input and output
void getInfo(int &numPerson, int &salary, int &standardExemption, int &pretaxSavings);
int taxAmount(int numPerson, int salary, int... |
6ae9b1cb1500c24b5a74b5470aa51cbe8352f01e | 6531f95d86381c9e364eb4e0519d335fde570526 | /CBase/0x_test.cpp | 12353af4a42176e408f7d257096f80b38854baf6 | [] | no_license | WentaoZhang007/LocalTest | 4fe6a1933158c6455f5d28f2a5c6091288bebfa8 | 2cc03bf93f857925bd84d90f599b3b38fa7820fe | refs/heads/master | 2020-04-08T21:13:38.506514 | 2019-09-30T12:24:57 | 2019-09-30T12:24:57 | 159,735,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | 0x_test.cpp | #include "sv_common.h"
int main ()
{
unsigned char uc_status ;
uc_status = '\xBC';
printf("uc_status:%x.",uc_status);
uc_status = '\x02';
printf("uc_status:%x.",uc_status);
uc_status = '\x2';
printf("uc_status:%x.",uc_status);
return 0;
} |
c57e9bc55d8f3a8850740f82dc52e588cbf6ecbc | cc318ef1627098355017a8f316a27f326584c861 | /MapGenerator/MapGenerator2/MapGenerator1.cpp | 61fdb73ae3114c8e6d02c585a0914572ab504a9e | [] | no_license | 7kia/Theory-programming | a0c293ed6948e5ef8e1025af713fa0523bd3b4ab | a504dac93e6840d792fcb67c8dac2829ae3c256e | refs/heads/master | 2021-01-13T00:40:41.279052 | 2015-12-24T08:04:15 | 2015-12-24T08:20:01 | 43,166,496 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,117 | cpp | MapGenerator1.cpp | // MapGenerator1.cpp: определяет точку входа для консольного приложения.
//
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream> //cin cout setlocale
using namespace std;
#define border1 3
#define LongMap 25//размер карты высота
#define WidthMap 40 + border1//размер карты ширина
#define Hei... |
b3b4f5b0d755505bad69c4a7f50f0b1d514cdf6a | 755b42a8ad8cb3d68cee0ddbcc6f1b88fdfdff82 | /spektrum.ino | 91f9010dec887090a98242b3386043babdbe1044 | [] | no_license | i-copter/Mav2Spektrum | 7c7ecd20c22048aa34520067cbe39c6c86e4e973 | 3e723f8aa3a0e3c6edfa939ee1ab5e8d4a1b82d6 | refs/heads/master | 2020-12-24T19:28:38.590202 | 2016-05-08T12:41:32 | 2016-05-08T12:41:32 | 57,422,433 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,613 | ino | spektrum.ino | /**
* Mav2Spektrum serial to i2c protocol conversion for mavlink to
* Spektrum TM1000
*
* Copyright 2016 by i-copter.com <icopter.productions@gmail.com>
*
* This file is part of some open source application.
*
* Some open source application is free software: you can redistribute
* it and/or modify it under... |
f3e998bdcf6493ac25737797d161f5c180150119 | 6329da02d73f8f2cf11f71436379f4e1d1e92eea | /继承与多态/继承基础.cpp | 78d888447377684ea40bcb8d2b59acde930bbc6f | [] | no_license | XHfight/CPP-Language | 6eb5c35dfd1a8076db64a6c14561d328d9001bb1 | 5b037e8cc6d63c7a750c656e1a4eec54444e1980 | refs/heads/master | 2020-04-12T08:14:07.870427 | 2017-06-26T05:28:09 | 2017-06-26T05:28:09 | 61,987,227 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,752 | cpp | 继承基础.cpp | #include <iostream>
using namespace std;
//静态成员与继承
class Base
{
public:
Base()
{
_count++;
}
void Show()
{
cout << _count << endl;
}
protected:
static int _count;
};
int Base::_count = 0;
class Derive:public Base
{
public:
Derive()
{
_count++;
}
void Show()
{
cout << _count << endl;
}
};
int mai... |
1cfaa03c187b5419d4b115745bf4a0050d679475 | 852d6eae0694164a3f18bb1bdaab45d7ab5ca362 | /src/ansa/networklayer/ipv4/AnsaIPv4.h | 17ec271fbadaf2d313b1c044c9b514a013e61d17 | [] | no_license | mrazjak/Ansa | ef58c3ed0a8788faf09d48b4ce4f69330db6a4d4 | 9390d69a0553c16a098b4f160d5f26d233bc531e | HEAD | 2016-08-03T11:10:48.474904 | 2014-05-08T14:02:37 | 2014-05-08T14:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,299 | h | AnsaIPv4.h | // Copyright (C) 2013 Brno University of Technology (http://nes.fit.vutbr.cz/ansa)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your op... |
fb4f8e4a428f0202babc582697ad3a4dbb1822d4 | efb67aa703d259c62557720590f1618d14e91aa2 | /GameProject/source/dungeon.h | ebbc6f5e4d20514324ef97f79f77a66705b5a4f8 | [] | no_license | hype612/GameProject | f4e7098c87491d8587030ba0172918774239059a | 6079c5ffee973ef04f25a3a06f90a89abd6f88a2 | refs/heads/main | 2023-04-23T10:43:12.603895 | 2021-05-17T13:52:37 | 2021-05-17T13:52:37 | 333,816,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | dungeon.h | #pragma once
#include "main.h"
#include "classes.h"
#include <fstream>
#include "init.h"
class Room
{
public:
enum tileType : char;
Room(std::string filepath);
void roomLoop(Player& player);
void printRoom(int xpos, int ypos);
Room(std::vector<std::string>& layout);
char enemy... |
213b132217b3be91c79c5a31523a0b7ea1d0244b | 05a2380f71aa931dcde32ba5276849e92ccd4dca | /src/FileSysMonitor/common.cpp | 3c3f1ba9969e8ce8d75b2964a4246212d8634649 | [] | no_license | VKislyakov/file-system-monitor | 6659692b935fd7b6584c5b74eec546b83e9e3f6e | 95c36de1b67fd1c8ad867030558538fb00d98946 | refs/heads/main | 2023-06-18T11:32:52.072811 | 2021-07-12T21:40:54 | 2021-07-12T21:40:54 | 384,496,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | common.cpp |
#include <ctime>
#include "common.h"
std::string currentTime(){
time_t rawtime;
struct tm * timeinfo;
char buffer[80];
time (&rawtime);
timeinfo = localtime(&rawtime);
strftime(buffer,sizeof(buffer),"%d-%m-%Y %H:%M:%S",timeinfo);
std::string str(buffer);
return str;
}
|
cc88015fa987a6dbcc21b565b10cfd588281af02 | 85a2183deea400f42bfd5236e65274cbd9c69820 | /C++/problem_006/solution.cpp | fee25b369ea3dd31ca323a9d4302b61e26c27a7b | [] | no_license | DanielContreras/Project-Euler | 92673bc062c29a58da5e9f82f3d0e1d1eac51000 | af01f67770c9bea85037c941818abb3e3f6603d6 | refs/heads/master | 2022-06-26T01:41:01.151184 | 2022-06-17T10:33:36 | 2022-06-17T10:33:36 | 120,150,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | solution.cpp | /**
* The sum of the squares of the first ten natural numbers is,
* 12 + 22 + ... + 102 = 385
* The square of the sum of the first ten natural numbers is,
* (1 + 2 + ... + 10)2 = 552 = 3025
* Hence the difference between the sum of the squares of
* the first ten natural numbers and the square of the sum is 3025 â... |
b5c6b164954dcb4db1260b61b56863ca4855b623 | 719cfcca54cbc7394bb324ddb1de57660d7997a4 | /EscobarAsst05/week5/week5.cpp | 8aeaff3684afb4d293865fe8f881b0c34c861950 | [] | no_license | RodrigoAEscobar/C-Plus-Plus | a9d8b8be91cdd716f5e7013b9048cd8fb4767394 | 2c4d501ee5a5ff8a0beb6a9c3fad3dc5f77a9777 | refs/heads/master | 2021-06-13T16:05:23.740026 | 2017-02-24T17:01:14 | 2017-02-24T17:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | week5.cpp | #include <iostream>
using namespace std;
//void example1();
void example2();
int main () {
// example1();
example2();
return 0;
}
void example2() {
int iValue1;
int iSum;
int iCount;
cout << "This is compile 2" << endl;
cout << "Enter a number and I will complete the sum: ";
cin >> iValue1;
iSum = 0;
for (... |
5c0c79565b2bb2ed3d268327f4648d97656cd997 | 6a305a3ded1e180d199667b649467852f75c4d23 | /src/physics/cloth.h | a7fabee16353528f6d614ad0cd9a600f66191d6d | [
"MIT"
] | permissive | pkurth/D3D12Renderer | 190a0bb13bf70e74a4a1a53f37db75153dbd7dde | 2ff244b4e76f51afb9b303c01bddde25b4c38567 | refs/heads/master | 2023-05-01T20:18:42.582711 | 2023-04-18T07:05:08 | 2023-04-18T07:05:08 | 312,799,197 | 186 | 18 | null | null | null | null | UTF-8 | C++ | false | false | 1,861 | h | cloth.h | #pragma once
#include "bounding_volumes.h"
struct cloth_component
{
cloth_component() {}
cloth_component(float width, float height, uint32 gridSizeX, uint32 gridSizeY,
float totalMass, float stiffness = 0.5f, float damping = 0.3f, float gravityFactor = 1.f);
cloth_component(const cloth_component&) = default;
c... |
5e612dc3558b8c43bf053abf9d87c2119377c16f | 3aa0b4e989f2f790a144e492c161f42dc914bf1d | /include/smac_planner/node_basic.hpp | 3da57c4abafa46d8b4fe1cdd5acdbe16639b8cbb | [] | no_license | MaxEver13/hybrid_astar | 366521202180725850d35eaa78dde94defcbdd32 | 0c167d29dd9877c18f120a72a827974ac4e6d58a | refs/heads/master | 2023-05-19T23:03:14.321130 | 2021-06-04T07:13:59 | 2021-06-04T07:13:59 | 373,752,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | hpp | node_basic.hpp | // Copyright (c) 2020, Samsung Research America
//
// 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... |
dfc5bfbceaa36ed95a5e53e831321494d3de9cbf | 247eb805469638c6d5cbfdfc242c51749b1157a9 | /src/libbiomeval/be_image_bmp.cpp | df51842caeb61d4c33f5bb49fd19b4585ebace27 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | gfiumara/libbiomeval | 07317df339a453cca1f2b8fdd859e5c67c9028d7 | 6c88126fa56492c216a922beed9ee17735c4b647 | refs/heads/master | 2023-01-24T14:27:44.105396 | 2023-01-20T15:39:25 | 2023-01-20T15:39:25 | 225,938,020 | 0 | 0 | NOASSERTION | 2019-12-04T19:07:01 | 2019-12-04T19:07:00 | null | UTF-8 | C++ | false | false | 13,383 | cpp | be_image_bmp.cpp | /*
* This software was developed at the National Institute of Standards and
* Technology (NIST) by employees of the Federal Government in the course
* of their official duties. Pursuant to title 17 Section 105 of the
* United States Code, this software is not subject to copyright protection
* and is in the public ... |
c6ab2a8cb3f89c52179de8b6b3e05af20e87cda0 | c5271b18225b183c54526f13ab968b942c5d1c49 | /interviewBit/graph/good_graph.cpp | 0cd2a3da46944895e398c5572ca80e617213d87b | [] | no_license | coderpen-me/competitive_programming | afbc41e0eed12741ba4dcc2650a02e667506739c | 3d8d00b9099871c1b044e1ac3f25cc1eb17dba64 | refs/heads/master | 2021-06-28T09:48:01.156675 | 2021-03-09T19:01:09 | 2021-03-09T19:01:09 | 220,846,911 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,930 | cpp | good_graph.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define vi vector<int>
#define vs vector<string>
#define vvi vector<vector<int>>
#define LP(i, n) for (ll i = 0; i < n; i++)
#define LP1(i, n) for (ll i = 1; i <= n; i++)
#define BLP1(i, n) for (ll i = n; i > 0; i--)
#define BLP(i, n) for (ll i = n; i... |
aa9eaabd3a3d2a47ee90ec074589e62221604f7d | a72d01c6c8dfdd687e9cc9b9bf4f4959e9d74f5d | /PRINCIPLE/principle/include/principle/resources/modelSelectionManager.hpp | c19e28f7de5c33758b90124200d537ff8e69aadd | [] | no_license | erinmaus/autonomaus | 8a3619f8380eae451dc40ba507b46661c5bc8247 | 9653f27f6ef0bbe14371a7077744a1fd8b97ae8d | refs/heads/master | 2022-10-01T01:24:23.028210 | 2018-05-09T21:59:26 | 2020-06-10T21:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,853 | hpp | modelSelectionManager.hpp | // This file is a part of PRINCIPLE.
//
// Look, but don't touch.
//
// Copyright 2017 [bk]door.maus
#ifndef PRINCIPLE_RESOURCES_MODEL_SELECTION_MANAGER_HPP
#define PRINCIPLE_RESOURCES_MODEL_SELECTION_MANAGER_HPP
#include <memory>
#include <unordered_map>
#include "kompvter/graphics/vertexIndexMapper.hpp"
#include "k... |
06e4a2bc3f8bd5ac01619145468cebea904a64c5 | b3adba10b38f27086b856c45f59eefce7ee91c82 | /Test5_5A/GeneratedFiles/ui_test5_5a.h | 85ea8b6eef4628ee724a6e4e23df9fcf05f08fc6 | [] | no_license | DLily0129/QtProjects | 927f750b573df0addee4a3d912004767688c89f9 | f29b86230f850ffede5b9273817302dae3a88080 | refs/heads/master | 2021-01-11T22:16:53.625465 | 2017-02-06T14:56:56 | 2017-02-06T14:56:56 | 78,942,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,592 | h | ui_test5_5a.h | /********************************************************************************
** Form generated from reading UI file 'test5_5a.ui'
**
** Created: Mon Aug 1 10:11:43 2016
** by: Qt User Interface Compiler version 4.7.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*********... |
784644cc029d2be9a7d227c4c4b728f552a1841d | bf5227a8f0a13472b4c9f2ba2df0ee0d3031989b | /src/sm.cpp | 48fab60e073fbd3f0dd28632bc905b68b68afd7e | [] | no_license | wayabi/sm | b817f1ff32136e36f76669c950f1f5c570cbc1b9 | 7176bf2be5d92094f3df0318fd63a13a22fe011f | refs/heads/master | 2020-08-04T10:58:14.053825 | 2019-10-02T09:39:55 | 2019-10-02T09:39:55 | 212,114,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | sm.cpp | #include "sm.h"
void sm::process_event(std::shared_ptr<sm_event> e)
{
for(auto ite = f_transition_.begin();ite != f_transition_.end();++ite){
auto next = (*ite)(state_current_, e);
if(next.get() != nullptr){
if(state_current_->event_acceptable(e)){
state_current_->on_exit(e);
state_current_ = next;
... |
65b3039ec55a9a2d647a81e8ea803642d9495f5e | c7f44f3e55cf75b00a675d100a5eb6051e8d16c9 | /IP_MERCS_STORIES/missions/MERCS_S_M00.Enoch/cfg/shop/magazines.hpp | 5b2ccac1469152da7dfc8b749b732580709283b2 | [] | no_license | IndeedPete/MERCS-Stories | 16b7b8fb08b0be4ec45f6c8d41afe97dda64176b | a68ef53f21942c1c962210f9c5af8ae5be4fd740 | refs/heads/master | 2022-11-24T21:55:32.045644 | 2020-08-02T15:57:19 | 2020-08-02T15:57:19 | 260,956,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,814 | hpp | magazines.hpp | class ShopMagazines
{
basePrice = 0;
basePriceExplosive = 500;
// 9mm
class 16Rnd_9x21_Mag
{
price = 16;
};
class 16Rnd_9x21_red_Mag: 16Rnd_9x21_Mag {};
class 16Rnd_9x21_green_Mag: 16Rnd_9x21_Mag {};
class 16Rnd_9x21_yellow_Mag: 16Rnd_9x21_Mag {};
class hlc_25Rnd_9x19mm_M882_AUG
{
... |
8f79dedff4993a3c3d6252ecbfbc5755d8244058 | bc514bf5eb4cebf8f2d571efb3e5ae2a82b4cd47 | /Sorting_Algorithms/testing.cpp | ef26d59ce3f266e7b1bf63bc31c606699f43170a | [] | no_license | privatepepper/Sorting-Algorithms | a55110d04060f2d54312dbe41a6bde9b0c7498bd | 51be9d8cb422f48c271a3a4aa45e252cc71c9891 | refs/heads/master | 2022-09-09T22:10:56.087130 | 2020-05-30T08:44:56 | 2020-05-30T08:44:56 | 266,172,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | testing.cpp | //#include "catch.hpp"
//#include "column_graph.h"
//#include <vector>
//#include <QVector>
//std::vector <int> convert(QVector <int> qvec){
// std::vector <int> vec;
// for (int i = 0; i < qvec.size(); i++){
// vec.push_back(qvec[i]);
// }
// return vec;
//}
//std::vector <int> theAnswer(QVector ... |
84676eca690599d759965e057c8cbb0db5be259f | 93daea31299ef5b2facb4e6bfcda5edae3413f7f | /1/TreeNode.cpp | a16683abf201bac7908ef3174b7d25f8fe82b596 | [] | no_license | JulianKaeuser/CPPLab | e2b7a72b414c0a2c622473574349129e2f674162 | 58ad7d7729ce479c5753a59b0cb6c2a0c2e92279 | refs/heads/master | 2021-01-21T10:42:05.223795 | 2017-09-06T13:20:13 | 2017-09-06T13:20:13 | 101,981,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | TreeNode.cpp | #include "TreeNode.h"
#include <iostream>
//using namespace TreeNode;
TreeNodePtr TreeNode::createNode (int content, TreeNodePtr left, TreeNodePtr right){
TreeNodePtr n = TreeNodePtr(new TreeNode(content, left, right));
if (left){
left->setParent(n);
}
if (right){
right->setParent(n);
}
return n;
}
Tr... |
f3d2e158191d324ed6937dec2c2404b148b4aa60 | 8f50040c71efa3e9827f40bc197408bac174dfae | /ReFilament/ReFilament.ino | 6c1e1a6b5a67f098fa2aaa7395f8b04c4814a390 | [
"MIT"
] | permissive | aehoppe/ReFilament | 9471703cf27c764d86a9340d99156b4fc958762b | c890ad44f41894eafd5bca30427422e09db93457 | refs/heads/master | 2020-06-12T15:34:05.138240 | 2016-12-07T04:31:25 | 2016-12-07T04:31:25 | 75,799,393 | 0 | 0 | null | 2016-12-07T04:29:40 | 2016-12-07T04:29:40 | null | UTF-8 | C++ | false | false | 2,297 | ino | ReFilament.ino | #define EXT_PIN 6
#define SPL_PIN 5
#define HTR_PIN 3
// Set up global variables
boolean input_complete = false;
float input_param = 0;
String input = "";
boolean active = true;
int shaft_speed = 80;
long start_millis = 0;
long over_temp_mv = 2480;
long temp_mv = 0;
long temp_deg = 0;
boolean heater_activated = true;
... |
48ebffaef2664fbc0c1938efa79bb28e12a59dba | 9ef7ae27f57d24b7fa194ed9fc22d95a2ea2f4fa | /Algorithms/IntervalOverlap.cpp | e1cf6017689b67c626a4fa83f7d8ab553ac6c006 | [] | no_license | Rahul365/Coding_Practice | e093b745da5e0d589b57d31ff8d4d5bdae46c583 | 4430401991defdd79522da229f040c5e48718487 | refs/heads/master | 2022-07-30T19:59:21.839107 | 2022-07-02T08:10:50 | 2022-07-02T08:10:50 | 241,954,353 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | IntervalOverlap.cpp | #include<bits/stdc++.h>
using namespace std;
bool compare(pair<int,int> p1,pair<int,int> p2){
if(p1.first == p2.first)
return p1.second < p2.second;
return p1.first < p2.first;
}
/**
* return -1 if a is on left of b
* 1 if a is on right of b
* -2 if a is intersecting or overlapping... |
b6229211ce6c16117dc6b44bfa3b37b7dfe6eed3 | 753e3d911bf54f5f2b10719825a23ade89b128b0 | /hash_map.hpp | a0c293f367341c496a15fa81b764c8347362eac8 | [] | no_license | skasero/Parallelizing-Hash-Genome-Assembly | f91dbabd47981610208d0646aebab77a1858a79a | c9bd25a560335f71b44917da485a38125ba5aa7b | refs/heads/master | 2022-04-17T00:10:34.798691 | 2020-04-18T20:47:32 | 2020-04-18T20:47:32 | 256,849,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,550 | hpp | hash_map.hpp | #pragma once
#include <upcxx/upcxx.hpp>
#include "kmer_t.hpp"
using namespace std;
struct HashMap {
std::vector<upcxx::global_ptr<kmer_pair>> data; // Global vector pointer of kmer_pairs
std::vector<upcxx::global_ptr<int>> used; // Global vector pointer of used slots
size_t total_size; // Total size of en... |
87f1e0c02fd2f36797941a08905d598212863f0e | 32983d47a0715deec9da6651910961582b68e459 | /Semester2/Laba3/Variant5/Variant5.cpp | 490863d298c589adfc9787ac75ed957ac15654a2 | [] | no_license | afrochonsp/OAiP | 8729dc6b3350e889d05b3a9c33aea5f56e606374 | 7d967c605c0916349b8f2ddffe9a6d4082c41af9 | refs/heads/main | 2023-07-15T10:15:11.078463 | 2021-08-20T23:15:05 | 2021-08-20T23:15:05 | 398,412,278 | 0 | 0 | null | 2021-08-20T22:59:18 | 2021-08-20T22:18:44 | null | UTF-8 | C++ | false | false | 1,003 | cpp | Variant5.cpp | #include <iostream>
#include <stack>
using namespace std;
int Recursion(int, int);
int main()
{
system("chcp 1251");
system("cls");
Start:
int m, n, input, result = 0;
cout << "Введите первое число\n";
cin >> m;
cout << "Введите второе число\n";
cin >> n;
cout << "\n" << "Использовать рекурсивную функцию? (... |
46f42075416dff5b0a3760d22cd9f70d6c4a2a6a | 0a0b0e63cd578581982efe338c13eee229d838a4 | /examples/apps/mstc/OpenThreadTalk/IListenerContext.h | 5f8ba824dd2009ee704cb3264d4f7e2632172ef7 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | jjlee3/openthread | 0e0ddec03f3afaf5689a7360f03342a2e8d6620e | abba21bca6e1b07ca76b0241dfaf045e57396818 | refs/heads/master | 2021-01-20T12:12:35.074196 | 2017-03-12T15:36:02 | 2017-03-12T15:36:02 | 76,529,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | h | IListenerContext.h | #pragma once
#include "Types.h"
namespace OpenThreadTalk
{
public interface struct IListenerContext
{
void Listen_Click(Object^ sender, RoutedEventArgs^ e);
IAsyncAction^ CancelIO();
};
}
|
e9147a7747307630eb70d482662ed7208491bfc9 | 7ebf65faf0be931906e1f963b365986ddd2b6d69 | /class.h | f7290f417772bbba635000b8a6a1917124107d07 | [] | no_license | Lw-Cui/studentManager | 4fdf9ca5197bf84ef92b7b7fc2c13c13b6cd8c8d | 89a9c0cd1e7a2b7e1d067c2e00de256bfd69b382 | refs/heads/master | 2020-06-01T15:29:05.719598 | 2015-06-26T04:31:06 | 2015-06-26T04:31:06 | 37,815,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | class.h | #ifndef CLASS
#define CLASS
#include "student.h"
#include "strategy.h"
#include <vector>
typedef Con::iterator Ite;
const int INF = 1 << 30;
class Class
{
public:
Class();
void addStudent(student *mate);
void setAlgoritm(strategy *point);
Con getAlgorithmResult();
double getAverageScore();
priva... |
782d14aabacbbeb16b3948ae922f0e3dff66e272 | 50821c963648555ecf0a1b97e02df44a2f8ae27b | /RDA/RDAL_Client/main.cpp | b809324410fdb69075ad32120b522589fd7b695c | [] | no_license | Corvus5e/Rangefinder-data-analysis_Archived | 98f80cec4600942747a27c6444e398ed125f49a2 | 5dcb7737c1f98e101e15b88034d4a0034543fc20 | refs/heads/master | 2021-11-11T10:00:11.754878 | 2017-04-07T17:42:16 | 2017-04-07T17:42:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,685 | cpp | main.cpp | // RDAL_Client.cpp: определяет точку входа для консольного приложения.
//
#include <iostream>
#include <iomanip>
#include <time.h>
#include "rda_client\common.h"
#include "rda_client\io.h"
#include "rda_client\console.h"
#include "rda_client\point_cloud.h"
#include "rda_client\vizualizer.h"
//#include <RDAL.h>
#incl... |
fc58cc097e4d6658a5b9874fa820bffaf8d28579 | 77eabcca6f181af0a28a631216463b113bf1ba43 | /include/PhantomUIListBox.h | 1d4143a6fe7e1893854ac8a79a9faf2df28e55df | [
"MIT"
] | permissive | DexianZhao/PhantomEngineV2 | 6d636cee432ca021c01ee4a549e1e3857f2ca3d9 | cc3bf02ca1d442713d471ca8835ca026bb32e841 | refs/heads/main | 2023-08-22T17:09:57.261023 | 2021-10-30T07:49:09 | 2021-10-30T07:49:09 | 422,811,761 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,535 | h | PhantomUIListBox.h | //////////////////////////////////////////////////////////////////////////////////////////////////////
/*
幻影游戏引擎, 2009-2016, Phantom Game Engine, http://www.aixspace.com
Design Writer : 赵德贤 Dexian Zhao
Email: yuzhou_995@hotmail.com
*/
////////////////////////////////////////////////////////////////////////////////... |
f4fafb4db069b5eb8a572f064a1096447ec3b011 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-license-manager/include/aws/license-manager/model/OrganizationConfiguration.h | c9033c40a42c20ffdea2ffd422c4576ab60974a2 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 2,206 | h | OrganizationConfiguration.h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
2fe5a0ab6dd5c4cd84b0ebc3d77666e0a7b21042 | b73dec0c4d72c5d9df4e3d600f09902004164712 | /src/geometry/manipulatorMoveContinue.h | 027242410eb3817d8c4b9dfe5165ae4f843e9bd7 | [] | no_license | PavelAmialiushka/Natrix | f77ec845a052965db41af902354f973614b17798 | 1d71b58528c43a76f23a5c9eccd271f5b8aad14b | refs/heads/main | 2022-07-04T08:01:21.357306 | 2022-06-18T07:41:40 | 2022-06-18T07:41:40 | 410,462,763 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | manipulatorMoveContinue.h | #ifndef MANIPULATORMOVECONTINUE_H
#define MANIPULATORMOVECONTINUE_H
#include "manipulatorTools.h"
#include "moveProcedures.h"
namespace geometry
{
class MoveContinue : public ManipulatorTool
{
Q_OBJECT
MoveDataInit moveParams_;
public:
MoveContinue(Manipulator *m, MoveDataInit data);
static PManip... |
54f4d10324bce59579f72ae41d9afd52f51a9ff9 | 5712a01bc06416cf32fb637e10b21b34b938961c | /UVA/13178.cpp | 10aa1d24a5dfe675bd3038d3f4d2125e1c556ce4 | [] | no_license | WenShihKen/uva | 654a9f5f3e56935625e061795f152609899b79e5 | 03a3d603941dd9b9ec13e76fb99d24da6749a81b | refs/heads/master | 2021-01-10T14:34:29.580527 | 2020-06-25T15:34:23 | 2020-06-25T15:34:23 | 48,536,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | 13178.cpp | #include<stdio.h>
#include<stdlib.h>
#include<cmath>
#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main()
{
int in1;
cin >> in1;
while (in1--) {
int in2;
cin >> in2;
string ans = (in2 % 3 == 1) ? "NO" : "YES";
cout << ans << endl;
}
} |
b7c2c886e0b3d5c555f6bcf63aac3388dd589ccd | d3006e34e2ab0434d4511372260cfbea1c0a7697 | /source/common/stimuli/CursorGraphic.cpp | be7a254748743389506b3739158db7679824edfc | [] | no_license | leelab/picto-public | ae5041a07aae69e7218ddead6c3acd25a8d6017c | dcc2494b5970b34f1779d306fc2819109e90b938 | refs/heads/master | 2022-07-24T21:00:26.419207 | 2021-11-15T04:18:43 | 2021-11-15T04:18:43 | 428,503,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,794 | cpp | CursorGraphic.cpp | #include <QPainter>
#include "CursorGraphic.h"
#include "../memleakdetect.h"
namespace Picto {
const QString CursorGraphic::type = "Cursor Graphic";
/*! \brief Creates a new CursorGraphic object whose position will be determined by the input SignalChannel and with the input color.
* \details The input Sig... |
b213993227dc67aea0525e2049b06c5110a18b12 | a486c43ef7d27e526c743ad751e63c03ac1d0418 | /gksh/c++1.cpp | ad3bc69f2f09198630e04896049fee11a5b9b063 | [] | no_license | SSKS10/first-repo | f411a47e1ce4054532241375ec57a68912f9f247 | e4207ae548adfc7bc43722958496bc39c69e9375 | refs/heads/master | 2021-01-21T04:07:25.646723 | 2017-10-31T17:29:59 | 2017-10-31T17:29:59 | 101,910,765 | 0 | 2 | null | 2017-10-31T17:33:21 | 2017-08-30T17:38:56 | C | UTF-8 | C++ | false | false | 98 | cpp | c++1.cpp | #include<iostream>
using namespace std;
int main()
{
cout<<"I am an Engineer."<<"\n";
return 0;
}
|
8aadcd1bfb2495703d975e3a952e18b8c51c63c7 | 3f78a9da3eecc6d8e401f1cce37e054a252930bc | /[Client]MH/Object.h | 16bdd98c484edce037fe38df269ed31b2fa4edba | [] | no_license | apik1997/Mosiang-Online-Titan-DarkStroy-Azuga-Source-Code | 9055aa319c5371afd1ebd504044160234ddbb418 | 74d6441754efb6da87855ee4916994adb7f838d5 | refs/heads/master | 2020-06-14T07:46:03.383719 | 2019-04-09T00:07:28 | 2019-04-09T00:07:28 | 194,951,315 | 0 | 0 | null | 2019-07-03T00:14:59 | 2019-07-03T00:14:59 | null | UHC | C++ | false | false | 10,888 | h | Object.h | // Object.h: interface for the CObject class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_OBJECT_H__A8AFB488_5BB5_45E5_8482_EE4EE2A55DDD__INCLUDED_)
#define AFX_OBJECT_H__A8AFB488_5BB5_45E5_8482_EE4EE2A55DDD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER ... |
012814195b6573c8e9a4bdeafa82f771043514aa | 47b19a0283e25e5f0c2348fa92be265796b540b5 | /BlueEngine/BlueEngine/BlueCore/Source/Private/BlueCore/Managers/MeshManager.cpp | 7d6d87dd143de725ac07c133bea99d1b427b295f | [] | no_license | Sumethh/BlueGengineProject | c577db9f014b9e9ac9f303fc9578e30fc3317194 | d01b98bb5d403ecf6c626d37bdbb8de21de74eee | refs/heads/master | 2021-05-01T00:57:54.863275 | 2018-03-24T16:06:25 | 2018-03-24T16:06:25 | 71,224,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,654 | cpp | MeshManager.cpp | #include "BlueCore/Managers/MeshManager.h"
#include "BlueCore/Managers/MemoryManager.h"
#include "BlueCore/Graphics/Mesh.h"
#include "BlueCore/Graphics/MeshLoader.h"
#include "BlueCore/Systems/TaskSystem.h"
#include "BlueCore/Managers/AsyncLoadingMeshTracker.h"
#include "BlueCore/Core/ResourceList.h"
#include "B... |
d66a1a72f36fa157a6866d34fe13a4caf9daddc9 | 22821b345771607ab189f37937f267cad750d731 | /711A.cpp | 48dec05e484c138ea99311a5e790bec13d0e35b6 | [] | no_license | DmytroMyloserdov/Codeforces-Problems | 5eaff039e431039b6ca31a13018ca06ed6bcb556 | bbfea107f233bdba6851aa20f1dc2939273838c2 | refs/heads/master | 2020-04-17T05:42:06.520302 | 2019-01-24T19:21:22 | 2019-01-24T19:21:22 | 166,292,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | 711A.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n; cin >> n;
vector<string> ans (n, "");
bool set = false;
for (int i = 0; i < n; ++i)
{
string c; cin >> c;
int ind = -1;
int count = 0;
for (int j = 0; j < 5; j++)
{
if (c[j] == 'O')
{
if (count == 0) ind = j;
count++;
}... |
12222c28d5dc0ded811e485c09b5ac04f035cb0c | d9d7ff04aeabccc991a77f2d0f37b69f9b4ae2a5 | /code/render/apprender/renderapplication.cc | b9178f83592c47600e67cd210695707278d7561e | [] | no_license | kienvn/nebula3 | f5e7e8df1906884bad944ee6fce1549ded1c0c80 | 153aa717b37029eede5e393cd9410d462838dfcf | refs/heads/master | 2016-09-10T20:24:15.903745 | 2015-03-16T01:56:00 | 2015-03-16T01:56:00 | 32,295,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,894 | cc | renderapplication.cc | //------------------------------------------------------------------------------
// renderapplication.cc
// (C) 2008 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "apprender/renderapplication.h"
#include "io/filestream.h"
#include "memory... |
25163a0a9b20857c377eec733e0c1d036e9e151e | 9ebf58413676f88b8d1e72b41eede00905718155 | /Day-6/Palindrome.cpp | 3d5e836befbcd48ecfb547d63c13164b5b728386 | [] | no_license | Lekheshwar/SDE_Problems_Striver | 867152c6393081fed39fd114078fca27ea4c1c72 | 4fe3c1c816a3ae75da74ddaee1c19b9403d3cd05 | refs/heads/master | 2023-08-18T00:35:27.597544 | 2021-09-21T16:46:54 | 2021-09-21T16:46:54 | 350,592,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | cpp | Palindrome.cpp | ListNode* reverse(ListNode* head){
ListNode *curr = head, *prev = NULL, *nxt;
while(curr){
nxt = curr -> next;
curr -> next = prev;
prev = curr;
curr = nxt;
}
return prev;
}
bool isPalindrome(ListNode* head) {
... |
6eaec2b2611d92b2f3f832e0f484cd15c7784aaa | a9b177089e83cd561d0cd9448e46bbccc918967e | /rwa4/include/RobotController.h | 6e383e50e4923524fbc3ee1f69fa7eb3bdc6a159 | [] | no_license | revati-naik/ROS_ariac | 9be3b24d5822fd58f28acec6713cb311750173e4 | 6dfa424975d29ac32bc5068c281229277c7d1318 | refs/heads/master | 2021-01-14T03:51:40.268030 | 2020-05-06T23:14:50 | 2020-05-06T23:14:50 | 242,590,521 | 8 | 2 | null | 2020-05-06T21:49:40 | 2020-02-23T21:04:14 | Makefile | UTF-8 | C++ | false | false | 3,151 | h | RobotController.h | /*
* Group 7 RWA 4
* RobotController.h: Contains declarations for RobotController Class
*/
#ifndef SRC_ROBOT_CONTROLLER_H
#define SRC_ROBOT_CONTROLLER_H
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/PoseStamped.h>
#include <moveit/move_group_interface/move_group_interface.h>
#include <moveit/planning_sc... |
380c14657d6cf44a728f40e3e64315a88ef1e208 | e1522f45a46820f6ddbfcc699379821e7eb660af | /timus/1109.cpp | ce14a0161e2e9a69d53d39b85a61eb6c60378b9b | [] | no_license | dmkz/competitive-programming | 1b8afa76eefbdfd9d5766d5347e99b1bfc50761b | 8d02a5db78301cf34f5fdffd3fdf399c062961cb | refs/heads/master | 2023-08-21T00:09:21.754596 | 2023-08-13T13:21:48 | 2023-08-13T13:21:48 | 130,999,150 | 21 | 12 | null | 2023-02-16T17:43:53 | 2018-04-25T11:54:48 | C++ | UTF-8 | C++ | false | false | 2,432 | cpp | 1109.cpp | /*
Problem: 1109. Conference
Solution: graphs, flows, max matching, dinic, O(sqrt(n) n^2)
Author: Dmitry Kozyrev, github: dmkz, e-mail: dmkozyrev@rambler.ru
*/
#include <stdio.h>
#include <algorithm>
#include <vector>
#include <queue>
#define size(x) (int)(x).size()
#define all(x) (x).begin(), (... |
84b3d3fdbf080748c2b00ac0b011eafe3eedbfc5 | 8a515bd1d96df585df1ccda5a314cfce03e55566 | /scripts/55 Jump Game.cpp | 0a18f7f04379460868363d892a3843bd8e9a74ba | [] | no_license | tttt1415/leetcode | e01921ac582332501a80bb75effba878040b76f0 | a287c64b42ce542ac7d9d7bc16ddcff84ca517df | refs/heads/master | 2021-01-17T08:53:05.027415 | 2016-04-06T02:06:53 | 2016-04-06T02:06:53 | 35,409,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | 55 Jump Game.cpp | class Solution {
public:
bool canJump(vector<int>& nums) {
int maxIndex = 0;
int size = nums.size();
for (int i = 0; i < size; i++) {
//i > maxIndex means we are not able to reach the ith location
if (maxIndex >= (size-1) || i > maxIndex) break;
... |
4cd1497854ed7e083ac8a5f438bedee2e67d5315 | 9b789272ed1bf56fbe86186b1c72a01698fbb37b | /src/caffe/layers/periodic_loss_layer.cpp | a4435ea1359b0be52e437e6dccbfc838fcb67e55 | [
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | trainsn/caffe-render-for-cnn-view_prediction | 824584781c2835ad9e4272625d276cd7e3be70a0 | e7852d52d1599977db21d4a0363a74b213f06152 | refs/heads/master | 2020-03-14T11:03:51.738223 | 2018-12-16T16:09:27 | 2018-12-16T16:09:27 | 131,582,203 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cpp | periodic_loss_layer.cpp | #include <vector>
#include <cmath>
#include "caffe/layer.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
#define PI 3.14159265
namespace caffe {
template <typename Dtype>
void PeriodicLossLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>*>& bottom, co... |
9f9b57c228158f89f802a4de4d2d828eb94dcfad | 576c98bf98f8a951d8395ed5b88632df80cbab84 | /ass03/Grid.cpp | d5a699210809c599478612711fec458f1340554d | [] | no_license | returnturn/CMPUT350ASSIGNMENT | 53034348a02027f26edf806b1ac6efd124e26ae0 | d498f0e9fb08ce670a8abc6e1e49c584a5dcd81c | refs/heads/master | 2022-11-12T02:43:46.527844 | 2020-06-23T00:19:02 | 2020-06-23T00:19:02 | 274,269,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,638 | cpp | Grid.cpp | #include "Grid.h"
Grid::Grid(int width_, int height_)
:width(width_), height(height_){
grid.resize(width*height);
}
Grid::~Grid(){
}
int Grid::getWidth() const{
return width;
}
int Grid::getHeight() const{
return height;
}
Grid::Tile Grid::getTile(int x, int y) const{
int i... |
8901c9cfcc25f3b6be70adcfc29683ed00b36c02 | 797c19970e9e56f24b2b858e4f65763b503a4381 | /test/unit-api/hcrng_Substreams.cpp | 956411544a0cf4f0d4557ec5c6a790db17c62f90 | [] | no_license | NEELMCW/hcRNG | 98535d4041494c7ae435ef7f7104f999aa248fc0 | cb4af1a756717c900192752a9a26db6faf0ecec6 | refs/heads/master | 2021-04-12T10:05:52.098307 | 2017-06-13T13:13:34 | 2017-06-13T13:13:34 | 94,526,996 | 0 | 0 | null | 2017-06-16T09:12:40 | 2017-06-16T09:12:39 | null | UTF-8 | C++ | false | false | 12,059 | cpp | hcrng_Substreams.cpp | #include <hcRNG/hcRNG.h>
#include <hcRNG/mrg31k3p.h>
#include <hcRNG/mrg32k3a.h>
#include <hcRNG/lfsr113.h>
#include <hcRNG/philox432.h>
#include "gtest/gtest.h"
#define STREAM_COUNT 10
TEST(hcrng_Substreams, Return_Check_Substreams_Mrg31k3p ) {
hcrngMrg31k3pStream* stream1 = NULL;
hcrngStatus status, err;
... |
7cc7e43e18250c165c10bb82e9834a2cde263ffe | cafe4cc5e7b49b7628440bd4abe060b2b375b8d2 | /Team_Alien_2/AlienEngine/source/Graphics.cpp | 4794fbfd1ccb585e8613d5621f6dee7090840c2f | [] | no_license | sshedbalkar/DigiPen_Backup | 47e75d03d06f8753c34c3777f2685a1fa055b7c9 | a4bc4446e28bd997a4ad35bf53d70fa3707189ff | refs/heads/main | 2022-12-25T18:36:22.711116 | 2020-10-11T09:32:22 | 2020-10-11T09:32:22 | 303,085,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,507 | cpp | Graphics.cpp | #include "Precompiled.h"
#include <fstream>
#include "Graphics.h"
#include "Message.h"
#include "Core.h"
#include "d3dclass.h"
#include "Model.h"
#include "FilePath.h"
#include "cameraclass.h"
#include "WindowsSystem.h"
//component registration
#include "Factory.h"
#include "ComponentCreator.h"
#include "M... |
2226f98d48d3e15dbcaf0260ba6db9d310d0bcb7 | cf89816473b3aed5d5b921cd4ab9f4799c5e035e | /psychic-ui/components/Label.hpp | 32b640a1417b044de7f4d8ec19a4bdce0a4cbcd6 | [
"MIT"
] | permissive | ubald/psychic-ui | 3567780a2c637670e10b34af4004aa99f9f41e9d | e01e23b11c7b70fc3d3cde8c986d05679d3f7c4f | refs/heads/master | 2022-06-22T16:39:29.610653 | 2018-12-24T21:35:23 | 2018-12-24T21:35:23 | 101,276,288 | 38 | 15 | MIT | 2022-05-20T10:14:10 | 2017-08-24T09:12:58 | C++ | UTF-8 | C++ | false | false | 796 | hpp | Label.hpp | #pragma once
#include <string>
#include "psychic-ui/TextBase.hpp"
namespace psychic_ui {
/**
* @class Label
*
* Displays single lines of non-selectable text.
* For more control and options see the Text class.
*/
class Label : public TextBase {
public:
explicit Label(const ... |
83ad31dd8efcbc72d792db8b75d62ff38a9ce40a | fb28190ca335e6d31e27e747a4f2d48c3948752f | /changecolors.ino | f3f0b192a2a704cc265f13a1af6133cc00aaf8d5 | [] | no_license | hannahwhitmore/Portfolio | 71bbd76ab3b2ca7acce02abc59a2cfb0ed78edc8 | 929f634893ca09e59db4047c60ee40e8ede2b461 | refs/heads/master | 2021-01-01T06:40:01.852125 | 2017-08-16T19:31:50 | 2017-08-16T19:31:50 | 97,478,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | ino | changecolors.ino | int red = 13;
int yellow = 12;
int green = 9;
void setup() {
pinMode(red, OUTPUT);
pinMode(yellow, OUTPUT);
pinMode(green, OUTPUT);
}
void loop() {
changeLights();
delay(500);
}
void changeLights(){
digitalWrite(green, LOW);
digitalWrite(yellow, HIGH);
digitalWrite(red, LOW);
delay(500);
digitalWrite(yell... |
6e761a8dddab3de7f337f181b20723bbc8524327 | 876bfb44225b5e7d99ce6677c93ddbdc19a730e3 | /test/MySocket.h | f67db8419fbc713fdb753effcdc9639db9783429 | [] | no_license | rituraj131/Web-client | 6efa0e3a96a75c2be0248bb12dc43b962ab84575 | c60a32a287b9779afe20c40d480962ca7e534332 | refs/heads/master | 2020-03-17T02:39:09.338957 | 2018-05-13T02:34:30 | 2018-05-13T02:34:30 | 133,199,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | MySocket.h | #pragma once
#include "common.h"
#define INITIAL_BUF_SIZE 8192
#define MAX_BUFF_SIZE_ROBOT 16384
#define MAX_BUFF_SIZE_PAGE 2097152
class Socket
{
private:
SOCKET sock;
char *buf;
int allocatedSize;
int curPos;
public:
Socket();
~Socket();
bool socket_connect(struct sockaddr_in &server);
void socket_init();
... |
c72d78380739be799bc06ed2809035a7ff3180b6 | 58984ee394c34eca219d0690b79a7d40f2b71543 | /cinn/poly/naive_scheduler.cc | 54f8909188d1146f9b508f227f80f732b8ccfcb0 | [
"Apache-2.0"
] | permissive | Joejiong/CINN | 889d95b99e796b6c59a3a2ea5cc129c7094583c1 | a6beb59f729e515dfe60b2264b0bed670acaff88 | refs/heads/develop | 2023-04-27T16:39:35.116998 | 2020-10-27T09:25:40 | 2020-10-27T09:25:40 | 304,844,917 | 0 | 0 | Apache-2.0 | 2020-10-17T09:56:56 | 2020-10-17T09:42:38 | null | UTF-8 | C++ | false | false | 940 | cc | naive_scheduler.cc | #include "cinn/poly/naive_scheduler.h"
#include <vector>
namespace cinn {
namespace poly {
std::unique_ptr<Schedule> NaiveScheduler::BuildSchedule() {
PartitionGroups();
CHECK(!groups_.empty());
for (auto &group : groups_) {
std::vector<Stage *> status;
CHECK_EQ(group.nodes.size(), 1UL);
NaiveGrou... |
b3b09a001640ab9291f251e384308d1cbac60111 | d66030c7fa6247b865f973017777c87fce06f3de | /pcv4/Pcv4.h | 2e86f6acc6746882acc63acd3f63a89687e68848 | [] | no_license | BayRanger/PHOTOGRAMMETRIC-COMPUTER-VISION | 3f8afcc8fc951b01dd62c5c7c4053fcd1e11ab25 | c04cb72c5dd7e00d4cfad279a3453a50e3ec921a | refs/heads/master | 2023-04-24T19:56:41.490045 | 2021-05-14T08:16:27 | 2021-05-14T08:16:27 | 343,090,784 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,812 | h | Pcv4.h | //============================================================================
// Name : Pcv4.h
// Author : Ronny Haensch, Andreas Ley
// Version : 2.0
// Copyright : -
// Description : header file for the fourth PCV assignment
//========================================================================... |
ab515efb2ff5d48bee49fdcd449542f65ff351b8 | 63c637fc2773ef46cd22e08e3334121512c31074 | /3wkSeries/Day1/ELBOW_CASES/elbow_quad_refined/26/phi | 8648c870c53f847fac058bc5ee6b9f117bfa35b7 | [] | no_license | asvogel/OpenFOAMEducation | 438f811ad47631a414f6016e643dd12792613828 | a1cf886fb6f9759eada7ecc34e62f97037ffd0e5 | refs/heads/main | 2023-09-03T17:26:24.525385 | 2021-11-05T18:08:49 | 2021-11-05T18:08:49 | 425,034,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170,030 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*-------... | |
a93320aa394b842cfcf2792b42137e42102d48a9 | 8a819b2a0a643b659097b96d041c52e5df81b4a1 | /books/Design_Pattern/Bridge/Product/ShanZhaiCorp.h | c94bbfb4dd3bd5e0fcec5852681251e79c843eff | [] | no_license | hackerlank/Norman | 82e9112eaa838b7fc8e8fd79030f57ca9d58ef59 | db414c7855dacf923edf60849e413c3e2f572922 | refs/heads/master | 2021-01-12T08:57:19.805317 | 2016-07-02T07:33:44 | 2016-07-02T07:33:44 | 76,732,695 | 0 | 1 | null | 2016-12-17T15:53:07 | 2016-12-17T15:53:07 | null | UTF-8 | C++ | false | false | 597 | h | ShanZhaiCorp.h | /**
* - version 1.0
* -------------------------------
* Copyright (C) 2016-2016 by Norman (none_lih@163.com)
* Report bugs and download new versions at https//github.com/evely211
*
* This library is distributed under the MIT License. See notice at the end of this file.
* This work is based on POSIX,which is:
* Copyr... |
feffb338544cae62d1b9e428f5aedbc91f5a52c5 | a50d2bdefa0f19de6c0174834e147483941545e7 | /datas.h | 57c99f40a610067cc5d4e509cdf6fe26ef53ddaa | [] | no_license | starlegendary/Mazer | a220509c6a77e68adbe9ca0a1972a6b41836cae8 | 700bd3ccdf228ce97f8aea267479dacade755bc5 | refs/heads/master | 2022-07-04T03:09:17.394110 | 2020-05-09T15:11:54 | 2020-05-09T15:11:54 | 254,665,494 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | datas.h | #ifndef _DATAS_H
#define _DATAS_H
#include <iostream>
#include <map>
#include <vector>
#include <string>
#include <ctime>
#include <cstdlib>
using namespace std;
struct position
{
int x,y;
};
struct status
{
position pos;
int h, d, v;
};
struct doors
{
int f, b, l, r;
};
st... |
da908b04453e8675de90742ccdf72cde656558d3 | 9e713b71704f5e7b13c37e77c040e6b19e8bfc88 | /exercise/ex2_10.cpp | 8db8b22690cbf7a86886b6b462ec60fa3d1ee32e | [
"MIT"
] | permissive | b1tank/cpp-primer | e11ffb5a806b7ffe91299b4eb8a12de876a5f296 | a576589f1c8aaf45a717ba880fc44cfe0258b823 | refs/heads/main | 2023-03-05T19:59:06.824554 | 2021-02-15T06:54:27 | 2021-02-15T06:54:27 | 338,990,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | ex2_10.cpp | #include <iostream>
#include <string>
std::string global_str;
int global_int;
int main() {
int local_int;
std::string local_str;
if (global_str == "") {
std::cout << "global string is empty" << std::endl;
}
if (global_int == 0) {
std::cout << "global int is 0" << std::endl;
}
... |
b75d742b43793d8b4652d3003071776a19c4e9e9 | dbdef918ffc9aea48737b3747b19df7405c8e5b0 | /C Primer Plus/3.11编程练习(3)/源.cpp | f796836e77b79ac87fa5833260648319716675a7 | [] | no_license | azhi-fengye/Introduction-to-algorithms | c0b48b96f2dcb07f22fd24da45a332b304333da0 | d0342c8d30f823a78feb24141cde66bfab9a4801 | refs/heads/master | 2021-08-17T06:43:27.888764 | 2021-02-20T18:20:38 | 2021-02-20T18:20:38 | 248,996,972 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 257 | cpp | 源.cpp | #include<stdio.h>
int main(void)
{
printf_s("\aStartled by the sudden sound,Sally shouted.\n");//(警报声)萨莉被这突如其来的声音吓了一跳,喊道
printf_s("\"By the Great Pumkin,what was that!\"");//天哪,那是什么!
return 0;
} |
7fb6bf64cf5b46de6e464cb6491eb5b7b616a956 | cd060892280983a64d1d463fcea7b3edbf843cf8 | /includes/Graphics/bk/ported/ClassIdentifier.h | 32aa29f12215163c16221dc41aef0137f5aef3f7 | [] | no_license | zhvirus/zhangtina | c8741d3cab4cc0929db6776dde3ce5a4733fabe1 | 88a6f85992861862e22cd9edbe852f45b8a62775 | refs/heads/master | 2021-01-21T04:31:30.673821 | 2016-06-29T03:14:16 | 2016-06-29T03:14:16 | 14,973,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | h | ClassIdentifier.h | #ifndef CLASS_IDENTIFIER_H
#define CLASS_IDENTIFIER_H
namespace ZH{
namespace Graphics{
enum E_CLASS_ID{
E_CID_TEXTURE2D,
E_CID_RENDER_ITEM,
E_CID_RENDER_NODE,
E_CID_RENDER_NODE_GRID,
E_CID_CAMERA,
E_CID_CAMERA_ORTHO,
E_CI... |
f13cee491793797857a1d0aa31ad1668457c9f0c | 9b7ef756753db8a423d3186f8fb5c803786201fc | /include/spiffing/clearance.h | 1157c3d7e35fb56210a17771a4717c6fd0ce5b09 | [
"MIT"
] | permissive | surevine/spiffing | f92f8dc40ead675f8d47dc904084c60fba3dcf83 | c37e1a5f285bda8342179723a8fbf002ce9e97ae | refs/heads/master | 2022-01-23T12:13:58.126583 | 2019-02-06T14:20:10 | 2019-02-06T14:20:10 | 27,731,693 | 10 | 3 | MIT | 2022-01-18T10:41:07 | 2014-12-08T19:42:21 | C++ | UTF-8 | C++ | false | false | 2,461 | h | clearance.h | /***
Copyright 2014 Dave Cridland
Copyright 2014 Surevine Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, me... |
a0116ba7db778528a9c002ff9be11c01ab26fdd7 | cac234b8af280702a6d01c2a1307fb25ff3a9580 | /复试真题/2014/01串/main.cpp | 3cda8b39160cffac85ded29d655b15e1102dd173 | [] | no_license | Benedict0819/ECNU-computer-test | 1c3f6e8bb2517b06d965335a25dd80313bf80a58 | 1bb4cad01c52267a77416415296587ab8408243f | refs/heads/master | 2020-03-29T12:00:10.648616 | 2018-03-09T10:10:25 | 2018-03-09T10:10:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,042 | cpp | main.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
void swap(char* a,char*b)
{
if(*a!=*b)
{
char t=*a;
*a=*b;
*b=t;
}
}
void reserve(char*first,char*last)
{
int left=0,right=last-first-1;
while(left < right)
{
swap(first++,--last);
++left;
--right;
}
}
//下一个排列,有重复的字符也可。
//算法:从右到左找到第一个 A[i]<A[... |
0dba5e014fa0f22e525bf23f6601451feb23548a | 8e86e0a1c720109135da04ed27691961572bb5a8 | /app.cpp | e6f0d71a2bbf6b9124b770c0a1dc2f53c051f0ce | [] | no_license | zhoushanbao1994/Login | 395903543eddd1b292da111dcf49aa4dee02222c | cc6a696a9f4b9da07fe64bad8639fe80fc2d4adb | refs/heads/master | 2021-04-20T10:37:47.915251 | 2020-03-26T07:55:25 | 2020-03-26T07:55:42 | 249,675,625 | 0 | 0 | null | 2020-03-24T10:16:36 | 2020-03-24T10:16:35 | null | UTF-8 | C++ | false | false | 104 | cpp | app.cpp | #include "app.h"
#include <QCoreApplication>
#include <QtDebug>
SQLite *App::sqlite;
App::App()
{
}
|
728c8abd549cec07c56261bf51ec9b58174a3088 | bf2869a0d080fa547c2557962659fa0822c4f6eb | /Bean/bean/env/user/UserMatcher.h | f7207b90662b79de172f74be225e90af0a5d0f37 | [] | no_license | desktopgame/Bean | 966f8a148c94bb1035373a811c910e3f50f6d238 | 743904b5d61d4914536e5fbb678236199abe6f0b | refs/heads/master | 2021-09-26T08:43:48.247461 | 2017-11-11T06:22:01 | 2017-11-11T06:22:01 | 110,304,259 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,836 | h | UserMatcher.h | #pragma once
#ifndef BEAN_ENV_USER_USERMATCHER_H
#define BEAN_ENV_USER_USERMATCHER_H
#include <regex>
#include "../Object_.h"
#include "../Reference.h"
class UserPattern;
/**
* 正規表現エンジンのラッパー.
*/
class UserMatcher : public Object_ {
public:
UserMatcher(const std::string& source, UserPattern* pattern);
~UserMatcher(... |
6c342d3a20b43505262eafb0dd248477a3d105eb | 634c8cce6a21e215cefcaf21428cc7ad13bbb09b | /widgets/expandbutton.h | 1505a4151e5a011d5fcdd68179a2e5bcc3593a86 | [] | no_license | BlackrockNeurotech/BOSS | fa057810d767a25dd46b8d83b55bfd918c89f553 | af8e4ee39f3866b2837d39555b7905ca371e0cc5 | refs/heads/master | 2022-04-09T12:33:21.509280 | 2020-03-23T17:59:44 | 2020-03-23T17:59:44 | 249,498,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | h | expandbutton.h | #ifndef EXPANDBUTTON_H
#define EXPANDBUTTON_H
#include <QPainter>
#include <QCheckBox>
class ExpandButton : public QCheckBox
{
Q_OBJECT
public:
ExpandButton(QWidget *parent);
~ExpandButton();
void setColor(QColor color);
protected:
virtual void paintEvent(QPaintEvent *event);
... |
93f213714c2e86a3226bf608e808d4740499051c | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Client/Gui/QuestRewardGui.cpp | 7e461ba4c2384b5fc13976bec1113ce4a6b5ebdf | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UHC | C++ | false | false | 11,718 | cpp | QuestRewardGui.cpp | #include "precomp_dboclient.h"
#include "QuestRewardGui.h"
// core
#include "NtlDebug.h"
// shared
#include "QuestTextDataTable.h"
#include "ItemTable.h"
#include "QuestItemTable.h"
#include "SkillTable.h"
#include "TableContainer.h"
// gui
#include "GuiUtil.h"
// presentation
#include "NtlPLGuiManager.h"
// simul... |
751abef50492beea5088f4c1f0a44cdc65afb052 | cedcb4d7819146788aa31260c52989703eb16dfa | /Blackjack/src/box.h | b91e96bbd19a0ae0ea6f53abf625770e102699bf | [] | no_license | evgenybakshaev/gbOPP | 02f4fb8754246280a7dbf900ddfe05a106d6350f | 9334e905d9b4a0fbc6270c4d2643f89e865e8172 | refs/heads/master | 2022-11-09T02:11:19.599655 | 2020-06-11T04:03:25 | 2020-06-11T04:03:25 | 265,614,767 | 0 | 0 | null | 2020-06-11T10:11:11 | 2020-05-20T15:54:04 | C++ | UTF-8 | C++ | false | false | 112 | h | box.h | #ifndef BOX_H
#define BOX_H
#include "hand.h"
class Box : public Hand
{
public:
Box();
};
#endif // BOX_H
|
7dfbe37324b9de2f3503941c1f72440fd98bcde0 | 3966bdaa82deff3f5007ce8e5ca0c7b81fbc3e81 | /yukicoder/760.cpp | 9cbefd27aa94eb79ca5b810fee152831740186eb | [] | no_license | sogapalag/contest | be955b61af67f1c104862e10ed51da9cea596016 | c1a2a8268d269c559d937148e7c7fa8c236a61ad | refs/heads/master | 2023-03-18T04:51:39.882314 | 2021-03-08T00:16:04 | 2021-03-08T00:16:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp | 760.cpp | #include <algorithm>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <str... |
cc119194748bd788ad32dcc54fd159a6dfc291a8 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/browser/infobars/infobar_service.cc | 40f516525a162f1a7ba47ad926eb22361f15d0d2 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 953 | cc | infobar_service.cc | // Copyright (c) 2013 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.
#include "chrome/browser/infobars/infobar_service.h"
InfoBarService::InfoBarService(content::WebContents* web_contents)
: infobars::ContentInfoBa... |
86503f9538efc785969fd32cb5c7c085e83e71d6 | d635aafcf9f07af12046e040e7779ad0ea732695 | /src/ParseArguments.cpp | 6884df17d765ad8eda847360296dd4481e713383 | [
"Apache-2.0"
] | permissive | ianchi/jThread | 9a1a386131f4c23f5c124b6f8040c338b0a8b6db | 32b61330dcd42f6cb2d3a3457d198694619c25cb | refs/heads/master | 2021-01-20T01:57:19.363702 | 2014-09-11T02:14:36 | 2014-09-11T02:14:36 | 22,270,201 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | cpp | ParseArguments.cpp | #include "stdafx.h"
#include "ParseArguments.h"
#include "winUtil.h"
using namespace std;
ParseArguments::ParseArguments(const wstring &bList, std::initializer_list<std::pair<wchar_t, std::wstring>> sList, int argc, wchar_t* argv[]) :
boolList(bList), parseOK(false), strPattern(sList.begin(), sList.end()), strList(L"... |
cb5ac74b98b8fd55e40fcc56fa3a99d84a01542d | 5c549175d7264cb8743ea94aa1a90dd390e82ea9 | /Dialoge/dialog_programmkopf.cpp | 6e796411a27ac0833131dfbecb5aa1d73c780674 | [] | no_license | sliu3/GCodeGenerator | f741b2061d515eb60061b1afaae7a6322c601873 | 381861067ec0449aa9e370f42225616c16b2da0f | refs/heads/master | 2023-03-17T19:28:52.493372 | 2019-11-30T16:41:10 | 2019-11-30T16:41:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,400 | cpp | dialog_programmkopf.cpp | #include "dialog_programmkopf.h"
#include "ui_dialog_programmkopf.h"
Dialog_Programmkopf::Dialog_Programmkopf(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dialog_Programmkopf)
{
ui->setupUi(this);
openToModifyData = false;
ui->pushButton_OK->setDefault(true);
}
Dialog_Programmkopf::~Dialog_Progr... |
ba59192d31d14bdd5aefca382112554205f07960 | 1f5df8d375e7cb61d7c5481a83d5431df8a0e891 | /sortofsorting.cpp | f636ce29efabb710209d843a80165dcccc20d6fa | [
"MIT"
] | permissive | luctowers/competitive-programming | 5a397fa001910503e881923eb6ec0477be275cf3 | dd4ea608f6b4f11815b2f9e05bff772a12e08c0b | refs/heads/master | 2020-12-27T21:43:43.479057 | 2020-02-06T23:41:16 | 2020-02-06T23:41:16 | 238,068,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | sortofsorting.cpp | // https://open.kattis.com/problems/sortofsorting
#include <iostream>
#include <map>
int main() {
unsigned short name_count;
std::string name;
std::map<unsigned,std::string> sorted_index;
while (true) {
std::cin >> name_count;
if (!name_count)
break;
for (unsigned short i = 0; i < name_co... |
56493bbf18eb78c8db9e873bbd05b513ceefd3f0 | 6920fe285af88487074126e8efb9983f27a961e8 | /traktor_z.cpp | e0c1baeea580004dd1626b83b3e3b07d0b81009e | [] | no_license | konradinfa3/projektW | 6b2570af236b873f0bad36ca33c0e152d5d59028 | 03d8a983e89965d552a6b7c92faa5ad3baff0b53 | refs/heads/master | 2021-01-22T03:49:26.713177 | 2017-06-25T10:07:38 | 2017-06-25T10:07:38 | 92,407,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | traktor_z.cpp | #include "traktor_z.h"
#include "zetor.h"
maszyna_s* traktor_z::zbuduj()
{
return new zetor();
} |
aeb69207f4a07dbaef9c5f582e0dc55e613104ac | 4960d4f64928a065748fd072fc6d246e23775bbd | /hdu1711之KMP入门.cpp | d8940fea1150732f871affc4009de2c4a53fb170 | [] | no_license | Stephen1993/ACM-code | b46d75e4367387e7ca4bec6442a7b29b73594f8d | fd6c2fbad8b0dd1d5f3c90df733c8bc09070ae2a | refs/heads/master | 2020-07-28T19:44:03.076259 | 2019-11-15T15:08:12 | 2019-11-15T15:08:12 | 73,697,351 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | hdu1711之KMP入门.cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<string>
#include<queue>
#include<algorithm>
#include<map>
#include<iomanip>
#define INF 99999999
using namespace std;
const int MAX=1000000+10;
int a[MAX];
int b[10000+10];
int next[10000+10];
void get_next(int a[],int l... |
8029e7c203368441f2dfaeaba92f5d8ee145c9e0 | 7942b457c56662743a6128517f1ba7287a4e7504 | /2020_01_03/BOJ17143_JJ.cpp | a79115f00d587dcb6a5ac86b1a0ec41c7f038874 | [] | no_license | JungJaeLee-JJ/Algorithmic-Problem-Solving | 8fdaf772b54fc21f9f1af64db4bd0b28fc69c48e | 814d771b8d31c0bb5e1600c72a970db79103e45f | refs/heads/master | 2021-07-15T20:46:17.515870 | 2020-12-06T13:34:09 | 2020-12-06T13:34:09 | 231,224,644 | 0 | 1 | null | 2021-07-24T08:51:49 | 2020-01-01T14:14:32 | C++ | UTF-8 | C++ | false | false | 5,451 | cpp | BOJ17143_JJ.cpp | #include<iostream>
#include<vector>
#include<cstring>
using namespace std;
int r,c,m;
int left_to_move;
int dir[4][2]={{-1,0},{1,0},{0,1},{0,-1}};
int table[101][101];
struct shark{
int x,y,s,d,z;
bool is_live={true};
};
shark tmp;
vector <shark> v;
void shark_move()
{
for(int i=0;i<v.size();i++)
{... |
f9c10e71e06a9ccfdb0b6d9632a1313281c27f72 | 0344a4105db75a0cd12d739540490c9b3fc086c9 | /ACLPlugin/Source/ACLPlugin/Public/IACLPluginModule.h | 2fea95e41a0fa99a924bef93f0fad24b3ce41b49 | [
"MIT"
] | permissive | nfrechette/acl-ue4-plugin | 5b6c9154d2d90a55959d2eb854749e9838ab664b | 7b36df8d6f44366b96e34ec362c3d4624eef0bc5 | refs/heads/develop | 2023-06-14T09:48:38.508051 | 2023-05-12T02:11:14 | 2023-05-14T01:47:23 | 133,742,035 | 433 | 57 | MIT | 2023-06-07T01:52:41 | 2018-05-17T01:27:23 | C++ | UTF-8 | C++ | false | false | 482 | h | IACLPluginModule.h | #pragma once
// Copyright 2018 Nicholas Frechette. All Rights Reserved.
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
/** The main ACL plugin module interface. */
class IACLPlugin : public IModuleInterface
{
public:
static inline IACLPlugin& Get()
{
return FModu... |
789f958f65760b5a09f3c410e839bcaae716fa51 | 051482d24cf3d5dbc4676ad0ce6ab32e64e968da | /MOGoap/Source/MOGoap/Goap/Actions/IdleAction.cpp | 1b1f9395c34aeaaaebf15a29c5fa2e7ee303ada8 | [] | no_license | Hengle/GoapSystem | ee449e4b9b7b9f71327ec46381cd4ba56a6d8072 | fd2699f4c98ffec968d31906161693e6a4551c48 | refs/heads/main | 2023-03-16T02:20:11.452675 | 2020-11-08T09:20:36 | 2020-11-08T09:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | cpp | IdleAction.cpp | #include "IdleAction.h"
#include "GameFramework/Character.h"
#include "../Core/MOGoapAgent.h"
#include <Engine/Engine.h>
#include "../../MOGoapAI.h"
IdleAction::IdleAction():MOGoapAction()
{
ActionName = "IdleAction";
effects->Set("needIdle", true);
DelayTime = 5.0f;
}
std::vector<MOGoapState*> IdleAction::GetSe... |
4d49b495073ccdf04087e8fc9bf1a51dd514ba01 | a1135c0745cf2210d547af55a9bb732818cd4216 | /tests/cpp/TestsMain.cpp | 2d1a2e311287dac01a919cdcaa76ee0f2d8e4a4e | [] | no_license | DavidSaxon/Omicron | bb8138ed55af8769a757c2493d66174dbd7e80b7 | 88adf810740f6728deb02ebeeb3808bb4a5f1ed2 | refs/heads/master | 2020-04-05T22:58:10.105260 | 2018-01-17T09:57:20 | 2018-01-17T09:57:20 | 68,196,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | TestsMain.cpp | #include <arcanecore/test/ArcTest.hpp>
//------------------------------------------------------------------------------
// MAIN FUNCTION
//------------------------------------------------------------------------------
int main(int argc, char* argv[])
{
// run tests
ret... |
a1f8435938ceaf817bf45488264df1e771bfa790 | ac241047d502f84c54396d2d94d7bd017d295307 | /code/plotms/PlotMS/PlotMSSelection.cc | adddfe1f0dfd3e009eb55675d54178d441ce2294 | [] | no_license | CARTAvis/New-casa | 365609660b0f6a8346f2099465eebc4e6477202c | d86c6e21465f9eb3ef8924142d0ab1933fa99d6b | refs/heads/master | 2021-09-24T04:37:59.382813 | 2018-10-03T03:58:44 | 2018-10-03T03:58:44 | 151,343,238 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,645 | cc | PlotMSSelection.cc | //# PlotMSSelection.cc: MS Selection parameters.
//# Copyright (C) 2009
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; ei... |
4de3e2d82aec96bc394fdf7356906fabfbce1eb0 | 6ef9f8416e555dcc347352a61d40c5800d0725c6 | /util/logging/entry.cc | dab122b69c319a2c38211b4a3d2418bcf5e84143 | [
"MIT"
] | permissive | bytbox/EVAN | 10eed1729d9fafefececeb3df2d4fca55a51f910 | 9cec8cfcd41168dec85677214c9df6a9cc215baa | refs/heads/master | 2016-09-02T00:05:25.043669 | 2012-09-12T15:06:48 | 2012-09-12T15:06:48 | 2,978,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cc | entry.cc | #include "util.hh"
using namespace util::logging;
#include <string>
using namespace std;
#include <ctime>
entry::entry(const level &lvl, const std::string &msg)
: lvl(lvl), message(msg), tm(time(NULL)) {}
|
91d7a847c6a0d3f094a1030379524acacb0ac72d | 06afc066ffb460ada63dfa9e0e1201cd890c9058 | /examples/se2_points_generator.h | cc921ec7e82e8688bbbe945aa3f87e1b19a3b039 | [
"MIT"
] | permissive | artivis/manif | 9be04fd896924eab4812aa33719e93ee480ff8ba | bb3f6758ae467b7f24def71861798d131f157032 | refs/heads/devel | 2023-08-20T03:18:29.379652 | 2023-07-17T21:00:39 | 2023-07-17T21:00:39 | 129,808,016 | 1,277 | 215 | MIT | 2023-07-24T15:41:58 | 2018-04-16T21:28:32 | C++ | UTF-8 | C++ | false | false | 861 | h | se2_points_generator.h | #include "manif/SE2.h"
#include <vector>
namespace manif {
/**
* @brief Generate k SE2 points on an height shape curve.
* @param[in] k Number of points to generate.
* @return vector of k points.
*/
std::vector<manif::SE2d>
generateSE2PointsOnHeightShape(const unsigned int k)
{
// Generate some k points on 8-sha... |
052d4329c42e75d79345ef47717a9c365679cb71 | c7d6c6589476a46f5c90abdff89eaced2ad1bb16 | /WsCode/WsShmCamera.cpp | 50b2b10096b9f7cff4ed3b19c006b8ea06a57692 | [] | no_license | wildstang/2011_software | 2825319c1bdc28429d15f0985d10303a31c3da4c | 194d21781bf05362e9573a38a3687e73651522c8 | refs/heads/master | 2021-08-11T21:23:35.778954 | 2013-04-24T00:06:46 | 2013-04-24T00:06:46 | 67,354,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | WsShmCamera.cpp | //
//
// Generated by StarUML(tm) C++ Add-In
//
// @ Project : Wildstang
// @ File Name : WsShmCamera.cpp
// @ Date : 1/18/2010
// @ Author :
//
//
#include "WsShmCamera.h"
#include "WsVisionTask.h"
using namespace std;
WsShmCamera::WsShmCamera()
{
}
WsShmCamera::~WsShmCamera()
{
}
... |
71d73b499bcda4c4e295c4952aacb1f38d1a0162 | ff383401324de6a733c57014925e1db9e153b822 | /Difficulty/Easy/[101] Symmetric Tree/solution.cpp | b8401c8ab7ad0a495d8ef18a70b8f94ae0d982b8 | [] | no_license | ForSign/Leetcode-1 | 7af7a74c9a5c01c7e67faa5f6e5874f4d3902565 | 9a2d41fb15304cc7aaff5a36aced5dc0ab6d3745 | refs/heads/master | 2023-03-15T20:21:07.254494 | 2020-10-14T08:04:24 | 2020-10-14T08:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | cpp | solution.cpp | /*
* @lc app=leetcode id=101 lang=cpp
*
* [101] Symmetric Tree
*/
// @lc code=start
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
#include <queue>
class Solution {
... |
6dfc65c81b82235f2a46f7183607705dee0a855d | 3c2e997ec49bd97a21d3685e088f3d69e2fb48ad | /codeforces/764a.cpp | 21a53b00ab187b0c921cf4d19bfc09de4975c285 | [] | no_license | LGBitencourt/Competitive-Programming | 7faa5b2c33ab08a7e79ff1713a3d5731501daccd | 609d35a109236278a33f2eb0b5699952c12ce5fa | refs/heads/master | 2021-01-17T04:08:04.596355 | 2017-06-18T22:11:50 | 2017-06-18T22:11:50 | 40,277,315 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | 764a.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
const double eps = 1e-9;
const int inf = 0x3f3f3f3f;
const int MAXN = 11234;
int main() {
int n, m, z, ans = 0;
scanf(" %d %d %d", &n, &m, &z);
for (int i = 1; i <= z; i++)
if (i % n == 0 && i % m == 0... |
b1ce865830b14a07a3b18280fa8af88fba45d726 | ef85c7bb57412c86d9ab28a95fd299e8411c316e | /inference-engine/tests/functional/plugin/gna/shared_tests_instances/subgraph_tests/multiple_input_fq.cpp | b6b2e5dab4378276b5e063c16c7f348590df4632 | [
"Apache-2.0"
] | permissive | SDxKeeper/dldt | 63bf19f01d8021c4d9d7b04bec334310b536a06a | a7dff0d0ec930c4c83690d41af6f6302b389f361 | refs/heads/master | 2023-01-08T19:47:29.937614 | 2021-10-22T15:56:53 | 2021-10-22T15:56:53 | 202,734,386 | 0 | 1 | Apache-2.0 | 2022-12-26T13:03:27 | 2019-08-16T13:41:06 | C++ | UTF-8 | C++ | false | false | 759 | cpp | multiple_input_fq.cpp | // Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <subgraph_tests/multiple_input_fq.hpp>
#include "common_test_utils/test_constants.hpp"
namespace SubgraphTestsDefinitions {
namespace {
std::vector<size_t> input = {
64,
};
std::map<std::string, std::string> additional_con... |
b6812eb3286c7234cb50d1608551a00d427e52f3 | bfbdd9fec0c38f20c395db389e3f9a375ac80f1b | /Data structures/stack_linked.cpp | fc54b0e6bf7d27686447f421626402c508074779 | [] | no_license | raethira/B.Tech-projects | 7bd001d6da7f4a0b385d62a90061408d7b9a60b4 | ba9b68a60e86510f7258a5196f9f0d7776e0cf3e | refs/heads/master | 2020-03-18T23:51:31.777806 | 2018-05-30T13:03:51 | 2018-05-30T13:03:51 | 135,433,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | stack_linked.cpp | #include <iostream>
using namespace std;
struct node
{
int data;
node *link;
};
class lstack
{
private:
node* top;
public:
lstack()
{
top=NULL;
}
void push(int n)
{
node *tmp;
... |
511bbe0d49e0eb6fac43ea308f3f041977650215 | 51f6ba5dc2d346ed7426faa25953adf127a395df | /Week 4 Assignments/stdDev.cpp | f0023d767a9ec145b946176ee8a75f881d22f288 | [] | no_license | TylerC10/CS165 | b21ac99bb7057e6c701a2b59403c2ada54c7e0db | f182901c857b28e441a14f16ab1d1c697f9e7caa | refs/heads/master | 2021-01-19T03:48:38.580934 | 2017-04-05T17:07:21 | 2017-04-05T17:07:21 | 87,334,099 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | cpp | stdDev.cpp | /********************************
* Name: Tyler Cope
* Date: 10/16/2016
* Description: The class implementation file for the stdDev
* method. This method takes an array of pointers to Students
* and the size of the array, and returns the standard deviation
* for the student scores. It includes the cmath header fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.