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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
715c73e179101f80ac45fc647d0e6ce783a8694e | d45562166228aa9e416aaf52276a6dd03fcd4b98 | /exercise5.cpp | f29bf87e5dc4ad5d38cd2214e89f0a19b9923418 | [] | no_license | nannanwuhui/C- | 20032fe89e9d7b4a306911183cd79a54a9e4752b | 5e342e581681ee107c5825c9f36e67c8ff2e71b4 | refs/heads/master | 2020-12-24T21:00:50.341393 | 2017-08-04T06:37:22 | 2017-08-04T06:37:22 | 55,964,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
class A
{
public:
virtual void Foo() {}
int m_a;
};
class B : public A
{
public:
virtual ~B() {}
};
class C
{
public:
virtual ~C() {}
};
class D : public B, public C
{
public:
int m_d;
};
int main(){
cout << "sizeof(A):" << sizeof(A) << endl;//16
... | [
"nannanwuhui@aliyun.com"
] | nannanwuhui@aliyun.com |
9445677d265b35b29d89d6ea62b4586d8cecedf3 | ce5f67f199c6397a80fde10d9392bfe291952291 | /rzhang/copyRandomList/Solution.cpp | 40148e2fd770c52709eecf87be76bc2a35396227 | [] | no_license | rpj911/LeetCode-2 | 2d2cdf1e81b973b90ce50972488fd2b738979a56 | 305d7db080162eafd86a8ae77ec604addd6faf92 | refs/heads/master | 2020-02-26T16:39:14.034967 | 2014-08-23T06:22:18 | 2014-08-23T06:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | /**
* * Definition for singly-linked list with a random pointer.
* * struct RandomListNode {
* * int label;
* * RandomListNode *next, *random;
* * RandomListNode(int x) : label(x), next(NULL), random(NULL) {}
* * };
* */
class Solution {
RandomListNode* helper(unordere... | [
"ruiz1@andrew.cmu.edu"
] | ruiz1@andrew.cmu.edu |
119be43e57710033071927d36ef7bc7187498a1f | a4b09665ae7e698652aff7f67a751c031271ee14 | /DEM/Low/src/System/System.h | 03d9f47956e11688f5394e5f3e8d288001b9cc29 | [
"MIT"
] | permissive | ugozapad/deusexmachina | 80ce769c83ed997fa6440402ac4f0123ce907310 | f5ca9f2eb850bc827bcf2c18a7303f3e569fea5c | refs/heads/master | 2020-05-20T04:38:43.234542 | 2019-01-17T11:27:24 | 2019-01-17T11:27:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,968 | h | #pragma once
#include <StdDEM.h>
// System functions and macros
class CString;
namespace Sys
{
enum EMsgType
{
MsgType_Log, // Silent log message
MsgType_Message, // Important message to the user, possibly in a form of message box
MsgType_DbgOut, // Message to debug output window
MsgType_Error // Error ... | [
"vladimir.orlov@playrix.com"
] | vladimir.orlov@playrix.com |
49d9d0beebc7d002d49da61b17263f03a59b15fd | 7fdf648cd1a0c0ae92cb6b66f129303a1f4c6171 | /src/game_object/plane.h | d567404a5c60c533d6e51e17e1cd2850a91058d4 | [] | no_license | buchuitoudegou/CarGame | 86f4882cde7b95e1e17e6d82a65a78c1947f6bac | 7060fb2a286b094308ec4f7ee36f437488cc3f01 | refs/heads/master | 2022-01-09T08:25:05.677442 | 2019-06-20T14:57:45 | 2019-06-20T14:57:45 | 186,408,720 | 1 | 1 | null | 2019-06-12T08:17:18 | 2019-05-13T11:44:20 | C++ | UTF-8 | C++ | false | false | 805 | h | #ifndef PLANE_H
#define PLANE_H
#include "./entity.h"
#include "../stb_image/stb_image.h"
#include "../renderers/RendererManager.h"
class Plane: public Entity {
public:
float planeVertices[48] = {
// positions // normals // texcoords
25.0f, -0.5f, 25.0f, 0.0f, 1.0f, 0.0f, 25.0f, 0.0f,
... | [
"756541536@qq.com"
] | 756541536@qq.com |
677825a6190eca4029befe656bb793e8085fae72 | e6841a65c30e2ff468cf1e779559cbc03567cdb1 | /Praktikum GGI 2/Lösungen/Strassenverkehr Florian Walbroel 2014/Strassenverkehr/Aufgabenblock_3/Fahrzeug.h | 56d92ca8d585ba9b45d1f2b805c0f9a91887d5f3 | [] | no_license | karimbouaziz95/Praktikum2_Versuch | 51ceff8b20e28f1cb5fe13d0397bf75a59a56e84 | 092993f74a9faabbf3918ad5b1393c8b7c06f90f | refs/heads/main | 2023-08-23T04:53:36.152724 | 2021-10-17T16:20:01 | 2021-10-17T16:20:01 | 418,179,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | h | #pragma once
#include "AktivesVO.h"
#include <string>
#include <iostream>
using namespace std;
class Weg;
class FzgVerhalten;
class Fahrzeug : public AktivesVO
{
public:
Fahrzeug(void);
Fahrzeug(string sName);
Fahrzeug(string sName, double dMaxSpeed);
~Fahrzeug(void);
string GetName() const;
double GetAbschnit... | [
"kimou007@live.fr"
] | kimou007@live.fr |
eb46a0137a0663e268cf19a59bc9da86b320d956 | f4e152179242265bb57a0c5ee76044a5489327db | /Server/inc/AutoSummary.hpp | 1c3b4d050b2953956ca59b65a061f1a12096f85a | [] | no_license | zhouyinwpu/SearchEngine | c938778eb7b04b9146068ffa28f933b37a232e65 | cecdee42654434d8a0ff3920842e66c46c161c18 | refs/heads/master | 2020-04-04T22:18:16.373313 | 2015-10-16T09:46:02 | 2015-10-16T09:46:02 | 156,318,569 | 1 | 0 | null | 2018-11-06T03:10:32 | 2018-11-06T03:10:31 | null | UTF-8 | C++ | false | false | 2,903 | hpp | #ifndef _AUTOSUMMERY_HPP
#define _AUTOSUMMERY_HPP
#include"../src/Statistics/src/Application.hpp"
#include <string>
#include<set>
#include <utility>
#include<vector>
#include<iostream>
#include<functional>
using namespace std;
using namespace CppJieba;
class AutoSummary
{
public:
AutoSummary(Application &app,int max... | [
"932738410@qq.com"
] | 932738410@qq.com |
856d084b3ae9c71e305c62d35dcb38241ad8040a | ad0e98d23975b3b1ae85efce55116738f6f9a009 | /include/union.hpp | 332de357d6f251142384e0de3930265f2007fd26 | [
"MIT"
] | permissive | jermp/s_indexes | eda3bf758eb38b3c9e0d43c50d00599db503a049 | c80ab970b8ea563feb884aeb6902a4e35f36477c | refs/heads/master | 2023-01-23T09:13:55.088302 | 2023-01-08T09:31:15 | 2023-01-08T09:31:15 | 182,795,912 | 16 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,804 | hpp | #pragma once
#include "constants.hpp"
#include "util.hpp"
#include "uncompress.hpp"
#include "decode.hpp"
namespace sliced {
#define DECODE(ptr) \
uint8_t id = *ptr; \
int c = *(ptr + 1) + 1; ... | [
"jeis90@gmail.com"
] | jeis90@gmail.com |
25bea95a965d8e75f8c8b183e39dec531c7923bf | dbe4c0f546c497c4b74772cd9cc5a94f3a81996b | /Code/AMP/reactphysics3d/collision/TriangleVertexArray.h | c6ce9e85f4fc4abd00f41510026cabd4434e9d91 | [] | no_license | lectorguard/AMP_Engine_Demo | 43c8a83c3c0b4f915240ea86cd6532f09683b6fe | 443ea45d1eb8768d87f5f806624b0d471de4840f | refs/heads/master | 2021-01-04T04:51:08.793701 | 2020-02-14T02:03:18 | 2020-02-14T02:03:18 | 240,393,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,139 | h | /********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2019 Daniel Chappuis *
**************************************************************************... | [
"simon.keller@stud-mail.uni-wuerzburg.de"
] | simon.keller@stud-mail.uni-wuerzburg.de |
e07e47bfefeb8ddfcb9d4b1546adc23a1bbacafc | 83da09d757e3d0359da993a13951a8719c925b1c | /11150_Cola/t.cpp | 056da433839feef298634783e50bfb5d3f30cd1b | [] | no_license | marcobecerrap/UVa-Solutions | e52f185b3a0b8e31a8b5bd45833818753f2fc17c | 170a0165b9b1da245dfc58c2bebd3bdd85a8125d | refs/heads/master | 2021-06-30T21:26:04.736742 | 2020-11-25T16:09:24 | 2020-11-25T16:09:24 | 16,389,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | // UVA-ID: #11150
// "Cola"
// (cl) by mabp, oct-2013.
#include <iostream>
using namespace std;
int GetTotalBottles( int NBottles );
int main( int argc, char *argv[] ){
int NBottles;
while( cin >> NBottles )
cout << GetTotalBottles( NBottles ) << endl;
return 0;
}
int GetTotalBottles( int NBottles ){
... | [
"marcobecerrap@gmail.com"
] | marcobecerrap@gmail.com |
8743b43bba9ff9a73e09a006cd2ffcafd63d4076 | e1d4ee920bf1472f7a0805b28f918c529d5830b5 | /src/logic/Physics.cpp | 132bcfa8827f10fe72b4f3626f49a6fa6050178c | [] | no_license | almgergo/cpp_sandbox | 6be29c42517aff1b0f4487813e69c09533301337 | 51519cc07aef37513f2e83b40ac51c89cb45b864 | refs/heads/master | 2023-03-14T20:47:13.094953 | 2021-03-08T22:47:54 | 2021-03-08T22:47:54 | 341,943,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cpp | //
// Created by almge on 2/23/2021.
//
#include <iostream>
#include "Physics.h"
void Physics::InteractParticles(Particle &particle1, Particle &particle2) {
Eigen::Vector3d differenceVector = (particle2.position - particle1.position);
double distance = differenceVector.dot(differenceVector);
Eigen::Vecto... | [
"galmasy@chappuishalder.com"
] | galmasy@chappuishalder.com |
2514ff52d176304db32a80e52bd378aa96b485c9 | 5f45d136b340c467cdf74d45494ff25fb271a7cd | /gameassetmanager.cpp | 781e6963e31445b6c8589738c82d74014a4c27da | [] | no_license | notsodistantworlds/spaceblitz | db72afe30167bb48770a139fc788704d09a42463 | 0921613229cad69d3625f5e92666550decfe2122 | refs/heads/master | 2021-10-19T00:20:48.104707 | 2019-02-15T21:12:45 | 2019-02-15T21:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,509 | cpp |
#include <assetimporter.h>
#include <gameconsole.h>
#include <math.h>
#include <debuglogger.h>
#include <gameassetmanager.h>
#include <vehicles.h>
#include <equipment.h>
#include <projectiles.h>
#include <effects.h>
GameAsset** GameAssetManager::assets;
int GameAssetManager::assetAmount;
void GameAssetManager::in... | [
"strutinsky5386@gmail.com"
] | strutinsky5386@gmail.com |
23637ad7860099cc72350bbc91ab271f1c9defd6 | 3b7fabf51350d88d331dc2d18b82722899d7d1d1 | /Locales/English.cpp | 297ebfafdea66f42c0c8a56f7c2d4cdd81b03f99 | [] | no_license | Abin-Liu/AbinRelogger | 8a30f72765aa2b86cacd8eee695629a5db892ad2 | 672e2706c39b254df1fd9be3cdd03b0f6065c509 | refs/heads/master | 2020-03-19T16:03:14.177071 | 2018-06-09T06:47:28 | 2018-06-09T06:47:28 | 136,698,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,379 | cpp | #include "stdafx.h"
#include "..\Languages.h"
void CLanguage::Provider_English(CLangMap& aMap)
{
// Menu
aMap.SetAt(LANG_MENU_FILE, _T("File"));
aMap.SetAt(LANG_MENU_EXIT, _T("Exit"));
aMap.SetAt(LANG_MENU_TASK, _T("Task"));
aMap.SetAt(LANG_MENU_START, _T("Start"));
aMap.SetAt(LANG_MENU_STOP, _T("Stop"));
aMap.... | [
"abinn32@163.com"
] | abinn32@163.com |
16276c89a7e39e6536119847e2bd79ebbf217354 | 24db27644d02d0bb4901acc9feea56387ca42987 | /C++ Examples/avc.cpp | be9f5bc8fc194443e89d8e80329cbee5f04e7bf9 | [] | no_license | RLCHHABRA/CPP | b97ba4415451d7e15e115cb2c4bd88f13d8e6e38 | fb91f3400a23c72394a7ec922dbcf9a6f3265fb4 | refs/heads/master | 2020-03-27T11:24:39.792117 | 2018-10-30T20:22:29 | 2018-10-30T20:22:29 | 146,485,074 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<iostream>
#include<conio.h>
#include<string>
#include<stdlib.h>
using namespace std;
class Reverse_string
{
private:
string str;
float l ;
char *p , *q ;
public:
void get_string()
{
cout<<"Enter a string \n";
getline(cin,str);
}
string reverse_s()
{
l = str.size();
for(in... | [
"rlc42847@gmail.com"
] | rlc42847@gmail.com |
1e8ee5701b4f8e3936f3cac9c3e2846cb1181ec5 | f4916f97b2ff6a246317fa4e6bc4fa8fc5e81836 | /src/keygen.cpp | 5b00bf4551c501fa2596e6c25d72d015eefdf1a3 | [] | no_license | TedaLIEz/DES | 4b47458737ba304e4174e34c455eccada96dc8e9 | 3ebf3f580e5e45769ea84afe9977ebb9f8f0633b | refs/heads/master | 2021-03-27T16:31:06.649008 | 2017-06-06T09:02:33 | 2017-06-06T09:02:33 | 90,977,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | //
// Created by aLIEzTed on 5/11/17.
//
#include "keygen.h"
#include "helper.h"
Key Keygen::pc1(uint64_t k) {
Key key;
for (int i = 0; i < 28; i++) {
int bit = getBit(k, pc1map[i] - 1);
key.c.set((size_t) (28 - i - 1), bit);
}
for (int i = 0; i < 28; i++) {
int bit = getBit(k, pc1map[i + 28] - 1)... | [
"aliezted@gmail.com"
] | aliezted@gmail.com |
daeccd04024c43d094021e6532fcd1772dc87877 | 357b88f492f1666081c26ceaa5c33bcfdee193c8 | /c++_practice/template/v5.cpp | 4507e494f580c472696ab6a4cfc1ce1ac8abc103 | [] | no_license | ryankumar/vt_practice_docs | 19670943cc45e156926f9b59490a3859c50bfd71 | cdea1dfe31b3a9e652ba53655e8aa43bc63c0eae | refs/heads/master | 2020-05-29T14:51:39.080039 | 2019-09-18T11:46:51 | 2019-09-18T11:46:51 | 189,204,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp |
#include<iostream>
#include<stdlib.h>
using namespace std;
template<class T, class U>
class A {
T x;
U y;
static int count;
};
int main() {
A<char, char> a;
A<int, int> b;
cout << sizeof(a) << endl;
cout << sizeof(b) << endl;
return 0;
}
| [
"pranali.dhudum@gmail.com"
] | pranali.dhudum@gmail.com |
7fd4cbd084e39404caeea8d77914282937063601 | f2b194c605e067d38d1c7794723d03d8e7782fcd | /test/OpenMP/nvptx_unsupported_type_messages.cpp | 6e0fa3b1d5b441d8e34d415be876c683a30dc0c5 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | dragon-tc-tmp/clang | b1e105ce1adef094b65ba4a56753ef7a21eec40b | 582d213cda71b7dcf85c05e05df8ff10ded1ea9c | refs/heads/release_90 | 2021-01-10T23:21:29.160968 | 2019-03-07T22:47:10 | 2019-06-03T07:23:47 | 70,460,468 | 0 | 3 | Apache-2.0 | 2019-02-15T01:32:04 | 2016-10-10T06:57:37 | C++ | UTF-8 | C++ | false | false | 1,069 | cpp | // Test target codegen - host bc file has to be created first.
// RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-unknown-linux -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc %s -o %t-host.bc
// RUN: %clang_cc1 -verify -fopenmp -x c++ -triple nvptx64-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda %s -fopenmp-i... | [
"a.bataev@hotmail.com"
] | a.bataev@hotmail.com |
2527eaa605b556d5f48620eabb5e25bde9aaf5ab | cc7661edca4d5fb2fc226bd6605a533f50a2fb63 | /UnityEngine/VisibleLightFlags.h | 60a17e3e3b4a499bee571822823cef941bca8a97 | [
"MIT"
] | permissive | g91/Rust-C-SDK | 698e5b573285d5793250099b59f5453c3c4599eb | d1cce1133191263cba5583c43a8d42d8d65c21b0 | refs/heads/master | 2020-03-27T05:49:01.747456 | 2017-08-23T09:07:35 | 2017-08-23T09:07:35 | 146,053,940 | 1 | 0 | null | 2018-08-25T01:13:44 | 2018-08-25T01:13:44 | null | UTF-8 | C++ | false | false | 229 | h | #pragma once
namespace UnityEngine
{
namespace Experimental
{
{
namespace Rendering
{
class VisibleLightFlags : public Enum // 0x0
{
public:
int value__; // 0x10 (size: 0x4, flags: 0x606, type: 0x8)
}; // size = 0x18
}
| [
"info@cvm-solutions.co.uk"
] | info@cvm-solutions.co.uk |
3bd751a9cd8ab56148e28dcf609d08845bc75a89 | 67a5b8dc30f50fb24f2cc07f25620bde13c80dc9 | /hw6/CPUL.h | 2249d028e1cf69e742883216614fcbfc840f5358 | [] | no_license | rmchakra/CPlusPlus-OOPS-DataStructures-Projects | 4c43113b8794d74f56feb6a958ade1fcf37f2e11 | d6e4f1af3c9b1f9ab5e7609fe38b8262749347a0 | refs/heads/master | 2020-04-27T20:50:55.458709 | 2016-12-07T06:57:00 | 2016-12-07T06:57:00 | 174,673,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | h | #ifndef CPUL_H_
#define CPUL_H_
#include "AI_Base.h"
class CPUL: public AI_Base
{
public:
Move getMove (const Board & board, const Player & player, std::map<char, int> initialTileCount);
};
#endif | [
"Rmchakra@usc.edu"
] | Rmchakra@usc.edu |
25f90760ca0c96387bfa47b7687a7a03faf257ad | e2fff7987880180ce1398480dc050e1e77eacafd | /reference/timestamp.cpp | 4115032bc3b72a16d1055017d36be589b39a772f | [
"MIT"
] | permissive | Lephar/Triangle | cde17aed42b3c4acc0f521f5ea0856382b699752 | 7e37ae216dd4e210686a707156134c58b1a60653 | refs/heads/master | 2023-03-01T13:55:44.731031 | 2020-10-25T21:18:49 | 2020-10-25T21:18:49 | 188,873,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | cpp | #include <chrono>
#include <sstream>
#include <iostream>
#include <iomanip>
std::chrono::time_point<std::chrono::system_clock> epoch;
std::string time()
{
auto now = std::chrono::system_clock::now() - epoch;
auto sec = std::chrono::duration_cast<std::chrono::seconds>(now).count();
auto msec = std::chrono::duration... | [
"aliemre.sirius@gmail.com"
] | aliemre.sirius@gmail.com |
0753552309e5a739f78c376fd9a9628fb7604694 | 7e9f6ef27323546e150402e05f96148a0f72482a | /3_チーム制作作品1/ソースファイル/source/担当コード/UI.cpp | 06a994488e55ba61ce5c2d9e58ee98f43bbac782 | [] | no_license | KamitaniTakafumi/MyWrok | 88a67c408ce5c5c412097f8b95141e0c2120b858 | 5ea639e6686b399d3baa8329ad112c551928939f | refs/heads/master | 2023-01-31T08:54:09.654979 | 2020-12-14T02:50:25 | 2020-12-14T02:50:25 | 302,220,596 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 32,704 | cpp | // 使いたい機能や命令にあわせて include を追加する
#include <Windows.h>
#include "amgame.h"
#include "AmHelper.h"
#include "game.h"
#include "camera.h"
#include "alice.h"
#include "UI.h"
#include "HitJudgment.h"
#include "alice.h"
#include "preparation.h"
#include "recipe.h"
#include "global.h"
#include "Item.h"
// ゲーム情報
int cgItemText... | [
"119pg1004@tokyo.amg.ac.jp"
] | 119pg1004@tokyo.amg.ac.jp |
f0443075fa8193e789a2c1800cbe4536bf3a7d44 | 130697b2f60a42edc7b53077d7df77ed3fa41fa9 | /src-plugins/v3dView/medAbstractVtkViewInteractor.h | ad072cbccd5b83823878526cacef67d8819386d3 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | XiaomingJiang/medInria-public | a60963d56eb16aa194ed304fddfc616588b65ed7 | fe574dec26cecce9fe8b0a933a51754b11c7ac89 | refs/heads/master | 2021-01-18T19:40:06.218823 | 2014-02-26T11:02:31 | 2014-02-26T11:02:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | h | /*=========================================================================
medInria
Copyright (c) INRIA 2013. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
===... | [
"guillaume.pasquier@inria.fr"
] | guillaume.pasquier@inria.fr |
1c133c33974a0381d775a4e656c005bf0ed3a8e7 | 51095169037b63e9c4f26df6e176451a2b292dce | /src/ast/generate_ast.cpp | 2b228f31b3a5c6ede7d33e990a096b4ed990bf3a | [
"BSL-1.0"
] | permissive | hkaiser/phylanx | d5bc4f4e6cc0ef7f6f86002a4c1ffcc6e56b7b1e | 32c5ba3d50b51b3ba25b3e0f4d8fc3081fee6dba | refs/heads/master | 2022-10-19T21:16:40.570233 | 2017-10-22T15:51:35 | 2017-10-22T15:51:35 | 108,064,754 | 0 | 0 | null | 2017-10-24T02:06:16 | 2017-10-24T02:06:15 | null | UTF-8 | C++ | false | false | 1,457 | cpp | // Copyright (c) 2017 Hartmut Kaiser
//
// 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 <phylanx/config.hpp>
#include <phylanx/ast/generate_ast.hpp>
#include <phylanx/ast/node.hpp>
#include <phylanx/ast... | [
"hartmut.kaiser@gmail.com"
] | hartmut.kaiser@gmail.com |
43bbf580fd4071bb04e1ce4f9263db4383650335 | b056d85ac482084525d6f9748fc063a954bc0b85 | /TicTacToe/textureHandler.cpp | f6a999f348d31e27e4cbd7e89cc6369d8ce24ca0 | [
"Zlib",
"FTL"
] | permissive | lelon32/SDL2_TicTacToe | 664f884071d2cb437e2594fe0fbc28537fba49cd | 4cae927ad33548dd8be1654ba80ea18585b71283 | refs/heads/master | 2020-04-06T17:35:25.769621 | 2019-02-07T02:38:06 | 2019-02-07T02:38:06 | 157,666,086 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,077 | cpp | /*********************************************************************
** Program name: Tic Tac Toe
** Author: Long Le
** Date: 7/20/2017
** Description: The TextureHandler class generates textures used to
* render onto the screen from PNG images or text using SDL_image and
* SDL_ttf respectively.
******************... | [
"lelon@oregonstate.edu"
] | lelon@oregonstate.edu |
3df156068d61c987efbd584b8a90efef2f72750e | 9234bfe39e405340af0ed7b1b7a3d429ed3da68a | /esp-test/esp-test-webserver/esp-test-webserver.ino | 34161e04ed1ded4db95fa04e46a7a25da3c8280f | [] | no_license | jglatts/Esp8266-Jawns | 2cd3c0d8339da86634b0ffd34ca67b295a229c09 | 3c8bd744d4b08ae23ef974675615dd21df9a27dc | refs/heads/master | 2020-04-16T12:07:26.556734 | 2019-12-31T17:18:12 | 2019-12-31T17:18:12 | 165,565,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | ino | #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
// Replace with your network credentials
const char* ssid = "";
const char* password = "";
ESP8266WebServer server(80); //instantiate server at port 80 (http port)
String page = "";
int LEDPin = LED_BUILTIN;
void setup(... | [
"noreply@github.com"
] | jglatts.noreply@github.com |
450bba4ac17ed20ad356de3faf68f2d2fda6c8d5 | 022f9783fc8c07df7ccc1599abddb4f8ded54d46 | /fishery-nets/solution1/syn/systemc/ccl_5.cpp | 9b544921d2139dea91e7bec5b4c42a7e22ccc159 | [] | no_license | teozax/Reconfigurable-Logic-Based-System-for-Image-Processing-of-Fishery-Nets | 5e08816c69ad30f169ce3fd88b1802ff9ccd15e8 | f806cd7d25f4c9102b2b023e553a7acf02da3256 | refs/heads/main | 2023-06-09T20:35:41.424720 | 2021-06-29T11:38:02 | 2021-06-29T11:38:02 | 373,593,128 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,705 | cpp | #include "ccl.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void ccl::thread_sext_ln559_5_fu_18800_p1() {
sext_ln559_5_fu_18800_p1 = esl_sext<64,16>(select_ln850_8_fu_18792_p3.read());
}
void ccl::thread_sext_ln559_6_fu_19334_p1() {
sext_ln559_6_fu_19334_p1 = esl_sext<64,16>(select_ln850_... | [
"32217108+teozax@users.noreply.github.com"
] | 32217108+teozax@users.noreply.github.com |
f63fccdd21b5ef0ef977f71a125b0e6dbbd73278 | 7ad2aac66dc08c3e9f7dfdbe18f3df87d73712eb | /Assign7/Assign7/Queue.h | 6ab62a2c5eb47c0b40950a16271ca1d4b26e1a5d | [] | no_license | AndOrangutan/COMSC-210 | 93f7c19462e736ff65322eeca9af579cd6192221 | 31b52abf1794c00ff5cdb9107bcf703ca8de3df4 | refs/heads/master | 2022-03-23T22:03:30.294127 | 2019-12-13T03:03:43 | 2019-12-13T03:03:43 | 205,643,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | h | //Programmer: Von Mueller
//Programmer's ID: 1735441
#ifndef QUEUE_LABEXERCISE6_2_H
#define QUEUE_LABEXERCISE6_2_H
template <typename V>
class Queue
{
class Node
{
public:
V value;
Node* next;
};
int siz;
Node* first;
Node* last;
V dummy = V();
public:
Queue();
Queue(const Queue&);
Queue<V>& operator... | [
"vonjonmueller@gmail.com"
] | vonjonmueller@gmail.com |
e56c76cb0a3704f909436c39b518cdcbfd3b0026 | cdab2ef737a481a92fee3e08bbdb7227adbb4259 | /camera/hal/intel/ipu6/modules/sandboxing/IPCIntelAiq.h | 4b911b7b4b002ad4ba35f503910172190d466526 | [
"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 | 11,586 | h | /*
* Copyright (C) 2019-2020 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c4078639a484d5c5eaf5fc16d520a02cc889c2eb | e3728ec90949bc6f7bb6f8782c49bd5fb973ef84 | /mylib/hid_protocal/usbGram.cpp | 6a3b3e35bd50029abff42f7a0ffeca554020235e | [] | no_license | zhenghello/QTobj | 7d3c5b351b4fa05d03d7b306b03ab4e02415f139 | 051a78c242e60ce2c6620d2106fad364707e2d58 | refs/heads/master | 2020-05-25T12:51:37.484297 | 2020-05-04T13:39:32 | 2020-05-04T13:39:32 | 187,807,663 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,962 | cpp | /* 这个函数用包和报文之间的转换
* 主要就是对报文和包之间进行校验和转发
*/
#include "usbGram.h"
usbGram::usbGram(int VID, int PID):usbPack(VID, PID)
{
connect(this,SIGNAL(packRx(QVector<char>)),this,SLOT(pack2gram(QVector<char>)));
}
// 校验包 -> 由packRx触发
void usbGram::pack2gram(QVector<char> pack)
{
int lret;
// 校验包的正确性
lret = p... | [
"zkp@qq.com"
] | zkp@qq.com |
8399e2aa27b6be5159980c207d5962f9568670ec | 2eba3b3b3f979c401de3f45667461c41f9b3537a | /cling/stl/dicts/MyClass3.cpp | fb3d5628fc91135e52fcdd2108f7b1d4c0e93ef2 | [] | no_license | root-project/roottest | a8e36a09f019fa557b4ebe3dd72cf633ca0e4c08 | 134508460915282a5d82d6cbbb6e6afa14653413 | refs/heads/master | 2023-09-04T08:09:33.456746 | 2023-08-28T12:36:17 | 2023-08-29T07:02:27 | 50,793,033 | 41 | 105 | null | 2023-09-06T10:55:45 | 2016-01-31T20:15:51 | C++ | UTF-8 | C++ | false | false | 382 | cpp | #include "MyClass3.h"
ClassImp(MyClass3)
MyClass3::MyClass3():
m_id( 0 ),
m_data()
{
m_data.push_back( std::vector< double >() );
}
int
MyClass3::getId() const
{
return m_id;
}
void
MyClass3::setId( int id )
{
m_id = id;
}
void
MyClass3::insert( double value )
{
m_data[0].push_back( value );
}
double
M... | [
"pcanal@fnal.gov"
] | pcanal@fnal.gov |
1b4c30e7e08938c999ec84733b75a8d153688ffe | 7b26ef8f7122eaede9120c1b80811606cf338a04 | /Assignment1_Game253/Assignment1_Game253/Secondary.h | 6cbf40f9fceea5fd4da564a3a25901ea5f500e36 | [] | no_license | Fabronaut/Game253_Assignment1 | 8df0ce1229ded1cbd1dc444f01241785cbb67ca7 | 51850f19b48a0fa0d6b04fff0a58896458d3a9c3 | refs/heads/master | 2021-09-08T23:12:37.083070 | 2018-03-12T20:25:28 | 2018-03-12T20:25:28 | 124,846,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | h | #pragma once
#include "Weapon.h"
class Secondary : public Weapon
{
public:
Secondary();
~Secondary();
Secondary::Secondary(std::string s);
};
| [
"kfaber3234@gmail.com"
] | kfaber3234@gmail.com |
d0dacd551257099186d807bb4a16eea2c7040cba | e22bd6e40dc3bb2053b42ba21d5ef803a27db66f | /src/volcano.h | a404e9081264c3d064f0142b0802f4d733589e24 | [] | no_license | kunalvaswani123/PlaneSimulator | 1e00c417c07b7ea3c1c6464d042e0e159b3ba6c1 | c2bacbcd9b17cf8cd272aef81e957d30615fc5e6 | refs/heads/master | 2020-06-24T06:23:21.652064 | 2019-07-25T17:58:24 | 2019-07-25T17:58:24 | 198,878,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | h | #include "main.h"
#ifndef VOLCANO_H
#define VOLCANO_H
class Volcano {
public:
Volcano() {}
Volcano(float x, float y, float z, color_t color);
glm::vec3 position;
glm::vec3 n_position;
float rotation1;
int flag;
float speedz, speedx, speed;
void draw(glm::mat4 VP);
void set_positio... | [
"kvaswani2012@gmail.com"
] | kvaswani2012@gmail.com |
b48f31e0f68be86b6356eee25926e41b342889d7 | 13f45df791b46a1e93bf25fdb8b4601725ec63a2 | /src/layouts/80211b/Layout80211b.cc | b08b9c80e81db858d0e1f8b9a2f934fd643d288b | [] | no_license | polhenarejos/flexicom | 530e55b46c45cf8f78173fd2838000f42c4ef479 | 240aa5c247826c5c6db70ccb14ebb69cb1303150 | refs/heads/master | 2020-07-29T10:39:09.493295 | 2019-09-23T13:51:09 | 2019-09-23T13:51:09 | 209,764,585 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,846 | cc | /*
* This file is part of the FlexiCom distribution (https://github.com/polhenarejos/flexicom).
* Copyright (c) 2012-2020 Pol Henarejos, at Centre Tecnologic de Telecomunicacions de Catalunya (CTTC).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Genera... | [
"pol.henarejos@cttc.es"
] | pol.henarejos@cttc.es |
c2d6c6c240e2eb48bb1dbc81d507c8863e056a63 | 101ec99130b5dfe724b625a0c8e54b06c422599c | /src/softTone.cc | 61999e3aa56b08cad42f50862ed22ef6aacd9eb8 | [] | no_license | kohei0302/WiringPi-Node | b498a1ce7e88c46290b921b4a53a983bf4f0ffd4 | e245d3f07da20677b74f8b00df79a0011e756309 | refs/heads/master | 2021-01-21T18:11:20.938780 | 2017-09-16T08:28:11 | 2017-09-16T08:28:11 | 92,022,056 | 3 | 3 | null | 2017-05-22T07:03:41 | 2017-05-22T07:03:41 | null | UTF-8 | C++ | false | false | 2,047 | cc | #include "softTone.h"
#include <softTone.h>
DECLARE(softToneCreate);
DECLARE(softToneWrite);
DECLARE(softToneStop);
// Func : int softToneCreate(int pin);
// Description : This creates a software controlled tone pin.
// You can use any GPIO pin and the pin numbering will be that of the wiringPiSetup() function you u... | [
"leandre.gohy@hexeo.be"
] | leandre.gohy@hexeo.be |
d46303e8b742e8263d0c7cdf0aca60f4f576fa8d | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.4.1/src/dpotrs_gpu.cpp | 17c4645772de00fb121e81efa6ff855253dcf8dd | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,481 | cpp | /*
-- MAGMA (version 1.4.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
December 2013
@generated d Tue Dec 17 13:18:34 2013
*/
#include "common_magma.h"
extern "C" magma_int_t
magma_dpotrs_gpu(char uplo, magma_int_t n, magma_int_t nr... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
97fd62eda1b55b88588c0f8a2ac708bb88a6c454 | b3afd40ff8e996749fa96cfa8f54cab6b8966af5 | /SteeringBehaviors/FleeAgent.h | f046929702fb2d5e7beaac100f4d66acb27b2df7 | [] | no_license | Knothe/SteeringBehaviorsTests | 75babbb11fe6cb35cfa614ebbfaebc92e599fce9 | 41d3608eab001179a531fdd346efd43f1e0eac1e | refs/heads/master | 2021-01-03T02:34:22.886434 | 2020-02-11T22:32:56 | 2020-02-11T22:32:56 | 239,875,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | h | #pragma once
#include "Vec2.h"
#include "Image.h"
#include "Platform.h"
class FleeAgent
{
public:
FleeAgent();
void Update(MouseData* mouseData);
void Draw();
void Init();
private:
Platform* platform;
Vec2 position;
Vec2 velocity;
float angle;
float maxSpeed;
float maxForce;
Image texture;
};
| [
"ivanovich99@gmail.com"
] | ivanovich99@gmail.com |
3d93b92aefb66c29a03f693e94c7883a19e19b75 | eb3cc54905262133f6d36e9f5e1770b941b19c76 | /Utils.cpp | 12a8c69a30d4cb6f5759da03be0b3a0c27492ce3 | [] | no_license | defuchocolate/FaceRecognizerSVM | 4591ee08e942885b10b7fed9e1d240e32449f239 | ed7ff1505810a1dffd562558304fc8d92415ef64 | refs/heads/master | 2021-01-22T22:57:22.618237 | 2016-08-11T10:40:25 | 2016-08-11T10:40:25 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 7,080 | cpp | #include "Utils.h"
Utils::Utils(void)
{
}
Utils::~Utils(void)
{
}
Mat Utils::toGrayscale(InputArray _src) {
Mat src = _src.getMat();
// only allow one channel
if(src.channels() != 1) {
CV_Error(1, "Only Matrices with one channel are supported");
}
// create and retur... | [
"noreply@github.com"
] | defuchocolate.noreply@github.com |
d021a230027d1e70282a719e1c5ee46a1c64e45f | 1172b8157cc5f248e43a1388b546939a1da880ef | /oneflow/user/kernels/transpose_kernel.cpp | e9dc5e4e40c7661615032842698980810d81ba39 | [
"Apache-2.0"
] | permissive | WangHuiNEU/oneflow | 27102bdde571b2ae0e069882da99bf1a40f2675e | b105cacd1e3b0b21bdec1a824a2c125390a2a665 | refs/heads/master | 2023-08-25T09:55:40.300174 | 2021-10-19T10:54:41 | 2021-10-19T10:54:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,055 | cpp | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | WangHuiNEU.noreply@github.com |
f58621a8577c7d3691be80db67b86b09eebf9c37 | a6ff63ad418ba4bbbdba2cf2381bf1cd64d1a3a7 | /CodeForces/919B.cpp | 4c53c416538262aaf9d318bf39dbea32e0bc7619 | [] | no_license | Igronemyk/OI | 537eb08f9837d0d83166e10b768cf193520ba069 | eb706fd767ce5a3195681d2140f9e747dab5f12e | refs/heads/master | 2021-09-16T15:37:20.246679 | 2018-06-22T03:08:55 | 2018-06-22T03:08:55 | 103,484,287 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include <iostream>
#include <algorithm>
#include <cstring>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int k;
cin >> k;
int value = 1;
while(true) {
int tmpValue = value,sum = 0;
while(tmpValue) {
sum += tmpValue % 10... | [
"igronemyk@gmail.com"
] | igronemyk@gmail.com |
8ffb076ad52179f89cb0f23565f23fad3bae37cb | 1e101a641884a7ba3928b82cca62530c78617d38 | /fruitAndbird/Classes/SetLayer.hpp | 0bee4ed30285772b2808a4daa7f220bbc82ae0ef | [] | no_license | Crasader/cocos2d-x-1 | 43c34367ae6ad3e76067ce085d717e9ba8347908 | 784636bfb6dce285e927bd8242f8008de4d3f2fb | refs/heads/master | 2020-11-29T04:20:46.587639 | 2016-07-15T09:09:18 | 2016-07-15T09:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | hpp | //
// SetLayer.hpp
// fruitAndbird
//
// Created by zwj on 16/5/27.
//
//
#ifndef SetLayer_hpp
#define SetLayer_hpp
#include <stdio.h>
#include "GameSceneManager.hpp"
#include "cocos2d.h"
#include "ui/CocosGUI.h"
USING_NS_CC;
using namespace ui;
class setLayer:public Layer
{
public:
CREATE_FUNC(setLayer... | [
"zwjioro@163.com"
] | zwjioro@163.com |
1cf14ed31d57d7a0cc45d494bd99026662531adf | f1d39c056d00ee1eb96a888ec7818e921c8dc83e | /exercise4/exercise4_src/bus_cx/ram.h | 3819fbfca3feda3bce4a03d3b58ca960cab2a3eb | [] | no_license | SeverinDavis/MSS | afb8023d1e9348a8de55397f4ed8ac2283749e2f | f6100039de99c03503f1e8d8278716b00aecec42 | refs/heads/master | 2020-06-28T02:48:17.157744 | 2017-07-13T05:43:12 | 2017-07-13T05:43:12 | 97,084,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef _RAM_H_
#define _RAM_H_
#include "bus_if.h"
#include "debug_if.h"
class Ram : public sc_module, public bus_if, public debug_if
{
public:
sc_export<bus_if> target_export;
void write( unsigned addr, unsigned data );
void read( unsigned addr, unsigned &data );
unsigned start, sz;
unsigned *mem;
vir... | [
"severin.davis@gmail.com"
] | severin.davis@gmail.com |
c396a89195f7f643bfae7452d4ade7de46911c68 | 992de008ba03cfd5e8ac3bd75d5dc1da6a399a58 | /Nyanball/Classes/GameScene.h | 0bc358fe616c122595010797d4ca0cb2c96bb844 | [] | no_license | ippei-takahashi/CocosNyanball | 71dd1d83b2aa0d725097a44321d9d945c1916f60 | e4a425bc8ad41321e9d89f8d8fb3b25cfe7e3e46 | refs/heads/master | 2021-01-10T09:48:25.833763 | 2015-05-24T12:03:32 | 2015-05-24T12:03:32 | 36,170,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | h | #ifndef __GAME_SCENE_H__
#define __GAME_SCENE_H__
#include "cocos2d.h"
#include "Box2D/Box2D.h"
class GamePhysicsContactListener : public b2ContactListener
{
protected:
cocos2d::Ref* m_target;
cocos2d::SEL_CallFunc m_selector;
public:
GamePhysicsContactListener(cocos2d::Ref* target, cocos2d::SEL_Call... | [
"ippnin@gmail.com"
] | ippnin@gmail.com |
362b241f309d862bb96b2053712f0015b55c6b20 | 251dbd9ee40da70e16300f4a8c223130a5bb7ae8 | /chapter_1/ex_1.21.cpp | 65563597b164786f84ddb443f4a2bbd3c7ac05b5 | [
"MIT"
] | permissive | YasserKa/Cpp_Primer | cfd2c5b94ccadc444d766ad1a58a0a56f61dfac8 | 198b10255fd67e31c15423a5e44b7f02abb8bdc2 | refs/heads/master | 2021-01-20T10:30:19.416414 | 2017-09-05T20:41:39 | 2017-09-05T20:41:39 | 101,640,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include <iostream>
#include "Sales_item.h"
int main()
{
Sales_item item1, item2;
std::cin >> item1 >> item2;
if (item1.isbn() == item2.isbn())
std::cout << item1 + item2;
else
std::cout << "The books don't have the same isbn.";
std::cout << std::endl;
return 0;
}
| [
"yasserkaddouralearn@gmail.com"
] | yasserkaddouralearn@gmail.com |
edefb46f7297d3a3d7b7a82ea51e2bb9a5fefd99 | 8909821cc0fda6051b6f4fb3d30b2b0f1ccf65d8 | /Dynamic Programming/6. Grid Paths.cpp | a32efc7d06911b42f5832098996580d63d6a3e15 | [] | no_license | lsiddiqsunny/CSES-Solution | 7ecdb5a1414d6e6e99d148a44946e2d5128c6fae | 6ad4cc19cd0597f6876625991a1bba038816d606 | refs/heads/master | 2022-12-13T20:37:59.392069 | 2020-09-06T23:08:49 | 2020-09-06T23:08:49 | 290,713,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int mod = 1e9 + 7;
int n;
cin >> n;
string s[n];
for (int i = 0; i < n; i++)
{
cin >> s[i];
}
int dp[n][n] = {0};
for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
if (s[i][... | [
"lsiddiqsunny@gmail.com"
] | lsiddiqsunny@gmail.com |
ea0ce30b8e1ca6e038b6fdb058046ab79b457744 | 7fd5e6156d6a42b305809f474659f641450cea81 | /boost/heap/heap_merge.hpp | 1a1ef8741789b29c3f97d43507b053402a382290 | [] | no_license | imos/icfpc2015 | 5509b6cfc060108c9e5df8093c5bc5421c8480ea | e998055c0456c258aa86e8379180fad153878769 | refs/heads/master | 2020-04-11T04:30:08.777739 | 2015-08-10T11:53:12 | 2015-08-10T11:53:12 | 40,011,767 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,741 | hpp | // boost heap: heap merge algorithms
//
// Copyright (C) 2011 Tim Blechmann
//
// 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)
#ifndef BOOST_HEAP_MERGE_HPP
#define BOOST_HEAP_MERGE_HPP
#include "boos... | [
"git@imoz.jp"
] | git@imoz.jp |
ea4da7510f84c5947a35cba51932304c94074c4d | db013e1c68a636db45264b0833cd7eb4213b5ebd | /src/Enki/Graphics/FontLog.hpp | 548d164cbdd497971c84180708f7c101143852d8 | [
"MIT"
] | permissive | Zephilinox/Enki | 8c00e5ee8d9eff2a696d1800449e27fd97f2d9fb | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | refs/heads/master | 2021-06-22T17:25:16.406539 | 2021-02-27T19:34:00 | 2021-02-27T19:34:00 | 199,689,468 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | hpp | #pragma once
//SELF
#include "Enki/Graphics/Font.hpp"
namespace enki
{
class FontLog final : public Font
{
public:
FontLog();
FontLog(std::unique_ptr<Font> font);
bool loadFromFile(const std::string& file) final;
static constexpr HashedID type = hash_constexpr("Log");
private:
std::unique_ptr<Font> font;
};... | [
"zephilinox@hotmail.co.uk"
] | zephilinox@hotmail.co.uk |
8a3d05fe0bfefa39a51d2dcd4b170f82c841535f | 7e4ef7ec81cefef0f2092eb9ba65d72263026437 | /Siv3D/include/Siv3D/GamepadInfo.hpp | 3174ca61a6eb02ed320d9ef92a8c313ae6d99729 | [
"MIT"
] | permissive | zakuro9715/OpenSiv3D | 0fb50580212cc667f2f749f8e39dcb696764cbc4 | 6cf5fc00f71cfc39883a2c57a71ad8f51bc69b5d | refs/heads/master | 2023-03-06T13:42:56.410816 | 2023-03-03T13:38:54 | 2023-03-03T13:38:54 | 208,563,311 | 0 | 0 | MIT | 2019-09-15T08:22:18 | 2019-09-15T08:22:17 | null | UTF-8 | C++ | false | false | 925 | hpp | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "Common.hpp"
# include... | [
"reputeless+github@gmail.com"
] | reputeless+github@gmail.com |
6f370aba17152d11642d94b6f9b24f4fbf03c7ca | fd6c03d5fba4ca1ca5a178d8406d27768d0157e2 | /src/coins.h | 9f66fd6714bf72b2364a5c20bc49a95957bc60a9 | [
"MIT"
] | permissive | jschmucke/e4Coin | 021006dd187d56613e54548c94ab6f2b6cdc6af2 | 7611ef00501c1c05969392a11c22860de697184c | refs/heads/master | 2022-01-19T06:24:17.093636 | 2019-07-09T02:21:16 | 2019-07-09T02:21:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,502 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef E4COIN_COINS_H
#define E4COIN_COINS_H
#include "compressor.h"
#include "cor... | [
"lordark@gmail.com"
] | lordark@gmail.com |
99314b326fb5a3a5a9dbd5e2760cf3b222d3c56d | 0767a430674cbcebc2cd45f61c17a280500c049c | /DBFile.h | 6dcaa17f3505abe1516e488e2bd1a8669778d126 | [] | no_license | ishmnnit/DatabaseImplementation | 3627b31849c2fcad58cb867d35b837a66a373e5a | a774e477f14abf9dbefc410229cb4cdf322c76b4 | refs/heads/master | 2020-05-21T00:16:17.577917 | 2014-08-09T22:31:06 | 2014-08-09T22:31:06 | 22,795,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | h | #ifndef DBFILE_H
#define DBFILE_H
#include "TwoWayList.h"
#include "Record.h"
#include "Schema.h"
#include "File.h"
#include "Comparison.h"
#include "ComparisonEngine.h"
#include <iostream>
#include <fstream>
#include <cstring>
typedef enum {heap, sorted, tree} fType;
struct SortInfo {
OrderMaker *myOrder;
int run_... | [
"ish.mnnit@gmail.com"
] | ish.mnnit@gmail.com |
6050f8a3de2fd21ebfbd7d3879ebe947665f48c8 | 8ee46a2c0cb08f7110a1f68bce89ff4753c34b81 | /CS3A/CH13/Linked_List/Linked_List/linkedlist (Flash's conflicted copy 2013-04-03).cpp | df4841b3be731dec162aa3e147dcdc34b90c8dc6 | [] | no_license | jonathanpchan/SchoolWork | c885180b8e8635703d239e8a5279adf23ca2820a | fbabeead11c365bab08affa5cbfa173d16040171 | refs/heads/master | 2020-05-30T16:51:00.111330 | 2013-04-29T05:52:37 | 2013-04-29T05:52:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,284 | cpp | #include "linkedlist.h"
#include "node.h"
#include <cstdlib>
#include <iostream>
using namespace std;
/*
DEFAULT CONSTRUCTOR
*/
LinkedList::LinkedList()
{
head = NULL;
cursor = NULL;
rear = NULL;
sorted = false;
}
/*******************
Copy CONSTRUCTOR
*******************/
LinkedList::LinkedLi... | [
"jonathanpchan@gmail.com"
] | jonathanpchan@gmail.com |
7ea72a8a5fe38ca197e94801f12d11e3531560b0 | 2d8bf29b4e90dbcc582cafbd9b90656cff9792b9 | /237. Delete Node in a Linked List.cpp | 6f34dd7bd7f4db6e4402dc15042a7b6d3ce66299 | [] | no_license | WestLakeBao/Luyaos-LeetCode-Sols-in-Cpp | b614a21b3dbea9d132ead023457a85113a21ab91 | 654f57c1ad7b7df01904f2a44864d456779c9f00 | refs/heads/master | 2022-08-06T21:11:57.871246 | 2020-05-21T23:12:59 | 2020-05-21T23:12:59 | 261,599,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(nullptr) {}
};
class Solution {
public:
void deleteNode(ListNode* node) {
ListNode* temp=node->next;
node->next = temp->next;
node->val = temp->val;
}
};
int main237(){
ListNode* head = new ListN... | [
"chenluyao1020@gmail.com"
] | chenluyao1020@gmail.com |
a82ee6d3f47de0fc369dd74a3e3ee77f03cfab81 | 407b689baa1a6ec758d9170fe4b0d50e16fc1d71 | /ogr/ogrsf_frmts/openfilegdb/filegdbtable_freelist.cpp | b77a98590b8af6e28eff5ea0825b645fe8797e4e | [
"LicenseRef-scancode-warranty-disclaimer",
"SunPro",
"LicenseRef-scancode-info-zip-2005-02",
"BSD-3-Clause",
"MIT",
"ISC",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | DLR-TS/gdal | edb6a9485b4b4a45900182b6888fe566ca7b4c7f | 1c52709d923e8529356aca55205def6d4fc7fc21 | refs/heads/ogr/xodr | 2023-07-06T09:22:19.018806 | 2022-07-07T16:44:48 | 2022-07-07T16:44:48 | 89,003,817 | 16 | 7 | NOASSERTION | 2023-09-04T18:31:58 | 2017-04-21T16:32:09 | C++ | UTF-8 | C++ | false | false | 25,879 | cpp | /******************************************************************************
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Implements management of FileGDB .freelist
* Author: Even Rouault, <even dot rouault at spatialys.com>
*
****************************************************... | [
"even.rouault@spatialys.com"
] | even.rouault@spatialys.com |
fccb6d837a8728a5c4129ca8b3b01241c8a1fa5e | 0404a2330b5c89d228a6e4bf811d047b8bb6c2de | /seive_dp/100To105/dynamicProgramming1.cpp | e4c6720b963d8a4e77677a802404a80e79d81ffa | [] | no_license | sridharan-084/Examples | 1edf3eece528b8a0f0a155efa02b87e496d379fc | 839a50fab879d58467c7e21d0402f5832488c2a8 | refs/heads/main | 2023-07-14T01:12:01.114093 | 2021-08-21T06:57:18 | 2021-08-21T06:57:18 | 394,376,630 | 0 | 0 | null | 2021-08-09T17:10:31 | 2021-08-09T17:10:30 | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,n) for(int i=0;i<(n);i++)
#define reps(i,a,b) for(int i=(a);i<(b);i++)
#define pb push_back
#define eb emplace_back
#define all(v) (v).begin(),(v).end()
#define fi first
#define se second
using vint=vector<int>;
using pint=pair<int,int>... | [
"33067129+mayankdutta@users.noreply.github.com"
] | 33067129+mayankdutta@users.noreply.github.com |
b9ff8d978432f2a32dbd226e43669c7dc1b63052 | 167c215cd584c54d3af4c5947ed6155e0ddf8cda | /main.cpp | de14b5944ca188b97445a902e225c40111c40efb | [] | no_license | yuriymos/LandLord | 7097f7d8d664ee2027d8dcf2e2971cbba9b583d5 | c6af1fccdf1c97a06adac780882457bc647f30d0 | refs/heads/master | 2021-01-19T13:41:34.860505 | 2017-08-20T11:04:22 | 2017-08-20T11:04:22 | 100,855,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include <QApplication>
#include "landlord.h"
//////////////////////////////////
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
landlord w;
w.show();
return a.exec();
}
| [
"yuriyvm@mail.ru"
] | yuriyvm@mail.ru |
24bfc0fc90a9a55a758beb96682f73e1e36da2d6 | a674eb5cd9465556c4b6aa85bf8b953ac2e32a65 | /TimeLogger_v4.0/exitdialog.h | 68da7d4e78efc1b4e03679a8d83ba16d843d402b | [] | no_license | petarbdl/petar | 83f188e065bc49021b8776e51f7e016bca3a700c | 0965ae669504b6362ee52d732446d69d62822547 | refs/heads/master | 2020-08-13T18:31:19.900117 | 2020-01-17T12:06:29 | 2020-01-17T12:06:29 | 215,017,009 | 0 | 0 | null | 2019-12-23T17:27:19 | 2019-10-14T10:42:39 | C++ | UTF-8 | C++ | false | false | 518 | h | #ifndef EXITDIALOG_H
#define EXITDIALOG_H
#include <QDialog>
namespace Ui {
class ExitDialog;
}
class ExitDialog : public QDialog
{
Q_OBJECT
public:
explicit ExitDialog(QWidget *parent = nullptr);
~ExitDialog();
void setValues(QString name);
private slots:
void on_buttonL... | [
"noreply@github.com"
] | petarbdl.noreply@github.com |
7eed58f71de06db710ee57f05273185b733afdd2 | e15a40c51c72fa7184889dda2bfa873ab019299c | /Engine_Master/Application.h | 6bd8839e062bfe8b5daa079f71b27d601ae76f92 | [] | no_license | raulgonzalezupc/LittleEngine | 75966bdb0084e1ca8ca14c6181c951e5988cab28 | 6684bb8dcbb3d5ac2963fd059616dc333db46757 | refs/heads/master | 2020-09-03T19:15:11.837328 | 2019-11-04T20:04:04 | 2019-11-04T20:04:04 | 219,543,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | h | #pragma once
#include<list>
#include "Globals.h"
#include "Module.h"
class ModuleRender;
class ModuleWindow;
class ModuleTextures;
class ModuleInput;
class ModuleEngine;
class ModuleProgram;
class ModuleTexture;
class ModuleImgui;
class Application
{
public:
Application();
~Application();
bool Init();
update_s... | [
"56253770+raulgonzalezupc@users.noreply.github.com"
] | 56253770+raulgonzalezupc@users.noreply.github.com |
ba71ebd6eb7fbf20e28251a368633a4bf1568a72 | a82b8e87f42b9ec67418d3537473b4be90c38a71 | /Src/PID_v1.cpp | 0f467bf6bbd01c7114ae883aa697da84b5d8e2c5 | [
"MIT"
] | permissive | salvato/BuggySTF411 | fe6ebd1b7cbc203dab0e0d7e43ba3a7dfaa8d41d | c99326a09e7ecda6338e2c6d760d43cbb02d14dd | refs/heads/main | 2023-02-08T22:30:06.209278 | 2021-01-03T20:43:52 | 2021-01-03T20:43:52 | 309,169,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,894 | cpp | // ************************************************************
// * Arduino PID Library - Version 1.1.1
// * by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com
// *
// * This Library is licensed under a GPLv3 License
// ************************************************************
#include "PID_v1.h"
... | [
"gabriele.salvato@cnr.it"
] | gabriele.salvato@cnr.it |
a3f05e3af9ca2fbc676018df3fa1a2821cc0b8e1 | 2ce1e8db12b5fd339a165e345ae3f815dc46ee07 | /examples/Backpropagation/Backpropagation_double_Xor/Backpropagation_double_Xor.ino | 5ae7a735848e1bd213568c310b0457bdeffb5b85 | [
"LicenseRef-scancode-other-permissive"
] | permissive | AlexHudnev/NeuralNetworks | d309fbd3b3a7507ca97197707973a7b3020d3056 | e3f0db1d173d2dd03e32aebbaf9d14c71941bf99 | refs/heads/master | 2023-06-19T10:32:12.619320 | 2021-05-08T13:02:18 | 2021-05-08T13:02:18 | 258,358,288 | 0 | 0 | NOASSERTION | 2020-04-23T23:49:31 | 2020-04-23T23:49:30 | null | UTF-8 | C++ | false | false | 2,039 | ino | #define NumberOf(arg) ((unsigned int) (sizeof (arg) / sizeof (arg [0]))) //calculates the amount of layers (in this case 4)
//#define _1_OPTIMIZE B00010000 // REDUCING RAM By using the same pointer for every layer's weights.
#define Tanh // Comment this line to use Sigmoid Activation Function
#incl... | [
"gxousos@gmail.com"
] | gxousos@gmail.com |
aab98c74cbbc789da5958a114632b6d5ccf35f9b | f5d86f2d06ef811a934b9d9d6d2b9a9ad0e59e76 | /include/FlowFunction/FlowFunction.h | c74cda37271faacc9aa72540d58112d4c932aa96 | [] | no_license | XavierWang/llvm | cc48e9f8ed61872286259c76bd8a85712020ce4c | 4dfe2781fe6f3368ad53321750b3d2657ae6e5d3 | refs/heads/master | 2021-01-14T08:54:48.855122 | 2015-12-13T03:30:49 | 2015-12-13T03:30:49 | 47,491,322 | 0 | 0 | null | 2015-12-06T09:55:06 | 2015-12-06T09:55:05 | null | UTF-8 | C++ | false | false | 823 | h | #ifndef FLOWFUNCTION_H_
#define FLOWFUNCTION_H_
#include "llvm/IR/Instruction.h"
#include "llvm/InstVisitor.h"
#include "../../include/Lattice/LatticeNode.h"
#include "../../include/Lattice/CSELatticeNode.h"
#include "../../include/Lattice/RALatticeNode.h"
#include <vector>
using namespace std;
using namespace llvm;
... | [
"dih024@eng.ucsd.edu"
] | dih024@eng.ucsd.edu |
88b8776ef2732928fee04b35c2bcca12873314f1 | 8e69376174bbcd51433872b82ae90ef9531370fc | /Materials/Codes/Week3-TH/NhanVienHH.cpp | 034e5772a606bc16a8368b4ae25b651093f8e27f | [] | no_license | danghuudat/CS122 | fd066727947e13c07fdab569add06c246425fd71 | adf4e0a0c1f5ba913e881e8abefa5100a48e2681 | refs/heads/master | 2020-06-08T11:21:38.838423 | 2019-06-07T09:40:50 | 2019-06-07T09:40:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | cpp | #include "NhanVienHH.h"
NhanVienHH::NhanVienHH()
{
}
NhanVienHH::~NhanVienHH()
{
}
| [
"noreply@github.com"
] | danghuudat.noreply@github.com |
35897187f30006038d08378cfa93d545dc6367ad | 3881b43f782d7193e976ef69fb4c5db41a87e261 | /ADE7758.cpp | 3f183303e750e06e04f781eec9c73bfc4c60eea0 | [] | no_license | tiagotobias2003/ADE7758 | 5e20338674649463a7aaf10867c3d62f71801611 | 3088c2e06244f489880d1034d0369b0b5fe93072 | refs/heads/master | 2021-01-18T15:10:47.038702 | 2014-03-09T17:15:51 | 2014-03-09T17:15:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,420 | cpp | #include "Arduino.h"
#include <SPI.h>
#include "ADE7758.h"
#include <avr/wdt.h>
//public
ADE7758::ADE7758(SPIClass ADE7758SPI, int SSpin):
_ADE7758SPI(ADE7758SPI),
_SSpin(SSpin)
{
digitalWrite(_SSpin, HIGH);
//Ensure Chip select pin is output
pinMode(_SSpin, OUTPUT);
}
void ADE7758::begin()
{
//no... | [
"engkan2kit@gmail.com"
] | engkan2kit@gmail.com |
0bfdc725ccfe2c34a939b577501a38cb165582f4 | c6bddd88916e6c8697a9e02485bd22c58d76bcec | /GeneratedPlaceholders/Engine/MaterialExpressionStaticComponentMaskParameter.h | 6788b5cb8b1cf12df7044e5888542016fbe9c3be | [] | no_license | GIRU-GIRU/Mordhau-Unofficial-SDK | 18d13d62d746a838820e387907d13b0a37aed654 | f831d7355cf553b81fb6e82468b3abf68f7955aa | refs/heads/master | 2020-07-06T03:36:48.908227 | 2020-04-22T13:54:00 | 2020-04-22T13:54:00 | 202,872,898 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 676 | h | #pragma once
#include "CoreMinimal.h"
#include "MaterialExpressionStaticComponentMaskParameter.generated.h"
UCLASS()
class UMaterialExpressionStaticComponentMaskParameter : public UMaterialExpressionParameter
{
GENERATED_BODY()
public:
UPROPERTY(Replicated, EditAnywhere, BlueprintReadWrite)
struct FExpressionInput... | [
"45307738+crypdos@users.noreply.github.com"
] | 45307738+crypdos@users.noreply.github.com |
843d392e5b367a79ffeb3350e651c7ecb813234d | 8c121b5c3dc564eb75f7cb8a1e881941d9792db9 | /old_contest/at_coder_abc185_B.cpp | 9a6d44b855c49951156e83d7a8f780e8814c44f4 | [] | no_license | kayaru28/programming_contest | 2f967a4479f5a1f2c30310c00c143e711445b12d | 40bb79adce823c19bbd988f77b515052c710ea42 | refs/heads/master | 2022-12-13T18:32:37.818967 | 2022-11-26T16:36:20 | 2022-11-26T16:36:20 | 147,929,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | cpp | #include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<iomanip>
#include<math.h>
#include<complex>
#include<queue>
#include<deque>
#include<stack>
#include<map>
#include<set>
#include<bitset>
#include<functional>
#include<assert.h>
#include<numeric>
using namespace std;
#include <vector>
#de... | [
"istorytale090415@gmail.com"
] | istorytale090415@gmail.com |
b3c238e3700048893b9b142d5ab52f4bd010f583 | 7a455d1705511cc4dfbcf44d5a9544cd2052f62e | /code/backend/include/insieme/backend/variable_manager.h | 901440f04d1834d6418169e0e675bc8aa58b545a | [] | no_license | 8l/insieme | 69bf70adc34e465c41581dfd077a37451cac56d4 | 1db3b7dc6643d8c4c791c69a4004efabb19b665c | refs/heads/master | 2020-04-05T19:00:15.914694 | 2015-07-20T13:12:31 | 2015-07-20T13:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,760 | h | /**
* Copyright (c) 2002-2013 Distributed and Parallel Systems Group,
* Institute of Computer Science,
* University of Innsbruck, Austria
*
* This file is part of the INSIEME Compiler and Runtime System.
*
* We provide the software of this file (below described as "INSIEME")
* under... | [
"herbert@dps.uibk.ac.at"
] | herbert@dps.uibk.ac.at |
188539c1b4581e1857293e4e8e989ae58c367637 | 68b2cfc0b2e5825247c68d8043de0f85881e2d71 | /C++ test codes (Bari tutorial) Part 1/Arithmetic Operations/Area of Triangle/AreaOfTriangle.cpp | 195624d6202e97b53da9e72c27e52cf6f45d2ac0 | [] | no_license | shubha360/CPP-Practice-Codes | 3bb645ced291e22fad111b55b91eac8c4d24a6ae | a992741d75c11fa85dcfc22c56af5cb4cbcc6575 | refs/heads/master | 2023-01-22T17:00:51.492914 | 2020-12-03T14:01:32 | 2020-12-03T14:01:32 | 282,846,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include<iostream>
using namespace std;
int main() {
int base, height;
double area;
cout<<"Enter integer value of base: ";
cin>>base;
cout<<"\n";
cout<<"Enter integer value of height: ";
cin>>height;
cout<<"\n";
area = (double) (base*height)/2;
cout<... | [
"noreply@github.com"
] | shubha360.noreply@github.com |
ef127caf797f0b5880654ee73c604c8ca13ec06b | d2838a6119d5fb7196a8a4999f3134eb19b8ee62 | /havingfan/havingfan.ino | 417fcc6c6f02b06c70f46b28bcf35cfa3526e592 | [] | no_license | draentropia/gettingfan | 406d03b07744f21b54b98b4c9b13f109ba2f218a | 5c9fbb5bf081a534361ccf00a10e62a641b99c25 | refs/heads/master | 2022-01-17T09:30:44.198717 | 2019-07-21T18:42:05 | 2019-07-21T18:42:05 | 198,090,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | ino | const int RELE = 8;
void setup() {
Serial.begin(9600);
pinMode(RELE, OUTPUT);
}
void loop() {
int status = 0; // set status to off
while (Serial.available()>0)
{
status = Serial.parseInt();
if (status==1)
{
digitalWrite(RELE, HIGH);
} else {
digitalWrite(REL... | [
"noreply@github.com"
] | draentropia.noreply@github.com |
b2141118de1c0f2969be05624797553cc89bdbfd | fc987ace8516d4d5dfcb5444ed7cb905008c6147 | /v8/test/unittests/compiler/effect-control-linearizer-unittest.cc | 0a12ea371a4a987491122b3917eaf73f98e4a88a | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro"
] | permissive | nfschina/nfs-browser | 3c366cedbdbe995739717d9f61e451bcf7b565ce | b6670ba13beb8ab57003f3ba2c755dc368de3967 | refs/heads/master | 2022-10-28T01:18:08.229807 | 2020-09-07T11:45:28 | 2020-09-07T11:45:28 | 145,939,440 | 2 | 4 | BSD-3-Clause | 2022-10-13T14:59:54 | 2018-08-24T03:47:46 | null | UTF-8 | C++ | false | false | 14,012 | cc | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/compiler/effect-control-linearizer.h"
#include "src/compiler/access-builder.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/l... | [
"hukun@cpu-os.ac.cn"
] | hukun@cpu-os.ac.cn |
400aee4ffec7ff2261ee72d1fe8847a6a3a07e7c | e79697cef5abd7a64790fb8619b2e69d1ee204c7 | /Códigos/aplicacao3-ParaleloGaussLegendre.cpp | 0db578084cb6c2954ab8d64e090d4df7d693bbc8 | [] | no_license | caiossoliveira/SO2019-GrupoCaioWanner | cdccb50ae842099293da70fe2a8b6e9b9a90f0df | d2694f75b64f1fe585f83a1a1fc107961046c25c | refs/heads/master | 2020-06-08T18:56:43.561978 | 2019-06-22T23:19:55 | 2019-06-22T23:19:55 | 193,286,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,691 | cpp | //declaração das bibliotecas
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <pthread.h>
#include <sys/time.h>
typedef struct{
double a;
double an;
double b;
double t;
long long int p;
}GaussLegStruct;
pthread_mutex_t mutex;
const int MAXIT = ... | [
"noreply@github.com"
] | caiossoliveira.noreply@github.com |
fdd111adb07e2904b024d91ec55f30c653e9ea5e | 127c53f4e7e220f44dc82d910a5eed9ae8974997 | /Client/Tools/MrSmith/MrSmith/DataPool/SMDataPool_CharacterList.cpp | 9c2df9e72db364da0117478a17e703ecf93a8c1c | [] | no_license | zhangf911/wxsj2 | 253e16265224b85cc6800176a435deaa219ffc48 | c8e5f538c7beeaa945ed2a9b5a9b04edeb12c3bd | refs/heads/master | 2020-06-11T16:44:14.179685 | 2013-03-03T08:47:18 | 2013-03-03T08:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cpp | #include "StdAfx.h"
#include "SMDataPool_CharacterList.h"
#include "..\SMAgentManager.h"
#include "..\SMAgent.h"
#include "Type.h"
#include "GameStruct.h"
namespace SMITH
{
LoginCharacterList::LoginCharacterList(Agent* pAgent)
: LuaExport< LoginCharacterList >("LoginCharacterList", pAgent->getLuaState()... | [
"amwfhv@163.com"
] | amwfhv@163.com |
37b9c1dcd5ec7828d73d5d3a3612112dee1ff724 | 1eec7c89c35d709c6e368e9c5b3db2c039683159 | /pairs.cpp | a5f1abc14d83e9c7a1a417502b470e8528062a7e | [] | no_license | ashishyadav24092000/Conceptual-Programs-C- | c6a81fc7086b6c773e2a35a984ce4e1cdbe32cb8 | 6f593cc1fa1e57e982ebd8207d142ae769183625 | refs/heads/main | 2023-08-15T06:06:43.803960 | 2021-10-02T10:16:00 | 2021-10-02T10:16:00 | 412,756,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | #include<iostream>
#include<vector>
#include<unordered_set>
using namespace std;
//TIME COMPLEXITY O(N)
vector<int> pair_sum(vector<int> arr,int sum)
{
unordered_set<int> set1;
vector<int> result;
for(int i=0;i<arr.size();i++)
{
int x = sum - arr[i];
if(set1.find(x) != set1.end()) //The u... | [
"noreply@github.com"
] | ashishyadav24092000.noreply@github.com |
58262bb10c1d7ab8c27395b7c99b08022513e2dc | cb24aa9a8edd9d58fea5e5274712d30a5a39a70f | /TriggerStudies/interface/HLTObject.h | 2ff15628ac1860b6bd2413ceccd95de098ef9292 | [] | no_license | joaopela/CMSSW_VBFHToInv | 36b1c7af10bc868c03219111c25f167436f2b7eb | 421310aef87fa0909f1fe7f6c32f39a92e67e4dd | refs/heads/master | 2021-01-17T08:30:16.971952 | 2015-11-23T14:02:09 | 2015-11-23T14:02:09 | 14,692,093 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | // -*- C++ -*-
#ifndef VBFHiggsToInvisible_TriggerStudies_HLTObject_H
#define VBFHiggsToInvisible_TriggerStudies_HLTObject_H
#include "Math/Vector4D.h"
#include "Math/Vector4Dfwd.h"
// System include files
#include <string>
#include <vector>
class HLTObject{
public:
HLTObject();
HLTObject(double pt,double eta... | [
"pela@cern.ch"
] | pela@cern.ch |
43620c378e0f1b0f48902ba474b2bae85414560b | b417693f522e1e92d5d9daae0d1d45180f5224f2 | /Plugin/Log.cpp | 4e5a0fbc8cb798c23b2fdd855de3475caea943af | [] | no_license | killvxk/binkit | dc25faf999b976b0c6bb476f70ca37c80bc1d9e9 | a7872a7bf2cbbeaf0386d6bbabfce2b6bf78c8c3 | refs/heads/master | 2022-09-27T06:17:19.488337 | 2020-06-06T18:01:07 | 2020-06-06T18:01:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #pragma warning(disable:4996)
#include <windows.h>
#include <stdio.h>
#include <TCHAR.H>
#include <ida.hpp>
#include <kernwin.hpp>
#include "Log.h"
int gLogLevel = 0;
void SetLogLevel(int gLogLevel)
{
gLogLevel = gLogLevel;
}
void LogMessage(int level, const char *function_name, const TCHAR *format, ...)
{
if... | [
"oh.jeongwook@gmail.com"
] | oh.jeongwook@gmail.com |
e5598620804017ca4911c1db340f44dab4fd6386 | e2a73f2fd67fd0516cab72d1c8100c3464115144 | /Algorithmic Toolbox/Week 3/fractional_knapsack/fractional_knapsack.cpp | a859abc91bb711b44349dc48a687f37786b9986f | [] | no_license | shubhpy/Cpp-Programs | f60c564f039b4dc53709a0a73d8d15161f22d24f | 1192995a950ae7d22efe356aaf8945c71a18bef4 | refs/heads/master | 2021-05-02T17:53:10.057000 | 2016-10-25T19:52:19 | 2016-10-25T19:52:19 | 62,331,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using std::vector;
using std::cout;
using std::cin;
double get_optimal_value(int n,int capacity, vector<int> weights, vector<int> values) {
double value = 0.0;
vector<double> valuesByweights(n);
for(int i=0;i<n;i++){
valuesByweights[i] = (double)val... | [
"shubhpycode@gmail.com"
] | shubhpycode@gmail.com |
38e630b3dadf6b41ed2f0a13125477ae7143877d | 6e2ebb243d380b981905dfd04ebabdc34c08ff73 | /MyActionRPG/Source/MyActionRPG/Public/GameSystem/Abilities/Ability/RPGGameplayAbility.h | a9a1d95e54420169f3f4d2838f29bfdf892a52b1 | [] | no_license | xuguoyang/UE4 | 8201b3228250f587053d240ef112301be24d8d59 | 6210e4711c3d5c04cfdfb7867b374a6f0caa882f | refs/heads/master | 2023-03-08T20:44:24.963244 | 2023-02-22T02:58:28 | 2023-02-22T02:58:28 | 59,945,144 | 1 | 1 | null | 2021-07-13T14:22:19 | 2016-05-29T13:44:53 | C++ | GB18030 | C++ | false | false | 2,470 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Abilities/GameplayAbility.h"
#include "GameplayTagContainer.h"
#include "RPGAbilityTypes.h"
#include "GameplayEffectTypes.h"
#include "Interface/ShortcutUseInterface.h"
#include "RPGGameplayAbility.generated.h"
/**
... | [
"wxkyxgy@foxmail.com"
] | wxkyxgy@foxmail.com |
233bf251bf6db8445c04d1c27bd0d73978448bc0 | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/third_party/blink/public/web/web_local_frame.h | 5665db8f8167d931676bb7d3ef7d70e074e43873 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,300 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_LOCAL_FRAME_H_
#define THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_LOCAL_FRAME_H_
#include <memory>
#include <set>
#includ... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
8e6b12a2cd856ff232941ef7baf6c68063297d74 | ac7237f51c8332fa8b44a5776bfc7f4727ff19ea | /client.m.cpp | bb4db96fa60be1dd567e176556ec02729c2a509a | [] | no_license | ChengJoyceJi/BloombergCodeB | 2be9770d96c41ccf656afed7f067176902e39690 | 1dbb6545ad4e6b627c96efe7b5b6086afc5dbb13 | refs/heads/master | 2021-03-12T19:24:38.500858 | 2015-03-21T11:58:45 | 2015-03-21T11:58:45 | 32,619,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | /*
* File: main.cpp
* Author: atamarkin2
*
* Created on June 26, 2014, 5:11 PM
*/
#include <string>
#include "galik_socketstream.h"
#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <vector>
#include <cstring>
using namespace std;
using namespace galik;
using namespace galik::net... | [
"jicheng8524@hotmail.com"
] | jicheng8524@hotmail.com |
bf29ea5b95a51a2e9c211a4b802a82448c89d56d | cc99f8aac33b56f040a7be3dbc4c90812df1d40d | /Directx9sdk/Samples/C++/Direct3D/EffectEdit/OptionsView.cpp | 653a6dac78fcb05aa875917ea99265de83b46a0c | [] | no_license | Kiddinglife/t3d | a71231f298646fc57b145783f0935914ae29fdf1 | bec8ed964588611ebf4d11bb4518a7ab92958a38 | refs/heads/main | 2023-03-02T06:07:18.513787 | 2021-02-14T10:12:16 | 2021-02-14T10:12:16 | 338,776,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,426 | cpp | // OptionsView.cpp : implementation file
//
#include "stdafx.h"
#include "EffectEdit.h"
#include "EffectDoc.h"
#include "OptionsView.h"
#include "UIElements.h"
#include "RenderView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////... | [
"jake.zhang.work@gmail.com"
] | jake.zhang.work@gmail.com |
a7bd2d423584a43cc54b713b1f63a2ed76a0fa44 | e2e3a6e53e5ac62d216b2e6359865c763bf45432 | /Chapter3/EXC3_17.cpp | 08ba3620a92011381e136f721e6bf20a168063ce | [] | no_license | AyiStar/CppPrimer | b34b4fc7843977e2ead715c6772147d0e9d35875 | 7b48ba28d2fc41581edcb4812e69e2c98fa90ab0 | refs/heads/master | 2021-01-11T00:22:21.265069 | 2017-03-15T12:16:26 | 2017-03-15T12:16:26 | 77,778,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | //
// Created by ayistar on 1/7/17.
//
// read a sequence of words from cin
// and store the values in a vector
// then, process the vector and change each word to uppercase
// print the transformed elements, eight words to a line
#include <iostream>
#include <string>
#include <vector>
using std::cin;
using std::cout... | [
"824476660@qq.com"
] | 824476660@qq.com |
1eb45c846a0b06b635eee20c0cf4fbe050b67780 | 1c27ad1ad5d5625afdaf421cc518bc0c632da970 | /Classes/CCLabelBMFontAnimated.h | bd999f197d5987f541e5b31ee8778f3521dd306d | [] | no_license | Refetizm/Fly-To-Masomo | 2a0619ae350314d3bec30d4ca4c82a9a7e482f9b | 6dcc000647b449aa2eee1b86b4844ff07459c298 | refs/heads/master | 2020-08-30T23:52:31.740639 | 2019-11-01T11:05:28 | 2019-11-01T11:05:28 | 218,526,204 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,863 | h | //
// CCLabelAnimated.h
// CCLabelAnimated
//
// Created by Steven Barnegren on 23/03/2015.
//
//
/*
Copyright (c) 2015 Steve Barnegren
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 witho... | [
"noreply@github.com"
] | Refetizm.noreply@github.com |
7f0812844fef37b04797fa28719673f55903a335 | 5525d270883134aff70cc686ca3be2484ceffb9c | /GEx/include/gex/algorithm/length.hpp | 1d52a6357f1a055ba3102d80a1e7b7b44e793182 | [] | no_license | WilstonOreo/Tomo | 7907a3811c19b70eb64c978ce0feba291adb9e5c | c5bcdd18878f7950b8e5f607d3d48aaf9d95a05e | refs/heads/master | 2021-01-19T01:26:39.373934 | 2016-06-21T11:43:02 | 2016-06-21T11:43:02 | 61,629,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | hpp | #pragma once
#include <boost/geometry/algorithm/perimeter.hpp>
namespace gex
{
namespace algorithm
{
namespace functor
{
template<typename PRIMITIVE>
struct Length
{
};
}
void length()
}
}
| [
"m@cr8tr.org"
] | m@cr8tr.org |
5a47825266f9ebe8f2f97b7bcb3a0d3b676d1828 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE401_Memory_Leak/s02/CWE401_Memory_Leak__new_char_74b.cpp | a71bda7b51b9cf7fb97a03ff263579216f78305b | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,446 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__new_char_74b.cpp
Label Definition File: CWE401_Memory_Leak__new.label.xml
Template File: sources-sinks-74b.tmpl.cpp
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: Allocate data using new
* GoodSource: Allocate data on the stack
... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
f9e8215785c9a755ca687553e55ebe29db7675a9 | 3f1e036b9629462bcfd7fb0b3efe7bbe34cdb3ee | /iterator.cpp | 5f5ef7b9a280b0caa002eb730884ca5ae80c9731 | [] | no_license | vjain003/Lab_7-UCR_CS100 | 19427efaf677211abb1c6834735c0c5a36a95f07 | e5a53d0a0b06f160233ec96dde2b1c447e84108b | refs/heads/master | 2021-09-10T04:32:36.609503 | 2018-03-21T01:49:00 | 2018-03-21T01:49:00 | 124,028,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | #include "iterator.h"
void PreorderIterator::first() {
// Empty the stack (just in case we had something leftover from another run)
// Create an iterator for the Base* that we built the iterator for
// Initialize that iterator and push it onto the stack
while(iterators.size() > 0)
{
iterato... | [
"vjain003@ucr.edu"
] | vjain003@ucr.edu |
5c106856a9a26ceb61c8b4334327d157c2cba9af | ea770a0943c6b9111be180fb815078fb2f449c79 | /CucumberC++/GherkinParser/src/BDD/BDDExecSpecGenerator.h | d36512a5828cb2f9ea6fdd3b8ad3eeceba840421 | [
"MIT"
] | permissive | bzquan/CucumberCpp | b967fd4472d618b5cfbad043043d9359a82e7f39 | 0ada15970e3be59a9f9d1a066e2aef3ca0b8a12d | refs/heads/master | 2021-05-15T01:15:21.040610 | 2016-12-31T00:38:33 | 2016-12-31T00:38:33 | 58,046,305 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,158 | h | /* The MIT License (MIT)
*
* Copyright (c) 2016 Bingzhe Quan
* 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, cop... | [
"bzquan@gmail.com"
] | bzquan@gmail.com |
8147df548478d92440f2a12493a29f6b6d1b9b9a | db50162b3ea5c08e676ab491981487a7386a465a | /src/main.cpp | 498b9968d4b8f31cdb0afaf94a6985e69d5da8ef | [
"MIT"
] | permissive | kingsamchen/Yielderator | 1b96f4c735d466c709ee2431e9a38df7e1842c3f | 7da0673e3589e7bfa65a22a2540c0d19a2c415ae | refs/heads/master | 2020-05-01T11:52:58.530758 | 2015-03-20T03:51:10 | 2015-03-20T03:51:10 | 32,259,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | /*
@ Kingsley Chen
*/
#include <conio.h>
#include <iostream>
#include <string>
#include "yielderator.h"
class Collection {
public:
using value_type = std::string;
private:
void Yielderate()
{
yield_return(std::string("abc"));
yield_return(std::string("def"));
yield_return(std::... | [
"kingsamchen@gmail.com"
] | kingsamchen@gmail.com |
14499b9b0f79d215082ffb983040d84a9cba69c7 | 62ab9e009031da8fe5cb38dd773971c57f30bdb7 | /ardumower/src/DHT.h | f583d32d0332dcc8cb77561cc3a041bcb50cb5d1 | [] | no_license | jussipu/AzuritBer | ce21d5a2948ad2fc5e121d783f1d5f1f5628e006 | b396050fffbdf9b675d20120ff5d58a42f2e1977 | refs/heads/RFID | 2021-08-06T11:52:13.566475 | 2020-05-23T13:54:26 | 2020-05-23T13:54:26 | 187,247,274 | 1 | 0 | null | 2020-04-23T10:04:03 | 2019-05-17T16:15:44 | C++ | UTF-8 | C++ | false | false | 1,733 | h | /* DHT library
MIT license
written by Adafruit Industries
*/
#ifndef DHT_H
#define DHT_H
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
// Uncomment to enable printing out nice debug messages.
//#define DHT_DEBUG
// Define where debug output will be printed.
#define DEBUG_PRINTER Ser... | [
"25924791+jussipu@users.noreply.github.com"
] | 25924791+jussipu@users.noreply.github.com |
820798d7366d6b4368ba5339c8088116d7462fc1 | 3e19165859b69351301f683292135cba75549db6 | /MIT/6.837/3/vecmath/include/Matrix4f.h | 0bb9ea5f2bba63e83f13e0740b96096c1873d6ab | [] | no_license | k-ye/OpenCourses | b084638e212920a831a6baf74d740dd704b9447f | 7ac57b6fbfe1ae574f60378cf15d308e191be3eb | refs/heads/master | 2021-07-04T19:50:34.040105 | 2020-04-05T09:02:14 | 2020-04-05T09:02:14 | 99,991,859 | 27 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 4,021 | h | #ifndef MATRIX4F_H
#define MATRIX4F_H
#include <cstdio>
class Matrix2f;
class Matrix3f;
class Quat4f;
class Vector3f;
class Vector4f;
// 4x4 Matrix, stored in column major order (OpenGL style)
class Matrix4f
{
public:
// Fill a 4x4 matrix with "fill". Default to 0.
Matrix4f( float fill = 0.f ... | [
"yekuang.ky@gmail.com"
] | yekuang.ky@gmail.com |
51ed67df5747c74308a1bb11c8ede83810a3466c | 975779ef2a843c2733404af6e5f6f5b14003cea6 | /Feb13/TopBrussels/TopTreeAnalysis/macros/CernWHelicity.cc | e47e248eae439dcd3b570cc9ae33c26c33fe3392 | [] | no_license | rebecacern/OldVUB | 087639e5652c659ee242826a50fcd68df92c3f06 | 481f54483eaf95b98020531aea1d35480708c3de | refs/heads/master | 2020-04-27T17:24:07.590377 | 2014-04-17T14:36:05 | 2014-04-17T14:36:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90,928 | cc | ///////////////////////////
///// TODO & COMMENTS /////
///////////////////////////
#include "TStyle.h"
#include "TGraphErrors.h"
#include <cmath>
#include <fstream>
#include <sstream>
#include <sys/stat.h>
#include <math.h>
#include "TLorentzVector.h" //Needs to be defined as " TLorentzVector V(Px,Py,Pz,E) " or " TL... | [
"rebeca@cern.ch"
] | rebeca@cern.ch |
50321410dc718652435763b22958f8e914c6b525 | 91733c935dafd770fa01e87acea4d235f3200e4e | /src/WString.cpp | 87378d9912515ffe893978c5bd6337f00d8496f9 | [] | no_license | Coloryr/project6 | d9c6164511adf02073c215d8fbee5f1dad63f695 | d8905b2dc9beb1d350bbe8cdcc47494d8ff20301 | refs/heads/main | 2023-04-06T06:30:17.082282 | 2021-04-18T03:48:30 | 2021-04-18T03:48:30 | 329,954,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,209 | cpp | /*
WString.cpp - String library for Wiring & Arduino
...mostly rewritten by Paul Stoffregen...
Copyright (c) 2009-10 Hernando Barragan. All rights reserved.
Copyright 2011, Paul Stoffregen, paul@pjrc.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | [
"402067010@qq.com"
] | 402067010@qq.com |
482fc61a5f1d1aec8c013e59ad8b4345c5cd7128 | 8e5c94cc5a3eeba046995c0c9d73c91b6dd022bc | /KthMin.cpp | dfb5df313ccc9f4eb80a9a50dc4c9fd330eab67e | [] | no_license | heycooldude/Sorting | 3c4c03185587a7e7c7f89db95cc8959f1b7f0918 | 308af143ce3e5c012c3817a5d9e013f80c4b3223 | refs/heads/master | 2020-04-27T04:48:59.798961 | 2015-02-02T23:13:49 | 2015-02-02T23:13:49 | 30,213,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include "KthMin.h"
#include <iostream>
KthMin::KthMin()
{
}
KthMin::~KthMin()
{
}
int KthMin::findKthMin(IDoubleList03 * data, int k){
IDoubleNode03 *pk;
/*int cur = 0;
pk = data->getHead();
while (pk != NULL){
cur = pk->getValue();
std::cout << cur << "\n";
pk = pk->getNext();
}*/
IDoubleNode03 * j = n... | [
"harsh_mkg@yahoo.co.in"
] | harsh_mkg@yahoo.co.in |
363037318a37e546c6f608a24226666a2f1564a5 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_10054.cpp | 88b826ce4d36a48681ea08fec9ddaba1520b9a2c | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | void f(int x)
{
int i = 0;
if (x) {
for ( ; i < 10; ++i) ;
}
} | [
"github@pauldreik.se"
] | github@pauldreik.se |
0079a62353fb4843a5966a987352994d2723d741 | 899035356dcd382da91c787214f3a42b71eb43c4 | /library/src/main/cpp/cookie-encrypt.cpp | f4fed1134363033a08a702089372139c3d4a4f6c | [
"Apache-2.0"
] | permissive | TUBB/Explode | d95ad163c3844347c2b1cda272df9f32a8b44092 | 35a13118a11bced7f08b3041b3ca3861baf5b9f8 | refs/heads/master | 2020-03-13T06:50:08.092943 | 2018-08-09T05:24:13 | 2018-08-09T05:24:13 | 131,012,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | #include <jni.h>
#include <string>
const std::string KEY = "Opu@Tea%4*1";
const std::string SIG = "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;";
const std::string AES_ENCRYPT_NAME = "aesEncrypt";
const std::string AES_DECRYPT_NAME = "aesDecrypt";
jstring callMethod(JNIEnv *env, jclass &clazz, jmethodID &... | [
"tu.bingbing@163.com"
] | tu.bingbing@163.com |
2b12b771c9f057da04bf6a98760b48fd3be403f4 | 78da87159332b7f053c6bcf88f888ffc6c4dd624 | /11958.cpp | 96b8b59dd6f5d8aca24f27c4f02777b6df97a8d4 | [] | no_license | sudiptobd/UVA-Solving | e2d7bb9b8196a469003dde056b1e596af642cc95 | 403dd3a54e1a8e9af42dcd3d121a64269f9b351a | refs/heads/master | 2021-01-11T20:02:09.401456 | 2017-01-19T12:47:13 | 2017-01-19T12:47:13 | 79,452,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | #include<stdio.h>
#include<iostream>
#include<utility>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#include<string>
#include<algorithm>
#include<queue>
#include<map>
#include<stack>
#include<deque>
#include<vector>
#include<ctype.h>
using namespace std;
#define lli long long int
#define gcd(a,b) __gcd(a,b)
... | [
"sudiptoroy900@gmail.com"
] | sudiptoroy900@gmail.com |
afce6d4f89ae15c62c8cda83b96351c03a9ecbf6 | a5d733d9b841a9127dc4a1aad63a3904dbfe0a3d | /0032. Longest Valid Parentheses/solution1.h | d56974b70e7eb4bc8dc5f987ecc3c3660d7236b9 | [] | no_license | yeholdon/Ye-s-LeetCode | 207d24a9b3e0804679e101dfeca4c0cc39a107cb | e17125e57ab0664ac39befc6405e4ea2e48051ee | refs/heads/master | 2021-08-09T01:50:17.991260 | 2021-01-18T02:45:53 | 2021-01-18T02:45:53 | 241,823,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | h | #pragma once
#include <vector>
#include <string>
#include <map>
using namespace std;
class Solution {
public:
int longestValidParentheses(string s) {
int len = s.size();
vector<vector<int>> dp(len, vector<int>(len));
vector<int> count(len);
for (size_t i = 0; i < len; i++)
... | [
"yeholdon@gmail.com"
] | yeholdon@gmail.com |
5119dd0ea872bb07a3b640066735b1fcb6fb8480 | 290da1ab2d9e2c74f0cd346fd0c2eb705c5d8530 | /MyGame/Unigine_RTS_Demo1/data/core/scripts/system/wall.h | 148cbaba9a1f11f349ab8a7a196cccf6ae278e82 | [] | no_license | sid1980/MyGame | 00f7135ce4994a6016b54177def61716a3e46ab4 | eca83b366c096a958ffd75c85eff78c8cfcdbc39 | refs/heads/master | 2023-03-18T06:29:24.860934 | 2016-08-25T05:53:27 | 2016-08-25T05:53:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,719 | h | /* Copyright (C) 2005-2015, UNIGINE Corp. All rights reserved.
*
* This file is a part of the UNIGINE 2.0-RC SDK.
*
* Your use and / or redistribution of this software in source and / or
* binary form, with or without modification, is subject to: (i) your
* ongoing acceptance of and compliance with the terms and ... | [
"wangzhaoyu@ztgame.com"
] | wangzhaoyu@ztgame.com |
4194f34ee5ef03cacc4ccec76615a197a7fdcbd6 | e39117e739995759b9407a400846e5786e5b5f5d | /include/dish2/cell/cardinal_iterators/NeighborKinGroupIDAncestorViewWrapper.hpp | ed0f7365535ba17ae29bf61a2a790b2c32d285c7 | [
"MIT"
] | permissive | perryk12/dishtiny | 5f18c5df1d97a49e58697ec7317773ae5c756ef6 | 4177f09eed90f3b73f952858677fc4001ac6175a | refs/heads/master | 2023-03-28T14:06:56.626589 | 2021-03-25T05:34:50 | 2021-03-25T05:36:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,032 | hpp | #pragma once
#ifndef DISH2_CELL_CARDINAL_ITERATORS_NEIGHBORKINGROUPIDANCESTORVIEWWRAPPER_HPP_INCLUDE
#define DISH2_CELL_CARDINAL_ITERATORS_NEIGHBORKINGROUPIDANCESTORVIEWWRAPPER_HPP_INCLUDE
#include <utility>
#include "../../../../third-party/Empirical/include/emp/base/vector.hpp"
#include "../../peripheral/readable_... | [
"mmore500.login+git@gmail.com"
] | mmore500.login+git@gmail.com |
4158bd9168e030e8444220085a36f655d72c801d | 3c2b5dcceff31f38e8f1b92dcb17a1b9790aac2a | /include/solver_GSL.h | 5d1b6260b02208316d954a28f0a31b788bd8581c | [] | no_license | olmomoreno/qp_testing | 624ca09fb4c3723df6b403ec14789b00da4f8447 | 8dc185a058ebb7b762e84a9091027186f2cf788d | refs/heads/master | 2021-01-20T04:43:06.808961 | 2017-04-28T16:00:03 | 2017-04-28T16:00:03 | 89,721,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,497 | h | /*
CQP is an implementation of the Mehrotra's Predictor-Corrector
interior point method for the convex quadratic programming.
CQP solves problems of the form:
min (x^t)Qx+(q^t)x
s.t. Ax = b,
Cx >= d.
Dimensions of the problem data:
Q is a (n x n)-matrix
A is a (me x n)-matrix
C is a (mi x n)-matrix... | [
"olmo.moreno@iit.it"
] | olmo.moreno@iit.it |
40a27c1eb0a414b3f6a6332cd001ace4d70e8c41 | 70022f7e5ac4c229e412b51db248fdd08a0a5b28 | /src/tests/frontend/Linux-g++_(GCC)_4.8.5/openmp/rodinia-lud/lud.c.pre.transformed.cpp | 8c7f05b7d8bd00f569064fa5b7fe2a5cad7d72bf | [] | no_license | agrippa/chimes | 6465fc48f118154e9d42fbd26d6b87a7dce7c5e9 | 695bb5bb54efbcd61469acda79b6ba6532e2d1d9 | refs/heads/master | 2020-12-25T14:02:17.752481 | 2016-07-04T02:20:59 | 2016-07-04T02:20:59 | 23,259,130 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 109,726 | cpp | # 1 "lud.c.pre.transformed.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/opt/apps/software/Core/GCC/4.8.5/lib/gcc/x86_64-unknown-linux-gnu/4.8.5/include/stddef.h" 1 3 4
# 147 "/opt/apps/software/Core/GCC/4.8.5/lib/gcc/x86_64-unknown-linux-gnu/4.8.5/include/stddef.h" 3 4
typedef long int ptrdiff_t;
# 212 "/opt/apps/s... | [
"jmaxg3@gmail.com"
] | jmaxg3@gmail.com |
7322cd3e2e496dddc9dc155f59202508e8b078fe | e2874bd5d016d5d1349b7911b60f08bf986bd17a | /compiler/CodeGenerator.h | 9d250159c8cf4a72498defb3660b36a96bfdbcbb | [] | no_license | qq464418017/bintalk | c4835dc9a125e192925b3e76f7d944b2e810bfd3 | 97905f8a9e8bf3954db8c7366e215edb0933c003 | refs/heads/main | 2023-03-30T09:52:50.945372 | 2023-03-29T01:55:08 | 2023-03-29T01:55:08 | 620,594,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | #ifndef __Generator_h__
#define __Generator_h__
#include <string>
class CodeGenerator
{
public:
CodeGenerator(const std::string& name);
virtual void generate()=0;
private:
std::string name_;
CodeGenerator* next_;
public:
static const char* desc();
static bool exec();
private:
static CodeGenerator* root_;
};
... | [
"noreply@github.com"
] | qq464418017.noreply@github.com |
a84f0e9966581270563a0cea82be8c419f38d435 | 23c6e6f35680bee885ee071ee123870c3dbc1e3d | /test/libcxx/algorithms/equal_range_comp.pass.cpp | 5061b76a62b111942cd827c898fbb4c83328c586 | [] | no_license | paradise-fi/divine | 3a354c00f39ad5788e08eb0e33aff9d2f5919369 | d47985e0b5175a7b4ee506fb05198c4dd9eeb7ce | refs/heads/master | 2021-07-09T08:23:44.201902 | 2021-03-21T14:24:02 | 2021-03-21T14:24:02 | 95,647,518 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | cpp | /* TAGS: c++ fin */
/* CC_OPTS: -std=c++2a */
/* VERIFY_OPTS: -o nofail:malloc */
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-Lice... | [
"xkorenc1@fi.muni.cz"
] | xkorenc1@fi.muni.cz |
b95c3f45109335d2fd290f0cb1753614dad0560f | 4a740172acf796966560b8b9be8048b90266b861 | /hosts/android-studio/MoaiTemplate/lib/armeabi-v7a/include/moai-sim/MOAICompassSensor.h | 472f997f7dd61a28c1da52e7fe9ba43d93a50f6e | [] | no_license | RazielSun/SampleMoaiProject | 407a5d0435c92053ebb1c112e5b700433fb83995 | 32d42881965d963e1760bdc669f13ecc147b951b | refs/heads/master | 2020-05-18T15:41:37.866163 | 2015-03-18T07:48:17 | 2015-03-18T07:48:17 | 30,076,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | h | // Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#ifndef MOAICOMPASSSENSOR_H
#define MOAICOMPASSSENSOR_H
#include <moai-sim/MOAISensor.h>
//================================================================//
// MOAICompassSensor
//==============================================... | [
"razielsun@gmail.com"
] | razielsun@gmail.com |
659c105b741628e0f0d27dc5097a25cab2a43d9f | 0d51ea8f9a9c372f38320081f33b4a869b8d1dd6 | /OOPS-1/Student.cpp | 0f122a9a88bf48a29c8ab98fe7f419f4a09a5b4f | [] | no_license | blackenwhite/Interview-Preparation-Coding-Ninjas | ffb81e52c939e19c7f771418bd523b4e8c73e146 | 177645870655616fc1c70ed4077e4c8ade0b1774 | refs/heads/master | 2023-02-05T09:08:20.405159 | 2020-12-19T18:23:24 | 2020-12-19T18:23:24 | 255,102,269 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | class Student {
public :
int rollNumber;
private :
int age;
public :
// Default constructor
/*Student() {
cout << "Constreuctor called ! "<< endl;
}*/
// Parameterized constructor
Student(int rollNumber) {
cout << "Constructor 2 called !" << endl;
this -> rollNumber = rollNumber;
}
Studen... | [
"noreply@github.com"
] | blackenwhite.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.