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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4a6afd0dbb2b24887a9cc3caa8976abe7192c99 | 15de200912ee399a4871edac1f7ab95b4043a0ab | /ME_Ex/technology/calibration/onlineCalibration/Calibrators/Cam2Cam/egomotionCovarianceMatrices.h | f9e22ef911d73e14d7694272d8a170344071c366 | [] | no_license | Hamzeh-Abuleil/Partial_Run_Validation | b311d57f568b0ede1696e5740ea8256c5f74741e | 6115b6767470bfcfe74beba06dfe44630327f127 | refs/heads/master | 2023-07-08T16:49:02.982073 | 2021-08-10T23:38:41 | 2021-08-10T23:38:41 | 394,223,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | h | /**
* \file egomotionCovarianceMatrices.h
* \brief Returns hard-coded error covariance matrices for various camera types.
*
* \author Amit Hochman
* \date Jan 14, 2019
*/
#pragma once
#include "technology/calibration/onlineCalibration/CalibUtils/calibTypes.h"
#include "technology/calibration/onlineCalibration/On... | [
"hamza.abuleil@mail.huji.ac.il"
] | hamza.abuleil@mail.huji.ac.il |
652c77e37454ba9628a4f84225480f87548419f7 | 80d3d37bb325d22163599fa90ca8de4e89cd4cc9 | /prac/src/neko2.cpp | cd34f422e9ea560d860c7c793ac722399115d188 | [] | no_license | jankenshow/c-_prac | f90428c4222cd405c05e3b4c8d6d0d511cd87daf | 9659153080de060314661333390f967df4c6d27e | refs/heads/master | 2021-01-04T16:53:54.764216 | 2020-02-15T04:28:08 | 2020-02-15T04:28:08 | 240,644,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include <iostream>
#include <string>
using namespace std;
class Neko
{
string name;
public:
Neko(string s) : name(s) {}
void naku() const {
cout << "にゃあ、我輩は" << name << "である。" << endl;
}
};
int main()
{
string s;
cout << "Enter your cat name..." << endl;
cin >> s;
Neko tama(s... | [
"perchon001@gmail.com"
] | perchon001@gmail.com |
42eb02cc6d1f9e4de685f62c4becf809c9b51a56 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-imagebuilder/include/aws/imagebuilder/model/ListContainerRecipesResult.h | 75f920758843c2bbc45169812ce6b83e20ac62c2 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 6,875 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/imagebuilder/model/Conta... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
6788807b6d7a4409e98a1b0b41b6125e1f0d7fa4 | aaefcb0efdb5c0b59d4c3008723949d66d28ddd9 | /Com'O/Com'O IPST 1 2015/Problems/ath12_winning/ath12_winning.cpp | aae15e5e6baa9bc561af34faa00548dd51aa017e | [] | no_license | UtopiaBeam/competitive | cb80aaee773e215eab68f172c173e2ec857b90ff | bf445ecb56c80b35fa915ca7bf0925d398a9c4d7 | refs/heads/master | 2020-03-28T20:25:33.124594 | 2019-10-19T03:43:20 | 2019-10-19T03:43:20 | 149,068,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | #include<cstdio>
int N,M,P;
bool chk(int n,int m,int p){
if(m==0) return (n>0) || (p==P);
bool t=true;
for(int i=1;i<=n-m+1;i++){
if(p+i==P || i==P) continue;
if(p+i<P) t=t && chk(n-i,m-1,p+i);
else if(i>P) t=t && chk(n-i,m-1,0);
else t=t && c... | [
"utopiabeam@gmail.com"
] | utopiabeam@gmail.com |
afd30310a63759e1f1a13e6939df77404db28cce | 3612900e7b184f68a1063f95d1740d004d889bb6 | /checksums.ino | 2511af92fe929d08024c069efb055479d3c9b3b6 | [] | no_license | jordy101091/espdongle_midea | 11d5c742a41fa2da90e035f1b952b863bb644a1b | ab68ee469afe6fe274ec6abd4e9dcba25d14e2c2 | refs/heads/main | 2022-12-30T03:27:50.703374 | 2020-10-10T11:54:21 | 2020-10-10T11:54:21 | 302,889,595 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,737 | ino | static const byte crc_table[] = {
0x00,0x5e,0xbc,0xE2,0x61,0x3F,0xDD,0x83,
0xC2,0x9C,0x7E,0x20,0xA3,0xFD,0x1F,0x41,
0x9D,0xC3,0x21,0x7F,0xFC,0xA2,0x40,0x1E,
0x5F,0x01,0xE3,0xBD,0x3E,0x60,0x82,0xDC,
0x23,0x7D,0x9F,0xC1,0x42,0x1C,0xFE,0xA0,
0xE1,0xBF,0x5D,0x03,0x80,0xDE,0x3C,0x62,
0xBE,0xE0,... | [
"noreply@github.com"
] | jordy101091.noreply@github.com |
f30dad8a2f87b603dd8bcb8c498dd70bbb7bf0ea | bad5993049b554c68cd0be4ce7f5c87576d006e1 | /Greg/Valentine/6/main.cpp | 689af5ae13ca760668e54258d8747a741cc47464 | [] | no_license | artjomjuferov/university | d14fce9f717d6368d1c2a8700a77cb19ababfafc | 7d872af128f820097de4d8b8f98ef4c4ba4c1c08 | refs/heads/master | 2020-12-11T05:38:09.014013 | 2015-05-12T09:24:24 | 2015-05-12T09:24:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,594 | cpp | #include <fstream>
#include <deque>
#include <vector>
#include <algorithm>
#include <math.h>
#define MAX 32767
#define LIM 4
using namespace std;
int main()
{
ifstream in("input.txt");
ofstream out("output.txt");
string a; // incoming row string
vector<int> m; //string as integers, a=1 $=1
vector<in... | [
"derevjaginti@gmail.com"
] | derevjaginti@gmail.com |
bd923cdea8b8d1e06603ec7bd9cd149420da84eb | 7df5760199119393443285e7e03d8ff298081f08 | /main.cpp | ef05625257b18912808a26becba596cd2c7d3d53 | [
"MIT"
] | permissive | isac322/algorithm | f312ac256e9155c1334e937176e32bef5a239719 | 2ad83f0ab9f547fd3ac957b1357d36d2da585e09 | refs/heads/master | 2020-04-05T23:47:56.100317 | 2017-11-09T04:32:47 | 2017-11-09T04:32:47 | 47,831,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,315 | cpp | /*
* JUST FOR TEST!
*/
#include "algorithm/data structure/lazy_propagation_segment_tree.h"
#include "algorithm/data structure/RMQ.h"
#include "algorithm/data structure/segment_tree.h"
#include "algorithm/data structure/union-find.h"
#include "algorithm/etc/fast_specific_digit_count_in_integer(0_to_N).h"
#include "alg... | [
"isac322@naver.com"
] | isac322@naver.com |
020dd74715fcdd74d1b025a80daff7a29beca68d | e79f9aed350ffa9c7548679fb1bfe459d631440a | /src/kinect/lib/densify/depth_densify_fast.h | e8cb1fe939f39342b946459ab330a7dd65b5d836 | [] | no_license | dbonattoj/licornea_tools | 6edcc8ba811064212135d9a6299fb16c3b8ea3d4 | 2e1e1d0d3c0822804dd31cedd459a27f7ff48051 | refs/heads/master | 2021-06-20T13:47:53.915040 | 2017-08-07T16:36:33 | 2017-08-07T16:36:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | h | #ifndef LICORNEA_KINECT_DEPTH_DENSIFY_FAST_H_
#define LICORNEA_KINECT_DEPTH_DENSIFY_FAST_H_
#include "depth_densify.h"
namespace tlz {
class depth_densify_fast : public depth_densify_base {
public:
void densify(const std::vector<sample>& samples, cv::Mat_<real>& out, cv::Mat_<uchar>& out_mask) override;
};
}
#en... | [
"timlenertz@gmail.com"
] | timlenertz@gmail.com |
853721f40e6fc5d5410e25a26a19029e19fd7eff | 3c7d9815ffc36bbdfe41e060f8dc49dacc7e1eb4 | /examples/miniconf_example2.cpp | 7e27bf23cb0dcd3aa83db73035bcd50afb9d52cb | [
"BSD-3-Clause",
"Unlicense",
"MIT"
] | permissive | prostoiChelovek/miniconf | 6703011b81edaf033e5dacf36b77746ba4685fc5 | 8c8219c171f94812fe2152eec4e72803e283fa93 | refs/heads/master | 2022-11-28T13:36:25.138882 | 2020-08-11T15:41:53 | 2020-08-11T15:41:53 | 286,208,950 | 0 | 0 | null | 2020-08-09T09:48:34 | 2020-08-09T09:48:33 | null | UTF-8 | C++ | false | false | 2,631 | cpp | /*
* miniconf example 2
*
* author: Tsz-Ho Yu (tszhoyu@gmail.com)
*/
#include <cstdio>
#include <miniconf.h>
/* Main file */
int main(int argc, char** argv)
{
// create a Config object
miniconf::Config conf;
// Set up program description
conf.description("A simple example for miniconf");
// ... | [
"tszhoyu@gmail.com"
] | tszhoyu@gmail.com |
0c8129933f4c1327db5b4b9056cd902197791d8b | c06392fe44e252fc393adc994d6fda8b5882f1de | /Assignment7ac/Seq.h | f5510b44060265ff30a75bba9213d379b9a661a1 | [] | no_license | kkaran27/Data-Structures-and-Algorithms-CMPE-180-92 | 040b7e2d713e9c3837757d7b81c75da70e57e9e1 | 9cc8bde292dcc8649cb31860a69850df6a350c83 | refs/heads/master | 2020-07-03T07:52:42.677501 | 2016-11-19T06:00:28 | 2016-11-19T06:00:28 | 74,190,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | /*
* Seq.h
*
* Created on: Oct 11, 2016
* Author: Karan
*/
#ifndef SEQ_H_
#define SEQ_H_
#include <iostream>
#include "Box.h"
class Seq
{
public:
Seq(int length);
Seq(const Seq& other);
Seq& operator=(const Seq& other);
~Seq();
int get(int i) const { return 0 <= i && i < len ? boxes[i].va... | [
"kkaran.thakkar@gmail.com"
] | kkaran.thakkar@gmail.com |
7175cf06557083c48ee420d5b132891e625b7bde | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/OxygenSaturationMonitor_classes.h | f99ab549d2e8b0a4748bc71b20c7563a043793d2 | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,412 | h | #pragma once
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass Oxyg... | [
"37065724+Berxz@users.noreply.github.com"
] | 37065724+Berxz@users.noreply.github.com |
6174fd169b0d5b24e6d4f79c109c2762bf81dd35 | 9b3875cddd4ffc30d0cb1148ebb0a1f6a7f0479c | /Common/include/profile.h | 0f3cc173baa2b13a9bbdd6e5cfa0709c75b41bf6 | [] | no_license | smelskiyd/Cryptography | 3889d1b7bd6ef1abfd87fcfac70d1d5fbfcf3cb9 | 0c544bd44c9efa48d46e886e1f57d31c170366dd | refs/heads/main | 2023-04-16T22:56:44.201854 | 2021-05-08T14:30:59 | 2021-05-08T14:30:59 | 365,534,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h | #pragma once
#include <chrono>
#include <iostream>
#include <string>
class LogDuration {
public:
explicit LogDuration(const std::string& msg = "") : message(msg + ": ")
, start(std::chrono::steady_clock::now()) {
}
~LogDuration() {
auto finish = std::chrono::steady_clock::now();
... | [
"daniilsmelskiy@daniil.smelskiy"
] | daniilsmelskiy@daniil.smelskiy |
9069dee1abb6295ae061a357e5b9b127b51dd0ec | f3c7b220985062e2ccd2ebd298e01ece97de4bc9 | /include/worker_handle.h | 4a7bc45cb966e716bb1b3318c5e8593df333f520 | [] | no_license | charles-typ/mind_ae_gam | 76763120bd23952a92e6ea4c5e386d430bc0496f | b95b88744e1ffcbc931e46adf8c832a28aa69434 | refs/heads/master | 2023-07-31T22:32:40.587823 | 2021-09-19T05:49:40 | 2021-09-19T05:49:40 | 398,193,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | h | // Copyright (c) 2018 The GAM Authors
#ifndef INCLUDE_WORKER_HANDLE_H_
#define INCLUDE_WORKER_HANDLE_H_
#include <mutex>
#include <atomic>
#include "lockwrapper.h"
#include "worker.h"
#include "workrequest.h"
class WorkerHandle {
boost::lockfree::queue<WorkRequest*>* wqueue; //work queue used to communicate wi... | [
"yupeng.tang@yale.edu"
] | yupeng.tang@yale.edu |
235b9e06d9381bc40139cb28c9dedba9b0478280 | ab1db695be807a2bf059e4d25e488ebf1fd82dd6 | /GameObject.h | b81a90e07790d75ab0f58c4291268fe861c2b38c | [] | no_license | Bun3/ShootingGame | 8f8c04d1dcbcc7a7e96b53f437e160706e6e638d | e7404b714519772115bc6961b4330f789f1b691f | refs/heads/master | 2022-07-31T01:43:59.219154 | 2020-05-18T00:39:20 | 2020-05-18T00:39:20 | 264,785,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | h | #pragma once
#include "Component.h"
class CSpriteRenderer;
class CTransform;
class CCollider;
class Component;
class GameObject
{
friend class ObjectManager;
private:
bool m_IsDestroy = false;
list<Component*> m_Components;
protected:
OBJTAG* collisionCheckList = nullptr;
public:
GameObject* gameObject = nullp... | [
"dudcks779425@gmail.com"
] | dudcks779425@gmail.com |
2da432032bdc8ac16800f13e99ddcf65b84ccf25 | 4dbcd843b9337c91f9fb7f74077b90e1e8c6d3ca | /Estructura de Datos/Segundo Parcial/HWBinaryTree/Queue.h | b9a3cf89c123d93dd34cd9fb2bfc436cb9bbbd8d | [] | no_license | Biller17/Codigos-Tercer-Semestre | 46a2ba059c0a8f459785799d02dc367a26ae8054 | e013f2ac9ec8e6e056e0439664155559bc1f0b67 | refs/heads/master | 2020-12-25T14:34:05.899999 | 2016-11-23T03:12:40 | 2016-11-23T03:12:40 | 65,778,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | h | /*
Gilberto Echeverria
Implementation of a Queue
*/
#ifndef QUEUE_H
#define QUEUE_H
#include <iostream>
#include "Node.h"
template <class T>
class Queue {
private:
Node<T> * tail;
Node<T> * head;
public:
Queue() { head = nullptr; tail = nullptr; }
Node<T> * remove();
... | [
"abiller95@gmail.com"
] | abiller95@gmail.com |
13c1d1321c321bc125596e6d2833950372889e1b | 16f2d158d90ed9269eba62c2e407e289497d47aa | /salsa.cpp | 032ee674701b751700c23b60c126150573baaf08 | [] | no_license | stjordanis/petya_recovery | 8e8511051e1263f80395c0515486c68d22d93170 | 4b8a70b91db7b0c994db8a778bfaf328fb87050b | refs/heads/master | 2021-06-09T08:35:27.569149 | 2016-09-26T08:45:44 | 2016-09-26T08:45:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,257 | cpp | /**
Original: https://github.com/alexwebr/salsa20
WARNING: This is a vulnerable version of Salsa (reproduced from Petya Red)
*/
#include <stdint.h>
#include <stddef.h>
#include "salsa.h"
static uint16_t rotl(uint16_t value, int shift)
{
return (value << shift) | (value >> (32 - shift));
}
void s20_quarterround(ui... | [
"hasherezade@op.pl"
] | hasherezade@op.pl |
f8522596a4af0c51056f8d78dee4f4c7f9431faa | 6dc49fcfe53353d7688a874ee546d06c37bbab89 | /ExterneReferenz.cpp | 1845053cdf304ca76b0865322e9e781f7b256dd1 | [
"Apache-2.0"
] | permissive | jbxplan/GMLToolbox-src | 00960630bcb5c93ee4d2936f67d5425036525224 | fec35558787db18d222598e376bc7c1071c69a55 | refs/heads/master | 2022-12-01T15:04:09.391922 | 2020-08-10T11:36:41 | 2020-08-10T11:36:41 | 279,293,373 | 0 | 0 | NOASSERTION | 2020-07-13T12:14:11 | 2020-07-13T12:14:11 | null | UTF-8 | C++ | false | false | 147 | cpp | #include "StdAfx.h"
#include <string>
#include <vector>
#include <set>
#include "ExterneReferenz.h"
using namespace XPlanGMLToolbox;
| [
"git@fjkaiser.net"
] | git@fjkaiser.net |
5a9622f6385de82cc440d138af49748cad8e6294 | f8373d35bf4e105aa18eb5efdcee043ae8df5068 | /ProjetsCPP/chordv-code/chordv/src/dialogchorddefinition.h | 18142c6a0977abc052c13151e8d8d58f5bcf1051 | [] | no_license | CALF75/FormationAJC | d05564ba9ae083829f395b4a8394acb71cf7a0be | fbd7ac5c3cc5ae2d31a010d8b163670d2421f01d | refs/heads/master | 2020-04-05T21:59:49.188973 | 2018-12-27T16:35:46 | 2018-12-27T16:35:46 | 157,241,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | h | #ifndef DIALOGCHORDDEFINITION_H
#define DIALOGCHORDDEFINITION_H
#include <QDialog>
#include <QHash>
#include <QGraphicsScene>
#include <QModelIndex>
#include <QSqlTableModel>
#include <QTableView>
#include <QSqlQueryModel>
#include <QLabel>
#include <QPaintEvent>
namespace Ui {
class DialogChordDefinition;
}
clas... | [
"marillierca@gmail.com"
] | marillierca@gmail.com |
40ae09822a08192fbdfd06ba34c2893a1f603f86 | 8164dd9ec33a14acdeda6c148c33de5ff30c91ae | /src/BehavioralPattern/StatePattern/StatePattern/Context.cpp | c52e1d5ba775e4d61ddc1fcac1b485c6e5bf2be0 | [] | no_license | kingdekong/Design-Patterns | a4ff6d5e91d5d401f8de5b2943a2de2d25d3f805 | cf0dc873d92f45d3457405b5dc670f290974eac6 | refs/heads/master | 2020-03-29T08:37:34.061320 | 2018-09-21T08:56:23 | 2018-09-21T08:56:23 | 149,719,919 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include "Context.h"
#include "ConcreteStateA.h"
Context::Context()
{
//default is a
m_pState = ConcreteStateA::Instance();
}
Context::~Context()
{
}
void Context::changeState(State * st)
{
m_pState = st;
}
void Context::request()
{
m_pState->handle(this);
}
| [
"degang_jin@htc.com"
] | degang_jin@htc.com |
6a2901af084dd89bcf47b227cd4634de63fa59b7 | 446fc5f6c7286439d27f75cf5636a488318006cf | /trace_client/platforms/trace_win_file.inl | a9cfb1af1f4c0c0f8ae36d6ea2af2e9d7ef3dd75 | [
"MIT"
] | permissive | barycz/whs-trace | a9a110837271b1035830295f0fbbc5519820bcf9 | e6d5769c2ee2af6d37e00268a54589579ce02df6 | refs/heads/master | 2021-01-17T23:42:57.741482 | 2014-11-06T13:05:34 | 2014-11-06T13:05:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,612 | inl | #define WIN32_LEAN_AND_MEAN
//#define NOMINMAX
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include "trace_win_common.inl"
#include "encode_log.inl"
#include "encode_scope.inl"
#include "encode_setup.inl"
namespace trace {
namespace file {
LONG volatile g_Quit = 0; /// request to quit
HANDLE g... | [
"mojmir_svoboda@users.berlios.de"
] | mojmir_svoboda@users.berlios.de |
4b78e832d4dde9c76ba924340b89a0c8ddedddd0 | 80c732532a172b5d754bf4bc752c6a90a18163fd | /layerNormalizationPlugin.cpp | ed421d858c9a574611da95f4d5e51fc7dd21902a | [] | no_license | xxworkspace/TransformerPlugin | 4733ac06fca58bed7fea7b0c3c44be89be60ef02 | 810a1920465acd4bf74d452d5ac05bc6c3b6a983 | refs/heads/master | 2022-02-21T09:07:26.818040 | 2022-02-07T02:53:06 | 2022-02-07T02:53:06 | 228,605,962 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,729 | cpp | /*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | [
"sunli@bigo.sg"
] | sunli@bigo.sg |
48c7c28923f4a8750e8771c465e3593c4513425e | bb6ebff7a7f6140903d37905c350954ff6599091 | /chrome/browser/extensions/api/terminal/terminal_private_api.cc | 76eb37541f654cd036bd1ac9338b17211c4bfd33 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 7,705 | 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 "chrome/browser/extensions/api/terminal/terminal_private_api.h"
#include "base/bind.h"
#include "base/json/json_writer.h"
#include "base/sys... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
004704abdc8ba0df636e1a726cbc46046817b7df | 17f37b79643b9c6acd181c55c43a3ab4c889433e | /cavity/39.1/phi | 9a27a031c8fd115c8fb52e69b807d9a6f4da3408 | [] | no_license | aashay201297/OpenFOAM-simulations | 5208b766ab1e715178e42c73d028cc43d17ec4c9 | 273f60ef66e6f5b0c99a53ac52de406be0e876a2 | refs/heads/master | 2021-01-23T06:34:17.044650 | 2017-06-04T19:02:27 | 2017-06-04T19:02:27 | 86,373,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,792 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aashay225@gmail.com"
] | aashay225@gmail.com | |
20b0f7eab005de0bde222d2dc51585424dc6ac8f | dd9b5bdca831aa90b6572a59d15a314230cd4e45 | /chef_on_island.cpp | 0f2db03003974b5ee63c6101a340bf3768ae96a7 | [] | no_license | kishankr7979/CP | 62fdea662b391a132cdb2b55dc2a845e44790d53 | 150e304eea519a964d34e4e9ffd49cac5dad5198 | refs/heads/main | 2023-06-18T06:47:52.908559 | 2021-07-17T14:26:25 | 2021-07-17T14:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main()
{
ios_base :: sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int t;
cin >> t;
while (t--)
{
int x, y, xr, yr, d;
int dx, dy, sd;
cin >> x >> y >> xr >> yr >> d;
dx = x / xr;
dy = y / yr;
//cout << dx << " " << dy... | [
"umaidansari123@gmail.com"
] | umaidansari123@gmail.com |
8745882170bee05decdf7716559369e584691ec3 | cf3302a478551167d14c577be171fe0c1b4a3507 | /src/cpp/activemq/activemq-cpp-3.2.5/src/main/activemq/wireformat/openwire/marshal/v6/RemoveInfoMarshaller.h | 478a91a6e1f4369e5f967ebad683c4db25048d18 | [
"Apache-2.0"
] | permissive | WilliamDrewAeroNomos/muthur | 7babb320ed3bfb6ed7905a1a943e3d35aa03aedc | 0c66c78af245ef3b06b92172e0df62eb54b3fb84 | refs/heads/master | 2016-09-05T11:15:50.083267 | 2015-07-01T15:49:56 | 2015-07-01T15:49:56 | 38,366,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,036 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"wdrew@aeronomos.com"
] | wdrew@aeronomos.com |
e6b17788579066da07e09f2766615838cc4f65db | 9071d10416d8ea6b3fa4a00b33bcd76dd0381795 | /29.cpp | 8db2e38cb2fd68ba82ac087dc07dc920317a09b7 | [] | no_license | rkas123/Project-Euler | 4eb1d0cf3bcc1ab5080bc00f293270167e04f171 | d3c38153dcda4d13d1aaff18034a72316291ad0a | refs/heads/master | 2022-06-07T14:55:24.620187 | 2022-05-10T11:43:18 | 2022-05-10T11:43:18 | 249,462,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include <bits/stdc++.h>
#define int long long
using namespace std;
int32_t main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
int a, b;
cin >> a >> b;
vector<int> powercnt(30, 0);
vector<bool> Vis(30 * b... | [
"noreply@github.com"
] | rkas123.noreply@github.com |
f34b04a6ca73481fceb248847df8fe87cb78954a | 5d1a033cf72f630688da2b8de788d1cebf6339e6 | /Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp | 43f4d481706a48b1c3f2a21b61d62d523a997f21 | [] | no_license | jaokim/odyssey | e2115123f75df185fcda87452f455f25907b0c79 | 5ee0f826dd3502f04e077b3df59e3d855c7afd0c | refs/heads/kas1e_branch | 2022-11-07T17:48:02.860664 | 2017-04-05T20:43:43 | 2017-04-05T20:43:43 | 55,713,581 | 2 | 1 | null | 2022-10-28T23:56:32 | 2016-04-07T17:17:09 | C++ | UTF-8 | C++ | false | false | 11,929 | cpp | /*
* Copyright (C) 2012 Samsung Electronics Ltd. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list o... | [
"deadwood@wp.pl"
] | deadwood@wp.pl |
37ba2be50fc1aca98274a9102b31f3d1602b0750 | 857e4b75e4f6e42b649de1b3c77cdc538208e789 | /codechef/LongChallenge/2017/July/CALC4.cpp | eaec572d12292077dc77ed82d3f9ffc7c04c50eb | [] | no_license | devikakrishnadas/OJ-problems | ce82d7f4961ae53d86f58a606fa4c4c13594df74 | 4367da34b2899a8ec8e1fe4b0d382a9d68c60c1e | refs/heads/master | 2021-09-10T09:25:08.568751 | 2018-03-23T13:26:31 | 2018-03-23T13:26:31 | 103,985,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | #include<bits/stdc++.h>
#define ll long long
#define vi vector<int>
#define vc vector<char>
#define vll vector<ll>
#define pb push_back
#define sf scanf
#define ff first
#define M 1000000007
#define ss second
#define pf printf
#define mp make_pair
#define all(V) V.begin(),V.end()
using namespace std;
int main()
{
io... | [
"devikakrishnadas97@gmail.com"
] | devikakrishnadas97@gmail.com |
2114a5033ea74af5f601e83d8f9bbda70ee95434 | fcdb32c44eea517853ee4dd262c8f9c11c4f48c1 | /word_jumble.cpp | ca1e564b96dd3d0d427bd954ca2d20c4a61b5cdd | [] | no_license | RyanFin/Game_Programming_Tutorials | 5a7b5911ea0f8c9474b1570cbb9de22e17f43f30 | 582b4984e1fcbd36ffd2426811e41c2ba296e981 | refs/heads/master | 2022-02-23T02:37:35.863975 | 2018-07-11T10:59:33 | 2018-07-11T10:59:33 | 137,806,447 | 1 | 1 | null | 2022-02-14T08:26:20 | 2018-06-18T21:05:51 | C++ | UTF-8 | C++ | false | false | 1,951 | cpp | // Word Jumble
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace std;
int main(){
enum fields{WORD, HINT, NUM_FIELDS};
const int NUM_WORDS = 5;
// create a two-dimensional array in format - WORDS[x][HINT]
const string WORDS[NUM_WORDS][NUM_FIELDS] = {
{"wall", "Do you f... | [
"21296921@student.uwl.ac.uk"
] | 21296921@student.uwl.ac.uk |
a7316ffe7698e854a8ec898b4df854db8bb340fd | 0fbfa9e3d3c178302a1d0f4df6e22fadb557f408 | /arrayPerformance/src/longArrayPut.cpp | 0cdbe08558ede65205e6baa0db158c94d4465a0b | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | anjohnson/exampleCPP | 4d32a827ac25d2f6735045b7d5bcad9d52bf76df | 3830828e7941c64ed291a34c6faa1984e64e4355 | refs/heads/master | 2021-01-17T21:44:16.596117 | 2016-04-13T16:45:25 | 2016-04-13T16:45:25 | 40,146,361 | 0 | 0 | null | 2015-08-03T20:28:29 | 2015-08-03T20:28:28 | null | UTF-8 | C++ | false | false | 4,073 | cpp | // Copyright information and license terms for this software can be
// found in the file LICENSE that is included with the distribution
/* longArrayPut.cpp */
/**
* @author mrk
* @date 2013.08.09
*/
#define epicsExportSharedSymbols
#include <pv/longArrayPut.h>
namespace epics { namespace exampleCPP { namespace a... | [
"mrkraimer@comcast.net"
] | mrkraimer@comcast.net |
a6c34b78892a240b0682705f3321de43149e395c | 0bde0aa1b3d95ddcc5751ce525f44bb687e0ba59 | /parser.cpp | 6507530a6689489979777c36194726603d1bd9ee | [] | no_license | Voozer/logprog | 0212c27b2d65903960d55de0b8bd59b19a99a5dd | 56ed340046ec132edb1415a539bbb7e49af08ade | refs/heads/master | 2020-08-11T07:08:54.905847 | 2019-10-11T19:52:50 | 2019-10-11T19:52:50 | 214,515,387 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,644 | cpp | //вариант 3: преобразовать файл в формате GEDCOM в набор утверждений на языке Prolog
//с использованием предиката child(ребенок, родитель), male(человек), female(человек)
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
using namespace std;
auto npos = std::string::npos;
struct person {
... | [
"noreply@github.com"
] | Voozer.noreply@github.com |
46d78083a88cebd1b900fd63aa1859a295a71970 | fa636315f1713975f6ce48460d84c92b8492e083 | /BubbleBobble/BubPrefab.h | f265f1b22147303d6fe60451c3a470feae76cd2d | [] | no_license | JorikWeymans/Teiwaz | efe2d05ed58b900479af5e8818cff48d4c11f3ce | 976f75eb0b27ac6487e775d036e9303e975444ab | refs/heads/master | 2022-11-07T02:34:28.577368 | 2020-06-16T21:45:29 | 2020-06-16T21:45:29 | 252,555,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | h | #pragma once
namespace tyr
{
class Scene;
class CharacterControllerComp;
class RigidBodyComp;
}
namespace bub
{
class BubPrefab final
{
public:
~BubPrefab() = default;
static void Generate(tyr::Scene* pScene);
public:
BubPrefab() = delete;
BubPrefab(const BubPrefab&) = delete;
BubPrefab(BubPrefab&&) = ... | [
"jorikweymans@hotmail.be"
] | jorikweymans@hotmail.be |
b9fe33f3359df5b80e1ab42bd3050759ffdcf429 | 25b52864d1de026b090663d130b63e00acb0560f | /MaterialLib/MPL/Medium.h | b7651a4c42fa74683398b5981611534cd4490998 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | kosakowski/OGS6-MP-LT-Drum | f6365f7e38e89c0cffcc8a2d9d848cba1dd5fa31 | 01d8ef8839e5dbe50d09621393cb137d278eeb7e | refs/heads/drum_LT_balance_rebase | 2022-12-19T21:19:52.010498 | 2019-12-10T09:35:28 | 2019-12-10T09:35:28 | 299,912,976 | 1 | 0 | NOASSERTION | 2020-09-30T12:53:14 | 2020-09-30T12:33:38 | null | UTF-8 | C++ | false | false | 2,705 | h | /**
* \file
* \author Norbert Grunwald
* \date 07.09.2017
*
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/lice... | [
"github@naumov.de"
] | github@naumov.de |
8bdc9e8c353198b90549e21a9a2ce5c86db72cba | 9c90b0e6cc94e22bddf9eb90361854bb3d4468b0 | /blur.cpp | cd8448c0f9c8e42393b3da32dc27de4b961806d9 | [] | no_license | acf-patrick/blur-effect | af713daafc5f26e7462a8ee481d1e339c75d2320 | 1010759279e2955bba3e515aec1fa1174fefc901 | refs/heads/master | 2023-06-08T23:25:11.900998 | 2021-06-30T15:21:05 | 2021-06-30T15:21:05 | 379,950,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,973 | cpp | #include "blur.h"
#include <SDL2/SDL_image.h>
#include <iostream>
#include <cmath>
Uint32 getPixel(int x, int y, SDL_Surface* surface)
{
if (!surface)
return 0;
if (x<0 or y<0 or x>=surface->w or y>=surface->h)
return 0;
int bpp = surface->format->BytesPerPixel;
Uint8 *p = (Uint8 *)sur... | [
"miharisoap@gmail.com"
] | miharisoap@gmail.com |
45d4f8f57967748fe3712a953d9a7534f9ebe217 | d18ad9e17134e517879330d15c355b3a3f102615 | /Povosom/src/EditorLayer.cpp | d5f75c5faeec451f74060e35e684609ae186bb72 | [
"Apache-2.0"
] | permissive | PowerOfNames/Povox | 5b21e8057a95ee7f3ed1398bf422863601e8e188 | 9c6e590fe7d5b82fbb0f9c4d0c07821cb9cad0b6 | refs/heads/master | 2023-08-13T21:12:03.425458 | 2023-08-07T13:23:39 | 2023-08-07T13:23:39 | 233,458,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,206 | cpp | #include "EditorLayer.h"
#include "Platform/OpenGL/OpenGLShader.h"
#include <ImGui/imgui.h>
#include <ImGuizmo.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Povox/Utils/PlatformsUtils.h"
#include "Povox/Scene/SceneSerializer.h"
#include "Povox/Math/Math... | [
"PowerOfNames@web.de"
] | PowerOfNames@web.de |
bcce170429c63831e771639d06955bffb6442e2d | 6347aefdd4abcd8ea81a56cf4c660aea8025cc0c | /Move.cpp | d53058917216031b5f58661ff0ae860a0e3f9f48 | [] | no_license | kayibal/chessbot | f20123c92484f88c1f01820a9b056a8cf26e192b | ea43065af6c432df4c9266a9fb4f0d332a799fad | refs/heads/master | 2021-01-19T14:05:16.363007 | 2014-11-13T12:31:54 | 2014-11-13T12:31:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | //
// Move.cpp
// Chess
//
// Created by Alan Höng on 11/11/14.
// Copyright (c) 2014 Alan Höng. All rights reserved.
//
#include "Move.h"
using namespace BitBoard;
Move::Move(){
piece = origin = target = capture = 0;
}
Move::Move(int p, u64 o, u64 t, int c){
piece = p;
origin = o;
target = t;
... | [
"rainer.beckerpgp@googlemail.com"
] | rainer.beckerpgp@googlemail.com |
2a33e0e5610c1f6f2ecd4f6061d7c7bbb1750c11 | 6d0209b62154ea9d61cd0f2a2821818335115074 | /geometry/720.cpp | 278350be29cdfc36504f5f01076c59854eed106a | [] | no_license | oMalyugina/olimpiad_programming | a27fdd8a6d28a13a7e3066ab984d61cb65c3f772 | 346e52e8053bf5042fe0bd27b273da034bb510ed | refs/heads/master | 2021-06-10T19:57:02.705352 | 2021-05-17T12:12:26 | 2021-05-17T12:12:26 | 186,369,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | //
// Created by olga on 22/08/19.
//
#include <iostream>
#include <cmath>
using namespace std;
double c(int a, int b){
return sqrt(a*a*1. + b*b*1.);
}
int main(){
double r, l;
cin >> r >> l;
r = r/l;
int sum = 0;
int prev_h = 0, h = 0;
for (int i = floor(r); i > 0; --i) {
while ... | [
"o.v.malyugina@gmail.com"
] | o.v.malyugina@gmail.com |
ca578a3ba150d31b285546749c32771f5c3ae820 | 722d3f0d999599a708b198e38814c9063452b1b6 | /BOJ/[7578]_공장.cpp | 510ce26fa544e22e0136998cecb4d54c87b9942a | [] | no_license | wuppu/Algorithms | bfa013baa1a55b98ccf1c70bf96c41e66da04963 | 19d36265e30cdf6551121b2b79f1b840c7288171 | refs/heads/master | 2021-07-18T07:05:35.206237 | 2020-09-03T00:50:23 | 2020-09-03T00:50:23 | 208,571,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | cpp | /**
* 백준 7578번 - 공장
*
* TODO:
* 세그먼트 트리 (누적합)
* */
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
const int MAX = 1000001;
int query(vector<int> &tree, int node, int start, int end, int left, int right) {
if (start > right || end < left) return 0;
if (left <= start && end <... | [
"wndud1640@gmail.com"
] | wndud1640@gmail.com |
d9800f4caa4043a90df58e492737b91dfcf84feb | 3ba7a1f77e39fd777db260c4248bd41bc8885c36 | /ShowSort-QuickSort/ShowSort-QuickSort/QuickSort.h | 0a2eedfa56c71699ca4645f16bc6191e140b6ca6 | [] | no_license | yufeiran/ShowSort | 19c6cb54f322d82a7e217c69ae4b19b8dcfa25b3 | b03ec659f5aa6a377d69273c7ac83d0a4f64de4b | refs/heads/master | 2020-05-31T09:09:40.213073 | 2019-06-04T13:32:15 | 2019-06-04T13:32:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,138 | h | #pragma once
#pragma once
#include<Windows.h>
#include<iostream>
#include<time.h>
//用于显示窗体的全局变量
//----------------------------------
const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;
const int bits = 24;
extern BYTE buffer[SCREEN_WIDTH*SCREEN_HEIGHT*bits / 8];
//-----------------------------------
//用于处... | [
"yufeiran1999@gmail.com"
] | yufeiran1999@gmail.com |
b4c691695c4441d667cb66086462fc327e6c213c | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/fjt74l9mlcqisdus/2013-05-22T15-34-11.452+0200/sandbox/my_sandbox/apps/first_app/first_app.cpp | 8c91dcdf5b64b100fefb8e5de2a96659a52b26ae | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,034 | cpp | // ==========================================================================
// createData
// ==========================================================================
// Copyright (c) 2006-2013, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and use in sour... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
ca3043095a63f4d63ff25d9de9eb3a8cb642701c | 0f101a2d9fc62600c38e1272d2a90552e293d0ff | /cocos/scripting/js-bindings/manual/jsb_dragonbones_manual.cpp | 7c0d261970d77abdd15078f0b2ef086603970d35 | [
"MIT"
] | permissive | 276361270/cocos2d-x-lite | 59de243106064307fe08d2117b7dc3fa85fb8374 | 413135a3b1282d2f6192ebff31ac37c4ea7e5c99 | refs/heads/develop | 2021-01-19T13:36:11.862566 | 2017-08-18T08:22:51 | 2017-08-18T08:22:51 | 100,843,773 | 0 | 0 | null | 2017-08-20T06:48:07 | 2017-08-20T06:48:07 | null | UTF-8 | C++ | false | false | 19,521 | cpp | #include "jsb_dragonbones_manual.hpp"
#include "cocos/scripting/js-bindings/jswrapper/SeApi.h"
#include "cocos/scripting/js-bindings/manual/jsb_conversions.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_global.h"
#include "cocos/scripting/js-bindings/manual/jsb_helper.hpp"
#include "cocos/scripting/js-bindings/a... | [
"jianhua.chen@cocos2d-x.org"
] | jianhua.chen@cocos2d-x.org |
a4e6ebafe09ad6c7074ff1add3d44802b3588ded | dd012839dc7cae70ffccbf64fd76e8cd7d0c413e | /build-front_camera-Desktop_Qt_5_5_1_GCC_64bit-Release/moc_frontcameradialog.cpp | 4b715f84cbffcf79e432b2714da914e727d2a80b | [] | no_license | Jun-Hong-7794/FrontCamera | 771f4e6dce54bf5230806f2579689e63464b4d9e | d80518f8c3c701ef1a869c326a4e018f58a7823e | refs/heads/master | 2020-12-28T12:03:01.792923 | 2017-01-14T14:46:57 | 2017-01-14T14:46:57 | 68,370,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,431 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'frontcameradialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
***************************************************... | [
"hongj7794@gmail.com"
] | hongj7794@gmail.com |
d35314eb71ea918c3c0236bea0f4074f0e60d089 | 9963f25b075c73fc4e2759c7099304035fa85fc0 | /atcoder/abc093/b.cc | c56eaf142db5774422490ac0670457c111bba8dc | [
"BSD-2-Clause"
] | permissive | kyawakyawa/CompetitiveProgramingCpp | a0f1b00da4e2e2c8f624718a06688bdbfa1d86e1 | dd0722f4280cea29fab131477a30b3b0ccb51da0 | refs/heads/master | 2023-06-10T03:36:12.606288 | 2021-06-27T14:30:10 | 2021-06-27T14:30:10 | 231,919,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cc | #include <iostream>
#include <set>
using namespace std;
int main(void) {
int A, B, K;
cin >> A >> B >> K;
set<int> S;
for (int i = A; i < A + K; ++i) {
if (i > B) {
break;
}
S.insert(i);
}
for (int i = B; i > B - K; i--) {
if (i < A) {
break;
}
S.insert(i);
}
fo... | [
"kyawashell@gmail.com"
] | kyawashell@gmail.com |
48170a0d05ddc841c577d7ddd117fdfc60d8f528 | 9cbbd5e418795a8d3668601ba445d1834cebab46 | /Button2p.cpp | 562e828913585d403d1263f03f999bb7317787e7 | [] | no_license | douglasyamasaki/Scape-from-cemitery | a6c3935d8321a00e88867f51cf356b2fe16dc82c | 34141900118bf2364fdca7a1f181816fac54efa4 | refs/heads/master | 2022-11-10T19:58:36.651070 | 2020-06-23T23:07:35 | 2020-06-23T23:07:35 | 213,500,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include "Button2p.h"
using namespace MenuButtons;
#include "MenuHandler.h"
#include "Principal.h"
void MenuButtons::Button2p::executar()
{
mref->getMhref()->getPrincipal()->setP2on(true);
mref->getMhref()->switchTonmenu();
mref->getMhref()->turnOn();
}
MenuButtons::Button2p::Button2p(sf::Vector2f size, sf::Vector2... | [
"dcunha@alunos.utfpr.edu.br"
] | dcunha@alunos.utfpr.edu.br |
88013fd40097ddd65639ff0767b1ae78d678316d | ed5ab9930d9b1e90fee36b0a10d397b21e36648d | /Tests/UdfTest.cpp | 0833e9c43bdb332f248b8c1f8c835c7b29cf63b9 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | prutskov/omniscidb | 379c13ac6029afd459cf96eab28cd636dc8ee287 | 9a1e79cfeed4f6801f3f9805a0759569ae777ae8 | refs/heads/master | 2020-12-30T08:28:39.639271 | 2020-08-17T21:04:01 | 2020-08-18T16:51:29 | 238,927,530 | 0 | 0 | Apache-2.0 | 2020-02-07T13:18:05 | 2020-02-07T13:18:02 | null | UTF-8 | C++ | false | false | 19,388 | cpp | /*
* Copyright 2019 OmniSci, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | [
"dev@aas.io"
] | dev@aas.io |
4437cd42edc8046fb4e1126e711295d9b042d685 | 493ac26ce835200f4844e78d8319156eae5b21f4 | /flow_simulation/ideal_flow/processor0/0.77/epsilon | 18f2dd82e3ecab2614b6594ecf68e6aac665459a | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,733 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"mohan.2611@gmail.com"
] | mohan.2611@gmail.com | |
f7af0c4313572354a434eda7c89f387477baa03f | 39c58dbf336a18dbdc735dfd2c36eadb7effdc19 | /p240_20200902.cpp | a3756acc8db81421b417692a46bd1f7cc0d91706 | [] | no_license | SongM/HelpLeetcodeCPP | 9a6e86c002bb3d9409ba83e9562c6f4dcbb200f9 | 4a4a8a72ddcf00353869985bb92ff322fea2cc12 | refs/heads/master | 2022-12-23T22:41:10.381211 | 2020-09-26T18:32:56 | 2020-09-26T18:32:56 | 287,381,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
int m = matrix.size();
if (m==0) return(false);
int n = matrix[0].size();
if (n==0) return(false);
int i=0;
int j=n-1;
while(i<m and j>=0)
{
... | [
"noreply@github.com"
] | SongM.noreply@github.com |
ef33f4a6b97665245e7041f42ad6f97b0fa3a0e1 | d08e15f6b30152ed48a6acd1370c095fdd4ec61b | /linkedLists/DLL/4_find_triplets.cpp | 7037d44be2af4cad3aa4d93f39f9b455a14ab254 | [] | no_license | Udhay-Brahmi/Data-structures | 981650280b996155589a33b80af760803c0e2a99 | 3b6002b0d3aadf2608e4ceb754ee3192c0e30426 | refs/heads/master | 2023-01-30T03:09:52.390505 | 2020-10-19T03:04:09 | 2020-10-19T03:04:09 | 304,203,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | cpp | #include <iostream>
using namespace std;
struct node
{
int data;
node* prev;
node* next;
};
void show_fw(node* first)
{
node* ptr = first;
while(ptr!=NULL)
{
cout<<ptr->data<<" ";
ptr = ptr->next;
}
cout<<endl;
}
void show_bw(node* third)
{
node* ptr = third;
while(ptr!=NULL)
{
cout<<ptr->data<<" ";... | [
"harmandeepsinghhds@gmail.com"
] | harmandeepsinghhds@gmail.com |
04f86ac729701c656ded6c9072be4708e0b7af4e | c333f25e8f8963da9c24d82390607acfca8d0d12 | /Sfml Project/SFML Project/EnemyHelicopter.cpp | 8ba3366f58ecf944d1f3a9d9d009f7e98ab68c77 | [] | no_license | hellmann/Helikopter-Madness | 1fa9447fe6ad150975c64dca52498aab75d064e3 | d1873cd1e92016288f6730f5934021b997e1cafd | refs/heads/master | 2021-09-07T07:08:31.920253 | 2018-02-19T10:50:23 | 2018-02-19T10:50:23 | 81,465,992 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,052 | cpp | #include "EnemyHelicopter.hpp"
//laddar in texturen, spriten och sätter boundingbox
//sätter även värden på variablerna till rotorblads animationen
EnemyHelicopter::EnemyHelicopter(const int hp, const float speed):Helicopter(hp,speed){
enemyText.loadFromFile("Resources/EnemyHelicopter.png");
rotorText.loadFrom... | [
"noreply@github.com"
] | hellmann.noreply@github.com |
944dd3d103db6757279f1501c506cc2ea23b9b68 | 7a6b6a4b30f86f4a9dba1cb21ff48d185ca46c07 | /source/headers/utils.h | 2e465ab6a22230ecdb193d2e88a1915e5c10f448 | [] | no_license | Kbman99/remaking-cavestory | 94f7cac523024e6689849644ca254ed159725a45 | 3440df6d8b2c90f45ef418f71fd76b4939b959f3 | refs/heads/master | 2020-12-21T21:47:36.437579 | 2016-08-12T05:19:02 | 2016-08-12T05:19:02 | 58,980,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | h | #ifndef UTILS_H
#define UTILS_H
#include <string>
#include <vector>
#include <algorithm>
class Utils {
public:
/* unsigned int split
split a string <txt> everywhere a certain character <ch> is found
store the resulting substrings in a vector <strs>
return the size of the vector
*/
static unsigned int split(con... | [
"Kylebowman99@gmail.com"
] | Kylebowman99@gmail.com |
e5bc3aaf86ce3e6ba5f44a3f640ed0170c6d2057 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/browser/renderer_host/render_view_host_delegate.h | 36d6c4886f2902beeddf91eca09a173ea7a9aff7 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 7,924 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
#define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
#include <stdin... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
c2f7d032b45eeafd83c924243e2369c8e1d66ae4 | 509af65f6549bc49ccca6417ef43da10cccb579d | /modules/front/crails/front/router.hpp | e3b02e52b6ec1e687bb520940314a674679ec15d | [] | no_license | guoyu07/crails | 082bb36e888bb41a33f9170644431f958e3cb9a6 | 97ca4c50420e9c8b85cb537a9fb1055224745f08 | refs/heads/master | 2021-06-25T00:14:23.580295 | 2017-08-20T13:47:01 | 2017-08-20T13:47:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | hpp | #ifndef CRAILS_FRONT_ROUTER_HPP
# define CRAILS_FRONT_ROUTER_HPP
# include <crails/router_base.hpp>
# include <crails/front/signal.hpp>
# include <cheerp/client.h>
# include <map>
namespace Crails
{
namespace Front
{
typedef std::map<std::string, std::string> Params;
class Router : public RouterBase<Par... | [
"michael@unetresgrossebite.com"
] | michael@unetresgrossebite.com |
53d983e757a1703cfbe385e5bad0af4029be6271 | d3e50a16ce55c6a322533d5f5e1b68f99d961d19 | /cpp/oo/3.10-Iterator/Aggregate.cpp | 7e0c1c3fe90ebf8ed547ad41be05c1421adfff33 | [] | no_license | monkeyde17/et-notes | 0f2e88fd18c50a770fef7c807f64caaddf329d7e | 8e9cfa016efa9f08a234e91c523aa498574e3fe5 | refs/heads/master | 2021-01-20T03:39:20.955149 | 2015-03-16T12:45:59 | 2015-03-16T12:45:59 | 20,673,513 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include "Aggregate.h"
#include "Iterator.h"
#include <iostream>
using namespace std;
Aggregate::Aggregate() {}
Aggregate::~Aggregate() {}
ConcreteAggregate::ConcreteAggregate()
{
for (int i = 0; i < SIZE; ++i)
{
_objs[i] = i;
}
}
ConcreteAggregate::~ConcreteAggregate()
{}
Iterator* ConcreteAggregate::Creat... | [
"monkey_tv@126.com"
] | monkey_tv@126.com |
9a131ba611077f1d5a0300ee99bc4febf1ffd816 | 4b0da1e084a1f32602a9ac0e00d7dcef7290671c | /Src/Particle/AMReX_ParticleReduce.H | e2c72c7671f56c5f4df80f7dcfa2ba071ab9cb97 | [
"BSD-2-Clause"
] | permissive | kcdodd/amrex | 943044616ff122ab417bd4c38a4183b18aa7c8c6 | 52844b32b7da11e9733b9a7f4a782e51de7f5e1e | refs/heads/master | 2020-08-26T19:56:46.066395 | 2019-10-01T13:47:12 | 2019-10-01T13:47:12 | 217,127,797 | 0 | 0 | NOASSERTION | 2019-10-23T18:35:21 | 2019-10-23T18:35:21 | null | UTF-8 | C++ | false | false | 14,686 | h | #ifndef AMREX_PARTICLEREDUCE_H_
#define AMREX_PARTICLEREDUCE_H_
#include <AMReX_IntVect.H>
#include <AMReX_Box.H>
#include <AMReX_Gpu.H>
#include <AMReX_Print.H>
#include <AMReX_GpuUtility.H>
#include <limits>
namespace amrex
{
template <class PC, class F>
auto
ReduceSum (PC const& pc, F f) -> decltype(f(typename P... | [
"atmyers2@gmail.com"
] | atmyers2@gmail.com |
0a5bb8a940f4d5827a819db49399412fafcc946c | c7486b80397cdddd9de9a96fbd87c5d2624936cf | /src/marnav/seatalk/message_22.cpp | 32fc9f608f1279e6f07818839fbebf85e35f93d4 | [
"BSD-3-Clause",
"BSD-4-Clause"
] | permissive | tidewise/marnav | f08de4c0babd23d0a3dbde4d6698577593d91176 | bdffcd78a04f56676c932bb70d98d3c3a373fa62 | refs/heads/master | 2021-11-14T04:32:54.289401 | 2021-11-11T11:46:42 | 2021-11-11T11:46:42 | 205,469,957 | 0 | 1 | NOASSERTION | 2021-11-11T11:46:43 | 2019-08-30T23:29:58 | C++ | UTF-8 | C++ | false | false | 662 | cpp | #include <marnav/seatalk/message_22.hpp>
namespace marnav
{
namespace seatalk
{
message_22::message_22()
: message(ID)
, distance_(0)
{
}
std::unique_ptr<message> message_22::parse(const raw & data)
{
check_size(data, SIZE);
std::unique_ptr<message> result = utils::make_unique<message_22>();
message_22 & msg =... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
48d5cded8d620a51736f37c09c468f87c65c51e2 | d1c2914c06998310e29453a8d68f36caaaf63ffa | /1923.cpp | b3f4b09774763af2c627034906bd6d088aa03569 | [] | no_license | LucasLaheras/URI | b717ef374d1e47dce3e76396ec7cfb90c2a2de5e | a971bb09c5f3650c706fc2d0ab123f9fe766a73c | refs/heads/master | 2021-09-08T02:31:05.231438 | 2018-03-06T03:01:46 | 2018-03-06T03:01:46 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,360 | cpp | #include<iostream>
#include<vector>
#include<queue>
#include <cstdlib>
#include <map>
using namespace std;
map <string, int> nome;
map <string, int> ::iterator it;
int *nomes;
vector< vector<int> > g; // Lista de Adjacência
// Algoritmo calcula a menor distancia para alcançar todos os vertices do graf... | [
"noreply@github.com"
] | LucasLaheras.noreply@github.com |
b4ea000473a252272bd90d5281f504ab1fdeaf4c | 58afefdde86346760bea40690b1675c6639c8b84 | /leetcode/find-median-from-data-stream/344373616.cpp | c87a396d92473445ac4c2905b8f72556963cd7b7 | [] | no_license | ausaki/data_structures_and_algorithms | aaa563f713cbab3c34a9465039d52b853f95548e | 4f5f5124534bd4423356a5f5572b8a39b7828d80 | refs/heads/master | 2021-06-21T10:44:44.549601 | 2021-04-06T11:30:21 | 2021-04-06T11:30:21 | 201,942,771 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | # title: find-median-from-data-stream
# detail: https://leetcode.com/submissions/detail/344373616/
# datetime: Mon May 25 16:02:25 2020
# runtime: 280 ms
# memory: 47.1 MB
class MedianFinder {
priority_queue<int> lo; // max heap
priority_queue<int, vector<int>, greater<int>> hi; ... | [
"ljm51689@gmail.com"
] | ljm51689@gmail.com |
b0bf65b9e5c5fff08858067931ac2b0766e40a62 | 28532849935a0d6f5d3a81f1a96ed6cc0355912b | /tensorflow/core/graph/graph_partition_test.cc | d912c9402514c98d2f259bd9d2bf4b64d3165968 | [
"Apache-2.0"
] | permissive | brodyh/tensorflow | dd2a90c190e44651cf2f7c9750db6c61d264f019 | 22dcea8c366c450a3840c370ef96ba73757c99e3 | refs/heads/master | 2021-01-22T16:09:50.468833 | 2015-11-12T00:21:20 | 2015-11-12T19:14:23 | 46,072,274 | 4 | 1 | null | 2015-11-12T18:28:27 | 2015-11-12T18:28:26 | null | UTF-8 | C++ | false | false | 10,669 | cc | #include "tensorflow/core/graph/graph_partition.h"
#include <unordered_map>
#include <gtest/gtest.h>
#include "tensorflow/cc/ops/array_ops.h"
#include "tensorflow/cc/ops/const_op.h"
#include "tensorflow/cc/ops/control_flow_ops.h"
#include "tensorflow/cc/ops/random_ops.h"
#include "tensorflow/cc/ops/sendrecv_ops.h"
#i... | [
"keveman@gmail.com"
] | keveman@gmail.com |
5d60db8605b5a7eeb4f277067b855a23f0cb2c9b | a6f9809c2561b68e0894d6f69cf884cb67a41b33 | /src/window.cpp | d50413c14d0ad454d294a2f4e63ab6123d0102c1 | [
"MIT"
] | permissive | jakubsvehla/hex | 9f80910416b10fab02b73794c66e315077c0a43c | 85bc2ac0f2ca0e246794d3ea5bd4b81a54f76586 | refs/heads/master | 2020-04-18T08:28:01.200427 | 2012-07-11T19:17:49 | 2012-07-11T19:17:49 | 4,993,606 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | #include <cctype>
#include <sstream>
#include <iomanip>
using namespace std;
#include "window.h"
#ifndef ESC
#define ESC 27
#endif
Window::Window (int lines, int cols, int y0, int x0)
{
m_Win = newwin(lines, cols, y0, x0);
m_Y0 = y0;
m_X0 = x0;
getmaxyx(m_Win, m_Height, m_Width);
keypad(m_Win, TRUE);
}
... | [
"jakub.svehla@gmail.com"
] | jakub.svehla@gmail.com |
bec4348cb0874baacb67c11611e7d4c8dbc0ada8 | 0eac91087aad1913038ba29966d301b6f6688bd3 | /rosidl_typesupport_connext_c/src/wstring_conversion.cpp | 72ba7f3314f5fd5e757481310c7ec11960a890bf | [
"Apache-2.0"
] | permissive | boschresearch/rosidl_typesupport_connext | 3e67f8bf7fe80ce1e01845398e1d28db8d7593ae | 4e37df3abbc74fa64790f33973e6a76d339d4906 | refs/heads/master | 2022-06-06T18:56:43.716403 | 2020-04-17T21:10:03 | 2020-04-17T21:10:03 | 258,014,958 | 0 | 0 | Apache-2.0 | 2020-04-24T02:26:17 | 2020-04-22T20:40:45 | null | UTF-8 | C++ | false | false | 1,894 | cpp | // Copyright 2019 Open Source Robotics Foundation, Inc.
//
// 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 appli... | [
"noreply@github.com"
] | boschresearch.noreply@github.com |
5fc9ff450953d72be3d60e704233c472903e07e5 | 9c95c225137a29274eb34889c0147ae2e9272e3e | /tcpserver.cpp | a16f317aca146f6fb808a5bbc6c928f96e581bae | [] | no_license | MAKC11398629/URTDV | d8e4f1bd8a0db4771ad7a91841a4e47079c87e1b | 9014198f8c04bd2ea25d5d49e2bef20565b7ea72 | refs/heads/master | 2020-03-27T20:20:15.855775 | 2018-11-13T06:35:17 | 2018-11-13T06:35:17 | 147,060,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | #include "tcpserver.h"
TcpServer::TcpServer(int port, QObject *parent) : QObject(parent)
{
tcpServer = new QTcpServer(this);
if(!tcpServer->listen(QHostAddress::Any, quint16(port)))
{
qDebug()<< "listening";
QMessageBox::critical(nullptr,
"Fatal Error"... | [
"noreply@github.com"
] | MAKC11398629.noreply@github.com |
047cbf2285f52c4de35d4037e76050c73193a18d | c2fb6846d5b932928854cfd194d95c79c723f04c | /4rth_Sem_c++_backup/Amlyan/bala/ptm.cpp | 46074c743b5d2285e79c39704bbbbb5532338e43 | [
"MIT"
] | permissive | Jimut123/code-backup | ef90ccec9fb6483bb6dae0aa6a1f1cc2b8802d59 | 8d4c16b9e960d352a7775786ea60290b29b30143 | refs/heads/master | 2022-12-07T04:10:59.604922 | 2021-04-28T10:22:19 | 2021-04-28T10:22:19 | 156,666,404 | 9 | 5 | MIT | 2022-12-02T20:27:22 | 2018-11-08T07:22:48 | Jupyter Notebook | UTF-8 | C++ | false | false | 456 | cpp | #include<iostream>
using namespace std;
class N
{
int x,y;
public:
void set_xy(int a,int b);
{
x=a;
y=b;
}
friend int sum(M m);
};
int sum(M m)
{
int M ::* px = &M :: x;
int M ::* py = &M :: y;
M *pm = &m;
int S = m.*px + pm->*py;
return S;
}
int main()
{
M n;
void (M :: *pf)(int,int) = &M ::... | [
"jimutbahanpal@yahoo.com"
] | jimutbahanpal@yahoo.com |
02c1c59af21ad854370f0ffdec5d6d923c12ffa3 | 32749f86b11747587a4168240dd17b4eed0b57e8 | /05_selection_sort/main.cpp | 04d7e5287cf827c11a3e5c1cf04759e3f16f7278 | [] | no_license | A01706155/tc1031 | df3191bd2640ce46a24b80931ec679f4bfd32427 | aea94625505ae65f8eb5ea8f5c9bed58acec970f | refs/heads/master | 2023-01-14T20:39:15.613797 | 2020-11-24T19:20:44 | 2020-11-24T19:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | // =================================================================
//
// File: main.cpp
// Author: Pedro Perez
// Description: This file contains the implementation of the
// bubble sort.
//
// Copyright (c) 2020 by Tecnologico de Monterrey.
// All Rights Reserved. May be reproduced for any non-commercial
... | [
"pperezm@tec.mx"
] | pperezm@tec.mx |
e2c4db2bdddfe0dcfc62bad710d2e349520e068f | 87ff98df19587f8231206810f9d1dec1df9ad63d | /src/qt/guiutil.cpp | 4ab0dc4fbd0c6f20de1feb56fe0934a1e496b388 | [
"MIT"
] | permissive | greenblocksdev/greenblocks-source | 4939f2e0387b05385de514b3d76353c82d95d1dd | 17965a6e92ad6961413e2a86e3f8988637f18871 | refs/heads/master | 2020-04-12T11:00:18.023846 | 2018-12-19T14:18:17 | 2018-12-19T14:18:17 | 162,446,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,813 | cpp | #include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "util.h"
#include "init.h"
#include <QString>
#include <QDateTime>
#include <QDoubleValidator>
#include <QFont>
#include <QLineEdit>
#if QT_VERSION >= 0x050000
#include <QUrlQuery>
#else
#include <QUrl... | [
"45951842+greenblocksdev@users.noreply.github.com"
] | 45951842+greenblocksdev@users.noreply.github.com |
091f0dba91563097fe604f7dd288f694828f3dfa | 9e181d658d6c0e208509d6be5a6283d4ef9cb561 | /Projeto 2/NQueen.cpp | 8fb8a6f8878c9157eb23c4f5999c7d8100d54cde | [] | no_license | lucassf/CTC-17 | 24a1f4628119f656c87862c02555fb6e5bd6c1b6 | dec918deb3a68f4b530464c5dbe275843a82affe | refs/heads/master | 2021-01-20T12:10:10.996384 | 2017-12-01T02:53:53 | 2017-12-01T02:53:53 | 101,701,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,931 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <ctime>
using namespace std;
#define MAXN 25
int N;
//Structure that contains information about a board:
//queen position and value
struct board{
private:
bool canAttack(int l1,int l2,int col1,int col2){
return l1==l2||col1==col2||abs(col1... | [
"lucassoares-2010@hotmail.com"
] | lucassoares-2010@hotmail.com |
99ad093895028f23e2c3ca0cf06e11524ff0281e | 87d2448d4c7c02556139992a63ee6b8a929f4aa3 | /QueryCompany.cpp | 772457c8b41d13dbbbe9276c319eaf4406b3fdad | [] | no_license | ZofD/ProjektCPPWindowsForms | 93991ab4977a1b88692f2156a1a0be420ab80b64 | 313dc4a2dc0cb205771a0f5ad848e34c81a95e44 | refs/heads/master | 2023-02-17T08:52:39.753373 | 2021-01-18T17:21:59 | 2021-01-18T17:21:59 | 316,462,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | cpp | #include "pch.h"
#include "QueryCompany.h"
const std::string SELECT_COMPANY = "SELECT id, name FROM company ";
const std::string INSERT_COMPANY = "INSERT INTO company (id, name) ";
const std::string DELETE_COMAPNY = "DELETE FROM company WHERE id=";
Company QueryCompany::seletOnce(std::string query) {
Company result;... | [
"kam_dziok@wp.pl"
] | kam_dziok@wp.pl |
11f430f13135fd674ac53fcad78fd691944ad9bb | e35631b24767c8d420f821c57d83d4f0fb327426 | /ZavrsniProjekatOP/push.cpp | 482fb53fee092b15d3911a6be457e0cad2c84595 | [] | no_license | karasalihovicAmela/GUI-Quiz | c904295a3c93535fe46a5bbd62310b139fab09eb | 05b055e886c5cbb24285c04712812155bae316d9 | refs/heads/master | 2023-01-07T16:41:34.621055 | 2020-11-04T11:46:44 | 2020-11-04T11:46:44 | 309,986,557 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,716 | cpp | #include "push.h"
#include "ui_push.h"
Push::Push(QString kid, QString pid, QWidget *parent) :
QDialog(parent),
ui(new Ui::Push)
{
ui->setupUi(this);
ui->odgovori->setStyleSheet("background-color: #F40B2E; color:#ffffff;");
pID = pid;
kID = kid;
setQuestion();
setAnswer();
od1 = fa... | [
"amela.karasalihovic22@gmail.com"
] | amela.karasalihovic22@gmail.com |
5ff25f32f8c66ee104150b251320f7a80c67ddf9 | 3233cb68829787101a7b6fb15ac4b1a0afd00a7e | /cp/Tic_Tac_Toe.cpp | e7e1c4d9157545d71431ef02dd5b6d7cf80072c1 | [] | no_license | Pyush146/competitive-programming | ce54997b59639acc9b676ccbcd885c7839723d11 | 6ae7bd7121d870117eb7a9ff32846b1df934c889 | refs/heads/main | 2023-07-29T10:53:16.426692 | 2021-09-12T11:45:02 | 2021-09-12T11:45:02 | 405,625,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,633 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long t;
cin>>t;
while(t--)
{
long long j,i,c=0,r=0,d=0,e=0;
char a[3][3];
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
cin>>a[i][j];
if(a[i][j]=='_')
... | [
"noreply@github.com"
] | Pyush146.noreply@github.com |
b78c9bdfba479e561bd1012b7d8d46f89ec2352a | e469bb4d5833340dd63b3dcd7748081cd8c89120 | /Lucuma/code/lucuma/utils/backend/win32/win32_page_allocator.cpp | dafea6c18d91f61a1f91f1f4015dca3c1c24a536 | [] | no_license | bitnenfer/Lucuma | 440fcfa23aa9749b73398eb1c9d18be732b5829c | 7e4230f4bda6b55e46156f54f58389fab3379052 | refs/heads/master | 2020-04-26T07:25:57.155061 | 2019-03-17T02:15:36 | 2019-03-17T02:15:36 | 50,359,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include "../../page_allocator.h"
#include <Windows.h>
void* lu::PageAllocator::allocate(uint64_t size)
{
void* p = (void*)VirtualAlloc(NULL, (SIZE_T)size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
return p;
}
void* lu::PageAllocator::allocateAligned(uint64_t size, uint32_t alignment)
{
return allocate(size);
}
vo... | [
"f.alfonso.espinosa@gmail.com"
] | f.alfonso.espinosa@gmail.com |
a3be9ef2df8e7652259456494a380b1d8ec7ad91 | bbe1411c3a8b26f9708dc4b6e586fb455b951c1a | /sprint03/t06/isPalindrome.h | dfd70c2b095ce6db03b48b451e33429dc624a49d | [
"MIT"
] | permissive | Hvvang/CppTrack | 39b8b535b474330bd0f543a98c48e3bfc12ffb41 | 3e1854d626d153f5597459200f715a91f6a03107 | refs/heads/master | 2022-12-06T17:18:30.489664 | 2020-08-28T22:17:53 | 2020-08-28T22:17:53 | 288,445,547 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #pragma once
template <class BidirectionalIterator>
bool isPalindrome(BidirectionalIterator begin, BidirectionalIterator end) {
for ( ; begin != end - 1; ) {
if (*begin != *(end - 1)) {
return false;
}
begin++;
end--;
}
return true;
}
| [
"44523008+Hvvang@users.noreply.github.com"
] | 44523008+Hvvang@users.noreply.github.com |
68fbd44948dc9f709e7f3b6fe3a7e0a1ae895ee6 | 4d2c3ccc37a4392c5c33ba17f6125107001dc801 | /src/Vertex.cpp | b9e586599f4692318c8d843f1a685be10f98f5ff | [] | no_license | jutkko/IP | b04ccc0c77860232ca7f8bfe1b49205ddfe2d55d | 386d6c5832db611d97dac029130792d08b839547 | refs/heads/master | 2020-04-16T04:04:10.263254 | 2015-06-16T15:05:47 | 2015-06-16T15:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,990 | cpp | #include <cassert>
#include <limits>
#include <boost/random.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/random/variate_generator.hpp>
#include <boost/lexical_cast.hpp>
#include "SpatialObjectFactory.hpp"
#include "Vertex.hpp"
#include "Box.hpp"
namespace FLAT
{
static boost::mt11213b genera... | [
"jutkko@gmail.com"
] | jutkko@gmail.com |
720d8e6943bd0019f232cca349acdb40146c64de | fdd1b970b6304fee81e6902ba9add76e87e29d92 | /examples/service.cc | 94e3acdfd775359a54eee0373eac92ca2b344a4c | [] | no_license | mickeyouyou/cyber | 4540cab68f222b93ce613ca8f40e99aa55e7bb50 | 96e8de86c7d7f1c0d2a8324179aafc540dc9aa29 | refs/heads/master | 2022-10-20T09:01:17.373109 | 2019-12-08T09:49:01 | 2019-12-08T09:49:01 | 195,762,544 | 3 | 0 | null | 2022-09-23T22:31:21 | 2019-07-08T07:50:06 | C++ | UTF-8 | C++ | false | false | 1,883 | cc | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"mickeyouou@gmail.com"
] | mickeyouou@gmail.com |
8971290518ab1b3db91025c3999dbfe8ed199249 | 861bd01bf9c6748c57a7bf3703d14c4b3ab95f55 | /H7_FOC_Project/STM32H743ZI_FOC/SystemLib/Inc/ADCCtrl.hpp | b98fc64d931c7920142b62d715a7db165b31ef3e | [] | no_license | GrayXue/PMSM_Control_source | 7eb1746bcec395c8f4ccc32f56cd070adfa6e668 | 32a6b92c77a1a5987186af320080583444aa27de | refs/heads/master | 2020-09-25T10:31:25.325805 | 2019-12-03T15:52:30 | 2019-12-03T15:52:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | hpp | /*
* ADCCtrl.hpp
*
* Created on: Sep 21, 2019
* Author: watashi
*/
#ifndef INC_ADCCTRL_HPP_
#define INC_ADCCTRL_HPP_
#include "STM32SystemPack.h"
class ADCCtrl {
private:
public:
static ADC_HandleTypeDef mHandleADC2;
static ADC_HandleTypeDef mHandleADC3;
ADCCtrl();
virtual ~ADCCtrl();
//static voi... | [
"ioloa.yutaka@gmail.com"
] | ioloa.yutaka@gmail.com |
8828ca9d4d070e8b6640ab326a59f51fb19793be | 7c96f68f582190400208d9d38db34caa0fd3325f | /cgalgorithm.h | 690a6d2f317f074343ac85418f3a025ceae8b919 | [] | no_license | itumashyk/CG2012 | baf251f8c65b11eb511a6aa71f09ba8f5caa85a6 | 1f1caea77fa5f035dd57d4ae9fe812afc4dcde56 | refs/heads/master | 2016-09-06T19:20:03.087312 | 2012-05-30T08:00:14 | 2012-05-30T08:00:14 | 3,442,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | h | #ifndef CGALGORITHM_H
#define CGALGORITHM_H
#include <QtCore>
namespace CGAlgorithm
{
int automatic_binarasation_treshold(QVector<int> data);
QVector<int> calculatePixels(QImage &image);
}
#endif // CGALGORITHM_H
| [
"yosel@tut.by"
] | yosel@tut.by |
8685690f438a4dfc5331c66d1eb18cca9595459b | cd4fa3c880becde08bc327e794321c2b1358787b | /convert.cc | a93f23d435b9805342218095533e0fe049e5319f | [] | no_license | lxm798/leetcode | dca0a31aaaac6f50435b06b0430da4266693bfa7 | 6747431d1a4f82452a7e3e592ce9035c36959db3 | refs/heads/master | 2020-04-05T08:16:35.381706 | 2018-11-10T09:47:11 | 2018-11-10T09:47:11 | 156,708,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cc | class Solution {
public:
string convert(string s, int numRows) {
string ret;
auto length = s.size();
for (decltype(length) k =0; (k-1) * (numRows -1) < length; ++k) {
for (decltype(length) i =0; i < numRows-2; ++i) {
if (i%(numRows-1) == 0) {
... | [
"lyy83854@gmail.com"
] | lyy83854@gmail.com |
080811493a578133354c31b51cb052a0ec793600 | b8baf66e03c0ca5b51b3e29aeb78032b1a1a621e | /Aurora/Include/Aurora/PatternCube.h | 34dbdeac26294089eb9dd2d4f95fbeae1909f4e3 | [] | no_license | JanusErasmus/wall_art | f1fd0df4f29ce753c23d2ba964d2f46a3964de3f | a1f73701e0932b195b4ba65cf0956349ba683e32 | refs/heads/master | 2020-12-01T13:11:52.129306 | 2020-01-05T12:39:28 | 2020-01-05T12:39:28 | 230,636,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,251 | h | /*
* Aurora: https://github.com/pixelmatix/aurora
* Copyright (c) 2014 Jason Coon
*
* Portions of this code are adapted from Noel Bundy's work: https://github.com/TwystNeko/Object3d
* Copyright (c) 2014 Noel Bundy
*
* Portions of this code are adapted from the Petty library: https://code.google.com/p/peggy/
* C... | [
"jcerasmus@gmail.com"
] | jcerasmus@gmail.com |
ca82a5941726be542d05fa7aa26d4c474a7f3931 | 07a2d8490bd24bb06f79516994113ce3f2c6dfec | /BLE.ino | 15f2b8bd9e33cac919c4a955cdccf4604f5ea709 | [] | no_license | scottrcarlson/onewheel-watch | 5371c81712b342e1b8ffecad05550cd159b77faa | 0c9eaf21a7582f84993f7a5001b96e6a9e8b1c03 | refs/heads/master | 2023-01-13T09:36:10.447125 | 2020-04-29T23:13:48 | 2020-04-29T23:13:48 | 313,643,442 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | ino |
// Actual Onewheel Advertisement
// ow076106, Address: 38:81:d7:28:71:22, manufacturer data: 0103, serviceUUID: e659f300-ea98-11e3-ac10-0800200c9a66
class MyClientCallback : public BLEClientCallbacks {
void onConnect(BLEClient* pclient) {
Serial.println("Connected to Onewheel!!!!!!!!!!!!!!!!!!!");
}
void ... | [
"scottrcarlson@gmail.com"
] | scottrcarlson@gmail.com |
de7a0b18ff67c4f43beebef1c2cc376c55d3168a | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp | 9e3fd3af670bd43320192de8aef50fb4e7da50dc | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 8,860 | hpp |
// Copyright Peter Dimov 2001
// Copyright Aleksey Gurtovoy 2001-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.lslboost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "lslboost/mpl/aux_/basic_bind.hpp" header
//... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
9a20e13b00d72d56018ae42fe678e8a2b3111ca7 | d6b303f59d634220edecf7cacddd0821e8265cfc | /nodes.cpp | 930009a004fa4cbecb5d3f9240cab5e33734d897 | [] | no_license | nobulto809/Projects | d82e6d36fdab658a059eb8c56f71f26760653bc1 | d7f4c1c13c2adb124fa9075781bc639060aa8fb1 | refs/heads/master | 2021-05-10T00:26:00.289312 | 2018-09-06T21:24:33 | 2018-09-06T21:24:33 | 118,834,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | #include <iostream>
#include <string>
using namespace std;
struct List
{
string name;
int idNum;
double GPA;
List *next;
};
int main()
{
List *head, *temp, *n;
//First Node
n = new List;
cout << "Enter a name: \n";
getline(cin, n->name);
cout << "Enter ID Number:... | [
"lgnd31596@hotmail.com"
] | lgnd31596@hotmail.com |
6142ba89ffae0e06adf99bee30907f07f9ca4420 | 28d68af73c56375314efd07eaf6a1a9241a51ce3 | /aws-cpp-sdk-ec2/source/model/DescribeSpotFleetRequestsRequest.cpp | 213390172949d5cd92f1691ee9c7248cea9dc34a | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | zeliard/aws-sdk-cpp | 93b560791fa359be25b201e9a6513bc3cb415046 | 14119f1f5bc159ce00a1332f86e117362afd3cb6 | refs/heads/master | 2021-01-16T22:49:18.731977 | 2016-01-04T01:54:38 | 2016-01-04T01:54:38 | 41,892,393 | 0 | 1 | null | 2015-09-04T01:35:43 | 2015-09-04T01:35:43 | null | UTF-8 | C++ | false | false | 1,825 | cpp | /*
* 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 |
f0cc41e33687bcf3fb1dfac48e167b7829ddad92 | 747c6a24c2419137e8b0b5b4387aabdc777c7c9a | /GKiW_Lab3/stdafx.cpp | d7c04157a8b3326bcba7f0053a13b77f8a4f8a02 | [] | no_license | TomaszWychocki/ZlotyPociag | 53a93b4ef43b2cdf83b7f4ccf62df53909741b85 | 5d3667b7d22c02602f23e85ef3771b4916a7b341 | refs/heads/master | 2020-03-09T01:19:18.706017 | 2019-04-21T21:16:43 | 2019-04-22T19:50:55 | 128,511,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | // stdafx.cpp : source file that includes just the standard includes
// GKiW_Lab2.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"wychoniu@gmail.com"
] | wychoniu@gmail.com |
d6ddf34a3f847f3893a65fcec552dfb480e16a3d | 8566324b0a42dd56ef204ee1a02b8d701346793a | /deps/quic/quic_stream_factory.h | f55cfbdd210b8b58d346d2a7f3c152e601836731 | [] | no_license | kppamy/Orca | b81c54c930722f664363c53f36a85e71704af80a | 416226cf9ca6a57c933ef8379bbf0e3ad405dd40 | refs/heads/master | 2021-05-29T04:15:00.438930 | 2015-07-16T04:56:45 | 2015-07-16T04:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,753 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_
#define NET_QUIC_QUIC_STREAM_FACTORY_H_
#include <list>
#include <map>
#include <string>
#include <vector>
#... | [
"kohachiro@qq.com"
] | kohachiro@qq.com |
253acea32e698e1dc76a0e74ac40913d2b346b29 | c9a202c6760217ecb72a59daf6a5f220090a1fc9 | /compiled/lifts.2.prop3.dve.cpp | 47a1c55d1724747a971a2822e430f3d9476ea265 | [] | no_license | plug-obp/beem-benchmark | e01bc78a3cb0cdf8f01e6ac201f9730617fac047 | 4c4884c69ebdfc1e55165f6b6ec2701a6af86eb9 | refs/heads/master | 2021-07-21T09:34:48.732126 | 2021-05-26T12:43:32 | 2021-05-26T12:43:32 | 121,295,978 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 425,184 | cpp | #include <stdio.h>
#include <string.h>
#include <stdint.h>
typedef uint64_t ulong_long_int_t;
typedef int64_t slong_long_int_t;
typedef uint32_t ulong_int_t;
typedef int32_t slong_int_t;
typedef uint16_t ushort_int_t;
typedef int16_t sshort_int_t;
typedef uint8_t byte_t;
typedef uint8_t ubyte_t;
typedef int8_t sbyte_t... | [
"ciprian.teodorov@ensta-bretagne.fr"
] | ciprian.teodorov@ensta-bretagne.fr |
29aa0e45c0d4bd40a6f5023157da9c385a86eedd | 0c0cc27767828a8b3bfef84683c8250d985f7ac6 | /components/metrics/entropy_state.cc | 2e4603fa63d34102a6b3ddd0900772a9c51174b9 | [
"BSD-3-Clause"
] | permissive | sharpie33/chromium | 1cb882b849fed8dcfd7f5375ebecc2ace82c4b81 | 82e92e2ad746093bebb73b807e44482dbf9d6695 | refs/heads/master | 2023-01-08T05:05:05.415432 | 2020-02-09T17:43:42 | 2020-02-09T17:43:42 | 238,395,399 | 1 | 0 | BSD-3-Clause | 2020-02-05T07:47:43 | 2020-02-05T07:47:42 | null | UTF-8 | C++ | false | false | 6,178 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/metrics/entropy_state.h"
#include "base/command_line.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
abacb0d3b21e5028280ae7aeba6e00b3f8643742 | 1404f3e204455aacd602c46bdfa2a05c2ac4fb46 | /Source/TS_Arena/TS_Arena_PlayerState.cpp | 3cb9be351a9fb24cb0e14fc4bf3afee57cfbf860 | [] | no_license | lmlr/TS_Arena | 555fecb2878f2ae8ac3f8a15a10e9987e8a8002f | 3138d174ace049176aa610a38e15578aa1ac41cc | refs/heads/master | 2021-07-03T23:06:43.815993 | 2017-09-27T08:09:23 | 2017-09-27T08:09:23 | 104,262,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TS_Arena_PlayerState.h"
#include "Net/UnrealNetwork.h"
ATS_Arena_PlayerState::ATS_Arena_PlayerState()
{
Frags = 0;
Deaths = 0;
}
void ATS_Arena_PlayerState::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProp... | [
"leo.mueller@rwth-aachen.de"
] | leo.mueller@rwth-aachen.de |
860730d5046e95440683e46ab7680dcb2aed98d1 | 7efe24e987653c2c112ad7af223484adc0e79c35 | /src/caffe/test/test_flow_data_layer.cpp | a6ba1c54002296f400ea103b7380f8ccaecbda40 | [
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-public-domain"
] | permissive | shugaoma/caffe_sgm | df049d9178425321d9ad70a7e145c7c3678fd69a | d04485ae1ec6506c814f7694cd0409f562d53148 | refs/heads/master | 2021-05-30T14:38:50.832595 | 2015-07-09T16:01:17 | 2015-07-09T16:01:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,415 | cpp | #include <map>
#include <string>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/io.hpp"
#include "caffe/vision_layers.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
... | [
"shugaoma@bu.edu"
] | shugaoma@bu.edu |
a5e601af4909efc7313ba92551eefe472abb93c6 | 88f51675ccd4b2b48433bb367f3ebaf9c45049a1 | /Source/DX2DEngine/tga2d/engine.h | a12e2b676ced32a4ad958b44447801bc64fff227 | [] | no_license | PekaOchKlickaGrupp7/PekaOchKlicka | 041c430d1f068d12c28e65b5aa47d339e71c04bd | 8fac3296a2f27c59ba39bb07c8d4415bd415eb01 | refs/heads/master | 2021-01-10T16:01:18.619325 | 2016-02-26T16:57:09 | 2016-02-26T16:57:09 | 49,209,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,305 | h | /*
Engine
This class is the interface between game logic and rendering.
It takes care of creating everything necessary for window handling and rendering
*/
#pragma once
#include "math/Vector2.h"
#define _X86_
#include <windef.h>
#include <functional>
#include "math/Color.h"
#include <chrono>
// Forward declarations... | [
"linus@neuman.io"
] | linus@neuman.io |
3f6ce94450c46c338f4c44d2caadcd3271a45011 | 35c902c0735531fc8578487d0e267d235484ab62 | /Assignment 2/global.hpp | 019169344bdff3cc40e9fb723e5251b87be102b4 | [] | no_license | rishshah/CS-475-Computer-Graphics | 1003acfdf939387d78d0eff2d27390b5483e0b13 | c4760a1c610a7112cceeb86e30eb9e9fe105a018 | refs/heads/master | 2021-08-19T14:49:40.080990 | 2017-11-26T18:27:33 | 2017-11-26T18:27:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | hpp | #ifndef _GLOBAL_HPP_
#define _GLOBAL_HPP_
#include "./framework/gl_framework.hpp"
#include "./shader_utils/shader_util.hpp"
#include "../glm/mat4x4.hpp"
#include "../glm/gtc/type_ptr.hpp"
extern glm::mat4 rotation_matrix;
extern float xp;
extern GLuint shaderProgram;
#endif | [
"purav97@github.com"
] | purav97@github.com |
4d0beec5dd4173a584a7dda55adc214cacd7703b | 1453cd02157d7e34b5e806a9486791a18c2df5c9 | /app/common/Math.cpp | 874b7a444a611c0e37be1cb5bb4c30a0594e0691 | [] | no_license | colinblack/game-srv-muduo | 6da0c485b36d766d9cc9b3bd8ef4b6f83fab27f8 | 9fd5c98ba70d51e3fbfd0af0878b92019f242bec | refs/heads/main | 2023-05-15T06:18:45.431480 | 2021-06-07T07:44:48 | 2021-06-07T07:44:48 | 373,710,270 | 1 | 1 | null | 2021-06-04T06:11:54 | 2021-06-04T03:34:48 | null | UTF-8 | C++ | false | false | 581 | cpp | #include "Math.h"
#include <stdlib.h>
#include <sys/time.h>
#include <string.h>
bool g_bInitRandom = false;
bool Math::InitRandom()
{
if(g_bInitRandom)
{
return true;
}
timeval tv;
gettimeofday(&tv, NULL);
srand(tv.tv_sec ^ tv.tv_usec);
srandom(tv.tv_sec ^ tv.tv_usec);
g_bInitRandom = true;
return true;
}
... | [
"chengpeng424@163.com"
] | chengpeng424@163.com |
c3d518e379ebb0fd3cade60183bd7d75cd001bd6 | 5f65a81285aa944e0c9fa5306981e7d56d4a88a7 | /ThermalCamera/App/Model/HandlerThreads/ThermalCameraHandler.cpp | 925309d75aab8355281ca777bd4b213f092e76d9 | [] | no_license | 519984307/QT-4 | 53be7691ca41023a11161c823a53511e5cdf5fd5 | 3292800a063a10b53e6ea92936e7d153f2260f57 | refs/heads/master | 2023-05-31T10:33:10.078033 | 2021-06-16T17:23:57 | 2021-06-16T17:23:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,333 | cpp | #include "ThermalCameraHandler.h"
#include "HMIEvents.h"
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/types.h>
#include <linux/spi/spidev.h>
#include "Palettes.h"
#include "SPI.h"
#include "Lepton_I2C.h"
#include "DataManager.h"
ThermalCameraHandler::ThermalCameraHandler(QObject *parent)
: QObject(p... | [
"minhtan.uet@gmail.com"
] | minhtan.uet@gmail.com |
454bcbcf23789f6447d24af0ac4ef9e7e288ad46 | 1ef849927ee2aa0a28a3b0092faf740d1e6be1a6 | /ZZX/src/ZZX/Scene/SceneCamera.h | e87eedf837f3696e78bde38f08ef4324e4be4b66 | [
"Apache-2.0"
] | permissive | zixin96/ZEngine | 2bb83122041e9e1bb53da0e0b8525b7da845bf0b | ea45ad66005a4097716b6080e2065b3935b63f5a | refs/heads/master | 2023-05-08T12:55:17.038500 | 2021-04-28T22:35:20 | 2021-04-28T22:35:20 | 357,953,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | h | #pragma once
#include "ZZX/Renderer/Camera.h"
namespace ZZX
{
class SceneCamera : public Camera
{
public:
enum class ProjectionType { Perspective = 0, Orthographic = 1 };
public:
SceneCamera();
virtual ~SceneCamera() = default;
void SetOrthographic(float size, float nea... | [
"zixinzha@seas.upenn.edu"
] | zixinzha@seas.upenn.edu |
b75e796d1cf1ae25fea86e917ff00113a4b2350f | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetcore/connectionwizard/icwutil/validate.cpp | 50ed68f77148b72a6895daa7703e7af2ba60b5ac | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,007 | cpp | #include "pre.h"
#include "tchar.h"
#define LCID_JPN 1041 //JAPANESE
// BUGBUG - This function is not very effecient since it requires a alloc/free for each validation
// plus strtok will tokenize the fill string requring a full search of the string.
BOOL IsValid(LPCTSTR pszText, HWND hWndParent, WORD wNameI... | [
"112426112@qq.com"
] | 112426112@qq.com |
b00fbd7000749e3c2a5e27ee5fffdf6fa5a5686f | 7d22f18714611d97175813b1e20e94d2e29d204e | /src/primitives/block.h | bcb1e8992151892803337cedb0ce72d9620867e3 | [
"MIT"
] | permissive | lavajumper/sexcoin | 8179dbd95d28fc4c829fdb846f0b48db25b3dddf | 4ea0d53dd23e432e8edd5a5bddd0d546ef8a0a73 | refs/heads/master | 2021-01-18T01:19:25.067181 | 2019-01-12T14:50:28 | 2019-01-12T14:50:28 | 67,519,646 | 0 | 0 | MIT | 2019-01-12T14:50:29 | 2016-09-06T15:12:56 | C++ | UTF-8 | C++ | false | false | 2,351 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_PRIMITIVES_BLOCK_H
#define BITCOIN_PRIMITIVES_BLOCK_H
#include "... | [
"lavajumper@lavajumper.com"
] | lavajumper@lavajumper.com |
f58ffc6ca2129a05ad9f586b6683849ade24a105 | 328386f90e699a950a4bcf925356cad1800b0799 | /SimpleShare/SimpleShareDlg.cpp | a82adf691d4e964e637869cefd23f8903c47bbf7 | [
"Apache-2.0"
] | permissive | tansoft/tan.h | a39713e5adbbeef35ff7099e7d345c9c9c91b1cc | 3380b71b1ed4bf21d2da6fc5bbfc7ea6c4a127d1 | refs/heads/main | 2023-08-16T01:45:31.735941 | 2021-10-05T10:46:43 | 2021-10-05T10:46:43 | 413,724,892 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,756 | cpp | // SimpleShareDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "SimpleShare.h"
#include "SimpleShareDlg.h"
#include ".\simplesharedlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// 对话框数据
enum { IDD = IDD... | [
"barrytan@21cn.com"
] | barrytan@21cn.com |
aa4b6f926177ffc2ce290f7f7caf4422818bddba | 06b8ca8cd2ed0917d1d7c9ab26020acf528f824e | /src/Matrix.hpp | 012c894010ade6ee24abaa74622342330a0ec5d8 | [] | no_license | viktor1234678/matryx-gl | 649a642e050a11c2f400d8397c264a2059b9bfc3 | 3f815663b5c883ef52da5b895206d68d756d59c8 | refs/heads/master | 2022-03-12T22:04:30.381045 | 2019-11-10T03:14:37 | 2019-11-10T03:14:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | hpp | #ifndef MATRYX_MATRIX_HPP
#define MATRYX_MATRIX_HPP
#include <array>
#include <cstdint>
#include <memory>
#include <string>
#include <zmq.hpp>
namespace matryx {
class Matrix {
public:
static constexpr int BITS_PER_PIXEL = 3;
Matrix(const std::string zmqEndpoint, const int width, const int height);
void conne... | [
"knifacat@gmail.com"
] | knifacat@gmail.com |
f22d8f9cad04c0d8989ab698785985fc72602eaf | 67a036e4708ff3c773d7cb87fa7defa754d3fc76 | /game/AnimationShader.cpp | dfdc5ef14f5dd84c40919e29a0d7246ea7736e52 | [] | no_license | tankwei/SDLOpenGL | 28f19b7e61fe5adcd4d57bd4ef8b3494dc21a96f | a54ef826e4e217192ffc4419863bb5c3c6f4b199 | refs/heads/master | 2020-11-25T11:33:13.572813 | 2019-12-17T16:08:41 | 2019-12-17T16:08:41 | 228,638,587 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,879 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/glm.hpp>
#include "AnimationShader.h"
#include "AnimatedEntity.h"
std::string AnimationShader::LoadShader(const std::string& fileName)
{
std::ifst... | [
"tankweight@debian-tankweight.debian-tankweight.com"
] | tankweight@debian-tankweight.debian-tankweight.com |
a8775ca5372f3e3df70f22330ed58127aa8e0ea4 | 40bd09be9adfd4284ce2d575d2d7cd72c6e420a3 | /src/UtilMathPassThrough.h | 3f60baecb8eb9d0dcb3ddfc2c0c6895cdfeb27c3 | [] | no_license | mpownby/CppUnitTestingSandbox | 0b9db7fa072020946c7f9709e51b6f88076e04db | 0f5647885a8eb20ec825accb49d7d42c16346c74 | refs/heads/master | 2023-03-20T01:05:21.880050 | 2021-03-09T17:25:30 | 2021-03-09T17:25:30 | 344,972,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | h | #ifndef CPPUNITTESTING_UTILMATHPASSTHROUGH_H
#define CPPUNITTESTING_UTILMATHPASSTHROUGH_H
#include "IUtilMathPassThrough.h"
#include "SmartDeleter.h"
class UtilMathPassThrough : public IUtilMathPassThrough, public SmartDeleter
{
public:
static IUtilMathPassThroughSPtr CreateInstance();
int Multiply(int a, int b) o... | [
"none@none.net"
] | none@none.net |
989940117e47f860a6578081a1e1262accab8aa8 | 5388d718a2333dbdb89d72685dce4c6dfe4f755b | /Engine/King/Source/ResourceManager/ActorResource.h | 275cfbf4e6b3e70507e3aac3b9d245536e2fb06f | [] | no_license | tedopranowo/Pac-Man | 9d1dd11111c9ac959307273134eb45447da6808b | a877bf3e9eb626e683339b56d1334a860ef77370 | refs/heads/master | 2020-03-19T15:09:02.096829 | 2018-06-09T00:40:02 | 2018-06-09T00:40:02 | 136,657,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | //-------------------------
//Created by Shane King
//Sat 05/06/2017 0:54:49.09
//-------------------------
#pragma once
#include "Resource.h"
#include "../Actors//Actor.h"
#include "../Actors/TypedefActors.h"
class ActorResource : public Resource
{
private:
StrongActorPtr m_pActor;
public:
ActorResource... | [
"tedokdr@yahoo.com"
] | tedokdr@yahoo.com |
ea29954c6b66847ddda667becb4c8d164c02d3d7 | b12d57bfb72a9e4ad3d60620412afd49d45d4025 | /modbus.cpp | 818794b7457925e95805191587456115c571e20c | [] | no_license | zsellera/dps-wifi | 348d333200daa8f1770f387d99297c0faa7b670a | 380d7593e4e55106f82d7d31ddbe06f7266209be | refs/heads/master | 2021-09-18T19:41:50.233859 | 2017-11-06T12:32:31 | 2017-11-06T12:32:31 | 109,692,950 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,907 | cpp | #include "modbus.hpp"
#include "settings.h"
#include <stdint.h>
#include "Arduino.h"
uint16_t modbus_crc16(uint8_t *buf, int len)
{
uint16_t crc = 0xFFFF;
for (int pos = 0; pos < len; pos++)
{
crc ^= (uint16_t)buf[pos]; // XOR byte into least sig. byte of crc
for (int i = 8; i != 0; i--) { // Loop o... | [
"attila.zseller@luminancity.com"
] | attila.zseller@luminancity.com |
c07095f8163247713f1abfc00f024ed1d5e8183e | 78085677dbf52f77912f92efa21608d4510a5a45 | /SimpleMP3Player/mainwindow.h | f3a05ccb7b3685f25f01468e547fadeb0099cf55 | [] | no_license | KurtVoigt/MP3-player | 4b16159161a57ba7d630e116ae2d6faebe210a79 | ab4341f606382ae447eaf2ff8b2262511fa6b319 | refs/heads/main | 2023-03-28T19:37:32.912266 | 2021-04-05T11:26:07 | 2021-04-05T11:26:07 | 354,810,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtWidgets>
#include "irrKlang.h"
#if defined(WIN32)
#include <windows.h>
#include <conio.h>
inline void sleepSomeTime() { Sleep(100); }
#else
#include "conio.h"
#endif
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
... | [
"noreply@github.com"
] | KurtVoigt.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.