blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1dfc877e4d7f2e9d1020ab1126752567852efb63 | b6a53cc812f1e68eb06739ade4eb6c930d699886 | /c++/Third_Maximum_Number.cpp | 28a3eb74fd83b2163d2451e03d03dc877e400227 | [] | no_license | brotherhuang/notebook_leetcode | c07ee2bdd22b92b946a531ea2f73f5eebb0f6035 | 9c253dde16cc2f3891eaba1de998c0e96bf84fd6 | refs/heads/master | 2021-01-23T21:31:00.680491 | 2017-07-07T20:48:43 | 2017-07-07T20:48:43 | 58,677,338 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | cpp | /* Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n).
Example 1:
Input: [3, 2, 1]
Output: 1
Explanation: The third maximum is 1.
Example 2:
Input: [1, 2]
Output: 2
Explanation: The th... | [
"jackiehuanghaibin@gmail.com"
] | jackiehuanghaibin@gmail.com |
745466d0a1f85e9d82a79399f2c4275ad3e8ee22 | 5ffca7d93ccd473620e33bd4a4a42a9d2528da2e | /Source/NdiMediaEditor/Private/Factories/NdiMediaSourceFactoryNew.cpp | be0bc1b503cafe2ca764b01d641b8ffdfa1035a6 | [
"MIT"
] | permissive | coreyx/NdiMedia | b91d7d7ee858b101f8f7a2a57aa3b2bed5e60e48 | 3fc8f9304cefb82d7a7b17aa6bacc0f9c6fe15e3 | refs/heads/master | 2021-01-12T11:05:09.867488 | 2016-11-05T18:45:26 | 2016-11-05T18:45:26 | 72,816,467 | 0 | 0 | null | 2016-11-04T05:16:06 | 2016-11-04T05:16:04 | C++ | UTF-8 | C++ | false | false | 1,003 | cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "NdiMediaEditorPCH.h"
#include "NdiMediaSourceFactoryNew.h"
/* UNdiMediaSourceFactoryNew structors
*****************************************************************************/
UNdiMediaSourceFactoryNew::UNdiMediaSourceFactoryNew(const FObjectI... | [
"info@headcrash.us"
] | info@headcrash.us |
3681d7fb9a5742cfad6972a3ffd5fa5084a3f6bb | 6ffa896e369d54cca8bba473eb000c0dc448d872 | /Solutions/Hiro.cpp | 8849bf9af4683e4f9e1e2140cda28de2a5870778 | [] | no_license | jmonrealr/Problems | 0280514ecf63f4774563cfdd2a58a27baafeecaa | 12b0d652b72a36d398f51fccd0a4fd60b3857dae | refs/heads/master | 2023-07-16T12:30:51.943169 | 2021-08-26T23:07:35 | 2021-08-26T23:07:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include <iostream>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <cstdio>
#ifndef MAXN
#define MAXN 300001
#endif
using namespace std;
int a[MAXN],b[MAXN];
int n;
int f(int x){
int m=0;
for (int i = 0; i < n; ++i)
{
m+=abs(a[i]-x);
m+=abs(b[i]-x);
}
return m;
}
int main(int argc, char... | [
"loco7139@gmail.com"
] | loco7139@gmail.com |
1954435143e2cbf0f59c6d8d53b8bb7ec3005952 | 6e20207f8aff0f0ad94f05bd025810c6b10a1d5f | /SDK/Hallucinogen_Recipe_classes.h | f08cb23c2a15558bbdf3da03e2e984c5755f70f6 | [] | no_license | zH4x-SDK/zWeHappyFew-SDK | 2a4e246d8ee4b58e45feaa4335f1feb8ea618a4a | 5906adc3edfe1b5de86b7ef0a0eff38073e12214 | refs/heads/main | 2023-08-17T06:05:18.561339 | 2021-08-27T13:36:09 | 2021-08-27T13:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | #pragma once
// Name: WeHappyFew, Version: 1.8.8
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Hallucino... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
0468515df24374aded19062c34c3a6a2497614f9 | c1ff870879152fba2b54eddfb7591ec322eb3061 | /plugins/render/ogreRender/3rdParty/ogre/Components/MeshLodGenerator/src/OgreMeshLodGenerator.cpp | e2c83894186da89dd3d492e352b58ed84afa1da5 | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 14,068 | cpp | /*
* -----------------------------------------------------------------------------
* This source file is part of OGRE
* (Object-oriented Graphics Rendering Engine)
* For the latest info, see http://www.ogre3d.org/
*
* Copyright (c) 2000-2016 Torus Knot Software Ltd
*
* Permission is hereby granted, free of char... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
958ac9e06b056a8d10138d8e8ffdc0ce33a1f6bc | dd86cdab8fcec2271ace591fffa0dfa72414ac30 | /exercise/testStructAttributes/main.h | d001799c172da915086475839fad7fd79d3a6e7d | [] | no_license | amapig/QtPractice | 783c1558617b32e7890ea0d239d34c1a050bf12e | 90ae2392b781b44e4b1712b410c2d390308f3931 | refs/heads/master | 2021-01-10T20:35:57.192270 | 2014-03-24T11:12:01 | 2014-03-24T11:12:01 | 14,444,052 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 883 | h | #ifndef MAIN_H
#define MAIN_H
class CustomPalette : public QObject
{
Q_OBJECT
Q_PROPERTY(QColor background READ background WRITE setBackground NOTIFY backgroundChanged)
Q_PROPERTY(QColor text READ text WRITE setText NOTIFY textChanged)
public:
CustomPalette() : m_background(Qt::white), m_text(Qt::blac... | [
"mengcong@cmos.net"
] | mengcong@cmos.net |
be830804d05e382b7f532c56657509e2880e46c5 | 8626947b6358d0ae341e96ae760625305f053898 | /src/ssvd.cc | a2366aec394b0d595d117f9410c5fd272dc8fbcf | [
"MIT"
] | permissive | Essarelle/libssvd | 8e95f868d5dc7407f6b7b936d54cd2c25c76feb3 | cf305acbf1f4ae32447e7badd8257afd3f080ea1 | refs/heads/master | 2020-03-18T10:28:20.421314 | 2018-02-14T01:29:25 | 2018-02-14T01:29:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,863 | cc | /*
Copyright (c) 2016-7 Seth Pendergrass. See LICENSE.
*/
#include "ssvd.h"
#include <chrono>
#include <cstring>
#include "linalg.h"
using namespace std;
using namespace chrono;
using namespace ssvd;
void eig_to_svd(float* sigma, int s_n, float* v, int n, int k) {
//HACK s_n to allow for more than k singular val... | [
"sethdp@users.noreply.github.com"
] | sethdp@users.noreply.github.com |
84dc6f4397245a453766cf7226e98839c8d6e38e | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-fms/source/model/GetProtectionStatusRequest.cpp | f44d057b28e23fbd4602b6b3c3271ffde39e9829 | [
"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 | 1,617 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/fms/model/GetProtectionStatusRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::FMS::Model;
using namespace Aws::Utils::Json;
using name... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
671cca53d1987b93d03f25802f1c8578a00df0d9 | 14632f5c7d8b3867c3ee918ecc248826e0504de0 | /main.cpp | 69a9289bd36a86d4e08a053cc79e3334eb9b43a2 | [] | no_license | K-HUB-art/MiniProject_c- | 0340f7bdccb6273855f44c2579d6e491fe13d76e | d521383f8610902cc2d03b21b64c2bcd16ef64f7 | refs/heads/main | 2023-09-02T00:20:05.333790 | 2021-11-10T09:42:19 | 2021-11-10T09:42:19 | 426,563,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | #include <iostream>
using namespace std;
void showHelp();
int main(int argc, char *argv[])
{
//arguments counter - argc
//arguments values - argv
for (int i = 0; i < argc; i++)
{
if ((strcmp(argv[i], "-h") == 0) && i == 1)
showHelp();
}
/*
char a[] = {'a', 'b', 'c', 'd... | [
"noreply@github.com"
] | K-HUB-art.noreply@github.com |
1207163c6489688fc8746c698d2e94120b52a05b | e5d928c1439ad22bfa42707d3ca51862353c0502 | /templates/queue.h | 283c427d6ec705f179529cbb1a52b80f17c11321 | [] | no_license | judesantos/algo-cpp | c858b03af0ddf86352eaf814df5454868ea46591 | 47e5f9a523c58e0daa93f03621274bbebb43a24f | refs/heads/master | 2021-06-29T22:03:27.187936 | 2017-09-14T16:25:44 | 2017-09-14T16:25:44 | 103,554,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | h | #ifndef __QUEUE_H__
#define __QUEUE_H__
#include <assert.h>
template <class e>
class Queue
{
public:
Queue(int maxsize = 500);
Queue(const Queue<e> &o);
~Queue();
void enqueue(const e &item);
e dequeue();
inline int size() {return this->curElem;}
pro... | [
"jude@yourtechy.com"
] | jude@yourtechy.com |
35ced19e3729e686a2d9229f1f60aafeb5555d84 | 922826b21f187d55cf3c0df344e464a64deec9df | /tongcacphanso.cpp | a9a13395579c1ecd2920b2bf92e3547e3ad546fd | [] | no_license | mylo2202/INT-1006-Introductory-to-Informatics | a5bcc39bce1c3405b7188e94e165b97d799de313 | 44080f50702cb95b9945cde8bb058daaef49dd0e | refs/heads/master | 2020-07-28T16:55:05.405757 | 2019-09-19T05:46:20 | 2019-09-19T05:46:20 | 209,472,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int n;
float i, s=0;
cin >> n;
for(i=0; i<=n; i++)
{
s+=i/(i+1);
}
cout << fixed << setprecision(5) << s;
return 0;
}
| [
"48115847+mylo2202@users.noreply.github.com"
] | 48115847+mylo2202@users.noreply.github.com |
27fec98365f5dc05e53f4f407f14e80609e5b2bf | 8306ac6c232e026f0b67567bfb48d3145d4e53b2 | /src/Sensor.cpp | d242fd4ee69f44d27d525fcd10abdd89648ffcdf | [] | no_license | freedomcondor/CParticle | 9e9ae3a93b276d9f1abc896bd85632f4a001aca3 | 14e495b3b971f0fa8d05ede4d1cfcbee2795acde | refs/heads/master | 2021-04-09T10:51:13.218836 | 2018-07-26T15:04:02 | 2018-07-26T15:04:02 | 125,419,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,192 | cpp | #include "Sensor.h"
#include "Robot.h" // for copy
#include "Box.h"
#include "Wall.h"
#define PI 3.1415926535898
#define DOUBLE_ERR 0.0000001
Sensor::Sensor()
:DirParticle()
{
commonInit();
}
Sensor::Sensor(double x,double y,double z)
:DirParticle(x,y,z)
{
commonInit();
}
Sensor::Sensor(const Vector3& _x)
:Dir... | [
"freedomcondor@126.com"
] | freedomcondor@126.com |
d4206f257e3ec201bdca70a5c087e84cd354c3c6 | 62ab499c91cb2f25cd50119be51471249f693c9f | /src/test/pmt_tests.cpp | 819e953ce640651d96bad45f0286f6a2a5c6a6fd | [
"MIT"
] | permissive | mirzaei-ce/core-kakobit | 9bbe7a98ee99dff0d3ce80c4acc5e18ef5b5cc80 | 82912c3843f5b7c2e2bc27ed4e22a54062d9a356 | refs/heads/master | 2021-07-17T18:30:30.826452 | 2017-10-26T15:32:51 | 2017-10-26T15:32:51 | 108,430,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,510 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "consensus/merkle.h"
#include "merkleblock.h"
#include "serialize.h"
#include "streams.h"
#include "uint256.h"
#incl... | [
"mirzaei@ce.sharif.edu"
] | mirzaei@ce.sharif.edu |
eb64123e1acb9bbb926527f3d3269ec3d97f28a6 | c71af56951d1c661a5819db72da1caccd9130df2 | /cpp/problems/syntax/syntax228.cpp | 3136e11c6fc68a0c14ee3b24214fb377107591f3 | [] | no_license | adrianpoplesanu/personal-work | 2940a0dc4e4e27e0cc467875bae3fdea27dd0d31 | adc289ecb72c1c6f98582f3ea9ad4bf2e8e08d29 | refs/heads/master | 2023-08-23T06:56:49.363519 | 2023-08-21T17:20:51 | 2023-08-21T17:20:51 | 109,451,981 | 0 | 1 | null | 2022-10-07T04:53:24 | 2017-11-03T23:36:21 | Python | UTF-8 | C++ | false | false | 219 | cpp | #include <iostream>
int main(int argc, char *argv[]) {
for (int i = 0; i < 100; i++) {
for (int j = 0; j < i; j++) {
std::cout << "*";
}
std::cout << "\n";
}
return 0;
}
| [
"adrian.poplesanu@yahoo.com"
] | adrian.poplesanu@yahoo.com |
793be1dbdf00d9a251d2ef62822347648ed96afd | 94a15407be838e160e82c3033627e66635911df9 | /sn.cpp | 1602de4b29a305c5112db129d026a6864da7777c | [] | no_license | chipper1/SnGame | 742a93bc26402aa8cfd72855e430c186950ed3a9 | 8736bc4d3584996024793f312a2b182abeda9669 | refs/heads/master | 2020-04-19T07:19:06.473797 | 2018-08-15T13:00:13 | 2018-08-15T13:00:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,626 | cpp | #include <cstdlib>
#include <ctime>
#include <iostream>
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glut.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sstream>
#include <math.h>
#include <time.h>
#include <unistd.h>
using namespace std;
typedef struct sq{
int x;
int y;
int z;
in... | [
"1325200471@qq.com"
] | 1325200471@qq.com |
78d2e48681602a9a684dfe785425c36f915a8ec0 | 11e6d6c4ed0181b87be467b8ce23d9539481e7f2 | /src/phase2/index_step/indexer/IndexGenerator.h | b58a242e75ca05b7d37160340cbfde37d2823853 | [
"Apache-2.0"
] | permissive | curiositywan/RTP | e37757f2fad0edd023e691db3a6d31a28c3e02a3 | 227414e5be41e034e1f58279bcd8ff280a900d7f | refs/heads/master | 2020-05-26T14:10:57.391087 | 2017-03-13T07:00:44 | 2017-03-13T07:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,112 | h | #ifndef INDEX_GEN_H
#define INDEX_GEN_H
#include<iostream>
#include <map>
#include <set>
#include <vector>
#include <cstring>
#include <cstdlib>
#include <string>
#include <sstream>
#include <algorithm>
#include <fstream>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "LineScanner.h"
#include... | [
"nimishasrinivasa174@gmail.com"
] | nimishasrinivasa174@gmail.com |
62fb3eaba0caf2cf432496883001be0986e5ee76 | 78a0ba54f43c67867d0af9f5591552f287e92b4c | /geonewnew/Country.h | 1be9a796908c5e66b0c68fa2b7b0977c6eaff51a | [] | no_license | PintakovAnton/geoneo | 83ef95e7188592bc565f5fdb772379bc3cb3aa83 | aca84307bf9efe34c966351c80a2f19be6639a53 | refs/heads/master | 2023-02-26T19:48:49.948095 | 2021-02-02T20:48:08 | 2021-02-02T20:48:08 | 335,417,633 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,595 | h | #pragma once
#include <string>
typedef struct City
{
std::string name;
double population;
bool isCapital;
struct City* next;
}City;
enum Continent
{
Eurasia, Africa, NorthAmerica, SouthAmerica, Australia, Antarctic
};
class Country
{
private:
std::string name;
Continent continent;
std::string currency;
City* ... | [
"pintakov.anton@yandex.ru"
] | pintakov.anton@yandex.ru |
cf66715a223ec9d1f258dd6152903fc6ebacc4dd | e3ef555e2dc8858107f628e1641c2642c8ac6880 | /decode/mp3/alsaapi.h | ed0c59cb2baa04cc8ed74bbf28510561e3a4715b | [] | no_license | Cean1024/onlineplayer | 1520e4e0e05c513afde5e6e2bc9743772edf40fd | 8487d2af80c35a9b6f0d455f9f2d749be89ceb67 | refs/heads/master | 2020-06-21T21:33:30.021360 | 2017-07-12T06:43:10 | 2017-07-12T06:43:10 | 94,206,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | h | #ifndef ALSAAPI_H
#define ALSAAPI_H
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <alsa/asoundlib.h>
#include <malloc.h>
#include "globaflags.h"
#include "decode/buffercache/cachebuf.h"
#ifdef CONFIG_AUDIOALSA
//#define AUTOSETFRAME
//#... | [
"kean.wu@hansong-china.com"
] | kean.wu@hansong-china.com |
4853ac71553466e7caff2bbf47582406338e5bed | 34fc9db0f0e4f98373b39fc82ade14832ada8d8d | /RecastDemo/Source/Sample_SoloMesh.cpp | f32a598de38595c673c20caf5503fdcb8c5b5984 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Roflincopter/recastnavigation | 0d9df7aae1152dd8e0e8073c5506e7bdca5e0f3e | b559676983bc91b4198414502b85f84872acdcea | refs/heads/master | 2021-01-17T21:57:53.770602 | 2014-07-19T13:18:53 | 2014-07-19T13:18:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,854 | cpp | //
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... | [
"memononen@gmail.com"
] | memononen@gmail.com |
bbfb76936fce4f689076f3df538fa3fe956d893e | 8b38b43e6c5cf73499ddf36645ffe1eaeff475e1 | /RaspberryClient/src/OutcomingActionExecutor.h | 88fb3b830c6608528abc5b7e49377b36ac990c57 | [] | no_license | cheukw/RaspberryProject | 647dc0abcb8d6b003cd33a0ff699ea746b799a07 | 5b5871de7454079c7e049e30bdf7fb6f65931d08 | refs/heads/master | 2021-05-28T20:57:51.974127 | 2014-07-30T04:10:42 | 2014-07-30T04:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | h | /*
* File: NotificationWriter.h
* Author: Ismael
*
* Created on 15 de marzo de 2014, 10:05 PM
*/
#ifndef OUTCOMINGACTIONEXECUTOR_H
#define OUTCOMINGACTIONEXECUTOR_H
#include "IncomingActionFactory.h"
#include "RaspiUtils.h"
#include "OutcomingActionFactory.h"
#include "ConnectionSSL.h"
class OutcomingActionE... | [
"iavalenzu@gmail.com"
] | iavalenzu@gmail.com |
807739d28ca29af197003c8e329ba10552b4f328 | cbf7acc09a6c0b2e9d91e537c4841360808d1eef | /src/Interfaces/IComparable.hpp | 5e08493b89a1316d65c6aa89f99319dcd64a12bf | [] | no_license | liorzemah/NetworkDimension | 4a8c92c93dd1a9f2c68b46d00b558155d90f0faa | b67d96d98467abf152114f21d31e27fdbc9ab3e6 | refs/heads/main | 2023-05-23T00:14:22.616255 | 2021-06-12T20:56:16 | 2021-06-12T20:56:16 | 376,381,180 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | hpp | #ifndef ICOMPARABLE_H
#define ICOMPARABLE_H
// Implement The Curiously Recurring Template Pattern (CRTP)
template<class T>
class IComparable
{
public:
virtual bool operator<(const T& other) const = 0;
virtual bool operator>(const T& other) const = 0;
};
#endif | [
"liorzemah2@gmail.com"
] | liorzemah2@gmail.com |
732859c7027db1d329ae8e2274b0f81bbec71fdb | 5cf4383f47012be2112c43496bd5ad19b2641451 | /ringbuffer.h | 2a4c84ec850ceecdddfc6972b810997080fa43c0 | [] | no_license | j84guo/screens | e96b974a43fb1763c586a82b21765f06d67a566c | d0846a00cd0a9ee6a4ea600a61a3c580b8f8d181 | refs/heads/master | 2020-04-18T11:01:15.899184 | 2019-02-21T08:56:14 | 2019-02-21T08:56:14 | 167,485,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #ifndef RINGBUFFER_H
#define RINGBUFFER_H
#include <sys/types.h>
/* A circular binary queue which allows overwriting the oldest bytes */
class RingBuffer {
public:
RingBuffer();
RingBuffer(size_t capacity);
RingBuffer(const RingBuffer &other);
RingBuffer& operator=(RingBuffer other);
RingBuffer(RingBuffer ... | [
"jacguo@linkedin.com"
] | jacguo@linkedin.com |
97a99196cd0334d86edbe5f1e7cab49a8f2672be | dd4c3fea7f375f6b49bebd26cb2a9e8a941ce465 | /source/Time/Stopwatch.cpp | aef68a097695dcd355db7dc03dd8d14114b75c0a | [
"MIT"
] | permissive | kurocha/time | c07cd68d321de02c2749b663c18ac0e3d5c4b859 | 818c090c627da57c66bc56876b91ea74b6483bd7 | refs/heads/master | 2023-05-13T10:26:46.411245 | 2023-04-30T08:00:00 | 2023-04-30T08:02:57 | 95,627,174 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | //
// Stopwatch.cpp
// File file is part of the "Time" project and released under the MIT License.
//
// Created by Samuel Williams on 28/6/2017.
// Copyright, 2017, by Samuel Williams. All rights reserved.
//
#include "Stopwatch.hpp"
#include <stdexcept>
namespace Time
{
void Stopwatch::reset() noexcept
{
_... | [
"samuel.williams@oriontransfer.co.nz"
] | samuel.williams@oriontransfer.co.nz |
892c9d516bd7ec14a7511c768680c90de1c492f6 | 88601d8bd944e876a61468f5e7e4bb896dc0ce65 | /Modules/Core/Platform/WindowsPC/vaInputMouse.h | 29a4f55678164156650140b70173664d6fba7575 | [
"MIT"
] | permissive | KakCAT/ASSAO | 493609eddc2d572762057c477911643caa140c0c | 06881a1632576468b9816d3d28aa06b49a06afa8 | refs/heads/master | 2022-10-16T06:30:20.717443 | 2020-06-13T21:50:01 | 2020-06-13T21:50:01 | 272,085,924 | 0 | 0 | MIT | 2020-06-13T21:07:30 | 2020-06-13T21:07:29 | null | UTF-8 | C++ | false | false | 5,401 | h | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Intel Corporation
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... | [
"filip.strugar@intel.com"
] | filip.strugar@intel.com |
3b7f702e0dff87c0547c068eb79d51e39319837a | 4d0af42376bf3ced3a04b39096d3e1b47b2a744b | /comm/libsodium/curve25519.cpp | 975a28a44be79b975df3b7e2f2f97ecda1a2a672 | [] | no_license | PershingSquare/ZKtap | a6d0f49d6278de896c0dd55ef68b53e3a6f17ed4 | 93091770abb03c2cc649040605272d4c3ad043a9 | refs/heads/master | 2020-07-23T05:55:24.086960 | 2019-12-05T08:02:25 | 2019-12-05T08:02:25 | 207,464,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,847 | cpp | #include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <sodium.h>
#include <boost/assert.hpp>
#include "curve25519_util/curve25519_ref10.h"
void print_256(uint8_t*);
void gen_25519(uint8_t*);
int main()
{
uint8_t* pk = (uint8_t *) malloc(32 * sizeof(uint8_t));
uint8_t* fake = ... | [
"mhassa22@illinois.edu"
] | mhassa22@illinois.edu |
e82c9dbd7ffab523494bc020614304f5685f3465 | b07baaa9ec8b9f7ec745b97875bebe4f268f6775 | /src/tools/lasergui/laser_drawing_area.h | 8219633bc693927efede486505b8ded5819c89c5 | [] | no_license | timn/fawkes | 9a56dc42aacbb87302ac813d5cc47af9337025db | bc3024b62963d2144dc085fb7edbff51b360cc51 | refs/heads/master | 2021-07-21T12:15:15.097567 | 2021-02-03T12:06:09 | 2021-02-03T12:06:09 | 1,030,913 | 0 | 0 | null | 2018-10-05T15:10:45 | 2010-10-28T05:30:51 | C++ | UTF-8 | C++ | false | false | 5,171 | h |
/***************************************************************************
* laser_drawing_area.h - Laser drawing area derived from Gtk::DrawingArea
*
* Created: Thu Oct 09 18:19:54 2008
* Copyright 2008 Tim Niemueller [www.niemueller.de]
*
*****************************************************************... | [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
294b53983334cc190bdf0e7849eeaefa1bc8b6cf | 76ca52991ca1a1e50d066e9f7c4827b6a4453414 | /cmds/statsd/tests/external/StatsPuller_test.cpp | 76e2097a90b88e7e3fc2c82840a3595069f8ecd1 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | ResurrectionRemix/android_frameworks_base | 3126048967fa5f14760664bea8002e7911da206a | 5e1db0334755ba47245d69857a17f84503f7ce6f | refs/heads/Q | 2023-02-17T11:50:11.652564 | 2021-09-19T11:36:09 | 2021-09-19T11:36:09 | 17,213,932 | 169 | 1,154 | Apache-2.0 | 2023-02-11T12:45:31 | 2014-02-26T14:52:44 | Java | UTF-8 | C++ | false | false | 6,408 | cpp | // Copyright (C) 2018 The Android Open Source Project
//
// 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 applic... | [
"cjyu@google.com"
] | cjyu@google.com |
1f2c2a4f5ffc9a6384658a771fb37a3d378a6f57 | 6227e25b09d9525c45226195625ed55723611784 | /ArrayAndStrings/CheckPermutation.cpp | 5b6d2ade1e569ebee5bffe0f33d95bdc2532aad3 | [] | no_license | dilawer11/CrackingTheCodingInterviewSolution | a8ac7eabb565a58402d8a8f15e7109b733d0198c | 15b105c7b9713b13342ad0f0d2516616e292d5ad | refs/heads/master | 2020-09-06T17:36:01.061937 | 2019-11-14T11:22:02 | 2019-11-14T11:22:02 | 220,496,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include<iostream>
#include<string>
using namespace std;
bool checkPermutaion(string first, string second){
int char_array[256];
for(int i = 0; i < 256; i++){
char_array[i] = 0;
}
for(int i = 0; i < first.length(); i++){
char_array[first[i]]++;
}
for(int i = 0; i < second.length(... | [
"dilawer11@gmail.com"
] | dilawer11@gmail.com |
4734eafaad2dfba45894b801b8dc178619154582 | 2911eace8728e529a56b16b65a686fb83e1776e5 | /SteeringBehaviors/Sources/Graphics/Obstacle.cpp | 3d35f1316703dd75f7fbcea963cd176eec38be78 | [] | no_license | Jonek52/SteeringBehaviors | 011a118516167ec4025c842f0e913737f1b3b728 | 3088c9f6f876d736a0e38b07ae16ecb237cd1c71 | refs/heads/master | 2020-09-06T17:12:45.975701 | 2020-01-21T08:21:32 | 2020-01-21T08:21:32 | 220,490,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | cpp | #include "stdafx.h"
#include "SFML\Graphics\CircleShape.hpp"
#include "SFML\Graphics.hpp"
#include "SFML\System\Vector2.hpp"
#include "Obstacle.h"
#include "GameWorld.h"
#include "..\Math\MathFunctions.h"
namespace SteeringBehaviors::Graphics
{
Obstacle::Obstacle( GameWorld* gameWorld, Math::Vector2 position, float ... | [
"jonaszromanowski@gmail.com"
] | jonaszromanowski@gmail.com |
0a64ddc2b4007caea5545144597559ab5430a7a8 | 4e00d01e070812e4a04a66e970494bd8f82d6e87 | /Voxel_raycaster/Voxel_raycaster/TreeTraverser.cpp | 11a7143787279bfe56039f679239532564793cdf | [] | no_license | joschout/4D-Sparse-Voxel-Octree-Renderer | 7db88f6522def28a95b129ecd474710d62b52e58 | f0a61cf367d8c35157f7400ac10487dca373d92b | refs/heads/master | 2021-09-28T04:02:28.934818 | 2018-11-14T07:52:29 | 2018-11-14T07:52:29 | 47,188,750 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,122 | cpp | #include "TreeTraverser.h"
using namespace std;
int TreeTraverser::firstNode(double tx0, double ty0, double tz0, double txm, double tym, double tzm){
unsigned char answer = 0; // initialize to 00000000
//calculate the entry face of the current voxel
// => max(tx0, ty0, tz0)
// select the entry plane and set bit... | [
"jonas.schouterden@student.kuleuven.be"
] | jonas.schouterden@student.kuleuven.be |
69f811b0a3f4345f66f5eedef9503bcce38113cd | adf3ea7031cda6bbf75781bd9d0a061a813faac1 | /src/threading_2.cpp | 4fde6c3be246ec6f90f91ac6db1884248b13cc49 | [] | no_license | DenimPatel/Multi-threading | acaa3fe2b3db64d5626f2c1fe4e5c8cab6de59ba | 85ba0277aa327de0e7d7979ba3b3972f18d17b3e | refs/heads/master | 2022-04-23T07:00:17.128868 | 2020-04-20T00:30:45 | 2020-04-20T00:30:45 | 257,131,349 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include <thread>
#include <iostream>
using namespace std;
void myFunction(){
cout<< "Hello World "<<endl;
}
int main(){
std::thread t(myFunction);
t.join(); // this makes the code to wait for
// thread t to complete its task
return 0;
}
| [
"DenimPatel@git.noreply.github.com"
] | DenimPatel@git.noreply.github.com |
7b979e33013efe24f8be07e913bd1cb97db5d98d | c23c12d877bb2d35e22a691de507f7a0e8da738f | /QArboleda/tallo.cpp | 5aa6b22900fdac570e81ddba7d860eb4e99468fb | [
"Apache-2.0"
] | permissive | Marito-R-T/Arboleda | 989e937a623e68646272c60bb734aa2fccd6af62 | 5ed4ad46574aa88bd174d3dc0beac87e7ac8e47e | refs/heads/main | 2023-04-04T00:47:03.883420 | 2021-03-29T16:44:10 | 2021-03-29T16:44:10 | 351,227,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,401 | cpp | #include "tallo.h"
Tallo::Tallo()
{
}
int Tallo::getPID() {
return this->pid;
}
void Tallo::setPID(int pid) {
this->pid = pid;
}
int Tallo::getID() {
return this->id;
}
void Tallo::setID(int id) {
this->id = id;
}
int Tallo::getCHojas() {
return this->cantidad_hojas;
}
void Tallo::setCHojas(i... | [
"mariomoises20008@gmail.com"
] | mariomoises20008@gmail.com |
6a0a9af252195290cd27ff1e02077e9c09af8042 | 75fa547a40832e5f406c0fe092185be53292d5e2 | /BIT.cpp | 4f67238a30d265a2691fdf86fdd0861567720f5a | [] | no_license | RakibulRanak/Codes | 2aaafd9b3cf5e60ee1b16c8eff5d0902a86ac4d4 | bda9f000f906b6d93461995512a10611d3947d87 | refs/heads/master | 2020-04-26T12:23:58.642018 | 2019-03-03T08:14:01 | 2019-03-03T08:14:01 | 173,547,925 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | #include<bits/stdc++.h>
using namespace std;
int BIT[1000],a[1000],n;
void update(int x, int delta)
{
for(; x<= n;x+= x&-x)
BIT[x] += delta;
}
int query(int x)
{
int sum = 0;
for(; x>0; x-= x&-x)
sum+=BIT[x];
return sum;
}
int main()
{
cin >> n;
int i;
for(i=1;i<=n;i++)
{
cin >> a[i];
update(i,a[i]);... | [
"rakibulhasanranak1@gmail.com"
] | rakibulhasanranak1@gmail.com |
5b1f001cfd44fb8b247dcdf14bcd30a670eb2c18 | 36e5c06883c0288dc48e3978ca9deaf6d6a9bffc | /src/forge/forge_test/stdafx.hpp | b4b6f390b7cd8812cf4a8beda5620dfbba6bab31 | [
"MIT"
] | permissive | cwbaker/forge | 46271bc05311ce64b09e2c6e2311f51a124761c2 | 18b7ec97769354b28189d390474bd22473537f49 | refs/heads/main | 2022-11-19T17:13:46.367043 | 2022-11-11T07:23:23 | 2022-11-11T07:23:23 | 3,674,381 | 14 | 2 | MIT | 2022-09-07T04:20:33 | 2012-03-09T20:16:16 | C++ | UTF-8 | C++ | false | false | 196 | hpp |
#pragma once
#define NOMINMAX
#define _CRT_SECURE_NO_DEPRECATE
#define _SCL_SECURE_NO_DEPRECATE
#define WIN32_LEAN_AND_MEAN
#if defined(BUILD_OS_WINDOWS)
#include <windows.h>
#endif
| [
"charles.baker@sweetsoftware.co.nz"
] | charles.baker@sweetsoftware.co.nz |
eb8b3d93ddc986bbf55b0467bbefdc28d3d6592e | 2fa2f993327615c5d6e980c79a89e330f0646f6f | /tools/vsimporter/xib2nib/NIBWriter.cpp | bd6cb0e157238650bf53dbc61f7e818392171fd4 | [
"MIT",
"CC0-1.0",
"LicenseRef-scancode-generic-cla"
] | permissive | jianwoo/WinObjC | 538ba9dd8cb8c5ed1a9ae93c14e53978f366d6fe | 7808f2eca9a7e44a7ffdb9b34a4154fe149acd90 | refs/heads/master | 2021-01-18T11:14:52.586760 | 2015-08-26T17:40:43 | 2015-08-26T17:40:43 | 41,465,007 | 1 | 0 | null | 2015-08-27T04:05:39 | 2015-08-27T04:05:38 | null | UTF-8 | C++ | false | false | 13,101 | cpp | //******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... | [
"brianlam@microsoft.com"
] | brianlam@microsoft.com |
0d6b573af0ee46db7ee5cb8cbaaa57193f1839fb | b4e1f4e374c956320ecd774ba65436443e4540dd | /FDTD1D/COMMON/Array2D.hpp | ba93e1e9a404e75ed70a021060f0d53ded0d94c2 | [] | no_license | minkwankim/OP2A2 | fa146e268ca72218e57541ada8d2d1766868cb62 | 9ab5b66259c1bccec1e4ee57c67e11439b45b432 | refs/heads/master | 2021-01-10T06:38:41.938564 | 2016-01-11T22:38:19 | 2016-01-11T22:38:19 | 44,942,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,723 | hpp | /*
* Open-source multi-Physics Phenomena Analyzer (OP2A) ver. 1.0
*
* Copyright (c) 2015 MINKWAN KIM
*
* Array2D.hpp
*
* Created on: Oct 28, 2015
* Author: minkwan
*/
#ifndef ARRAY2D_HPP_
#define ARRAY2D_HPP_
#include "Common.hpp"
#include "Assert.hpp"
#include "VectorMultiDimension.hpp"
#include <ma... | [
"minkwan.kim@adelaide.edu.au"
] | minkwan.kim@adelaide.edu.au |
1c7f4dfd1f1340d28e4b8468191898de486028e4 | bb94cfd795a044e5aded1f6dcac8ebec647c2b3d | /Sorting/InsertionSort.cpp | 062e51e460be8447e23fc7bbc27545d8c7e7b7b3 | [] | no_license | kshitijvarshne1/Dsalgo | 5a907b245f91c7b91b5ca4161c078daba5a68f30 | b22809ca1102daa80e728a68ff3092b1672f8b58 | refs/heads/master | 2023-07-11T13:22:39.676487 | 2021-08-11T11:27:47 | 2021-08-11T11:27:47 | 306,321,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | /*
* Created by Clion IDE.
* Author: Kshitij Varshney (kshitijvarshne1)
* Date: 22-Oct-20
* Time: 7:12 PM
* File: insertionSort.cpp
*/
# include<iostream>
# include<climits>
# include<algorithm>
# include <iomanip>
using namespace std;
void insertion_sort(int a[], int n) {
for (int i = 1; i < n; i++) ... | [
"kshitijvarshney92@gmail.com"
] | kshitijvarshney92@gmail.com |
a03a5f9f498da5e597098c2457a85b020399b131 | 4cb0f2cfb9ec3ec8c851f83ff3ea73ca5a62aa70 | /democodebase/pt/d3d9/rendering/constant_setter.inl | 82f610310d83e005fa5c931a13acf40e152797be | [] | no_license | Codarki/Pyrotech_2016 | 99733bb543621d755dc0451cee86e3988021a1e2 | 5e7a71b9ec751061285f3f784e861ac8f2726ee1 | refs/heads/main | 2023-05-30T08:11:30.626406 | 2021-06-24T23:13:53 | 2021-06-24T23:13:53 | 380,065,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | inl | #ifndef PT_D3D9_RENDERING_CONSTANT_SETTER_INL
#define PT_D3D9_RENDERING_CONSTANT_SETTER_INL
namespace pt { namespace d3d9 { namespace rendering {
//template<typename T>
//inline constant_setter<T>::constant_setter(constant_buffer const& buffer,
// constant const& constant, animatable_value<T> value)
//: m_consta... | [
"pietila.kimmo@gmail.com"
] | pietila.kimmo@gmail.com |
b02acf01faa7252f81ccc46a7e5cdac30f156e50 | 817a901ab20fa6b5b94f818791fd848627eba3af | /windows/flutter_ble_peripheral_plugin.h | 106b19c7b1741aa254f2889ca8768827ecdae049 | [
"BSD-3-Clause"
] | permissive | juliansteenbakker/flutter_ble_peripheral | 8d449542f3a966434eeae8b4afcd1e86df3e5c3f | f18a4c5946e6fc5d1797778974227ca030e13494 | refs/heads/master | 2023-09-02T07:38:15.749389 | 2023-07-31T13:51:53 | 2023-07-31T13:51:53 | 251,532,647 | 52 | 44 | BSD-3-Clause | 2023-09-11T09:52:29 | 2020-03-31T07:38:07 | Kotlin | UTF-8 | C++ | false | false | 3,354 | h | #ifndef FLUTTER_PLUGIN_FLUTTER_BLE_CENTRAL_PLUGIN_H_
#define FLUTTER_PLUGIN_FLUTTER_BLE_CENTRAL_PLUGIN_H_
// This must be included before many other Windows headers.
#include <windows.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Storage.Streams.h>
#... | [
"jst@beverinnovations.com"
] | jst@beverinnovations.com |
4234e3f1a5f49759949635c6ddf9e08312173f52 | 0551b7ff32dc423cb6ce6c5808e18d6591a299dd | /lab_11/fun_func.cpp | ad1115eb4d8be67840ba1876a882ff15004d8968 | [] | no_license | wongjessica/csci13600-labs | b63699c09e531a205273bb147c65f361c93eaada | 2fcbf3710eeb0820b2d23b0da5218ecea44359a8 | refs/heads/master | 2020-03-27T16:05:05.850103 | 2018-12-13T08:27:00 | 2018-12-13T08:27:00 | 146,758,484 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | cpp | #include <iostream>
using std::cout;
using std::endl;
bool isa(char c){return c == 'a';}
bool isb(char c){return c == 'b';}
bool isc(char c){return c == 'c';}
bool isd(char c){return c == 'd';}
bool ise(char c){return c == 'e';}
bool isf(char c){return c == 'f';}
bool isg(char c){return c == 'g';}
bool ish(char c){re... | [
"noreply@github.com"
] | wongjessica.noreply@github.com |
397b8233f2515f6bc9930ba73fe829765ba62675 | 231c5f4766d990464564051eebceb715ebd2c4ca | /Lynx/src/Lynx/Events/AppEvent.h | 438548db7c2da9cd4894c923784dca19ef3e5ee7 | [] | no_license | quiniks/Lynx | 95c6d71e9df45dd821d7c1af07ee213136d59f33 | 60392477f5ad2504492663025b061a1bac228def | refs/heads/master | 2023-03-28T20:37:07.035575 | 2021-03-02T17:13:25 | 2021-03-02T17:26:15 | 330,688,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,209 | h | #pragma once
#include "Lynx/Events/Event.h"
namespace Lynx {
template<typename T>
class AppEvent : public Event {
public:
static EventCategory GetStaticCategory() { return EventCategory::EventCategoryApplication; }
virtual EventCategory GetCategoryFlags() const override { return T::GetStaticCategory(); }
vir... | [
"samknight4321@gmail.com"
] | samknight4321@gmail.com |
855d26ac2a8eda693c9e7c8a8f1927abbd57220b | 2a97852572aee0c7b767c87cd4f4124ba86fd2b2 | /VcTool/DDK/atldbcli.h | fb9159e35d5df281937b49107e487dfe57dc7eb2 | [] | no_license | leduong92/C-Project | d6f80b0d68ae8365d83b65287e6a8f51d8e4ecc0 | c6e5a4c0c03bd697e3199151e98e8e5a27b35bde | refs/heads/master | 2020-09-03T11:26:46.274242 | 2019-11-04T08:28:50 | 2019-11-04T08:28:50 | 219,452,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102,077 | h | // This is a part of the Active Template Library.
// Copyright (C) 1996-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the library.
// See these sources for detai... | [
"11810677@nok.com.vn"
] | 11810677@nok.com.vn |
8105e82e3e7d0819d54f3717207db52d47922e81 | d40994e508d810ddcd696a2fea1b4b531f3d7131 | /Matrix.cpp | 91bb075aa02f7e9d7c313f8b1c40c0a01a2b6925 | [] | no_license | lxy-kyb/C-Learing | 1f96bd3d40fab357aaad46ba90ead7a5a3ab51a7 | 65c78ff13b212fb1440fadd160e837bcb32366f8 | refs/heads/master | 2021-01-16T23:20:40.029527 | 2017-03-17T10:55:11 | 2017-03-17T10:55:11 | 82,907,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,780 | cpp | #include <iostream>
#include <vector>
using namespace std;
struct Matrix :vector<vector<int> >//使用标准容器vector做基类,需#include语句
{
Matrix(int x = 0, int y = 0, int z = 0)//初始化,默认为0行0列空矩阵
{
assign(x, vector<int>(y, z));
}
int h_size()const//常量说明不可省,否则编译无法通过
{
return size();
}
int l_size()const
{
return empty()... | [
"kyb11111@126.com"
] | kyb11111@126.com |
5d98316e7890e124bcc226394a9265fcf338d723 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /ocr/include/huaweicloud/ocr/v1/model/RecognizeHkIdCardResponse.h | 69219b07bb15b924ad134f6eb796656e2cbe6288 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,434 | h |
#ifndef HUAWEICLOUD_SDK_OCR_V1_MODEL_RecognizeHkIdCardResponse_H_
#define HUAWEICLOUD_SDK_OCR_V1_MODEL_RecognizeHkIdCardResponse_H_
#include <huaweicloud/ocr/v1/OcrExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <huaweicloud/ocr/v1/model/HkIdCardResul... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
3f36caebee85a0fd4b3c7df69b64c4fd3effb238 | 7017a223e67ca6b9d45d2771f4eb8319282c8637 | /Test_Loopback/src/ofApp.h | a249784a565f633fda4f2d1f97cd13807983394e | [] | no_license | guozanhua218/ofxMultiTrack | b5506eb98c881927f1a78fcc34f0398e93a917e7 | 7a4a17d923adf35a47da63b427ec75ca36fd105f | refs/heads/master | 2021-01-16T22:10:48.769258 | 2016-04-20T13:41:11 | 2016-04-20T13:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | h | #pragma once
#include "ofMain.h"
#include "ofxMultiTrack.h"
#include "ofxCvGui.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, in... | [
"elliot@kimchiandchips.com"
] | elliot@kimchiandchips.com |
fd6736f632d3aba7d88e592ce4efa17db3f1e007 | 9d95b5f0219bc491426cc2f7a3eacdbdad680434 | /src/wallet/rpcwallet.cpp | 8f076070d23877e6aea9123dcdcbd3ce416b83c1 | [
"MIT"
] | permissive | arthurgarcia/cruzeta | bcf37430bdab2fe0b7b109cc66bd09fb7c96a662 | 53f1bf16704afbb2ad2e78bfb1c9ed0b722ba7ed | refs/heads/master | 2022-01-21T18:40:25.077115 | 2019-07-23T07:28:33 | 2019-07-23T07:28:33 | 198,320,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221,846 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Copyright (c) 2017-2018 The CruZeta developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "consen... | [
"arthurgarcia@gmail.com"
] | arthurgarcia@gmail.com |
226281be50b0426bce17f15e8b744d5679582ffd | 00da01b831d58f4cbae5c3625823849dde3eff67 | /contests/187DIV2/C.cpp | 51ce97118c28093b62afc45bb834ccbda57fd050 | [] | no_license | atupal/codeforces | 577b2c084b9cf047c5780f840e9fe49fcb0fd50a | 563c3e27e0450b3dde24661a606c84b1a8d81f17 | refs/heads/master | 2021-01-15T22:10:07.657554 | 2015-10-12T06:58:10 | 2015-10-12T06:58:10 | 10,015,882 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include <stdio.h>
#include <stdlib.h>
long long a[200001],n,k;
int main()
{
int i,j,k,m;
long long sum=0;
scanf("%d%d",&n,&k);
for (i=1;i<=n;i++)
scanf("%d",&a[i]);
m=n;j=2;
for (i=2;i<=n;i++)
if ((sum-a[i]*(m-j)*(j-1))<k)
{
printf("%d\n",i);
m... | [
"kangleyu@hustunique.com"
] | kangleyu@hustunique.com |
830d4fe446a29dcf6d0064399d252754aae380e8 | 447f62261af38fc86bf42c4833010c9d8a41894f | /insta.cpp | 27d2ff160984e27320a2b768c853c1d6e1a8b1b3 | [] | no_license | Mrudula09/instagram | 784834f6b8964f5c690d637e6f396b5874227fae | e5a4d7e9c4eee6e5b21238f866d2d088abe58c14 | refs/heads/master | 2020-03-24T19:18:59.669006 | 2018-07-30T19:35:26 | 2018-07-30T19:35:26 | 142,918,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,311 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <dos.h>
#include <Windows.h>
int row_index = 0;
int threadPool[5] = { 0 };
pthread_mutex_t lock;
pthread_t tid[5];
pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER;
struct ... | [
"mrudula.nudurupati1997@gmail.com"
] | mrudula.nudurupati1997@gmail.com |
87b7510a89574768c3a19d9b5eb24e19ef47c805 | e0db5a1d7beb3927b2712cce6a565511c816b657 | /qu3e/src/math/q3Quaternion.h | 07844178feb79952e59eeda3e6c748f6427ea52a | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zlondrej/rigid-body-simulation | c58bf2aa611b0e4b80c9bce5966df93b751f8918 | b10abda1ecb0124ffe93596866c943aaa078dea4 | refs/heads/master | 2021-05-31T15:27:17.624650 | 2016-05-25T20:40:18 | 2016-05-25T20:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,742 | h | //--------------------------------------------------------------------------------------------------
/**
@file q3Quaternion.h
@author Randy Gaul
@date 10/10/2014
Copyright (c) 2014 Randy Gaul http://www.randygaul.net
This software is provided 'as-is', without any express or implied
warranty. In ... | [
"j.ondra14@gmail.com"
] | j.ondra14@gmail.com |
b5ea8a27a78a60aa0445e5ccf0036e7b326f6639 | 2a3109ad2bec11bfa014c78b7abdadef0ce1fee8 | /testFBX/FBX/DisplayMesh.cxx | ae04b847b98dcc9da3cb84398449db52bd82166f | [] | no_license | khorbushko/fbx2opengles2 | bf5bf34990581dd2113477ac2449fb29d7dfc72c | 380062473948cf321d244bfb0140c47a1b9bd5b4 | refs/heads/master | 2023-05-07T06:05:40.619487 | 2021-05-25T15:21:15 | 2021-05-25T15:21:15 | 71,103,618 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 19,045 | cxx | /****************************************************************************************
Copyright (C) 2014 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies
... | [
"kiril.gorbushko@thinkmobiles.com; kirill.ge@gmail.com"
] | kiril.gorbushko@thinkmobiles.com; kirill.ge@gmail.com |
fc4d95b98f3d19010dcd5c708828b25ed1005bed | ed71c7bc5e116282084713b0ec36b1370780f99e | /icu/source/test/perf/utfperf/utfperf.cpp | 162bb0ceab4e9265063e51e288eb87f7dde57b8d | [
"ICU",
"LicenseRef-scancode-unicode"
] | permissive | alexswider/dropup.brigade | 12e6a12f82a44e568f39b98bb0dbafee78c0c3f7 | 13fa5308c30786b5bba98564a0959b3c05343502 | refs/heads/master | 2021-01-18T22:20:51.901107 | 2016-04-25T18:46:27 | 2016-04-25T18:46:27 | 47,217,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,040 | cpp | /*
**********************************************************************
* Copyright (C) 2002-2007, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: utfperf.cpp
* encoding: US-ASC... | [
"marcinkozakk@gmail.com"
] | marcinkozakk@gmail.com |
d277121d0ed0fe8997b8425c43a7433804188c75 | af396dd6e9d8087ad5f6b411730aae234f448b23 | /base/dbo_bk/internal/rowreaderbinary.h | 52225fc5b9b5b61340054c47532ec850942b2622 | [] | no_license | ijaychen/jengine | bc90763b6d81472150eb5baa135e60c971f3aa26 | 11ad34c0494b6d23ab067b7edc48af85a93b8d68 | refs/heads/master | 2021-01-10T09:41:52.418984 | 2015-10-26T03:58:48 | 2015-10-26T03:58:48 | 44,941,600 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | h | #ifndef BASE_DBO_INTERNAL_ROWREADERBINARY_H
#define BASE_DBO_INTERNAL_ROWREADERBINARY_H
#include "rowreader.h"
#include "packet.h"
#include "../metadata.h"
namespace base
{
namespace dbo
{
namespace internal
{
class RowReaderBinary : public RowReader
{
publi... | [
"jason@localhost.localdomain"
] | jason@localhost.localdomain |
90bcdf8437dbc48e062051cc5982b4d9374af337 | f29341d8a085d977afb24a987c93e7c3ce9703fb | /PNPnaoqi/src/pnp_naoqi.cpp | 5d2524f3a0c8322b4fac46eb2cc9db186bb16e01 | [] | no_license | robpinillos/PetriNetPlans | 0c12460d9fe1167917d1624741048a192437894b | 85be0210fabb7d247205c81f400c9bd4ff63b2c7 | refs/heads/master | 2021-06-21T12:19:39.334918 | 2017-07-15T09:46:44 | 2017-07-15T09:46:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,026 | cpp | // qibuild make -c linux64 -w ../../Pepper/qi_ws/
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <pnp/basic_plan/basic_plan.h>
#include <pnp/pnp_executer.h>
#include <pnp/basic_plan/xml_plan_instantiator.h>
#include <pnp/connection_observer.h>
#include <qi/session.hpp>
#include <qi/anyobject.hpp... | [
"iocchi@dis.uniroma1.it"
] | iocchi@dis.uniroma1.it |
f2f60e9b8fc4e0b683468e4b7c501994ae795b65 | a1bdc5d4f756fe517b6b4ab6759c31962a05e577 | /Projects/hw1_InputOutput/main.cpp | 5c03114851ce93f0fbd61a076a24052993b9cd3b | [] | no_license | TomLeeLive/loshjawrence-ClothSim | e9f6dbecd1250657700a44eead2c2a4c3647afce | cf3076b70803ef980c9ae4beb0ef5cac2a74c958 | refs/heads/master | 2023-05-12T17:32:03.912190 | 2018-04-19T02:06:18 | 2018-04-19T02:06:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,208 | cpp | #include "Particles.h"
#include "SegmentMesh.h"
#include "TriangleMesh.h"
#include <iostream>
#include <fstream>
#include <chrono>
using Clock = std::chrono::high_resolution_clock;
using T = float;
constexpr int dim = 3;
void hw3Processor(const std::string& inputFile, const std::string& outputFile);
void WriteObj_Sim... | [
"loshjawrence@gmail.com"
] | loshjawrence@gmail.com |
500d5411984ed9e57b53c309dcceb64353f0794e | c388399f7d96d326e1ec01dfaceafd0547fcb335 | /VPT/Tools/ImageConvert.cpp | 27d06306a22376cc6b0ea4e040b5164d928ddbd0 | [] | no_license | tsengkasing/simple-image-quantization-compression | d605ae2edbb818a5813a4410358b2f3b2323e1e2 | 8c6dd3e3a0ac07d99a76fc8cfca49acba271eed7 | refs/heads/master | 2020-04-04T03:09:35.104063 | 2018-12-09T08:52:24 | 2018-12-09T08:52:24 | 155,709,818 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 64,939 | cpp | #include "StdAfx.h"
#include ".\imageconvert.h"
#include <emmintrin.h>
#include "cpuid.h"
#define byte_align_16(a) (a + (((((long long) a)+15)&(~15)) - ((long long) a)))
int dimensionExtend(int width, int height, int &width32, int &height16) {
if((width % 32) || (height % 32)) {
width32 = (width + 31) / 32 * 32 ;... | [
"tsengkasing@gmail.com"
] | tsengkasing@gmail.com |
59545562094b1c6e3b3024dfa893b95358cf6837 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/extensions/extension_service_test_base.h | 0e4179c466ee758ab04f6d9695b7d539a462ef31 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 6,706 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
#include <stddef.h>
#i... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
cd9da4b0e060a372d84c03d8007ccb712bf63662 | 6139ef753671d22514d1bf7a347d2d77802518e3 | /14/LP_Lab14/LP_Lab14/Lt.cpp | 296a008689500e82f888c0e748b6175a7628dd23 | [] | no_license | Nekit204/PL_3_SEM | 0b9b98fe4684bffb7f64b29eb1b70a72248c54a1 | dbb9d47b83d6846cc2f827d3904d1b9d66d178c2 | refs/heads/main | 2023-01-21T12:37:07.991379 | 2020-12-01T08:51:55 | 2020-12-01T08:51:55 | 317,473,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include"It.h"
#include"stdafx.h"
#include"Lt.h"
#include "check.h"
namespace LT
{
LexTable Create(int size)
{
LexTable* tabl = new LexTable;
if (size > LT_MAXSIZE)
{
throw ERROR_THROW(113);
}
tabl->maxsize = size;
tabl->size = 0;
tabl->table = new Entry[size];
return *tabl;
... | [
"noreply@github.com"
] | Nekit204.noreply@github.com |
ea3c7a56070c9c2ddedd056ee83b3061093b7149 | fbf10bcaade12c16bb67946fab19f9bed2bf4f3d | /include/Npc.h | ad769f07366052af0f6ea01165e7249bae181c23 | [] | no_license | Kammil98/Checkers | 7b764032fc95f1105e25423374598c6755bb4515 | 8e1a68058da4c8000d01b392848a24920dcbda49 | refs/heads/master | 2020-05-16T13:03:58.940618 | 2019-04-23T17:57:26 | 2019-04-23T17:57:26 | 183,064,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | h | #include "MovingPawn.h"
#ifndef NPC_H
#define NPC_H
struct Pawnchoosing{
Pawn pawn;
Jump jump[4];
bool use;
};
class Npc
{
public:
void correctSimulation( Pawn[ 2 ][ 12 ], BoardField[ 8 ][ 8 ], Jump, int, int, bool& );//przesowa na symulacji szachownicy pionka, ktory atakowal i zbija starego pi... | [
"kamil.luwanski@gmail.com"
] | kamil.luwanski@gmail.com |
28b063baab5ff821ae3a7211d46126870feed001 | 82aed981f7aba1aa831f2a3872386c1db755d53f | /Chap10/Chap10/KartGraf/student2shortestpath 2.cpp | 3f6429075afb1926dba7fd8586dfe88b1dc0850b | [] | no_license | alflinusjonsson/DALGO-Graph_Algorithms | 4341921495e3216147c6fc44c65ebdb56c10ba40 | 267412ada798ebd8886571f4735c1e250c384b1c | refs/heads/master | 2022-04-24T21:46:50.900611 | 2020-04-29T10:36:48 | 2020-04-29T10:36:48 | 259,896,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | #include "student2shortestpath.h"
#include <queue>
#include <assert.h>
#include <QDebug>
using namespace std;
const char* nameOfStudent2(){
return "Linus Jönsson";
}
vector<Ixnode> shortestPathBetweenNodes(const std::vector<Node>& graph,
Ixnode ixStart, Ixnode ixStop, ... | [
"alflinusjonsson@gmail.com"
] | alflinusjonsson@gmail.com |
ffed0ba4b7a0f64817457b13a3309cc8541c056b | 503d046692640e6d4d43cbef589835275ce7cfd5 | /topcoder_marathon_match/RoadsAndJunctions/submits/RoadsAndJunctions4hi.cpp | d6a332871b19359571a66c793282e79ce35f22c7 | [] | no_license | ebicochineal/marathon_match | 62fc2c90df6d57f89efcdd9e26bc0aed46d920dc | 6c2c323690a2ec7c59eb58d103ea3f5d68f1cc91 | refs/heads/master | 2023-03-09T20:49:20.169600 | 2023-03-05T04:15:35 | 2023-03-05T04:15:35 | 134,235,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,753 | cpp | // C++11
#include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
#include <time.h>
#include <sys/timeb.h>
#include <string>
#include <array>
#include <cstdlib>
#include <sstream>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <random>
using namespace std... | [
"yz94588@gmail.com"
] | yz94588@gmail.com |
bbd263d3cd316fd17d621dc10beea3c4202f99c0 | 24e6b47ae367c95b51e86642155e3d62456430c8 | /DuiLib/Layout/UIHorizontalLayout.cpp | dbe7abc2990a16521a1b184d8668720c06df4a28 | [
"MIT",
"BSD-2-Clause"
] | permissive | ezhangle/BalloonDuilib | b8c8e958bc3df5aaf0af3061e508fc09fef39452 | 3fd8700d3b10075e2a9f62931c56bb394e893876 | refs/heads/master | 2020-05-22T18:09:42.901993 | 2017-05-25T10:59:03 | 2017-05-25T10:59:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,890 | cpp | #include "stdafx.h"
#include "UIHorizontalLayout.h"
namespace DuiLib
{
CHorizontalLayoutUI::CHorizontalLayoutUI() : m_iSepWidth(0), m_uButtonState(0), m_bImmMode(false)
{
m_ptLastMouse.x = m_ptLastMouse.y = 0;
::ZeroMemory(&m_rcNewPos, sizeof(m_rcNewPos));
}
LPCTSTR CHorizontalLayoutUI::GetClass() const
{
... | [
"yuanlong.zhang@baidao.com"
] | yuanlong.zhang@baidao.com |
e7b35f13971327f3b110c3c50199cf2cbcf934fc | bec43fb187e4753da2fd7dac75bbfb040787ce06 | /codechef/codechef-DIFFSUM.cc | 4741d07c1b030f93e5e6f6c1f0a9fe1e0792d69f | [] | no_license | ajaysharma388/Online-Platform-s-Compitetive-Coding | 27d090548af5f8c5522d5f43c1a358220c783455 | 1795766d42866545f0aa4dcab34fac07b83f5cb4 | refs/heads/master | 2020-07-19T12:55:15.095628 | 2020-07-12T18:33:14 | 2020-07-12T18:33:14 | 206,453,053 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cc | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define endl "\n"
int main(){
#ifndef ONLINE_JUGDE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
freopen("error.txt","w",stderr);
#endif
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a,b;... | [
"ajaysharma2201@gmail.com"
] | ajaysharma2201@gmail.com |
3707ce4d509b291149a095abf33458a2dbf42a2a | 7596ea8744393fefc01195a0be3bfb97c6d31e20 | /sandy/Code/Panda OJ/DUCK.cpp | 54bfd20bcadcb359dd09a55a80a47d65c4870816 | [] | no_license | sandysihotang/CPP | 7b2c0cff4f3a4e793269e22ead431333cf2575b0 | 7ae4d9ef0fbb2576984add499de79bcfac9e07f4 | refs/heads/master | 2022-12-17T23:53:45.043540 | 2020-10-04T07:53:15 | 2020-10-04T07:53:15 | 274,941,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int main()
{
int a;
scanf("%d",&a);
for(int b=1;b<=a;b++)
{
int c;
int qwe[1009];
scanf("%d",&c);
for(int d=0;d<c;d++)
{
scanf("%d",&qwe[d]);
}
sort(qwe,qwe+c);
for(int d=c-1;d>=0;d--)
{
printf("%d",qwe[d]);
if(d!=0)
{
... | [
"sandysihotang12@gmail.com"
] | sandysihotang12@gmail.com |
0b25aba9c39b9780c27cf511c3d26a2e57ac76d1 | 9ff8e317e7293033e3983c5e6660adc4eff75762 | /Source/sys/linux/SGF_LinShared.cpp | 574135939717f66899c9710ef3169256eb3e5a87 | [] | no_license | rasputtim/SGF | b26fd29487b93c8e67c73f866635830796970116 | d8af92216bf4e86aeb452fda841c73932de09b65 | refs/heads/master | 2020-03-28T21:55:14.668643 | 2018-11-03T21:15:32 | 2018-11-03T21:15:32 | 147,579,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,776 | cpp | /*
SGF - Salvat Game Fabric (https://sourceforge.net/projects/sgfabric/)
Copyright (C) 2010-2011 Salvatore Giannotta Filho <a_materasu@hotmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softwar... | [
"rasputtim@hotmail.com"
] | rasputtim@hotmail.com |
9b32f1f6b90d7b7a7159dd4777ca2261d99dfd2e | 0fb9b3d363590c0e254c1c29cdb9b79fa4ccc3b0 | /GraphicsFrameworkView/MyRect.cpp | 4701b1efbcf0f3755d6a8ff81da704634e1d8733 | [] | no_license | dsbabkov/dev-qt | ff53de8ceaa9b7e0fc4d0042ac93cce800b537df | ef52b918f779c45839259d96bca73471acb4b849 | refs/heads/master | 2021-01-09T05:23:29.364289 | 2017-02-16T18:58:25 | 2017-02-16T19:15:35 | 80,760,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include "MyRect.h"
MyRect::MyRect()
: rect_{}
, pen_{}
{
}
MyRect::MyRect(const QRectF &rect, const QPen &pen)
: rect_{rect}
, pen_{pen}
{
}
QRectF MyRect::rect() const
{
return rect_;
}
void MyRect::setRect(const QRectF &rect)
{
rect_ = rect;
}
QPen MyRect::pen() c... | [
"dsbabkov@gmail.com"
] | dsbabkov@gmail.com |
6dd53aea79436a21c8a8caa6979915b5ce4ee60a | d896b376ed3fd454e4dd9147c71feb8538a9b601 | /03/3.cpp | 34b56cd3874da750a55ebf9e7a5887da2bc2c20e | [] | no_license | matoototo/aoc-2020 | af8d072bd0b6e7fe929946fdff35c38830893915 | 62e56315779384e16ac2cda4d51738a26fbe95a3 | refs/heads/main | 2023-02-09T07:47:04.670468 | 2020-12-25T11:46:39 | 2020-12-25T11:46:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <utility>
int cheap_toboggan(const std::vector<std::string>& slope) { // part 1
int trees = 0;
int location = 3;
for (auto it = slope.begin()+1; it != slope.end(); ++it) {
if (it->at(location) == '#') ++trees;
... | [
"noreply@github.com"
] | matoototo.noreply@github.com |
4c04fe4bc71e446ab7d1d5bb77f5eac2378771e9 | 35823acb67a20e672c03932e564912cfca788a9a | /tree/binary_tree_preorder_traversal.cpp | 37ef666f8bfa40855207ccde078ec8077d29f022 | [] | no_license | eyeboyplus/lc | f2ef7e49efb7aff0d32008bbbf7c78fb5e1d6824 | 7558f07a1db4d1a69d507f0b7d157d56ff274ed2 | refs/heads/master | 2020-04-18T06:15:17.968651 | 2019-04-22T07:52:13 | 2019-04-22T07:52:13 | 167,312,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | #include "./../lc.h"
vector<int> solution(TreeNode *root) {
vector<int> result;
if(root == nullptr) return result;
stack<TreeNode*> stack;
stack.push(root);
while(!stack.empty()) {
TreeNode *node = stack.top();
stack.pop();
result.push_back(node->val);
if(node->righ... | [
"eyeboyplus@163.com"
] | eyeboyplus@163.com |
81bc1fbe7a079955ded6ab15242a951c604bb913 | eb8bf4db9436d5037380f195c3eaae09cfc8df94 | /Algorithms and data structure/ACM/Графы/Основы/Матрица смежности и список ребер/o.cpp | a2bcc13ce9160439dda636faaf97465f806a3d39 | [] | no_license | alikhan880/Algo2016 | 1835a31c046346e9768fac6cc6cd38beeb81c0ed | 7821abba02cf7bed6cc0d0e46b2cefa219b918f1 | refs/heads/master | 2021-01-12T09:47:18.667080 | 2016-12-12T12:28:25 | 2016-12-12T12:28:25 | 76,254,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include <iostream>
#include <cmath>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
using namespace std;
int a[120][120];
int n,m,k,p;
int c = 0, c1 = 0;
int main(){
// freopen("o.in", "r", stdin);
// fr... | [
"abakhitbek@gmail.com"
] | abakhitbek@gmail.com |
81f4cbad6bdd397a0fe7c8b97c16f6df03b5f2cd | f892f9602005665b19612120734007826f3d68b8 | /kclosestnumbers.cpp | b186e5c1f5ac9956da76c9fe0c3094444a96497b | [] | no_license | subhradeepnag/Heap-Questions | 33a400202cefc8d7512eb032a646abed21c0d479 | 46b6e8844ec086ea426049b19f04eb2021247966 | refs/heads/main | 2023-07-07T20:22:46.543416 | 2021-08-08T11:29:03 | 2021-08-08T11:29:03 | 375,410,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
vector<int>v{5,6,7,8,9};
int k = 3;
int X = 7;
priority_queue<pair<int,int>>maxh;
for(int i=0;i<v.size();i++)
{
maxh.push({abs(v[i] - X),v[i]});
if(maxh.size()>k)
{
maxh.pop();
}
}
w... | [
"subhradeepnag31@gmail.com"
] | subhradeepnag31@gmail.com |
ecfddf79112c6fe1cc3ea7563a255ac8fa40f168 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /qualitycheck/src/model/GetPrecisionTaskRequest.cc | 3dbebedefecda33fa839c9ba962ed8b7a580b890 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,794 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
77ab6155ed02085eaaafdaf29d3698aa8a461fbf | 78c1a9af98ef78fb1c573cd09a8da65fdbf94ccb | /inc/SMacierz.hh | e2e511f7ca75a05443a85f3db887f0e7a73ea372 | [] | no_license | WojciechBachta/Szablony | d9740ca3ef7fc03c99742e1ee40b35f28cc35234 | 3898ab164e95d4b7592c5eb5b3348bcbe3247bcf | refs/heads/master | 2022-07-02T19:03:31.132497 | 2020-05-17T00:36:31 | 2020-05-17T00:36:31 | 264,554,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,461 | hh | #ifndef SMACIERZ_HH
#define SMACIERZ_HH
//#include "rozmiar.h"
#include <iostream>
#include "LZespolona.hh"
#include "SWektor.hh"
using namespace std;
/*
* Tutaj trzeba opisac klase. Jakie pojecie modeluje ta klasa
* i jakie ma glowne cechy.
*/
template <typename STyp, int SWymiar>
class SMacierz {
SWektor<... | [
"noreply@github.com"
] | WojciechBachta.noreply@github.com |
565b32d082a866a3d1bfe65be463bd455f80457d | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp | 507c484bccc919e94c3656f5db30ff09695955b9 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 3,591 | cpp | // This include is needed for static builds to initialize DII_Arguments_Converter
// service object.
//#include "tao/DynamicInterface/DII_Arguments_Converter_Impl.h"
#include "Server_Task.h"
#include "Client_Task.h"
#include "ace/Get_Opt.h"
#include "ace/Argv_Type_Converter.h"
#include "ace/SString.h"
#include "ace/Ma... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
6566998936a0ef5f0d3eae9a8dfc4291e0c7e179 | 0169482f88d6bb5ee7eb318182fdaef7b5c3d1ec | /src/sdot/Support/Simplex.h | 1d1143e38a8053b309353b8ad604000cc519bfa2 | [] | no_license | sd-ot/sdot_pub | 9d4414474b9cc0d28c7a71f24a13ce9c1ae18fb2 | b3ff0bdbeab28e4158a74492d72756fe458f2229 | refs/heads/master | 2020-10-01T21:48:05.308199 | 2020-01-10T08:23:04 | 2020-01-10T08:23:04 | 227,631,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | h | #ifndef SDOT_SIMPLEX_H
#define SDOT_SIMPLEX_H
#include <functional>
#include "Point.h"
namespace sdot {
/**
*/
template<class TF,int dim,int sub_dim=dim>
struct Simplex;
template<class TF>
struct Simplex<TF,2,1> {
using Pt = Point<TF,2>;
TF mass () const { return norm_2( pts[ 1 ... | [
"hugal.leclerc@gmail.com"
] | hugal.leclerc@gmail.com |
44fc7ef348b32dd29e77b2b19ba7da3120493a75 | 3326db8648ecd23fabebbdece3a0db662b409664 | /TopCoder/2018 TCC Qualification/EllysPrimesMatrix.cpp | e4b32578ebd42bf1d36b7df5677f5f74c0dea872 | [] | no_license | fazlerahmanejazi/Competitive-Programming | 96b9e934a72a978a9cae69ae50dd02ee84b6ca87 | 796021cdc7196d84976ee7c9e565c9e7feefce09 | refs/heads/master | 2021-11-10T08:23:31.128762 | 2019-12-24T22:11:12 | 2019-12-24T22:11:12 | 117,171,389 | 3 | 1 | null | 2021-10-30T20:31:10 | 2018-01-12T00:39:16 | C++ | UTF-8 | C++ | false | false | 3,142 | cpp | #include <cstdio>
#include <cmath>
#include <cstring>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <set>
#include <vector>
#include <sstream>
#include <typeinfo>
#include <fstream>
using namespace std;
class EllysPrimesMatrix {
public:
int getCount(vector<string> matrix) {
return... | [
"ahmed.belal98@gmail.com"
] | ahmed.belal98@gmail.com |
661b1384a4cde60fed21b487a9a27ddafa9274ba | 4296e51c67eb12c83bd01c9eb93d1cd1fd1852ef | /export/windows/obj/include/haxe/StackItem.h | aa6b65a620c2c02938d1002db658438c54f2ba8b | [] | no_license | Jmacklin308/HaxeFlixel_DungeonCrawler | de23d7e86deb2fa3c2f135e6cc664b68bd1c8515 | e5b7cdf540913a8c2e9e1fdc4780831a9b823856 | refs/heads/main | 2023-06-26T14:33:12.532371 | 2021-07-18T04:03:18 | 2021-07-18T04:03:18 | 386,560,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 1,267 | h | // Generated by Haxe 4.2.1+bf9ff69
#ifndef INCLUDED_haxe_StackItem
#define INCLUDED_haxe_StackItem
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,StackItem)
namespace haxe{
class StackItem_obj : public ::hx::EnumBase_obj
{
typedef ::hx::EnumBase_obj super;
typedef StackItem_obj OBJ_;
public:
... | [
"jmacklin308@gmail.com"
] | jmacklin308@gmail.com |
24e3cf21f3bb625a9b68ed9493f5c7477f4f2cfc | 995a2be01c989a7bb4c61083dab40f4863ca1397 | /Source/Class/MyActor.h | 3724ed7ddd6f484efd8323f9101f8ffab9d14e79 | [] | no_license | kimsezin/Unreal_Practice | 8997f521d55c750beeea1e654a4665f186943c3b | f4051c3fab848604d04607504d607ba56bf975dc | refs/heads/main | 2023-06-24T22:17:37.556926 | 2021-07-27T08:46:31 | 2021-07-27T08:46:31 | 388,451,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MyActor.generated.h"
UCLASS()
class CLASS_API AMyActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AM... | [
"48678553+kimsezin@users.noreply.github.com"
] | 48678553+kimsezin@users.noreply.github.com |
8285b1824f774496cd3ffb43307bcc7d3d49ebfe | 33496338a35c4f76eadec13dc56c7831b1896113 | /Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/SystemCallGetTime.cpp | c12bb780458b26933ec9ae48866cb25d789fd8c4 | [
"BSD-2-Clause"
] | permissive | jredmondson/GamsPlugins | 1ce0c2301cf84b6398ae1a2a6cdef9a4d0c1992c | d133f86c263997a55f11b3b3d3344faeee60d726 | refs/heads/master | 2021-07-08T23:40:48.423530 | 2020-10-01T05:31:26 | 2020-10-01T05:31:26 | 196,622,579 | 3 | 1 | BSD-2-Clause | 2020-03-17T04:23:21 | 2019-07-12T17:54:49 | C++ | UTF-8 | C++ | false | false | 2,174 | cpp |
#ifndef _MADARA_NO_KARL_
#include "madara/expression/LeafNode.h"
#include "madara/expression/SystemCallGetTime.h"
#include "madara/knowledge/ThreadSafeContext.h"
#include "madara/expression/Visitor.h"
#include "madara/utility/Utility.h"
madara::expression::SystemCallGetTime::SystemCallGetTime(
madara::knowledge:... | [
"jedmondson@gmail.com"
] | jedmondson@gmail.com |
66883564b45c424898845f569f138e2d27be1829 | 979199a765edf1d5deb9a4bdc0eb49d365483f43 | /systems/inc/HullSystemInterface.h | 20a2d80fcbf78e07af94bf4ff8123fe4c61b5e0a | [] | no_license | abekkine/space-game | d54910b68e03695ab5eeaa537a9092ded84585ba | 8be22260507bf15b4c762905d68590ec289326d4 | refs/heads/master | 2023-07-14T01:30:07.671788 | 2020-09-06T14:25:23 | 2020-09-06T14:25:23 | 122,833,723 | 3 | 0 | null | 2020-09-04T20:58:22 | 2018-02-25T12:21:18 | C++ | UTF-8 | C++ | false | false | 583 | h | #ifndef HULL_SYSTEM_INTERFACE_H_
#define HULL_SYSTEM_INTERFACE_H_
#include "ShipSystemBase.h"
#include <functional>
#include <assert.h>
class DataBus;
class DataBusConnection;
class HullSystemInterface : public ShipSystemBase {
public:
virtual ~HullSystemInterface() {}
// HlSI_01
virtual double Repair(... | [
"abekkine@gmail.com"
] | abekkine@gmail.com |
c07522dd6d38fbde73a09d4017b84b082cc6f607 | e8ffb6a293a3c25b760a6784e0b0f852290d175e | /UVA Solutions/11799 - Horror Dash.cpp | 113c7bdc46ed087c7bef63d717bb5e5d5a5bf1b5 | [] | no_license | lutfullahillabib/ACM-SOLUTION | cd8fa2db281a7b7736d42961174c9ca6e311d897 | 9b60fe8b72a0cfd27238f1372d028184baa015cb | refs/heads/master | 2022-01-12T05:08:20.359827 | 2018-10-31T20:44:14 | 2018-10-31T20:44:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | #include<iostream>
#include<algorithm>
#include<cstdio>
#include<vector>
using namespace std;
int main()
{
int t,n,c;
vector<int> ara;
cin>>t;
for(int i=1;i<=t;i++)
{
cin>>n;
for(int j=0;j<n;j++)
{
cin>>c;
ara.push_back(c);
}
printf("C... | [
"rctushar07@gmail.com"
] | rctushar07@gmail.com |
cb1df15f995e98f1b4975c272853956c3b63040c | a57dc0a33bcb47379250ffe7c3a566fb5c3ba492 | /src/pick_objects_node.cpp | 8bc40885bbd60a55afb53ca1c2ff3a49a8bf0d8f | [] | no_license | fvillml/home_service_ros | 16e7be82989291d7147041b08d862badf0631de4 | debdad91fea11d48f8fb1853856439ed09aa5530 | refs/heads/main | 2023-07-31T15:27:42.679184 | 2021-09-28T17:45:55 | 2021-09-28T17:45:55 | 410,534,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | #include "home_service/NavigationClient.hpp"
using namespace home_service;
int main(int argc, char **argv) {
ros::init(argc, argv, "pick_objects_node");
ros::NodeHandle nh {};
NavigationClient navigationClient { nh };
float x { 4.0 }, y { 0.0 };
ROS_INFO("Robot is travelling to the pick up zone"... | [
"af.villamil231@gmail.com"
] | af.villamil231@gmail.com |
af4cda25c92c3cc70efae7e70fafd1242606b33e | 7c9e037f9d3b8ba210c6b7b35432b9b88c0a0664 | /lab codes/3rd sem/DSA lab/Untitled5.cpp | f0bac60620fa090eca16790c23bdad8cb5a8ff72 | [] | no_license | msatul1305/2nd-year-study-materials-computerScience | 876e3b2cf616953715cf92201a0098a3d67e8781 | 6eec20de52eaba720c596a9a9e9f96e9ff164ed9 | refs/heads/master | 2021-04-29T14:50:24.549898 | 2019-10-21T19:07:56 | 2019-10-21T19:07:56 | 121,784,242 | 1 | 8 | null | 2019-10-21T19:07:57 | 2018-02-16T18:15:00 | C++ | UTF-8 | C++ | false | false | 101 | cpp | #include<iostream>
using namespace std;
main()
{
int a,b=2,c=3;
a=b;
b=c;
cout<<a<<b;
}
| [
"noreply@github.com"
] | msatul1305.noreply@github.com |
d15ba2ba60202e42e54fd40368931fc07b61544b | e0ef9dac9a458db9cb1159a0801e64c77e06c9ae | /delete_tree_450.cpp | 1f2c63967ef802be258b3eb7f2dc6256a6c48cfb | [] | no_license | liyuxiaoboy/cpptest | 8a4f2f60b9cc261d6ea7898a220738aaf0768f85 | de13efb06decb96f24e726b8c621195c253e7d85 | refs/heads/master | 2020-05-09T20:49:45.857409 | 2019-05-07T02:36:14 | 2019-05-07T02:36:14 | 181,421,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,357 | cpp | #include <iostream>
#include <list>
#include <string>
#include <vector>
#include <fstream>
#include <map>
#include <algorithm>
using namespace std;
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), ... | [
"liyuxiaoboy@163.com"
] | liyuxiaoboy@163.com |
a515da719253847fe839d69998f77586897c4687 | 727ba39c62c8fa7b1520791bd5a0740124e39716 | /llvm-9.0.0/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp | 95e9c83d3d7bb3a51b2155962665b2c35bd2278c | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | Yiruma96/CCR | d7c2c1e0238698bb99f87db6d685d80b40a7316d | 33b1dbc05d89b56477f16e6e38d67f6d2c6cfa0a | refs/heads/master | 2022-12-26T17:11:55.841496 | 2020-05-28T17:27:23 | 2020-05-28T17:27:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,576 | cpp | //===-- BPFAsmBackend.cpp - BPF Assembler Backend -------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"kevinkoo001@gmail.com"
] | kevinkoo001@gmail.com |
5dfc62476405b84ee4dbcba428d33421d6f49dfb | dfbec9bbc6bf420f0a134ce2a45692e336b3fec7 | /搜索/回溯-背包问题/回溯-背包问题/回溯-背包问题.cpp | 335367f5267f6a8a0ac541dff4c2c85e4b779cf7 | [] | no_license | FangYikaii/DataStructuresAndAlgorithm | e3eebbf3458f076b61d1c516b6f89bdd3264cbda | 8bf778d7071345b3311bc8512f8099b6c0fbd096 | refs/heads/master | 2021-01-19T11:16:38.320009 | 2017-05-08T15:33:25 | 2017-05-08T15:33:25 | 87,948,858 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,676 | cpp | // 回溯-背包问题.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <stdio.h>
#define N 3 //物品的数量
#define C 16 //背包的容量
int w[N] = { 10, 8, 5 }; //每个物品的重量
int v[N] = { 5, 4, 1 }; //每个物品的价值
int x[N] = { 0, 0, 0 }; //x[i]=1代表物品i放入背包,0代表不放入
int CurWeight = 0; //当前放入背包的物品总重量
... | [
"342363948@qq.com"
] | 342363948@qq.com |
13f08a464c3078d8fcdb0ef8eca225859de68047 | 21b2160d824611717ffecff7d207161c90d0ad4c | /torch/csrc/jit/runtime/register_ops_utils.h | 96a8d927be83a6f130f503f1b55ed48abf8f2ffe | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | abladawood/pytorch | 79cdc652a2f1a7a5055a9e4ccc875e7bb713ec9d | 0b92dd59acf9463dc36c4edda0d2f46e365df711 | refs/heads/master | 2023-05-14T14:32:45.269134 | 2021-05-23T18:34:15 | 2021-05-23T18:34:15 | 362,829,534 | 0 | 0 | NOASSERTION | 2021-05-23T18:34:15 | 2021-04-29T13:36:54 | C++ | UTF-8 | C++ | false | false | 40,218 | h | #pragma once
#include <ATen/Context.h>
#include <c10/core/DeviceType.h>
#include <torch/csrc/autograd/autograd.h>
#include <torch/csrc/autograd/edge.h>
#include <torch/csrc/autograd/function.h>
#include <torch/csrc/autograd/generated/variable_factories.h>
#include <torch/csrc/autograd/profiler.h>
#include <torch/csrc/... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
75d8ea436588b334426b4093092596cf64321245 | fd930bdf1feba5bbbefeabf25fc1a333ae54653d | /Source/ShooterGame/Private/UI/Style/ShooterScoreboardWidgetStyle.cpp | 4bce6c2b9a7be25aba32c38a03a1ccbe93d48923 | [] | no_license | kacpidev/PolygonShooter | 594b2be34679142b3bb4a1381a7e0153bde33bfa | e1c895c0d1ec1b8a9ee30205152716b43c949723 | refs/heads/master | 2020-01-23T22:04:21.389359 | 2016-11-26T18:03:43 | 2016-11-26T18:03:43 | 74,703,685 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "ShooterGame.h"
#include "ShooterScoreboardWidgetStyle.h"
FShooterScoreboardStyle::FShooterScoreboardStyle()
{
}
FShooterScoreboardStyle::~FShooterScoreboardStyle()
{
}
const FName FShooterScoreboardStyle::TypeName(TEXT("FShooterScoreboardStyle")... | [
"kacper.domanski@kacpidev.pl"
] | kacper.domanski@kacpidev.pl |
6f45a97f550208497c52e5e7091b7fc9accb5a25 | 042a690781af4ac6c4095c81729a041283a4ab2e | /week6/substring.cpp | c069208a833b49051e4bd69b8bbb2dcb57cdc750 | [] | no_license | ICMVincent/homework | 94fdb3e6ee12bc9e3cc9d8cbd2da456e196aa519 | b8abd7937678073ce7553973c2b5eabd2db23299 | refs/heads/master | 2021-01-10T17:47:00.487480 | 2016-02-08T14:03:30 | 2016-02-08T14:03:52 | 44,907,125 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<string>
using namespace std;
bool cmp(string a, string b) {
return a + b < b + a;
}
int main() {
bool cmp(string, string);
vector<string > str;
string sub;
int count, T;
cin >> count;
while (count--) {
cin >> T;
... | [
"mohx5@mail2.sysu.edu.cn"
] | mohx5@mail2.sysu.edu.cn |
98c420ec6ff272bfc4efd85d902867fd8a376675 | ac569c286791fdfd94b88dafbc41afd54227cd08 | /devel_isolated/cartographer_ros_msgs/include/cartographer_ros_msgs/FinishTrajectoryResponse.h | 28b3d6a2d08cd987544ec03ff21f02140d8a58b3 | [] | no_license | Mikkiewwkw/cartographer_ros | 904f557c3a0046b5946a1365f79f95b61556a635 | d75586ad6c74f115298a5c841f98a4b8e0d29925 | refs/heads/master | 2020-06-21T02:04:59.136106 | 2019-07-17T05:01:10 | 2019-07-17T05:01:10 | 197,318,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,833 | h | // Generated by gencpp from file cartographer_ros_msgs/FinishTrajectoryResponse.msg
// DO NOT EDIT!
#ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_FINISHTRAJECTORYRESPONSE_H
#define CARTOGRAPHER_ROS_MSGS_MESSAGE_FINISHTRAJECTORYRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <r... | [
"wuxx1671@umn.edu"
] | wuxx1671@umn.edu |
c26f15e4a059297276df248650ff308ae2922ab8 | e221b87a16f6020d52bc7834d27b00ba112e9832 | /inLab 3 pt II/courseBook.cpp | 702597a28e47cb5ed0d441abe9cd2f61faf6693c | [] | no_license | verdande2/CST136-Spring-12 | 8e5a8548c6e94625a0497f0ea8be298accf4b6b5 | 710aba210a10150c405f324661369f8526adf6c4 | refs/heads/master | 2020-08-30T20:29:45.457404 | 2016-08-23T16:54:49 | 2016-08-23T16:54:49 | 66,383,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include "courseBook.hpp"
#include <fstream>
using std::ifstream;
void CourseBook::LoadFile(std::string file){
char buffer[100];
Course* buffer_course = 0;
Course** temp_courses = 0;
ifstream inFile(file.c_str());
if(inFile.is_open()){
while(inFile.getline(buffer, 100, '\n')){
char* name = strtok(buffer, "... | [
"ASparkes@jeldwen.com"
] | ASparkes@jeldwen.com |
af24160275352c121ffb09fde650921e0d037c75 | 1e636fe0e92256920a5804494b44342e20050285 | /Day1/2_inline_function_3.cpp | 1b88d7d392d4d4e795d78e662f62116eea9edd9f | [] | no_license | JaeminShim/NCUAdvancedCPP | 4c65e8218bd8c6ef1e4318ad1739739a72a49ae1 | 399c7a805fccc6f1b8eef52cdc717bc87ed539f1 | refs/heads/master | 2021-01-10T16:31:01.431020 | 2015-11-25T08:51:34 | 2015-11-25T08:51:34 | 43,853,480 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,000 | cpp | // 2_인라인함수_3 (16page)
// 라이브러리 함수의 조건: 성능, 유연성(정책의 변경)
// 변하지 않는 전체 흐름에서(알고리즘) 변하는 부분(정책)을 찾아서 분리해야 한다.
// => 변하는 것을 함수 인자화 한다.
#include <algorithm>
#include <iostream>
void Sort(int* x, int n, bool (*cmp)(int,int))
{
for (int i = 0; i < n - 1; ++i)
{
for (int j = i + 1; j < n; j++)
{
if (cmp(x[i], x[j])) /... | [
"xeoris@gmail.com"
] | xeoris@gmail.com |
01355d5bbc28dd6cdf75157566b94777f075d941 | ade8cc42e60e350714d4fb55c9657c02850f329e | /Localization/SensorDataFrame/ConstVelocityModel.cpp | 5a247ca4a4b22cf16b978be42346a9c3ef41f2c3 | [] | no_license | Mannak/solar_clear_car_robot | bb6126d0a0ccef6379e0d1536cd9bb441c5004a6 | 1d2a8e6996447ae6b32a5002128fbf3bc13c5d4a | refs/heads/master | 2020-03-29T01:06:59.493480 | 2018-09-19T01:09:45 | 2018-09-19T01:09:45 | 149,371,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,492 | cpp | #include "ConstVelocityModel.h"
#include <iostream>
namespace Localization{
ConstVelocityModel::ConstVelocityModel() : _X(6, 1), _P(6, 6), _A(6, 6), _Q(6, 6), _H(3, 6), _R(3, 3), _I6(6, 6){
_P.MakeUnitMatrix(6);
_A.MakeUnitMatrix(6);
_Q.MakeUnitMatrix(6);
_H.ResetToZeroMatrix();
_R.MakeUnitMatrix(3);
_I... | [
"2873684420@qq.com"
] | 2873684420@qq.com |
49c5c57a3e2e784299aaffba54af0a9d26ad3309 | f11987879f1d395f7305fdfe08c1e7e071fc8ef0 | /src/PhysicsEng/Physicsconstants.cpp | c5206d6a6b1dcbb4ba2393c39dcfbbec4236067d | [] | no_license | Miszq11/Mengine | cbe811841caa2f74b43b45a6536216c578791863 | 1703861c89fef0358bfa4e6b187fb3c37a66ddea | refs/heads/main | 2023-06-30T11:28:24.619482 | 2021-07-20T17:03:51 | 2021-07-20T17:03:51 | 383,772,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | #include "Physicsconstants.hpp"
// or sth
float Physicsconstants::gravity= 9.98;
Physicsconstants::gr_t Physicsconstants::gravity_type = Physicsconstants::down; | [
"michas.smolin@gmail.com"
] | michas.smolin@gmail.com |
8757912ebae3e321b2694cd95f171ea815ecaf76 | ccddfec13e76f1707bde70e8f45683dab7df0ae5 | /src/pre/variant/get_trait.hpp | 91c01c989bad376a438939f3b51a0861c5f0ad55 | [
"MIT"
] | permissive | dan-42/cpp-project-template | e247dc358d70f9ed72328264e76c44fe6a1a98a5 | 40a11d1d6b54af8e3fcce1ac2a469f840db56928 | refs/heads/master | 2020-04-02T06:20:56.444058 | 2017-10-22T04:25:00 | 2017-10-22T04:25:00 | 62,244,878 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,066 | hpp | #ifndef PRE_VARIANT_GET_TRAIT_HPP
#define PRE_VARIANT_GET_TRAIT_HPP
#include <boost/variant.hpp>
#include <boost/type_traits.hpp>
#include <pre/json/traits/is_boost_variant.hpp>
#include <pre/variant/detail/assignable_from.hpp>
#include <pre/variant/apply_visitor.hpp>
#include <mapbox/traits/is_mapbox_variant.hpp>
... | [
"daniel@duerrenbuehl.de"
] | daniel@duerrenbuehl.de |
c611ab4e915c386dac8afce195d60bd92d44bbee | 768371d8c4db95ad629da1bf2023b89f05f53953 | /applayerprotocols/httptransportfw/Test/Acceptance/Iter1/Tc6.cpp | a07ed08e2c3a597536f414b2245944bb652f2e98 | [] | no_license | SymbianSource/oss.FCL.sf.mw.netprotocols | 5eae982437f5b25dcf3d7a21aae917f5c7c0a5bd | cc43765893d358f20903b5635a2a125134a2ede8 | refs/heads/master | 2021-01-13T08:23:16.214294 | 2010-10-03T21:53:08 | 2010-10-03T21:53:08 | 71,899,655 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,592 | cpp | // Copyright (c) 2004-2009 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/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
0ae8b336e7e1a168bf14b164c627fb7d7be43c85 | 69d0deb5921edc82eea0ae184db99b87a0ca6900 | /catkin_ws/src/srrg2_solver/srrg2_solver/src/srrg_solver/variables_and_factors/types_2d/variable_se2.h | e55d91c61eca001827d53ee82514f85581ccd2ba | [
"BSD-4-Clause",
"BSD-3-Clause",
"MIT"
] | permissive | laaners/progetto-labiagi_pick_e_delivery | 8d4006e206cd15b90b7e2291876c2b201e314621 | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | refs/heads/main | 2023-08-19T00:17:51.491475 | 2021-09-16T16:35:45 | 2021-09-16T16:35:45 | 409,192,385 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | h | #pragma once
#include "srrg_solver/solver_core/variable.h"
#include <srrg_geometry/geometry2d.h>
namespace srrg2_solver {
using namespace srrg2_core;
/** @brief SE2 Pose Variable base class.
*/
class VariableSE2Base : public Variable_<3, Isometry2_> {
public:
/** With this param one can decide whether ... | [
"hu.183947@studenti.uniroma1.it"
] | hu.183947@studenti.uniroma1.it |
64bd5e106b72cf9301469df7f0fc11777fcbad76 | 70fb6804df557c296b6dae1a868fb2078b17c990 | /src/util.cpp | 4270e374d5a430ad8e55f0fa515dbf6bc45c24d1 | [
"MIT"
] | permissive | CMcoin/playwincoin-core | 655839d2f162232663a3cee42d2ac94303b6fc72 | eb670133577f4adf5a9db17020d719c4fd79441d | refs/heads/master | 2021-06-27T05:01:28.388318 | 2017-09-12T06:01:38 | 2017-09-12T06:01:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,981 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "util.h"
#include "sync.h"
#include "strlcpy.h"
#include "version.h"
#inc... | [
"yugandhargangu@Yugandhars-Mac-mini.local"
] | yugandhargangu@Yugandhars-Mac-mini.local |
089b645cb9019aba78e16ae34b142ce5aa05c4d1 | 7df7e5c3472fdb05d8e6b9c2b06811ea361d27d7 | /Coprocessor/Kinect/include/processor.hpp | 32c7f47dcbb9509091a9f874712ee79c0fb31268 | [
"MIT"
] | permissive | FRC5333/2016-Champs | 01878eb74765d7c4bb12b594fcbb25901ecc3658 | f3824486a5a640a95fa99cd9de3ecca7c150571d | refs/heads/master | 2021-01-09T06:51:28.346162 | 2016-05-04T21:20:05 | 2016-05-04T21:20:05 | 56,080,762 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | hpp | #ifndef PROCESSOR_HPP_DEF
#define PROCESSOR_HPP_DEF
#include "threading.hpp"
#include <libfreenect.h>
#include <pthread.h>
#include <cv.h>
#include <vector>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;
using namespace cv;
class KinectProcessor {
public:
... | [
"jaci.brunning@gmail.com"
] | jaci.brunning@gmail.com |
812c8437d18caeec83b32ebd3c485b3b34f105d4 | 556854947daa06ab8202c9b596099cb1cbbd3746 | /include/progress/TextProgressCtrl.h | da51931ca1d8a0d817f7c36142aa79281f23fc9b | [] | no_license | Hyuanwen/ShapFile | d271b22e1f90498f26d5cc690a2571ae2da9d1e8 | 8e070e977ffab61712b042cb11079cf438e56b97 | refs/heads/master | 2021-01-02T09:05:06.625427 | 2019-01-23T03:49:55 | 2019-01-23T03:49:55 | 99,137,521 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,314 | h | //以下是H文件
#if !defined(AFX_TEXTPROGRESSCTRL_H__4C78DBBE_EFB6_11D1_AB14_203E25000000__INCLUDED_)
#define AFX_TEXTPROGRESSCTRL_H__4C78DBBE_EFB6_11D1_AB14_203E25000000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TextProgressCtrl.h : header file
//
// Written by Chris Maunder (chrismaunder@c... | [
"742623475@qq.com"
] | 742623475@qq.com |
77cac4b87faa7fc6cbfcab5ed72fe217301faac5 | b161aed1e38692e69e67ef9c2a2e2bae7171829b | /graph/CYOA.h | b2bcb1fbb72130f5fb589d1b4792346f96259525 | [] | no_license | Xuefeng4/Data_structure-Algorithm | 4a0f9c5e37f0fe843f6000af21a2f92dbf709bc6 | 38dc1e093831df78875220acdf4944a12f5b1bab | refs/heads/master | 2020-05-24T09:31:28.260754 | 2019-05-17T12:35:19 | 2019-05-17T12:35:19 | 187,207,764 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | h | #pragma once
#include "Graph.h"
#include "DirectedEdge.h"
#include "dirent.h"
class CYOA {
public:
Graph<Vertex, DirectedEdge> load(std::string path);
private:
class GraphFile {
public:
std::string key;
std::string content;
std::unordered_map<std::string, std::string> edges;
};
GraphFi... | [
"ivenqin@yahoo.com"
] | ivenqin@yahoo.com |
d50e6077bc5a2ced98e3b543971820e8077f4bac | d6ac2f5f061d6efcd3c6a6ea4c408e598c023aa8 | /занятия/fajly/Zadanie/student.cpp | 9a9ee1c492a402b5bca46464ee22ef23fc778375 | [] | no_license | VetalosUA-KR/Data-Structure- | 18cac525d6bda0e2395b8bc5f2eceddb46add1bd | 5554ccb26b77f9d3d2af2554b8be818ad51ccbbf | refs/heads/master | 2020-09-17T06:50:14.019881 | 2019-11-25T19:31:20 | 2019-11-25T19:31:20 | 224,025,519 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,503 | cpp | #include <iostream>
#include "student.h"
#include <fstream>
#include <sstream>
student najwiekszaSrednia(string nazmwaPliku)
{
}
/**
dopisanie do pliku przedanego jako parametr nowego studenta
*/
void student::dopiszDoPliku(string nazwaPliku)
{
ofstream file;
file.open(nazwaPliku, ios::out|ios::app);
f... | [
"vetal925@gmail.com"
] | vetal925@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.