blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
006c5db6f3ccaf4477c9b999f3d998d917a19055 | 41495754cf8b951b23cece87b5c79a726748cff7 | /Solutions/Codeforces/Contests/Codeforces Global Round 12/c2.cpp | 248865b8b214ea38004d2ed4160180b4f7b13d0d | [] | no_license | PedroAngeli/Competitive-Programming | 86ad490eced6980d7bc3376a49744832e470c639 | ff64a092023987d5e3fdd720f56c62b99ad175a6 | refs/heads/master | 2021-10-23T04:49:51.508166 | 2021-10-13T21:39:21 | 2021-10-13T21:39:21 | 198,916,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define endl '\n'
#define f first
#define s second
#define ub upper_bound
#define lb lower_bound
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define ... | [
"pedroans.angeli@hotmail.com"
] | pedroans.angeli@hotmail.com |
d025a7ca88ac4aed69ae1ed17d4388f62a59170d | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeforces/round653/E2_Reading_Books_hard_version_.cpp | e19c42113452d7f343f4d03c100cc31ba6962e2b | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,264 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
const long long mod = 1e9+7;
// const long long mod = 998244353;
const long long int special_prime = 982451653;
using namespace std;
// DEBUGGER
// *
vector<string> vec_splitter(string s) {
s += ',';
vector<string> ... | [
"mahajan.ayush2306@gmail.com"
] | mahajan.ayush2306@gmail.com |
880a48d45f1b666a7c54612f104eb4e224df2050 | 525b8db8c72e77da74f24ab2b004c7289329cbb3 | /Exams done during the semester/Exam-1-Seminar-Gramophone-Records/main.cpp | 7ad971280d3fc8f3848769a151a74689dcbb88a8 | [] | no_license | SavaDtrv/Object-oriented-programming-school-works | 63b8dc6b7f7974bdb6ee5ebf81e9d6066a0e8e29 | 1ba63c3d38f76c26ad91e72bd5bd0c0965dc4111 | refs/heads/master | 2022-12-11T02:25:42.443472 | 2020-09-05T12:36:56 | 2020-09-05T12:36:56 | 293,072,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <iostream>
#include "RecordCollection.h"
#include "GramophoneRecord.h"
using namespace std;
void testFunction() {
while (true)
{
GramophoneRecord col;
}
}
int main(){
testFunction();
system("pause");
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
05dd25ee0e5397968db89ad9d15ca585c616a47d | 2bfd8c9d984c94830ba1fa7f5088083f8518f6ba | /src/crypto/sha256.cpp | 7d28a9be7403f29900092feedfa0f0ffd2f51ec8 | [
"MIT"
] | permissive | SenatorJohnMcLaughlin/TestCoin | 8f493d9f07246b21b98d3c19f5f303417fafd166 | 732b4ece3aaf489709ef9231d845d3735bb8dab3 | refs/heads/master | 2021-04-14T09:52:46.878135 | 2020-03-22T20:50:35 | 2020-03-22T20:50:35 | 249,224,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,373 | cpp | // Copyright (c) 2014 The Testcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/sha256.h"
#include "crypto/common.h"
#include <assert.h>
#include <string.h>
#include <atomic>
#if defined(__x... | [
"josef@bctest.fritz.box"
] | josef@bctest.fritz.box |
dbf7621cc0282cc064f796ae01903e7fdb2bf0a3 | 4dff595d59df71df9eaf3ea1fda1a880abf297ec | /src/GUISystem.h | b0425ed3dd3eb83e194421e8fde743225b551d84 | [
"BSD-2-Clause"
] | permissive | dgi09/Tower-Defence | 125254e30e4f5c1ed37dacbfb420fb650df29543 | 2edd53d50c9f913d00de26e7e2bdc5e8b950cc02 | refs/heads/master | 2021-03-12T19:18:59.871669 | 2015-09-17T10:55:17 | 2015-09-17T10:55:17 | 42,649,877 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | h | #pragma once
#include "Widget.h"
#include <vector>
#include "GuiEvent.h"
#include "SDL_ttf.h"
#include "Button.h"
#include "Label.h"
class GUISystem
{
GUISystem(void);
std::vector<Widget*> widgets;
std::vector<Widget*>::iterator it;
static GUISystem * ptr;
Widget * sheet;
GuiEvent ev;
Uint32 lastMouseState... | [
"thebest_m@abv.bg"
] | thebest_m@abv.bg |
f6f2febd83aa98c36d3231f440db69cc530fcaee | 53e134d00fd462263f83a26b5109d65a8115379a | /Assignment 9/StringList.hpp | 031c6bf81bd7dd8d253fb1b2027b62c3b04fe100 | [] | no_license | holly12ann/OSU-CS261 | e7083c01e7525bf7398cfaf08060b6c9e0e31ade | 1dafbaf3e339d813d47a62f06de8290924ad1027 | refs/heads/master | 2022-03-30T12:21:47.717290 | 2020-01-30T16:39:32 | 2020-01-30T16:39:32 | 104,574,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | hpp | #include <iostream>
#include <vector>
using namespace std;
#ifndef stringList_HPP
#define stringList_HPP
class StringList
{
protected:
struct ListNode
{
string str;
ListNode *next;
ListNode(string string1, ListNode *next1=NULL)
{
str=string1;
next=next1... | [
"holly12ann@gmail.com"
] | holly12ann@gmail.com |
755b3eec1ade6bf00217c27015a236617b39fd78 | c02f95258cb24b43fc2491317449dd4e303aa8c1 | /main.cpp | 23a0a71b2bf91e69bc8b5eb83872d80997b834eb | [] | no_license | jamd10/P3Lab1_JesusMeraz | 7678d76f3b3bbf8d8a8c4839a6ef9dceaabb7cd9 | decc9e3fd8d96fdca10d67b272f65f441c1839f6 | refs/heads/master | 2023-06-25T00:47:30.157755 | 2021-07-23T20:48:41 | 2021-07-23T20:48:41 | 388,908,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int menu();
void ejercicio1();
void ejercicio2();
int main(int argc, char** argv) {
int op = menu();
while(op != 3){
switch(op){
case 1:{
ejercicio1();
break;
}
case 2:{
ejercicio2();
break;
}
default: {
cout<<... | [
"jameraz28@gmail.com"
] | jameraz28@gmail.com |
2138ed9863f80d6e6a55dde514c6b23d30dd8154 | df739eb0c350151e0a9c0f6542260f9e7ae38433 | /source/Library.Shared/HashMap.h | e0a08ba7069a05dffc1dc7c26bcbf423a8a2c9b5 | [] | no_license | Aissasa/FieaGameEngine | 6c935b695d1d6350c3eeb94b5c8a1d52f8487311 | 705ae7aa991bbd80e7d7ac8b98dc4e14805d9f54 | refs/heads/master | 2021-01-21T10:08:57.110354 | 2017-04-29T20:14:07 | 2017-04-29T20:14:07 | 83,385,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,895 | h | #pragma once
#include "SList.h"
#include "Vector.h"
#include <cstdint>
#include <cstring>
#include <exception>
namespace Library
{
#pragma region Default Hash
/** Default hash functor for the hash map.
* This default hash functor hashes an entry using its bytes.
*/
template<typename TKey>
class DefaultHash
... | [
"aissa.ben.zayed@gmail.com"
] | aissa.ben.zayed@gmail.com |
6ccfe08d3d9745580273e18eeb0c9c16a30f1f17 | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/UPlanarReflectionComponent.hpp | 69fc0eba37c9f8db1f6b3b5d81d6d46abba0063e | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 7,906 | hpp | #pragma once
#include "USceneCaptureComponent.hpp"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) UPlanarReflectionComponent // Size: 0x610
: public USceneCaptureComponent // Size: 0x510
{
private:
typedef UPlanarReflectionComponent t_struct;
typedef ExternalPt... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
cbf6da1e2e621444e9bec34a13d091cce4c5e8d6 | 348895dc8570694e3af2413f2dec92dc7b84f862 | /k09/kstat02.cpp | 1bd25ed99ad6f59e8fec7a195b7a450a6caecbbb | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | kojiynet/koli | 5c804e5b176b99c79c79f2eaab884ea7de791749 | db8a8c8d1031dab28dd0d1e985ab75fa68570f9e | refs/heads/master | 2023-06-12T08:29:57.684235 | 2023-05-28T05:02:48 | 2023-05-28T05:02:48 | 216,354,148 | 0 | 0 | MIT | 2023-04-01T10:53:45 | 2019-10-20T11:55:18 | C++ | UTF-8 | C++ | false | false | 26,839 | cpp |
/*
kstat
Ver. k09.02
Written by Koji Yamamoto
Copyright (C) 2015-2020 Koji Yamamoto
In using this, please read the document which states terms of use.
Module for Statistical Computations
k10になるときに以下の関数を消す。
double unbiasedVar() →kstatboostのものを推奨。
double boostMean( const std::vector <double> ... | [
"noreply@github.com"
] | noreply@github.com |
8947703d9870a5ac40ddb22daca73fbc6debab29 | f6663a3687c7d398dd137bd7450b65d247b8343d | /src/Buffer.h | 04158fe3bdb420611db22a6cd8158977b261b8c1 | [
"MIT"
] | permissive | troter/xyzzy | 94e3d2652c72c2fe3f1d7906361af11cb1320b44 | b8697b0f838cb0fce4261da57c58cc943769127a | refs/heads/master | 2021-01-15T18:08:52.740188 | 2012-02-21T02:02:58 | 2012-02-21T02:02:58 | 3,503,039 | 3 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 28,101 | h | #ifndef _Buffer_h_
# define _Buffer_h_
# include "alloc.h"
# include "kanji.h"
enum wcolor_index
{
WCOLOR_TEXT,
WCOLOR_BACK,
WCOLOR_CTRL,
WCOLOR_HIGHLIGHT_TEXT,
WCOLOR_HIGHLIGHT,
WCOLOR_KWD1,
WCOLOR_KWD2,
WCOLOR_KWD3,
WCOLOR_STRING,
WCOLOR_COMMENT,
WCOLOR_TAG,
WCOLOR_CURSOR,... | [
"none@none"
] | none@none |
13574b1841e95dbdb971e3a1d744c49a9136778a | e17c43db9488f57cb835129fa954aa2edfdea8d5 | /Libraries/IFC/IFC4/lib/IfcFilter.cpp | afecccd290e3fd0bb9957a39544d364430b06702 | [] | no_license | claudioperez/Rts | 6e5868ab8d05ea194a276b8059730dbe322653a7 | 3609161c34f19f1649b713b09ccef0c8795f8fe7 | refs/heads/master | 2022-11-06T15:57:39.794397 | 2020-06-27T23:00:11 | 2020-06-27T23:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,441 | cpp | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "model/IfcPPException.h"
#include "model/IfcPPAttributeObject.h"
#include "model/IfcPPGuid.h"
#include "reader/ReaderUtil.h"
#include "writer/WriterUtil.h"
#include "IFC4/include/IfcFilter.h"
#i... | [
"steva44@hotmail.com"
] | steva44@hotmail.com |
0b952c9ee0bd690e2658e7c06d7a8292f13af4b9 | d5c4aa648736e968813e06cbada6d717f8347a59 | /Mercs/Source/InfoScreen.cpp | 1c937030f5ad7cabc4724d28d31c43e135b49c90 | [
"MIT"
] | permissive | Alejandromo125/DeltaSquad | 6a4a2264a1aaf34b7d943f55934c775d8c063885 | 1baa350bca973c0d04c4ab447ee3456e0365a3ab | refs/heads/main | 2023-05-23T04:03:19.478648 | 2021-06-12T15:23:54 | 2021-06-12T15:23:54 | 339,020,739 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | cpp | #include "InfoScreen.h"
#include "Application.h"
#include "ModuleTextures.h"
#include "ModuleRender.h"
#include "ModuleAudio.h"
#include "ModuleInput.h"
#include "ModuleFadeToBlack.h"
#include "ModulePlayer.h"
InfoScreen::InfoScreen(bool startEnabled) : Module(startEnabled)
{
}
InfoScreen::~InfoScreen()
{
}
// Lo... | [
"alvaro.milla02@gmail.com"
] | alvaro.milla02@gmail.com |
c579b1608a3f0357aa410e68762b26d49f697be4 | 3695785e40bc96850d7f68a40263738c43a5f8d7 | /Heap/Heap.hpp | a56dbc53c784f3509019b49f3701b93b03b6e58a | [] | no_license | Dmowmyh/DataStructures | 80e28247f886b403764aab75d2a5a6de813325ae | 88e93837fcf0cdfe7149a4b1225925fb2923aadf | refs/heads/master | 2023-03-31T08:33:47.875424 | 2021-04-14T08:39:54 | 2021-04-14T08:39:54 | 354,754,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,099 | hpp | #pragma once
#include <iostream>
#include <algorithm>
#include "Heap.h"
template <typename T>
typename Heap<T>::Predicate Heap<T>::MinPredicate = [](const T& lhs, const T& rhs, bool traverseDirection)
{
if (traverseDirection)
return lhs < rhs;
else
return lhs > rhs;
};
template <typename T>
ty... | [
"mar4omishev@gmail.com"
] | mar4omishev@gmail.com |
cf433c8d660a3851394b59a7dfebc1b79dc8a457 | 6d66ec6a8545c9e2d14a6a6967a08859f75e8a30 | /v1/includes/Perceptron.hpp | d4549d4b81954c6cd4bf15157de7f40be6b7e4a6 | [] | no_license | M4urici0GM/Perceptron | a1e4f3e221ec0e5d17e65461a02cc9296f315ef2 | 70ff53498e690354d467165cef7928e72d490c64 | refs/heads/master | 2022-11-29T23:28:19.811373 | 2020-08-01T20:15:38 | 2020-08-01T20:15:38 | 277,225,201 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 930 | hpp | //
// Created by Mauricio on 7/5/2020.
//
#ifndef PERCEPTRON_PERCEPTRON_HPP
#define PERCEPTRON_PERCEPTRON_HPP
#include <vector>
#include "Layer.hpp"
class Perceptron {
public:
Perceptron(const std::vector<int> &topology);
void initialize_network();
void train(int epochs, Matrix inputs,M... | [
"mgbftw@gmail.com"
] | mgbftw@gmail.com |
1c91353b20e7e291b8d9380948fd9539dec7c3c7 | d2fbecb5613d970864bc7f0caf4bbede6127d808 | /CPP/Eeny_meeny_miny_moe.cpp | e258c0481d9623d527856ed17cfb17d712463c57 | [
"MIT"
] | permissive | abhikushwaha/Hacktoberfest2019 | f303c50730c8257c319cd3e3e8ea4e2c301a1ff1 | b9cd60a2121cd1776a3eba3857e5b1128bac5207 | refs/heads/master | 2020-08-21T21:02:49.067576 | 2019-10-19T18:04:53 | 2019-10-19T18:04:53 | 216,245,093 | 1 | 0 | MIT | 2019-10-19T18:04:54 | 2019-10-19T17:31:35 | null | UTF-8 | C++ | false | false | 2,202 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string str; //the rhyme, consisting of a list of words separated by spaces
char x;
int count = 0;
while(1)
{
cin >> str;
if(str[0]>='0' && str[0]<='9')
{
break;
}
count++;
}
int ... | [
"56278409+theekrystallee@users.noreply.github.com"
] | 56278409+theekrystallee@users.noreply.github.com |
7fa3973d93782079bc00a81218adb03739e82dfa | 95876e6a55c2349153007ca2e548ddadc1bd8c09 | /Introduction-to-Programming/Homework_Seminar_Unofficial.cpp | fa95b5840847a5e5dc38b97afec4eb6432b66609 | [] | no_license | SimeonHristov99/FMI_Semester_1 | d182914992f68780416ad9439aa187e5a3e738ed | c10ad609865dccd3288b34d0627e0740307921a0 | refs/heads/master | 2020-04-28T00:34:11.948922 | 2019-03-10T13:03:23 | 2019-03-10T13:03:23 | 174,820,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | cpp | #include "pch.h"
#include <iostream>
using namespace std;
const int MAX_SIZE = 100;
void enterElements(int *arr)
{
cout << "Please Enter The Elements Of The Array (limit is " << MAX_SIZE << ") (to stop input enter 0):" << endl;
for (int i = 0; arr[i] < MAX_SIZE; ++i)
{
cin >> arr[i];
if (arr[i] ... | [
"s.e.hristov99@gmail.com"
] | s.e.hristov99@gmail.com |
fcc4bfa314212168bb00a992ff1812e95717e926 | 8b369bd73a80feece74db7966c778268eb6bd967 | /TheExperimentDiv2.cpp | 4b25260fa90461003d26cd2471de53cd2c550a1c | [] | no_license | t11a/topcoder | bd7dfea7e0bd628d4b443bff53e1a272f77a0c95 | e5661fbed2005d6b853c59922ef11fcfee496fbb | refs/heads/master | 2021-01-19T18:32:20.276721 | 2013-04-22T01:57:41 | 2013-04-22T01:57:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,863 | cpp | #include <cmath>
#include <ctime>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class TheExperimentDiv2 {
public:
vector <int> determineHumidity( vector <int> intensity, int L, vector <int> leftEnd ) {
vector<int> ans;
vector<int> flg;
int size = leftEnd.size();
int memo[si... | [
"ogawa@giftee.co"
] | ogawa@giftee.co |
e8fb19f538390ffa890ecc8fada1828f41a118da | 0a96045a7a2a3a04ac7bd217967a56f39da868bf | /WikiAdventure/Source/WA-SDL/SDLStateShowPicture.cpp | e41905ab19c8adacadfb338fa0a1aa6e8cb76a62 | [
"LicenseRef-scancode-public-domain"
] | permissive | Happy-Ferret/WikiAdventure | 532b4687884c4029be30aef88e4d3ae53843ae3f | 54fc76583f0779352d876038b5f1fb1dd67b82d0 | refs/heads/master | 2020-05-22T03:24:31.444239 | 2012-06-06T21:40:17 | 2012-06-06T21:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,261 | cpp |
#include "SDLStateShowPicture.h"
#include "EngineMain.h"
CSDLStateShowPicture::CSDLStateShowPicture( const string& sPicture, const string& sOnExitScript )
{
DebugInfo( TypeCreate, "Creating picture box." );
m_sOnExitScript = sOnExitScript;
m_pBackground = new CSDLBaseObject;
m_pBackground->LoadImageFromFile( Ge... | [
"andnis@gmail.com"
] | andnis@gmail.com |
5e4c94208b97c77aaf83e3cd29ad85af91532440 | 89032afea0526303299f01986ed2bca8cc6b35a0 | /day_16.1.cpp | 60d45181ace800f9968802a0342505e6b1c7bc2a | [
"MIT"
] | permissive | watmough/Advent-of-Code-2017 | 8937b5cdf021f599fe0b20f379b13b2de56a48a5 | 0de5d71999059a153b56fbcc5f9ed34dfae31bd5 | refs/heads/master | 2021-10-02T21:29:40.469908 | 2018-11-30T23:59:36 | 2018-11-30T23:59:36 | 112,746,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,728 | cpp | // Advent of Code 2017
// Day 16 - Permutation Promenade
#include <iostream>
#include <sstream>
#include <algorithm>
#include <fstream>
#include <map>
using namespace std;
int main()
{
// test inputs
/* string input = "s1, x3/4, pe/b"; // a spin of size 1: eabcd.*/
int n,n1,n2;
string ins;
char ch;
... | [
"noreply@github.com"
] | noreply@github.com |
b08437a06ba832bf6333ca37c912e30301e14548 | 48591e6fe907d1d1c15ea671db3ab32b6d60f5a6 | /opengl playground/matrixProjection/matrixProjection/src/ViewFormGL.h | cc75f40712bd693d8ff9d68bc41b90e3c211aa98 | [] | no_license | dizuo/dizuo | 17a2da81c0ad39d77e904012cb9fbb8f6681df1b | 6083ca9969d9d45b72859d9795544ccdf2d13b1c | refs/heads/master | 2021-10-24T21:16:19.910030 | 2021-10-23T07:17:30 | 2021-10-23T07:17:30 | 1,253,554 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | h | ///////////////////////////////////////////////////////////////////////////////
// ViewFormGL.h
// ============
// View component of OpenGL dialog window
//
// AUTHORL Song Ho Ahn (song.ahn@gmail.com)
// CREATED: 2008-10-02
// UPDATED: 2008-10-07
////////////////////////////////////////////////////////////////... | [
"ren.yafee@107d8d70-eac7-11de-9d05-050bbbc75a16"
] | ren.yafee@107d8d70-eac7-11de-9d05-050bbbc75a16 |
1158a34ff33c599ae0344ce8c4eccd5e9d7fc362 | d21083ae345a64071a9af6c4cb726afdf6519c87 | /StealTheDiamond/Animation.cpp | 99b6b4d13615485e031a829212417f8784ccd376 | [] | no_license | vecel/steal-the-diamond | 17d2c527cd784be5c7fbc32c9a692af20a595061 | f07aeee03248b973993ab07ed7bd4324fcd034ba | refs/heads/master | 2023-04-11T15:34:15.249162 | 2021-04-26T10:31:39 | 2021-04-26T10:31:39 | 350,823,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include "Animation.h"
Animation::Animation(Object* target) {
this->target = target;
totalLength = progress = 0.0;
}
Animation::~Animation() {
}
void Animation::addFrame(Frame&& frame) {
frames.push_back(std::move(frame));
totalLength += frame.duration;
}
void Animation::update(double elapsedTime) {
progress ... | [
"mateusz.karadys@gmail.com"
] | mateusz.karadys@gmail.com |
7846c69e18319774bb034850345f230df27d2ed7 | dd4cef03507b26115f55a19db13f909ab4a41731 | /Mom.cpp | 46eb593247f941c36037d06ec01b675dec80a219 | [] | no_license | KrikorHerlopian1/MusicalChairs- | 56c0bfaaf3fbee790802a35e923448f17a8d1b8d | 86eb6ec01b5a8c6b71792aef26f9becd65b93b3f | refs/heads/main | 2023-04-04T03:45:14.044288 | 2021-04-14T19:15:57 | 2021-04-14T19:15:57 | 319,845,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,308 | cpp | //
// Mom.cpp
// Program 5
//
// Created by Krikor Herlopian and Ricardo Aliwalas on October 20, 2020.
// Copyright © 2020 Krikor Herlopian. All rights reserved.
//
#include "Mom.hpp"
#include <algorithm>
Mom::Mom(int nKids) {
m = Model(nKids-1);
Kid* players[nKids];
for (int i=0; i<nKids; i++) {... | [
"kherl1@Unh.newhaven.edu"
] | kherl1@Unh.newhaven.edu |
f9cfd99eadbc5e2350efc8f656d15d0dd3958868 | c037f3092d3f94a7e6f380184507ab133639cc3d | /src/services/audio/input_controller.h | 1a0b49bdcbd6614f0415fda82d1d60264edaf2f9 | [
"BSD-3-Clause"
] | permissive | webosose/chromium79 | bab17fe53458195b41251e4d5adfa29116ae89a9 | 57b21279f43f265bf0476d2ebf8fe11c8dee4bba | refs/heads/master | 2022-11-10T03:27:02.861486 | 2020-10-29T11:30:27 | 2020-11-09T05:19:01 | 247,589,218 | 3 | 6 | null | 2022-10-23T11:12:07 | 2020-03-16T02:06:18 | null | UTF-8 | C++ | false | false | 13,663 | h | // Copyright (c) 2012 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 SERVICES_AUDIO_INPUT_CONTROLLER_H_
#define SERVICES_AUDIO_INPUT_CONTROLLER_H_
#include <stddef.h>
#include <stdint.h>
#include <memory>
#inc... | [
"lokeshkumar.goel@lge.com"
] | lokeshkumar.goel@lge.com |
89337b70bb16b45d0fc518095cbc9c31e2920367 | ca865ab1f67a1e71351d8720d1ce8212ad29c573 | /src/algorithm/INS.h | 3ea610409ddb657dad3afea343e81d00e54e714e | [] | no_license | chiewen/RoadINS | e0b225af2ccad5a910807425ce9ca9fef43d0b0e | d4b3a821a0e50a2caebd27c1a50103e494127386 | refs/heads/master | 2021-01-10T13:36:52.897252 | 2015-12-14T13:44:44 | 2015-12-14T13:44:44 | 45,672,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | //
// Created by chiewen on 2015/11/13.
//
#ifndef ROADINS_MKNN_H
#define ROADINS_MKNN_H
#include "../network/Trajectory.h"
#include "MknnProcessor.h"
class INS : public MknnProcessor {
int k;
set<long> top_k, ins;
set<PNode, ptr_node_less> ptr_top_k;
public:
INS(int k) : k(k) { }
void move(Tra... | [
"lichuanwen@ise.neu.edu.cn"
] | lichuanwen@ise.neu.edu.cn |
a5c7a4153a80291934403166a3c7749c69528147 | fe06b6d602595b147ea4e8bbcbdd2a2e25d6e2ab | /2_stars/483.cpp | df0653e1f78f9f889aaeed0254f3d81db3a406cd | [] | no_license | lausai/UVa | 8c4a86785d5c561bb9d464466b60bdf4e993757c | fb14b6f9031a449e20830d5f0903a06a8899dfa5 | refs/heads/master | 2022-10-17T12:49:02.561369 | 2022-09-23T03:02:50 | 2022-09-23T03:02:50 | 20,293,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <cstdio>
#include <cstring>
using namespace std;
int main()
{
char str[32] = {0};
char ch = 0;
while (EOF != scanf("%s%c", str, &ch)) {
int len = strlen(str);
for (int i = len - 1; i >= 0; i--)
printf("%c", str[i]);
... | [
"lausai360@gmail.com"
] | lausai360@gmail.com |
1a053e471ac7650eb5e28f5ae6682a2a934be651 | 399217c1a551fcc587ff1ade3bc9b822de2804d9 | /BoostPart/ASIO/Syn/client/client.cpp | 1f7105a619ed9ef491308d026d17914c92cd9940 | [] | no_license | jiudianren/STLAndBoost | a6bb5801dd3eec5915e8c084520a034836aea4e5 | d9d1b145bdc7f52e0f12159d533ae03072b90691 | refs/heads/master | 2021-06-29T22:07:37.987092 | 2019-04-23T02:05:58 | 2019-04-23T02:05:58 | 143,680,357 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,534 | cpp | /*
* client.cpp
*
* Created on: 2018年8月16日
* Author: Administrator
*/
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <boost/asio.hpp>
#include <boost/system/error_code.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <string.h>
#include <iostream>
using namespace std;
using namespace boost:... | [
"lian.pengfei@ztesoft.com"
] | lian.pengfei@ztesoft.com |
eaf43bc1787b389b5da5dfb61e3c24d0065434a5 | 12c82ceba45d5508cff2e4f152563435873f2b8b | /longest_increasing_path_in_matrix.cpp | 24c5ca59cd9c966ae81a7d1ef4b0b90d498ddc68 | [] | no_license | Web-Dev-Collaborative/leetcode-solutions | 45d50ff92f4c96cf59d5407a8a2bed7405383430 | b46d09c665d4a89322a32916ebc76c15565616bf | refs/heads/master | 2023-04-03T17:22:53.180100 | 2021-03-29T21:15:55 | 2021-03-29T21:15:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | class Solution {
public:
int result;
int findLength(vector<vector<int>>& arr,vector<vector<int>>& dp,int i,int j,int prev){
int n = arr.size();
int m = arr[0].size();
//check if i and j are valid (in range) and this value is greater than prev value
if(i<0 || j<0 || i>=n || j... | [
"noreply@github.com"
] | noreply@github.com |
4a77da265bfb8250bf57d7ff2ba2d78b3a861261 | 51d0bd0807ccd97f2510adbbf54328543d77fe4f | /hackerrank_datastructure/1 arrays ds E10.cpp | 8d35d81d5c52269df5da3a65fd5b61c966fd78ee | [] | no_license | dhineshmuthukaruppan/my_solution__competitive_programming | 3de42cbe5757831771bc391ca29ce318f432ac78 | 7895cd0a13cb1b41aa590e2c27f17d79ae471811 | refs/heads/master | 2023-02-13T20:31:08.048510 | 2021-01-13T15:30:15 | 2021-01-13T15:30:15 | 246,559,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,827 | cpp | #include <bits/stdc++.h>
#include <vector>
#include <algorithm>
using namespace std;
vector<string> split_string(string);
// Complete the reverseArray function below.
vector<int> reverseArray(vector<int> a) {
// vector<int>::reverse_iterator it = a.rbegin();
// while(it!= a.rend()){
// cout << *it ... | [
"viper.dhinesh@gmail.com"
] | viper.dhinesh@gmail.com |
40c65613a5a8d0e979b9f938a151f6e081859374 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-tizen/generated/src/ComAdobeCqSocialEnablementServicesImplAuthorMarkerImplProperties.h | f6d909035f66c698c02b16e6b610ec6063935c0f | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 1,475 | h | /*
* ComAdobeCqSocialEnablementServicesImplAuthorMarkerImplProperties.h
*
*
*/
#ifndef _ComAdobeCqSocialEnablementServicesImplAuthorMarkerImplProperties_H_
#define _ComAdobeCqSocialEnablementServicesImplAuthorMarkerImplProperties_H_
#include <string>
#include "ConfigNodePropertyInteger.h"
#include "Object.h"
/... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
1e533bc6e02f70d3b1b78e32389ce86c0ff73047 | b116e1d41f3665cc16f71bc63640e18b520ffdc8 | /tetromino.hh | c49b0609f761b2b4cc62d53801d00f625d4f2527 | [] | no_license | HammerCar/Tetris | d0ef8234796ba21a0e24ead382796b2b3ab0fa93 | 80a16950adadc82ab5d2ca799fd6b4ebe8c1099e | refs/heads/master | 2022-11-21T14:28:14.757777 | 2020-07-15T17:54:50 | 2020-07-15T17:54:50 | 279,936,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | hh | #ifndef TETROMINO_H
#define TETROMINO_H
#include <QColor>
#include "point.hh"
#include "tetromino_rotation_offsets.hh"
class Engine;
struct Block
{
Point position;
QColor color;
};
class Tetromino
{
public:
Tetromino(Engine* engine = nullptr, const std::vector<Offset>& offsets_ = {});
Tetromino(const Tetromino... | [
"teemur11@gmail.com"
] | teemur11@gmail.com |
0cd04c18645668c3197ce0c2de336d369cf5c4f1 | d42357b2d4c6ec2236a89211c8fc394840de3fd7 | /src/leveldb/port/atomic_pointer.h | 41c32d4de9a7559f9d1de977af02b3e9f30eaba8 | [
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause",
"MIT"
] | permissive | boxycoin/boxycore | dcaf9fab447e8261fe883782dd88ea069c22365d | 09c4c62bef170db804fffd482b5f5dad7f432b65 | refs/heads/main | 2023-08-22T20:33:00.031913 | 2021-09-19T22:41:41 | 2021-09-19T22:41:41 | 403,459,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,266 | h | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
// AtomicPointer provides storage for a lock-free pointer.
// Platform-dependent implementation of Atom... | [
"jmsdevln@gmail.com"
] | jmsdevln@gmail.com |
71dd4333e9e14992b4a69a2b7ec24fb9335e0d0c | 3db023edb0af1dcf8a1da83434d219c3a96362ba | /windows_nt_3_5_source_code/NT-782/PRIVATE/NET/UI/NCPA/NCPA/RULE.HXX | 8a40ec5746a38da4dc6f026faffe2eb39e2fd3b6 | [] | no_license | xiaoqgao/windows_nt_3_5_source_code | de30e9b95856bc09469d4008d76191f94379c884 | d2894c9125ff1c14028435ed1b21164f6b2b871a | refs/heads/master | 2022-12-23T17:58:33.768209 | 2020-09-28T20:20:18 | 2020-09-28T20:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,746 | hxx | /**********************************************************************/
/** Microsoft Windows/NT **/
/** Copyright(c) Microsoft Corp., 1991 **/
/**********************************************************************/
/*
rule.hxx
Storage, parsing and searching classes for NCPA/SPR... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
5823937e3a6dec8a0e19b9505aa2069ab5b727a2 | f424cab1ce02cbd2077fa6a23b879b7c50a15771 | /NaiveBayes.cpp | ac2aaf2d4a416f9855ee5bf8ffe8603d2551540b | [] | no_license | nharada1/innocent-bayes | 98072f1db3c9a96050b02bb3f7c9ff54813f82e6 | 4c7ccd4438b03b04f648cabeafd07ecd6012dd16 | refs/heads/master | 2021-03-27T18:36:49.372902 | 2016-03-07T18:32:00 | 2016-03-07T18:32:00 | 53,169,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,192 | cpp | //
// Created by Nate Harada on 3/3/16.
//
#include "NaiveBayes.h"
void NaiveBayes::fit(MatrixXd X, VectorXi y) {
int n_classes = y.maxCoeff() + 1;
int n_features = X.cols();
pC.resize(n_classes);
pXC.resize(n_features, n_classes);
// Compute class probabilites P(C_k)
for (int c=0; c<n_cla... | [
"nharada1@gmail.com"
] | nharada1@gmail.com |
9781793719987028c904b778d293bed9d8c6751e | a0fc1c274ab8b126b866a295055a6ebcd263edd4 | /libperfmgr/include/perfmgr/NodeLooperThread.h | b04d2a40676edfbab1f14ddc173a02799f70a16d | [] | no_license | SuperiorOS/android_system_extras | 88627dced915ba595038f7b2bacecde73f87b614 | 25615a747ce345392661b32f86dc9bbb829805df | refs/heads/ten | 2023-07-12T16:30:05.981897 | 2019-10-30T04:34:21 | 2019-10-30T04:34:21 | 149,216,797 | 0 | 1 | null | 2021-07-10T15:16:29 | 2018-09-18T02:26:13 | HTML | UTF-8 | C++ | false | false | 3,902 | h | /*
* Copyright (C) 2017 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 app... | [
"wvw@google.com"
] | wvw@google.com |
547f4e915b9e492fd792e0f0a8065d9dc27e32a9 | 5eb5adc6bc0cf7d80581b92668b8cd4b615894dd | /software/mesa/src/gallium/drivers/swr/rasterizer/core/frontend.cpp | db470784a5e776c73024c8c7a2ea62ca5e4a72a8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dhanna11/OpenGPU | 44a295e5e58e45b330216f944588383ae0cb4c39 | ab2f01253bba311e082dfae695b9e70138de75d4 | refs/heads/master | 2020-04-22T01:52:18.415379 | 2017-09-20T22:40:15 | 2017-09-20T22:40:15 | 170,027,743 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 106,028 | cpp | /****************************************************************************
* Copyright (C) 2014-2015 Intel Corporation. All Rights Reserved.
*
* 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 Soft... | [
"fabriciotoloczko@gmail.com"
] | fabriciotoloczko@gmail.com |
4911b8abb52251b11315c20bcfc8766ee5c18e24 | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_AssetRegistry_classes.hpp | 202b588584240c28176ac99542485707c1556297 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,702 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_AssetRegistry_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// Clas... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
55338dbaad7f2e4ee56abb0d85f2928eec1d1294 | 293e71df512e720032371dc7b9dca51a7ca8d5f6 | /Source/MainComponent.cpp | 5efedd2b4d3dd10a63dc2b9a8c068c3c0f65f466 | [] | no_license | venkatarajasekhar/SoniColor | feca44f0808138d15ba466325429d356ce661592 | 96defba7489b3f3616cd76f604f2449fb78cac68 | refs/heads/master | 2021-01-12T09:47:13.555747 | 2016-12-08T09:09:43 | 2016-12-08T09:09:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,854 | cpp | #ifndef MAINCOMPONENT_INCLUDED
#define MAINCOMPONENT_INCLUDED
#include "../JuceLibraryCode/JuceHeader.h"
struct MainContentComponent : public AudioAppComponent,
public Timer,
public Slider::Listener,
public Butto... | [
"lassandroan@gmail.com"
] | lassandroan@gmail.com |
02c6671438a1a82120683f55a571c465c86d90ba | a239b6bfb8d2976838233c7ecf17e799f00af7df | /monitoring_suhu_tembakau/monitoring_suhu_tembakau.ino | 143e2c62a686462c53882138eb9632b037eeadb3 | [] | no_license | DavaKU/monitoring-suhu-tembakau | d0b6c380d5a6000f820fd09605fb15ad08f25f01 | 330b5c38ef6bf823d4240902c7ed329a4def745f | refs/heads/main | 2023-01-03T17:27:06.415556 | 2020-11-02T02:37:21 | 2020-11-02T02:37:21 | 309,237,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,500 | ino | #include "DHT.h"
#define DHTPIN D2
#define DHTTYPE DHT11 // DHT 11
#include <ESP8266WiFi.h>
DHT dht(DHTPIN, DHTTYPE);
//Konfigurasi WiFi
const char *ssid = "ZTE_2.4G_HKdG6U";
const char *password = "87654321";
//IP Address Server yang terpasang XAMPP
const char *host = "192.168.1.25";
void setu... | [
"noreply@github.com"
] | noreply@github.com |
a7e5acbad41153e7d8a146a93d9e22d7ffef5583 | c7b85d3ccd1bc4ccf27e28ed0b2cead6803b03bf | /01.start-project/start/Source/start/startGameMode.h | 0c1f8d0e9323248915200f2ceacc2ee1d9b912f4 | [] | no_license | yhikishima/Unreal-Engine-dev | 74035f37d50f72bcdc7031d3aa71dab5effe6a5a | 1e69e9d44dd8e029df957ab597f4d9098f02e996 | refs/heads/master | 2022-03-08T17:52:31.161867 | 2019-11-23T16:39:53 | 2019-11-23T16:39:53 | 48,109,784 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "startGameMode.generated.h"
/**
*
*/
UCLASS()
class START_API AstartGameMode : public AGameMode
{
GENERATED_BODY()
};
| [
"lallapalooza1120@gmail.com"
] | lallapalooza1120@gmail.com |
2d656467175b07040c60859adeefdadf0cef6d45 | ceb020fee45a01645f0b2adc118483c6cf296226 | /FindNumbersWithEvenNumberOfDigits.cpp | 284e91af35a0b8e23ab2a163977f80951eb6a110 | [] | no_license | anaypaul/LeetCode | 6423c4ca1b0d147206c06ebb86c9e558a85077f2 | 667825d32df2499301184d486e3a674291c0ca0b | refs/heads/master | 2021-09-28T06:05:21.256702 | 2020-10-12T04:01:46 | 2020-10-12T04:01:46 | 153,226,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | class Solution {
public:
int count(int num){
int c = 0;
while(num>0){
c++;
num = num/10;
}
return c;
}
int findNumbers(vector<int>& nums) {
int res = 0;
for(auto x : nums){
if(count(x)%2==0){
res++;
... | [
"anay.paul2@gmail.com"
] | anay.paul2@gmail.com |
50bea943576abaead330cd8c9dfa53cde4bb6b38 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/credential_provider/extension/service.h | 48555611941d25351fa536c70313d1b1dfcd9698 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 2,293 | h | // Copyright 2020 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_CREDENTIAL_PROVIDER_EXTENSION_SERVICE_H_
#define CHROME_CREDENTIAL_PROVIDER_EXTENSION_SERVICE_H_
#include <windows.h>
#include "base/call... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
34ac5ac52f31d897bd7e15d210743ddf4f3d8022 | 289536c2769e68a3ed87cdbfc1a7bfee6d22bd8e | /!programming/C++/!semester 2 labs/Laba 5. STL containers/Source.cpp | b608d4a77864e1d7dcec5b3e0b5091a5fe241c59 | [] | no_license | aroud/bsu | a1fc7d5d03fe5d072dfd3f1c2c7a67cace1e3f48 | a145f6ebbb0f7f6ff3df9c403007f44a98bf0af2 | refs/heads/main | 2023-03-26T19:17:05.392878 | 2021-03-30T13:59:55 | 2021-03-30T13:59:55 | 341,375,837 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,726 | cpp | //Рудь Андрей, 7 группа
//unordered_map
#include <unordered_map>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class student //пользовательский тип: конструкторы, операторы equality_comparing
{
public:
student() :mark(4),name(""){}
student(string name_,... | [
"aroud.by@gmail.com"
] | aroud.by@gmail.com |
aa8d99720ff3c940ae7f631b5f6d64e654d7597c | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chrome/browser/ui/search/instant_search_prerenderer.h | a33edc8b1ad56df8a0d020f5acf65c1654a83bcb | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 3,581 | h | // Copyright 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.
#ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_SEARCH_PRERENDERER_H_
#define CHROME_BROWSER_UI_SEARCH_INSTANT_SEARCH_PRERENDERER_H_
#include <memory>
#include... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
9cfd30366c2ec9de6442014a26a03ae44f123c17 | f2d1a0d39d3ffa6560936b47e40222d955a1d6e9 | /XPlay/main.cpp | 46d19fccb252911c7e96f822d6937405922d0ee7 | [] | no_license | VideosWorks/XPlay | c50999e52782ec07854feef9d95d044fbb4e99e5 | fa6592d3df88f5280afe41f71a335a2a37120cde | refs/heads/master | 2020-07-08T01:39:09.247131 | 2019-01-28T02:36:00 | 2019-01-28T02:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include "xplay.h"
#include <QtWidgets/QApplication>
#include "XFFmpeg.h"
#include <QAudioOutput>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
XPlay w;
w.show();
return a.exec();
}
| [
"VelsonWang@qq.com"
] | VelsonWang@qq.com |
72a0abdd16658b6c9de406ecddbcc035ea4c3cb8 | ae553859e8cabc8fc9ffe1fb623c8990fc7f562e | /7-mapreduce/friendlyNumbers_MPI.cpp | dbd3882c6461ca8ad3e31fa24d49a7fea08cb8eb | [] | no_license | Duknust/CPD-AP-Aulas | 7bcacb09fe101d66c7fc3647727ef01f8973b87d | 95f62f2bf9ce7980b523feb45275c4c232508c49 | refs/heads/master | 2021-01-18T17:40:38.022133 | 2015-06-10T16:32:39 | 2015-06-10T16:32:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,847 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <mpi.h>
int *num;
int *den;
int size;
int gcd(int u, int v)
{
if (v == 0) return u;
return gcd(v, u % v);
}
void printArray(int *array,int size){
int i=0;
for(i;i<size;i++)
printf("%d ",array[i]);
printf("\n");
}
void Frie... | [
"mrfabiogmes@gmail.com"
] | mrfabiogmes@gmail.com |
ea48bc459c520a36b0097da40ef5d5905c84be0d | 80da91481d4e2e029ad467364cb05b37a83b6af4 | /src/renderer.cpp | 86c18e5f4a0922767b16322d811216120d94a063 | [] | no_license | smriti100jain/CppND-Capstone-Snake-Game | f394a79dce181b0217a8fc8f3952bb15d80ad554 | 45e7a4aefa0389cfcc18071add20c8a6ebdeb315 | refs/heads/master | 2023-02-08T11:59:03.543857 | 2020-12-30T15:48:23 | 2020-12-30T15:48:23 | 325,395,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | cpp | #include "renderer.h"
#include <iostream>
#include <string>
Renderer::Renderer(const std::size_t screen_width,
const std::size_t screen_height,
const std::size_t grid_width, const std::size_t grid_height)
: screen_width(screen_width),
screen_height(screen_height),
... | [
"smriti100jain@gmail.com"
] | smriti100jain@gmail.com |
06d55ee75778565ea8fa1c7aac110191ee3009dd | 168d6508cb54264e162f3abfdca87318feed061f | /Vjezbe_7/Analyzer.h | cb22b950646f27a4a02e0b25a65fd9e0eb9b8e11 | [] | no_license | nlovric/DAHEP | 6b7c7f26df79f393c4cdbf69b01053e785fbadcf | d6185a20de3e3592ccb12ae13cec85aa2f8c520d | refs/heads/master | 2021-07-09T13:05:20.509081 | 2020-11-17T09:51:13 | 2020-11-17T09:51:13 | 214,362,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163,420 | h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Tue Nov 5 10:13:23 2019 by ROOT version 6.18/04
// from TTree candTree/Event Summary
// found on file: /home/public/data/ggH125/ZZ4lAnalysis.root
//////////////////////////////////////////////////////////
#... | [
"nlovric@pmfst.hr"
] | nlovric@pmfst.hr |
dc00e9eab24de1da6de1979edd82a1a275f0d2c7 | 64de8c9292e7efa94398ffd34175cfe5dab57d56 | /examples/examples9.cpp | 1f9b06428b7fa34516bd23eff15e43da00f80989 | [
"MIT"
] | permissive | idfumg/xml11 | d2a2290e4875e4f2ff1118198de65f37e6d2d711 | 497db02b140e1118871b654be8904ca84e6fb434 | refs/heads/master | 2022-06-10T21:56:46.348011 | 2022-04-30T17:55:11 | 2022-04-30T17:55:11 | 84,711,600 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include "../xml11/xml11.hpp"
using namespace xml11;
using namespace xml11::literals;
int main() {
const auto root = Node{
"root", {
{"Employers", {
{"Employer", {
{"name", "1"},
{"surname", "2"},
{"patronym", "3"}
... | [
"idfumg@gmail.com"
] | idfumg@gmail.com |
a554f0f29d8500a8802f63816a6013614b3cf4c4 | 522547e1ae4452ba9235e97b1dc00d6d55b196ec | /Greedy puppy.cpp | fbfaff9c8f6e90e8b6921df647cb2331c165760a | [] | no_license | nachomonllor/Codechef | 2045edf65be8de83583f7eb9c6b1435ef5563587 | a49f7ac45b242694d13fa215f40b9e397b79599e | refs/heads/master | 2023-01-12T08:10:26.271742 | 2023-01-01T02:11:53 | 2023-01-01T02:11:53 | 216,129,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | https://www.codechef.com/problems/GDOG
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int t = int.Parse(Console.ReadLine());
while (t-- > 0)
... | [
"nachomonllorc@gmail.com"
] | nachomonllorc@gmail.com |
b383ae9af6b16ba3401d2782960a2a73fd640b6b | 05aed997643020b0763dc413212ac5b46159284d | /source/string.h | 99c2a2f7c3f494e56a00af44c041eb0f48b192c3 | [] | no_license | yuvalsteuer-personal/Stython | 43fe2ab46ecbce1869e48b9592c0c049f84b11d1 | 34f71561ed62f212d3f049170e4260cb3fe8f476 | refs/heads/master | 2022-06-17T15:04:49.123581 | 2019-02-15T15:46:35 | 2019-02-15T15:46:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #ifndef STRING_H
#define STRING_H
#include "sequence.h"
#include <string>
class String : public Sequence
{
private:
std::string _str = "";
public:
String(std::string str = "", bool isTemp = false);
//virtual
virtual bool isPrintable()const override;
virtual std::string toString()const override;
virtual std:... | [
"yuvalsteuer11@gmail.com"
] | yuvalsteuer11@gmail.com |
a4d1c20c0979e8f13b8ecbf5ea8a711af2ac5652 | f5ca8b8c7c1cf8dc36a7554cd1bef4919551ee90 | /sofdata/mwpcData/R3BSofMWPCPoint.cxx | 3d6ae61a86e5ee6840ee25a4ea252540159e23f2 | [] | no_license | paandre/sofia | 6d79275aa0153767533eef00f334a624164ffb91 | 609c35586c3a4e6e02b1a0faa891e3a87fdde1bf | refs/heads/master | 2021-01-02T21:20:52.108077 | 2020-01-07T11:05:25 | 2020-01-07T11:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,519 | cxx | // -------------------------------------------------------------------------
// ----- R3BSofMWPCPoint source file -----
// -------------------------------------------------------------------------
#include "R3BSofMWPCPoint.h"
#include <iostream>
using std::cout;
using std::endl;... | [
"joseluis.rodriguez.sanchez@usc.es"
] | joseluis.rodriguez.sanchez@usc.es |
b57c6732f8edf23a6635715db3c48d2b19ad11e6 | e8c7eb191e9e317b33e90922ca0db9721f495e76 | /Week3/covering_segments.cpp | c79ef35ec5e7cd5c3c0a359cd3ba5b0d1e11ab72 | [] | no_license | AymanM92/Algorithms_ToolBox_Coursera_Cpp | 77bb47c77386cb218be226ffb6ba40287040af7c | 947f07a496accd926d045d3465fd41e1f583cc6f | refs/heads/master | 2020-03-10T19:13:25.449483 | 2018-06-12T17:02:37 | 2018-06-12T17:02:37 | 129,543,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,872 | cpp | #include <algorithm>
#include <iostream>
#include <climits>
#include <vector>
#include "stdint.h"
using std::vector;
struct Segment {
int start, end;
};
/*
5
1 3
2 5
3 6
7 8
8 9
*/
/* Function for the sort SDL to sort by the start address, */
//bool compare(const Segment& lhs, const Segment& rhs) { return lhs.e... | [
"ayman.mohamed@avelabs.com"
] | ayman.mohamed@avelabs.com |
ff1fbe47270c06b7fcc03462bae382ade619378a | 058355106fcf57b746afc5e9979281477c8bd34c | /.history/113.path-sum-ii_20200901160318.cpp | 096c4789cd85ee3126568a70492962a709ec6bd2 | [] | no_license | Subzero-10/leetcode | ff24f133f984b86eac686ed9b9cccbefb15c9dd8 | 701ec3dd4020970ecb55734de0355c8666849578 | refs/heads/master | 2022-12-24T19:03:16.482923 | 2020-10-11T09:25:29 | 2020-10-11T09:25:29 | 291,388,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | /*
* @lc app=leetcode id=113 lang=cpp
*
* [113] Path Sum II
*/
// @lc code=start
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr),... | [
"shizheng961111@gmail.com"
] | shizheng961111@gmail.com |
0f3b2abfb8e2b736109aef707834726c17bc2e4f | 9a6b4675a9eb7c0fb42f1f350cd7061f8be27ff1 | /Section6/Trial_6_5_4/trial.cpp | c5ac8fdce3b7e7fe2bdfdfa66e06a0a1dccfd4a1 | [] | no_license | kantoku009/dokushu_cpp | cead489033f1391d87013ca854406152e23cad8c | 4e698fb083261f4c03800211e707ce01fa031938 | refs/heads/master | 2021-01-10T09:37:38.539656 | 2016-02-23T14:46:39 | 2016-02-23T14:46:39 | 49,725,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,126 | cpp | /**
* @file trial.cpp
* @brief 独習C++ 練習問題 6.5 4
* @note friendを使用した演算子のオーバーロード.
*/
#include <iostream>
using namespace std;
class coord
{
public:
/**
* @brief コンストラクタ.
*/
coord(int n=0, int m=0){ x=n; y=m; }
/**
* @brief 座標値xを取得.
*/
int get_x() const { return x; }
/**
* @brief 座標値yを取得.
*/
int g... | [
"kantoku009@hotmail.com"
] | kantoku009@hotmail.com |
e26d12af72425b08369187d42732ce82d4a10cea | 709cd826da3ae55945fd7036ecf872ee7cdbd82a | /Term/WildMagic2/Source/Intersection/WmlIntrTri3Con3.cpp | a0d5a7f4353d6bec1785653a15cf4f674bd4a8f5 | [] | no_license | argapratama/kucgbowling | 20dbaefe1596358156691e81ccceb9151b15efb0 | 65e40b6f33c5511bddf0fa350c1eefc647ace48a | refs/heads/master | 2018-01-08T15:27:44.784437 | 2011-06-19T15:23:39 | 2011-06-19T15:23:39 | 36,738,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,534 | cpp | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2003. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under the terms of
// the license agreement http://www.magic-software.com/License/WildMagic.pdf
// and may not be copied or ... | [
"pocatnas@gmail.com"
] | pocatnas@gmail.com |
9603722173f4c8569e2e4ac8aca8ffa8d51cfc7e | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_PrimalInventoryBP_TekTransmitter_functions.cpp | eb00fbf33d5d94c826d0d39f436ba9127d9e016a | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | // ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalInventoryBP_TekTransmitter_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
61fdb0cd7b995bcb9f48f41b1eb8e3bd30f2dfde | 0a0ab58beaf2917d3768fdd18b23cef7ad778fcf | /Ninjaspicot/ninjaspicot_v3_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Unity.TextMeshPro6.cpp | ebf245ccc7de49721a6daf622083a44f06f92e75 | [] | no_license | michelseb/ninjaspicot | 1521a35d3444e78c1d86b44fb7750fe3bc6c1d98 | 3926a45dfd5d6531684c21bd979c8ebf6177a493 | refs/heads/master | 2023-05-11T18:29:51.181381 | 2023-05-07T20:29:44 | 2023-05-07T20:29:44 | 120,929,294 | 2 | 0 | null | 2021-11-12T18:06:45 | 2018-02-09T16:32:26 | ASP | UTF-8 | C++ | false | false | 1,570,603 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
struct VirtualActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvoke... | [
"sebastien.michel60@gmail.com"
] | sebastien.michel60@gmail.com |
bc05c0d52a7000f61baf67ba02e390667041ccd3 | 9bdb2af7525c873e0594c7bee6d5a4e16d07850b | /4AT100_V2/DefaultComponent/DefaultConfig/sim.cpp | f1f4109fb9f47401082a47d88ad264b21850f8bf | [] | no_license | Madhav6697/Group4-ibm | 1b886765dd3bdf9706c664c917a515c8d4e947fd | 8d5b0d049c1ef3ea2522107a022112b752a5d9dd | refs/heads/master | 2023-03-16T01:31:29.528226 | 2020-06-13T20:30:12 | 2020-06-13T20:30:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | /********************************************************************
Rhapsody : 8.4
Login : 20191029
Component : DefaultComponent
Configuration : DefaultConfig
Model Element : sim
//! Generated Date : Thu, 28, May 2020
File Path : DefaultComponent\DefaultConfig\sim.cpp
*************************************... | [
"p.b.netto@student.tue.nl"
] | p.b.netto@student.tue.nl |
6f8b85458f8e5c8b662784b0640c3564b420a778 | 68cce658c5848d9c5838fbe8e4b0c66431715f83 | /KaratsubaMultiplication/main.cpp | 70c5db39d521de9b34eeda921d482a52ab2707d1 | [] | no_license | a1774281/UndergraduateCode | fc35cab36fff761b96db63772da11477ffbd5ef0 | 8ac94da857dd5e53c168e23462200ccb67ed4eab | refs/heads/master | 2023-06-22T13:49:24.506537 | 2020-09-03T13:31:45 | 2020-09-03T13:31:45 | 191,682,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,689 | cpp | //Code written by (a1771235) and (a1774281)
/*IF YOURE AN ADELAIDE UNI STUDENT, NO MATTER HOW MUCH YOU CHANGE VARIABLES
OR FLOW OF CODE, YOULL GET HIT BY PLAGARISM DETECTION, SEE README.txt FOR HELP*/
/*Code created to demonstrate Karatsuba Multiplication with numbers up to and
exceeding 100 digits of any base betwee... | [
"noreply@github.com"
] | noreply@github.com |
6cbb827462bdffca0fcdd9db172f40be64ea5a78 | e8b41408e40803dd5aa3f4430edd43b36b33d6b5 | /nau/src/nau/physics/physicsManager.h | c4ab556458f627fa14f8e4e43c0bef191902ac75 | [
"MIT"
] | permissive | Nau3D/nau | 0cec4aa02600158ee092e0d6562822f4f1a3ac52 | 415ffa63032d4243ccdb3d8c18391d3a32c30b82 | refs/heads/master | 2023-04-13T00:32:21.385542 | 2023-03-28T22:43:51 | 2023-03-28T22:43:51 | 17,006,132 | 48 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | h | /*
Main class for physics in NAU.
*/
#ifndef PHYSICSMANAGER_H
#define PHYSICSMANAGER_H
#include "nau/attributeValues.h"
#include "nau/enums.h"
#include "nau/math/data.h"
#include "nau/physics/iPhysics.h"
#include "nau/physics/physicsMaterial.h"
#include "nau/scene/iScene.h"
#include "nau/material/iBuffer.h"
#includ... | [
"arf@di.uminho.pt"
] | arf@di.uminho.pt |
a672ae3710e79d0ebbdc295e36eda6dc06bc3e11 | d47cf9282cf0b66cd913d7c2c5b7ec62ae048caf | /lib/md5/md5.h | 714b8477f73587256876bf120a639fb4565a12c7 | [] | no_license | zhangyifei-chelsea/practice_in_winter_vacation_2017 | 2269e74357be4cc9eeb7202aca06c22f036b9c9b | 5bff8afd0227a820d7f8a5284972d2d62cc05f67 | refs/heads/master | 2021-01-11T11:27:14.239646 | 2017-02-18T16:17:14 | 2017-02-18T16:17:14 | 80,178,882 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | h | #ifndef MD5_H
#define MD5_H
#include <string>
#include <fstream>
/* Type define */
typedef unsigned char byte;
typedef unsigned long ulong;
using std::string;
using std::ifstream;
/* MD5 declaration. */
class MD5 {
public:
MD5();
MD5(const void *input, size_t length);
MD5(const string &str);
MD5(ifs... | [
"liuyh615@sjtu.edu.cn"
] | liuyh615@sjtu.edu.cn |
6e8a1926216dbf6077b410851bb37414438e9083 | d77c8281815514ec757e6cf82386f83b13bc6a4b | /applications/csvshell2shell.cxx | 66fa4776ca5791f572f762dd12e26b88dd192246 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | alonsoJASL/lassy | a4a97c2d4baf66d9324d7f3d039c0dc481806c2f | 10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1 | refs/heads/master | 2021-06-14T03:18:22.105647 | 2021-04-26T12:27:36 | 2021-04-26T12:27:36 | 181,511,106 | 0 | 0 | null | 2019-04-15T15:04:43 | 2019-04-15T15:04:42 | null | UTF-8 | C++ | false | false | 2,564 | cxx | #define HAS_VTK 1
#include "LaShell2ShellPointsCSV.h"
/*
* Author:
* Dr. Rashed Karim
* Department of Biomedical Engineering, King's College London
* Email: rashed 'dot' karim @kcl.ac.uk
* Copyright (c) 2017
*
* This application demonstrates the LaShell2ShellPointsCSV class
* Reads... | [
"rashed.karim@gmail.com"
] | rashed.karim@gmail.com |
4469a724abbf1de784852cad9cd24dd7be16d733 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/language_usage_metrics/language_usage_metrics_unittest.cc | 74344eb329453f3e091c22abd2e8f7281b76635b | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,658 | cc | // 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.
#include "components/language_usage_metrics/language_usage_metrics.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace language_usage_metrics {
... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
cc1b2a01e29f7c5a8738065bc4ebbe2aa7e59f1c | d5f75adf5603927396bdecf3e4afae292143ddf9 | /paddle/fluid/operators/fill_diagonal_tensor_op.cc | 8967f13b1239e37111d9d8833ab610cdb0a3515b | [
"Apache-2.0"
] | permissive | jiweibo/Paddle | 8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4 | 605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74 | refs/heads/develop | 2023-07-21T03:36:05.367977 | 2022-06-24T02:31:11 | 2022-06-24T02:31:11 | 196,316,126 | 3 | 2 | Apache-2.0 | 2023-04-04T02:42:53 | 2019-07-11T03:51:12 | Python | UTF-8 | C++ | false | false | 11,008 | cc | /* Copyright (c) 2021 PaddlePaddle Authors. 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 applicable law or... | [
"noreply@github.com"
] | noreply@github.com |
dea30480b0c437ccc113a85ba42ab97f6dda148a | c1626152963432aa221a4a9b0e4767a4608a51f7 | /src/boost/regex/v5/basic_regex_parser.hpp | 9e233fc41a0343c4388b71ad7f21b254f7c72679 | [
"MIT"
] | permissive | 107-systems/107-Arduino-BoostUnits | d2bffefc2787e99173797c9a89d47961718f9b03 | f1a4dfa7bf2af78c422bf10ba0c30e2a703cb69b | refs/heads/main | 2023-09-06T03:46:02.903776 | 2023-09-05T09:32:35 | 2023-09-05T09:32:35 | 401,328,494 | 0 | 0 | MIT | 2023-09-05T09:32:37 | 2021-08-30T12:03:20 | C++ | UTF-8 | C++ | false | false | 111,825 | hpp | /*
*
* Copyright (c) 2004
* John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent version.
... | [
"cto@lxrobotics.com"
] | cto@lxrobotics.com |
89b346f73bffcb4f0ac2dbfb3bf33dbe862281d9 | 85ddfc9db105aa6f26a33f9280bff321a2ebadf8 | /Headers/IPyx.hpp | 8b8ff26363fe7295c5ab8cb6ac09d808f15d7aa9 | [] | no_license | PyxProject/PyxSDK | 1e458ec8e78b4f526af3b73fdf3a66fa0b97dfbf | cf06a296f1c1c6d9f7e618b4c00cc60232378b02 | refs/heads/master | 2020-09-22T11:00:23.336607 | 2016-08-18T05:31:15 | 2016-08-18T05:31:15 | 65,956,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | hpp | #pragma once
namespace pyx {
namespace Extensions
{
class IExtensionsContext;
} ///< Memory
namespace Memory
{
class IMemoryContext;
} ///< Memory
namespace Graphics
{
class IGraphicsContext;
} ///< Graphics
class IPyx
{
public:
virtual ~IPyx() { }
/// Return the Pyx module handle
virtual... | [
"me@jujubosc.com"
] | me@jujubosc.com |
ce7849efd0ec77d908a377f873d513f0faa296e3 | cab63902992d4b2a1761507569d16dbecaa3ef70 | /telement.h | 9b6fb0bd29ce5aaf67e0457bb213f62f6a23ea0d | [] | no_license | hosinoyuya/C-STLDesigner | c73c21d4cf68b989b20124dfc42a8c6d0b87d408 | 07f20a215ff8a6c971b99c45f90e57ac818c4e7a | refs/heads/master | 2020-06-12T05:56:52.772827 | 2016-10-03T07:13:52 | 2016-10-03T07:13:52 | 194,214,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | h | #pragma once
#include "line_element_base.h"
#include "unit_change.h"
#include <string>
using namespace std;
class telement : public line_element_base
{
public:
telement(string name);
~telement();
virtual string get_param_str();
virtual void set_length(double length);
private:
double time_delay_;
virtual int nod... | [
"odaira@islab.cs.tsukuba.ac.jp"
] | odaira@islab.cs.tsukuba.ac.jp |
7fad69e0bbf3b9792bcaca934183034c74db3b4f | a9b74851ed9d12ffa5d8d8b9d816c6fda14169dc | /extra/examples/ecomapper/navigator.hh | beffe0dd9aac6f05067062157fe184774ad8a22e | [] | permissive | miatauro/trex2-agent | 787716379b66ad25d8c0b3ffe2e451e4a051b61a | b1488543771604c148518b84fd38848708597c56 | refs/heads/master | 2020-06-09T12:48:23.229509 | 2015-12-15T19:57:31 | 2015-12-15T19:57:31 | 193,440,297 | 0 | 0 | BSD-3-Clause | 2019-06-24T05:34:32 | 2019-06-24T05:34:32 | null | UTF-8 | C++ | false | false | 2,430 | hh | #ifndef H_ECOMAPPER_NAVIGATOR
#define H_ECOMAPPER_NAVIGATOR
#include <trex/transaction/TeleoReactor.hh>
#include <iostream>
#include <mutex>
#include <boost/unordered_map.hpp>
//Open source library for Cubic Splines
#include "spline.hh"
namespace TREX {
namespace ecomapper {
class Navigator :public TRE... | [
"Cooksey.Philip@gmail.com@eff219cc-a5a7-32d8-cb09-f88e880e2402"
] | Cooksey.Philip@gmail.com@eff219cc-a5a7-32d8-cb09-f88e880e2402 |
2e640e13eb985d3207e12617cb151e604feb2456 | 9f10b911d8d474193f493dba28f7635aed5e7abf | /AtCoder/abc121_d_5681669.cpp | cb316d8c9f04badd34cccad206a6f2afc45b4331 | [] | no_license | xryuseix/SecHack365-Dataset | f981a2cb5571a7b6f4092e32e18d999aeb6d905e | 6f5b96f05dd7beb131d74adfa1f3caa7b7fcc0c3 | refs/heads/master | 2023-01-18T21:48:41.452468 | 2020-11-20T08:32:59 | 2020-11-20T08:32:59 | 304,354,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | cpp | /*
引用元:https://atcoder.jp/contests/abc121/tasks/abc121_d
D - XOR WorldEditorial
// ソースコードの引用元 : https://atcoder.jp/contests/abc121/submissions/5681669
// 提出ID : 5681669
// 問題ID : abc121_d
// コンテストID : abc121
// ユーザID : xryuseix
// コード長 : 1458
// 実行時間 : 1
*/
#include <iostream>
#include <cstdio>
#include <algorithm>
... | [
"ryusei143.shootingstar@gmail.com"
] | ryusei143.shootingstar@gmail.com |
590faf2ce5d64436712ea43783b742f9839d7433 | ee858a021ffd0ec50f15d9fd54acf4d07ab372e3 | /server/tcpserver.h | e59765b0f9545cf994b0a6fe124d74f426ead397 | [] | no_license | krase/boost_asio_tcpclient | 80f524cbf1fd6f99fc9f4064e31ec5631e17544a | 37229e8278f076854c6398f6e4948f740f40c41d | refs/heads/master | 2021-01-19T04:38:02.576805 | 2016-10-26T10:07:43 | 2016-10-26T10:07:43 | 44,088,533 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | #ifndef TCPSERVER_H
#define TCPSERVER_H
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/thread/thread.hpp>
#include "tcpserversession.h"
#include "iserverdelegate.h"
class TCPServer
{
public:
TCPServer(uint16_t port, IServerDelegate *pHandler);
private:
boost::asio::io_service m_io_servi... | [
"github@kra-se.de"
] | github@kra-se.de |
a94c331c0cb3acf106cd0b1506365cd2d50f2ce7 | a507a9e944b6c27229d57dba5c48f0a86912e7a5 | /c3dToolKit/core/c3dSubMeshData.cpp | ee012b7ef22d60859cf4b7e35bc4449eda258676 | [] | no_license | jjzhang166/_3DToolKit2-for-cocos2dx-3x | 9437409c7f9ec95b009bb36b8efc696909017150 | 852b4a6c71de78855b7979886d7acbc76ec2376c | refs/heads/master | 2023-03-18T19:08:35.208982 | 2015-05-26T09:48:44 | 2015-05-26T09:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | cpp | //
// c3dSubMeshData.cpp
// HelloCpp
//
// Created by Yang Chao (wantnon) on 14-1-2.
//
//
#include "c3dSubMeshData.h"
void Cc3dSubMeshData::initIDtriList(const short indexArray[],int indexArrayLen){
assert(indexArrayLen%3==0);
m_IDtriList.clear();
for(int i=0;i<indexArrayLen;i+=3){
Cc3dIDTriang... | [
"350479720@qq.com"
] | 350479720@qq.com |
2c92f286200211f1679ac63f1fb701a5ca80589c | 32e6b07cafd0f01308b4d1825c1e0de06aff702c | /HW1/NYUCodebase/main.cpp | 108d2e1d6adfd0c2a15cdd25b7ccf0783278da4b | [] | no_license | Chaosshade99/CS3113 | 7a79a6360aac83e2249ed8ee29c877d25b08a22c | ec1f5fc48ec89f9cfb8138838df6879f0259cbc3 | refs/heads/master | 2020-03-30T08:32:11.309609 | 2018-12-17T16:10:41 | 2018-12-17T16:10:41 | 148,077,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,813 | cpp | #ifdef _WINDOWS
#include <GL/glew.h>
#endif
#include <SDL.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#include "ShaderProgram.h"
#include "glm/mat4x4.hpp"
#include "glm/gtc/matrix_transform.hpp"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#ifdef _WINDOWS
#define RESOURCE_FOLDER ""
#else
#define RESO... | [
"ajl607@nyu.edu"
] | ajl607@nyu.edu |
96f250f7b8fb67951a6ff3a283b2c33f05dac086 | 8402f9a3506d979187de84b726ab4029a91b3fed | /codeforces/cf-1285E.cpp | bd6d7d5b5132cafcb163bccdd39c9ea7f80b4a09 | [] | no_license | forty-twoo/acm-code-record2 | ef96c6f660543552854f8475dd18afe72ba6e601 | 05743d93d383dfd96125be2f5e784300d93555ae | refs/heads/master | 2020-09-03T19:57:07.989357 | 2020-03-19T16:31:48 | 2020-03-19T16:31:48 | 219,553,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | /*
* @Don't panic: Allons-y!
* @Author: forty-twoo
* @LastEditTime: 2020-02-18 19:44:46
* @Description: 删除一个区间使得剩下区间的并集数最多
* @Source: https://codeforces.com/contest/1285/problem/E
*/
#include<bits/stdc++.h>
#define mst(a,b) memset(a,b,sizeof(a))
#define prique priority_queue
#define INF 0x3f3f3f3f
#define pb push... | [
"noreply@github.com"
] | noreply@github.com |
b8eee0fe653df2de75fc7ce8f5a728410dfc7ad1 | 5b2b72c98649a862f78789be899c604732b2dbf1 | /BZOJ/3998-Old.cpp | 4d3e9ba26a50911d7e97ba7d62c93ff29aeb6762 | [] | no_license | PhoenixGS/Solutions | 822a8cef7b5c1712208a49c4c44b69fc2ffb3a0c | 2526b76071ffab99e41e34a4d78d32183f6a1381 | refs/heads/master | 2023-07-25T00:26:29.068190 | 2023-07-11T14:12:14 | 2023-07-11T14:12:14 | 131,302,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,224 | cpp | #include <cstdio>
#include <cstring>
#include <queue>
#include <algorithm>
char st[600000];
int n, cas;
long long k;
int knum, last;
int len[1200000], to[1200000][27], pre[1200000];
long long s[1200000], ss[1200000], kk[1200000];
int cnt[1200000];
std::queue<int> que;
int anss;
char ans[1200000];
void add(int c)
{
i... | [
"thestarrydream@gmail.com"
] | thestarrydream@gmail.com |
741336298fe805f5804c7a7762e8032e086551e9 | f11059a855524ea036e4c17b1c19d11d54c16099 | /firmware/stm/Src/comm_ascii.cpp | c408913b59188f33e3f4343db8b85e393b7244a1 | [] | no_license | Forrest-Z/robot | 8edc6d27a6e69c343dde921dada2f2030fb7d8c2 | 66877347b3dd0fd5bd870a6d64fb5a606f4075c6 | refs/heads/master | 2023-04-04T11:58:33.925162 | 2021-04-15T23:25:29 | 2021-04-15T23:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,393 | cpp | /*
* comm_ascii.cpp
*
* Created on: May 24, 2017
* Author: addaon
*/
#include "comm_ascii.h"
#include "command_handler.h"
#include "motor.h"
#include "usbd_cdc_if.h"
#include "packages/hal/proto/vcu_command_envelope.nanopb.h"
#include "packages/hal/proto/vcu_command_response.nanopb.h"
static volatile int ... | [
"chris@getmoss.ai"
] | chris@getmoss.ai |
8ae37e17b6155ed7f940f02e9d5d77658e880ef6 | ac72cd7decbf36d121e113ff251715c23405e104 | /platform/RemotingNG/include/Poco/RemotingNG/Transport.h | f7f2f8bb808fcb112f4fd674187502f1136be964 | [
"Apache-2.0"
] | permissive | lcding/macchina.io | 736722659d37aa8f6632c899fe9ec426bcbb5227 | 0e17814175a25d7732740e7cd172b7dfc27f1716 | refs/heads/develop | 2021-01-11T01:01:46.087855 | 2016-10-08T20:30:52 | 2016-10-08T20:30:52 | 70,465,903 | 1 | 0 | null | 2016-10-10T08:08:36 | 2016-10-10T08:08:35 | null | UTF-8 | C++ | false | false | 6,935 | h | //
// Transport.h
//
// $Id: //poco/1.7/RemotingNG/include/Poco/RemotingNG/Transport.h#1 $
//
// Library: RemotingNG
// Package: Transport
// Module: Transport
//
// Definition of the Transport class.
//
// Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// SPDX-Licen... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
3e3f4172a7a8f95fc8a7eed8f48499408dca72bb | 9ddf847ffceded21298d21ded4cea757420f0b72 | /common_library/alarm/alarminstance.cpp | 1b46ed255c64eebef638f2f2e7aa69799e3ac836 | [] | no_license | ErnadS/EsDemo | 511cc33e23589223b5aa215bb75ceb3df57ca881 | 4b1db01b1930b9f19fed6efa79effb1c00c7a645 | refs/heads/master | 2021-05-31T19:14:53.504590 | 2016-01-11T13:27:31 | 2016-01-11T13:27:31 | 36,649,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,416 | cpp | #include "alarminstance.h"
//#include "utc_time.h"
AlarmInstance::AlarmInstance()
{
// reset();
// nRevisionCounter = 1;
/*bAlarmEnabled = true;
bAlarmTrigged = false;
bAlarmAcked = true;
bExitingAlarmState = false;
bStateChanged = false;*/
// stateChangedTimeStample = "";
... | [
"muhamed@elreg.ba"
] | muhamed@elreg.ba |
a494d898741c07012f87e313ae57b571f44a544b | 802c8ded8cf50a88ac52af0bef05a2d3849b50a7 | /libwallet/pubkey.h | c7aa174227d17d083ce7f1486188171cd106d69f | [] | no_license | lialvin/utsuite | aaca1b847a66467fa3d5263cddbfc481dfb5678c | 946bbda6b3eb07b79544b6235265faf55a1ce341 | refs/heads/master | 2021-08-24T16:18:34.135040 | 2020-04-16T01:56:50 | 2020-04-16T01:56:50 | 161,790,500 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,205 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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.
#ifndef BITCOIN_PUBKEY_H
#define BITCOIN_PUBKEY_H
#include "hash.h"
#include "se... | [
"li_alvin@qq.com"
] | li_alvin@qq.com |
de203e89f1367445af5fb581293c3909ea861814 | 874108607f5534f884e03a857c47442ed15d8129 | /nodeedit/CalenhadView.cpp | 4c14645d81c97a5df428ad124b541ff2e35d980e | [] | no_license | MAPSWorks/calenhad-GIS-and-terrain-creation-for-imaginary-worlds | 9b40f6f1ce5dd5730701d4fe50b2206d313063e0 | 7cfcf586ce0a8d271146826611c2624615207c35 | refs/heads/master | 2020-04-06T21:31:57.559570 | 2019-12-08T17:03:27 | 2019-12-08T17:03:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,261 | cpp | //
// Created by martin on 27/10/16.
//
#include "CalenhadView.h"
#include "Calenhad.h"
#include "CalenhadController.h"
#include "../pipeline/CalenhadModel.h"
#include "module/NodeGroup.h"
#include <QDragEnterEvent>
#include <QMimeData>
#include <CalenhadServices.h>
#include "../preferences/PreferencesService.h"
usin... | [
"chateauferret@yahoo.co.uk"
] | chateauferret@yahoo.co.uk |
4bf44fc852192fb4ea000458ec0f3ecf7b2aac62 | 891f1abec5a1f233021d0d9645dc610e1c67a188 | /Homework/homework 03.03/LinkedList.cpp | 065c479d990c8463914177bf2ee33dc07d6a4b54 | [] | no_license | IsmagilovaD/IsmagilovaD_11005_ASD | 60a58c1fb5ad80437c887ce99ab5d49e7a24fae0 | 50f9ab1d1183eb14f1072a8a99b7fb0b9b508af4 | refs/heads/master | 2023-05-04T14:42:29.187919 | 2021-05-23T11:04:19 | 2021-05-23T11:04:19 | 339,623,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,196 | cpp | #include <iostream>
using namespace std;
struct Node
{
int item;
Node* next = 0;
};
struct LinkedList
{
Node* root = 0;
void Add(int item)
{
Node* node = new Node;
node->item = item;
if (!root)
root = node;
else
{
Node* temp = root;
while (temp->next)
{
temp = temp->next;
}
t... | [
"dinara.ismagilova.mur@gmail.com"
] | dinara.ismagilova.mur@gmail.com |
7fc211bcde92533efd50e9cac351fb52dda50940 | 59b2d9114592a1151713996a8888456a7fbfe56c | /hust_train/2016/new2016/G.cpp | 88d7c332880efcf6b41c5a487f5aef7a75a9f212 | [] | no_license | 111qqz/ACM-ICPC | 8a8e8f5653d8b6dc43524ef96b2cf473135e28bf | 0a1022bf13ddf1c1e3a705efcc4a12df506f5ed2 | refs/heads/master | 2022-04-02T21:43:33.759517 | 2020-01-18T14:14:07 | 2020-01-18T14:14:07 | 98,531,401 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | cpp | /* ***********************************************
Author :111qqz
Created Time :2016年03月06日 星期日 12时59分11秒
File Name :code/hust/new2016/G.cpp
************************************************ */
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <set... | [
"111qqz"
] | 111qqz |
0fa879ff223b7943c2da44a1e1dacb91de229cbc | 4937439d44aeda85ceb6d81163d15a691559a13d | /code/eclipse/robby/Base/Base.cpp | 70ab6d62fcb0181f2d8d17f13c70b5769627dc42 | [] | no_license | mfatzer/Robby | 7f483a8f7fd441e122272aaf59d1a06682f50f91 | cb8c346c1fca06fb0ea14cc3515239aefb1f9e76 | refs/heads/master | 2021-01-10T08:08:30.182347 | 2015-06-24T21:48:36 | 2015-06-24T21:48:36 | 36,243,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | // Do not remove the include below
#include "Base.h"
#include "Motor.h"
#include "TimerA.h"
#include "TimerC.h"
#include "Logger.h"
Logger setupLogger("setup()");
Logger loopLogger("loop()");
Motor motor1("Motor1", 10, 11, false, LeoTimer1);
Motor motor2("Motor2", 8, 9, true, LeoTimer3);
//The setup function is ca... | [
"martinfatzer@bluewin.ch"
] | martinfatzer@bluewin.ch |
8331c06ef8b0a6265b31a54a68d8916a8281695d | efd7349a39f6d728cb08f0ad4d217a03a03ea12c | /compiler/helper.hpp | 053cb2f12e8c378f3f09430df7977198b1d64723 | [
"MIT"
] | permissive | filhodanuvem/cloudblocks | 64a966ff3b3147b08a66368e0dfd09e2362522cf | 1a09a3753f597ff0a93e67acfae3e26abe1b1196 | refs/heads/master | 2022-02-23T09:10:43.835019 | 2019-10-05T12:46:29 | 2019-10-05T12:46:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | hpp | #ifndef CLOUD_HELPER
#define CLOUD_HELPER 1
class Helper
{
public:
static char* str_cpy(const char* needle);
static char* str_cat(const char* string1, const char* string2);
static bool str_eq(const char* string1, const char* string2);
};
#endif | [
"claudsonweb@gmail.com"
] | claudsonweb@gmail.com |
4f2549c2950a281fd0fc346835b3df8836da2dc1 | ef0b63a8389d501839d1d71d57586a64948cb18e | /BDMD/sphere.h | 7512d68c0d83939324d8b91d203c11d9ce452fef | [] | no_license | Bradleydi/BDMD | d30be8fb2f3b0e2c2a11eaa4fa3c6b1523e196fd | d6c96b634f02a163bbe57cb444129c290341bac6 | refs/heads/master | 2020-07-26T08:21:26.701745 | 2016-08-28T07:42:32 | 2016-08-28T07:42:32 | 66,755,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | h | #ifndef SPHERE_H
#define SPHERE_H
#include "vector.h"
class sphere {
public:
// constructor and destructor
sphere();
sphere(const sphere& s);
sphere(int i_i, vector<DIM> x, vector<DIM, int> cell_i, double lutime_i,
double r_i, double gr_i, double m_i, int species_i);
~sphere();
//variables
... | [
"zhoudi2014@163.com"
] | zhoudi2014@163.com |
8eb1ec44c91e5b072b58600245f7eaef8e1e2adc | a8aa270ca072e22f7c1646b12cdfd4a1b7d7ac15 | /score.cpp | 1729ac7324138ba1950cada008fc180b4e6c4957 | [] | no_license | mnito/ttt-seeder | 2f0a4d21116ccc5d2d19641cc836809fee2145ef | 313027766f3cacdaab70abe7f78faf1fe46dbcad | refs/heads/master | 2021-05-12T03:49:01.510107 | 2018-01-17T03:32:06 | 2018-01-17T03:32:06 | 117,627,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #include <unordered_map>
#include "score.hpp"
const unsigned int WEIGHT_PERCEIVED_SKILL = 2;
const unsigned int WEIGHT_OUTWARD_SKILL = 3;
const unsigned int WEIGHT_FREQUENCY = 4;
const unsigned int WEIGHT_HAS_PLAYED_ORGANIZED_TT = 5;
const unsigned int WEIGHT_HAS_PLAYED_ORGANIZED_LT = 5;
const unsigned int WEIGHT_SP... | [
"mpnitowski@gmail.com"
] | mpnitowski@gmail.com |
d5e697fe9cb6483101be623c948e92086252f0f0 | f05bde6d5bdee3e9a07e34af1ce18259919dd9bd | /examples/cpp/source/linear_regression/linear_regression_norm_eq_distributed.cpp | c330d3a8af72ae8d924ff5d181f0ab86a8b17327 | [
"Intel",
"Apache-2.0"
] | permissive | HFTrader/daal | f827c83b75cf5884ecfb6249a664ce6f091bfc57 | b18624d2202a29548008711ec2abc93d017bd605 | refs/heads/daal_2017_beta | 2020-12-28T19:08:39.038346 | 2016-04-15T17:02:24 | 2016-04-15T17:02:24 | 56,404,044 | 0 | 1 | null | 2016-04-16T20:26:14 | 2016-04-16T20:26:14 | null | UTF-8 | C++ | false | false | 6,174 | cpp | /* file: linear_regression_norm_eq_distributed.cpp */
/*******************************************************************************
* Copyright 2014-2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
d8f9c5e032f72292dbd5580a5b80b46eaf0a912a | d7e9f18640aa4ef330f242b8472fad91d63648f3 | /stack.cpp | e5665fe55710a7c128471a3db4bcb49568e4e233 | [] | no_license | arifin-reza/Data-Structure | ee1e6184753c8ccbdb859ccaf3dc6e4758856fff | 2e714d598349ee50f7c6cb68f0a524bbe1889534 | refs/heads/master | 2021-01-18T22:12:44.822471 | 2016-09-27T08:41:07 | 2016-09-27T08:41:07 | 69,221,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | #include <iostream>
#include <string.h>
using namespace std;
//Node structure
struct node{
int val;
node *next;
};
//Stack class
class stack{
struct node *top;
public:
stack(){
top = NULL;
}
void push(int val);
void pop();
void show();
};
//Push
void stack::push(int val){... | [
"mxt.reza@gmail.com"
] | mxt.reza@gmail.com |
3b73f4aab31ddfe605dc1750191ad61050e04bbe | e350332fbb8168e7c2c47af4b3c1e5645ba9a042 | /HWRemoteControl/DEPRECATED/ArduinoPS2_SimpleTest/ArduinoPS2_SimpleTest.ino | a3de8b62e7946c1f443d95d5260f1af8d14e46c1 | [
"MIT"
] | permissive | davidoises/FlightController | 079803d6f161c2a1c9ad86026359cc84bd528482 | 7bb12fd073a16ef1ae07648538a225fe0c13c74b | refs/heads/master | 2022-11-20T17:39:17.488796 | 2020-07-26T16:53:13 | 2020-07-26T16:53:13 | 266,119,912 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,375 | ino | #include "PS2X_lib.h"
PS2X ps2x; // create PS2 Controller Class
//right now, the library does NOT support hot pluggable controllers, meaning
//you must always either restart your Arduino after you connect the controller,
//or call config_gamepad(pins) again after connecting the controller.
int error = 0;
byte type... | [
"davidoises@hotmail.com"
] | davidoises@hotmail.com |
1e1be740ddf3dcfd4ddd42aed855d20b31d22887 | 641b69cdbfb83bee96826e5c473e59548f1dc1a5 | /UbiGame/Source/Game/Components/PlayerMovementComponent.h | b00bb825856f68ca4f01efd77f48f32ab0daeb9e | [] | no_license | hemelroy/ubigame | 7173845d265750eb9823c4050a84736ce2644b46 | 53611bf117b965ca5c1d34ca305eb3feda6a8434 | refs/heads/master | 2020-07-26T04:00:23.173428 | 2019-09-24T18:01:49 | 2019-09-24T18:01:49 | 208,525,814 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 325 | h | #pragma once
#include "GameEngine\EntitySystem\Component.h"
namespace Game
{
class PlayerMovementComponent : public GameEngine::Component
{
public:
PlayerMovementComponent();
~PlayerMovementComponent();
virtual void Update() override;
virtual void OnAddToWorld() override;
private:
int m_lastFaceIndex;
... | [
"aymanshaikh@gmail.com"
] | aymanshaikh@gmail.com |
df93f999cdc80b6323ae2a992b1c9489b420ceba | e7f109004afdf8e19d54a07be5bdcc224713e835 | /ledjoy_controller/ledjoy_controller.ino | a0407b25fbc520e5809b350deffbffbbccdee273 | [] | no_license | simonbq/glowing-archer | 39adb6822745de718feb02535e73fe24b1d8e52b | f5a00107f33877ea10062b84ccf8706c55454fdd | refs/heads/master | 2016-09-02T17:42:28.810207 | 2014-08-29T13:03:51 | 2014-08-29T13:03:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | ino | /* Copyright Simon Bergkvist 2014 */
/*
//DEFAULT
int leds[8][8] = {
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0}
};
//DOTA LOGO 1
int leds[8][8] = {
{1, 1,... | [
"bergqvist.simon@gmail.com"
] | bergqvist.simon@gmail.com |
faea78fc54391f2e6a0f79a06cd66e612c10e9ae | bf91c382483c735a64b685c7fded2a8436a84ac7 | /src/ledger/CheckpointRange.cpp | 58057b1d2d756cbe2b6540cbea6f71955c760279 | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | tangchain/tang-core | e85f5065217f9a289693c6c28d00bb80f5367b35 | b112fc43f7df6153406810fc0ffb6676418d20c8 | refs/heads/master | 2020-04-14T19:25:02.133375 | 2019-01-04T04:21:38 | 2019-01-04T04:21:38 | 163,907,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | // Copyright 2017 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "ledger/CheckpointRange.h"
#include "history/HistoryManager.h"
#include "ledger/Ledger... | [
"tangchain@mail.com"
] | tangchain@mail.com |
821bc358f1d12e27f6267ae1ba075e3c5cc0f89b | 5aaa3824fe15e80c7ee5a5150a7a14d15d8d3089 | /engine/include/Render/ShaderProgram.h | bd21baccc6da64d401581f36dcad70c610b86bc0 | [
"MIT"
] | permissive | Vbif/geometric-diversity | a7314d5eb2c4182925e8cb901ba054a6d39e1933 | 6e9d5a923db68acb14a0a603bd2859f4772db201 | refs/heads/master | 2021-09-04T02:15:33.285195 | 2018-01-14T13:56:50 | 2018-01-14T13:56:50 | 115,753,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,688 | h | #ifndef __RENDER_SHADERPROGRAM_H__
#define __RENDER_SHADERPROGRAM_H__
#include "Core/Resource.h"
#include "Render/RestorableObject.h"
#include "Utils/Matrix4.h"
class ShaderProgramLoader;
namespace Render {
/// Класс для управления вершинными и пиксельными шейдерами.
class ShaderProgram : public Resource, public Re... | [
"gmvbif@mail.ru"
] | gmvbif@mail.ru |
c12072d2631864697eb2777efea8cf412f0c675e | 6d6c4563789cac707f1a816de531aa5ea010967f | /Source/mslib/Light.cpp | b7610f0f3d2a238313c86073f3495220090488db | [
"MIT"
] | permissive | MasyoLab/Directx9-Framework | b943e43751f0cb8441b1714203014bfdc5332b9f | b7525865744b64a7c10078656cfb086a1276c819 | refs/heads/master | 2023-06-04T13:45:07.153578 | 2021-06-24T14:27:10 | 2021-06-24T14:27:10 | 379,284,299 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,861 | cpp | //==========================================================================
// ライト [Light.cpp]
// author : MasyoLab
//==========================================================================
#include "Light.h"
_MSLIB_BEGIN
namespace object
{
std::list<int> Light::m_lights;
LightData::LightData()
{
ZeroMemory... | [
"masyo.lab@gmail.com"
] | masyo.lab@gmail.com |
5595af7f68dd7d8ab4c7e3435d1b80c4191f57ae | 0a233295302a4a0160963ae835aad6fc3f1ac683 | /BitManipulation/16.01.cpp | 5d6c1f1d1f9c88251d267ede1580e26c3e203720 | [] | no_license | MregXN/Leetcode | 90e4851699d1275416c21ce53623cfcba43d1a32 | fa570fb744d7b97d600e3254ba17121deecee959 | refs/heads/master | 2023-01-13T01:22:40.835827 | 2020-10-30T11:53:17 | 2020-10-30T11:53:17 | 267,321,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | class Solution {
public:
vector<int> swapNumbers(vector<int>& numbers) {
numbers[0] ^= numbers[1];
numbers[1] ^= numbers[0];
numbers[0] ^= numbers[1];
return numbers;
}
}; | [
"“mregxn@gmail.com”"
] | “mregxn@gmail.com” |
3a9f2c5d0e00b1ae9ebb1587fdf8a50298197426 | 7e2128a7ac692e9ee612be157b181b9476e76c7a | /src/KalmanTracker.h | a39348e641b4375427e0a75c31f4cf197f9afd1d | [
"MIT"
] | permissive | ZiliPeng/mtcnn-light-with-tracking | 3f63f2890175171e263dc832a36a896645de043f | d374a6024095bb0f64b313b2a30790d3afe6fa5e | refs/heads/master | 2021-01-14T16:12:40.824584 | 2020-02-26T02:02:03 | 2020-02-26T02:02:03 | 242,675,394 | 0 | 0 | MIT | 2020-02-24T07:43:26 | 2020-02-24T07:43:25 | null | UTF-8 | C++ | false | false | 1,236 | h | ///////////////////////////////////////////////////////////////////////////////
// KalmanTracker.h: KalmanTracker Class Declaration
#ifndef KALMAN_H
#define KALMAN_H 2
#include "opencv2/video/tracking.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace std;
using namespace cv;
#define StateType Rect_<float>... | [
"anhducle@coccoc.com"
] | anhducle@coccoc.com |
11cd35f2660300d8f3a998b7a62374182262c27b | 4656eadea9a07f49dc7baa1c250aa3ba5855bb0e | /MainComponent.cpp | 3a5a09092ac637d0965c1bd898e62cd0cbbb2af6 | [] | no_license | HectorGit/MultiGUI_Clone_Thread | 0c2c54113c17a80ac89b811873f9512d825d3329 | 0a209dcfa211b3cf3c62e203002e717d1a0216e6 | refs/heads/master | 2021-08-06T17:45:23.541580 | 2017-11-06T17:43:52 | 2017-11-06T17:43:52 | 109,728,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,807 | cpp | /*
==============================================================================
This file was auto-generated!
==============================================================================
*/
#include "../JuceLibraryCode/JuceHeader.h"
#include "AudioRecorderComponent.h"
#include "LogWindowComponent.h"
#include "Au... | [
"hectorandres.pv@gmail.com"
] | hectorandres.pv@gmail.com |
4853d56479721fac527f244cc0f9454ab7dce550 | 4a907a704659f1a72b19ba98afa625b1b208d5df | /PCInputSystem.cpp | 2217a33415d56b338c8719b2f4ae8df71f83e12d | [] | no_license | fishersc/3DGEFinal | e7ad8e84bb1d9d9031b2663f0d377fed595919f0 | e3e2ac927eddb044d7305e577b80def244829a19 | refs/heads/master | 2016-09-08T00:32:14.997889 | 2013-05-07T03:36:13 | 2013-05-07T03:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include <Windows.h>
#include "PCInputSystem.h"
PCInputSystem::PCInputSystem(void)
{
for(int i = 0; i < sizeof(keys); i++){
keys[i] = false;
}
maxMouseX = maxMouseY = oldMouseX = oldMouseY = mouseX = mouseY = 0;
mouseMoved = false;
leftMouseButton = false;
rightMouseButton = false;
moveDire... | [
"fishersc@goldmail.etsu.edu"
] | fishersc@goldmail.etsu.edu |
fdb409c797935fded7240826b2b4827953047942 | 18dbbf5e29dcf165091ed3dd5797ecedf7492aea | /Codeforces/Contest/640/D.cpp | 4d3eda8ca37be1d3c5047f9c30f5614f199e27bb | [] | no_license | BoHauHuang/PCCA-exercise | b12614607dc81f6d1ad9e2ceb66af137e21e9a4b | ac4ed9002939b5e9723ea884435f41454457ac05 | refs/heads/master | 2021-06-28T05:03:11.076903 | 2020-10-31T06:14:30 | 2020-10-31T06:14:30 | 180,343,175 | 4 | 2 | null | 2020-09-17T03:04:54 | 2019-04-09T10:31:14 | C++ | UTF-8 | C++ | false | false | 687 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t, n, in;
cin >> t;
while(t--){
cin >> n;
deque<int> a;
for(int i = 0 ; i < n ; i++){
cin >> in;
a.push_back(in);
}
bool is_a = true;
long long p1 = 0, p2 = 0, now = a.front(), pre = 0, ans = 1;
a.pop_front();
p1+=now;
pre=now;
i... | [
"xab9604030925@gmail.com"
] | xab9604030925@gmail.com |
63308346e1f763901248fc9aad33f126ccda336e | ff45a52977730ca9d9937526cbe072ce70130278 | /thorns/ML_BSSN_NoVec/src/ML_BSSN_NoVec_RHSStaticBoundary.cc | 4bd5297299c940d808e3fe9011f92efaa4e3ab05 | [] | no_license | ianhinder/KrancData | 74c0d2d218949e04e37be4cf7f91b40072f5f0e3 | dab5896ec41b65ae0986b36d697317d7de599d7e | refs/heads/master | 2020-12-24T15:13:35.012149 | 2014-03-19T11:18:16 | 2014-03-19T11:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,031 | cc | /* File produced by Kranc */
#define KRANC_C
#include <algorithm>
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "Kranc.hh"
#include "Differencing.h"
#include "loopcontrol.h"
namespa... | [
"ian.hinder@aei.mpg.de"
] | ian.hinder@aei.mpg.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.