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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
41ef37b9e95f4397ac1ca73b715b01c0a004a04e | 10464800f55b04f9f821d9b6a12b58f4185bc7df | /RapidXML/zip.cpp | 7a1583ce1d007d9fb55c2fbfb68c442bc9740a69 | [
"MIT",
"BSL-1.0"
] | permissive | TheGnewGuy/ODSUtilities | 6c2b6681b4bd02714dbbf5c0963739e9431d1e92 | b477e4af8b19cdf316e0e966690ea6cffa329257 | refs/heads/master | 2021-01-25T03:20:14.310574 | 2015-01-26T03:24:31 | 2015-01-26T03:24:31 | 28,576,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113,153 | cpp | #include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include "zip.h"
// On MSVC, disable "conditional expression is constant" warning (level 4).
// This warning is almost impossible to avoid with certain types of templated code
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4... | [
"john.gnew@verizon.net"
] | john.gnew@verizon.net |
961224f0fca0d8138cf22a6201953efa9d9c333f | 64d40840ef8f99455534f501b00cc13943ec6787 | /testcheck.cc | c008a3adcb461db8b3b9b4782658eea0f1f9304c | [] | no_license | jb548319/CS2401_Project_1 | 34f4383ea614e96a4a3fe21764375bbf8547f228 | ccde86a944d691f7bf93a86dcfb3fc0bf5882e00 | refs/heads/main | 2023-07-31T04:49:17.930098 | 2021-09-14T22:54:23 | 2021-09-14T22:54:23 | 402,238,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | cc | /*************************************************************************
The purpose of this little program is allow you to test the input
and output functions and operators that you have written for the
Check class. You should write these BEFORE you start developing the
Checkbook class, and you shoul... | [
"jb548319@Ohio.edu"
] | jb548319@Ohio.edu |
c317898e7bde47d63eb3e2b8eed6c459abfb2608 | 4b19135464a032c1d5271cd1ae58afb21df38584 | /Samples/C++/DirectShow/Filters/DSNetwork/Receiver/mspool.h | 2022e5302f29bb5c4da419bc1cb0ed77c4a79ae7 | [] | no_license | sjk7/DX90SDK | f47cebbba53133923880004bc6e3a33cff1fe895 | dd155425badb2cd3993c27f869efc007764e599b | refs/heads/master | 2021-08-26T07:47:03.826451 | 2021-08-12T05:03:03 | 2021-08-12T05:03:03 | 253,911,891 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,735 | h |
/*++
Copyright (c) Microsoft Corporation. All Rights Reserved.
Module Name:
mspool.h
Abstract:
Notes:
--*/
#ifndef __mspool_h
#define __mspool_h
class CTSMediaSamplePool ;
class CTSMediaSample ;
class CNetworkReceiverFilter ;
// media sample flags
#define SA... | [
"radiowebmasters@gmail.com"
] | radiowebmasters@gmail.com |
89a75c7f97aacda7ad8e7ac6abd02b77a19778bb | 6e8620c1a8f4b8a4ba3007ed87ec56aefe57753a | /uciType.cpp | 83f5bf54b0d6d4d546497113bf09243260638df7 | [
"BSD-3-Clause"
] | permissive | nexsct/mariana-NASA-adaptation | dee55c08d00c2e4b7e18634d501731527f75feb7 | e7b2188f2d7ea79396e1c05dfe3745f6234b422d | refs/heads/main | 2023-01-14T03:51:35.597190 | 2020-11-11T19:17:51 | 2020-11-11T19:17:51 | 312,066,452 | 2 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 14,981 | cpp | /*****************************************************************************
* Notices: Mariana - Copyright č 2007 United States Government as
* represented by the Administrator of the National Aeronautics and Space
* Administration. All Rights Reserved.
*
* Libsvm - support vector routine library - Copyright (c) 2... | [
"noreply@github.com"
] | nexsct.noreply@github.com |
e8bd887270f09fd87c7f50e74d880fa70a6f1c04 | ab6937915ca4a3a8b95d3021177a752c54157d21 | /C/LatihanBahasaC.cpp | f23c0a39c8628d9156c973c9ce96d6839cee6efe | [] | no_license | fitrailyasa/Latihan-Coding | b953ecb8c6f7624d260576c18d8813b9291963f2 | f3a211585f8635c2c68b21c41701ee07f5e55d74 | refs/heads/main | 2023-06-17T01:00:35.471920 | 2021-07-13T21:47:48 | 2021-07-13T21:47:48 | 385,743,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include <stdio.h> //manggil library (Perpustakaan bahasa C)
int main(){ // Pintu masuk program
int a; // tipe data int = integer (bilangan bulat), float = bilangan pecahan
printf("Halo, Dunia"); //output = Halo, Dunia
scanf("%d", a);
}
| [
"nde.joker12@gmail.com"
] | nde.joker12@gmail.com |
51f6f51fd8998320d26223dbea4358f2933dbf01 | fcf693cdb557d13a50df61f26952125d13691ec9 | /HOMEWORKS/HW03/functions.cpp | 83d2f18e830550bf4031e7496bb5aa81be3f2891 | [] | no_license | ashrafyawar/CPP-Projects | c0e0db17c87b9392f3d0cad4df81bcd149f41839 | 07fa929d424dfb595ca9c45dff7e4850b3e6a1ae | refs/heads/master | 2022-12-02T03:37:00.577081 | 2022-11-18T23:38:38 | 2022-11-18T23:38:38 | 266,336,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,727 | cpp | #include "structs_classes.h"
/*function to assing coures to lecturers */
int assignCourses_to_lecturers(Cours& coures_vec,Lecturer& Lec_arr,const int& course_index,const char& one){
int i,a = 0;
if(Lec_arr.get_cours_count() >=3){
if(one == 'o'){
cout<<"CAN'T TAKE MORE THAN 3 LECTURES !"<<" ";
return ... | [
"noreply@github.com"
] | ashrafyawar.noreply@github.com |
4bd2d3863e213b995ce4c797f69651b760fb6ceb | be0db8bf2276da4b71a67723bbe8fb75e689bacb | /Src/App/init.cpp | d888c01b5df8390fb58162ef1efbd36db997300d | [] | no_license | jy02140486/cellwarfare | 21a8eb793b94b8472905d793f4b806041baf57bb | 85f026efd03f12dd828817159b9821eff4e4aff0 | refs/heads/master | 2020-12-24T15:22:58.595707 | 2011-07-24T12:36:45 | 2011-07-24T12:36:45 | 32,970,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,030 | cpp | #include "app.h"
#include "event.h"
#include <time.h>
bool T_App::init()
{
try
{
//initail window description
mWinDesc.set_title("CellWarfare");
mWinDesc.set_allow_resize(true);
mWinDesc.set_size(CL_Size (800, 600), false);
CL_String resource("../Res/GUITheme/resources.xml");
CL_String the... | [
"jy02140486@gmail.com@7e182df5-b8f1-272d-db4e-b61a9d634eb1"
] | jy02140486@gmail.com@7e182df5-b8f1-272d-db4e-b61a9d634eb1 |
e98c9af0143ef96534ec3859fa7a6a0ce6131daf | 32b97a6bcce47ede2f5393d3c7131b0c9d419095 | /Exercicio35.cpp | c9b119293c99453faeaa85ed20be925028720d75 | [] | no_license | Althieris/Algoritmo_II | 3014fe76d7dd114dc7169dccf85ff1040b542d15 | 786f3b01c6af52198ced3c8bb0d37f76cfa88160 | refs/heads/master | 2020-03-30T21:50:39.405124 | 2018-12-06T17:17:57 | 2018-12-06T17:17:57 | 151,644,180 | 0 | 0 | null | 2018-11-24T23:46:21 | 2018-10-04T22:34:36 | C++ | UTF-8 | C++ | false | false | 1,192 | cpp | #include "pch.h"
#include <iostream>
int main()
{
int Idade = 1;
int Maior_Idade = 0;
int Contador = 0;
int Opcao_Sexo, Opcao_Cabelo, Opcao_Olhos = 0;
printf("Digite idade -1 para encerrar\n");
while (Idade > 0)
{
printf("Digite sua idade: ");
scanf_s("%i", &Idade);
printf("\n");
if (Id... | [
"noreply@github.com"
] | Althieris.noreply@github.com |
7224287ed3701a803556c3618c13bc2ecd6dd495 | cd726912664cea9c458ac8b609dd98bf33e3b9a0 | /snippets/cpp/VS_Snippets_CLR/Type_GetInterfaces1/CPP/type_getinterfaces1.cpp | d6ba8989b7265f87352e722a2acc7798e65a215f | [
"MIT",
"CC-BY-4.0"
] | permissive | dotnet/dotnet-api-docs | b41fc7fa07aa4d54205df81284bae4f491286ec2 | 70e7abc4bcd692cb4fb6b4cbcb34bb517261dbaf | refs/heads/main | 2023-09-04T07:16:44.908599 | 2023-09-01T21:46:11 | 2023-09-01T21:46:11 | 111,510,915 | 630 | 1,856 | NOASSERTION | 2023-09-14T21:45:33 | 2017-11-21T06:52:13 | C# | UTF-8 | C++ | false | false | 1,030 | cpp | // <Snippet1>
using namespace System;
using namespace System::Collections::Generic;
void main()
{
Console::WriteLine("\r\nInterfaces implemented by Dictionary<int, String^>:\r\n");
for each (Type^ tinterface in Dictionary<int, String^>::typeid->GetInterfaces())
{
Console::WriteLine(tinterface... | [
"noreply@github.com"
] | dotnet.noreply@github.com |
21e557b437cb374995727fd2939cf2330f321082 | 72d44d01083aeb66606cecd9d84dbb0eb17b0acb | /leetcode/leetcode173/leetcode173/main.cpp | 481a449b8e4c57cca58be4c5dc3365ebe5602e19 | [] | 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 | 1,217 | cpp | //
// main.cpp
// leetcode173
//
// Created by 萧天牧 on 17/4/23.
// Copyright © 2017年 萧天牧. All rights reserved.
//
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
/**
* Definition for binary tree
*/ struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
Tree... | [
"danache@126.com"
] | danache@126.com |
bf740e82c4741a12601505416dc7413a2a228665 | 1a218c67ad04f99e52c37425fdb933b053af6244 | /Ch09/exercise9.49.cpp | 5cb899cb17a689aeb2b3a014a43cdfdb11e04bb1 | [] | no_license | xiaonengmiao/Cpp_Primer | 5a91cd223c9b0870f4ab9a45c6f679333a98fa20 | be20a29b49be19f6959b7873077ea698da940bf6 | refs/heads/master | 2020-12-25T14:23:58.976008 | 2020-06-18T07:54:43 | 2020-06-18T07:54:43 | 66,343,361 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include<iostream>
#include<string>
#include<fstream>
using namespace std;
int main()
{
string ascdes{"tdhfklbqypgj"};
ifstream ifs("../data/letter.txt");
if (!ifs) return -1;
string word;
string longword;
unsigned len = 0;
while (ifs >> word)
{
if (word.find_first_of(ascdes) == string::npos && ... | [
"hlibb@connect.ust.hk"
] | hlibb@connect.ust.hk |
8df1f80cbf39d16c93339251558049793177ad65 | 733da9a1460ea0fbddcfb2723ef5737ed5157796 | /01/test1.cpp | 7aff96da34f0aa4f0f7fce95a98dd707ccc569ee | [] | no_license | RuslanNarziev/msu_cpp_spring_2020 | 6d6d71e57b8e27a365f02e52071290f853e1abea | 848d742d536e41a9b1280ebc0931a6e7bfbd5d86 | refs/heads/master | 2022-10-23T20:00:39.960559 | 2020-06-11T16:48:00 | 2020-06-11T16:48:00 | 246,590,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include "task1.h"
int main() {
Allocator al;
al.MakeAllocator(1000);
if(al.Get_startptr() != NULL)
std::cout << "Memory has allocated";
else
std::cout << "Memory has not allocated";
return 0;
} | [
"ruslokoboy@mail.ru"
] | ruslokoboy@mail.ru |
63552cb703f5ac6fa59d03f7a704abe26259e9ef | 2a0799c18d6e31398c6e0a3aaf614b33762b81b5 | /Wheels.cpp | 493d98d4bc2048086319ba6a037a513a7b887fa1 | [] | no_license | dntAtMe/embedded-2018-2019 | eb1d1e41a3a330c7a17c8a1daf41f03413b5e979 | e74f6b03da5e50fc4cddfbcb7430f29f6bf4c48f | refs/heads/master | 2020-05-30T18:06:50.643721 | 2019-06-02T20:12:34 | 2019-06-02T20:12:34 | 189,890,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,216 | cpp | #include <Arduino.h>
#include "Wheels.h"
#define SET_MOVEMENT(side,f,b) digitalWrite( side[0], f);\
digitalWrite( side[1], b)
#define INTINPUT0 A0
#define INTINPUT1 A1
#define BEEPING_PIN 13
volatile int cnt0, cnt1;
long int beepingFreq = 250000;
void doBeep()
{
digitalWrite(BEE... | [
"dntatm3@gmail.com"
] | dntatm3@gmail.com |
cd89826a08896a4e070e25e6ca747031fc0984c2 | 818df5a6b667055f9c472e72ee0fc823f86de819 | /628.cpp | fd3f0f9aca8f3f5448e2d232baa6e559ecbedf3f | [] | no_license | kalex1994/UVA | 0a495e971fdcf92a785421a5c741bda915c21fca | cf45c6174cd299df14e8b52637c29ea7c3ec0f20 | refs/heads/master | 2021-01-01T19:47:13.630295 | 2016-10-15T19:14:46 | 2016-10-15T19:14:46 | 12,342,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | #include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <cstring>
#include <algorithm>
#include <sstream>
#include <cmath>
#include <map>
#include <set>
using namespace std;
int n, m;
string words[100];
string rule;
void make_passwords(string password, size_t index)
{
if (index >= rule.len... | [
"kiralaleks@gmail.com"
] | kiralaleks@gmail.com |
5f6a7547818f9630d254dd4e5e1a57d6a7e963ab | 367fba5df552aef1ee9aa6add6bb512b781bc6d4 | /plugins/jsAPI/nodeJsExtension/wrappers/ApeIndexedLineSetGeometryJsBind.h | 1e9b9c71a432a5da2fee8f2437daa8d41eac1e8a | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | hamoriakos/ApertusVR | 2d3e5736b26404198b222d24388bb3c1c162ee69 | 14303ab54963e52409ed376cdafae5c43004074b | refs/heads/master | 2021-09-16T00:13:48.980732 | 2017-06-28T18:23:14 | 2017-06-28T18:23:14 | 105,749,913 | 0 | 1 | MIT | 2018-06-13T13:54:38 | 2017-10-04T09:11:13 | C++ | UTF-8 | C++ | false | false | 4,023 | h | /*MIT License
Copyright (c) 2016 MTA SZTAKI
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, modify, merge, publish, dist... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
1c143f84fa880dd048605f74a0979ff1f4c67cf8 | 9bb1ca65690b12cfaaac3a851958b1c5d1f6d520 | /Utilities/ThreadSafePointer/thread_safe_ptr.cpp | 8b9754ff58b791d27c0bb5353e781e38047ca13f | [] | no_license | MohitBhola/CPP | bb972327025493e879a20d2cf42b9e953d944b5b | 18e9c4e492d85d8d264bf1ce5238f6ee1d3e857c | refs/heads/master | 2022-05-01T07:57:50.220698 | 2022-04-09T10:25:28 | 2022-04-09T10:25:28 | 206,759,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,148 | cpp | #include <iostream>
#include <memory>
#include <mutex>
#include <map>
#include <string>
#include <thread>
// a manual replacement for std::void_t (available since C++17)
template<
typename...>
using VoidT = void;
template<
typename T, typename = VoidT<>>
struct DisableIfIndirection : std::false_type
{};
temp... | [
"noreply@github.com"
] | MohitBhola.noreply@github.com |
7353c3ed56ed21b0b9df018981759d6e716ec9b1 | e9ba75ae30fd8af7cb00dc330bae6e5ea9f04043 | /src/physicsentity.h | 41c416e3bfb5fe60f9d30fce48b35607573d0d47 | [
"MIT",
"BSD-3-Clause"
] | permissive | adderly/Bacon2D | a4fad8084c75e3dc62e627c382aee969c97ba354 | 4875cddc1301cae0212ee4e32192bb17821b36f2 | refs/heads/master | 2021-01-24T23:11:43.345455 | 2016-10-29T23:06:19 | 2016-10-29T23:06:19 | 49,147,938 | 0 | 1 | null | 2016-01-06T16:44:24 | 2016-01-06T16:44:24 | null | UTF-8 | C++ | false | false | 1,193 | h | #ifndef PHYSICSENTITY_H
#define PHYSICSENTITY_H
#include <QObject>
#include <entity.h>
class QPointF;
class Box2DBody;
typedef Box2DBody Body;
/**
* @brief
*/
class PhysicsEntity : public Entity
{
Q_OBJECT
Q_PROPERTY(Body* body READ body WRITE setBody NOTIFY bodyChanged)
public:
PhysicsEntity(QQuickItem*... | [
"adderlygonzalez@gmail.com"
] | adderlygonzalez@gmail.com |
c3d3b121b6bf6728a4e2a66a38b6931eb7ba741e | afa181dce5c4f77a4f7bbc2740fc5063a018f694 | /main.cpp | 81e31978b7bf261a51fd73a18b95448d3abcf082 | [] | no_license | romkas/UniRank | e9058d1a9ae60226a4bb032664ff5be6f1c81eea | 4243bdf6317633904d618bf581a07a621df0502e | refs/heads/master | 2021-01-10T04:22:58.599093 | 2018-02-04T12:51:37 | 2018-02-04T12:51:37 | 46,122,121 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,617 | cpp | #include "Interface.h"
#define DEBUG 0
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
list<VUZ> vList;
const char* source = "C:\\Users\\ROM\\Desktop\\practise-2\\Source list.txt",
* res = "C:\\Users\\ROM\\Desktop\\practise-2\\07-07-unite\\results_07-07-unite.txt",
* res_baas = "C:\\... | [
"romekulum2308@gmail.com"
] | romekulum2308@gmail.com |
fac73cb7690518efa4dd0364f40d6fe5daa3fb19 | 667786dd8dacdf6828ff329419f377f9a2112c0b | /Problems/HackerRank/Algorithms/Implementation/Kangaroo.cpp | c7d2d203ddd445ca8b9ae3ccf8f44fec2001d201 | [] | no_license | BedirT/Algorithms_and_DS | 50de96c8e707422f51510eda0e155880d76eed0e | 083a6325b8be70108832eda1bf43eb9f3b9eb011 | refs/heads/master | 2022-09-09T22:29:55.090031 | 2022-09-06T22:04:06 | 2022-09-06T22:04:06 | 51,181,386 | 45 | 27 | null | 2020-03-06T10:36:26 | 2016-02-05T23:46:56 | C++ | UTF-8 | C++ | false | false | 556 | cpp | //https://www.hackerrank.com/challenges/kangaroo
#include <iostream>
using namespace std;
int main(){
int x1;
int v1;
int x2;
int v2;
cin >> x1 >> v1 >> x2 >> v2;
set<int> st;
int count = 0;
bool did = false;
if((v1 >= v2 && x1 > x2) || (v1 <= v2 && x1 < x2));
else{
for(i... | [
"bedir.tapkan.53@gmail.com"
] | bedir.tapkan.53@gmail.com |
4e1d0c0f373ee0028f2f7971539ab7acdf83d84c | 077700c6755d112f7d22559eaec319ec049bb8ba | /Practise/Basic C++/Ch 6/Overloaded Constructures.cpp | 93b1099e3dc1863e1d5c57febaebe924877fce2c | [] | no_license | vaibhavdangayachvd/CPP-Programming | ce106daec0380c64edc101dc5c21b31ea708e75f | 1882814699c62f89ceee2826d15fa51a8410db6c | refs/heads/master | 2020-04-07T16:25:54.854692 | 2019-05-28T00:06:18 | 2019-05-28T00:06:18 | 158,522,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include<iostream>
using namespace std;
class complex_
{
float x,y;
public:
complex_(){}
complex_(float a){x=y=a;}
complex_(float rear,float imag){x=rear,y=imag;}
friend complex_ sum(complex_,complex_);
friend void show(complex_);
};
complex_ sum(complex_ c1,complex_ c2)
{
complex_ c3;
c... | [
"vaibhavdangayachvd@gmail.com"
] | vaibhavdangayachvd@gmail.com |
025ef13ba6732d96f2c7663e14cf94f9be060684 | 04c66673a7f8ebdca37e1a28bfdfa9af56716ddc | /02_auto/main.cpp | fd8a935abb472b0f85b2aa94a41b34487084cf94 | [] | no_license | mkargi/modern_effective_cpp | 14b2e5daaf3811ec657a47ee62f56d45746d90b8 | 003a586c0c326020ca12eae1d07937eda7142924 | refs/heads/master | 2023-01-23T04:11:42.522368 | 2020-12-02T16:38:27 | 2020-12-02T16:38:27 | 315,421,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include <iostream>
int main()
{
auto x = 27; // int
const auto cx = x; // const int
const auto& rx = x; // const int&
auto&& uref1 = x; // int&
auto&& uref2 = cx; // const int&
auto&& uref3 = 27; // int&&
return 0;
}
| [
"matthias.karg88@googlemail.com"
] | matthias.karg88@googlemail.com |
2d851542da8912c2371ab40a785173ed3b026ac8 | 6831e4284e70cd4c05c6fb5c7c6ff64352a4b674 | /kopt/swap/SimpleSegment.h | 85f3fa5f176f63b3629dac49ac703155aff7142d | [] | no_license | wangshgeo/2opt | 7b0e8b8d4ed95123b637ad2cc0573d3200cb6150 | bb9199f669a0ed427c23d83d9935c0715ef9bd24 | refs/heads/master | 2020-12-27T23:49:29.703294 | 2020-02-04T19:57:46 | 2020-02-04T19:57:46 | 238,109,691 | 0 | 0 | null | 2020-02-04T02:52:32 | 2020-02-04T02:52:31 | null | UTF-8 | C++ | false | false | 187 | h | #pragma once
// The two ints represent city IDs that make up a segment.
// The IDs are in no particular order.
#include <array>
using SimpleSegment = std::array<std::size_t, 2>;
| [
"rlee32@gatech.edu"
] | rlee32@gatech.edu |
68464369f577cad7d0a68a563fd62aa5c208355b | 8a75a84761d998fccb34f2d3b182c221ba01dbd5 | /Other leetCode codes/4Sum/main.cpp | 35b659d35cdeaa5ae2626f8c91bb76b7082e209f | [] | no_license | danqiuBear/Cplusplus-Demo | 18eeda35585f4f6216605699043460f11ad941a6 | 37ffebbfbb231aca56753bbf78a9ecad506c63a2 | refs/heads/master | 2020-06-13T19:45:26.454893 | 2019-08-23T08:59:29 | 2019-08-23T08:59:29 | 194,769,443 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,210 | cpp | #include"iostream"
#include"vector"
#include"algorithm"
#include"unordered_map"
using namespace std;
class Solution{
public:
vector<vector<int>> fourSum(vector<int> &nums, int target){
vector < vector<int>> result;
if (nums.size() < 4) return result;
sort(nums.begin(), nums.end());
unordered_map<int, vector<... | [
"DanqiuBear@gmail.com"
] | DanqiuBear@gmail.com |
4430eaf28a36cd2a2d4428597d0db2484ca95e01 | cb6b7e15efd75a696f5144701e584f734ff1b713 | /chapter 1/1.8.3 买房子.cpp | c2b3eb4e1d7473e138cd14730f0ea27831433e19 | [] | no_license | Zhulinjiuying/C-Plus-homework | 7d9d523eb282c996b7a176f0c8ca7d44997114d2 | 74aaef369e280c028f7bdc86528c6eb30e23c9e3 | refs/heads/master | 2021-08-07T05:02:48.054957 | 2017-11-07T15:58:07 | 2017-11-07T15:58:07 | 109,857,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include <iostream>
using namespace std;
int main() {
int m, flag, a[100], b[100];
int i = 0;
double sum = 200.0;
flag = 0;
m = 1;
while (cin >> a[i] >> b[i]) i++;
for (int j = 0; j < i; j++) {
if (a[j] < 10 || a[j] > 50 || b[j] < 1 || b[j] > 20) {
return -1;
}
... | [
"554851075@qq.com"
] | 554851075@qq.com |
488ceaa61531dd92df1624e573d3e2a6bf248e97 | 98f10c77b9932915eb9f37d9cf79a83094342444 | /URI/2018.cpp | b4171ffab5649ef7291300def7340fa6a5611583 | [] | no_license | lucianovr/competitive-programming | b5ba55a5055e486862c0c8b62e61c86e41b8f2b8 | bd95492bb8a14563603a5a2d74e3c1676a4a61e6 | refs/heads/master | 2022-09-10T04:54:07.417831 | 2020-05-28T00:33:36 | 2020-05-28T00:33:36 | 267,455,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i(a); i < (b); i++)
#define all(c) c.begin(), c.end()
#define UNIQUE(c) \
{ sort(ALL(c); (c).resize( unique(ALL(c))-c.begin() ); ... | [
"lucianovale@inatel.br"
] | lucianovale@inatel.br |
b2aa285f9351f27e8cee2375644727e7394f201e | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/openexr/OpenEXR/IlmImfTest/testNativeFormat.h | 19c9ba673b5774baf1afb9c33174e9b323b70ed3 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 1,874 | h | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2003-2012, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
053b8cc331fbaeaeb235e57d0d6a4c7f9797d3f3 | a37c5c59364f16db8475db8a3bf237abcb12702f | /Part3/Chap07/07.QuadTree+FixCrack/Dib.cpp | 9f6c76a68c872ce88357d58ef19013228d7f565b | [] | no_license | blastingzone/ComputerGraphicsAdvenced | 915d3cab0375b4beb6cfad347fb5746f848eb77c | 95c4b33c316a60e58754dfb4e873f49397aadbd1 | refs/heads/master | 2021-01-18T16:13:07.001810 | 2014-06-22T17:13:39 | 2014-06-22T17:13:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,426 | cpp | // DIB module
#include <windows.h>
#include <stdio.h>
#include <math.h>
#include "dib.h"
#define DEFAULT_XPIXELSPERMETER 3000
#define DEFAULT_YPIXELSPERMETER 3000
////////////////////////////////////////////////////////////////////////////////
// file io
LPBYTE DibLoadHandle( LPSTR lpFileName )
{
FILE *fp;
... | [
"bulbitain@nhnnext.org"
] | bulbitain@nhnnext.org |
c29d28ea6df51822aba67f69dd0959d578eeee7f | bb3d0592b9cdc7821b37ff3db2db764e8d15f83a | /Src/VkWrapper/Fence.cpp | f75a6626444f358e63150bf4c2f2d4f184a7bea9 | [] | no_license | Vismar/Conure2D | 7a464a24407d301f76fcd7ddfc1f7de8c30e4b54 | e7f4a311a1096a10d465755b176ffc336c4d9f15 | refs/heads/master | 2022-05-01T22:42:32.973420 | 2021-02-27T20:17:13 | 2021-02-27T20:17:13 | 114,643,545 | 4 | 0 | null | 2019-03-12T12:20:29 | 2017-12-18T13:20:04 | C++ | UTF-8 | C++ | false | false | 1,092 | cpp | #include "Fence.hpp"
#include <Utility/Assert.hpp>
#include <Tracer/TraceScopeTimer.hpp>
using namespace VkWrapper;
// ---------------------------------------------------------------------------------------------------------------------
Fence::Fence(VkDevice lDevice)
: _lDevice(lDevice)
, _fence(nullptr)
{
Trace... | [
"exanimoteam@gmail.com"
] | exanimoteam@gmail.com |
7c27560a0c49fa5c6b919193f4ded9873816fd49 | 3a17418505f5c68564100f03caa789db2e214477 | /testCases/Cavity/Hanhoun/non-ideality-comparison/cavity_stoich_MAPST_Gamma/435860/NH4 | 9b3012f38ec8ca2b420df5925a97c6d00771b868 | [] | no_license | BJankauskas/mapFoam | 2554798c7a4435c90e3f269e84c1c6e6109bb1e7 | 06200cf3a51da3e9a8d284d9df18f8634964dc1a | refs/heads/master | 2020-05-24T16:31:26.833077 | 2019-05-21T18:40:15 | 2019-05-21T18:40:15 | 187,356,603 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
... | [
"bernardas.jankauskas@gmail.com"
] | bernardas.jankauskas@gmail.com | |
3ac1a8c5d1c21ca940a0c014311ea5ce09865c82 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/signin/e2e_tests/test_accounts_util.cc | c533ea0fb3cebc945a426009d85557f095096d58 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 2,396 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/signin/e2e_tests/test_accounts_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/json/j... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
321c839042a0dd04e458296cbfd67dae77592e5f | 81522472404dea65d77488778fa7e89990bf3453 | /moveit_control/src/arm_moveit.cpp | b5bf9ba635d2c24f82da692ed033d643aac6d0dc | [
"MIT"
] | permissive | I-Quotient-Robotics/iqr_dual_jaco | b8a27a72943b4a3b179f2e90d2b30ecc70f4f90f | 60e9d2de9eeb2f87b73c0eb6169b521b8d5bfc82 | refs/heads/main | 2023-08-22T23:58:29.452996 | 2021-03-24T06:14:04 | 2021-03-24T06:14:04 | 319,181,820 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,052 | cpp | #include <ros/ros.h>
#include <string>
#include <thread>
#include <geometry_msgs/PoseStamped.h>
#include <kinova_msgs/ArmPoseAction.h>
#include <actionlib/client/simple_action_client.h>
#include <std_msgs/Float64.h>
#include <sensor_msgs/JointState.h>
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/Twist.h>
#... | [
"prog_liu_study@163.com"
] | prog_liu_study@163.com |
7a39a64cfa11459597063a213dfe00b18e43e368 | cdab2ef737a481a92fee3e08bbdb7227adbb4259 | /typecd/udev_monitor.h | d1fed9c3a1672dbfdea9c20fe92d36f64934efe8 | [
"BSD-3-Clause"
] | permissive | manduSry/platform2 | a2c1c829e45356b920e6c7ba546324e6d6decfdf | 58ede23d2f4cd5651b7afaae5c78893cc836f01d | refs/heads/main | 2023-04-06T19:06:50.384147 | 2020-12-30T04:41:55 | 2021-01-20T04:53:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,366 | h | // Copyright 2020 The Chromium OS 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 TYPECD_UDEV_MONITOR_H_
#define TYPECD_UDEV_MONITOR_H_
#include <libudev.h>
#include <map>
#include <memory>
#include <string>
#include <utili... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
04ed465116ac0efb1d47a98946432b12767dc9b7 | d62df1592c497496d776c09b7394bc1a430d8f29 | /src/client/TcpUser.cpp | af0ece6e23fa117697306f60809f69f9168fe9be | [
"MIT"
] | permissive | silent1603/boost-asio-udp-holepunching | 0c9d23adf292fac9a4abc2151efbcdb37fd2dced | 10acfa70ee23c0b9468ced7ceed935edf7c51aaf | refs/heads/main | 2023-03-18T11:11:10.705038 | 2021-01-30T13:38:50 | 2021-01-30T13:38:50 | null | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 2,023 | cpp | /*****************************************************************//**
* \file TcpUser.cpp
* \brief
*
* \author wjden
* \date January 2021
*********************************************************************/
#include "TcpUser.h"
#include "network/UdpSocket.h"
#include "server/SignalServerProtocol.h"
... | [
"wjdenwls123@gmail.com"
] | wjdenwls123@gmail.com |
e9787321b56bcf364d58477b4f13ba8a4ac71ac0 | 6e3e4f6b43d308ca742d40acfec84e9985e75355 | /动规/拆分问题/343_Integer Break.cpp | 5016b1ce79410ea7680a5bcefad6439c3a8b135b | [] | no_license | HannahTin/Leetcode | a4a32700125333a10209f4401eec38d372aff1d4 | 6febfc026bf9b584e7b482b435dac7689fa2aa33 | refs/heads/master | 2022-05-28T16:04:51.393960 | 2022-03-20T08:22:57 | 2022-03-20T08:22:57 | 205,310,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | /*
343. 整数拆分
给定一个正整数 n ,将其拆分为 k 个 正整数 的和( k >= 2 ),并使这些整数的乘积最大化。
返回 你可以获得的最大乘积 。
示例 1:
输入: n = 2
输出: 1
解释: 2 = 1 + 1, 1 × 1 = 1。
示例 2:
输入: n = 10
输出: 36
解释: 10 = 3 + 3 + 4, 3 × 3 × 4 = 36。
*/
using namespace std;
#include <vector>
class Solution {
public:
// 其实可以从1遍历j,然后有两种渠道得到dp[i].
// 一个是j * (i - j) 直接相乘。
//... | [
"menghantin@gmail.com"
] | menghantin@gmail.com |
38eab113c40502febb90a0b732cd993ab9ac75cf | 640e4a63662602237df205f403f469819b960b3e | /ykt/src/upayposvr/ecardmain.pc | 2fe2529d1f7805397009bf6950111f21d9de6da0 | [] | no_license | paipeng/bank_interface | 9663972170ca3340326e7a65bf8f2406532515b2 | 060faf778bbb084a5aa921b2b1d9d165968f1703 | refs/heads/master | 2023-03-20T10:36:46.112213 | 2014-04-14T10:03:59 | 2014-04-14T10:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | pc | #include <stdio.h>
#include <iostream>
#include <fstream>
#include "logger_imp.h"
#include "config_imp.h"
#include "unitfunc.h"
#include "unitprocess.h"
#include<iostream>
#include<string>
#include<sstream>
#include "ks_8583_reader.h"
using namespace std;
int main(int argc, char* argv[])
{
char szVersion[64];
sprin... | [
"peng.wang@supwisdom.com"
] | peng.wang@supwisdom.com |
1285ce7885120d7c1e312694f65dfaffc293ee3b | 3c288a663126e0b920e1c281396ca650ce7b36d6 | /RGB_2_LED/RGB_2_LED.ino | a0b923e1c4bc28df27959d7080bd612f727f6952 | [] | no_license | enzoyoung1/L4 | c743dec47b44ba54fcba7e6aa2ad01492edf3df6 | ebe37784d524d86d9e6f9a0144389adad15e90b0 | refs/heads/main | 2023-04-20T16:53:17.866526 | 2021-05-14T19:27:27 | 2021-05-14T19:27:27 | 360,953,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | ino |
void setup() {
Serial.begin(9600);
}
void loop() {
int potenPin = A0;
int ldrPin = A1;
int potenValue = analogRead(potenPin);
int ldrValue = analogRead(ldrPin);
int poten = map(potenValue,0,1023,255,0);
int ldr = map(ldrValue,0,950,255,0);
if(poten > 10){
analogWrite(8, poten);
}else{
d... | [
"noreply@github.com"
] | enzoyoung1.noreply@github.com |
407e620acc78923922702020f0c47acb9b165fc4 | 6d03fbf380c7c501e448cd3df7747b311f599c26 | /Lab04/Timer.h | cac9d0225a4e76dd7ba95a09e456945bb0235322 | [] | no_license | ashlimosiman/EECS_560 | cb3e2ac4acead16e304896fb29c2cce02c7b0302 | 00f292096785495e21907a8279e25c067f36b59a | refs/heads/master | 2021-01-11T16:10:20.560114 | 2017-04-19T04:16:42 | 2017-04-19T04:16:42 | 80,026,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | h | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
using namespace std;
class Timer {
private:
timeval startTime;
timeval endTime;
public:
void start(){
gettimeofday(&startTime, NULL);
}
double stop(){
long seconds, nseconds;
double duration;
gettimeofday(&endTime, NULL);
seco... | [
"amosiman93@gmail.com"
] | amosiman93@gmail.com |
35d5e9313b6bad6f757846d58b00f4db7d3b06d2 | d66dcbaa2d13697d67f750fd28b48a020ea66cc8 | /sql_functions.cpp | 92df7b9346d53974cb8058e99f06fb4b1b2955c3 | [] | no_license | huhongbo/ospfscan | f61726bd34914ec2f6294b61adbda85484991160 | 10ca7c28033a40796f43dfdb7eac219da47db93f | refs/heads/master | 2020-07-10T06:34:13.025195 | 2012-10-11T00:02:21 | 2012-10-11T00:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,908 | cpp | #include "591.h"
int insert_router(sqlite3 *db, ospf_t *ospf, ospf_lsa_t *lsa)
{
char sql[1024];
snprintf(sql, sizeof(sql), "INSERT OR REPLACE INTO routers (router_id, area) VALUES ('%s',%i)", inet_ntoa(lsa->ospf_lsa_adv_router),ospf->ospf_area.s_addr);
char *error;
int res = sqlite3_exec(db, sql, NULL... | [
"SenorNaddy@Proton.9delta.simonwadsworth.geek.nz"
] | SenorNaddy@Proton.9delta.simonwadsworth.geek.nz |
1be66b82af907107c2e41e4c6fa213ec8220eeaa | f0cd5d5b2e4eeedb40003aeab11bd96ed6230c3d | /GeometricFormGL/triangle.cpp | 6b164486f857ce8e40cdd2ef2134034fde2c7fff | [] | no_license | ELezov/OpenGL-glut | 3e322b0dac4e26a78dcd9e492abbe5662e1aec4d | 1095a4499f5f3b171caca800c7db23e7569b87d0 | refs/heads/master | 2020-04-06T04:05:02.624739 | 2016-06-15T23:59:18 | 2016-06-15T23:59:18 | 58,453,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include "triangle.h"
Triangle::Triangle(QGLWidget *parent) :
x0(-200.0f),
y0(0.0f),
t(10.1f)
{
}
void Triangle::setX0()
{
if(x0>201)
{
t=-t;
}
if(x0<-201)
{
t=-t;
}
x0=x0+t+100;
// qDebug() << x0 ;
a++;
}
void Triangle::setY0()
{
y0=cos(x0/5)*5;
}... | [
"ELezov@stud.kantiana.ru"
] | ELezov@stud.kantiana.ru |
070b0619c62ced0bbff5fee1a731803f3ba54872 | cb0d7ae2349adae7cb9d2463eabd1f79ee35b9b7 | /Longest Common Prefix.cpp | e5fc1640205d419a126800f1d5109f4c03ec01f6 | [] | no_license | eric0716336/leetcode | f32449d174033117ea65964ed37cde26d317a037 | 5613af945d8afa4a2e86ee37695f7190478a01ff | refs/heads/main | 2023-06-06T07:12:08.308701 | 2021-07-02T05:32:23 | 2021-07-02T05:32:23 | 382,240,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | //Longest Common Prefix
class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
int common_count=0;
if(strs.size()==0){
return "";
}
int len = strs[0].length();
int flag=0;
for(int i=0;i... | [
"noreply@github.com"
] | eric0716336.noreply@github.com |
4fc3a19787a2d9eaaaab824a82e7d3902df045be | 69ed1447b867b11b3ff841aeb10550fe138a2246 | /SDK/Headers/CppDynamic/libamcf_dynamic - Copy.hpp | ff5328d7ff63bf5b5a68da62fa8e615058e13059 | [
"BSD-3-Clause"
] | permissive | jakeread/AutodeskMachineControlFramework | 926d492390773b57b64aee910412ee29db13a055 | 288b07db3df7b72b67f98040ccf6da9889123469 | refs/heads/master | 2023-08-23T03:07:07.311759 | 2021-08-06T17:35:16 | 2021-08-06T17:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,900 | hpp | /*++
Copyright (C) 2021 Autodesk Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the ... | [
"alexanderoster@users.noreply.github.com"
] | alexanderoster@users.noreply.github.com |
6a125acb890ca39a86ccad40c3af812ad283e8a0 | d87d113b55091f8674146d56d8d46d7eba6b2ee6 | /StrongItem.cpp | 8b5b42fdc66fc3f5a639bfe9504c7f97e0b2e8b0 | [] | no_license | IuliaCristea/TheWalk | 7716b1965098c1df95d38780df58d2693e06c43a | 24bf70689fac8e839b6d25a91c01a4f7003129a0 | refs/heads/master | 2020-03-14T08:42:06.473126 | 2018-04-29T21:17:05 | 2018-04-29T21:17:05 | 130,861,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include "StrongItem.hpp"
void StrongItem::useItem(SmartRobot &smR)
{
std::cout << "Smart Robot cannot use Strong Item.\n";
}
void StrongItem::useItem(StrongRobot &stR)
{
stR.UpdateNoOfItems(1);
stR.isItemActive(true);
std::cout << "Strong Robot cannot be affected by the next trap.\n";
}
voi... | [
"noreply@github.com"
] | IuliaCristea.noreply@github.com |
572281e44ec6cf8712204058a049758592c9c54f | d1f5cbc5b9a9c9d9aa8a9d8e34c6c4857f893d9e | /src/libtid/sdl_tid_client.h | 7d68f723eb0ca9828f6a947309f02501d4ccdd43 | [] | no_license | tools4BCI/core | fcdc3abd57c49281247c5801a7c092fdda3d4447 | 2aee8c29334e6e00a375b86235bf27cbbc284dc5 | refs/heads/master | 2020-09-26T07:59:55.079724 | 2017-04-24T17:18:18 | 2017-04-24T17:18:18 | 66,266,070 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | h | /*
This file is part of TOBI Interface D (TiD).
TOBI Interface D (TiD) is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | [
"c.breitwieser@tugraz.at"
] | c.breitwieser@tugraz.at |
957ab7501e88b40aec241ffa33b02c33875aa3e0 | 293902682d7ee13be81ada6c28ef6b840983ac33 | /Tests/Integration_ConnectionService_ConnectionPool/src/main.cpp | 836c84dfe574722e1164e418681f45eb61ffddb9 | [] | no_license | cms-externals/coral | d17cba45fff7f34d7a1ba13ab3bb371e0696c1af | a879b41c994fa956ff0ae78e3410bb409582ad20 | refs/heads/cms/CORAL_2_3_21py3 | 2022-02-26T18:51:25.258362 | 2022-02-23T13:19:11 | 2022-02-23T13:19:11 | 91,173,895 | 0 | 4 | null | 2022-02-14T13:20:11 | 2017-05-13T12:47:54 | C++ | UTF-8 | C++ | false | false | 389 | cpp | #include "TestApp.h"
#include "CoralBase/Exception.h"
#include <iostream>
#include <exception>
#include <cstdlib>
int main(int argc, char *argv[])
{
TestApp app("CS_CPOOL");
if(app.check(argc, argv))
{
app.addServiceName(TEST_CORE_SCHEME_ADMIN);
app.addServiceName(TEST_CORE_SERVICE_2);
try
{
... | [
"cmsbuild@cern.ch"
] | cmsbuild@cern.ch |
31118192114c0b455970a9a836d6bc77ff6b3cb3 | b126a8248240fd71653159beeccc732ca49f49c2 | /OpenCascade/BRepPrimAPI_MakeOneAxis.hxx | fdb2829030d532c08ce3299c9399884c9c10e270 | [] | no_license | jicc/3rdpartyincludes | 90fd194a37082027482043c56e66cfdafa386d2b | f790f816dc2c4ef5868189b87cb6edb65a755538 | refs/heads/master | 2021-01-14T13:39:24.774980 | 2013-07-26T08:15:01 | 2013-07-26T08:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BRepPrimAPI_MakeOneAxis_HeaderFile
#define... | [
"taylorrj@ornl.gov"
] | taylorrj@ornl.gov |
8d9276b8322f20927a57d9a6545c83b05e40f2ac | 2a89e46324a6e0dfa5cad89801379d593a12a4c1 | /lua/models/onnx/lua_onnx_runtime_builder_factory.cc | d4654f6c7649227204da2a0a874c5cce0a337726 | [
"Apache-2.0"
] | permissive | fzhsbc/ppl.nn | 16ca2a4991316cfee2eb40a48a3003caf5dfac70 | 370a3ff5296b3c2d8768bb2f5220eaa5e65a94a7 | refs/heads/master | 2023-09-03T18:40:29.524548 | 2021-11-09T07:59:04 | 2021-11-09T08:45:10 | 426,165,992 | 0 | 0 | Apache-2.0 | 2021-11-09T09:26:13 | 2021-11-09T09:26:13 | null | UTF-8 | C++ | false | false | 2,262 | cc | // 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... | [
"ouguoyu@sensetime.com"
] | ouguoyu@sensetime.com |
a661ea609463490b04edd08dddcfb5af33834a8d | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtbase/src/plugins/platforms/android/qandroidplatformmenu.cpp | 1ecabb25e2c0f41e14c3f1587793a4d5744e9fec | [
"LGPL-2.1-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-commercial",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 5,172 | cpp | /****************************************************************************
**
** Copyright (C) 2012 BogDan Vatra <bogdan@kde.org>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid ... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
ff8ea931404a23537871eee18d88d7c6b8afe0de | 0c7e20a002108d636517b2f0cde6de9019fdf8c4 | /Sources/Elastos/External/conscrypt/src/org/conscrypt/COpenSSLServerSocketFactoryImpl.cpp | 82c1ce7df4bc5066f977763f52c104c8bfa7f239 | [
"Apache-2.0"
] | permissive | kernal88/Elastos5 | 022774d8c42aea597e6f8ee14e80e8e31758f950 | 871044110de52fcccfbd6fd0d9c24feefeb6dea0 | refs/heads/master | 2021-01-12T15:23:52.242654 | 2016-10-24T08:20:15 | 2016-10-24T08:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp |
#include "org/conscrypt/COpenSSLServerSocketFactoryImpl.h"
namespace Org {
namespace Conscrypt {
CAR_OBJECT_IMPL(COpenSSLServerSocketFactoryImpl)
} // namespace Conscrypt
} // namespace Org
| [
"zhang.yu@kortide.com"
] | zhang.yu@kortide.com |
cd4fd92f7bf50f60a6009a036cd4dca724277b73 | 1851d92ec009599f979ff68440cea9a220d263d4 | /src/qt/bitcoingui.h | 0fe986d7b388f058d012efab18fd74f298ebbb1a | [
"MIT"
] | permissive | stintcoin/StintCoin | f7e8d3411f2de38bda93f1bbfdb551616fb3ca78 | 75b9fc740ed1929bde1f142502f9adbbb630d812 | refs/heads/master | 2020-04-09T01:21:18.148125 | 2018-12-13T22:08:30 | 2018-12-13T22:08:30 | 159,900,937 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,987 | h | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_BITCOINGUI_H
#define BITCOIN_QT_BITCOINGUI_H
#if defined(HAVE_CONFIG_H)
#include "config/stintcoin-config.... | [
"codalata@gmail.com"
] | codalata@gmail.com |
03f86b0c1bd02799b8f29207e99bd3cd8ddf3d99 | 85b690ce5b5952b6d886946e0bae43b975004a11 | /Application/Input/openfoam-org/processor1/0.75/k | 832730ed5b0151cd14532c068fbcf97a582bdc1b | [] | no_license | pace-gt/PACE-ProvBench | c89820cf160c0577e05447d553a70b0e90d54d45 | 4c55dda0e9edb4a381712a50656855732af3e51a | refs/heads/master | 2023-03-12T06:56:30.228126 | 2021-02-25T22:49:07 | 2021-02-25T22:49:07 | 257,307,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,014 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"fang.liu@oit.gatech.edu"
] | fang.liu@oit.gatech.edu | |
842d4df2c4e0d18721f5aae7b135fa3f1d3afe1d | fae551eb54ab3a907ba13cf38aba1db288708d92 | /android_webview/browser/page_load_metrics/aw_page_load_metrics_memory_tracker_factory.cc | f6fa46af4978e76325c494c6b713bceee6af1973 | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 1,815 | 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 "android_webview/browser/page_load_metrics/aw_page_load_metrics_memory_tracker_factory.h"
#include "base/memory/singleton.h"
#include "component... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
bc11c519dbd8362cbcd4ada4658dc411d186c86d | ef9c90197796606ee5d3d800d9823f2b332070a6 | /hw04/src/mygl.cpp | 49c4d8755316f7e412c3807e8df8a5e5a1e4d315 | [] | no_license | hehehaha12139/CIS-460-560 | d5af73f7091389040e3e0c962af55052a026679c | b76be1eb5c5f7085e6669059399520576a69e07b | refs/heads/master | 2020-09-06T08:58:13.030233 | 2017-02-21T17:40:48 | 2017-02-21T17:40:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,952 | cpp | #include "mygl.h"
#include <la.h>
#include <iostream>
#include <QApplication>
#include <QKeyEvent>
MyGL::MyGL(QWidget *parent)
: GLWidget277(parent),
geom_cylinder(this), geom_sphere(this), geom_cube(this), geom_cone(this), geom_pipe(this),
//TODO: When you make your Cube instance, add it to this ini... | [
"groverchen1994@gmail.com"
] | groverchen1994@gmail.com |
64a0862b5a50f5574ecd519f2a445e884f3aa0ba | fe39e4d1bca62d7bff7b6713b8b596d88f8aa354 | /src/plugins/3rdparty/LLVM/include/llvm/Intrinsics.h | 3f56bbdae24c5c632f92e975464bbb4b308d100a | [] | no_license | panpanSun/opencor | a29a806475f43adb0f64047631d4dc044f05e030 | 71449e1ecaa988ea8b6cfea7875d9f3593a8dc26 | refs/heads/master | 2020-12-24T11:53:33.902565 | 2013-04-20T18:59:29 | 2013-04-20T18:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,094 | h | //===-- llvm/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
53f7fb763db9343529a6fe628fedc13011357353 | e6063f71497be719a76f0ae9f1f7dbcfda1988c6 | /tree/173_BST_iterator/work.cc | 72b33d1ebac40f7adae1fea49feb95be7abe252f | [] | no_license | uangyy/leetcode | f308672a662fa1e881230b31b7674160d45c2494 | 912b683db040a9efbe5b58c329e2978097207ab0 | refs/heads/master | 2021-01-09T21:57:21.758043 | 2017-08-04T08:21:09 | 2017-08-04T08:21:09 | 36,731,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cc | #include <iostream>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class BSTIterator {
public:
vector<TreeNode *> stack;
TreeNode *current;
BSTIterator(TreeNode *root) {
curr... | [
"uangyy@gmail.com"
] | uangyy@gmail.com |
1d4219028925a2f80c41055005c6ffcdb6762f48 | 147d96bfb1b03af681db9ae1dd44d495e57b5b45 | /samples/strsvsample08/strsvsample08.cpp | 747377eb687c0ed5ba9022eda9e0f7962753ef2b | [
"Apache-2.0"
] | permissive | tlk00/BitMagic | fe40d4344895303767aa3a1f3b260b0eaff0e6d4 | fa1afb29fefa6a886980b90f72af71f530d5cb5d | refs/heads/master | 2023-07-22T04:06:38.272848 | 2023-07-08T01:13:21 | 2023-07-08T01:13:21 | 101,114,435 | 389 | 49 | NOASSERTION | 2023-02-10T19:14:47 | 2017-08-22T22:54:04 | C++ | UTF-8 | C++ | false | false | 6,094 | cpp | /*
Copyright(c) 2002-2022 Anatoliy Kuznetsov(anatoliy_kuznetsov at yahoo.com)
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 appl... | [
"anatoliy.kuznetsov@gmail.com"
] | anatoliy.kuznetsov@gmail.com |
80b2e30aca84e8387c6fe493989e0629d9681e18 | 7fcef731b4054ca365062b19f90840c69ed35071 | /mainwindow.cpp | 8b2adf9ac753dac3e325e8100cb2e973e9f74b82 | [] | no_license | kacpwoja/EGUI_Calendar_Qt | b40f49de5b44d4b4ef9f6f37ba951dbcfb4347af | 45d4942c0c9a3232cfe192de0c86cd093f3137ff | refs/heads/master | 2022-04-11T00:20:20.457625 | 2020-04-09T18:06:32 | 2020-04-09T18:06:32 | 249,783,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,279 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QCalendarWidget>
#include <QTextCharFormat>
#include <QVector>
#include <QFile>
#include <QJsonDocument>
#include "daywindow.h"
#include "eventwindow.h"
#include "eventbase.h"
#define FILENAME "events.json"
MainWindow::MainWindow(QWidget *parent)
: QMa... | [
"kacp.woja@gmail.com"
] | kacp.woja@gmail.com |
7b49be857fc0a0d279f1daa26b81aec28da0ce35 | b6a885754d36f6d7507433536090d54ee9890e52 | /ch13/No.4/No.4/main.cpp | 481308358cedf0e606e345e62fc20ce824149760 | [] | no_license | szw-20731/CPrimerPlus | 841bdfa5d04080e8ffdba1db6baac07a13456725 | 9cb038164feda21389501329652028b17caae63b | refs/heads/master | 2022-12-09T18:27:21.683546 | 2020-09-07T02:08:28 | 2020-09-07T02:08:28 | 286,395,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include "port.h"
int main()
{
port *list[2];
list[0] = new port("Brand", "ruby", 10);
list[1] = new vintageport("VBrand", 10, "szw", 2020);
list[0]->show();
cout << *list[0] << endl;
list[1]->show();
cout << *list[1] << endl;
list[0] = list[1];
list[0]->show();
system("pause");
return 0;
} | [
"sunzuwen444@163.com"
] | sunzuwen444@163.com |
b3b9530ab97cdb6ebe7ddc5c15e675cf96d9df5e | a9e079d6f99d83a4e1f4ae2c426654119d867518 | /plant_watering_code.ino | 3d120e9eaf76cc0d44138172198900a80d86644f | [] | no_license | ravikumar752/plant-water-code-using-arduino- | 14764958748af0bf705c96005fc06bcb78b0e7d0 | 7849258675c46598a0352f88a230fc29579a2f21 | refs/heads/main | 2023-05-02T14:38:28.356234 | 2021-05-19T16:28:24 | 2021-05-19T16:28:24 | 368,933,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | ino | const int analogInPin = A5; //Sensor pin
int relay = 2; //Relay Pin
int sensorValue = 0;
int outputValue = 0;
void setup() {
Serial.begin(9600);
pinMode(relay,OUTPUT);
}
void loop() {
sensorValue = analogRead(analogInPin); //Read sesnor value
Serial.print("sensor = ");
Serial.println(s... | [
"noreply@github.com"
] | ravikumar752.noreply@github.com |
d066ed3355e74b5aae573a376fb99a31de6e46fa | 5b5d0480d61746875d8694182f291911b415fab4 | /335_012/Matrix.cpp | 8a91809c8104a5917fec5c88dd9574109db45350 | [
"FSFAP"
] | permissive | joseluisrojas12/CSCI335-Project | 9008d494081054754734d261b6508bf7dece4412 | 6dc8db526126ec2fefa54b1362c0543cc80c1e64 | refs/heads/master | 2022-10-07T19:02:15.421048 | 2020-06-03T02:48:27 | 2020-06-03T02:48:27 | 268,955,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | #include "Matrix.h"
// template specialization for the float type, it compares the values up to a given tolerance
// since float equality is not possible
template<>
bool Matrix<float>::equals(Matrix<float> mat)
{
if (m!=mat.getM() || n!=mat.getN()) // if the dimensions are not equal
return false; ... | [
"noreply@github.com"
] | joseluisrojas12.noreply@github.com |
6ee5ffab95f62ad749fc33d154e757c38f35be6d | dc38c8a3b0e9b13afb83fbe78269638c60bd32cd | /91. Decode Ways/main.cpp | 0bdeb3b2070f7851522f168ecc93d3ef9b85a4cb | [] | no_license | TG-yang/LeetCode | 603da8e8121ad2ed7d05bac0d4ee6d61378eeff3 | 1749b35170636830b3f91777ac57d049278b2b2e | refs/heads/master | 2020-04-09T09:20:13.129761 | 2019-08-16T17:10:42 | 2019-08-16T17:10:42 | 160,229,673 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
int numDecodings(string s) {
if(s.size() == 0 || s[0] == '0')
return 0;
vector<int>dp(s.size() + 1, 0);
dp[0] = 1;
dp[1] = 1;
for(int i = 1; i < s.size(); ++i... | [
"zwenyang@outlook.com"
] | zwenyang@outlook.com |
2053f82eae2982ae0df5fc7e240259c0a24f7576 | 9168a725fa2682e533d4d5aa66453b4322926c32 | /src/includes/Head.h | a37759cb43b5682ddecb065f68ca0afb51e6443c | [] | no_license | Technohacker/lpmln | 01a8999dd4c2073cea56141f9d00d44a041046d2 | 0008244e23d49860d09f2e3077cbbb3b6e85b39b | refs/heads/master | 2023-08-23T16:35:50.494206 | 2017-01-18T23:27:33 | 2017-01-18T23:27:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | h | #pragma once
#include "Predicate.h"
class Head
{
public:
Head(Predicate _p){
predList.push_back(_p);
}
~Head();
Head(std::vector<Predicate> _predList):predList(_predList){}
inline Predicate getPredicate() {
return predList.at(0);
}
inline std::vector<Predicate> getPredicateList() {
return predList;
... | [
"samidhtalsania@gmail.com"
] | samidhtalsania@gmail.com |
ab67d302a9b3628e6ae186ff8ec4408a4b29bba3 | 4bca7d575cfe53aef88c18c8c80aaff71553b878 | /RpiPower.cpp | 50e3989f7abc0459b1c16d6a4b91d555ff2490e8 | [] | no_license | treii28/RpiPower | 0c26d2a0a0ead16a58fae33d828d25eb5a0dcfaf | 3eb1ea589bee416fbc4d6d50ff1e3de22bfe410d | refs/heads/master | 2021-07-17T00:15:29.015037 | 2017-10-23T01:56:11 | 2017-10-23T01:56:11 | 107,892,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | /*
RpiPower.cpp - Library defining a Raspberry Pi power connection
Created by Scott Webster Wood, August 7, 2016
Released into the public domain.
*/
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "RpiPower.h"
RpiPower::RpiPower() {
i... | [
"noreply@github.com"
] | treii28.noreply@github.com |
b64e6c627c1549955cf70a36441289321168540a | bc407d25aa3da4babdb9762f53a201a7ea84b976 | /ArquitecturaDeComputadoras/7segments/sys/module.h | e5f750f7d665130624d7a499f5e6227b1ca7fe46 | [] | no_license | YurleySolimer/ULA | e91344815d32175a13b7cd7ee153f16a1b237580 | 57c2caa895e0635f215d9f98e9fad05227bf5f90 | refs/heads/master | 2020-04-14T19:30:26.932376 | 2019-01-04T05:07:30 | 2019-01-04T05:07:30 | 164,060,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | h | # ifndef MODULE_H_
# define MODULE_H_
# include<systemc.h>
# include<string>
class SevenSegments:public sc_module{
public:
sc_in<sc_uint<4> > x_in;
sc_out<bool > z_out[7];
SC_CTOR(SevenSegments){
SC_METHOD(operation);
sensitive<<x_in;
}
~SevenSegments(){}
private:
void operation(){
if(x_... | [
"yurley.solimer@gmail.com"
] | yurley.solimer@gmail.com |
d09ae779e09674942523ba814ed0a332983437ca | 16288c0fb3a712150c715ddd0c9843e75f69034b | /cpp01/ex06/main.cpp | b049b16b7a1e231cc0b15c7d1914d65ab59c2b08 | [] | no_license | brian-xu-vlt/42_CPP_PISCINE | 3c6cb8ce224e53335b3e53cd24c97dc867c2d9f0 | bda1f5834649e50012d0153c3cdd28769280fc9d | refs/heads/main | 2023-02-25T23:17:43.176521 | 2021-02-03T07:12:22 | 2021-02-03T07:12:22 | 323,266,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include "Weapon.hpp"
#include "HumanA.hpp"
#include "HumanB.hpp"
int main( void ) {
{
Weapon club = Weapon("crude spiked club");
HumanA bob("Bob", club);
bob.attack();
club.setType("some other type of club");
bob.attack();
}
{
Weapon club = Weapon("crude spiked club");
HumanB jim("Jim");
jim... | [
"bvalette@student.42.fr"
] | bvalette@student.42.fr |
50b596d4d47010c4c5b5d1ee29e273ac47faf9b3 | ed1624411040501c67c2f6c5c626348d9806d968 | /Ocean/network/server.h | f364b76665ff1e021a7ca2b5a544c010a8671d5e | [] | no_license | bogdyname/Ocean | a1e7364d2142dfac8907aac9319a6133305ad279 | ca8cba4c1472ca46945a9dda4550f39065551b3e | refs/heads/master | 2023-02-06T13:45:13.806885 | 2020-10-25T18:14:57 | 2020-10-25T18:14:57 | 174,801,662 | 0 | 0 | null | 2020-12-14T19:25:17 | 2019-03-10T09:18:34 | C++ | UTF-8 | C++ | false | false | 677 | h | /*
***Copyleft (C) 2020 Softwater, Inc
***Contact: bogdyname@gmail.com
***Contact: donvalentiy@yandex.ru
***Created by bogdyname
*/
#ifndef SERVER_H
#define SERVER_H
#include <QTcpServer>
#include <QTcpSocket>
#include <QByteArray>
#include <QDataStream>
class Server : public QTcpServer
{
Q_OBJECT
Q_CLASSINF... | [
"bogdyname@gmail.com"
] | bogdyname@gmail.com |
1eff4e3abd4126b813d4243ed6f25383478e094a | a369b0b66c01c9db9768bf94c685a70f14256761 | /examples/B_charsets/B_charsets.ino | b09064021d513aa60b60008eab8dfa078d64fad8 | [
"MIT"
] | permissive | gdsports/USBPrinter_uhls | 7ff7156bb3dae68d80b57f5344b171394238454e | 5ca7cb94486dc9eff85d1dd19442145a0b3f7e86 | refs/heads/master | 2020-06-12T22:49:15.681202 | 2019-07-11T08:09:45 | 2019-07-11T08:09:45 | 194,451,706 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | ino | /*------------------------------------------------------------------------
Demoonstrate different character sets on ESC POS printers connecting to
SAMD USB host port
Based on Adafruit Thermal printer library.
------------------------------------------------------------------------*/
#include "ESC_POS_Printer.h... | [
"gdsports625@gmail.com"
] | gdsports625@gmail.com |
14b37f3398520580ea80bf0fb8ee0e3d84b39168 | 63a22dd17235ee7a5289665cf3678c5f53492f68 | /ServerCore/ServerLibrary/Net/Packet/PacketFactory.h | ac04ca8ae9176f4e2602599eaf0c64252a59ff3e | [] | no_license | githubzon/RoseServer | 00df2d0f3a5d1c332b5e957d51ce0afd9ea3bfe7 | 6c0d2d54de7607d8cc822cac5e0e4d0009170a9a | refs/heads/master | 2021-01-16T23:21:49.677968 | 2017-06-17T11:26:44 | 2017-06-17T11:26:44 | 95,739,207 | 1 | 0 | null | 2017-06-29T04:41:32 | 2017-06-29T04:41:32 | null | UTF-8 | C++ | false | false | 1,467 | h | #pragma once
#include "stdafx.h"
#include "packetHeader.h"
#include "packetClass.h"
class PacketFactory : public Singleton<PacketFactory>
{
public:
Packet* getPacket(Int64 packetType)
{
switch (packetType) {
case E_C_REQ_EXIT: return new PK_C_REQ_EXIT();
case E_S_ANS_EXIT: ... | [
"darkwitch0_0@hanmail.net"
] | darkwitch0_0@hanmail.net |
ee000adcae59a066742ef168b15e402d1a0254f8 | ee7c00a7a90e89e2984a6c922a8704390e680c06 | /cs103_hws/PA/PA5/network1_redo/user.cpp | 3cd3779f3b5c7a8772481114b49c83e4674144a2 | [] | no_license | summerys/cs103 | 8630506e77f8b878f57b5c9bfdd0e4c2d0551d9e | 2b16fe82c5cb0140f2db675fb63a67b91c6693d5 | refs/heads/master | 2021-01-12T08:46:01.770785 | 2016-12-21T03:28:06 | 2016-12-21T03:28:06 | 76,682,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp |
#include "user.h"
#include <string>
using namespace std;
User::User(string name_full, int id_num, int year_born, int zipcode){
name = name_full;
id = id_num;
year = year_born;
zip = zipcode;
}
User::~User(){};
void User::add_friend(int other_user){
for (int i = 0; i < friends.size(); ++i){
if (fr... | [
"summerys@usc.edu"
] | summerys@usc.edu |
e41ab484fe8f8aa1953fd6c598bff43dcd510596 | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /AtCoder Beginner Contest 161/D - Lunlun Number/main.cpp | 54aa3c04c2882a7ee90d0491604ca2470406434d | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include <algorithm>
#include <iostream>
#include <set>
using namespace std;
int main() {
int k;
cin >> k;
set<long long> cur;
for (int i = 1; i <= 9; i++) {
cur.insert(i);
}
set<long long> s;
while (static_cast<int>(s.size()) < k) {
for (set<long long>::iterator j = cur.... | [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
f7e67f2e788acef2f14a20c8c500f978583069ae | af8ed09e1e0186a09c0328b8cb2b1f0a04d488d5 | /wav_recorder.h | 24b7cab2f614a50e1022280877c2aaecb3a1d143 | [] | no_license | FeZar97/DK | b5c5b325881f13c3ad55f6a709fdd54b88413d9b | 52708c6fb80a8b4dd61f4002611c133c137e0dcf | refs/heads/master | 2020-04-01T18:18:35.750852 | 2019-07-28T23:11:40 | 2019-07-28T23:11:40 | 153,484,100 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,331 | h | /*
This file is part of DigitalKalmar(Кальмар-SDR)
DigitalKalmar is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Di... | [
"bhd2010@yandex.ru"
] | bhd2010@yandex.ru |
6faf68ca1aeedfe57ef226b324b6ba48fc0c21fb | 14d143bdce06a43565034aa6e6cf072ee6648f31 | /include/orwell/proxy/SimpleTeam.hpp | e77c91d4c421778817a610ddc5ecbf48e53c6fde | [
"BSD-3-Clause"
] | permissive | orwell-int/server-game | 599a5c86330947ba830efe33bec5489f81b28c25 | d3c410ff734a6f32de0303b25d816ae392df8a18 | refs/heads/master | 2021-01-18T22:44:47.807869 | 2020-11-16T13:00:31 | 2020-11-16T13:00:31 | 9,554,529 | 0 | 2 | BSD-3-Clause | 2020-11-16T13:00:32 | 2013-04-19T21:01:01 | C++ | UTF-8 | C++ | false | false | 444 | hpp | #pragma once
#include <memory>
#include <string>
#include <vector>
#include <nlohmann/json_fwd.hpp>
namespace orwell
{
namespace game
{
class Team;
}
namespace proxy
{
struct SimpleTeam
{
SimpleTeam(game::Team const & iTeam);
SimpleTeam(SimpleTeam const & iOther);
std::string const m_name;
uint32_t const m_... | [
"dchilot@hotmail.com"
] | dchilot@hotmail.com |
d7225b6757ec3cb03b50532d7eddcdd75f9d037b | afbb7333426cd97e39458e655972f63a940a9ace | /include/File.h | 08f37688ec6d0be742dcfdaeff7b8a399bc68892 | [] | no_license | alex43dm/workerd | bf49e6d00ccda7ef211e2da14d91ab600e02c211 | 51d2a9d6c4ea091a94888e2a70369486d6592fbf | refs/heads/master | 2021-01-19T05:34:47.039523 | 2014-07-28T10:06:40 | 2014-07-28T10:06:40 | 22,947,941 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 216 | h | #ifndef FILE_H
#define FILE_H
class File
{
public:
File();
virtual ~File();
bool read(std::string &cont);
protected:
private:
long fileSize(int fd);
};
#endif // FILE_H
| [
"wvdial@gmail.com"
] | wvdial@gmail.com |
36bf98ae9b02ba605dc64c6e4f89d4686a39185e | c7d2b58db791dc900250a613b1d93dd84c9cd87b | /PopcornTorrent/Source/torrent/crc32c.cpp | 9c558b0fb996dfabe37d08fc57ac89e49a6d9f77 | [
"MIT"
] | permissive | tommy071/PopcornTorrent | 3f0e4232a9b28cfc39b790129467f6b7b5c2feea | 88a1a4371d58e9d81839754d2eae079197dee5c5 | refs/heads/master | 2020-07-30T03:36:05.567943 | 2020-02-07T09:30:55 | 2020-02-07T09:30:55 | 238,165,009 | 0 | 0 | MIT | 2020-02-04T09:10:23 | 2020-02-04T09:10:22 | null | UTF-8 | C++ | false | false | 4,479 | cpp | /*
Copyright (c) 2014-2018, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | [
"aggelos@Aggelos-Macbook-Pro.local"
] | aggelos@Aggelos-Macbook-Pro.local |
a1a9d822c2575811f5e9e25eb492c9194cb1a987 | a4ebc4a5f5d25480b875bba7e288bda9686ee0e3 | /WorldMT/main.cpp | fb23afe815d6791fd0fa5fd501d3b03164d0def9 | [] | no_license | shikazu/AthenaMT | e82f6860b8e002e581a4fe46f1b412e366a6e867 | b04c97afe2267c27e99fe2f2ffc284f81773ad61 | refs/heads/master | 2021-01-10T04:18:35.534972 | 2015-10-28T11:03:11 | 2015-10-28T11:03:11 | 44,395,864 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include <iostream>
#include <thread>
#include "World\WorldMain.h"
int main(int argc, char **argv)
{
World::WorldMain world_main;
while (true)
{
std::this_thread::sleep_for(std::chrono::seconds(1));
}
return 0;
} | [
"steven.schwarz90@yahoo.de"
] | steven.schwarz90@yahoo.de |
4c2fcdeb53c97a09f5d903151180a82fd9592574 | 95e7e2c5fab1fb70729f98ecc3def2134c2d3e38 | /src/interpreter/visitor/expr/BooleanExprVisitor.cpp | 97a6407d56fa19c2a580436d12f24989025a96be | [
"MIT"
] | permissive | CrackerCat/kaprino | f9f697c7cfda148b2f840a311fab3b5f3529aea9 | 06dcf193a6d3b496708775b763b8684612851556 | refs/heads/master | 2022-09-27T11:53:56.788665 | 2020-06-08T00:59:29 | 2020-06-08T00:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include <stdlib.h>
#include "../../../parser/KaprinoParserBaseVisitor.h"
#include "../../abstructs/ExprObject.h"
#include "../../KaprinoAccelerator.h"
#include "../../StatementVisitor.h"
class BooleanExprObject : ExprObject {
public:
bool value;
virtual llvm::Value* codegen(llvm::IRBuilder<>* builder, ll... | [
"capra314cabra@gmail.com"
] | capra314cabra@gmail.com |
dc41dca6a00925e57f075aecb34086d9bdc4343e | 4cd0b9ce7c2e2a57623cc71b936c6dcda79bdd5c | /xfa/fxfa/parser/cxfa_range.cpp | 76b3fc2caa7bec27c89279137bdd23e02cfacb4b | [
"BSD-3-Clause"
] | permissive | prepare/pdfium | 32b8f9cecc2dd98cd578d2b4e8d882e5c4f0e1ed | 92770e8072cd3a38597966116045147c78b5a359 | refs/heads/master | 2021-01-21T04:43:53.541194 | 2018-12-23T06:55:27 | 2018-12-23T06:55:27 | 27,119,109 | 7 | 3 | null | 2015-08-11T13:40:07 | 2014-11-25T09:47:59 | C++ | UTF-8 | C++ | false | false | 893 | cpp | // Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/parser/cxfa_range.h"
namespace {
const CXFA_Node::Attribu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d76eef8a29762e993b9c7c3146e4424e74d5473e | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/84/1170.c | 1d0ecc79aaf109cb5c875fb1d566dbf8bb8d61dc | [] | 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 | 276 | c | int main()
{
int n,i,a,max=0,max2=0;
scanf("%d",&n);
scanf("%d",&a);
max=a,max2=a;
for(i=2;i<=n;i++)
{
scanf("%d",&a);
if(a>max)
{
max=a;
}
else
{
if(a>max2)
{
max2=a;
}
}
}
printf("%d\n%d",max,max2);
return 0;
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
0002e2b03df56b4e01b4444b08719633c0bbbcca | 92533544158e118276103d99be5ec1388d12737e | /app/src/main/cpp/context/RenderContext.h | f3b39ef98e96760f89aa1448bc7bdebbc33da645 | [
"Apache-2.0"
] | permissive | githubhaohao/OpenGLCamera2 | 49efaf2dd09853000c11ad2eb20d6a17bf333721 | 82bea3e6fbce76f597d75a66456bbbda8d1a7191 | refs/heads/master | 2022-08-03T18:13:39.884775 | 2022-06-29T10:18:29 | 2022-06-29T10:18:29 | 216,771,928 | 884 | 195 | null | 2022-01-24T02:31:50 | 2019-10-22T09:15:28 | C++ | UTF-8 | C++ | false | false | 1,990 | h | /**
*
* Created by 公众号:字节流动 on 2021/3/16.
* https://github.com/githubhaohao/OpenGLCamera2
* 最新文章首发于公众号:字节流动,有疑问或者技术交流可以添加微信 Byte-Flow ,领取视频教程, 拉你进技术交流群
*
* */
#ifndef OPENGLCAMERA2_BYTEFLOWRENDERCONTEXT_H
#define OPENGLCAMERA2_BYTEFLOWRENDERCONTEXT_H
#include <cstdint>
#include <jni.h>
#include <ByteFlowRender... | [
"haohaochang86@gmail.com"
] | haohaochang86@gmail.com |
b8b3c698476c294d022a8d695dd738320dc0f896 | 8ec3dcb1ee6314588e0c3235215ee0e1ffaa7ce0 | /Problems PB-Info/calendar.cpp | 3087e166eca7befced6a3556c69336ed479c25e4 | [] | no_license | dinuionica08/Projects.Cpp | bffe0eeceb6e486ecd3a3a34e4c0e1469ca8b8c2 | 4b40f011ce0df8ef37b4ed3d262e6ef041d33236 | refs/heads/master | 2023-02-24T16:36:00.918468 | 2021-01-16T11:54:43 | 2021-01-16T11:54:43 | 254,618,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int z, l, a;
int ok = 1;
cin >> z >> l >> a;
if ( a > 2015 || a < 1850 )
ok = 0;
else if ( l > 12 || l < 0 )
ok = 0;
else if ( z > 31 || z < 0 )
ok = 0;
else if ( l == 2 && ( a % 4 == 0) && z > 29)
ok = 0;
else if (... | [
"noreply@github.com"
] | dinuionica08.noreply@github.com |
1729f4e3f393715c70b5774836e1d06104fd9ee3 | 5d65f88109cfa941b6c592389bc4daf93bde1745 | /Cpp_Basic-Opdrachten/Sokken.cpp | 430f6051984a382c801a06324ac5083e7f252c9c | [] | no_license | Selawen/Cpp_Basic-Opdrachten | c125e4b6c1c72093567d0cf9030932e01e6f4fc0 | fc8803855a824319f31f6b9609f4560feda5e519 | refs/heads/master | 2023-01-01T11:48:57.739419 | 2020-10-23T14:26:45 | 2020-10-23T14:26:45 | 298,239,095 | 0 | 0 | null | 2020-10-23T14:26:46 | 2020-09-24T10:02:30 | C++ | UTF-8 | C++ | false | false | 427 | cpp | #include "Sokken.h"
Sokken::Sokken() {
}
Sokken::~Sokken() {
}
Sokken::Sokken(std::string kleur) {
this->sokKleur = kleur;
}
Sokken::Sokken(const Sokken& puffelensSokken) {
if (this == &puffelensSokken) return;
sokKleur = puffelensSokken.sokKleur;
}
Sokken& Sokken::operator=(const Sokken& puffenlensSokken) {
... | [
"37039183+Selawen@users.noreply.github.com"
] | 37039183+Selawen@users.noreply.github.com |
267eea6afc0e42d9bf5d71c7dd91e098dc944e92 | 55a18be459b5f6643e2b4e212a44e115e56756ab | /dx-ball.cpp | c0482b97bc15219c247dcb4f0149b71f2fe5f900 | [] | no_license | dup05/dx-ball | fa35c38beb68995fdeedb29808ee7c4c6faec023 | 260de01cd9f5afe64bb87b3b53b4b6a3caf19c18 | refs/heads/master | 2020-06-25T09:02:03.906190 | 2019-07-28T09:25:18 | 2019-07-28T09:25:18 | 199,266,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | cpp | #include<SFML/Graphics.hpp>
#include<time.h>
#include<stdlib.h>
using namespace sf;
bool isCollide(Sprite s1,Sprite s2)
{
return s1.getGlobalBounds().intersects(s2.getGlobalBounds());
}
int main()
{
srand(time(0));
RenderWindow app(VideoMode(520,450),"DX-BALL");
app.setFramerateLimit(60);
Texture t1,t2,t3,t4,t... | [
"divyauprabhu@gmail.com"
] | divyauprabhu@gmail.com |
b489eb3f4075584b4c4a9cfe864dc2298cadc78a | 186466242e6bf012ea0480c770481f885677c48e | /PBL/Lista/Exercício2.cpp | e7a64da856a8fec0aa84293bb99494d31836ec90 | [] | no_license | Marcelo396/Faculdade | cda008a3eb0e16ed023f0e6625e5f6d27869a266 | 341d3c6b96d772c257f708d1789852f860a83ec5 | refs/heads/master | 2020-06-16T21:43:44.724468 | 2019-07-08T01:07:14 | 2019-07-08T01:07:14 | 195,590,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | /*2. Crie um programa que le 6 valores inteiros e, em seguida, mostre na tela os valores lidos.*/
#include<iostream>
#include<locale.h>
using namespace std;
int main()
{
int i, vetor[6];
setlocale(LC_ALL,"pt-Br");
cout<<"Insira 6 valores inteiros."<<endl;
for(i=0;i<6;i++)
{
cin>>v... | [
"marcelorigobelilopes@gmail.com"
] | marcelorigobelilopes@gmail.com |
43478955ba8c7413a70ac3aa97f3e469c13b0079 | 979e2b52c768d0fd031812c0c9787be24476b693 | /Mythology/Common/Task.h | 74db34a9dddb307697cff6af71bdfb083b2a4b94 | [] | no_license | JPMMaia/mythology-legacy | cf54215a6fb435d13b56985ea836b0d203b19c21 | f34ac9e6b2c1c407d48ee942d5aba8204d2604aa | refs/heads/master | 2021-03-30T16:12:46.015866 | 2017-12-29T16:39:10 | 2017-12-29T16:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | #pragma once
#include <thread>
#include <future>
namespace Common
{
class Task
{
public:
template<typename FunctionType>
explicit Task(FunctionType&& function) :
m_ready(false)
{
std::packaged_task<void()> task(std::forward<FunctionType>(function));
m_future = task.get_future();
m_thread = std::t... | [
"jpmmaia@gmail.com"
] | jpmmaia@gmail.com |
606d239093d703fc4d424c01825e9051ed199b24 | 361f82ad61fc479c97ec941b12b0cde1087b12cc | /c++abc/algo/bignum/multiplydi.cpp | c357a9b0da4a809653e763d8aab58138f6d9a7db | [] | no_license | yu2003w/vault | 799045a0691fbc5b408521bb7a6441633ce1d848 | a323d8a811d87b0d64dd92201c6597ce5258f242 | refs/heads/master | 2021-05-24T01:32:15.721820 | 2019-08-04T11:25:43 | 2020-08-15T16:31:59 | 83,046,163 | 0 | 0 | null | 2017-03-20T09:46:55 | 2017-02-24T13:53:20 | M4 | UTF-8 | C++ | false | false | 2,253 | cpp | /*
It's interesting to multiply big integers.
big integers could be divided into multiple sections.
*/
#include <iostream>
#include <cstring>
using namespace std;
const int INTEGER_LEN = 100;
const int RESULT_LEN = 200;
int multiply(char num1[], char num2[], char result[]) {
int len1 = strlen(num1);
int len2 ... | [
"yu2003w@hotmail.com"
] | yu2003w@hotmail.com |
a62dfc4ce9729a91bd466a4f66fb3a9e916b90be | eb390e54efa1630175037c017fbe2e2927ca490a | /COPY/cBody.cpp | 3f6775e3fe9cb5788f47d2a5ff2e8d9706b5e034 | [] | no_license | cheonjeong/reposit | c7d9dee36b72eca6323d274786e7ee2d646eb5bd | 23a29d7cb347c8aad7689c4d6a50d3edc543a124 | refs/heads/master | 2020-08-01T11:38:07.779495 | 2019-09-26T08:24:13 | 2019-09-26T08:24:13 | 210,983,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | #include "stdafx.h"
#include "cBody.h"
cBody::cBody()
{
}
cBody::~cBody()
{
}
void cBody::Setup()
{
cCubeNode::Setup();
cCubeNode::SetVertex(20, 20, 8, 12, 8, 4, 4);
D3DXMATRIXA16 matS, matT, mat;
D3DXMatrixIdentity(&matS);
D3DXMatrixIdentity(&matT);
D3DXMatrixIdentity(&mat);
D3DXMatrixScaling(&matS, 0.4... | [
"wjdcjs3093@naver.com"
] | wjdcjs3093@naver.com |
1207db2284de1431653f0634171756a04fb87b6d | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-dax/include/aws/dax/model/IsModifiable.h | cb3636d2b6f3e050ae64956ed887ad6dd2573b62 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,075 | h | /*
* Copyright 2010-2017 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" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
249947a5a8fd9021e6f3497f827bc07761f519cd | 458a7b198088718928b72e73af995270db0c55de | /examples/Blink/Blink.cpp | 9c4dfacd7ab60629f9fa50cae661ff7f9cb3b9d6 | [] | no_license | Serasidis/cbp_HALMX_2 | 2c4fe6dae6c5f45fc08840f9967a2e272d8bb71a | ff5549841c5c293c2053cb7669f16522e7d688bf | refs/heads/master | 2021-01-13T09:50:30.923863 | 2016-10-22T10:39:22 | 2016-10-22T10:39:22 | 69,898,973 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include <Arduino.h>
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the Uno and
Leonardo, it is attached to digital pin 13. If you're unsure what
pin the on-board LED is connected to on your Arduino model, check
the do... | [
"avrsite@yahoo.gr"
] | avrsite@yahoo.gr |
22e19c5d6f33d1eeab2606c8edb927da061c54dc | 7d139ecd60979a89236867022d073ee85b92d829 | /snde/openscenegraph_compositor.hpp | 7d865c870659d477946002cb08ed44401dd9e087 | [] | no_license | isuthermography/spatialnde2 | 59336f6ef313aa1b0e5759959fe647d509bdd09b | 5cf6f0bcd9adad46827a6cffffe976709a6d6cd6 | refs/heads/master | 2023-05-27T20:44:38.615258 | 2023-05-10T17:20:10 | 2023-05-10T17:20:10 | 235,888,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,996 | hpp | #ifndef SNDE_OPENSCENEGRAPH_COMPOSITOR_HPP
#define SNDE_OPENSCENEGRAPH_COMPOSITOR_HPP
#include <osgViewer/GraphicsWindow>
#include <osgViewer/Viewer>
#include <osg/Texture2D>
#include <osgGA/TrackballManipulator>
#include <osg/MatrixTransform>
#include <osgUtil/SceneView>
#include <osgViewer/Renderer>
#include "snde... | [
"sdh4@iastate.edu"
] | sdh4@iastate.edu |
32c3ac0a1850a3c0e3eb1a06af78a7563ac476bd | 5610d502f019f23c7c12acac44b36a1ab068c054 | /bicikl (2).cpp | 043ab2b6d598807296200baaa3a85888442e3756 | [] | no_license | elvircrn/ccppcodes | 7f301760a1cbe486f3991d394d5355483fbf27dd | b5d72b875b5082042826c86643d6f5e47ab2d768 | refs/heads/master | 2021-01-01T05:46:37.476763 | 2015-10-14T17:47:57 | 2015-10-14T17:47:57 | 44,265,359 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <string>
#include <cstring>
using namespace std;
int input, n, maxsum, RealLeft, RealRight, FakeLeft, FakeRight, cnt;
int main ()
{
scanf ("%d", &n);
for (int i = 0; i < n; i++)
{
scanf ("%d", &input);
... | [
"elvircrn@gmail.com"
] | elvircrn@gmail.com |
0a6d6e5fbcd327b134d3565e85f9cf9ed78dbb70 | 5d0f3a2c94543578b96120e0d5be1cf906c7e157 | /MyGame/MyGame/Engine.cpp | c29ba637034e9af83a820f640303ba509da72ef1 | [] | no_license | guivmc/Game_SFML | 138484b907805f439c7f9f9d6f65d9778f872707 | 42fea10e5223e76b84d340e6b9d1b6c782aa454c | refs/heads/master | 2020-04-10T13:38:51.992873 | 2018-12-24T18:27:25 | 2018-12-24T18:27:25 | 161,056,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include "pch.h"
#include "Engine.h"
#include "MenuState.h"
#include <iostream>
Engine::Engine(int screenWidth, int screenHeight, std::string title)
{
this->screenWidth = screenWidth;
this->screenHeight = screenHeight; //Window with title and close buttons
this->_data->_window.create(sf::VideoMode(screenWidt... | [
"guivmc@hotmail.com"
] | guivmc@hotmail.com |
ccddda93ce209b90172c38937cb25ba98eeda8d7 | f8392d1271caaeb0337393eb11153fe569acd3bb | /Untitled5.cpp | 84fc5dfa41e5588a0857a405afd2820cf340b86b | [] | no_license | Aditi1017/DataStructures | 0eff62180da65874819f8c4b2db467f658a41276 | 77e0d3dc22a0bbe0bece1a7b9066eb990c4cb929 | refs/heads/master | 2023-08-11T04:11:34.328502 | 2021-10-15T12:18:15 | 2021-10-15T12:18:15 | 252,183,363 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include<bits/stdc++.h>
using namespace std;
struct Node // Creation of a single element of tree
{
int data;
struct Node *left;
struct Node *right;
}root;
//preorder traversal of tree non recursively
void preOrder(Node *root) {
stack<Node*> s;
while(1)
{
while(root!=NUL... | [
"k1710aditi@gmail.com"
] | k1710aditi@gmail.com |
98e22dbefbff523c241d92501395d716cf7d4e2b | 46d2754aa1e776af9d738d302d56fc7024bfe88a | /base/VulkanSwapChain.hpp | 7f0a58ab2efd965abad90d023cd1b70632bbf525 | [
"MIT"
] | permissive | a-day-old-bagel/Vulkan-glTF-PBR | fd5a4a9845d198e43096ba0a2ff3c557ef79ea13 | fa89ff0a8fa214711f76daf6b8e5eb409c240528 | refs/heads/master | 2020-05-30T00:44:34.573208 | 2019-05-30T18:57:28 | 2019-05-30T18:57:28 | 189,465,266 | 0 | 0 | MIT | 2019-05-30T18:44:42 | 2019-05-30T18:44:42 | null | UTF-8 | C++ | false | false | 23,016 | hpp | /*
* Class wrapping access to the swap chain
*
* A swap chain is a collection of framebuffers used for rendering and presentation to the windowing system
*
* Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#... | [
"webmaster@saschawillems.de"
] | webmaster@saschawillems.de |
715b2c6c513ec865f57aa8e955c68cca505a5f5e | c88ee41adfded7e2bd7fe3490d33719e6c735dc3 | /generationpoint.cpp | eec334f8c5d7a622fbed62f6ec37d1e57829c479 | [] | no_license | bytilda/Practice2019 | 6545a3ccf016f79953cf8a61ac1b7b8f5bf061da | f20f227df96e1cb18269d01e5102b4d0f18580bc | refs/heads/master | 2020-06-15T17:28:05.131136 | 2019-07-05T06:40:35 | 2019-07-05T06:40:35 | 195,352,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | cpp | #include "generationpoint.h"
//class Map;
generationPoint::generationPoint()
{
}
generationPoint::generationPoint(double x, double y, Map* m):Object(x,y,m){
//if(map->unmovableObjects[y][x+1] == roadr) way = roadr;
//else if()
type = 77;
}
void generationPoint::nextStep(double dt){
... | [
"noreply@github.com"
] | bytilda.noreply@github.com |
f2858ba30b835ee7660d9896b390532d76809e91 | d6578911eff20f7e4ec1eedf9c56feeddf12c830 | /Darts_501/Darts_501/Game.cpp | 7011cb600534153125fd3c7eeaa35d0fc774523c | [] | no_license | Nekrotic02/Darts_501 | c89a36872262018044bb54623c0f777b360a5e6c | 52748c5b62cd048cf0e1f4173e0fa97e84120d55 | refs/heads/main | 2023-04-17T20:02:03.606655 | 2021-04-21T17:22:48 | 2021-04-21T17:22:48 | 357,308,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,417 | cpp | #include "Game.h"
#include "Throw.h"
#include "Board.h"
#include "Results.h"
#include <iostream>
Game::Game()
{
players[0] = NULL;
players[1] = NULL;
game_type = 501;
}
Game::~Game()
{
}
void Game::Play_Game(Results* results, char first)
{
short int current_player = first;
Throw new_Throw;
for (int i = 0... | [
"nekrotic@protonmail.com"
] | nekrotic@protonmail.com |
f4789beb6cca327efebba0d40389a08ac6394fe9 | e641bd95bff4a447e25235c265a58df8e7e57c84 | /components/viz/service/display/display_resource_provider.h | c85028235a6c44c18bf8288b246acf388a24cef6 | [
"BSD-3-Clause"
] | permissive | zaourzag/chromium | e50cb6553b4f30e42f452e666885d511f53604da | 2370de33e232b282bd45faa084e5a8660cb396ed | refs/heads/master | 2023-01-02T08:48:14.707555 | 2020-11-13T13:47:30 | 2020-11-13T13:47:30 | 312,600,463 | 0 | 0 | BSD-3-Clause | 2022-12-23T17:01:30 | 2020-11-13T14:39:10 | null | UTF-8 | C++ | false | false | 23,606 | h | // Copyright 2017 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 COMPONENTS_VIZ_SERVICE_DISPLAY_DISPLAY_RESOURCE_PROVIDER_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_DISPLAY_RESOURCE_PROVIDER_H_
#include <stddef.... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e469609be2a40cc93b1f98a8c48330d140ccd180 | fe6360bf697243c6c318836a3c64a9c1984b610b | /deprecated/jLib/src/graphics/collada/graphics.collada.file.cpp | 0e846f6475b8169137d413c3aa08d2ffcad8549a | [] | no_license | davidmueller13/vexx | 366cec96f4abac2e814176cd5d2ae75393561c0d | 9194877951c78cd3fde3e7fbe6d511e40c24f8eb | refs/heads/master | 2021-01-10T11:51:19.124071 | 2015-09-26T15:30:05 | 2015-09-26T15:30:05 | 43,210,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include "graphics/collada/graphics.collada.file.h"
BEGIN_JLIB_GRAPHICS_COLLADA_NAMESPACE
file::file( string in )
{
setContent( in );
base::setMyRoot( &root );
}
file::file( jLib::file::ioFile in )
{
setContent( in.get() );
base::setMyRoot( &root );
}
file::~file()
{
}
void ... | [
"jorjpimm@e3525c50-fa1a-11de-8c8a-61c5e9addfc9"
] | jorjpimm@e3525c50-fa1a-11de-8c8a-61c5e9addfc9 |
377b01b233dcbdf44d3a2052a3146d7ac31a54f3 | ac309bd6ba1aa289dd0f1588ad1e0d8b5f64e745 | /Shared Classes/Stats.cpp | 45310c3ba8f1aa569b5c663e734e95570828b415 | [] | no_license | Mertank/ToneArm | b6cabd6613a34064bff331510f46147ffd948fce | 40c62b0de89ac506bea6674e43578bf4e2631f93 | refs/heads/master | 2021-01-10T16:20:32.736271 | 2015-11-04T04:45:08 | 2015-11-04T04:45:08 | 45,514,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | cpp | /*
------------------------------------------------------------------------------------------
Copyright (c) 2014 Vinyl Games Studio
Author: Mikhail Kutuzov
Date: 10/7/2014 5:45:48 PM
------------------------------------------------------------------------------------------
*/
#include "Stats.h... | [
"karlmer10@gmail.com"
] | karlmer10@gmail.com |
6b5e6563c36472753e6aa44ec0f24982e3039289 | 2ffc4363ba5b246e48a3b20db662154f9be2a4c7 | /performance/fiber/overhead_detach.cpp | 8543f56ffe8e3714aa3c3f0c22d515d026d65249 | [] | no_license | tempbottle/boost-fiber | b0e230469c7de12919c562e12a419967282dd6cf | 59a4317bf35dfbccc8e0b4bd7f23a32a3c9bfc4f | refs/heads/master | 2021-01-18T09:10:43.737436 | 2016-02-02T16:07:29 | 2016-02-02T16:07:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp |
// Copyright Oliver Kowalke 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <cstdlib>
#include <iostream>
#include <stdexcept>
#include <boost/cstdint.hpp>
#include <boost/f... | [
"oliver.kowalke@gmx.de"
] | oliver.kowalke@gmx.de |
ee043fabb9199c2341fbbf8ee3eedf3cb9e20ccf | 99466d9132f7cf3ee53f54f1c3fe5a2848f1942e | /820.cpp | c799f9fa21387dd285c1be03db1a9218f2a0897b | [] | no_license | Hyukli/leetcode | e71604126712ad801dd27c387099999085f055d3 | 3444f0a92ee4edc7607ee8afab760c756a89df7f | refs/heads/master | 2021-06-05T14:14:58.792020 | 2020-03-31T13:40:58 | 2020-03-31T13:40:58 | 93,115,710 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include<iostream>
#include<map>
#include<vector>
#include<algorithm>
using namespace std;
bool cmp(const string &a,const string &b)
{
return a.size()>b.size();
}
class Solution {
public:
int minimumLengthEncoding(vector<string>& words) {
int ans=0;
map<string,int> m;
sort(words.begin(... | [
"1280096748@qq.com"
] | 1280096748@qq.com |
1fa97bd7b2be67211ebd44b8248466cbfd68ad3a | 0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4 | /LeetCode/leetcode_average-of-levels-in-binary-tree.cpp | 513974081d028ad57dc4dac3a87ceb0f2c21def9 | [] | no_license | yular/CC--InterviewProblem | 908dfd6d538ccd405863c27c65c78379e91b9fd3 | c271ea63eda29575a7ed4a0bce3c0ed6f2af1410 | refs/heads/master | 2021-07-18T11:03:07.525048 | 2021-07-05T16:17:43 | 2021-07-05T16:17:43 | 17,499,294 | 37 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | /*
*
* Tag: BFS
* Time: O(n)
* Space: O(n)
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<double> averageOfLevels(TreeNode* root) {
... | [
"noreply@github.com"
] | yular.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.