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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e798aabd25ef14f2cb231f3a4d8063bd73d2430 | 6b77b97fdc3383d0d24715393deb107a122aa333 | /DS/DS/users.cpp | 726fb0db353aed5dcac23a20a1c496406d71685e | [] | no_license | eslamabdelbasset1/Bank-Management-System- | ac65ef76d4e13f7462346419dc2995bcd6167193 | b399d1b1bbf50a51569d46aa05263b02414662bb | refs/heads/master | 2023-01-06T20:14:17.696418 | 2020-11-08T00:29:03 | 2020-11-08T00:29:03 | 310,954,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | #include "users.h"
| [
"65462463+eslamabdelbasset1@users.noreply.github.com"
] | 65462463+eslamabdelbasset1@users.noreply.github.com |
89805b6693e8a32d5b3a12aa863115e72d777174 | 37cc3ea1dce0b0f9d903065c6e6c8cadab576ac6 | /chapter5/5_10.cpp | a07baf85157c0c7d381070670a98c5b316655caa | [] | no_license | jsntxzx/cpp_primer5 | 6f60d2caa016ea54e325961c08a95d232f7f73b1 | 7a949def40deee900bf8ebf51218888975104353 | refs/heads/master | 2021-01-23T12:17:35.260478 | 2015-03-24T06:53:36 | 2015-03-24T06:53:36 | 28,374,777 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include<iostream>
using namespace std;
int main(int argc , char* argv[])
{
char c;
int aNum = 0;
int eNum = 0;
int iNum = 0;
int oNum = 0;
int uNum = 0;
while(cin >> c)
{
switch(c)
{
case 'a' : case 'A':
aNum ++;
break;
case 'e' : case 'E':
eNum ++;
break;
case 'i': case 'I':
... | [
"jsntxzx@sina.com"
] | jsntxzx@sina.com |
b6791193ba3060763c988fd54fe6ee34f2388af1 | 051badb6f8b04adf41050c30e4dd0c6610324fa7 | /AtCoder/Dynamic Programming Educational Contest/Frog 1.cpp | d52d48b1dc2fb4c26920268de2f609b9151003d3 | [] | no_license | youssef-abdallah/Competitive-Programming | d6f0c719b1284a71ee05be9c3cae5c2e35278a95 | 58d2a29bdf49c9574782eeee2c8188f127797aa7 | refs/heads/master | 2020-04-17T13:17:51.383047 | 2019-08-01T00:27:37 | 2019-08-01T00:27:37 | 166,609,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include <bits/stdc++.h>
using namespace std;
int a[100010], dp[100010];
int main()
{
int n;
cin >> n;
for(int i = 1; i <= n; i++){
cin >> a[i];
}
dp[1] = 0;
dp[2] = abs(a[2] - a[1]);
for(int i = 3; i <= n; i++){
dp[i] = min(dp[i - 1] + abs(a[i] - a[i - 1]), dp[i - 2] + ab... | [
"youssefabdullah@hotmail.com"
] | youssefabdullah@hotmail.com |
ef08d96fc86f21de1576e1d098ffa7e85fec10c8 | ce4708312e78744b61f21600b7aae29c8e3111e9 | /tuto50abtrac_pure.cpp | e00db74bbe67b09c0ae2bad87978b27039c99ae9 | [] | no_license | Rishabhbisen/c-plus-plus | 09f767cce329ab1501924199a77f4cf52062d106 | bab0cd423c8e0c2eac90d4aa379869fa1df47e2d | refs/heads/main | 2023-08-23T13:18:12.223537 | 2021-10-05T04:51:52 | 2021-10-05T04:51:52 | 413,676,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | cpp | // abStract base class and pure virtual class function
#include <iostream>
using namespace std;
class rb
{
protected:
string tital;
float rating;
public:
rb(string s, float r)
{
}
virtual void display() = 0;
};
class rbvideo : public rb
{
protected:
float videolen;
public:
rbvideo(st... | [
"rishabhbisen2002@gmail.com"
] | rishabhbisen2002@gmail.com |
880ac710c2be051b8c47d59290eebb4851d50787 | fa017e7a5b6e0b79c3a78f11d618d46af3dffece | /examples/Blink_3i/Blink_3i.ino | 677f816400330d07b8585f52db71e5083f4ee055 | [] | no_license | leyap/Timer | 5c76191c038b2ed3c869547fbe23779b1b3967e9 | eb2c5679a896fc781223763b83afee93cb17f8a8 | refs/heads/master | 2020-12-26T10:08:39.782775 | 2014-04-12T06:40:32 | 2014-04-12T06:40:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,453 | ino | ////////////////////////////////////////////////////////////////////////
// Blink three LEDs using hardware interrupt timers for timing.
// This leaves the processor free to perform other functions than
// executing wait loops. To demonstrate that the timers are
// independent, the three LEDs blink at different rates.... | [
"byron.watkins@comcast.net"
] | byron.watkins@comcast.net |
520447ac2b48ef57d1f101d43fe2736ff71ce8eb | 4023e5c16654dfe40daa2ad17a0bc19c6429ee1c | /ospl/armv6_linux/examples/dcps/Tutorial/isocpp/MessageBoard_impl.cpp | a119f7ef3c4dccc71f9ac40677173554d44b7d38 | [] | no_license | mondokm/god_crossroad_demo | 7228ef6b70faad04eb2c475ceb454a2d82567ffa | 76da3e6314b1de5dce04b82368a287367fbe3b19 | refs/heads/master | 2020-03-08T06:24:23.605367 | 2018-10-20T12:21:41 | 2018-10-20T12:21:41 | 127,971,149 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,446 | cpp |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to PrismTech
* Limited, its affiliated companies and licensors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | [
"bajczilevi@gmail.com"
] | bajczilevi@gmail.com |
6894f24cdd42e779cc5a87358bc9402da7dcdb2f | 046fe5bfd1996b47a4884f0982a970306acbe5c0 | /ll/DualLinklist.h | 9516aad79ade6a9f966f76209896ef4da3d32c8e | [] | no_license | hgdlyp/C-_Study | 6046a519d927f627aa7f7b39d15f3626ad61c0f6 | 6e2d03fbe58464b7ef302ea9a96e8dfaf56cd68a | refs/heads/master | 2020-07-20T01:10:09.138541 | 2019-09-14T05:58:16 | 2019-09-14T05:58:16 | 206,545,462 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,403 | h | #ifndef DUALLINKLIST_HH__
#define DUALLINKLIST_HH__
#include "expection.h"
#include"List.h"
namespace DTLib{
template <typename T>
class DualLinkList :public List<T>
{
protected:
struct Node :public Object{
T value;
Node *next;
Node *pre;
};
mutable struct :public Object{ //要继承顶层父类
... | [
"48976328+hgdlyp@users.noreply.github.com"
] | 48976328+hgdlyp@users.noreply.github.com |
f0cea618dfc6fbfb2a0a9eeee3b8f71b580a8fa2 | 5b0bbc13120187897e9679e18335d63ff8b005ec | /Euler Forward/Canc3_Cut.cpp | 2cb00836710871d5606d5bcf5df8c138fa512cc9 | [] | no_license | MattDeanMPhys/Cancer | 01d115c81f3adeb1ecec43bc2bccb9abe678a95a | de379297eb08d58f6a8d8e6fd00f8196f1eb938b | refs/heads/master | 2020-05-18T12:34:05.574992 | 2015-04-28T11:03:11 | 2015-04-28T11:03:11 | 24,374,359 | 0 | 0 | null | 2015-04-28T09:40:35 | 2014-09-23T14:18:47 | TeX | UTF-8 | C++ | false | false | 5,656 | cpp | #include <iostream>
#include <vector>
#include <chrono>
#include <random>
#include <cmath>
#include <string>
#include <fstream>
using namespace std;
//########### Define Global Variables ###########
double N;
double num_mutations;
double max_reac;
double r_start;
double r_end;
double steps;
double avg;
vec... | [
"matza3000@googlemail.com"
] | matza3000@googlemail.com |
61ca5e4f1783b07c966b7941e966c035c39499af | 636394fc4967123179dd2dc935f437e735c6d38a | /export/windows/obj/src/lime/graphics/_OpenGLES3RenderContext/OpenGLES3RenderContext_Impl_.cpp | 9d8b9208c564e11cc611d850fe6be6e20fce2502 | [
"MIT"
] | permissive | arturspon/zombie-killer | 865e6ef3bdb47408f9bfea9016f61bf19b2559c7 | 07848c5006916e9079537a3d703ffe3740afaa5a | refs/heads/master | 2021-07-18T16:44:26.556092 | 2019-05-04T13:56:08 | 2019-05-04T13:56:08 | 181,805,463 | 0 | 1 | MIT | 2021-07-16T23:18:46 | 2019-04-17T02:50:10 | C++ | UTF-8 | C++ | false | true | 713,074 | cpp | // Generated by Haxe 4.0.0-rc.2+77068e10c
#include <hxcpp.h>
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCLUDED_lime__internal_backend_native_NativeOpenGLRenderContext
#include <lime/_intern... | [
"artursponchi@gmail.com"
] | artursponchi@gmail.com |
f573afa597656dad0c561a3e725240a17c41785d | 0d6de93b11378d7749df11f6df1c4831aa71cb46 | /engine/Model/Track.cpp | 84ceb9912f9a12f2d803d2791f2c97717463ad11 | [] | no_license | ZoogieZork/HoverRace | f125a81bec8f745c7fa3404ada2f5bf9d91329e3 | 71723111165a53a23ed4324cee9493fbb91e822b | refs/heads/master | 2021-01-18T05:27:55.621422 | 2015-01-31T23:45:47 | 2015-01-31T23:45:47 | 8,119,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,140 | cpp |
// Track.cpp
//
// Copyright (c) 2010, 2014 Michael Imamura.
//
// Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
// you may not use this file except in compliance with the License.
//
// A copy of the license should have been attached to the package from which
// you have taken this file. ... | [
"zoogie@lugatgt.org"
] | zoogie@lugatgt.org |
90d08c1c779ad7dd41e1bc7a264cf4ef1cce4559 | 1ad0236dcd83609f7a2045126ce359446bd7caac | /最长相同后缀.cpp | cc3dd1d51f4530f503fba77869079945e476bb98 | [] | no_license | nerdbusterhzj/ACM-CCF | d9c36ec72db7dff401fea7b83efd1e05651249cd | 6d4328e3308c440e04ec19813d756d16f82cd72a | refs/heads/master | 2021-09-03T07:41:33.183478 | 2018-01-07T06:42:09 | 2018-01-07T06:42:09 | 106,288,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include<stdio.h>
#include<string.h>
int compareSuffix(char a[], char b[])
{
int len_a, len_b;
len_a = strlen(a);
len_b = strlen(b);
int backwards = 0;
int pa, pb;
for (pa = len_a-1, pb = len_b-1; (pa >= 0)&&(pb >= 0); --pa, --pb)
{
if(a[pa] == b[pb]) ... | [
"noreply@github.com"
] | nerdbusterhzj.noreply@github.com |
04d5f37ff182d064b463502b3c46649105eb6cb9 | 8467a9b4d88a74594985e0269887f2ccd4c33b7c | /Direct3D_CPP_Flipped/objectClass.h | 8433004621aad8672323ba6217556f64cc384e73 | [] | no_license | feliciasp/SmallGameProject_TechArtistBTH_Group3 | 48f0512aaa1c19fc6007ce0e5977ff1bf3a9a7f6 | 31e16f3e452b011bc11ed3998ce0cf342cfcb1bc | refs/heads/master | 2020-03-11T19:41:58.419761 | 2019-02-27T11:48:07 | 2019-02-27T11:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | h | #pragma once
#ifndef OBJECTCLASS_H
#define OBJECTCLASS_H
#include <d3d11.h>
#include <directxmath.h>
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")
#include <dinput.h>
#include "directInputClass.h"
#include "collisionClass.h"
#include "importerClass.h"
using namespace DirectX;... | [
"noreply@github.com"
] | feliciasp.noreply@github.com |
ebb41ee1bd943af09e18350b24735070cd405fff | e6db093345aa244ca4d6e6a2b5906669e6e1567b | /src/List.cpp | 0b98e8ba742cc648904f40464322db9acd4badf9 | [] | no_license | theartcreatorbunny/lab2 | 8f744f0f6325ca2ab2d56fbc653701ac94fe0df6 | d664c0201bc5c74a98a3ec43c2d0dd38da7ad561 | refs/heads/master | 2022-06-28T06:28:57.722687 | 2020-05-03T13:23:39 | 2020-05-03T13:23:39 | 260,684,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | //
// Created by erixon on 02.05.2020.
//
#include <stdexcept>
//#include <iostream>
#include "List.h"
void List::push(int *val, int size) {
node* new_node = new node();
new_node->size = size;
new_node->val = val;
new_node->next = nullptr;
node* old_head = this->head;
this->head = new_node;
... | [
"erixonich@gmail.com"
] | erixonich@gmail.com |
ab029d5c2e09cf7ee16d4df0487b22e948a19c08 | b464016958cfe64239fc0aaca8c4bf377fd7f367 | /src/ListaEnemigos.cpp | c69ad26382c95d9d9d849cdec277107bb8ff1649 | [] | no_license | davidgrandegil/VIDEOGAME-C- | e0f5c7824eaf60c9cde26edc7af3504b46848e8d | 9a2f52760e100ca9e6ef180a25e0e71fc82e51db | refs/heads/master | 2021-01-19T12:23:29.783216 | 2017-06-05T16:27:47 | 2017-06-05T16:27:47 | 82,308,396 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,572 | cpp | //////////////////////////////////////////////////////////////////////
// Autores: Álvaro Zornoza Uña 51540
// David Grande Gil 51249
// Asignatura: Informatica Industrial
// Trabajo: Juego Libre con OpenGL (glut)
// Título: "Are you a good shooter?"
// Tutor: Miguel Hernando Gutiérrez
// Fecha: 2º Cuatrimes... | [
"noreply@github.com"
] | davidgrandegil.noreply@github.com |
5771d8f10c6578addad6c6dd0af007e7fb82783e | 6cfd73d4918ea055db30f6e3c3252e930234767a | /GameServer/MagicDamage.cpp | ac345f6e14f263e3051f87c968ba48a63d1ee4a4 | [
"MIT"
] | permissive | neyma2379294/IGC.GameServer.SX | 138b1ff8019c9c2e83efebe75b8b2899be357255 | 44d77f47598b15c6adb297edba9035561c4fec74 | refs/heads/master | 2021-05-11T07:41:17.590766 | 2017-02-21T17:31:28 | 2017-02-21T17:31:28 | 118,029,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,743 | cpp | #include "stdafx.h"
#include "MagicDamage.h"
#include "TLog.h"
#include "GameMain.h"
#include "configread.h"
#include "MasterLevelSkillTreeSystem.h"
// GS-N 0.99.60T 0x0046B890 - Completed
// GS-N 1.00.18 JPN 0x00482100 - Completed
CMagicDamage MagicDamageC;
CMagicDamage::CMagicDamage()
{
return;
}
CMagicDamage::... | [
"miller@mpdev.com.br"
] | miller@mpdev.com.br |
c8a0faeea1892e99c537eae5f5005cd4c12abcf7 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_Codeforces/Round 500/B/main.cpp | 45c35254a6cb3a4f33734198cbda5eef337281be | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 737 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
#define mp make_pair
#define pb push_back
#define ll long long
const int maxN = 400011;
ll n, m, q, i, x, y, cnt;
vector<int> list[maxN];
bool us[maxN];
void dfs(int node) {
us[... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
243d2242cd9a3fe65c601502bd1408c642a92918 | dd6de2549e1ba47627b82cf408fd46072b7856f6 | /MXCommon/include/OgreMaxTypes.hpp | 56f167d162926090a8670642a8decb91c1253b08 | [] | no_license | mylifecode/SYprojectcode | 36e5459a2527b9d45f2413c9b78f0f9fb9f6d4e2 | 7328a9b7667bc2d1d03204e84f41f8873b5c3680 | refs/heads/master | 2022-04-14T08:10:25.417006 | 2020-04-11T01:33:08 | 2020-04-11T01:33:08 | 195,399,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,337 | hpp | /*
* OgreMax Sample Viewer and Scene Loader - Ogre3D-based viewer and code for loading and displaying .scene files
* Copyright 2011 AND Entertainment
*
* This code is available under the OgreMax Free License:
* -You may use this code for any purpose, commercial or non-commercial.
* -If distributing derived wo... | [
"332437798@qq.com"
] | 332437798@qq.com |
c3656d8444be63581643df2fd800134754768802 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE690_NULL_Deref_From_Return/s02/CWE690_NULL_Deref_From_Return__struct_calloc_81.h | f3c891613e70367e13e06f20f7f968b8174f1ed3 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,342 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE690_NULL_Deref_From_Return__struct_calloc_81.h
Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml
Template File: source-sinks-81.tmpl.h
*/
/*
* @description
* CWE: 690 Unchecked Return Value To NULL Pointer
* BadSource: calloc Allocate data us... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
7aadc9f1b4439cd8f8308b2b5ddcd5b8ab276ef5 | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc228/abc228_a/main.cc | 2a7d41040e069514f01b61b93c59a28f357ec173 | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 178 | cc | #include <bits/stdc++.h>
#include "atcoder.h"
void Main() {
ints(s, t, x);
bool ok = false;
for (; s != t; s = (s + 1) % 24) {
if (x == s) ok = true;
}
wt(ok);
}
| [
"keisuke.kishimoto@gmail.com"
] | keisuke.kishimoto@gmail.com |
b413b1446f46630d08db30f77f5a24a61ab22c13 | 6ac8f056ab6efaf854b8d7798e6a44e07b061dcc | /CvGameCoreDLL_Expansion2/CvBuildingClasses.cpp | 16cec3fcc354844a3f5048012759d7faf54acb9e | [] | no_license | DelnarErsike/Civ5-Artificial-Unintelligence-DLL | b8587deb33735c38104aa0d7b9f38b2f57a3db32 | 1add515c01838e743e94c1c1c0cb1cfbe569e097 | refs/heads/master | 2020-06-04T23:05:06.522287 | 2015-01-09T06:53:57 | 2015-01-09T06:53:57 | 25,795,041 | 25 | 10 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 116,475 | cpp | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"delnar.ersike@gmail.com"
] | delnar.ersike@gmail.com |
48b9afb73837bb8f7536e04be41ead4fa2f0696d | 0e094662e0bed090ededc719abe16a7a7daf39dd | /Standard/ch11/HowMany2.cpp | da5cfa54ebdeabd5c2c9640ec1865017c10a14d3 | [] | no_license | xinghen1995/ThinkInCPlus | 5ee33d25b2988919bac02be63a3dcc1b28ca927d | a881f6ccb50bcbb36aecea0c100b3571c3208a57 | refs/heads/master | 2021-06-25T15:06:01.102993 | 2021-03-16T15:58:05 | 2021-03-16T15:58:05 | 215,588,105 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | //: C11:HowMany2.cpp
// The copy-constructor
#include <fstream>
#include <string>
using namespace std;
ofstream out("./build/data/HowMany2.out");
class HowMany2 {
string name; // Object identifier
static int objectCount;
public:
HowMany2(const string& id = "") : name(id) {
++objectCount... | [
"1097382820@qq.com"
] | 1097382820@qq.com |
a657aabc686f6840bec1a90fab60d912a4f504eb | e6ff1c423969d657a643b761002828656093970a | /SocketSupport/Stdafx.cpp | ff8485f65c28c29f4fad744b70ddbbc9e126fcda | [
"BSD-3-Clause"
] | permissive | cjerdonek/SharpCGI | ab7120eaa8e474c97260baf23bf8146524942497 | 1ae6c9efcb1705c91d533344f840bc4bb0f92887 | refs/heads/master | 2021-01-16T19:47:07.663789 | 2012-09-06T01:32:52 | 2012-09-06T01:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | // stdafx.cpp : source file that includes just the standard includes
// RawSockets.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"Wolfgang.Meyer@gmx.net"
] | Wolfgang.Meyer@gmx.net |
6d5b2d92284fc8c219ae9d312b9226e0ea231e08 | d011ada74882ed942ddf36ce2f8c46cb4d8f2331 | /main.cpp | 781ff61ec5069d49129100922fade13fa222e463 | [] | no_license | lonly-wolf/serialAssistant | 2fe11e8f65617d2c97d5a59b235bad6eca57754e | 72642937b4ca501d78a7a22550b5c45a593165a0 | refs/heads/master | 2021-01-10T08:17:47.942586 | 2016-03-11T05:25:50 | 2016-03-11T05:25:50 | 53,641,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | #include "mainwindow.h"
#include <QApplication>
#include<QTextCodec>
int main(int argc, char *argv[])
{
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF8"));
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| [
"835062747@qq.com"
] | 835062747@qq.com |
63923d10e326dfe360266ccb3b05b83517d5e276 | 06472a880ea780d5a90fb3a76e59334e32508b8b | /interviewpreparation_07_linkedlist/LinkedListsDetectCycle.cpp | ad48ca32e4b2902f2dda17f3a8eaf9db609c0648 | [] | no_license | gogagubi/HackerRank-Cpp | 3d994bcf311829b9e8bfc4db812ef3229d7b494d | 09cb3f837dc8deb2aa0e494db15657bcb4740d53 | refs/heads/master | 2023-01-24T20:56:54.822328 | 2020-12-05T22:36:11 | 2020-12-05T22:36:11 | 318,902,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <iostream>
#include <vector>
#include "../model_linkedList/Node.cpp"
using namespace std;
class Solution {
public:
bool has_cycle(Node *head) {
Node *slow = head;
Node *fast = head;
while (fast != NULL && fast->next != NULL) {
slow = slow->next;
fast = fas... | [
"gogagubi@gmail.com"
] | gogagubi@gmail.com |
155b68067677f2768edb36430814986ad6ae538d | 359ecf2493bd45a7cdcfa93728040ab844cce660 | /sources/GeoMesh.cpp | fde29ff9dd20ca35f2ffda7ecacb63c27a935563 | [
"MIT"
] | permissive | philippedevloo/FemCourseEigenClass2021 | 1ab1c6949186d0dd58284ecb6633950772e51938 | 54289529e89837b8bd57603f7862ce3fb7e91431 | refs/heads/main | 2023-04-13T19:59:23.696588 | 2021-04-26T03:04:35 | 2021-04-26T03:04:35 | 362,119,353 | 0 | 2 | MIT | 2021-04-27T13:19:14 | 2021-04-27T13:19:13 | null | UTF-8 | C++ | false | false | 3,654 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include <stdio.h>
#include "GeoMesh.h"
#include "GeoElementSide.h"
#include <vector>
#include "tpanic.h"
GeoMesh::GeoMesh() : Nodes(... | [
"philippedevloo1958@gmail.com"
] | philippedevloo1958@gmail.com |
5f23605ba7090a5f73be9a571c1e24019b5bcc2c | 8c2eb4c276e5eb57c390f75f3362ad65b70d343c | /chiller_CFU.ino | 5b939d2d31a433f7e5f89bef35d269b997d913ab | [] | no_license | jamalchelski/chiller-monitor_CFU | 76f6a3968f34eff0e382e4b678feea698d99365f | c312dc6c2083b2a11eea261688558857af9ee1e4 | refs/heads/master | 2023-02-12T11:08:10.901145 | 2021-01-06T07:56:50 | 2021-01-06T07:56:50 | 327,240,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,992 | ino |
#include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#include "DHT.h"
#define DHTPIN 4 // what digital pin we're connected to NodeMCU (D1)
#define DHTTYPE DHT22 // DHT 11
DHT dht(DHTPIN, DHTTYPE);
char str_hum[16];
char str_temp[16];
char str_hum1[16];
char str_temp1[16];
const i... | [
"ifista201522035@gmail.com"
] | ifista201522035@gmail.com |
442926bf1c9b8cd0c66c791d8225c28a2baf2274 | dc7879fb23c1ba3a1147045924125bd3cd2f2b17 | /LeetCode/Number of Islands.cpp | 44a49e03249c652099a2a949f87b1c9d88cbd4ed | [] | no_license | LeeNJU/LeetCode | da5d2c06255addf100a35c5b205016ee405da5b2 | ae7dbf9e62b9e58b9e9fbec5d8f59e9be5dd4424 | refs/heads/master | 2020-04-03T20:19:36.261991 | 2017-03-02T03:48:07 | 2017-03-02T03:48:07 | 21,031,648 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,080 | cpp | #include<unordered_map>
//题目描述:给定一个二维矩阵,值为1或者为0.找到其中小岛的个数,小岛的定义为被0保卫的1,小岛可以包含多个1
//解法描述:用union find,把二维坐标映射到一维坐标
int root(std::vector<int>& vec, int num)
{
while (num != vec[num])
num = vec[num];
return num;
}
int numIslands(std::vector<std::vector<char>>& grid)
{
std::vector<int> vec(grid.size() * grid[0].size(... | [
"lhb11@software.nju.edu.cn"
] | lhb11@software.nju.edu.cn |
8e05e9c6f3122235edc5ce975d5d8d04369aa288 | d963cf109f94e4abbbca64e45eda98bb1c9c4d89 | /gCore/gMath/type.hpp | b2c1bb6891c1da122321b613ee00ed5942d5d981 | [] | no_license | MikeCoderLZ/gfxl | a3d99831467ca0f1847639eda4da81e228f28a7f | 0d2e237b753b962785f09be4cd918a0c0937e026 | refs/heads/master | 2022-06-18T23:52:49.714976 | 2017-07-07T20:04:54 | 2017-07-07T20:04:54 | 19,164,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,679 | hpp | #ifndef TYPE_HPP
#define TYPE_HPP
#include <cstddef>
#include <sstream>
#include <string>
#include "../gVideo/gl_core_3_3.hpp"
namespace gfx {
namespace type {
template< typename T >
inline std::string value_type_to_string()
{
return T::type_schema.to_string();
}
tem... | [
"mikeo.lz17@gmail.com"
] | mikeo.lz17@gmail.com |
1c2924960221a4e98665945c7060c0e76431fcb8 | 88ffead584f28f9c4a5dad0df1e4841318026f05 | /c/bot/bot.ino | d030f30f2198d791016a765f98ca507caa5283cd | [] | no_license | jgretz/RobotRoyalRumble-Code | c7434eaf36741eec2d82ba876821e9fd828e07e6 | 28291cb7dbf825d93cc451f25d7d730f07b79808 | refs/heads/master | 2021-01-19T00:59:29.302929 | 2016-07-14T00:28:40 | 2016-07-14T00:28:40 | 61,953,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | ino | #define LED_PIN 13
#define PWM_L 10
#define PWM_R 9
#define DIR_L 8
#define DIR_R 7
void setup()
{
pinMode(LED_PIN, OUTPUT);
pinMode(PWM_L, OUTPUT);
pinMode(PWM_R, OUTPUT);
pinMode(DIR_L, OUTPUT);
pinMode(DIR_R, OUTPUT);
}
void loop()
{
int speed = 50;
int sleep = 1000;
digitalWrite(LED_PIN, H... | [
"jgretz@truefitsolutions.com"
] | jgretz@truefitsolutions.com |
b497940b3fb6367a3d51101c7687c5160aee6343 | 50d57297975b70f9421b37dc730d8b03224323bf | /dependencies/include/OGRE/ParticleUniverse/ParticleRenderers/ParticleUniverseBillboardRendererTokens.h | 05cc2395398690902fb11f6304e14f92675c0a7f | [
"Apache-2.0"
] | permissive | albmarvil/The-Eternal-Sorrow | 619df0f6ea8beba1257596c3c9c8cf4626317e14 | 5b5f9d2d0c3a9c1db9393c611ae4952b7d26eedf | refs/heads/master | 2021-01-23T07:02:47.206891 | 2015-07-07T14:13:14 | 2015-07-07T14:13:14 | 38,193,036 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,517 | h | /*
-----------------------------------------------------------------------------------------------
Copyright (C) 2013 Henry van Merode. 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 ... | [
"tukaram92@gmail.com"
] | tukaram92@gmail.com |
9893b609ee26fbe95651638c496bc1f5fb74d610 | c7955eef3dd4bb6c554a9b484e7c603693e30ec5 | /BM/converter.cpp | 38d3cc12877f9df856c04fb7f2803934a7064ba1 | [] | no_license | Zioba/MBU-BM | e8a2742fc9b5e901396b75683605f62b1ab19e75 | d7ec502547e8b03f6ad8674d68d33189a7d5678e | refs/heads/master | 2021-01-25T05:50:54.662250 | 2017-03-07T06:21:37 | 2017-03-07T06:21:37 | 80,694,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,404 | cpp | #include "converter.h"
Converter::Converter()
{
}
QByteArray Converter::encode( QStringList list )
{
QByteArray datagram;
datagram.append( convertIpBinary( list.at( 0 ) ) ); //адрес источника
datagram.append( convertIpBinary( list.at( 1 ) ) ); //адрес получателя
datagram.append( convertToBi... | [
"yaa96@bk.ru"
] | yaa96@bk.ru |
dcbacd5251df129c9c36c8670e33a821514e2cde | eba33f0cb118649c97f4d4edf8c053213bcb37a9 | /CppDemo/InorderTraversal.cpp | 1e830ad9bd32b16da1cbc2522464e97364392a99 | [] | no_license | lvjianjunljj/CppDemo | 150c8d3ba0f7ef9abbe04c45b3885d581f9898e2 | 9d9819f7bd98da092d79401b38c1de6ba06940fa | refs/heads/master | 2020-03-27T17:14:00.966353 | 2018-10-29T09:36:52 | 2018-10-29T09:36:52 | 146,837,646 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | #include "stdafx.h"
#include "Tree.h"
// Iteration method
void InOrderI(BinaryTreeNode* root) {
stack<BinaryTreeNode*> stk;
while (root || !stk.empty()) {
while (root) {
stk.push(root);
root = root->left;
}
root = stk.top();
stk.pop();
cout << root->value << " ";
root = root->right;
}
}
// Recurs... | [
"jianjlv@microsoft.com"
] | jianjlv@microsoft.com |
0ac41c8b03cc6a28a0b4e08bbb38fb5e84f6f309 | 90d88d5df9df3c6d64b3f22de38e1d7278b94ef9 | /MyDataStructure/KMP.h | 7f3c4ada6b5f9e8ff2f93d96072d521266f77b96 | [] | no_license | wwwonekey/Data-Structures-Implemented-By-Me | 0f3a80b2be84fe683e0358ac4c86e974d59f4250 | 33910e932e343ed2a2bb5beccf99cb4628f86e4a | refs/heads/master | 2020-09-20T21:13:32.740888 | 2017-07-13T07:59:18 | 2017-07-13T07:59:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | //
// KMP.hpp
// MyDataStructure
//
// Created by 杜臻 on 17/3/27.
// Copyright © 2017年 杜臻. All rights reserved.
//
#ifndef KMP_h
#define KMP_h
#include <stdio.h>
#include <string>
using namespace std;
int *pre_handle(string patch_string);
//前面是要去匹配别人的小字符串,后面是被匹配到额字符串,返回的是匹配到的位置
int KMPSearch(... | [
"454858191@qq.com"
] | 454858191@qq.com |
252e65b6710a1bae278f68a8f1dd75f9c803c2bd | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/xbmc/2015/8/MusicInfoLoader.cpp | 8159f38bc51ca76b41bd58de2d2fdb245f91b88b | [
"Zlib",
"DOC"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 8,182 | cpp | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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 Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
0ef08f000a7bb683046493fdfb75744713be37f3 | ea16fe21d5647e8852175ef7a8abe94fe80a4c51 | /nlp/processed/column/GS3464.cc | 243d837193ac615fb25cbd241fe03bb3275db5e5 | [
"MIT"
] | permissive | amerariia/labs | a9e3c3b350ba669ada99f6dd4af84d886bd259b4 | 1efbf39b67b7021830901386196ca5ace779228a | refs/heads/master | 2023-01-27T20:53:30.044035 | 2020-12-10T17:04:46 | 2020-12-10T17:04:46 | 319,274,693 | 0 | 0 | MIT | 2020-12-07T09:54:31 | 2020-12-07T09:54:31 | null | UTF-8 | C++ | false | false | 518 | cc | #include <bits/stdc++.h>
#define dim 10000009
using namespace std;
typedef long long ll;
ll L[dim],a[dim],n;
int main()
{
scanf("%lld", &n);
a[0] = 0;
ll mi = 0;
for (int i = 1; i <= n; i++)
{
L[i] = mi;
scanf("%lld", &a[i]);
mi = max(mi, a[i]);
}
mi =... | [
"xlionell@gmail.com"
] | xlionell@gmail.com |
ea4f71972652b74a55e784d61346fc0ea18ac807 | cc64d03b132b773acae845c52f41fcdcdcaee273 | /src/zmq/zmqnotificationinterface.h | 79d1bd476f371b413875a182c29b7d8ae2a5ad11 | [
"MIT"
] | permissive | phlsolo316/vidcoin | aa9aae1e0f2215edadd2df89e1c9b6669abbce76 | d6eec232378c329ebc2a31e7d21acf58cf62368d | refs/heads/main | 2023-05-26T05:01:32.379060 | 2021-06-07T02:46:07 | 2021-06-07T02:46:07 | 373,622,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | h | // Copyright (c) 2015-2019 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 VIDCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
#define VIDCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
#include <validationinterface.... | [
"36169687+blockinator@users.noreply.github.com"
] | 36169687+blockinator@users.noreply.github.com |
7f85e7367099acded077c5fa4cd65113bbd9b338 | d3efe1f3e2b548e45959d29366a95e5d936cb7c6 | /src/foreign_if/exrpc/sample/client.cc | 1188c388763a5b202f616070c9487251c72d2c9d | [
"BSD-2-Clause",
"Apache-2.0"
] | permissive | wmeddie/frovedis | 79c114114cd1b7166ba875769eb56c830ceb18ff | c134e5e64114799cc7c265c72525ff98d06b49c1 | refs/heads/master | 2020-05-23T01:12:14.455929 | 2019-06-12T01:16:38 | 2019-06-12T01:16:38 | 186,584,815 | 0 | 0 | BSD-2-Clause | 2019-05-14T09:00:13 | 2019-05-14T09:00:13 | null | UTF-8 | C++ | false | false | 1,158 | cc | #include "frovedis.hpp"
#include "exrpc.hpp"
#include "exrpc_async.hpp"
#include "exrpc_oneway.hpp"
#include "functions.hpp"
using namespace frovedis;
using namespace std;
int main(int argc, char* argv[]) {
auto n = invoke_frovedis_server("mpirun -np 2 ./server");
// demo of creating dvector at server side
ve... | [
"t-araki@dc.jp.nec.com"
] | t-araki@dc.jp.nec.com |
8e1869aafba49257d66ac54f51c298afa8420ebc | 374f122c4439d651740aef63cc21ae4de471ca8d | /cocos2d/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UITextAtlasTest/UITextAtlasTest_Editor.cpp | cb2ccfc9c8763954beeb8da9615826f5cd1847c3 | [
"MIT"
] | permissive | vladubogdan/LevelHelper2-Cocos2d-X.v3 | 5983d0c37ebc61cf73c0f95959662ade60c6a338 | 6ee54482d7ee0627a6f7ec54a26cf8fdbe4fb3f2 | refs/heads/master | 2016-09-15T08:38:51.909423 | 2016-05-15T05:07:44 | 2016-05-15T05:07:44 | 20,055,666 | 8 | 2 | null | 2016-04-02T08:27:16 | 2014-05-22T09:36:16 | C++ | UTF-8 | C++ | false | false | 622 | cpp | #include "UITextAtlasTest_Editor.h"
USING_NS_CC;
using namespace cocos2d::ui;
UITextAtlasEditorTests::UITextAtlasEditorTests()
{
ADD_TEST_CASE(UITextAtlasTest_Editor);
}
bool UITextAtlasTest_Editor::init()
{
if (UIScene_Editor::init())
{
Node* node = CSLoader::createNode("cocosui/UIEditorTest/UIL... | [
"bogdanvladu@Bogdans-MacBook-Pro.local"
] | bogdanvladu@Bogdans-MacBook-Pro.local |
7b4459aa1507b6091a81f6abf5cdb29136a26cc5 | 92113f316c584c93b1c1ab2125bb98b1128b3872 | /SwordRefersToOffer/uniqueNumber.cpp | 0cdfa231a74f8a42b5dcb1cdd0b77ed916028236 | [] | no_license | lzj112/Data-Structure | 22a3c74178536c6bf18a2602462f49c98ed4e775 | dcc85ff6c7e74810611b0103a7d4d065dbb1572a | refs/heads/master | 2020-04-03T02:50:37.120062 | 2019-04-28T12:35:44 | 2019-04-28T12:35:44 | 154,968,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | /*
一个整型数组里除了两个数字之外,其他的数字都出现了偶数次。请写程序找出这两个只出现一次的数字。
*/
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class Solution
{
public:
void FindNumsAppearOnce(vector<int> data, int *num1, int *num2)
{
sort(data.begin(), data.end());
for (int i = 0; i < data.size(); )
... | [
"872575628@qq.com"
] | 872575628@qq.com |
ae773e5fca557b5f0d83816bfabcd1363eee4d55 | 43a63fcd21c61d49a4463ba3948b78aaea83f870 | /tests/integration/test_integration_main.cpp | bf08662d1e6aac30a7b751994cf97b6110bd9a44 | [] | no_license | sarvsav/tictactoe-cpp | 5f241beb96127384da9f5a4d9af975c6d07b5883 | c4917069c080bbc99a59abc62c0eab677d670ff0 | refs/heads/master | 2020-12-27T15:16:20.224621 | 2015-06-14T18:50:12 | 2015-06-14T19:34:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #define BOOST_TEST_MAIN
#if !defined( WIN32 )
#define BOOST_TEST_DYN_LINK
#endif
#include <boost/test/unit_test.hpp>
#include <Tictactoe.h>
#include <Board.h>
BOOST_AUTO_TEST_CASE(when_starting_the_game_the_board_is_empty_and_the_next_player_is_x) {
Board board;
Tictactoe game(board);
BOOST_CHECK_EQUA... | [
"flavius.as@gmail.com"
] | flavius.as@gmail.com |
48302c90a044f2e420f37456985e4c145be0aecd | d053e0e8687f122d120bcd0fa1f9076deb35afa5 | /Olymp/1_LKSH/12/number.cpp | d0837fead7661f44a0787e251f65ac955863f845 | [] | no_license | shaihitdin/CP | e8911bc543932866d6fc83eb1d48d9cf79918c61 | dc90082f3ebedaccbfb0818cc68539c887f86553 | refs/heads/master | 2021-01-11T17:10:20.356635 | 2017-10-05T08:53:56 | 2017-10-05T08:53:56 | 79,729,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
const int N = 100001;
int d[N], d1[N], d2[N];
int main() {
freopen("number.in", "r", stdin);
freopen("number.out", "w", stdout);
cin >> n >> k;
for(i = 1; i <= k; ++i)
d[i] = 1, d2[i] = 1;
for(i = k + 1; i <= n; ++i) {
tmp = sqrt(i) + 1... | [
"shaihitdin@gmail.com"
] | shaihitdin@gmail.com |
d7fd12d01c4b448c1cfaac903633cca1f84024ff | f078a0c2cd1cb37ee4090705ed074d7ca6267fc2 | /Companies/Goldmaan Sachs/Previously asked programs/OA 2020 Strange Sorting Problem/main.cpp | 125e08d0b49d5cd981da70a8b3d8d225a4f95d1a | [] | no_license | MehulSinha/Data_structures | 0cce551f4c0f301e9598fc2180aa683291b66f7d | 5e6087edb785a042df8058a95188ceb52c9bda3f | refs/heads/master | 2022-03-30T18:45:36.337542 | 2020-01-23T04:10:18 | 2020-01-23T04:10:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<pair<int, int> > sortArr(int arr[], int n)
{
vector<pair<int, int> > vp;
for (int i = 0; i < n; ++i) {
vp.push_back(make_pair(arr[i], i));
}
sort(vp.begin(), vp.end());
return vp;
}
//reverse number
int reversDigits(int num)
{
int re... | [
"hrudwik@gmail.com"
] | hrudwik@gmail.com |
5ea7e5e59f763470a1b882070d1f92768a2f68ca | 75cd69287a6063726be4496d2a3b2a100e69f12e | /chapter_3/max.cpp | 103e1432b0263b51a06d47e550850d931f320ff5 | [] | no_license | kou164nkn/tutorial-cpp | e63ee8bcedf4996c29da8080ec2fd4b0b95c9bb9 | c93ee44f3ef63ec2ab63840378378a3c2148d3b1 | refs/heads/master | 2023-03-02T06:35:33.746880 | 2021-01-30T14:53:09 | 2021-01-30T14:53:09 | 275,815,304 | 0 | 0 | null | 2021-01-30T14:53:10 | 2020-06-29T12:56:20 | C++ | UTF-8 | C++ | false | false | 210 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
int a, b, c;
std::cout << "a b c: ";
std::cin >> a >> b >> c;
std::cout << "最大値は " << std::max({a, b, c}) << std::endl;
} | [
"galahad1005@gmail.com"
] | galahad1005@gmail.com |
d41e5beaa83f4c69d92bac963bb3fc8a96613b69 | da6d0c83c02032b041ddf748457c8c30baea68a4 | /Lista 1/Pessoa/Pessoa.cpp | 2a0b2c55e5a2eb65a4b82a43df502ce44eb3b86e | [] | no_license | Kcardas/Programing-Language-I | ef842279b567418db950e55409bbe85a685a8111 | bff31056a5b98eb47b3606920df4e81f0f272c4e | refs/heads/master | 2020-06-17T22:55:18.096965 | 2019-12-05T13:18:48 | 2019-12-05T13:18:48 | 196,089,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include <iostream>
#include "Pessoa.h"
using namespace std;
Pessoa::Pessoa(){};
Pessoa::Pessoa(string name, int age, string phone){
this->name = name;
this->age = age;
this->phone = phone;
};
string Pessoa::getName(){
return name;
};
string Pessoa::getPhone(){
return phone;
};
int Pessoa::getAge(){
r... | [
"noreply@github.com"
] | Kcardas.noreply@github.com |
0982313a34e1223559ac90198141e081936b64ab | bc337ffb61ce481ad74cfd7e0f44ffead5381fe3 | /2016211985 4lo/Circle.cpp | a7e2fc5cdb1150bb27028e58da9352c18f7f591c | [] | no_license | 4lo/cppLearning | 4e5c1e061dfc2db993ee2a26efd1b420c57e98c1 | 2938a77a975aa4f72b21eb25bfb304710e48a372 | refs/heads/master | 2021-01-19T08:51:23.547222 | 2017-06-28T11:07:39 | 2017-06-28T11:07:39 | 87,688,879 | 0 | 0 | null | 2017-05-12T04:37:28 | 2017-04-09T06:46:48 | C++ | GB18030 | C++ | false | false | 1,334 | cpp | #include "Circle.h"
int Circle::circleNumber = 0;
Circle::Circle(const Circle& a)
{
this->Radius = a.Radius;
this->CircleColor = a.CircleColor;
this->CircleXY = a.CircleXY;
Circle::circleNumber++;
}
Circle::Circle()
{
this->Radius = 1;
CircleXY.setX(1);
CircleXY.setY(1);
Circle::circleNumber++;
/*对圆进行初始化,并... | [
"1808964683@qq.com"
] | 1808964683@qq.com |
e4e73e323eb15cb6e0b9fef5773bae86f2a2d85f | fb66a5cc43d27f33c85320a6dba8b9a8ff4765a9 | /gapputils/gml.dimreduce/drl/mapnode.h | b0ee27bead19c7dcff6d0ab501b9f3946eb33639 | [] | no_license | e-thereal/gapputils | 7a211c7d92fd2891703cb16bf94e6e05f0fb3b8a | a9eca31373c820c12f4f5f308c0e2005e4672fd0 | refs/heads/master | 2021-04-26T16:42:58.303603 | 2015-09-02T21:32:45 | 2015-09-02T21:32:45 | 38,838,767 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,166 | h | /***************************************************************************
mapnode.h
W. Michael Brown
-------------------
Node class with edges and weights in map
_______________________________________________________... | [
"brosch.tom@gmail.com"
] | brosch.tom@gmail.com |
928037b854fb923e591628e1ccd0374c7d151041 | 06cbc5ae54657586314eafa2c269b49c9460d8e9 | /Additional/DemonstrateException.h | 381aa797a306ad77d6a0dd6122444009a9415225 | [] | no_license | bubblesupreme/GameOfLife | 7bdd20b48a72700233ee3058637c9098d4b900b1 | 8d873c4a4e876b310cada4c42cf7771ff2e90ce1 | refs/heads/master | 2020-03-12T02:14:54.397141 | 2018-04-21T20:11:29 | 2018-04-21T20:11:29 | 130,397,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | #ifndef DEMONSTRATEEXCEPTION_H
#define DEMONSTRATEEXCEPTION_H
#include <string>
class DemonstrateException
{
public:
DemonstrateException();
~DemonstrateException();
void demonstrate(std::string exStr);
};
#endif | [
"lana-22@mail.ru"
] | lana-22@mail.ru |
f3ff3367906914ea413cff96d6fcd7dac02641f6 | e7d7377b40fc431ef2cf8dfa259a611f6acc2c67 | /SampleDump/Cpp/SDK/BP_ArmingSword_FloralHandle_functions.cpp | 5e424addbde714ce2c292fbb312dcaa9b6fa0e43 | [] | no_license | liner0211/uSDK_Generator | ac90211e005c5f744e4f718cd5c8118aab3f8a18 | 9ef122944349d2bad7c0abe5b183534f5b189bd7 | refs/heads/main | 2023-09-02T16:37:22.932365 | 2021-10-31T17:38:03 | 2021-10-31T17:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,602 | cpp | // Name: Mordhau, Version: Patch23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//------------------------------------------------... | [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
75419e2db84acfc261e6c2660fe57cebab0427a9 | 3ac54f76223c0e6c8e61a67ff3d72775644baa01 | /1138 - Copia/Main.cpp | 9bd2b1f33cb29111c7392e959b7c82de61600f37 | [] | no_license | luizklitzke1/URI_CPP | ba0614023713e0102b929c527632707669d9e6cd | 88f7a1e6c4ebe866ec9f8bc8efa228aab7e1542a | refs/heads/main | 2023-05-09T08:03:42.172323 | 2021-05-25T02:04:37 | 2021-05-25T02:04:37 | 367,716,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | #include <iostream>
#include <string>
using namespace std;
const long MENOR_ASC = 48;
int main()
{
long lValorA = 0;
long lValorB = 0;
while (cin >> lValorA >> lValorB && lValorA && lValorB)
{
int aNumeros[10] = {0};
for (long idxNum = lValorA; idxNum <= lValorB; ++idxNum)
{
string sNum = to_string... | [
"49824305+luizklitzke1@users.noreply.github.com"
] | 49824305+luizklitzke1@users.noreply.github.com |
283121c1cce9668aeae4c8f045637fdcd95ea41f | b660e6636748cd45a767cf5eda1e546aaf6f6dc8 | /smartphone.cpp | 0b073d178b82a034ba641dd695a35670633e50c4 | [] | no_license | Levk0/My_new_repos_2020 | 8958a3d45eb6c03835a6c0a858e4dd432e2e659b | 3a14bc73a489f3c01bdafee12815a68b2a1b1a64 | refs/heads/main | 2023-01-29T04:22:44.478204 | 2020-12-11T16:56:56 | 2020-12-11T16:56:56 | 320,614,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,689 | cpp | #include "smartphone.h"
Smartphone::Smartphone() {
s_model = 'n/a';
s_amount = 0;
s_price = 0;
s_memory = 0;
}
Smartphone::~Smartphone() {}
Smartphone::Smartphone(string model, int price, int memory, int amount) {
s_model = model;
s_price = price;
s_memory = memory;
s_a... | [
"noreply@github.com"
] | Levk0.noreply@github.com |
e2a47472570043e1a05e6b63aa36ef24d7aebb6a | 626dbb24e06a33b094c372ece019478d12d8bdf0 | /tempCodeRunnerFile.cpp | 298bb1f15aa325c748258f99ba68d27015d21f7c | [] | no_license | ninanxiaoguai/CARP | 298461e10c024779010bcab278cdf7fb90d1303e | 64fae2a6fe2e93e12b8eb31f52c21de6b792e380 | refs/heads/master | 2022-09-27T20:38:09.011577 | 2020-06-06T03:23:22 | 2020-06-06T03:23:22 | 269,621,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | #include "arrayoperations.cpp"
#include "heuristic.cpp"
#include "initialization.cpp"
#include "searchoperators.cpp" | [
"ninanxiaoguai@163.com"
] | ninanxiaoguai@163.com |
140ae881dfa00f1d01438eceb963bcd7106022b4 | a27eb56e054f513593d6cad73e2fbd18e2447310 | /atcoder/abc/abc117/d.cpp | 06c09021dfb7235d87671f2a010d30e6e1186752 | [] | no_license | Haar-you/competitive_programming | c223350cf8530b953324ee3d78b160eba2f9dda1 | ea24aeb9fc22ec7799ddb97c6aeaab416e2bb61f | refs/heads/master | 2020-03-26T05:20:38.841464 | 2019-09-17T06:53:47 | 2019-09-17T06:53:47 | 144,551,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,483 | cpp | #include <bits/stdc++.h>
#define FOR(v, a, b) for(int v = (a); v < (b); ++v)
#define FORE(v, a, b) for(int v = (a); v <= (b); ++v)
#define REP(v, n) FOR(v, 0, n)
#define REPE(v, n) FORE(v, 0, n)
#define REV(v, a, b) for(int v = (a); v >= (b); --v)
#define ALL(x) (x).begin(), (x).end()
#define ITR(it, c) for(auto it = (... | [
"zemlya.pole@gmail.com"
] | zemlya.pole@gmail.com |
172a88174a23f5e2864eae78a784a891d5d59a3e | 6f6e0627ddaf30294e96defa3056b28be1a3aaf6 | /递归_分治_回溯_搜索/0-1背包问题 - 队列广搜.cpp | 9b07b28934987af42ed6aa27d5930e4fe65114cc | [] | no_license | wangjia1435/Data-structure-and-algorithm | 3f3259af2f91601604441976bd01d78558800a0f | 1791e5c58b373046a34a649c9841da67b2c7a9de | refs/heads/master | 2021-01-10T22:34:35.917764 | 2017-10-10T13:51:27 | 2017-10-10T13:51:27 | 70,391,954 | 0 | 0 | null | 2016-10-09T09:18:01 | 2016-10-09T09:18:01 | null | GB18030 | C++ | false | false | 2,064 | cpp |
// 0-1背包问题 - 队列广搜, 又称分支界限法, 和dijskra队列广搜算法一样
// 分支界限法与回溯法的区别:
// 回溯法搜索所有满足条件的解, 如N皇后的全部合法棋盘
// 分支界限法搜索一个满足条件的解, 如N皇后的一个合法棋盘
// 0-1背包问题的合法解只有一个, 即最大价值, 所以两种方法皆可
#include <cstdio>
#include <queue>
using namespace std;
#define NUM 100 // 最大背包数
typedef struct node // 优先队列结点, 最大价值优先
{
int v; // valu... | [
"caokun@MacBook-Pro-2.local"
] | caokun@MacBook-Pro-2.local |
74e57c51e45a84c0524f2d33c5679859ee4e5b59 | b7d94577d69d3d0a67d6f2d00f9fe2618bee4308 | /tkEngine/physics/tkBoxCollider.cpp | 9b56ffd4ba4c4fb67cded2f251a531f787a344a3 | [] | no_license | MurakamiS/GameProject | 85fb743e7101eee85d7adac89ac792bed5679d81 | 8c1bc159258641d39bde52a130256a84757a5c4a | refs/heads/master | 2021-04-06T01:06:17.418292 | 2018-07-13T06:34:56 | 2018-07-13T06:34:56 | 125,322,751 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 520 | cpp | #include "tkEngine/tkEnginePreCompile.h"
#include "tkEngine/Physics/tkBoxCollider.h"
namespace tkEngine{
/*!
* @brief コンストラクタ。
*/
CBoxCollider::CBoxCollider() :
shape(NULL)
{
}
/*!
* @brief デストラクタ。
*/
CBoxCollider::~CBoxCollider()
{
delete shape;
}
/*!
* @brief ボックスコライダーを作成。
... | [
"kbc17b21@stu.kawahara.ac.jp"
] | kbc17b21@stu.kawahara.ac.jp |
09d3bc3d83ebdd1fef5073b60a8ac12b79c0e8a8 | b4f22bea54827fab31025bd05a9cf8fb117f1871 | /iri_navigation/iri_people_simulation_companion/include/people_simulation_alg.h | 5388f723da690ee0e5d8a0f822c1560628172ca6 | [
"MIT"
] | permissive | yinzixuan126/modified_dwa | dbe6d7e41faa075083b13482e006dade58d8d71a | b379c01e37adc1f6414005750633b05e1a024ae5 | refs/heads/master | 2020-04-07T08:39:38.191455 | 2018-11-19T13:01:32 | 2018-11-19T13:01:32 | 158,222,703 | 9 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,882 | h | // Copyright (C) 2010-2011 Institut de Robotica i Informatica Industrial, CSIC-UPC.
// Author
// All rights reserved.
//
// This file is part of iri-ros-pkg
// iri-ros-pkg is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free ... | [
"zhanglianchuan@baidu.com"
] | zhanglianchuan@baidu.com |
1ed302360152a7614362d459c4a95d94156321a3 | be460e66f05c0259cf45e6c0cdb653fc2913972d | /acm/Online-Judge/cf/code/100341E.cpp | a392afcd2dae7e3250faadafa3dc754b0268d7c1 | [] | no_license | Salvare219/CodeLibrary | 3247aee350402dac3d94e059a8dc97d5d5436524 | 8961a6d1718c58d12c21a857b23e825c16bdab14 | refs/heads/master | 2021-06-16T18:38:21.693960 | 2017-05-09T12:47:36 | 2017-05-09T12:47:36 | 81,569,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp | #include <bits/stdc++.h>
using namespace std;
int calx(int y, int bits)
{
int resu = 0;
for (int i=0; i<20; i++)
{
if (y&1)
{
resu+=(1<<i);
}
else
{
resu+=((bits&1)<<i);
bits>>=1;
}
... | [
"635149007@qq.com"
] | 635149007@qq.com |
a89f38b13319e4403619a6261b0cb28688f33333 | 42caf80eac88d422383044a4769baad13bc64052 | /SeaBreeze/src/api/seabreezeapi/EEPROMFeatureAdapter.cpp | a73fe93fbee7f19eb9b40244bb2ae07cd4a44336 | [
"MIT"
] | permissive | ap--/libseabreeze | d7e02428780ea828ceb5481cfe2d413f086d98d2 | ea5a4dadb643bac9e5fa53d85b6b1109e04680e5 | refs/heads/master | 2020-04-04T04:56:31.308664 | 2015-02-16T22:29:59 | 2015-02-16T22:29:59 | 31,194,156 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,087 | cpp | /***************************************************//**
* @file EEPROMFeatureAdapter.cpp
* @date February 2012
* @author Ocean Optics, Inc.
*
* This is a wrapper that allows access to SeaBreeze
* EEPROMFeatureInterface instances.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Pe... | [
"mzieg@26700766-15df-4065-81c8-c36b4089b01e"
] | mzieg@26700766-15df-4065-81c8-c36b4089b01e |
cddc6f42fa2dc4d38b616841606f81293558942f | cd387cba6088f351af4869c02b2cabbb678be6ae | /src/experimental/simulator/simulatedworld.cpp | 3cf9988d57e5afda282b736585d9df76b82b78ca | [] | no_license | pedromartins/mew-dev | e8a9cd10f73fbc9c0c7b5bacddd0e7453edd097e | e6384775b00f76ab13eb046509da21d7f395909b | refs/heads/master | 2016-09-06T14:57:00.937033 | 2009-04-13T15:16:15 | 2009-04-13T15:16:15 | 32,332,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | #include "include/simulatedworld.h"
#include <iostream>
using namespace std;
SimulatedWorld::SimulatedWorld(int map)
{
map = new MapElement[DEFAULT_SIZE][DEFAULT_SIZE];
clear();
switch(mapNum) {
case 0:
cout << "World: Blank world created. " << endl;
break;
case 1:
cout << "World: Preset world 1 create... | [
"fushunpoon@1fd432d8-e285-11dd-b2d9-215335d0b316"
] | fushunpoon@1fd432d8-e285-11dd-b2d9-215335d0b316 |
5fe1e6c0ef572778fb1db6e9f40ca70908602b94 | db629f8074d763d48ae543d5dc988cb7594f7a9c | /include/jrl_qp_controller/gik-feature-task.hh | 14f326bf1b449c4aa512d47e66f8eb9564787125 | [] | no_license | sebastiendalibard/jrl_qp_controller | 0fb684d4051b356b2e41eeaa19d57defb2fe3fad | 68bb2a284273bd59012c3efff4286adfac424c32 | refs/heads/master | 2021-01-16T21:18:46.569352 | 2012-05-31T03:30:28 | 2012-05-31T03:30:28 | 3,567,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | hh | #ifndef JRL_QP_CONTROLLER_GIK_FEATURE_TASK_HH
#define JRL_QP_CONTROLLER_GIK_FEATURE_TASK_HH
#include <hpp/gik/constraint/joint-state-constraint.hh>
#include <jrl_qp_controller/feature-task.hh>
namespace jrl_qp_controller {
/*
Task servoing a feature to a certain target.
It delegates task value and jacobi... | [
"sebastien.dalibard@gmail.com"
] | sebastien.dalibard@gmail.com |
703dba024129aadf8c11bb637f2cb0d3f4a16fce | 495beccf03f820dc6c7ad23ff596dd801d00e57b | /OpenGLrememberProj/MyOGL.cpp | 8fa08408fe5af089067c545b1f271ee865537ade | [] | no_license | Phinieuist/KG-Kursovaya | f1290173a0b13e77aed80dfd1ebb5cf58c553a5c | 1e36d5296a1da682003e55d1f1dbe1aa3d9043bc | refs/heads/main | 2023-01-31T22:18:50.329174 | 2020-12-16T13:07:40 | 2020-12-16T13:07:40 | 321,980,070 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,223 | cpp | #include "MyOGL.h"
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include "Camera.h"
#include "Light.h"
#include "PrimitivesStatic.h"
#define DRAW_TO_WINDOW
#ifndef DRAW_TO_WINDOW
void OpenGL::createBitmap()
{
tagRECT wndrect;
GetClientRect(g_hWnd, &wndrect);
int w = wndrect.right;// -wndrect... | [
"noreply@github.com"
] | Phinieuist.noreply@github.com |
caa85cca4ca1338a280493e45b8d4654403fe0de | f4e7439db744d730b027fb6792402dceeb15dd3e | /src/gui/src/LaserWidget.h | edafb11e97054d048c8ce2d90ca106eb15893a3a | [] | no_license | kindow/AutoCalib | 43b2a64f0966a02d4991ba8c0b5aca04b2b18b36 | aa162a5ac29cba22aef24d427cd9051c2f3065de | refs/heads/master | 2021-10-26T14:10:13.753446 | 2019-04-13T04:10:31 | 2019-04-13T04:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | h | #ifndef _ECAT_GUI_LaserDetectWidget_H_
#define _ECAT_GUI_LaserDetectWidget_H_
#include <QWidget>
#include "network/device.h"
#include <thread>
namespace Ui
{
class LaserWidget;
}
using namespace ECAT::Network;
class LaserWidget :public QWidget
{
Q_OBJECT
public:
explicit LaserWidget(QWidget *parent... | [
"pant333@163.com"
] | pant333@163.com |
6da8284881cbf92b252ece04d9b83d69d0f1c874 | 70f17ec782ca20604a96104e6de6ddf4fe9cee10 | /tests/TestTiming/TestStopWatch.h | fc926c9d61ef63253937a4b291a7109a940fb286 | [
"BSD-3-Clause"
] | permissive | cvilas/grape-old | e13b296051a8d8aa6d6412150754e651da9bfe38 | d8e9b184fff396982be8d230214a1f66a7a8fcc9 | refs/heads/master | 2021-10-26T23:02:18.413191 | 2019-04-14T16:35:29 | 2019-04-14T16:35:29 | 8,720,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | h | #ifndef TESTSTOPWATCH_H
#define TESTSTOPWATCH_H
#include <QString>
#include <QtTest>
#include <timing/StopWatch.h>
//=============================================================================
/// \brief Test class for StopWatch
//=============================================================================
class T... | [
"cvilas@gmail.com"
] | cvilas@gmail.com |
332ef9f0d7e2c1d5522280f0ced748a80fdc7a46 | a943ecc0f1ea5367a315a9b7760f12b67c4fb21b | /rollerOpt_COBYLA_NEW/runLogs/Optimization25/constant/chemistryProperties | 8f8a5b3e80feaef429f562d702625fb62fce976b | [] | no_license | Owbr3335/3M_Roller | d86e59fc8a8e174c793bffb63abdf118e57ad153 | 5136a1b84a674199acab2d11b111b61bef83e3bf | refs/heads/master | 2020-04-24T06:09:31.546146 | 2019-04-26T21:43:50 | 2019-04-26T21:43:50 | 171,755,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
... | [
"owbr3335@colorado.edu"
] | owbr3335@colorado.edu | |
16d3ff463d943ab88a2f31a2f3f11b662829c64c | 6356717c2b44e54e77a04e45218aaec3bf15e3f5 | /OOP lab 6/Tourist.h | 744e139bcadf022a2f4cb1ce238979ab09225d69 | [] | no_license | FunnyHedgehog/OOP-Lab6-7 | 4e60e0f6a41ddf5245752ffba793631b6541ca37 | 9b6aff3f271637f2cdc6ef69a4c4e27446218df4 | refs/heads/master | 2020-04-10T13:12:57.503786 | 2018-12-09T13:56:33 | 2018-12-09T13:56:33 | 161,044,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | #pragma once
#include <iostream>
#include <string>
#include "Tour.h"
#include "Man.h"
using namespace std;
class Admin;
class TouristData;
class Tourist :public Man{
public:
int our_client_since;
Tourist(string, string, string, string, int, int, int, int, int, int);
Tourist(string name, string surname,... | [
"noreply@github.com"
] | FunnyHedgehog.noreply@github.com |
8353943499cd7c4ee9138984bc9d514fef2044b4 | bbdb40cbe9ad334e2c1c572b49b611b8b18901a4 | /source/ClusterSpace.cpp | 2c9d0635b7b0a9d1ed3c7b46d1fa5fbc4f5d597c | [
"MIT"
] | permissive | NedicNemanja/ClusteringAlgorithms | 9eb3471cfd99d719ecce132dd5cc55bc5f06876a | ba6d5a9aa1d135b6b23f66c795170b6f7eba0394 | refs/heads/master | 2020-04-08T01:11:12.531201 | 2018-12-09T16:53:04 | 2018-12-09T16:53:04 | 158,884,417 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,256 | cpp | #include "ClusterSpace.hpp"
#include "ReadInput.hpp"
#include <cstdlib>
#include <ctime>
#include <random>
#include <algorithm> //uper_bound
#include <utility.hpp>
#include <map> //multimap
#include <algorithm> //fill
using namespace std;
ClusterSpace::ClusterSpace(){}
ClusterSpace::ClusterSpace(MyVectorContainer ... | [
"sdi1400124@di.uoa.gr"
] | sdi1400124@di.uoa.gr |
fca8d85b61041129250515429f4144d1428a1519 | fbb2d316725a33e2aebfbc81bf7dd782bff76813 | /ircontrolled-led.ino | 228fabb91caf8cae468a8b062513960aef30e385 | [] | no_license | RobKulesa/Arduino-IRControlled-LED | a8c5b217aa10eeadd2a6f21b86e82f368ec56827 | 5fb9f90382172004b5b011080d820c0683a0ef26 | refs/heads/master | 2022-12-17T17:21:28.560230 | 2020-09-10T22:03:38 | 2020-09-10T22:03:38 | 294,530,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,191 | ino | #include <IRremote.h>
#define GREENPIN 5
#define REDPIN 6
#define BLUEPIN 9
#define WHITEPIN 10
#define RECV_PIN 12
int colMAX = 256; int fadeSpeed = 5;
int red = 0; int green = 0; int blue = 0; int white = 0;
IRrecv irrecv(RECV_PIN);
decode_results results;
double lightCurve[100];
void setup() {
pinMode(REDPIN, ... | [
"robjkulesa@gmail.com"
] | robjkulesa@gmail.com |
940758784fe9cdd8ae1f42e17b7d9652b2f14155 | f53b64541dab9826dddbbebe35f25291a228d56f | /external/googletest/test/googletest-output-test_.cc | 9e5465c975c0ed6d93fb985c2e603dc407932b5a | [
"MIT",
"BSD-3-Clause",
"Zlib"
] | permissive | chreden/trview | fb3050c042ee85169b2e011b0acbdb5314362e53 | e5315510bec522a579f0b1a9486e6308cbd09d17 | refs/heads/master | 2023-09-04T06:01:00.432549 | 2023-08-31T23:00:49 | 2023-08-31T23:00:49 | 112,242,310 | 28 | 10 | MIT | 2023-09-14T00:43:58 | 2017-11-27T20:01:08 | C++ | UTF-8 | C++ | false | false | 35,959 | cc | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"noreply@github.com"
] | chreden.noreply@github.com |
970e08375e03d7d6d95f62c0924e4cb81ced36b7 | d05383f9f471b4e0691a7735aa1ca50654704c8b | /CPP2MIssues/SampleClass441.cpp | 8bd2a0bb9156b91e2cfe5fbb07c108991d5c83d9 | [] | no_license | KetkiT/CPP2MIssues | d2186a78beeb36312cc1a756a005d08043e27246 | 82664377d0f0047d84e6c47e9380d1bafa840d19 | refs/heads/master | 2021-08-26T07:27:00.804769 | 2017-11-22T07:29:45 | 2017-11-22T07:29:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,048 | cpp | class SampleClass441{
public:
void m1() {
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
i... | [
"ketki.thosar@acellere.com"
] | ketki.thosar@acellere.com |
7e9227632b9b52083e0fd2872035e3a2151aeba6 | 7396a56d1f6c61b81355fc6cb034491b97feb785 | /algorithms/kernel/covariance/covariance_csr_singlepass_distr_step2_fpt_cpu.cpp | 27c4296b416d3e87bddf776d19a6ed2cdadeded1 | [
"Apache-2.0",
"Intel"
] | permissive | francktcheng/daal | 0ad1703be1e628a5e761ae41d2d9f8c0dde7c0bc | 875ddcc8e055d1dd7e5ea51e7c1b39886f9c7b79 | refs/heads/master | 2018-10-01T06:08:39.904147 | 2017-09-20T22:37:02 | 2017-09-20T22:37:02 | 119,408,979 | 0 | 0 | null | 2018-01-29T16:29:51 | 2018-01-29T16:29:51 | null | UTF-8 | C++ | false | false | 2,618 | cpp | /* file: covariance_csr_singlepass_distr_step2_fpt_cpu.cpp */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
4483b291525b60f217da131fa4144ab7ff9da64d | c8ddfea14a0abcac2db30dbddb1efc9c39d45bef | /mindsystem/mindsee/mindnvr/app/ui/src/minigui_debug.cpp | a91dc574071844e91376739aeffba93afb89e1e4 | [
"BSD-2-Clause"
] | permissive | ComakeOnline/mindproject | 4f9fb3e1c8ba55f1ffb0cb0ebaa94e46202fd904 | 9ead6b9df7372f27a7c5c82d148f361aa97bab8b | refs/heads/main | 2023-08-01T14:13:47.701416 | 2021-02-26T04:08:10 | 2021-02-26T04:08:10 | 342,451,286 | 5 | 2 | BSD-2-Clause | 2021-09-15T10:09:53 | 2021-02-26T03:26:17 | C++ | UTF-8 | C++ | false | false | 4,143 | cpp | /*
用于Debug 阶段的定时器模块。
通过enableTimeTest() 和disableTimeTest() 函数启用和关闭定时器。
通过调用getIntervalUs(), getIntervalMs() 和 getIntervalSec()获取距离上次调用所经过的时长,
精度分别为微秒、毫秒、秒级别,结果取整,非四舍五入。
*/
#include "minigui_debug.hpp"
#include <stdio.h>
#include <string.h>
// 模块内使用的变量以static 修饰,实现封装后的隐蔽性。
static int __EN_TEST = 0;
static... | [
"jamesfan007@hotmail.com"
] | jamesfan007@hotmail.com |
d9128f705a181316934b5dcef1d83a8621c8bb5f | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-medialive/source/model/ListChannelsRequest.cpp | cba8b0956c9cf6e51763fb3bd859f290257344ff | [
"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,066 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/medialive/model/ListChannelsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <ut... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
e8f5e9a17091c733aebffc6e74dfe2a5f50d8e33 | 4ab8c08dc7b0fe08947690063703cb31dc3218cb | /include/ptl/type_safe/assert.hpp | c6ba445a9fbcaf494d96e7ebecfc514045c896ba | [
"Apache-2.0"
] | permissive | philburr/ptl | bb7e2f074e29f4be590d660c0bfac62386944136 | 5f6ca45f60ca1359bbf57c3b19bcda0601a7d152 | refs/heads/master | 2020-09-19T10:22:08.406422 | 2020-03-26T20:59:45 | 2020-03-26T20:59:45 | 224,221,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,187 | hpp | #pragma once
#include "ptl/compiler.hpp"
#include <utility>
#include <cstdlib>
namespace ptl {
namespace assert {
struct source_location
{
const char *file_name; ///< The file name.
unsigned line_number; ///< The line number.
};
#define ASSERT_SOURCE_LOCATION ... | [
"phil.burr@gmail.com"
] | phil.burr@gmail.com |
652f409080890d2b372bbaf30472ce4436d1e300 | ed67bc205cf1c0590013d5abbc9b6ceccf7736b4 | /NinjaVsZombie/NinjaVsZombies - final/source/ShopState.cpp | a03e642f214ab80c99df0558d802008f11e3542d | [
"MIT"
] | permissive | Cabrra/SPG-Project | 0fe887fd95fcd4f325f34156eb1f244604419a96 | 7602de287b750c882f9fe9e2bc57e0492d36a76f | refs/heads/master | 2020-03-26T19:40:48.773904 | 2018-10-25T04:21:38 | 2018-10-25T04:21:38 | 145,279,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,765 | cpp | #include "ShopState.h"
#include "../SGD Wrappers/SGD_AudioManager.h"
#include "../SGD Wrappers/SGD_GraphicsManager.h"
#include "../SGD Wrappers/SGD_InputManager.h"
#include "BitmapFont.h"
#include "Game.h"
#include "Player.h"
#include "MainMenuState.h"
#include "GamePlayState.h"
#include <sstream>
#include "../reso... | [
"jagoba.marcos@gmail.com"
] | jagoba.marcos@gmail.com |
4f5a8991d9213ad16728bdc658ec343b019be1be | 7182b78c0ecf8b99d9e5db315b34b7c7577b779b | /dynamol/dyobject.h | 9a822cb7ae4a8008d2d0cb586f74f8d22ed15396 | [] | no_license | gnulnx/dynamol | cbc85abf3d23c9af508576731d06f8ba372449db | 88a1000563f1d49793df8a404eff0fe8768b46b4 | refs/heads/master | 2016-09-06T11:20:54.279297 | 2015-04-09T14:02:42 | 2015-04-09T14:02:42 | 32,398,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | h | /***************************************************************************
dyobject.h - description
-------------------
begin : Thu Jan 1 2004
copyright : (C) 2004 by John Furr
email : john.furr@gmail.com
... | [
"jfurr@Johns-MacBook-Pro.local"
] | jfurr@Johns-MacBook-Pro.local |
2ee852ce7c8520f34c601e06e17c9374fe354ddc | bb17c42217a6eaf5434878f86d43a3573fb4d201 | /caffe2/quantization/server/conv_dnnlowp_acc16_op.cc | bfd044e82d1180cad31d75429368dd9bd1ddf10e | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | iotamudelta/pytorch | 6934cc48628cf3db6221bb27ca89a8a8f25826d5 | b710aee8c2ac2daa36e5143b00982b06746a4bf7 | refs/heads/master | 2021-06-05T22:33:12.622376 | 2019-01-04T17:18:39 | 2019-01-04T17:18:39 | 136,206,721 | 1 | 0 | NOASSERTION | 2018-12-17T23:16:59 | 2018-06-05T16:40:18 | C++ | UTF-8 | C++ | false | false | 29,616 | cc | #include "conv_dnnlowp_acc16_op.h"
#include "dnnlowp_op.h"
// #define DNNLOWP_ACC16_IN_SLOW_PATH
// #define DNNLOWP_MEASURE_TIME_BREAKDOWN
#ifdef DNNLOWP_MEASURE_TIME_BREAKDOWN
#include <chrono>
#endif
#ifdef _OPENMP
#include <omp.h>
#endif
#include "dnnlowp_partition.h"
#include "im2col_dnnlowp.h"
C10_DECLARE_int32... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
e79480abbd149cafd662a585878d95e6d7b74498 | 9a0b9ae8f33cfe65b7f15f8a8c5dbaede38b813c | /Among Osu/player.hpp | 51783a3c1bdfa5a4839f1ed854552de2a88318a6 | [
"MIT"
] | permissive | amongosu/Among-Osu | 445c6ad552c09c4cd0786265a153b19eea087ccd | d82c8353b4d3072da7c8c598782e5ef13f719a5d | refs/heads/main | 2023-04-02T18:35:59.674793 | 2021-03-07T11:59:20 | 2021-03-07T11:59:20 | 340,295,587 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | hpp | #pragma once
#include <utility>
#include "beatmap.hpp"
#include "hit_object.hpp"
#include "utils/memory.hpp"
class player
{
private:
uint32_t base_{};
uint32_t hit_object_mgr_{};
int hit_object_count_{};
uint32_t hit_object_list_{};
public:
player() = default;
explicit player(const uin... | [
"he4rtbleed@gmail.com"
] | he4rtbleed@gmail.com |
2c6540e5573b403c9dcabf322fb56efa88ce2646 | 1323769581b1fc117a3b07c19abee62ea9c43996 | /3DProj/3DProj/Entities/Components/Component.h | 5dbbaed373e76b54d350bc89ca286ab551d28527 | [] | no_license | Ceanze/3DProj | 5c54b010a5d8a30a60dd6bcc05b5c15ac34b27d5 | 0984d0e3a360c580f040978fc6f41a1587c0d37a | refs/heads/master | 2022-12-03T14:08:36.813886 | 2020-08-23T13:46:01 | 2020-08-23T13:46:01 | 113,999,332 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | h | #ifndef COMPONENT_H
#define COMPONENT_H
class Entity;
class Display;
class Component
{
public:
Component();
virtual ~Component();
virtual void init() = 0;
virtual void update(const float& dt) = 0;
virtual void input(Display* display) = 0;
void setEntity(Entity * ptr);
Entity* getEntity();
private:
Entity* ... | [
"adde--97@hotmail.com"
] | adde--97@hotmail.com |
33b72fd97a19afefd59e0455bbbde92cf611b4df | c72fe4de1f61e28d9f72bbae8e195937a54026c4 | /include/RE/H/hkpFixedRigidMotion.h | fe80637129e2e51a60e6b48a5cfafe6aa52637f0 | [
"MIT"
] | permissive | r-neal-kelly/CommonLibSSE | 01bf6766472a25b938b52ee5d57964077052557a | aefeb91d38cad750bc9f36f6260a05e7b1b094fd | refs/heads/master | 2023-02-12T22:57:52.643926 | 2021-01-08T09:55:30 | 2021-01-08T09:55:30 | 318,849,540 | 1 | 0 | MIT | 2021-01-08T09:55:31 | 2020-12-05T17:35:50 | C++ | UTF-8 | C++ | false | false | 713 | h | #pragma once
#include "RE/H/hkpKeyframedRigidMotion.h"
namespace RE
{
class hkpFixedRigidMotion : public hkpKeyframedRigidMotion
{
public:
inline static constexpr auto RTTI = RTTI_hkpFixedRigidMotion;
virtual ~hkpFixedRigidMotion(); // 00
// override (hkpKeyframedRigidMotion)
virtual void SetLinearVeloc... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
d1af384434c5930fa314333b268f8f7d50341c0c | b5d6bef867559a53ac6cd82b65624458dd20214f | /baekjoon/20165.cpp | 1e734bef8eaf9e8063686ddac800d7ecb74eab9a | [] | no_license | jingnee/algorithm | cfb33ab5c5243c2d7752746aadfa9d3017f63072 | 3c99db64c3840a3696bd188b5fbb6b54990303c4 | refs/heads/master | 2022-06-22T22:15:36.838947 | 2022-06-09T09:22:04 | 2022-06-09T09:22:04 | 231,215,092 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | //인내의 도미노 장인 호석
#include <iostream>
using namespace std;
int N, M, R, answer;
int map[110][110];
bool isFall[110][110];
int dr[4] = { 0,0,1,-1 };
int dc[4] = { 1,-1,0,0 };
void fall(int r, int c, char dir) {
int d = -1;
if (dir == 'E')d = 0;
else if (dir == 'W')d = 1;
else if (dir == 'S')d = 2;
else d = 3;
if ... | [
"noreply@github.com"
] | jingnee.noreply@github.com |
662c166416439cb055cdecbb709c15557a9fa712 | f4b212cdb8861238a50a31ce8db2b242ccb5e173 | /archive/sensors/sensorcluster/TMP112/TMP112.ino | 0800ee77f2ad78661cf04dd546d76096376fc2b4 | [] | no_license | waggle-sensor/waggle | 1f9a1bc82640b1c6eb6e51c5a53a53bffe668654 | 76fa76e4682cb2d4f5e009ef84ff345fdbb9d99e | refs/heads/master | 2022-10-09T01:38:02.086580 | 2022-09-28T16:02:13 | 2022-09-28T16:02:13 | 37,740,487 | 40 | 21 | null | 2017-01-06T23:13:53 | 2015-06-19T19:01:28 | Perl | UTF-8 | C++ | false | false | 2,290 | ino | #include <Wire.h>
extern TwoWire Wire1;
#define I2C_TMP112 0x48
byte readBuffer[2];
uint16_t pTemperatureRaw;
#define TMP112_CONFIG_REG 0x01
#define TMP112_TEMP_REG 0x00
void TMP112_CONFIG()
{
Wire1.beginTransmission(I2C_TMP112); // start transmission to device
Wire1.write(TMP112_CONFIG_REG); // sends regis... | [
"r@anl.gov"
] | r@anl.gov |
307d6a04d740799f2f36042226a43913c888d2ba | e68c1f9134b44ddea144f7efa7523076f3f12d3a | /FinalCode/Effect.cpp | 3aa7aceea744080855c677aca399ae8bc51ae6f0 | [] | no_license | iso5930/Direct-3D-Team-Portfolio | 4ac710ede0c9176702595cba5579af42887611cf | 84e64eb4e91c7e5b4aed77212cd08cfee038fcd3 | refs/heads/master | 2021-08-23T08:15:00.128591 | 2017-12-04T06:14:39 | 2017-12-04T06:14:39 | 112,998,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include "StdAfx.h"
#include "Effect.h"
CEffect::CEffect(TCHAR* _tszObjKey, OBJ_TYPE _eObjType, CObject* _pOwner)
: CObject(_tszObjKey, _eObjType)
{
// Owner
m_pOwner = _pOwner;
// Alpha
m_fAlpha = 0.0f;
// Coef
m_fCoef = 1.0f;
// Attr
m_eAttrType = ATTR_TYPE_PHYSICAL;
// SkillType
m_eSkillType = SKILL_... | [
"iso5930@naver.com"
] | iso5930@naver.com |
06362cb9791e301ce291008579249f0e29116d21 | 6a4f54880d63393e2de994299dcf6bdf7ab040e6 | /StudyOpencv2/Test3.cpp | c9c3f72e07291ba72a56f336686e7d8e02f9f183 | [] | no_license | liubin180669/Opencv | 49a1893ef006563a17e12bc7dbdad8d4d1f43e10 | c34172b1aba88f001c100f20852d9365908fb048 | refs/heads/master | 2020-04-16T10:37:39.964725 | 2019-01-13T14:05:27 | 2019-01-13T14:05:27 | 165,511,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | #include <opencv2\opencv.hpp>
#include <iostream>
using namespace std;
using namespace cv;
//int main() {
// Mat src1 = imread("D:/opencv/test_source/test2.jpg");
// Mat src2 = imread("D:/opencv/test_source/fjy.jpg");
//
// cout << "Test3 main" << endl;
// if (!src1.empty() && !src2.empty())
// {
// cout << "src no... | [
"412322310@qq.com"
] | 412322310@qq.com |
722056d3abd8c9f1232cb876bb5c9aaf39db9f39 | ccc8189650a214778bc9e446d4e1fc76cd1d606c | /src/parallel_fourier_solvers/include/simple_types.h | 4c9c67dac9c98e5fa8f6d101aed1002038a08133 | [] | no_license | PanovaElena/ParallelFourierSolvers2 | bc64a9294fbcf879e0d37a0502acf291e2539855 | 427835108a4c862e2509cf5c9226da3d563a0be9 | refs/heads/master | 2022-03-09T09:32:30.505699 | 2020-06-03T14:54:35 | 2020-06-03T14:54:35 | 211,049,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | #pragma once
template <class T>
class vec3;
enum Side {
left,
right
};
template <class T>
struct Pair {
T left;
T right;
Pair() {}
Pair(T l, T r) {
left = l;
right = r;
}
T getElem(Side side) const {
return (side == Side::left ? left : right);
}
T& g... | [
"alyona-gra98@yandex.ru"
] | alyona-gra98@yandex.ru |
312394e319b46d738689bb5649caa63e18b70f45 | af1ac266668afeabf9bdab70c5755d40a0626980 | /Source/RPG_Prototype/Gameplay behaviour/Explosive.h | 2081bf5eb83750cd625f8ee21c6aad278c7508a3 | [] | no_license | KevorkM/RPG_Prototype | 71da59f5dd88e75b56a03c8a6b1e1c2a9bbb1c48 | 374a1f2c25564acb3261d33665141de2e150098a | refs/heads/master | 2022-12-10T10:45:12.659669 | 2020-09-04T22:37:24 | 2020-09-04T22:37:24 | 292,959,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Item.h"
#include "Explosive.generated.h"
/**
*
*/
UCLASS()
class RPG_PROTOTYPE_API AExplosive : public AItem
{
GENERATED_BODY()
public:
AExplosive();
UPROPERTY(EditAnywhere, Blueprint... | [
"cmkbman@gmail.com"
] | cmkbman@gmail.com |
c0fc226bbfc486ff8dd9324d24491631dd0f7924 | 8ef18b550753b6d50d92f8dd777ebc59d39481bb | /Utilities/test_inifile.cpp | 7fb9a33605bf7c64d9ec300e1d0648b88b1906b0 | [] | no_license | gameinskysky/stereo_matching | 5cb54295e5f31d4406f55390fa353baf722beeb9 | 94901ee997c7221ecee05d1623ba41f1cabb632e | refs/heads/master | 2021-01-18T01:56:27.729912 | 2015-03-25T13:46:06 | 2015-03-25T13:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include <stdio.h>
#include <string>
//#include "inifile.h"
#include "params_parser.h"
// main.c
int main()
{
std::string fileName = "..\\..\\..\\Utilities\\EXAMPLE.ini";
params_parser pp(fileName);
} | [
"laibaisheng@gmail.com"
] | laibaisheng@gmail.com |
931a4f1aef36b5c5219cfeeed7c9ae8e2834ee38 | 91966d9674c74b74985e30456622004ce14e4d23 | /mainwindow.h | 22e84d3e4ccc63873dcafafc25ebf5505a2b8ab8 | [] | no_license | adomen910e/Projet-mac | b3229822ce7e0dab7b67f14e5a4c7f127c0dc310 | c06266d01afa2b55b8fb9d318aef676a48409bcd | refs/heads/master | 2020-06-13T09:59:22.186493 | 2016-12-02T15:02:34 | 2016-12-02T15:02:34 | 75,396,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QLabel>
#include <QWidget>
#include <QGridLayout>
#include <QPainter>
#include <QRect>
#include <QString>
#include "widget.h"
#include <opencv2/opencv.hpp>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
Mai... | [
"amelie.domenger@etu.u-bordeaux.fr"
] | amelie.domenger@etu.u-bordeaux.fr |
38bd411b7214459f943c8a6c33ead6d347163bd9 | 966c55ba7cd0928019bd64dc31c8f3213ca2d7b5 | /algorithm/eight_queen/eight_queen.cpp | 17be06b7e914008bcef499585990ea7521eb7e4b | [] | no_license | unkown571/learning | 851c458756202596d28c2703898f315f338ee75a | 3a8d6defbf41e9763a6ca41c339c8bdaf12051b3 | refs/heads/master | 2021-05-26T17:22:38.531723 | 2012-09-09T07:59:07 | 2012-09-09T07:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | /*
* =====================================================================================
*
* Filename: eight_queen.cpp
*
* Description: the eight queen problem
* Reference: http://hi.baidu.com/ipress/blog/item/9b81341219949a51f919b8e2.html
*
* Version: 1.0
* Created: 04/03/20... | [
"me@zhangliancheng.com"
] | me@zhangliancheng.com |
96f0b9ff32c041e68c121f00e9c7f8d75b7bbd11 | 6135b8c0b2a956f5c79a4577074870e736f43d54 | /op_over.cpp | 53f1c5f2eb3b17bcaca044743c7ea5d171361aae | [] | no_license | mderum/c-programs | cb585b84e9f034c6e09d0aa88c452d380b26061c | 2e983688b4bafc6ab264284326228ff331c539af | refs/heads/master | 2021-01-23T18:52:38.845415 | 2017-02-24T05:35:30 | 2017-02-24T05:35:30 | 83,005,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | //operator overloading , a counter
#include<iostream>
using namespace std;
class count{
public:
count():
ival(0)
{ }
count(int val):
ival(val) { }
~count(){ }
int getval()const {return ival;}
void setval(int x) {ival=x; }
void inc() {++ival; } //increment function
... | [
"noreply@github.com"
] | mderum.noreply@github.com |
99bae67e0cb02f12a0dd19bcfceb1d02219eef23 | c4a9947bf4dabe65e8c91a2aa00c8e3d31a8cbc2 | /Room.h | ff1b82bc88ab9d33ae04489a687a3d8dee85b7c6 | [] | no_license | Aaryan018/HotelReservation | a6f5098382e2b275fd12bb91490717b6d6d8c924 | 888e8e47a4ec9f3c01a1e2281782f7bb5ab64048 | refs/heads/main | 2023-07-14T05:31:32.588690 | 2021-08-24T02:37:10 | 2021-08-24T02:37:10 | 399,310,534 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | //Room.cpp file
//Description: This class models rooms for a hotel
//Author: Aaryan Gupta
#ifndef ROOM_H
#define ROOM_H
using namespace std;
//this class models rooms for a hotel. A hotel can have rooms wiht different number of beds
//for example with 1 bed, 2 beds and 3 beds.
class Room{
public:
... | [
"noreply@github.com"
] | Aaryan018.noreply@github.com |
77a85ad9ab2fa103c0d0146cf7271f0920ff9e91 | a15200778946f6f181e23373525b02b65c44ce6e | /Algoritmi/2019-09-04/all-CMS-submissions/2019-09-04.12:20:51.089313.VR440462.tree_split_out.cpp | 4df026fb61d08614fa15f6254bf178ad41809461 | [] | no_license | alberto-uni/portafoglioVoti_public | db518f4d4e750d25dcb61e41aa3f9ea69aaaf275 | 40c00ab74f641f83b23e06806bfa29c833badef9 | refs/heads/master | 2023-08-29T03:33:06.477640 | 2021-10-08T17:12:31 | 2021-10-08T17:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,689 | cpp | /**
* user: VR440462
* fname: GOBBI
* lname: FRANCESCO
* task: Prob1_tree_split_out
* score: 30.0
* date: 2019-09-04 12:20:51.089313
*/
/**
* Template per soluzione in c++ per il problema tree_split_out
*
* Romeo Rizzi, per l'appello di algoritmi 2019-09-04
*
*/
#include <cassert>
#include <iostream>
using ... | [
"romeo.rizzi@univr.it"
] | romeo.rizzi@univr.it |
849cc3962e148a0f7cf7f852b4911d7b32195ff2 | f79f2f20d1802d61e7d0e9c325b86311ca5f456f | /src/circularfield.cpp | f36f9b212f4a7174cd350b2b02fef0f70970af7b | [] | no_license | brainstar/charge | c20326e0252830ec826d099a9ed81ca81d1d16c1 | 456a16a4af416d675c5a620136a3e2bb1131dc9b | refs/heads/master | 2020-04-07T17:12:29.251635 | 2011-07-10T15:29:38 | 2011-07-10T15:29:38 | 2,023,582 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include "circularfield.h"
namespace Charge
{
CircularField::CircularField(float radius)
{
this->radius = radius;
}
const float CircularField::getRadius() const
{
return radius;
}
bool CircularField::containsActor(Actor *actor) const
{
return actor->getPosition().Length() <= radius;
}
}; | [
"dfyx@wecallit42.de"
] | dfyx@wecallit42.de |
2f9fb3534a5bb896dcfb1212e3c645e8be2d71ad | c6600a5dd2de14c27646848b22b6c55393a5c85c | /chrome/browser/ui/webui/tab_strip/tab_strip_ui_handler.cc | e552cc2767e8aa379ac5632582177591af216564 | [
"BSD-3-Clause"
] | permissive | sawantakash321/chromium | 9b65951f47fdb9bbbc90c8ea48cf7ec411c7cac3 | 374533dd1fa7f0b1d1480022399525c396c7c713 | refs/heads/master | 2022-12-30T17:46:40.307264 | 2020-02-19T15:58:23 | 2020-02-19T15:58:23 | 241,663,601 | 1 | 0 | null | 2020-02-19T16:19:43 | 2020-02-19T16:19:42 | null | UTF-8 | C++ | false | false | 31,129 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/tab_strip/tab_strip_ui_handler.h"
#include <memory>
#include "base/base64.h"
#include "base/metrics/histogram_functions... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4d78d8cd19fe5291c63db1229fa6168b752ff660 | f967f2f2b8f3c747129820cf488f74ee8fa01177 | /defaultArgument.cpp | 865bc702aeaa902a109b5d632e3b0c35e36f5fe0 | [] | no_license | Akshanshag/Object-Oriented-Programming-Lab-Rajasthan-Technical-University-AICE-Batch-2019-23 | 31e4cb8c7f4995925907f52f1e3e730dda541638 | 0ec5894116efa2b6e4fa5fae2c7f9b3136be6825 | refs/heads/main | 2023-03-18T02:48:59.530494 | 2021-03-22T04:55:04 | 2021-03-22T04:55:04 | 350,210,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include <iostream>
using namespace std;
// A function with default arguments, it can be called with
// 2 arguments or 3 arguments or 4 arguments.
int sum(int x, int y, int z = 0, int w = 0)
{
return (x + y + z + w);
}
/* Driver program to test above function*/
int main()
{
cout << sum(10, 15) <<... | [
"noreply@github.com"
] | Akshanshag.noreply@github.com |
836fdcdea307491fb708dbc28fe5ad85d6a78e7d | 30114f6730aac693971d826f58e46f6d158e6957 | /MFC/ole/MFCBind/MainFrm.h | 129b8bd5173cd9048e33a0bca22fb44b31d4c59c | [] | no_license | oudream/vc_example_official | 67111751a416df93cdc4b9f1048d93f482819992 | 8075deebd4755b2a7531a8f918c19ad2e82e2b23 | refs/heads/master | 2020-06-14T08:00:01.267447 | 2019-07-03T01:03:59 | 2019-07-03T01:03:59 | 194,953,887 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,046 | h | // MainFrm.h : interface of the CMainFrame class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic d... | [
"oudream@126.com"
] | oudream@126.com |
2b6a39a7213e108a7e7a0f764a807ecd55cdb212 | 100e9a6df8d5258f57739a145c154d3fbd3818d3 | /proj3/trace.h | dfbf6aff9f7b582959af5f5e4d4a20a32bfd1502 | [] | no_license | cahnz1/CMSC-435 | bdb2e07e539a90dbf662a052383e62c208f3927a | 8215ed726f8d120f16c87c9a0d9702d73f789e4f | refs/heads/master | 2023-02-19T12:16:23.091098 | 2021-01-25T19:58:01 | 2021-01-25T19:58:01 | 332,865,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,472 | h | #ifndef TRACE_H
#define TRACE_H
//#include "slVector.H"
#include <vector>
#include <Eigen/Dense>
class Ray {
public:
Eigen::Vector3d e;
Eigen::Vector3d d;
int depth;
Ray(const Eigen::Vector3d &_e, const Eigen::Vector3d &_d, int _depth = 0) : e(_e), d(_d), depth(_depth) {};
};
class Fragment{
public:
double ... | [
"32645938+cahnz1@users.noreply.github.com"
] | 32645938+cahnz1@users.noreply.github.com |
349869cadddf9f634a226a20708f7078b5b91ac9 | 624511f6ad0cf17a2ba1a1ea1f25c3b139ce4295 | /baselib/basecore/configure/ConfigUnit.h | 32450b3f890b9bd688b696ecc023fdf01cebc33c | [] | no_license | lightchainone/lightchain | 7d90338d4a4e8d31d550c07bf380c06580941334 | 6fc7019c76a8b60d4fd63fba58fa79858856f66b | refs/heads/master | 2021-05-11T05:47:17.672527 | 2019-12-16T09:51:39 | 2019-12-16T09:51:39 | 117,969,593 | 23 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 6,883 | h |
#ifndef __CONFIGUNIT_H_
#define __CONFIGUNIT_H_
#include "utils/cc_utils.h"
#include "Lsc/var/IVar.h"
#include "Lsc/var/Ref.h"
#include "Lsc/ResourcePool.h"
#include <vector>
namespace comcfg{
enum{
CONFIG_UNIT_TYPE = 0,
CONFIG_GROUP_TYPE,
CONFIG_ARRAY_TYPE,
CONFIG_ERROR_TYPE
};
class Reader;
class C... | [
"lightchainone@hotmail.com"
] | lightchainone@hotmail.com |
b16a395d33cd91596cad0ab0f86572e16c7af5a8 | 75f40cd0bcdbbb76be9f3f41909cad8d3b2354d3 | /src/kv_store_proxy/freeze_task.h | 1713b8a5321897d5d467298c22cfaa74cc4ea3c8 | [
"MIT"
] | permissive | jianqingdu/kvstore | 183112b0b528a4bafd607eddc95a147feeaededa | 19d9376f69b9746a4b2a22888733e9a890bff9f6 | refs/heads/master | 2023-03-09T06:57:41.390020 | 2019-06-03T14:56:09 | 2019-06-03T14:56:09 | 189,852,193 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | h | /*
* freeze_task.h
*
* Created on: 2016-8-30
* Author: ziteng
*/
#ifndef __PROXY_FREEZE_TASK_H__
#define __PROXY_FREEZE_TASK_H__
#include "simple_log.h"
#include "util.h"
#include "thread_pool.h"
#include "config_parser.h"
#include "config_server_conn.h"
#include "redis_conn_table.h"
#include "pkt_definit... | [
"ziteng@meili-inc.com"
] | ziteng@meili-inc.com |
5995257056a22304266a6d3ddcd703f742a39863 | 52002d7ad5a776316828f77defe4aa4d8b8b0896 | /Motor2.cpp | 24c0ed6fa0cd20e3a2fe67ed595b1e683dd4ca08 | [] | no_license | BibekShrestha/Stewart-platform-2017 | a935e78e3eed2ca6c29ef9790850f4557523379a | fb79ae69539fa2ade2863a4dc15e4c5642d2d351 | refs/heads/master | 2021-07-17T12:25:14.144196 | 2017-10-19T03:20:12 | 2017-10-19T03:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | cpp | /*
* Motor2.cpp
*
* Created: 5/25/2017 9:13:41 AM
* Author: Bibek Shrestha
*/
#include "Motor2.h"
#define ICR_TOP 249
#define MAX_VALUE 200
#define MIN_VALUE 0
#define DD_F G,2
#define DD_B G,0
//OC1A
#define DD_PWM L,4
#define PWM_TCCRA TCCR5A
#define PWM_TCCRB TCCR5B
#defi... | [
"noreply@github.com"
] | BibekShrestha.noreply@github.com |
7a81a293070531467edc69e5a2ca98223f33aa4d | 754d8208d78f8b41f897f5291eaeb578ad5199b5 | /run/tutorials/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/transportProperties | b521d5b427371cd4a2b5451b4e64e45c9ba23536 | [] | no_license | rubynuaa/OversetMesh | 39e6540e6b93088c839bbc0f608066d609de393b | 9e7fcab5d0593dce11721cb4823cd780c30d4302 | refs/heads/master | 2020-05-16T08:10:15.440127 | 2018-01-11T07:34:34 | 2018-01-11T07:38:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
... | [
"h.jasak@wikki.co.uk"
] | h.jasak@wikki.co.uk | |
adafd237480ac767cb0b6c8981920047b94f2f6a | e7e2028833ea694e2a4e2d44ccce25a4852b8176 | /Classes/OpningScene.cpp | 6073b224cdcdaf2935a85d3363183a8561f59dda | [] | no_license | momororo/dodon | 1c13e7a14141bb702fd37487d698133ee1916a78 | ba74b092bc05927223be9041d7c43d5eb42b4eed | refs/heads/master | 2016-09-05T23:59:38.638837 | 2014-12-25T13:51:27 | 2014-12-25T13:51:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,576 | cpp | //
// OpningScene.cpp
// tatatanTest
//
// Created by yasutomo on 2014/11/05.
//
//
#include "OpningScene.h"
#include "SimpleAudioEngine.h"
#include "HelloWorldScene.h"
#include "NendModule.h"
#include "GameCenterBridge.h"
//#include "AppCCloudPlugin.h"
USING_NS_CC;
#define selfFrame Director::getInstance() -> get... | [
"yasutomo@yasutomo-sacrew.local"
] | yasutomo@yasutomo-sacrew.local |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.