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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b55d3c28234b1b8ac7c1a53e9866d862757e7a58 | 45ff5276cb24a272de7b1cfc135b2a4d24f77c42 | /Object.cpp | 692e1e34a204165a426e5898947a2977e203c51f | [] | no_license | jdixie/JPCPractice | 5240bfba3d524b0e989897c3c24ebd62d1eb73c3 | ab0216c5eca0a1032a2e82a1d2670597c97caf2e | refs/heads/master | 2021-05-30T16:01:07.882667 | 2016-01-21T22:18:14 | 2016-01-21T22:18:14 | 42,977,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,998 | cpp | #include "object.h"
//extern GridContents collisionGrid[GRID_HASH_SIZE];
Object::Object()
{
collisionType = ObjectNS::AABB;
gridCell.x = -1;
gridCell.y = -1;
gridCell.z = -1;
gridCell.next = NULL;
gridLoc[0] = -1;
}
Object::~Object()
{
//delete gridCell.next;
}
void Object::update(float frameTime)
{
// tempX... | [
"joshua.dixie@yahoo.com"
] | joshua.dixie@yahoo.com |
1e91825552abb9102c0d5178432b8f09b0c63e83 | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/1.14/grad(rho) | ec91b0f4af1999353a3c9da3759227b46f834dc4 | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,333 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
37e25719094719b5d3d50bf1fb53cab65d8c8551 | efd7cfc63230d70c91018f909137635a9ee204ea | /ProgrammingPrinciplesAndPracticeUsingCPP/Chapter04/Exercise19-21.cpp | fb3d3804ea53a6175dfcce382b7a24378dd97668 | [] | no_license | Mendeir/ProgrammingPrinciplesAndPracticeUsingCPP | 6a742f8c22b9fd7712d7495d6976c2bf64aa4055 | b90787e1a15c144c77b88be33438ac1f5df038af | refs/heads/master | 2023-02-17T19:46:36.490914 | 2021-01-18T08:11:23 | 2021-01-18T08:11:23 | 281,862,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,043 | cpp | #include "std_lib_facilities.h"
void get_name_score_input (vector<string> &names, vector<int> &scores);
void search_name (const vector<string> names, const vector<int> scores);
void search_score (const vector<string> names, const vector<int> scores);
void display_name_score (const vector<string> names, const vector<in... | [
"adriannemagracia.git@gmail.com"
] | adriannemagracia.git@gmail.com |
985679e31ef0997fcc2b5d5d0d527eb4debe4b88 | ffcc850625b8590866a36d0a607e3a73cf37598d | /exhaustive/function/simd/cot.cpp | 9ca11df8c12cca8bcfce10508fdc2164b7e9d424 | [
"BSL-1.0"
] | permissive | remymuller/boost.simd | af7e596f17294d35ddcd8f859c4a12cb3276254d | c6614f67be94be2608342bf5d753917b6968e821 | refs/heads/develop | 2021-01-02T09:00:18.137281 | 2017-07-06T14:23:04 | 2017-07-06T14:23:04 | 99,120,027 | 6 | 7 | null | 2017-08-02T13:34:55 | 2017-08-02T13:34:55 | null | UTF-8 | C++ | false | false | 1,122 | cpp | //==============================================================================
// Copyright 2016 NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0... | [
"joel.falcou@lri.fr"
] | joel.falcou@lri.fr |
6d7c1ecb3224928e51240d6ee4e82e89917c87ce | bfd7d41883014a1c2ade1ac93c7f11008b101214 | /BigSmashGateCrash/Handgun.h | 6f8f3a57ae7de32ba5da4a62bcaa47944c63ca55 | [] | no_license | Jonkellino/Game | 6cfd57416ed23ecba0c409c766fb76740f8b130b | 3bebbab3948ca5a67922bcc23304560cae9783f1 | refs/heads/master | 2021-01-10T16:39:55.282278 | 2013-04-01T17:03:59 | 2013-04-01T17:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | h | #pragma once
#include "Inventable.h"
class Handgun : public Inventable
{
public:
Handgun(void);
~Handgun(void);
void Use();
}; | [
"adam.westinger@hotmail.com"
] | adam.westinger@hotmail.com |
39555f4056165a2ca060b2e5a04cf05cc01a47e6 | e38bf09d4e809bb7f51dcd39c004dcba35903bf6 | /stdafx.h | 3e66d551f985bf313c440650ec6ce15c384d4e62 | [] | no_license | KoicsD/Ising | 0688918c084496b030ea9ca95ec34f43277da5d2 | 859ad8733aa3c77c5422c668af1ca7150e4dd6be | refs/heads/master | 2021-01-10T16:46:43.598340 | 2016-01-17T16:54:51 | 2016-01-17T16:54:51 | 49,823,294 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 650 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#include <iostream>//cin és cout használatához
#include <string>//sztringobjektumo... | [
"koics.dani@gmail.com"
] | koics.dani@gmail.com |
4920f2c76e75a21df34ce20697332420b0b3b8fe | fb61b5a0264d42d976ee383b7302779621aab327 | /02_OF_cylinder/ppWallGrad/2.1/U | e9944ded7be5a88e64919831d2865ebe396a6ae5 | [] | no_license | Ccaccia73/Aerodinamica | 31062b24a6893262000df2f3d53dde304969182a | 49485cde03a6a4fd569722c9ca4b3558825221ad | refs/heads/master | 2021-01-23T03:16:31.037716 | 2018-01-21T14:55:05 | 2018-01-21T14:55:05 | 86,064,538 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,153 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"c.caccia@libero.it"
] | c.caccia@libero.it | |
45886a4c89af2561b7c0596b2a24e2de61e6bccd | 784ac5118d95d7706bdbf317b639cf3ecb89d93e | /Searching Algorithms/LinearSearchRecursion.cpp | d9f420e771eda5630b77aae5b3ad70ccb75e9026 | [] | no_license | AbdullahSaad5/DataStructures | 49816b64893409c93132297a997d146b34eb2cdf | fedda32b99ddcbdccd6798bdd16a2f38d74b476f | refs/heads/main | 2023-02-03T19:53:03.845320 | 2020-12-21T19:52:15 | 2020-12-21T19:52:15 | 323,433,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include <iostream>
using namespace std;
int length;
void findValue(int value, int array[], int index)
{
if (value == array[index])
{
cout << "Value Found at Index " << index << endl;
}
else if (index == length - 1)
{
cout << "Value Not Found" << endl;
}
else
{
... | [
"syedabdullahsaad1@gmail.com"
] | syedabdullahsaad1@gmail.com |
902c9bd544f6231927cdd35053a68423b1d6ea38 | 0e9d135183451c443649dd15f15ad6651285a154 | /src/Nubuck/camera/arcball_camera.cpp | f6c115878988726484a164374d4d1d2aa5026a32 | [] | no_license | plainoldcj/nubuck | d16186759f6b7532a04c49f1ba922b4c96b772c5 | 0fa6c7cc31795f248d9d46abd525c80ec0b3bc27 | refs/heads/master | 2021-01-18T14:45:01.782140 | 2015-07-01T10:34:43 | 2015-07-01T10:34:43 | 9,876,234 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,144 | cpp | #include "arcball_camera.h"
namespace {
const float zoomStep = 2.0f;
const float minZoom = 0.1f;
M::Vector3 Transform(const M::Quaternion& q, const M::Vector3& v) {
// TODO: use q*vq instead
M::Matrix4 m = M::Mat4::RotateQuaternion(q);
return M::Transform(m, v);
}
M::Vector3 VectorOnSphereF... | [
"johndoe.foobar@googlemail.com"
] | johndoe.foobar@googlemail.com |
9f2a57fafd306a91b87ade2ae8b33d6a522307c6 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_hunk_983.cpp | 5d19feb8917eab9fb3ceaedb054152fea7d97fbb | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | ret = list_tags(&filter, sorting, format);
if (column_active(colopts))
stop_column_filter();
return ret;
}
if (filter.lines != -1)
die(_("-n option is only allowed in list mode"));
if (filter.with_commit)
die(_("--contains option is only allowed in list mode"));
if (filter.no_commit)
die(_("--no-cont... | [
"993273596@qq.com"
] | 993273596@qq.com |
88972a63fbf7618f28f8222c5b2582c4252c837f | 9ac084b847374e4752aa468a1eb87f7a293730cf | /main/main/Gyps.h | 7a0433f4bf3c96450d5f1a46bc7b398afa958c6b | [] | no_license | Bainbetova/Birds_OOP | bebf0697cb1d6108b00fd3c5e9bb5cf09944d122 | 7e49ad64d892d7183239510d9f3bf72e4d547ed3 | refs/heads/master | 2022-09-04T19:39:31.183623 | 2020-05-09T16:31:29 | 2020-05-09T16:31:29 | 262,611,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | h | #ifndef Gyps_h
#define Gyps_h
#include "Accipitrinae.h"
class Gyps : public Accipitrinae {};
#endif // Gyps_h
| [
"38616325+Bainbetova@users.noreply.github.com"
] | 38616325+Bainbetova@users.noreply.github.com |
5f7db9d0b79e58ebfe4bce3a879efa43f5782beb | c0146da9ca538b1ea8b2508e76cf9dc71eda1063 | /include/G4SBSROGeometry.hh | e28ae2837e54d40bbd843cb8e7ddcdb7677b98ca | [] | no_license | yezhihong/g4sbsDDVCS | f0964b5994e908b8a66662181bc2acc4133ff1ae | 414532440a6736c479d9580515c121f8850f53ff | refs/heads/master | 2020-04-05T23:33:40.359435 | 2015-03-07T23:28:14 | 2015-03-07T23:28:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | hh | #ifndef G4SBSCalHit_h
#define G4SBSCalHit_h 1
#include "G4VHit.hh"
#include "G4THitsCollection.hh"
#include "G4Allocator.hh"
#include "G4ThreeVector.hh"
#include "G4LogicalVolume.hh"
#include "G4Transform3D.hh"
#include "G4RotationMatrix.hh"
class G4SBSROGeometry : public G4VReadoutGeometry
{
public:
G4SBSROGeo... | [
"camsonne@halla120.jlab.org"
] | camsonne@halla120.jlab.org |
154439db6326f8d9739fee894c66dfa5979ab99d | 92fe47dd34714208c9114bae25b0a17475963342 | /Hacks/CSGO/CSGOInternal/csgoInternalMaster-Structured/Valve/IClientEntity.h | 0bb9dcc3283a570408bedab244ba8bb21941fb8c | [] | no_license | AbhishekGola/Gaming | bed16a3a4d02dc76f230a75a662d19184db51f6f | a055d7178d9d80a1258b1d0814f2a8cd52dad16b | refs/heads/master | 2023-08-15T01:14:30.077234 | 2019-12-01T17:24:41 | 2019-12-01T17:24:41 | 186,141,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,749 | h | /*
___ ___ ___ ___
/\ \ |\__\ /\ \ /\__\
/::\ \ |:| | /::\ \ /::| |
/:/\:\ \ |:| | /:/\:\ \ /:|:| |
/:/ \:\ \ |:|__|__ /::\~\:\ \ /:/|:| |__
/:/__/ \:\__\ /::::\__\ /:/... | [
"abhishekgola@hotmail.com"
] | abhishekgola@hotmail.com |
366ed55c1bcfb13453f530e712dd6b6ed66b3eac | 5a1b53b7a9158e53b8c4bcb21bc560d0ae6d6584 | /MinesweeperBot.cpp | 1daf61b6dca99c96785c9e1634ed03ab4b4a6ed5 | [
"MIT"
] | permissive | DanielDantasL/MinesweeperSatisfiabilityChecker | f3948cd624f492c151d55824be276f3a737d844e | 65504014d6d046905fbf0b722626cc882d2339d7 | refs/heads/master | 2021-07-13T08:03:45.175097 | 2020-09-12T21:06:47 | 2020-09-12T21:06:47 | 204,786,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,573 | cpp | #include <iostream>
#include "MinesweeperBot.h"
int MinesweeperBot::ChooseCellToReveal(MinesweeperInstance instance) {
// iterate through all grid cells
int unrevealed = 0;
for (int i = 0; i < instance.Columns; ++i) {
for (int j = 0; j < instance.Rows; ++j) {
int current = instance.Reve... | [
"daniel.leite.dantas@gmail.com"
] | daniel.leite.dantas@gmail.com |
480e919272e8f8f8c53ef926b73b73cec04c2a81 | ad9c73a5434aa79fd7806b90934bc88e1a3d0699 | /src/Foundational/iwcrex/_iwgrep25regex.cc | 4a311e5ec5a98c8a9568811bfdee35d64ea15d6a | [
"Apache-2.0"
] | permissive | michaelweiss092/LillyMol | 8daa229a2b12e39e388c6170e480698fe0929c1f | a2b7d1d8a07ef338c754a0a2e3b2624aac694cc9 | refs/heads/master | 2022-11-30T16:47:03.692415 | 2020-08-12T21:18:33 | 2020-08-12T21:18:33 | 287,117,357 | 0 | 0 | Apache-2.0 | 2020-08-12T21:18:34 | 2020-08-12T21:18:06 | null | UTF-8 | C++ | false | false | 202 | cc | #include <stdlib.h>
#include <iostream>
using namespace std;
#define IWCREX_IMPLEMENTATION
#include "iwcrex.h"
#include "iwgrep-2.5.h"
template class IW_Regular_Expression_Template<IW_grep_25_regex>;
| [
"huang_zhen@network.lilly.com"
] | huang_zhen@network.lilly.com |
be52dfd303832b3a83d91e90e2cb909e49369c9d | a5f35d0dfaddb561d3595c534b6b47f304dbb63d | /Source/BansheeD3D11RenderAPI/BsD3D11TimerQuery.cpp | f2e06744c095eb5f3e38a0b950a86baaa2a79477 | [] | no_license | danielkrupinski/BansheeEngine | 3ff835e59c909853684d4985bd21bcfa2ac86f75 | ae820eb3c37b75f2998ddeaf7b35837ceb1bbc5e | refs/heads/master | 2021-05-12T08:30:30.564763 | 2018-01-27T12:55:25 | 2018-01-27T12:55:25 | 117,285,819 | 1 | 0 | null | 2018-01-12T20:38:41 | 2018-01-12T20:38:41 | null | UTF-8 | C++ | false | false | 3,712 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "BsD3D11TimerQuery.h"
#include "BsD3D11RenderAPI.h"
#include ... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
d8f4fde977695299bd66b2c19e1937d5206dd78d | 86352d0205649ed3997b8d0ff44d330d874e0919 | /motionplanner/rai/rai/LGP/LGP_tree.h | edc76ae968ef2d4ccdf0caa8edb6c729e306b1dc | [
"MIT"
] | permissive | hageldave/2020-VINCI-VisNLP | 2bed137ad71f392d4a57c5b8724353f0d81d2312 | 1f6b1a92b674dc3858a6a0a5aee5b158e9a72650 | refs/heads/main | 2023-04-17T22:01:23.107454 | 2021-05-05T13:34:06 | 2021-05-05T13:34:06 | 302,632,434 | 0 | 0 | null | 2020-10-14T13:22:55 | 2020-10-09T12:18:31 | C++ | UTF-8 | C++ | false | false | 4,942 | h | /* ------------------------------------------------------------------
Copyright (c) 2017 Marc Toussaint
email: marc.toussaint@informatik.uni-stuttgart.de
This code is distributed under the MIT License.
Please see <root-path>/LICENSE for details.
----------------------------------------------------... | [
"haegeldd@kwela.visus.uni-stuttgart.de"
] | haegeldd@kwela.visus.uni-stuttgart.de |
2a8f2ba7b0a0bc7321ce21546200855d9dcc60de | 6d23de84c23b8d81a9ede03f1825e69c8b4fa646 | /Classes/MyActionScene3.h | a701ecc1fed0a43cab03b37dd494be9f5c967572 | [
"MIT"
] | permissive | zhaogaoxing/demo2 | b81cd4071433296bbc4e69829d9a8c18034f434c | 8f9c6f2fdc208c65e7d829eb321bd14f2821008e | refs/heads/master | 2021-01-19T02:52:52.694625 | 2016-08-15T07:34:39 | 2016-08-15T07:34:39 | 65,266,907 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | h | #ifndef __MyActionScene3_SCENE_H__
#define __MyActionScene3_SCENE_H__
#include "cocos2d.h"
#include "PlayScene3.h"
class MyAction3 : public cocos2d::Layer
{
cocos2d::Sprite * sprite;
public:
static cocos2d::Scene* createScene();
virtual bool init();
void goMenu(cocos2d::Ref * pSender);
void backMenu(cocos2d... | [
"865072432@qq.com"
] | 865072432@qq.com |
4a106fa7fd4ec362cad6a826bcc6d0a17bb6a781 | 1e8413ac67187691e8e4731542889b78547adbca | /raytracing/Writer.cpp | ed7e389da931b61e887ed3c1a59cc7e561d7741b | [
"MIT"
] | permissive | arthurflor23/ray-tracing | 99f3aefd1f15af7ef2b81e91e891e39cbf71cb4a | 8deedf33446bed259d8f7e2895024fd1300eb439 | refs/heads/master | 2021-10-27T13:55:02.605236 | 2019-04-17T15:32:51 | 2019-04-17T15:32:51 | 37,202,311 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | cpp |
#include "headers/Writer.hpp"
#include "headers/NoArvore.hpp"
#include "headers/Object.hpp"
#include "headers/Triangle.hpp"
using namespace arma;
using namespace std;
Writer::Writer(const char *txt, const vector<Light> luz, const mat keye, const Ambient ambiente, NoArvore * No){
int resolucao[2];
vector<Pix... | [
"arthurflor23@gmail.com"
] | arthurflor23@gmail.com |
f992a5d8642d04164fc06302827ffe3eaca14ab5 | 07daa3f8bfc9dbd19e6fb6b53a7b8fc8572907e2 | /log.cpp | 829e09f7e0090884ce1d5e354a9cc7e2503f3447 | [] | no_license | ycqiu/snake | 7280ef4d3c6e49526eb7f3aaea0d1583f422e10a | 2b0a18ec42fcac3d6f9cf8d419f9b3d730a633b8 | refs/heads/master | 2021-01-01T04:11:54.491388 | 2016-05-04T10:42:16 | 2016-05-04T10:42:16 | 57,045,783 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,287 | cpp | #include "log.h"
#include <string.h>
using namespace std;
Log& Log::create(const std::string& n, const std::string& p, int mult_thread, int l)
{
static Log log(n, p, mult_thread, l);
return log;
}
Log::Log(const std::string& n, const std::string& p,
int mult_thread, int l):
name(n), path(p), level(l), file(... | [
"429148848@qq.com"
] | 429148848@qq.com |
3b399866a1dd730b885c1ce6f530b37ca4ba557a | 578aa20177519a89f99e12b71ec1df94241fc7e8 | /US3DTouch/US3DTouch.cpp | cb2c96d92f905fd62f27fe203a1ba8677e3c1102 | [
"MIT"
] | permissive | berardino/haptic | 157244337b4819cb73eaa602b624eef0e7c2b282 | 8cb2bec3566e25baed903cb6159503c20663fb30 | refs/heads/master | 2021-01-22T21:58:45.036080 | 2017-03-20T18:58:02 | 2017-03-20T18:58:02 | 85,495,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,228 | cpp | // US3D.cpp: implementation of the US3D class.
//
//////////////////////////////////////////////////////////////////////
#include "US3DTouch.h"
#include <FL/fl_file_chooser.H>
#include "vtkInteractorStyleTrackballCamera.h"
struct ProgressArguments
{
US3DTouch *This;
vtkProcessObject *Process;
char *L... | [
"bto@tradeshift.com"
] | bto@tradeshift.com |
8c5c28ed661bd6bc3085d2c2bb0749610a271189 | 3d85b8daed0d406e6f1aa748589ef75bfbd6a075 | /src/libzerocoin/Coin.cpp | 3bb39b4b91a47b4737493d343e4260162548c40d | [
"MIT"
] | permissive | peersend/peersend_ | 531b0a6b0405d14170c11e3be65afe4a04b064c9 | 195c2e9e46e0299b0a21eaf5aafa74176b5b604b | refs/heads/master | 2020-06-22T09:09:12.364434 | 2019-07-19T02:31:39 | 2019-07-19T02:31:39 | 197,688,055 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,391 | cpp | /**
* @file Coin.cpp
*
* @brief PublicCoin and PrivateCoin classes for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is released under... | [
"admin@peersendcoin.com"
] | admin@peersendcoin.com |
6bd364e65be4c21289830307dcda3a5f0e53cf45 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/69/921.c | 745a161c23a30bdebc6fe70aa8b8fe942bbb35c8 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | c | const int LEN=301;
int main()
{
char ch1[LEN]={0},ch2[LEN]={0};
int an1[LEN]={0},an2[LEN]={0};
memset(an1,0,sizeof(an1));
memset(an2,0,sizeof(an2));
cin.getline(ch1,LEN,'\n');
cin.getline(ch2,LEN,'\n');
int i,j=0;
for(i=strlen(ch1)-1;i>=0;i--)
an1[j++]=ch1[i]-'0';
j=0;
for(i=strlen(ch2)-1;i>=0;... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
f7d28134f76a6c7e80a29098a975f58264a9fd0c | 3530f7c91b1df5cc346a0cb52062cda4a85fd95a | /vscap20s/Producer/swfsource/actioncompiler/lex.swf4.cpp | 6204a6366a8ab8d7131fb7f1cea34c260648873b | [] | no_license | CREVIOS/camstudio-mousedown-highlight | cce9a7fac1ce270569e56eef020a079c6c36f72f | 06e2b96a252010ec12c19f878e0f0abb86e67c19 | refs/heads/master | 2021-05-28T07:21:41.427706 | 2011-07-22T08:40:24 | 2011-07-22T08:40:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 65,553 | cpp | #include <stdlib.h>
#include "common.h"
#define input yyinput
#define yy_create_buffer swf4_create_buffer
#define yy_delete_buffer swf4_delete_buffer
#define yy_scan_buffer swf4_scan_buffer
#define yy_scan_string swf4_scan_string
#define yy_scan_sbytes swf4_scan_sbytes
#define yy_flex_debug swf4_flex_debug
#define yy... | [
"alexandre.jasmin@gmail.com"
] | alexandre.jasmin@gmail.com |
70b2a874f1c0c89a7e7e7bcd229e7d2b65f732c0 | 66a12a710a7bd7cb4483fb9a073fcfcf92e3a4f6 | /random/bitsManupulation.cpp | 07a03d65b1a52928f7116e3650edae12d55cafcc | [] | no_license | faizan346/Ds-Algo-Cplusplus | b44c8c43a30643c30ad8f8ab15fff9c7f0d0bb4b | 41bf24ef365d0f35cff0786f2e85d5523ee1c7b1 | refs/heads/master | 2023-06-21T17:52:30.346070 | 2021-07-25T19:54:46 | 2021-07-25T19:54:46 | 361,234,839 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | cpp | #include<bits/stdc++.h>
using namespace std;
//normal way to find whether number is power of 2.
bool isPowerTwo(int x) {
if(x == 0)
return false;
else {
while(x%2 == 0) x /= 2;
return (x == 1);
}
}
//using bits
bool isPowerTwoBits(int x) {
//(x&(x-1)) in x-1 chagne rightmost se... | [
"faizansagheer346c@gmail.com"
] | faizansagheer346c@gmail.com |
7cbf04e79dbc8132a89dd84ce3fe3c8592f969e3 | b0eeea6bed88fd71731caf4406e2e422d85e477c | /ExternalBeamPlanning/SubjectHierarchyPlugins/qSlicerSubjectHierarchyRTBeamPlugin.cxx | 3e0da2dac6abe15fab1aaad2b3c52c67ecd48e20 | [] | no_license | vovythevov/SlicerRT | 04e86d88427cfd5b91b4e13273753cdde4e934c1 | 59b0e6e27c9bbf8d1e983c13a586158b8057999a | refs/heads/master | 2021-01-21T04:05:02.682242 | 2015-10-15T18:52:28 | 2015-10-15T18:52:28 | 45,185,925 | 0 | 0 | null | 2015-10-29T13:47:22 | 2015-10-29T13:47:20 | null | UTF-8 | C++ | false | false | 5,172 | cxx | /*==============================================================================
Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
Queen's University, Kingston, ON, Canada. All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required... | [
"pinter@25a7314f-c4c8-4314-9936-a25f8480a772"
] | pinter@25a7314f-c4c8-4314-9936-a25f8480a772 |
0c0001d9c49924372a47cfd47f7e982385bc8c2c | 0b2c6a6393c2f14961edbbaff0604cf32a204397 | /Regular/HW4/Task 1/Subscriber.cpp | 1646c373b2c5b96f50484ba15d164264815353f4 | [] | no_license | MomchilZanev/FMI-OOP-Course | 6e4006a11dd567b7a2b6c1a9de168352516dcab0 | e32c8ff954347b6d0354e037b2b6ceacc3aaadb4 | refs/heads/main | 2023-07-15T04:51:06.672769 | 2021-09-01T07:50:47 | 2021-09-01T08:01:51 | 401,980,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include "Subscriber.hpp"
Subscriber::Subscriber(const std::string& id)
: id(id)
{ }
void Subscriber::signal(const Message& message)
{
this->messages.push_back(message);
} | [
"40828721+MomchilZanev@users.noreply.github.com"
] | 40828721+MomchilZanev@users.noreply.github.com |
4e3b575d6376142dca91156b67001ed35b2ecfb0 | a8e4f6444d54edcfa9f37f742eb67c9f3b65d3da | /src/ns2/greencloud/dcscheduler/randdens.h | 0c41de4f5be1b8fa04d3755c8fded4b0d23fc608 | [] | no_license | smirzaei/greencloud-ns2 | 9e6e508736050841907f6c4cf89570731be16f9e | 04f3c15d2a4f2c22472d766d7b788f16fd67f648 | refs/heads/master | 2022-04-27T09:33:53.822757 | 2020-05-01T14:28:11 | 2020-05-01T14:28:11 | 260,478,090 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 706 | h | /*
* multidens.h
*
* @date Jan 8, 2014
* @author Guzek:Mateusz
*/
#ifndef MULTIDENS_H_
#define MULTIDENS_H_
#include <algorithm>
#include <math.h>
#include "probabilisticscheduler.h"
/**
* RandDENS scheduler.
* To meaningfully use it, enableDVFS on the resource providers used by this scheduler.
*/
cl... | [
"greencloud@greencloud.(none)"
] | greencloud@greencloud.(none) |
74c9e942bfb358e51d30861b872633e6bb4f30fb | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/skia/tests/FontHostTest.cpp | 7358b1089a62b5047a7f2f48d596502ec59a8c57 | [
"BSD-3-Clause",
"SGI-B-2.0"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,166 | cpp | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
#include "SkPaint.h"
#include "SkFontStream.h"
#include "SkStream.h"
#include "SkTypeface.h"
#include "SkEndian.h"
//#define DUMP_TABLES
//#define DUMP_TTC_... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
e1b690384bcd94c98307ad0455d2320956df9bdf | 951d7c74608bc306986d373c87aa6b98dba5ce05 | /DatosR/Satelite.h | e9180dc3f5b6f98303b974bf05357e29cf0f6ce1 | [] | no_license | enricmacias/SpaceshipBattle | 389abaa95365b3fe661bb31e404900370ade5cb5 | 068860e5c126555070b5af0454531e7ce4439e33 | refs/heads/master | 2021-01-10T12:37:29.965486 | 2015-12-16T07:24:14 | 2015-12-16T07:24:14 | 48,083,857 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,703 | h | /*! \file Satelite.h
* \brief Objeto enemigo IA
* \version 1.0
* \author Enric Macías López <tm18164@salle.url.edu> Manel Tso Torres <tm17801>
* \date 18 de Juny de 2009
*/
#ifndef SATELITE_H
#define SATELITE_H
#include "Nave.h"
//#include "Math.h"
/*! \class Enemigo IA
* \brief Guarda la ... | [
"enric_maciaslopez@cyberagent.co.jp"
] | enric_maciaslopez@cyberagent.co.jp |
8fd117c322bbc277f086ee591deb36525c8a6420 | cf58ce8affc97c3963fb9dfa783591c6d13cdfc0 | /chromeos/components/diagnostics_ui/backend/telemetry_log_unittest.cc | e75a5f5699b5d6f0bd5b57fa80b0caa2f144dd97 | [
"BSD-3-Clause"
] | permissive | muttleyxd/chromium | a8f67d8c3df66f960cfdce539435954b996c8d01 | 083214ab1f0013f8aa00c39406610251486ec797 | refs/heads/master | 2022-07-26T14:11:45.555038 | 2021-03-17T19:31:11 | 2021-03-17T19:31:11 | 264,492,154 | 0 | 0 | BSD-3-Clause | 2020-05-16T22:26:50 | 2020-05-16T17:41:35 | null | UTF-8 | C++ | false | false | 6,245 | cc | // Copyright 2021 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 "chromeos/components/diagnostics_ui/backend/telemetry_log.h"
#include "base/strings/string_number_conversions.h"
#include "chromeos/components/d... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
56907afd7068e875b5a753c4d6e0b61115f9af81 | e36e49d2cd31a28097fa1f066b5e65915c19e858 | /lib/Util/Hash.cpp | 2ccad70ea66c5c12f835e163b2decf96e8ffdfe4 | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | axia-sw/Doll | 9074e8a4b3dfcc6c02ea9abd78c2ae5f33f0da75 | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | refs/heads/master | 2021-06-28T13:22:16.857790 | 2020-12-18T12:35:14 | 2020-12-18T12:35:14 | 74,479,497 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,880 | cpp | #include "../BuildSettings.hpp"
#include "doll/Util/Hash.hpp"
namespace doll
{
U32 hashCRC32( const Str &s )
{
static const U32 table[] =
{
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F,
0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
0x09B64... | [
"nocannedmeat@gmail.com"
] | nocannedmeat@gmail.com |
98e49df1adfaf32c3a6b14c9f0adf020432d05dd | 42a03c9c60cedd544ab5e0a531c2b841468a54db | /include/Parser/ParserFactory.h | 61fd7ef4305acf43f7d92dfa889205ef4af18a51 | [] | no_license | pierre1326/decision-tree | dda12bedeac1766c1b56c5ed7663a2ee04571b14 | 890636c099faf722adfaab01abe6346d20506dbe | refs/heads/main | 2023-07-14T10:57:07.811378 | 2021-08-12T23:25:35 | 2021-08-12T23:25:35 | 379,476,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | #ifndef PARSERFACTORY_H
#define PARSERFACTORY_H
#include <streambuf>
#include <fstream>
#include <string>
#include "Parser/Parser.h"
#include "Parser/ParserModbus.h"
using namespace std;
class ParserFactory {
public:
enum Protocol {
MODBUS
};
static Parser * getInstance(Protocol protocol) {
... | [
"pierre1326@hotmail.com"
] | pierre1326@hotmail.com |
20b53caab5deea8fdc9db948a832cb61b0f6ba6e | 2516c2a11f3616fcfcd77da99cb0e66ce56853b8 | /HOMEWORK 03 OPERATOR OVERLOADING/fraction.h | 5c80979a6936ff7ce881c0c47518e47a470bae71 | [] | no_license | aberry5621/HOMEWORK-03-OPERATOR-OVERLOADING | 0756586f71f38a22e3f4e01436d84ce783bee041 | 1e05ed6681d1edf745739658ea38625c4307c509 | refs/heads/master | 2021-01-21T11:15:18.232623 | 2017-05-18T20:51:42 | 2017-05-18T20:51:42 | 91,731,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | h | //
// implementation.hpp
// HOMEWORK 03 OPERATOR OVERLOADING
//
// Created by ax on 2/17/17.
// Copyright © 2017 COMP235. All rights reserved.
//
#ifndef fraction_h
#define fraction_h
#include <iostream>
class Fraction {
public:
// constructor
Fraction();
Fraction(int p_w, int p_n, int p_d);
... | [
"aberry5621@gmail.com"
] | aberry5621@gmail.com |
3f4ca9070f34f987d3a05e75d91ebd2e517c7186 | 7bafa318ce6c00362288f1b6819bd9926ec4b5fc | /Knapsack_CDL-MH/calculate/dswf.h | d2ba91baf394cc089d09dd6b18373bb08f63987e | [] | no_license | mh554697703/Knapsack_CDL | e47cd2afdde1dc62335b3c6eef52c0cb6b4b6c85 | dff080e107d36f811ebfc836dbace32a206a6e31 | refs/heads/master | 2020-04-08T18:34:48.738547 | 2019-03-14T12:12:13 | 2019-03-14T12:12:13 | 159,614,806 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h | #ifndef DSWF_H
#define DSWF_H
#include <eigen/Eigen>
#include <Eigen/Dense>
#include <math.h>
#include <iostream>
#include <QDebug>
const double PI = 3.1415926;
using namespace Eigen;
using namespace std;
class DSWF
{
public:
DSWF(double elevationAngle, VectorXd azimuthAngle, int losNum,uint heightNum, MatrixXd l... | [
"554697703@qq.com"
] | 554697703@qq.com |
67ee00b8fb7027ea283cd958396ca491bd25d9b0 | e6a6ce66b7e6adee1043c92bf6089ca562c6e4e8 | /src_inoue/EventAnalysisReadBeam.cpp | 017eab6610c8e34f901535fbb4b0b6f4db123b0b | [] | no_license | HidemitsuAsano/E31ana | 267c4f7a8717234e0fd67f03844e46ad61ed7da9 | 4c179ab966e9f791e1f113b6618491dede44e088 | refs/heads/master | 2023-04-04T23:18:25.517277 | 2023-03-17T00:46:31 | 2023-03-17T00:46:31 | 121,988,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | cpp | #include "EventAnalysisReadBeam.h"
using namespace std;
bool EventAnalysisReadBeam::UAna()
{
if( anaInfo->nBeam()!=1 ) return false;
fillHistT0BVC(blMan, anaInfo);
fillHistT0DEF(blMan, anaInfo);
MyHistTools::fillTH("EventReduction", 0);
if( header->IsTrig(Trig_Kf) ) MyHistTools::fillTH("Kf_Reduction", 0);
... | [
"hasano@scphys.kyoto-u.ac.jp"
] | hasano@scphys.kyoto-u.ac.jp |
3c1a775d07ee81161bc5b19f2bce8e8c5fce18b6 | 7c7cde96c57f3610a453a09cadd6aad82321fedd | /AoSong_AGS02MA.h | 2e5b64994e1803d2e909d73493d867af55eb595a | [
"MIT"
] | permissive | mosajon/AoSong_AGS02MA | 38e157ffe58682d9b6b95b7c23a42a19942ec746 | f882d36a683d435a7e1d1f9d4ed809ce9fa74889 | refs/heads/master | 2023-06-05T23:47:54.450398 | 2021-06-30T02:06:39 | 2021-06-30T02:06:39 | 335,266,100 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,915 | h | /*!
* @file AoSong_AGS02MA.h
* @author Mosajon
* @version V1.0
* @date 2021-01-31
* @file DFRobot_AGS01DB.h
* @brief Define the basic structure of class DFRobot_AGS01DB
* @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)
* @licence The MIT License (MIT)
* @author [fengli](li.fe... | [
"mosajon@sina.com"
] | mosajon@sina.com |
08dfa7581b01b403e3ef7fac75df95e758fd7ae6 | c3c848ae6c90313fed11be129187234e487c5f96 | /VC6PLATSDK/samples/netds/RRas/rqs/common/rumem.cpp | 1ac03732914e5db4ca5f72dabd7d14d69b7b71c0 | [] | no_license | timxx/VC6-Platform-SDK | 247e117cfe77109cd1b1effcd68e8a428ebe40f0 | 9fd59ed5e8e25a1a72652b44cbefb433c62b1c0f | refs/heads/master | 2023-07-04T06:48:32.683084 | 2021-08-10T12:52:47 | 2021-08-10T12:52:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | cpp | //+--------------------------------------------------------------------------
//
// File: RuMem.cpp
//
// Synopsis: Memory allocation api's
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//+--------------------------------------------------------------------------
... | [
"radiowebmasters@gmail.com"
] | radiowebmasters@gmail.com |
f42591fe149baab9e52bbd9ee3ef623c481260f2 | 95626140b639c93a5bc7d86c5ed7cead4d27372a | /algorithm And Data Structure/Graph/Tropological sort/TOPOSORT - Topological Sorting(spoj).cpp | 4350ae90b77dc0283ffdf77c4417e04bcc3af994 | [] | no_license | asad-shuvo/ACM | 059bed7f91261af385d1be189e544fe240da2ff2 | 2dea0ef7378d831097efdf4cae25fbc6f34b8064 | refs/heads/master | 2022-06-08T13:03:04.294916 | 2022-05-13T12:22:50 | 2022-05-13T12:22:50 | 211,629,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int>G[10005];
map<int,int>indegree;
int color[10005];
int f=0;
void dfs(int source){
color[source]=2;
for(int i=0;i<G[source].size();i++){
int v=G[source][i];
if(color[v]==2){
f=1;
break;
}
if(color[v]==3)continue;
if(color[v]==1){
dfs(v);
}
}
... | [
"asad.shuvo.cse@gmail.com"
] | asad.shuvo.cse@gmail.com |
49b0a9c49503c49bf991b90178f8e9f424d3c70a | 42bef847fc07f61de11ae6cdbdeebb5edb8a9d32 | /src/compiler/translator/OutputSPIRV.cpp | 432c0d715b138d073344f00ff6766e0bb155bec4 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | GavinNL/angle | bcfbaeed7513bee48e3021ede5f75a76f7f654ad | 9aca4285f84cd7b25ca27881e2e850e7fddd0c86 | refs/heads/main | 2023-08-22T04:04:33.402982 | 2021-12-30T14:18:32 | 2021-12-30T21:33:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248,858 | cpp | //
// Copyright 2021 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// OutputSPIRV: Generate SPIR-V from the AST.
//
#include "compiler/translator/OutputSPIRV.h"
#include "angle_gl.h"
#include "common/debug.h"
... | [
"angle-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | angle-scoped@luci-project-accounts.iam.gserviceaccount.com |
16ad139dd7e467cc908236453288c46ab6662f33 | 86c6f65a28d13c2dce7c3d3f75d2f0f21a38c240 | /src/DBManager.h | 3ba003b7733aa01d386567149c2350e6441d4ecd | [] | no_license | LiamAshdown/Quad-AutoLogin | 303cc5d3f8216330a11a6fb34aaa1d43a31bb053 | d6c33d4e05f1a2fc07c76dfcf83d6bac3f77f52a | refs/heads/master | 2021-10-20T06:34:55.341794 | 2019-02-26T10:25:52 | 2019-02-26T10:25:52 | 172,688,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | h | #include "mysql_connection.h"
#include "mysql_driver.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
#include <cppconn/prepared_statement.h>
#include <iostream>
#include <string>
#include <vector>
#pragma once
class DBManager
{
public:
DB... | [
"liam-ashdown@outlook.com"
] | liam-ashdown@outlook.com |
e462834d0c1954081591f73401e5b542faff32c4 | 87de63798f786e8f32c171554f16cc1cb05bd61f | /SystemModels/Systems/BloodSystem/BodyBioChemBloodSys.cpp | be500a9122a72cd9207b97412bda96d627ccb790 | [] | no_license | avgolov/virtual-human | a0bd4d88b0c76f8f9c0fbf795e9c0e3ccff43d60 | 82636e04489efad9efe57077b8e6369d8cf5feff | refs/heads/master | 2021-07-17T17:15:47.189088 | 2017-10-24T08:57:21 | 2017-10-24T08:57:21 | 108,100,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,627 | cpp | #include "BodyBioChemBloodSys.h"
namespace SystemModels
{
void BodyBioChemBloodSys::Compute(TimeSpan* timeSpan) {
SetOldValues();
}
void BodyBioChemBloodSys::SetParam(BloodSysParam param, double value)
{
switch (param)
{
case AllVol: {
SetVolume(value);
break;
}
//fractions
... | [
"golov.andrey@hotmail.com"
] | golov.andrey@hotmail.com |
c9fc9c403728f6ddf5d887f69164abc20a7ee341 | 24c15f237750892c906c420e0a4f10c29c458012 | /vectorMatrix/vector.h | 178be555fd406d8f29f2c8ebafd726f07615650e | [] | no_license | Celelibi/CPOA | 8c0beb19795275c5ebaca7d462a53bb7c2e4e054 | 951b396082c9c0873bd95deff707318b8fb65207 | refs/heads/master | 2021-01-18T00:13:32.738943 | 2014-01-13T23:48:18 | 2014-01-13T23:48:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | h | #ifndef VECTOR_H
#define VECTOR_H
#include "array.h"
/**
* class that manage template Vectors
*/
template< unsigned int N, typename T>
class Vector: public Array<N,T>
{
public:
/**
* @brief Default constructor
*/
Vector();
/**
* @brief copy constructor from other type of array/vector (same size)
*/
tem... | [
"snqke@Kigle.(none)"
] | snqke@Kigle.(none) |
89bf851cf9a1797af6ff2f228801a9edd841bd97 | 8ecdbfc9e5ec00098200cb0335a97ee756ffab61 | /games-generated/Stencyl_Vertical_Shooter/Export/windows/obj/src/openfl/events/UncaughtErrorEvents.cpp | dfb13d59aca86c137914227500c4b60abec765d5 | [] | no_license | elsandkls/Stencyl_VerticalSpaceShooter | 89ccaafe717297a2620d6b777441e67f8751f0ec | 87e501dcca05eaa5f8aeacc9f563b5d5080ffb53 | refs/heads/master | 2021-07-06T11:08:31.016728 | 2020-10-01T05:57:11 | 2020-10-01T05:57:11 | 184,013,592 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,697 | cpp | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
#ifndef INCLUDED_openfl_events_IEventDispatcher
#include <openfl/events/IEventDispatcher.h>
#endif
#ifndef INCLUDED_openfl_events_UncaughtErrorEvents
#include <openfl/events/Un... | [
"elsandkls@kidshideaway.net"
] | elsandkls@kidshideaway.net |
7ad2d5ea33974c369fc5fe80521aba6d98a09212 | 40d291bc8a7a04401b602d5491fd1774fb20f061 | /sample/environ1/environ1/environ1/KHOpenAPICtrl.cpp | 730fad741e6e887963557539f93c17c0139b938a | [
"MIT"
] | permissive | Rinuys/RLTradingBot | f30516afc2e04378192f61877b10b05109873c06 | 07e6be338d1255b2a117501f1d960e0aa3e256f1 | refs/heads/master | 2021-11-24T13:15:19.699121 | 2021-11-04T00:37:45 | 2021-11-04T00:37:45 | 176,231,150 | 1 | 1 | MIT | 2023-09-08T05:05:16 | 2019-03-18T07:53:50 | OpenEdge ABL | UHC | C++ | false | false | 365 | cpp | // KHOpenAPI.cpp : Microsoft Visual C++로 만든 ActiveX 컨트롤 래퍼 클래스의 정의입니다.
#include "stdafx.h"
#include "KHOpenAPICtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CKHOpenAPI
IMPLEMENT_DYNCREATE(CKHOpenAPI, CWnd)
// CKHOpenAPI 속성입니다.
// CKHOpenAPI 작업입니다.
| [
"jeonghan@ijeonghan-ui-MacBookPro.local"
] | jeonghan@ijeonghan-ui-MacBookPro.local |
48407efbc329ddc87bebce8169ad654611a74671 | aa69f4680f318295547d1ce76e471a2d53251a02 | /Users/Giles/Downloads/Traffic Simulator 2017/gameengine/gameobjects/Primitives/Ray.cpp | 7f383ad49d27471ccc137498061c97e18b966ced | [] | no_license | GilesPenfold/Traffic-Simulator-2017 | 66c9048eaa1c5abd015f34856552a361670f0d67 | 4baf0cbe666066ed0d81e8b22c54111446a9bbc9 | refs/heads/master | 2021-01-02T09:45:09.691614 | 2017-10-07T09:13:30 | 2017-10-07T09:13:30 | 99,288,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | #include "Ray.h"
Ray::Ray(float mouseX, float mouseY, float width, float height, Camera* cam){
this->mouseX = mouseX;
this->mouseY = mouseY;
this->width = width;
this->height = height;
this->cam = cam;
}
glm::vec3 Ray::getRayDir()
{
this->rayDir = glm::vec3(0, 0, 0);
glm::vec4 viewport(0.0, 0.0, width, hei... | [
"gtpenfold@hotmail.co.uk"
] | gtpenfold@hotmail.co.uk |
d894b46ec7aa2bea0bd9df79ca0015a99ef3b31b | f29ac2d8c991decbfb619298e3bf5af655f9fb3e | /aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/DatabaseResource.h | 0c9940aa17e24c78f56c1cb64b4d028ab58172a9 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | corporategoth/aws-sdk-cpp | c38ea1a6d94e1b35e17bb1e8cb18c9bf2596f355 | 819b17b3915b1e6a9b704998efcaa51711dd1357 | refs/heads/master | 2022-11-06T21:53:27.936475 | 2020-07-06T19:05:56 | 2020-07-06T19:05:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,511 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lakeformation/LakeFormation_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonVa... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
316fa90947204ce7df9c536f685d0fea7fe62123 | 395aa4a00bc9d9dabfeb58aa64da3647777323ed | /Source/AdventOfTheMystics/Private/Characters/RPGCharacter.cpp | 5e32b66f651d4b83c1d602f853e33e8717fb3093 | [] | no_license | LikeTheBossOne/AdventOfTheMystics | ebc82a1f3d7ccbd72909a5059754a75436f5540b | 08e3c7cfc56ace600433efe9beff49c1cfae7e84 | refs/heads/main | 2023-04-12T09:31:08.187356 | 2023-04-07T04:13:43 | 2023-04-07T04:13:43 | 308,163,487 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "../Public/Characters/RPGCharacter.h"
#include "../Public/GAS/RPGAbilitySystemComponent.h"
#include "../Public/GAS/AttributeSetBase.h"
#include "../Public/GAS/RPGGameplayAbility.h"
#include <GameplayEffectTypes.h>
#include "../Pub... | [
"bbossdev@gmail.com"
] | bbossdev@gmail.com |
c0a13c4c291b40ba5cc41a97137ca05640ffca15 | c553f0edb3f031b196bfb785688d3c762fbd34c1 | /A_Two_Rival_Students.cpp | 06caec6387e8b1225dac6a6b4d5bb8477666ff8f | [] | no_license | akashksinghal/My-Codeforces-Archive | 320b7f82768817dd81c0452a9635541d38b47f77 | 114750ba1c43f4f3a95d3ad73be105b0c2a59187 | refs/heads/master | 2022-12-03T16:34:39.471771 | 2020-08-17T09:24:38 | 2020-08-17T09:24:38 | 241,869,193 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | // I'm a f*cking looser
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define fasino ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define input(A) for(auto &i:A) cin>>i;
void solve()
{
ll n,x,a,b;
cin>>n>>x>>a>>b;
ll dif = abs(a-b);
cout<<min(dif+x, n-1)<<'\n';
}
sig... | [
"akashksinghalnewdelhi@gmail.com"
] | akashksinghalnewdelhi@gmail.com |
f5c2a36e184e31efef8af50526592bca7302b011 | 684aa1247c9641e51f5d266ed83fcfd2164050ee | /Nodo.cpp | a2b586454fc231388050154668045be4287895f6 | [] | no_license | galvismaria/Reader | ca633f2184af996dc152615e027b4dfa3d22d061 | 28b5dd463757e58550b5c70d2bc9ce6502a297e9 | refs/heads/main | 2023-04-08T22:58:18.604604 | 2021-04-28T02:13:26 | 2021-04-28T02:13:26 | 358,730,208 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,896 | cpp | #include "Nodo.h"
Nodo::Nodo( Palabra *p ){
info = p;
altura = 0;
der = nullptr;
izq = nullptr;
padre = nullptr;
}
// Calcula el punto de balance
// -> Negativo, el lado derecho es más profundo
// -> Cero, ambos lados son iguales
// -> Positivo, el lado izquierdo es más profundo
int Nodo::getBalance(){
... | [
"galvismariaj@gmail.com"
] | galvismariaj@gmail.com |
10624ff1967310fb3c67c593a1f389346f115b09 | f11b0552104fdf0d2cab3d1db3a858e6c5a238e9 | /HDU2017(AC).cpp | 8f22ef981c4a82ed9096a5a472b9f8e5c776e8fc | [] | no_license | zhuli19901106/hdoj | 2551053011cadae284fd7165a1722ffc29680515 | ae2f0a096f5fb9f14ffd7c8e0ade5d7329c26143 | refs/heads/master | 2020-04-27T08:39:54.189514 | 2015-11-07T15:48:58 | 2015-11-07T15:48:58 | 14,063,696 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main()
{
char s[1000];
int n, ni, i;
int res;
while(gets(s) != NULL){
sscanf(s, "%d", &n);
for(ni = 0; ni < n; ++ni){
gets(s);
res = 0;
for(i = 0; s[i... | [
"zhuli19901106@gmail.com"
] | zhuli19901106@gmail.com |
a92db15d33174a513deed9837ef461a652852101 | 6e20207f8aff0f0ad94f05bd025810c6b10a1d5f | /SDK/SteelBoots_RecipePickup_classes.h | 3d4f3af74464cf404c24f8b7a7af885c387045a6 | [] | no_license | zH4x-SDK/zWeHappyFew-SDK | 2a4e246d8ee4b58e45feaa4335f1feb8ea618a4a | 5906adc3edfe1b5de86b7ef0a0eff38073e12214 | refs/heads/main | 2023-08-17T06:05:18.561339 | 2021-08-27T13:36:09 | 2021-08-27T13:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | #pragma once
// Name: WeHappyFew, Version: 1.8.8
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass SteelBoot... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
e09e0c9c006adb98bb686d649c90830d7748470f | 922d57b0c0273784ec113f8f9b534e190ca25690 | /submodules/GANXiS/GANXiS-S_v1.0/CommonFuns_Measure.h | 6db433674b8221f2c280803d680860f9f1c0ed9b | [] | no_license | jiafangdi-guang/graph_clustering_toolkit | 5a02be4a0e41f0c14eca14e61a9a70f0b16e3246 | 8b2163f0b602f59ea1e9ecd4281e286b2c9c71a0 | refs/heads/master | 2022-12-29T20:12:18.700578 | 2020-05-13T16:09:41 | 2020-05-13T16:09:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | h | /*
* CommonFuns.h
*
* Created on: Oct 14, 2011
* Author: Jerry
*/
#ifndef COMMONFUNS_H_
#define COMMONFUNS_H_
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <utility>
#include <... | [
"lizhen9.shi@gmail.com"
] | lizhen9.shi@gmail.com |
b1f7341ec80e215db18d36e9250272b0e4e5a69f | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/network/tcpip/sparta/inc/igmpheaderv1.hpp | b471c2acacde35ee4b28a3d1f65aeaebe011c7ae | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,653 | hpp | /****************************************************************************************
* SPARTA project *
* *
* (TCP/IP test team) ... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
4a512c1bfa2eef00fd9edb489dbe3295394fe3f6 | 04d5131f1753da82f0f6d271d39a9f6db1cf36e5 | /Week3/Number-Of-Islands.cpp | 58d1185b41917e708e777086884f0be7e58a7a50 | [] | no_license | richidubey/LeetCode-30-Day-Challenge-April-2020 | 87e80b60a2db2491d42012765009fc0ee06e828c | 6387328d09742e9d47f914c6cf5e7d33b73188a7 | refs/heads/master | 2022-04-19T00:52:44.953542 | 2020-04-20T14:24:02 | 2020-04-20T14:24:02 | 255,030,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,916 | cpp | //Que Link:https://leetcode.com/explore/challenge/card/30-day-leetcoding-challenge/530/week-3/3302/
class Solution {
public:
int numIslands(vector<vector<char>>& grid) {
int count=0;
stack<pair<int,int>>trav;
int xlim=g... | [
"richidubey@gmail.com"
] | richidubey@gmail.com |
49f430b098fc749f2cf8a1e6a5fb0d0f9dacd108 | 2c4a5c6037ecc40d04c89d55c867c347042f1f4e | /Wet4/tests/test375.cpp | b98f890e0a89c361725e1d6fb069d4bb1c24455b | [] | no_license | kariander1/OperatingSystems | 056d684833286e49ef375e2ed0a0b00f482064ef | 4671a3cc6746e02e6938c9eb229b3e7016f06c69 | refs/heads/master | 2023-08-11T04:01:39.533946 | 2021-10-09T10:17:06 | 2021-10-09T10:17:06 | 358,538,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111,363 | cpp | #include "aux_macro.h"
#include "../malloc_4.cpp"
#include <iostream>
void printStats()
{
std::cout << "_num_free_blocks: " << _num_free_blocks() << std::endl;
std::cout << "_num_free_bytes: " << _num_free_bytes() << std::endl;
... | [
"shaiyehezkel@campus.technion.ac.il"
] | shaiyehezkel@campus.technion.ac.il |
b8f0b58cf065a6d5d254d4455c85c3b5ab835e5d | 083100943aa21e05d2eb0ad745349331dd35239a | /aws-cpp-sdk-glacier/include/aws/glacier/model/ActionCode.h | 8ae2c68e0e20a526f62dff901065f3bfdad36fb1 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bmildner/aws-sdk-cpp | d853faf39ab001b2878de57aa7ba132579d1dcd2 | 983be395fdff4ec944b3bcfcd6ead6b4510b2991 | refs/heads/master | 2021-01-15T16:52:31.496867 | 2015-09-10T06:57:18 | 2015-09-10T06:57:18 | 41,954,994 | 1 | 0 | null | 2015-09-05T08:57:22 | 2015-09-05T08:57:22 | null | UTF-8 | C++ | false | false | 1,089 | h | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
9a6c78eeb165f8fcff86298214d79c0fd6c2045e | 0122613b40827922407a4e5ffb12adad05d710e1 | /base/epoll_api.h | 5ea42b216772c0fc6859e411e4590eb18eb9d5b1 | [
"Apache-2.0"
] | permissive | jinghao666/net | c898f7663c0befea0e832f84a656402a92060e59 | c98961e094d8c9f1eeb4caad959e9a33968e2e40 | refs/heads/main | 2023-06-19T08:24:23.051263 | 2021-07-27T01:28:54 | 2021-07-27T01:28:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | h | #pragma once
#include "simple_epoll_server.h"
namespace basic{
using EpollServer=SimpleEpollServer;
using EpollAlarmBase =EpollAlarm;
}
| [
"865678017peiwen@gmail.com"
] | 865678017peiwen@gmail.com |
e6f7abc643becbe4f767733919ae34d01cd37d49 | efe0fbaa38b9ce5cd147101b5d2399ad5836a6c5 | /plugins/VLQAnalyzer.cc | 5f9061fceabc9176a31aa99422bfbd9de1222dcc | [] | no_license | jking79/sadi_VLQana | d395d8eff1232e7c957efa2d77841049930d6124 | 5e5cc63087ef1cc686ffb7f12f1ef59fcb3d4b83 | refs/heads/master | 2021-05-04T15:42:58.032817 | 2018-02-05T01:04:58 | 2018-02-05T01:04:58 | 120,237,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,069 | cc | // -*- C++ -*-
//
// Package: Upgrades/VLQAnalyzer
// Class: VLQAnalyzer
//
/**\class VLQAnalyzer VLQAnalyzer.cc Upgrades/VLQAnalyzer/plugins/VLQAnalyzer.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: Sadia Khalil
// Created: Mon,... | [
"jking79@ku.edu"
] | jking79@ku.edu |
d272e63f5ea5c01004eb9c5a7c0863844753ccb5 | f55def6bda4baefa3ff55c1f341fa2eb91e4f2b5 | /MMOCoreORB/src/server/zone/objects/creature/commands/WbossAreaAttackCommand.h | c7ecd087cb8c0c2126300e9279582db6de3be234 | [] | no_license | SWGEmu-Private-Servers/Sunrunner-II | 8e5048967cd99ab8f5b0b20045805f62d3ae4b76 | 98fc568300ced38582173e33a3dcfd233abbce9c | refs/heads/master | 2022-12-23T04:28:43.431737 | 2020-09-22T18:59:24 | 2020-09-22T18:59:24 | 297,396,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | h | /*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#ifndef WBOSSAREAATTACKCOMMAND_H_
#define WBOSSAREAATTACKCOMMAND_H_
#include "CombatQueueCommand.h"
class WbossAreaAttackCommand : public CombatQueueCommand {
public:
WbossAreaAttackCommand(const String& name, ZoneProcessServer* server) : Comba... | [
"thrax989@yahoo.com"
] | thrax989@yahoo.com |
607d6380ef6862cc67c4897697ecacd858e46c49 | c65251aafac2452de89b33a97018f5fc07d19830 | /src/vt/group/id/group_id.cc | 919d346bbe419aebc0419e5c3b44080e057c03ac | [
"BSD-2-Clause"
] | permissive | PhilMiller/vt | b0454520e8d0a31ca8ccd8b3cb37eea2018c029a | 9a5983cc884b998e313b741acc7c3d03916207cf | refs/heads/master | 2020-07-22T19:30:45.905074 | 2019-08-14T21:48:49 | 2019-08-14T21:48:49 | 207,304,466 | 0 | 0 | null | 2019-09-09T12:32:37 | 2019-09-09T12:32:36 | null | UTF-8 | C++ | false | false | 3,891 | cc | /*
//@HEADER
// ************************************************************************
//
// group_id.cc
// vt (Virtual Transport)
// Copyright (C) 2018 NTESS, LLC
//
// Under the terms of Contract DE-NA-0003525 with NTESS, LLC,
// the U.S. Government reta... | [
"jliffla@sandia.gov"
] | jliffla@sandia.gov |
8cc32e6c5fe4975ab54fa7d7b001a2366f0fead6 | 72d44d01083aeb66606cecd9d84dbb0eb17b0acb | /leetcode/leetcode414/leetcode414/main.cpp | 22c67f6596a73d239ea10fb2c92b192760914ff4 | [] | no_license | danache/coding | e3d704b6302acb913d3f58ea1dfe9e126d1b0f39 | ef798534e8412eb81f31318244305e1a6110ea72 | refs/heads/master | 2020-04-19T15:12:56.562307 | 2018-06-03T06:24:37 | 2018-06-03T06:24:37 | 66,996,085 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | //
// main.cpp
// leetcode414
//
// Created by 萧天牧 on 17/8/16.
// Copyright © 2017年 萧天牧. All rights reserved.
//
#include <iostream>
#include <vector>
#include <queue>
#include <map>
using namespace std;
int thirdMax(vector<int>& nums) {
priority_queue<int> a;
map<int,int> mp;
for(auto n : nums){
... | [
"danache@126.com"
] | danache@126.com |
0291527cc1442607e6ac8fe22f07e47e8fe7b59e | 253e782c6cfb45ef6e7761c23fb12df8717e783f | /Chapter02/Source/Chapter2/UserProfile.cpp | 699d8e804384d8a38e87b8813e0c1c760a175b37 | [
"MIT"
] | permissive | sunithshetty/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook | 548639184020fbd483e1bebb15ffd93f377408bd | 0b78eed3f712bf2965a981b28801da528b4231bf | refs/heads/master | 2021-01-11T04:41:18.777016 | 2016-10-17T09:11:29 | 2016-10-17T09:11:29 | 71,113,373 | 13 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Chapter2.h"
#include "UserProfile.h"
| [
"packt.suniths@gmail.com"
] | packt.suniths@gmail.com |
4962a351703e049a98776deb64d584d45dc33bcd | e2eac5e18d38c399e85f8d23c47b5bbec485ea49 | /SVG_TriangleFollow/ReadGlobalData.cpp | f403ff695a9ebbe0de93173266e3eef3275f2912 | [] | no_license | dwpaley/LatticeRepLib | 5cadeadc26e20383d73b4ae9d3735f0f5b374346 | 320c40916e7de7a582c268b2d5a78d1c3448556d | refs/heads/master | 2023-04-22T17:00:51.436160 | 2021-05-14T18:51:41 | 2021-05-14T18:51:41 | 366,528,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,095 | cpp |
#include "ReadGlobalData.h"
#include "GlobalTriangleFollowerConstants.h"
#include "LRL_RandTools.h"
#include "LRL_StringTools.h"
#include "LRL_ToString.h"
#include "Theta.h"
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstddef>
#include <iostream>
#include <it... | [
"larry6640995@gmail.com"
] | larry6640995@gmail.com |
24b4a53cc92883e5c00d403c78ff499e27908585 | 4f4c40fd67cfccf81fc83868258a0e45273126f6 | /PrioEngineStaticLibrary/Engine/RefractReflectShader.h | f633f6604bcf7b83af5529bea0e9b803571fc918 | [
"Apache-2.0"
] | permissive | SamConnolly94/PrioEngineStaticLibrary | 9319ec64bb3f2817fbe28bae6ca3e63603fbe964 | f9be61923a08a3a6e4d3e09a11f0f9479975ab4a | refs/heads/master | 2021-01-11T08:18:46.243436 | 2017-03-31T15:31:21 | 2017-03-31T15:31:21 | 72,927,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,460 | h | #ifndef REFRACTIONSHADER_H
#define REFRACTIONSHADER_H
#include "Shader.h"
#include "Light.h"
class CReflectRefractShader :
public CShader
{
private:
struct ViewportBufferType
{
D3DXVECTOR2 ViewportSize;
D3DXVECTOR4 viewportPadding1;
D3DXVECTOR2 viewportPadding2;
};
struct LightBufferType
{
D3DXVECTOR4 A... | [
"samconnolly94@gmail.com"
] | samconnolly94@gmail.com |
e785ee15d48ed0dfce0a6e8244df2276362cf059 | 2048a4ad9c500061bbd9fbe4f76cb6f1beb8686d | /third-party/armadillo_bits/Cube_bones.hpp | 4362331a9f0e7b1ed902a7aa818964d729eb311a | [
"MIT"
] | permissive | joshloyal/drforest | ed054f9527553958b7cfefa48cbe04fb7948be55 | d66c1b1cd7640520ee071e2cb1448ef915d7d86b | refs/heads/main | 2023-04-06T20:30:49.902197 | 2023-03-08T22:17:56 | 2023-03-08T22:17:56 | 341,343,329 | 9 | 0 | MIT | 2021-12-31T21:26:04 | 2021-02-22T21:32:37 | Jupyter Notebook | UTF-8 | C++ | false | false | 26,165 | hpp | // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// 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... | [
"jloyal25@gmail.com"
] | jloyal25@gmail.com |
bc060643993e5c4ec64bb476222206fb84114000 | 9ffc3deb77c4e98e009e49324458179a59f8b2d5 | /inc/oni-core/entities/factory/client/oni-entities-factory-client.h | 28ad01bc10576a5e7d5b345d704321db13687715 | [
"MIT"
] | permissive | sina-/oni | befe59437628811a6b62c4c425138fd4f9d23b75 | 95b873bc545cd4925b5cea8c632a82f2d815be6e | refs/heads/master | 2021-06-04T23:50:25.188350 | 2020-10-05T13:32:08 | 2020-10-05T13:32:08 | 112,530,006 | 2 | 1 | MIT | 2019-11-24T12:55:15 | 2017-11-29T21:30:02 | C++ | UTF-8 | C++ | false | false | 535 | h | #pragma once
#include <oni-core/entities/oni-entities-factory.h>
#include <oni-core/graphic/oni-graphic-fwd.h>
namespace oni {
class EntityFactory_Client : public EntityFactory {
public:
EntityFactory_Client(FontManager &,
TextureManager &,
Z... | [
"sina.tamanna@gmail.com"
] | sina.tamanna@gmail.com |
d357f9789a748407663aa346bd56a6fea03d4588 | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/hyperCavity/test_case/0.00032/boundaryU | bf0c150dc587bde1c3f2df2e046a58011010534d | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
3288481f8f0b7dfdc60d8107a29953c6e50f734c | e94caa5e0894eb25ff09ad75aa104e484d9f0582 | /data/l7/mp2/cbh/AB/cc-pVTZ/restart.cc | 4ec460bc18806346b6dd7c5cddd24ae662a76dea | [] | no_license | bdnguye2/divergence_mbpt_noncovalent | d74e5d755497509026e4ac0213ed66f3ca296908 | f29b8c75ba2f1c281a9b81979d2a66d2fd48e09c | refs/heads/master | 2022-04-14T14:09:08.951134 | 2020-04-04T10:49:03 | 2020-04-04T10:49:03 | 240,377,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cc | $chkbas= 89375.9720571813
$nucrep= 3874.31352836909
$chkaux= 572449562.122813
$chkupro= 1.00000000000000
$chkipro= 2.00000000000000
$chklasrep= 1.00000000000000
$chkisy6= 4.00000000000000
$chkmos= 418.806003435638
$chkCCVPQ_ISQR= 7303.41627926526
$chkbqia= 154.417005677530
$chkr0... | [
"bdnguye2@uci.edu"
] | bdnguye2@uci.edu |
cff8bebf1c19bb681d0302bfc0eaefc43646aa77 | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blaze/math/expressions/CrossExpr.h | 84e886c3deb68f3869b234d377e45384067a837f | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 3,515 | h | //=================================================================================================
/*!
// \file blaze/math/expressions/CrossExpr.h
// \brief Header file for the CrossExpr base class
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can ... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
7a864b7ea2f1b0e5bb574ecc7776f2cf60ccc03c | 948414e696951797a2c79b6c4dcbee888ca59b27 | /Responsi_1/3/main.cpp | 4df866797bfc28191173db6944dd6eadce2a4f9d | [] | no_license | owencwijaya/IF2210_OOP | 402c98cb02e83b3d6c14e42e1035276414adadf2 | 5c7429251de588c20f3253faf2009f1870d9fa4f | refs/heads/main | 2023-04-05T07:21:19.679577 | 2021-04-22T07:54:50 | 2021-04-22T07:54:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | cpp | /*new empty box 2
new empty box with default id 0
new empty box 1
assign box 0 <- 2
copy box 1
box 2
box 1
destroy box 2
destroy box 1
destroy box 1
destroy box 2*/
#include "Box.hpp"
using namespace std;
int main(int argc, char const *argv[])
{
Box * b1 = new Box(2);
Box * b2 = new Box();
Box * b3 = new... | [
"leo.matt.547@gmail.com"
] | leo.matt.547@gmail.com |
33e21a92fa8efe6c4c90debbddf96444df0b7129 | b1cca159764e0cedd802239af2fc95543c7e761c | /ext/libgecode3/vendor/gecode-3.7.3/gecode/int/exec.cpp | a6410631ce30793384930405af522d221a8edca2 | [
"MIT",
"Apache-2.0"
] | permissive | chef/dep-selector-libgecode | b6b878a1ed4a6c9c6045297e2bfec534cf1a1e8e | 76d7245d981c8742dc539be18ec63ad3e9f4a16a | refs/heads/main | 2023-09-02T19:15:43.797125 | 2021-08-24T17:02:02 | 2021-08-24T17:02:02 | 18,507,156 | 8 | 18 | Apache-2.0 | 2023-08-22T21:15:31 | 2014-04-07T05:23:13 | Ruby | UTF-8 | C++ | false | false | 2,698 | cpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2009
*
* Last modified:
* $Date: 2010-03-04 03:40:32 +1100 (Thu, 04 Mar 2010) $ by $Author: schulte $
* $Revision: 10365 $
*
* ... | [
"dan@getchef.com"
] | dan@getchef.com |
fafea8aff989f8de566d7e5ec2e774a8de5ea97b | 9ca6885d197aaf6869e2080901b361b034e4cc37 | /EventFilter/EcalRawToDigiDev/src/DCCSCBlock.cc | f4ed0db84e01ef7c77f9ebcf3e94673ba3804b87 | [] | no_license | ktf/cmssw-migration | 153ff14346b20086f908a370029aa96575a2c51a | 583340dd03481dff673a52a2075c8bb46fa22ac6 | refs/heads/master | 2020-07-25T15:37:45.528173 | 2013-07-11T04:54:56 | 2013-07-11T04:54:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,046 | cc | #include "EventFilter/EcalRawToDigiDev/interface/DCCSCBlock.h"
#include "EventFilter/EcalRawToDigiDev/interface/DCCEventBlock.h"
#include "EventFilter/EcalRawToDigiDev/interface/DCCDataUnpacker.h"
#include <stdio.h>
#include "EventFilter/EcalRawToDigiDev/interface/EcalElectronicsMapper.h"
DCCSCBlock::DCCSCBlock( DCC... | [
"sha1-503ed86a7512692e45da5b2d6fd04f9879577ff8@cern.ch"
] | sha1-503ed86a7512692e45da5b2d6fd04f9879577ff8@cern.ch |
e7fb9775199e00c61e0f5ca0d452e7e09d3080fc | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/net/unimodem/src/umcfg/docomm.cpp | 7c174c826a4694d4eb829cbecaa0a3acf35be307 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | //****************************************************************************
//
// Module: UMCONFIG
// File: DOCOMM.C
//
// Copyright (c) 1992-1996, Microsoft Corporation, all rights reserved
//
// Revision History
//
//
// 10/17/97 JosephJ Created
//
//
// COMM-related utilities
/... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
5144527a1f52fbf68cb1926064c29583e5158137 | a3b0944fb4832c89e8697c506445bcdfd9bb5032 | /src/secs/BS2Int2.cpp | 85920033e4639877f7495aeb7238a73a9426653b | [] | no_license | newslime/EAP_Emulator-1.4 | 5411c96771f382ad16a35069f23ae007da8fbd46 | 13b7e985c5759b7493251e3c09cc16215033b571 | refs/heads/master | 2021-08-23T19:37:58.872816 | 2017-12-06T07:50:36 | 2017-12-06T07:50:36 | 113,285,909 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,292 | cpp | // $Id: BS2Int2.cpp,v 1.6 2004/06/20 15:23:40 fukasawa Exp $
//=============================================================================
/**
* @file BS2Int2.cpp
*
* @author Fukasawa Mitsuo
*
*
* Copyright (C) 1998-2004 BEE Co.,Ltd. All rights reserved.
*
* This program is free software; you can red... | [
"g9783006@gmail.com"
] | g9783006@gmail.com |
910fa2a2e6c4f6fc0ecb882c6db8bb23ebbdf47a | 7a92e39f0cbb62bf4e480ea33faa90f2dd9f42a4 | /src/physics.cpp | 5b5177ab647b90416be36b0b5de22f01abe06e03 | [
"MIT"
] | permissive | Ogravius/CarGame | e2c686866e27c2f5668be021f70138d00ee27a4a | af7329780e55e550dd787f6dd233bb7a079a7d84 | refs/heads/master | 2022-11-03T05:00:31.858626 | 2017-10-25T00:03:20 | 2017-10-25T00:03:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,892 | cpp | #include "physics.h"
#include <iostream>
//!< Initializer
Physics::Physics()
{
//Initialize all variables
position = m_vectMaths.zero();
velocity = m_vectMaths.zero();
friction = m_vectMaths.zero();
direction = m_vectMaths.zero();
rotationAndDirection = m_vectMaths.zero();
fSpeed = 0.f;
fMass = 0.f;
fAngle = ... | [
"jerzysciechowski345@gmail.com"
] | jerzysciechowski345@gmail.com |
cda46bf992314d5bbd846c7fa830fafced7d6384 | ce8feac87157333d43ec8bed2391f22cfd5ec6fb | /src/main/include/tigertronics/Util.h | e9b0037fdf011e191506600f2a889c1dc0c0c5d6 | [
"MIT"
] | permissive | frc2053/Robot2020 | 8b58d7049f566ca3042a6a5d4c4d82b6e297162f | 021fae6f8cfc412bb645a4c50c7b4cd9e65e6524 | refs/heads/master | 2022-04-08T01:59:33.494417 | 2020-03-10T01:26:16 | 2020-03-10T01:26:16 | 210,482,731 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | h | #pragma once
class Util {
public:
Util();
static double map(double x, double in_min, double in_max, double out_min, double out_max) {
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
};
};
| [
"williams.r.drew@gmail.com"
] | williams.r.drew@gmail.com |
1f6f7217c35d152e746f87f1090265691ad5106b | d8bab638248606cb91fd9d9e87983b5a5e018130 | /LeetCode/LeetCode 47. 全排列 II (dfs + 全排列).cpp | 5496dd975020703cb952e2280165b5d3a25de9ef | [] | no_license | ning2510/Think-twice-Code-once | cbb8c06a6b55b6c74e4361ecf879b14b0a0e74de | 45e2fb2448cd85df451722e562fc146db5910cde | refs/heads/master | 2023-01-01T00:04:47.509070 | 2020-10-24T07:01:07 | 2020-10-24T07:01:07 | 264,395,014 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | class Solution {
public:
int n;
vector <int> ss;
vector <vector<int>> ans;
void dfs(int x, vector<int>& vis, vector<int>& nums) {
if(x == n) {
ans.push_back(ss);
return ;
}
for(int i = 0; i < n; i++) {
if(vis[i] || (i > 0 && nums[i] == nums[i ... | [
"1367560112@qq.com"
] | 1367560112@qq.com |
be3f4e5e8b5c34cbd96f12bf542f1dd0b46e5d8d | 86495384057c4a9428f654ff96f2fe620db21484 | /libs/python35/src/main.cc | 0739845985d3b7677d83146f7275e8aa339c964c | [
"MIT"
] | permissive | taubenangriff/anno1800-mod-loader | f121831824dfe91fb0e3830f3f57f461612d0ad6 | 34179ab742460db257f957c714199a19300d6a27 | refs/heads/master | 2022-12-11T22:12:14.444771 | 2022-12-07T22:39:21 | 2022-12-07T22:39:21 | 232,338,359 | 0 | 1 | MIT | 2020-10-19T13:01:35 | 2020-01-07T14:09:58 | C++ | UTF-8 | C++ | false | false | 17,672 | cc | #include "interface.h"
#include "version.h"
#if defined(INTERNAL_ENABLED)
#include "libs/internal/debuggable/include/debuggable.h"
#endif
#include "libs/external-file-loader/include/external-file-loader.h"
#include "libs/external-file-loader/include/mod_manager.h"
#include "nlohmann/json.hpp"
#include "spdlog/sinks/... | [
"alexander@guettler.io"
] | alexander@guettler.io |
1ce22123e5d5a0c334beaf163c1f6f90bf5bc126 | 6f286be4a4e16867cc6e488080b8e3eced1dcd62 | /src/TsvInfo/main.cpp | 6a239b6077e0276a3a4184045a3c6cc785dc6777 | [
"MIT"
] | permissive | imgag/ngs-bits | 3587404be01687d52c5a77b933874ca77faf8e6b | 0597c96f6bc09067598c2364877d11091350bed8 | refs/heads/master | 2023-09-03T20:20:16.975954 | 2023-09-01T13:17:35 | 2023-09-01T13:17:35 | 38,034,492 | 110 | 36 | MIT | 2023-09-12T14:21:59 | 2015-06-25T07:23:55 | C++ | UTF-8 | C++ | false | false | 1,675 | cpp | #include "ToolBase.h"
#include "TSVFileStream.h"
#include "Helper.h"
#include "BasicStatistics.h"
#include <QFileInfo>
#include <QBitArray>
class ConcreteTool
: public ToolBase
{
Q_OBJECT
public:
ConcreteTool(int& argc, char *argv[])
: ToolBase(argc, argv)
{
}
virtual void setup()
{
setDescription("Print... | [
"marc.sturm@med.uni-tuebingen.de"
] | marc.sturm@med.uni-tuebingen.de |
1e6119f6c7c6f2cd70f33af9a926f3729187d435 | 90047daeb462598a924d76ddf4288e832e86417c | /components/sync/base/immutable_unittest.cc | 6c8d2a89674ba008d277cb2aba41b0271a1c1001 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 5,979 | cc | // 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.
#include "components/sync/base/immutable.h"
#include <cstddef>
#include <deque>
#include <list>
#include <set>
#include <string>
#include <vector>
#... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
adda1afe2a6f1d699f7ae8206d5060a928b2a795 | 76f7769dc73de95f01fd06f739c3436238ab8e9b | /ConsoleApplication2GLES/angle/include/GLES2/gl2ext_explicit_context_autogen.inc | 8d4ca29379fc486ea89e267ad6604c193f9903c8 | [] | no_license | commshare/testAngleES | 720548aa5a2103d47721d8eb1e47aecdaa119a39 | 628025e64a4ce2034e1a941cd9124aa41f46f90e | refs/heads/master | 2020-04-25T22:49:49.580473 | 2019-06-18T04:27:10 | 2019-06-18T04:27:10 | 173,124,373 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96,131 | inc | // GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// gl2ext_explicit_contex... | [
"ixiaomo@betofly.cn"
] | ixiaomo@betofly.cn |
6258f1834edd8b15fdec13beae63556e1c68fd02 | 5e1f5f2090013041b13d1e280f747aa9f914caa4 | /src/lib/storage/vfs/cpp/paging_test.cc | 989eee1720416a39887ede6c9c9ce1b1240addf9 | [
"BSD-2-Clause"
] | permissive | mvanotti/fuchsia-mirror | 477b7d51ae6818e456d5803eea68df35d0d0af88 | 7fb60ae374573299dcb1cc73f950b4f5f981f95c | refs/heads/main | 2022-11-29T08:52:01.817638 | 2021-10-06T05:37:42 | 2021-10-06T05:37:42 | 224,297,435 | 0 | 1 | BSD-2-Clause | 2022-11-21T01:19:37 | 2019-11-26T22:28:11 | C++ | UTF-8 | C++ | false | false | 12,503 | cc | // Copyright 2021 The Fuchsia 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 <fcntl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/fdio/fd.h>
#include <lib/sync/completion.h>
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
10050d6519aa2c127ae563ab50075366b1d79328 | 6b712eda6ced44a993d1f16f203d643c8a0cf0b5 | /work/SimPack/SimApp.h | e1e97902fcb768825d06f0346337a87e976ce5f5 | [] | no_license | Liima/cplusplus | 5b1dadfc0b03fd005270168829444dd361d733fb | dd3524cd77deac85233eaa79c6834807bebb38a7 | refs/heads/master | 2021-01-01T10:37:40.182550 | 2015-04-16T06:54:12 | 2015-04-16T06:54:12 | 33,733,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | h |
#ifndef SIMAPP_H
#define SIMAPP_H
#include <gtkmm.h>
#include <string>
#include <iostream>
#include "RoguePlayground.h"
#include "TimeKeeper.h"
#include "ZoomWindow.h"
class SimApp : public Gtk::Application, public TimeKeeper
{
public:
SimApp(int argc, char *argv[], string title, int w, int h);
virtual ~SimApp()... | [
"nards8@gmail.com"
] | nards8@gmail.com |
a3408658d0968fc61866f3a7a59738a5dab012b2 | 31e50c93e19fc0f0408e64e0bccb53eb09a08215 | /Recursion/rev_stack.cpp | 0a368fd21356ce1ba8f6d856fbf940365df30cc7 | [] | no_license | goyalmayank522/Recursion-Stack-Heap | 056f3ab2901e4aa96377d4f3b572906bba408807 | ea491ffdc91ad1c3820ce7379011a9e7477c44b5 | refs/heads/master | 2022-12-09T03:42:03.480009 | 2020-09-18T18:34:26 | 2020-09-18T18:34:26 | 295,805,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | #include<iostream>
#include<stack>
using namespace std;
void insert(stack<int> &arr,int temp){
if(arr.empty()){
arr.push(temp);
return;
}
int val=arr.top();
arr.pop();
insert(arr,temp);
arr.push(val);
return;
}
void rev_arr(stack<int> &arr, int temp){
if(arr.size()==1 |... | [
"goyalmayank522@gmail.com"
] | goyalmayank522@gmail.com |
5f6bedda5f6386e9e98406103e07381f31e892d0 | 0c338278efe932234fd1c49e882d258017041515 | /psx/octoshock/psx/input/justifier.h | 735878a1dc35bd2dd5a89c1259511817ff111d42 | [] | no_license | cyndyishida/BizHawkEmulator | 49b9e50760664d6364a1e1c2b0e41b9d227ccc39 | c03dc523a5e616ca3427955be4801ca866ba8ac5 | refs/heads/master | 2021-01-11T18:54:19.176608 | 2017-05-11T18:42:52 | 2017-05-11T18:42:52 | 79,653,122 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | h | #ifndef __MDFN_PSX_INPUT_JUSTIFIER_H
#define __MDFN_PSX_INPUT_JUSTIFIER_H
namespace MDFN_IEN_PSX
{
InputDevice *Device_Justifier_Create(void);
}
#endif
| [
"ishidacy@msu.edu"
] | ishidacy@msu.edu |
caeb331dcede25eaa60bd10b65d065adceb49eff | 49f394ccd6c3729e9c382a3fe09415344ca98874 | /automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-color-controller.cpp | f24bc44c111bd5e1ede051dc106d7ad3c3940c0f | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | dalihub/dali-toolkit | 69ccb4c71904fdc9f1d88e0a1fedeaa2691213f8 | 4dec2735f5e5b5ed74f70a402c9a008d6c21af05 | refs/heads/master | 2023-09-03T05:02:34.534108 | 2023-09-01T14:02:39 | 2023-09-01T14:02:39 | 70,086,454 | 8 | 12 | NOASSERTION | 2020-08-28T14:04:59 | 2016-10-05T18:13:51 | C++ | UTF-8 | C++ | false | false | 2,437 | cpp | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | [
"david.steele@samsung.com"
] | david.steele@samsung.com |
0f79a0a616d31aee6e3fb17d017a4bbb607e793c | c9b2a1b6cf254273cc4705f31916c4942fd6f47f | /matt_daemon/Common/common.hpp | 2f5420cb392fc27744e233baee78c26e8d91c601 | [] | no_license | gbourgeo/42projects | cb4141026a2572c04a6e9820fe2d1a7319ac3225 | 3127c9e74ff8ec6d00be3f7d449f3469d56bdb86 | refs/heads/master | 2021-01-17T02:58:20.156155 | 2020-09-08T12:00:52 | 2020-09-08T12:00:52 | 58,766,253 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | hpp | // ************************************************************************** //
// //
// ::: :::::::: //
// common.hpp :+: :+: :+: ... | [
"gillesbourgeoi@gmail.com"
] | gillesbourgeoi@gmail.com |
34dbb91ade86f8103b11b5421318ef7f4b287f2c | 1ac579bd595d847af499dcd5a7200738016336ff | /src/editor/linux/platform_interface.cpp | 4b6126839c30ff9a8c1d79d842278e5ade0a7c07 | [
"MIT"
] | permissive | PeaceSells50/LumixEngine | 33b6f5932b6566dc1b08e7c92f1886c1185fdc98 | 80ae4eb7e9e0522fffd7357c795cf81c26729965 | refs/heads/master | 2021-01-18T12:53:38.937823 | 2016-06-01T08:37:57 | 2016-06-01T08:37:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,939 | cpp | #include "platform_interface.h"
#include "engine/command_line_parser.h"
#include "engine/iallocator.h"
#include "engine/string.h"
#include "imgui/imgui.h"
#include <cerrno>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <dirent.h>
#include <fcntl.h>
#include <sys/sendfile.h>
#include <sys/stat.h>
#inc... | [
"mikulas.florek@gamedev.sk"
] | mikulas.florek@gamedev.sk |
ecd26f3a2ab9d78422fb18a0fab3f234aebbc6a4 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/10_9650_76.cpp | 4fcd42ae068d0c29de9d1792521c31cbb3beab0c | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | cpp | def euclid_gcd(a,b):
while True:
if a > b:
c = a
a = b
b = c
while b >= a:
if a == 0:
return b
b = b % a
if b == 0:
return a
def main():
fname = 'B-small-attempt0'
outfile = open(fname + '.out','w')
infile = open(fname + '.in','r')
cases_str = infile.readline()
cas... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
a4a95d8f04c2c1bc0cc4af0b85f1623263f75969 | ca920e25a81c87623af1a2e3936733796d9c9cd0 | /include/operation_panel/master_slave_panel.h | 1988ed86cec8fecfad39f02a8095372e02b4e11c | [] | no_license | svyatoslavdm/operation_panel | 6cb6feec443643089bb4d3eb0327eb8af5f44099 | 83055bad86f5d9226884c0b478f534cbc06d07ae | refs/heads/master | 2020-12-25T09:57:34.498769 | 2016-06-24T12:12:44 | 2016-06-24T12:12:44 | 61,882,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 947 | h | #ifndef MASTER_SLAVE_PANEL_H
#define MASTER_SLAVE_PANEL_H
#include <sstream>
#include <fstream>
#include <iostream>
#include <string.h>
#include <thread>
#include <ros/ros.h>
#include <rviz/panel.h>
#include <stdio.h>
#include <operation_panel/GUI/MasterSlaveGUI.h>
#include <operation_panel/ActionClients/ActionMast... | [
"svyatoslavdm@gmail.com"
] | svyatoslavdm@gmail.com |
a6cdefca2d561f6be625f98a4ba1ed66f66d2c9c | 21a55f7b2d3b264296b0cd3ad8baabee600e2680 | /lib/logxchecker/state_machine/TxTransitions.h | 7e96e57d96d4515cd723562bbe52cb26e3003b33 | [
"MIT"
] | permissive | epfl-vlsc/NVMOrdering | 1fba4a670c44f152c59eb45d7c3ae6591f7c73a4 | 09ca83b9efbf4eedcef9cb1f42645ae0965f291a | refs/heads/master | 2022-01-30T11:22:20.985854 | 2019-06-18T20:50:25 | 2019-06-18T20:50:25 | 174,121,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | h | #pragma once
#include "Common.h"
#include "LogState.h"
#include "StateInfo.h"
namespace clang::ento::nvm::TxSpace {
bool inTx(ProgramStateRef& State) {
unsigned txCount = State->get<TxCounter>();
DBG("inTx:" << txCount)
return txCount > 0;
}
void checkTx(StateInfo& SI) {
ProgramStateRef& State = SI.State;
... | [
"davidteksenaksun@gmail.com"
] | davidteksenaksun@gmail.com |
0c92fd7b3beaaf0ecb030377184d7b026c7e637a | 3afbf5e6f8875bbf36e63828f7ee482715392e08 | /ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc | 5e3f0a1f59b3d466b87b4827e8434b1c5ce6f1ea | [
"BSD-3-Clause"
] | permissive | afuhrtrumpet/chromium | fc5320c7fb8923e835f519c1de1e77bfa791ae1f | 4526729e425b7a90c2725586dbd61e1c397cc308 | refs/heads/master | 2021-01-24T17:16:29.980646 | 2015-09-01T20:26:17 | 2015-09-01T20:26:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,281 | 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 "ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.h"
#include "base/bind.h"
#include "ui/ozone/platform/drm/gpu/crtc_controller.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
32394264fadc2fce71d5c2a6fe8aa42a0884361d | 270dfd65d4cf9c27cc5acb16e741e6e36b7d6a41 | /source/steering.cpp | 13511d7e84e9c9d510a09d04ed102e361aa19459 | [] | no_license | sshedbalkar/ZhengGame | e93fcd42a9e4b3f36fb652366454414fad81b462 | 0488645f48718182c64209a02ad5faf4487fc830 | refs/heads/main | 2022-12-28T15:48:14.726521 | 2020-10-10T15:40:04 | 2020-10-10T15:40:04 | 302,932,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include "steering.h"
#include "transform.h"
#include "composition.h"
#include "movement.h"
//===========================================
Steering::Steering() : Component( CT_Steering )
{
velocity.x = 0.0f;
velocity.y = 0.0f;
accel.x = 0.0f;
accel.y = 0.0f;
rotation = 0.0f;
max_speed = 4.0f;
}
/... | [
"sanoysyg@gmail.com"
] | sanoysyg@gmail.com |
623900237edf75a6a3e98fa7926bb173f942f668 | 0577a46d8d28e1fd8636893bbdd2b18270bb8eb8 | /update_notifier/thirdparty/wxWidgets/src/generic/mask.cpp | 06bc53d9b18590dae21b44d1f40b34a271ea082f | [
"BSD-3-Clause"
] | permissive | ric2b/Vivaldi-browser | 388a328b4cb838a4c3822357a5529642f86316a5 | 87244f4ee50062e59667bf8b9ca4d5291b6818d7 | refs/heads/master | 2022-12-21T04:44:13.804535 | 2022-12-17T16:30:35 | 2022-12-17T16:30:35 | 86,637,416 | 166 | 41 | BSD-3-Clause | 2021-03-31T18:49:30 | 2017-03-29T23:09:05 | null | UTF-8 | C++ | false | false | 2,073 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/generic/mask.cpp
// Purpose: generic wxMask implementation
// Author: Vadim Zeitlin
// Created: 2006-09-28
// Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
/////... | [
"mathieu.caroff@free.fr"
] | mathieu.caroff@free.fr |
8dc7719780698e6465a6dc1d0de8ba5a49c55366 | 704a3d1a8bfe45d5295a35088ccb47d024f61383 | /code/TweeZcodeCompiler/main/test/Test.cpp | d70d8fe40e4bab5537df85109f9930923f689095 | [
"MIT"
] | permissive | TweeZcodeCompiler/twee_zcode_compiler | 8e4593fca25a3b43848ef24917b33775139847e3 | 4932fd07d5aadc5ea38afcdc4019586bbb9fa696 | refs/heads/master | 2021-05-01T13:46:33.990199 | 2015-07-17T02:54:56 | 2015-07-17T02:54:56 | 34,463,574 | 5 | 0 | null | 2015-07-17T01:25:47 | 2015-04-23T15:08:06 | HTML | UTF-8 | C++ | false | false | 3,540 | cpp | // for specification see Test.h
// Created by philip on 31.05.15.
//
#include "Test.h"
#include <iostream>
#include <sstream>
using std::cout;
using std::string;
std::vector<Test *> Test::tests = std::vector<Test *>();
std::vector<string> Test::names = std::vector<string>();
int Test::numberOfFailedTests = 0;
int Te... | [
"philip.schmiel@fu-berlin.de"
] | philip.schmiel@fu-berlin.de |
39251c46683ecbd6b3789982c86c064fdab32027 | 7c61d537b17477851776c4f4a43ac1e0f764c348 | /src/caffe/test/test_convolution_layer.cpp | 67d41fff844b2bba65927fe666f17224a91b13ae | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | s9xie/hed | 2cd0ceac80e8cfdfdba36d0bdbee162827141a38 | 912632b986acc6dd6cc33b95603b2f279d7bd9f2 | refs/heads/master | 2023-04-09T23:08:28.872410 | 2023-03-27T20:39:10 | 2023-03-27T20:39:10 | 43,477,752 | 1,832 | 632 | NOASSERTION | 2019-05-24T16:16:59 | 2015-10-01T04:07:31 | C++ | UTF-8 | C++ | false | false | 27,169 | cpp | #include <cstring>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/vision_layers.hpp"
#include "caffe/test/test_caffe_main.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
namespace caffe {
// Reference convolution ... | [
"s9xie@eng.ucsd.edu"
] | s9xie@eng.ucsd.edu |
77dd233e6886cead045beb4d009189df6ac6a5fc | 4cd32ca72816504c5e00769cf8e6fc38b64081bd | /BaseProject/Game/Paddle.hpp | a3ad9e9313dba57716a24eeee7e3161178d767fe | [] | no_license | Millsy242/Pong | bdebf6eb22ed614e4e183e87506bb3e5e89dea88 | adb58ee775a7d5eab78c8abd4c13be6a40d0df41 | refs/heads/master | 2020-12-20T09:18:19.570470 | 2020-02-04T18:00:23 | 2020-02-04T18:00:23 | 236,025,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,584 | hpp | //
// Paddle.hpp
// Pong
//
// Created by Daniel Harvey on 12/01/2020.
// Copyright © 2020 Daniel Harvey. All rights reserved.
//
#ifndef Paddle_hpp
#define Paddle_hpp
#include "Base.hpp"
class Ball;
class Paddle : public Base
{
public:
Paddle();
~Paddle();
void Start() override;
void Update()... | [
"dhmillsy6@gmail.com"
] | dhmillsy6@gmail.com |
08b46bd51dbd5b05b0ef57954b027ef8dbd6ef62 | ec90c91f17d5520a67e1fdd41ecc228877e0c5aa | /test/good/redeclare_after_if.cc | e7434cbc16947a9904bc41a1891cc3be361dde48 | [] | no_license | RyanMillares/Assignment4 | 56fa4524e75616730fe42a6f00d104c7cccd2389 | d2f5f1590a735763d8701e58eecb27ab1ce0be6f | refs/heads/master | 2023-04-30T11:59:52.051655 | 2021-05-18T10:25:39 | 2021-05-18T10:25:39 | 368,359,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cc | int main () {
if (0 <= 2) bool x0 = true ;
else 0 ;
int x0 = 0 ;
printInt(1);
return 0;
}
| [
"rmillares@chapman.edu"
] | rmillares@chapman.edu |
2fc3ac89f6d0ae7fdabd8e9afbb9acf196e93d2b | 084070f46fa046014d3dae7372d50f786dfd4721 | /tests/QwNodePool_test.cpp | 6ed3f29bbec665deae767e8b7a2862e2adebfa98 | [
"MIT"
] | permissive | gmh5225/message-QueueWorld | d5fa2bada5001e89b42c7ee26f5cbd6b32d93154 | 140b82c017521d13fd4292ccd5616ed7fc631bb8 | refs/heads/master | 2023-03-17T05:42:22.644476 | 2019-02-06T03:53:10 | 2019-02-06T03:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | /*
Queue World is copyright (c) 2014-2018 Ross Bencina
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | [
"rossb@audiomulch.com"
] | rossb@audiomulch.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.