blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5e20e7c53a4dfd23b6f064f755f65b5e118ff9c | 47b48374c6823ae666599ae8af87fdbaab28bc2e | /VulkanRenderer/Application.h | 34e0c9a8355fd2ef529063be7234b16f8af367fd | [] | no_license | MalcolmMcNeely/VulkanRenderer | 38c166d34b39d0e988227c395818af3c269b4764 | 65e9a8d8b9dc9d23bb2c8e450de1afa20f13d86c | refs/heads/master | 2020-03-24T11:41:16.817935 | 2020-02-10T22:26:53 | 2020-02-10T22:26:53 | 142,692,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | h | #pragma once
#include "Window/RenderWindow.h"
using namespace renderer;
namespace application {
class Application {
public:
void Initialise();
void MainLoop();
void Destroy();
private:
RenderWindow* pWindow;
};
} | [
"malcolm.mcneely.86@gmail.com"
] | malcolm.mcneely.86@gmail.com |
a095ff896cf51e8d174e540dc780aa73f92b7a48 | c1b65b3ee4db1938e9bd6ee457594d2a3174b925 | /EV3DF/EV3D/Lua/CreateLua.cpp | 38279983b701f40b7d211f3b6343f7e249bf554c | [] | no_license | damody/geology | f4b204700d9d710d148f360f7998fb20d4a029c1 | 6c1f2cb7772dae7f4370317b26159c9bab52406f | refs/heads/master | 2021-01-01T04:12:50.726678 | 2013-05-10T08:37:08 | 2013-05-10T08:37:08 | 56,484,969 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | #include "CreateLua.h"
void CreateLua::AddInt( std::string name, int num )
{
siv.push_back(std::make_pair(name,num));
}
void CreateLua::AddDouble( std::string name, double num )
{
sdv.push_back(std::make_pair(name,num));
}
void CreateLua::AddString( std::string name, std::string str )
{
ssv.push_ba... | [
"t1238142000@15cd899a-37be-affb-661b-94829f8fb904"
] | t1238142000@15cd899a-37be-affb-661b-94829f8fb904 |
64b05ab41b7044b77d203c3e4e142a4afb77a65b | 6990bebad52934990be1403a8208ca08baf9717c | /스택/외계인의 음악연주.cpp | 83e96fb87564df538332bf42883391177e2e5516 | [] | no_license | tmdtjq321/Algorithm | 5b77e6f28e2b37e1209064f192134ef1b72f171d | 3e50326faf829fdc73e45b80a7d8706e74aa4b35 | refs/heads/master | 2023-08-30T02:16:26.808814 | 2021-11-18T11:17:35 | 2021-11-18T11:17:35 | 429,399,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include<stdio.h>
#include<algorithm>
#include<stack>
#include<string.h>
using namespace std;
int N, P, cnt;
stack<int> v[8];
int main(){
scanf("%d%d",&N,&P);
for (int i = 0; i < N; i++){
int l, m;
scanf("%d%d",&l,&m);
if (!v[l].empty()) {
if (v[l].top() > m){
while(!v[l].empty() && v[l].top() > ... | [
"tmdtjq32@naver.com"
] | tmdtjq32@naver.com |
66f7143eb22a21d7c42afae0e6aa808d4a5fd747 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir22442/dir26291/file26373.cpp | 72ab997cc410e0e5e8046a2e5b91a99055bb8d13 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file26373
#error "macro file26373 must be defined"
#endif
static const char* file26373String = "file26373"; | [
"tgeng@google.com"
] | tgeng@google.com |
9c18340411037be1280d0edb82ea8b0d83a479ad | 778b2ac29ac51523cc26a09ac9b358d2cfcaf3b7 | /algorithm/POJ/POJ1949 Chores.cpp | 4af56dfc600c9f3ce9ca51b9c845852c65c74daf | [] | no_license | YurieCo/Cookie | e0a5bf77f64843335ec81ad417dd9e518ebb582c | 7ad5fa52591ce4a88a45bae291be725649474370 | refs/heads/master | 2021-01-16T23:06:18.712626 | 2014-08-16T12:44:09 | 2014-08-16T12:44:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <cstdio>
#include <cstring>
static const int MAXN = 10005;
int n, m, k, t, a, b, dp[MAXN];
int max(int x, int y)
{
return x>y?x:y;
}
int main(int argc, char *argv[])
{
scanf("%d",&n);
a = 0;
for(int i=1;i<=n;++i)
{
m = 0;
scanf("%d%d",&t,&k);
while(k-... | [
"CyberZHG@gmail.com"
] | CyberZHG@gmail.com |
e2d819cf246e3ce944def3cc48aaa69110d28849 | adb18af7cdeaf4e949738dda04b870a3ca35458b | /OMEdit/OMEditGUI/Debugger/DebuggerMainWindow.h | 6de299f5417c09882c1b9c2afa1b1133c4b84a9b | [] | no_license | rfranke/OMEdit | 53b37c5713e7907189edd154d4435ede5b12b24d | 104cbca7b6c92b36dcd4c7aa89add0203d1bc6de | refs/heads/master | 2020-04-05T23:16:00.673608 | 2016-02-10T16:46:07 | 2016-02-10T16:46:07 | 51,476,755 | 0 | 0 | null | 2016-02-10T22:19:19 | 2016-02-10T22:19:18 | null | UTF-8 | C++ | false | false | 6,113 | h | /*
* This file is part of OpenModelica.
*
* Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC),
* c/o Linköpings universitet, Department of Computer and Information Science,
* SE-58183 Linköping, Sweden.
*
* All rights reserved.
*
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 ... | [
"martin.sjolund@liu.se"
] | martin.sjolund@liu.se |
b4937539f206077cc7b8a91d59658daa36cee20c | b56a4a115b24c95877d7b11a84f4292df0bfc10b | /CodeBall/RandomGenerators.h | c82371088eca0c42651338b9323df7d49241af34 | [] | no_license | tyamgin/AiCup | fd020f8b74b37b97c3a91b67ba1781585e0dcb56 | 5a7a7ec15d99da52b1c7a7de77f6a7ca22356903 | refs/heads/master | 2020-03-30T06:00:59.997652 | 2020-01-16T09:10:57 | 2020-01-16T09:10:57 | 15,261,033 | 16 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | #ifndef CODEBALL_RANDOMGENERATORS_H
#define CODEBALL_RANDOMGENERATORS_H
class RandomGenerator {
public:
enum Mode {
DummyMean,
Simple
};
Mode mode;
double randDouble() {
if (mode == DummyMean) {
return 0.5;
}
if (mode == Simple) {
// ht... | [
"tyamgin@gmail.com"
] | tyamgin@gmail.com |
d20c7b8c86dabea939ea84e1d23b3337264f1844 | 04d147a936e25536937d43054c6dd3502e1e8c2a | /include/Renderable.h | f155e7f3d1e36caf564a943f3936701e305a8368 | [] | no_license | Visse/dv1542_project | 13e06b6245b647226599285ccc00a39060d03455 | ad2aece70a78a5dec83fc3456a8b0faeefc099ee | refs/heads/master | 2016-09-06T08:12:42.637948 | 2015-04-11T10:58:58 | 2015-04-11T10:58:58 | 30,210,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | h | #pragma once
class Renderer;
class Renderable
{
public:
virtual ~Renderable() = default;
virtual void render( Renderer &renderer ) = 0;
}; | [
"visse44@gmail.com"
] | visse44@gmail.com |
02c2d193427c9ecc70369f6637e5704973ba8141 | f0280623b3b6cd80fa3a1102bf911e5cc736cc2b | /QtRptProject/QtRptDesigner/tmp-win32/moc_PageSettingDlg.cpp | 115c3aa02a74d8ab6daa75739c9625d78a64eeb6 | [] | no_license | xman199775/jeanscar | 1aea4dd5b35bab07462e2af3dfc98ee7813720fa | 1170c165ad0d6e50829d3d5db618406326a83c51 | refs/heads/master | 2021-05-05T06:09:14.336541 | 2018-06-25T12:49:52 | 2018-06-25T12:49:52 | 113,491,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,913 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'PageSettingDlg.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | [
"xman199775@gmail.com"
] | xman199775@gmail.com |
dd4e2141769a6d4cad3c22380b689d9679d8e845 | 53733f73b922407a958bebde5e674ec7f045d1ba | /VIR/0907am/arc031_2/main0.cpp | 624b89d67164aeb0e32d42cd7a9613f4f666fc46 | [] | no_license | makio93/atcoder | 040c3982e5e867b00a0d0c34b2a918dd15e95796 | 694a3fd87b065049f01f7a3beb856f8260645d94 | refs/heads/master | 2021-07-23T06:22:59.674242 | 2021-03-31T02:25:55 | 2021-03-31T02:25:55 | 245,409,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
#define ull unsigned long long
#define ld long double
#define vi vector<int>
#define vll vector<ll>
#define vc vector<char>
#define vs vector<string>
#define vpii v... | [
"mergon-nitro-pale_fluorelight@hotmail.co.jp"
] | mergon-nitro-pale_fluorelight@hotmail.co.jp |
0f9fe8a624659b4f0e5371ce533ef514838a0ed0 | c0eda57487fa0f6324534a647951a364b8af2203 | /renderer/cbuffer_structs.hpp | 6726a7d0600287b021631b41ffc1b3ad55bf2bc7 | [] | no_license | tuccio/fuse | 6e8a9ef07faf9f6a6d04d821b4dc4e7c2ee8db59 | 9cf7a7c66290443fb040816a08fc65cbac1ddc08 | refs/heads/master | 2021-01-19T02:58:39.010535 | 2016-07-18T16:09:26 | 2016-07-18T16:09:26 | 48,071,253 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | hpp | #pragma once
#include <fuse/math.hpp>
namespace fuse
{
struct cb_camera
{
float3 position;
float fovy;
float aspectRatio;
float znear;
float zfar;
float __fill0;
mat128 view;
mat128 projection;
mat128 viewProjection;
mat128 invViewProjection;
};
struct cb_screen
{
uint2 resolution;
... | [
"d.tuccilli@gmail.com"
] | d.tuccilli@gmail.com |
ce2d2069893a6cc0eb5372d452865c95128e3c06 | 293c98e7b16b45853b17d1113691f0e8b1dfa2af | /cpp03/ex04/SuperTrap.hpp | 493e602cd80558f8ec92964421f1ce0a6c80c121 | [] | no_license | Mia-Cross/modules_cpp | b7476977ab8c1c449c033a459cbda1685afefca3 | a1f03d8367fee7302e04dcc0e442834ce2fb0378 | refs/heads/master | 2023-03-01T07:52:02.753406 | 2021-02-03T22:11:40 | 2021-02-03T22:11:40 | 314,326,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | hpp | #ifndef SUPERTRAP_CLASS_H
# define SUPERTRAP_CLASS_H
# include "NinjaTrap.hpp"
class SuperTrap : public virtual FragTrap, public virtual NinjaTrap {
public:
SuperTrap(); //constructeur par defaut
SuperTrap(std::string name);
~SuperTrap(); //de... | [
"leila.marabese@gmail.com"
] | leila.marabese@gmail.com |
099f117a36383dfe42ed5e932ecf793181ee51e0 | b4376de7e9dd92cb9de2b73d430ae9196bc6b526 | /src/main.cpp | 481fde3b6ef4c069be6988b6748b62bbbc96056e | [] | no_license | Sunlight4/X-Bit-Old | 2190c65f4fdb4950bdd8ab9eda5b8f7cad2bc620 | de4477cef5c9b55f2c0906dd5a006a15fea20fa6 | refs/heads/master | 2022-05-29T10:34:39.854039 | 2020-04-30T15:15:06 | 2020-04-30T15:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | /* main.cpp - created on Apr 29, 2020
*/
#include "CentralManager.h"
int main (int argc, char* args[]) {
CentralManager* manager = new CentralManager();
manager->Initialize();
while (manager->Update());
manager->End();
}
| [
"ethan.saff@gmail.com"
] | ethan.saff@gmail.com |
1473790e7f934a707539b0d29c3c0cdb2e7e8eea | a73a90d3bf9191c67b8c8079b7521f6b75258dab | /p40/project_euler40.cpp | b8a9702c8d61a784cb3a8b5d7a66771a5af4e512 | [] | no_license | afluriach/project_euler | 75dbd102b104c2b012223350932e6704e82025d2 | 46ab194707d4888172a7c641ba017401a6f2a4b0 | refs/heads/master | 2020-03-21T07:56:05.280871 | 2018-06-22T14:06:12 | 2018-06-22T14:06:12 | 138,309,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | // project_euler40.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
char buf[2000000];
int _tmain(int argc, _TCHAR* argv[])
{
char * pos = buf;
for(int i=1; (pos - buf) <= 1000000; ++i)
{
pos += sprintf(pos, "%d", i);
}
... | [
"afluriach@gmail.com"
] | afluriach@gmail.com |
d8fd438d5ae4ac91c4c682ccc73fed1d6d436e87 | e31e549a9e3baeded36b61675b458f34e08c64e2 | /demos/auth/client.cpp | 424a43eb65bbc3c3d68ce874bdac3d76abdd1359 | [] | no_license | ztenv/zeromq_demo | e669f1c1232a09b51ca2dbb99e48ecc7bd6a4b36 | 519049256a67919bd921de577b94ff9d38226c12 | refs/heads/main | 2023-04-08T12:29:51.652133 | 2021-04-23T15:48:20 | 2021-04-23T15:48:20 | 309,614,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | cpp | #include <chrono>
#include <iostream>
#include <sstream>
#include <string>
#include <array>
#include <thread>
#include <cstring>
#include <zmq.h>
using namespace std;
int main()
{
void *context = zmq_ctx_new();
void *requester = zmq_socket(context, ZMQ_REQ);
const char *name = "admin";
const char *... | [
"class7class@163.com"
] | class7class@163.com |
19d5a47c1379869d79143b2908947dddd544a5c6 | fddffa4722dce69c2b81205776cf380943ebfc50 | /Tracker/HTTPTracker.hpp | 32390ce44a23edb175e9364e0a7255a376dbf392 | [] | no_license | bonaert/torrent | 1efc3b8e9f177e581db66daf1e571208d8e94149 | 6860be576ca432b6c82d972a7f4c7a30457d1a95 | refs/heads/master | 2022-04-11T10:38:25.874391 | 2020-02-22T23:57:47 | 2020-02-22T23:57:47 | 86,988,018 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,449 | hpp | #ifndef TORRENT_HTTPTRACKER_HPP
#define TORRENT_HTTPTRACKER_HPP
#include <string>
#include <vector>
#include "Tracker.hpp"
#include "../BEncode.hpp"
class HTTPTracker : public Tracker {
private:
std::string announceUrl;
bool sendRequest(std::string url);
bool sendGetPeersRequest();
bool sendGetPee... | [
"harokb@gmail.com"
] | harokb@gmail.com |
c0f1f66e67b65f393ac04540c904fb34366506e1 | 49655d8700ba66e87c74da65de70b56221d1795f | /src/client/mapview.h | 5a56aa338aed3c4f7f8fb04ff9eaa07aeb273150 | [
"MIT"
] | permissive | totolol123/TheImaginedOTClient | d1d6e2270a6cda70c739a48c4bcb210087196dcc | 9fd31ce1af5603211c7fe3ce4e3ccb0ecaf3cda8 | refs/heads/master | 2020-07-14T15:23:44.600054 | 2014-04-18T22:38:53 | 2014-04-18T22:38:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,987 | h | /*
* Copyright (c) 2010-2013 OTClient <https://github.com/edubart/otclient>
*
* 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... | [
"patman57@gmail.com"
] | patman57@gmail.com |
3029dce824363ec5a580b13cbcecd1facb777c16 | 5097232bbb247f875628e5a00952e244584648d4 | /tests/testroles.cpp | 4cdc533c78c50dc44283385abf5d3315dda303d3 | [
"MIT"
] | permissive | Hopham641994/SortFilterProxyModel | 11ab6ade413a42abc19109a7537208b5457d92d0 | 0c1134b3aa27308764034158f79a106124d52c59 | refs/heads/master | 2021-04-09T09:51:37.029959 | 2020-04-20T10:52:49 | 2020-04-20T10:52:49 | 248,861,949 | 0 | 0 | MIT | 2020-03-20T22:13:46 | 2020-03-20T22:13:46 | null | UTF-8 | C++ | false | false | 885 | cpp | #include "testroles.h"
#include <QtQml>
QVariant StaticRole::value() const
{
return m_value;
}
void StaticRole::setValue(const QVariant& value)
{
if (m_value == value)
return;
m_value = value;
Q_EMIT valueChanged();
invalidate();
}
QVariant StaticRole::data(const QModelIndex& sourceIndex... | [
"grecko@grecko.fr"
] | grecko@grecko.fr |
faefb89fa6c9c22042c7a34ff72ed609f707fb57 | 651c35ef003ac54446af29c42417b564f460a60e | /gj_linux.cc | 88d360f5647ac85f4cbab5adbaaef30e68d24b6e | [] | no_license | m4tthartley/gjLib | 0291b08aeabe158c9b85ae9023ac387283653e90 | d2866eef323fcf34a93a969fe0c06a38ea335a51 | refs/heads/master | 2021-01-25T17:43:26.546707 | 2016-07-12T23:18:45 | 2016-07-12T23:18:45 | 60,809,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cc |
// Linux versions of the gjLib functions
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <glob.h>
#include <sys/mman.h>
// #include <unistd.h>
typedef int gjFile;
void *gjGetVirtualMemory (size_t size) {
void *result = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0);
return ... | [
"m4tthartley@gmail.com"
] | m4tthartley@gmail.com |
c3777cb32727d0cd932c09d525149ff911eb5fe4 | 0b5e1a89958350970acf464baa12a35480b5ad45 | /CS 161/Week 6/mainEntree.cpp | 9f66b7b1a3d971dfc28d86c27e4be18563cf8e08 | [] | no_license | mister-f/OSU | d9c0a242488b0a4c4a9edbfb75a4387b78092669 | b6c8779d0b83924f27d948df3c74a51918644c18 | refs/heads/master | 2020-03-09T05:31:32.236849 | 2018-04-08T08:18:03 | 2018-04-08T08:18:03 | 128,615,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <iostream>
#include "EntreeSampler.hpp"
using namespace std;
int main()
{
Entree ent1("di san xian", 200);
Entree ent2("roast salmon", 250);
Entree ent3;
Entree ent4("sour gummy worms", 300);
EntreeSampler sampler1(ent1, ent2, ent3, ent4);
sampler1.listEntrees();
cout << sampler1.totalCalories() << e... | [
"funkand@oregonstate.edu"
] | funkand@oregonstate.edu |
4dba4898fd1b9334711139d9e03a8d21c98bbfd8 | 556408909acd8b50079f787f5e20e33c54b27301 | /esVCAD/entities/block.h | 25bf803cc8d215c95cbe95b14bfa3cef8fa551d5 | [] | no_license | drink-crow/dxfviewer | a5eff8755fe7b311f5be42cd7fa2c17ae9e12819 | 5db6fc15b7cde546e68c2f5863b07db9a3e3995c | refs/heads/master | 2020-12-10T06:51:22.955134 | 2018-12-04T10:03:25 | 2018-12-04T10:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | h | #ifndef BLOCK_H
#define BLOCK_H
#include "point.h"
namespace Entities
{
class Block
{
public:
Block();
Block(const std::string&name,
const Point& insertPoint,
const Point&scalePoint,
double angle,
int cols,
int rows,
double colSp,
double rowS... | [
"598767908@qq.com"
] | 598767908@qq.com |
b409344d810fc7e9619ab5e6da9e09a95293459e | 3da815872b270b18b272259d062881c368735595 | /src/BrewKeeper.h | c71e94a3d7e8299fe510f54b3d450e6033a6a267 | [] | no_license | nicknotto/BrewPiLess | a65871d62525205a129356aab91dd179954262a4 | 21c94377d0e48c62ace910119a8e30139d2a20fc | refs/heads/master | 2021-01-19T16:36:41.353263 | 2017-08-20T19:48:43 | 2017-08-20T19:48:43 | 86,272,031 | 0 | 0 | null | 2017-07-11T00:17:38 | 2017-03-26T23:30:05 | C++ | UTF-8 | C++ | false | false | 2,907 | h | #ifndef BrewKeeper_H
#define BrewKeeper_H
#include <Arduino.h>
#include "espconfig.h"
#include "GravityTracker.h"
#if EnableGravitySchedule
typedef int16_t Gravity;
#define INVALID_GRAVITY -1
#define IsGravityValid(g) ((g)>0)
#define FloatToGravity(f) ((Gravity)((f) * 1000.0 +0.5))
#define GravityToFloat(g) (((float... | [
"vitotai@mail.com"
] | vitotai@mail.com |
f9dd7fe610ff2bb0e13c342022a182c77e2b2393 | 09b2c1fdc6677c91cfc4b4e8b4d06f308c0d6fc8 | /cc/puzzle_19_1/main.cc | 81c8398b14221ca7244badb69e1e9c51c55d9a65 | [
"MIT"
] | permissive | craig-chasseur/aoc2019 | a9fe165a4ca9fbb91f1a1383f9d3027389df1a61 | e2bed89deef4cabc37ff438dd7d26efe0187500b | refs/heads/master | 2020-09-24T15:28:15.275087 | 2019-12-25T06:29:43 | 2019-12-25T06:29:43 | 225,790,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cc | #include <cstdint>
#include <iostream>
#include <utility>
#include <vector>
#include "cc/util/check.h"
#include "cc/util/intcode.h"
namespace {
struct Coords {
std::int64_t x = 0;
std::int64_t y = 0;
};
bool InBeam(std::vector<std::int64_t> program, const Coords& coords) {
aoc2019::IntcodeMachine machine(std:... | [
"spoonboy42@gmail.com"
] | spoonboy42@gmail.com |
9aee43537d3988b09a4c82abaa9a15621e5ac9e4 | bce20339ea8f2a862e2357717fd41341d8d8a477 | /tests/boosting/none.cpp | 7e229595d16e963ded406f9b50315d4b1186d5f2 | [
"MIT"
] | permissive | pologrp/polo | 345f701d231426e22c8c6b15f64541c0bec31177 | da682618e98755738905fd19e55e5271af937661 | refs/heads/master | 2021-03-28T06:03:43.040922 | 2019-06-04T10:49:59 | 2019-06-04T10:49:59 | 123,282,035 | 8 | 0 | MIT | 2019-05-09T11:19:36 | 2018-02-28T12:29:07 | C++ | UTF-8 | C++ | false | false | 1,187 | cpp | #include <algorithm>
#include <cstddef>
#include <iterator>
#include <random>
#include <vector>
#include "gtest/gtest.h"
#include "polo/boosting/none.hpp"
class BoostingNone : public polo::boosting::none<double, int>,
public ::testing::Test {
protected:
BoostingNone()
: x(3), g(3), gnew(... | [
"aytekin@protonmail.com"
] | aytekin@protonmail.com |
5a8e3dbca30d39356fcfac8012650cc5e814af22 | 814fd0bea5bc063a4e34ebdd0a5597c9ff67532b | /content/renderer/devtools/v8_sampling_profiler_browsertest.cc | 9d9903cc5edf402f21d1ba6360c7598c597ad84d | [
"BSD-3-Clause"
] | permissive | rzr/chromium-crosswalk | 1b22208ff556d69c009ad292bc17dca3fe15c493 | d391344809adf7b4f39764ac0e15c378169b805f | refs/heads/master | 2021-01-21T09:11:07.316526 | 2015-02-16T11:52:21 | 2015-02-16T11:52:21 | 38,887,985 | 0 | 0 | NOASSERTION | 2019-08-07T21:59:20 | 2015-07-10T15:35:50 | C++ | UTF-8 | C++ | false | false | 953 | cc | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/debug/trace_event.h"
#include "content/renderer/devtools/v8_sampling_profiler.h"
#include "testing/gtest/include/gtest/gtest.h"
using ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
bbc180cb54c4e5a2c70ea5871a3fec2cb4f824ca | 722207989824a34279983aa8ecc143b34d0673d9 | /src/Widgets/ctkFittedTextBrowser.h | 32264aeffa3236f97a478fb60fb45c9954ef74e5 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | deepblueparticle/pyctk | cdd8e669f27f9b8816ad8cb3e4a8c5e95e0c33b4 | 4f2c8b9e917de8d518b47e5d4ccd63d9ee00a1c5 | refs/heads/master | 2020-03-27T20:46:11.519070 | 2015-09-22T13:59:50 | 2015-09-22T13:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | h | /*=========================================================================
Library: CTK
Copyright (c) Kitware Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.ap... | [
"jazzycamel@users.noreply.github.com"
] | jazzycamel@users.noreply.github.com |
7973e32b57594cc9c52c74e129dc183937d4e662 | 95b5ed0566e588e8d2f025d126b09d7531b201f3 | /main.cpp | 5d924956ab31a4ce1d4606fea6c79aa8692c9fe4 | [] | no_license | radiumWater256/storm-glass | dac39dc755fee854e8dee1258fb2aaa6a8f19b53 | 131171e374b02676d344d5d8564228903102a8f5 | refs/heads/master | 2020-04-27T07:57:42.959419 | 2019-04-27T15:56:26 | 2019-04-27T15:56:26 | 174,154,442 | 0 | 1 | null | 2019-04-27T15:56:27 | 2019-03-06T13:52:13 | C++ | UTF-8 | C++ | false | false | 15,410 | cpp | #include "invMan.h"
#define adminPassword "9527"
using namespace std;
item * inventory = new item [1000];
int mainMenu(string , bool);
int searchItem();
bool checkDateStr(string dateStr);
int addItem(string );
int removeItem(string );
int editItem(string);
const string currentDateTime(){ //Custom made time-date generat... | [
"47210320+radiumWater256@users.noreply.github.com"
] | 47210320+radiumWater256@users.noreply.github.com |
5c43a8fcf98d2c43f611392df6161b2e18038d6e | 7e1f0a28b57fd0bc5d2ab66b16bb72cd580f1b36 | /examples/neat/pole_balancing/double_pole/dpole.cpp | d64e8647393fe8d0963a120732ad3fe1f5431732 | [] | no_license | tyrvi/evo_layout | 7a400a8c0756c33dd18e0619a83aad0340339036 | 6ba423c3de2270135ec104bb2e5d3fb8cdc26ebe | refs/heads/master | 2020-04-10T14:54:13.569832 | 2019-04-08T06:44:13 | 2019-04-08T06:44:13 | 161,090,889 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,497 | cpp | /* dpole.cpp
*
* C -> python interface to solve Wieland's equations of motion for the
* double pole balancing problem using the 4th order Runge-Kutta method.
*
* A direct ripoff from Stanley's C++ code (with small changes) written
* by Richard Sutton, Charles Anderson, and Faustino Gomez.
*
* This code is... | [
"thais@minet.dk"
] | thais@minet.dk |
2c497b8de2b09a27eb41483c0f616dc91ddfb16a | 4b8296335e4fa1a38264fef02f430d3b57884cce | /base/message_loop/message_loop_current.h | 947c8deb81fce58b10bf62ef101f6604f66bf2df | [
"BSD-3-Clause"
] | permissive | coxchris502/chromium | 07ad6d930123bbf6e1754fe1820505f21d719fcd | f786352782a89d148a10d7bdd8ef3d0a86497926 | refs/heads/master | 2022-11-06T23:54:53.001812 | 2020-07-03T14:54:27 | 2020-07-03T14:54:27 | 276,935,925 | 1 | 0 | BSD-3-Clause | 2020-07-03T15:49:58 | 2020-07-03T15:49:57 | null | UTF-8 | C++ | false | false | 929 | h | // Copyright 2018 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 BASE_MESSAGE_LOOP_MESSAGE_LOOP_CURRENT_H_
#define BASE_MESSAGE_LOOP_MESSAGE_LOOP_CURRENT_H_
#include "base/task/current_thread.h"
#include "build... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ae5413df0a9bb261a5b8f830e909d925f6660123 | 0d77fc08a0501eb17a697c78ba32d305737f1559 | /Code/MedicosDelPaciente.h | 8c6e7ea48a70319a42ef94944128ba880fbfd41b | [] | no_license | Bernax512/Prog4 | f32bf32d29a604aef0e3033eee5cbdb2fc7c51ba | 0cde70f107c2cc32e7a57278e1e5e1747741cc05 | refs/heads/master | 2021-01-20T23:50:52.137256 | 2014-06-23T15:00:19 | 2014-06-23T15:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | #ifndef MEDICOSDELPACIENTE_H_
#define MEDICOSDELPACIENTE_H_
#include "Strategy.h"
#include "ManejadorSocios.h"
using namespace std;
class MedicosDelPaciente: public Strategy {
public:
MedicosDelPaciente();
virtual ~MedicosDelPaciente();
set<DataMedico*> algoritmoDeSeleccion();
};
#endif /* MEDICOSDELPACIENTE... | [
"p.martinezben@gmail.com"
] | p.martinezben@gmail.com |
6c1ab3d1919e061f8bda55124e46a38ec40b9d02 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/08_24917_50.cpp | 248330ba468217631cd55273fc86a59fa5c502b9 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,039 | cpp | #include<cstdio>
#include<cstdlib>
#include<map>
using namespace std;
class Train
{
public:
int src;
int start;
int end;
};
const int MAX = 1000;
Train trains[MAX];
int turnaroundTime;
class TrainPool
{
int count;
int time[MAX];
public:
void reset()
{
count = 0;
}
void ad... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
787c1f341fea5e9a59b252d1a7423fc673664fd8 | 566332bd52c55e471b1e2a9ff2f906c2ce46494f | /src/resources/GenericResource.cpp | e5c8b54d6d647b303efffb7e49c9be21fef2ee75 | [
"Apache-2.0"
] | permissive | deadbrainviv/crt | 383c88d6f18362dbfde0cd356555f4d6a3cb52ad | ff59c245ace4fcfc9e7eacad9a95b75fb38b105b | refs/heads/master | 2020-03-22T04:05:56.346145 | 2018-03-03T07:53:51 | 2018-03-03T07:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | //! \file
//!
//! GenericResource.cpp
//!
#include "GenericResource.h"
//
// Standard C++ Libary Includes
//
#include <sstream>
GenericResource::GenericResource( CrtSvc & _crtSvc, std::uint32_t _resourceId, bool _descriptor )
: crtSvc( _crtSvc ),
resourceId( _resourceId ),
descriptor( _descriptor )
{
}
... | [
"rick@sostheim.com"
] | rick@sostheim.com |
70aec8f29b72c5a78f34b4e38914ccea520b05ed | c4f5f433683860ee1a4b04b490fcbb4d4dfbcafd | /Codeforces/CF441D Valera and Swaps.cpp | 51ab040e5e956b2199bf5c12975434f13c721abb | [] | no_license | mohrechi/Cookie | 607290e4bb4aaaf60b2a4114c98fa8e38086f089 | d3686a04fe6d109cd4293f2f1c20fdfc7c9b2745 | refs/heads/master | 2020-08-30T10:33:05.321074 | 2017-05-26T01:28:20 | 2017-05-26T01:28:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MAXN = 3000 + 5;
int n, m;
int a[MAXN];
bool visit[MAXN];
struct Loop {
set<int> s;
bool operator <(const Loop &loop) const {
return *s.begin() < *loop.s.begin();
}
};
Loop getLoop(int p) {
Loop loop;
while (!visit[p]) {
visi... | [
"cyberzhg@gmail.com"
] | cyberzhg@gmail.com |
a8f769d531dfeba32cfaa6cd6d2b8a809c6b766a | 216dce839ba13869d8d6e23b3f55accf050beb9f | /Robot/Robot.ino | 208d6d7368ebb569e691907b0a7f699edb94594e | [] | no_license | navidadelpour/Microprocessor-Lab | c6ccbe7a64978ac8135339018294395036777375 | 9987a0c12375bf1ec9d9ed4684d250271af844b4 | refs/heads/master | 2020-09-06T12:52:56.295787 | 2020-01-08T17:40:28 | 2020-01-08T17:40:28 | 220,428,889 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | ino | // ============================================== SETTINGS /////////////////
const int THRESHOLD = 512;
const int SENSORS_COUNT = 5;
const int SENSOR_PINS[SENSORS_COUNT] = {A0, A1, A2, A3, A4};
const int ERRORS[4] = {0, 1, 2, 3};
const int MAX_SPEED = 255;
const int NORMAL_SPEED = 205;
const int MIN_SPEED = 0;
const ... | [
"navidadelpour@gmail.com"
] | navidadelpour@gmail.com |
49aa75e66f9813a62b579525f8327effafeb8482 | 210f014d443b5cd3193033f1a26e8d638533bf01 | /5.5.1/android_arm64-v8a/include/Qt3DRenderer/sphere.h | 8d01b477182861bdca8db72c568c580d562e95b1 | [] | no_license | LightZam/Qt-Library | 427106c56e6570846a24a5f6049e4af8468d8590 | c006b881904ccce88c533fdcd6ca16989e4db7e6 | refs/heads/master | 2021-09-06T20:59:56.066435 | 2018-02-11T09:43:51 | 2018-02-11T09:48:35 | 107,560,674 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,178 | h | /****************************************************************************
**
** Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees ho... | [
"love8879201@gmail.com"
] | love8879201@gmail.com |
d016f3abca84a3f155e716906b26b17e6c8cb879 | bb10dba077acb492b13e6274cfc2c645790b68c7 | /src/Game/Game/Map/BattleEffect/BattleEffectP008_1.cpp | 8e6e3f4446a3d96228d0dfd44640275d7b269c2a | [] | no_license | pocarich/RPG | 177225228f40459e56a57e151ec2fc4ee4257791 | 24c437d9e6b158d3d6e3a16a6ad462840d1ee60d | refs/heads/main | 2023-08-31T09:59:52.318258 | 2021-10-31T19:11:45 | 2021-10-31T19:11:45 | 423,229,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,567 | cpp | #include"../header/BattleEffectP008_1.h"
#include"../header/PlayerMap.h"
#include"../header/EnemyMap.h"
#include"../header/BattleEffectP008_2.h"
#include"../header/ObjectMap.h"
#include"../header/BossMap.h"
const double BattleEffectP008_1::speed = 8.0;
const int BattleEffectP008_1::existTime = 40;
BattleEffectP008_1:... | [
"pocarich@gmail.com"
] | pocarich@gmail.com |
736c4785c9256c07d1c0a6d5a07c03d9c028ef79 | 79487524fd7a6fbbe32e3e57b8aa5f150668ccfc | /Source/vtkDICOMFile.cxx | 7ac3e715d385afaff34e502c409621c973838f2c | [] | no_license | lorensen/vtk-dicom | 067be771c2047c062123b2f2ad6848be19e32106 | 8664858b456607543e611c1e3ff7d3558e063134 | refs/heads/master | 2021-01-17T16:07:21.506708 | 2015-07-07T23:29:01 | 2015-07-07T23:29:01 | 38,824,130 | 1 | 0 | null | 2015-07-09T14:08:04 | 2015-07-09T14:08:04 | null | UTF-8 | C++ | false | false | 10,124 | cxx | /*=========================================================================
Program: DICOM for VTK
Copyright (c) 2012-2015 David Gobbi
All rights reserved.
See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied ... | [
"david.gobbi@gmail.com"
] | david.gobbi@gmail.com |
23b6a75159807bc81b03736910675f8a66e69aed | 7ed441ee237f2738a79bfb5b705e3e7dbfda4ec9 | /client/UserInterface/PythonNetworkStreamPhaseLogin.cpp | 0449835fcad40db68c644b83448e2b981d6162e3 | [] | no_license | ASIKOO/Metin-Refresh-Client-Src | 82cab756bca20b7703b0478e29798e6c8ea3b5f1 | c9d825b71037197696050cde10c8292dda07d9a9 | refs/heads/master | 2021-09-22T01:17:04.630661 | 2018-09-04T13:55:19 | 2018-09-04T13:55:19 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 11,000 | cpp | #include "StdAfx.h"
#include "PythonNetworkStream.h"
#include "Packet.h"
#include "Test.h"
#include "AccountConnector.h"
#include "Hackshield.h"
#include "WiseLogicXTrap.h"
// Login ---------------------------------------------------------------------------
void CPythonNetworkStream::LoginPhase()
{
TPacketHeader hea... | [
"42899943+MetinRefresh@users.noreply.github.com"
] | 42899943+MetinRefresh@users.noreply.github.com |
c3e24d4760f169ffa9a1f0bf94e315cbdce2c422 | f4b38a2eb5d262a87093252cc0958076ea8857db | /DataStructurePractice/Next.cpp | 0e1f6a5b31de4456b325d301429469f5234dc3dd | [] | no_license | zhxhxlzt/DataStructurePractice | 0383fa6216bdc77d2c751f72c8e4544f249aa963 | 276115d4ab92034663aee386b6586e1f930675db | refs/heads/master | 2020-03-30T12:20:13.933283 | 2018-11-01T13:41:21 | 2018-11-01T13:41:21 | 151,219,716 | 0 | 0 | null | 2018-11-01T13:41:22 | 2018-10-02T07:54:47 | null | UTF-8 | C++ | false | false | 446 | cpp | #include<string.h>
#include<iostream>
using namespace std;
int * buildNext( const char * P )
{
size_t m = strlen( P ), j = 0;
int * N = new int[m];
int t = N[0] = -1;
while( j < m - 1 )
{
if( 0 > t || P[j] == P[t] )
N[++j] = ++t;
else
t = N[t];
}
return N;
}
int main()
{
const char * P = "abcnabd... | [
"2284174996@qq.com"
] | 2284174996@qq.com |
be79ddf98251d8c6bba8d51170fa2c06e0db8776 | 2d96f94e59a9e26c6b3e438151765da826f16247 | /include/eathread/internal/eathread_atomic_standalone_gcc.h | 6e1e2e6f554d6c96a13abe4a63e7a10e7b0cbddf | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | questor/eathread | 8e52e830bce1234bee06f437a4e84b4fa0b761b2 | 5767f201c78b41002fee155c4e85c13d9d1adfe4 | refs/heads/master | 2022-12-29T20:19:00.420481 | 2020-10-16T12:15:43 | 2020-10-16T12:15:43 | 304,617,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,200 | h | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
///////////////////////////////////////////////////////////////////////////////
#if defined(EASTL_PRAGMA_ONCE_SUPPORTED)
#pragma once // Some compilers (e.g. VC++) benefit signifi... | [
"questor@inter"
] | questor@inter |
cc26703913b140b51718f3d409680f007f307906 | e272a9c0b27f445a21c007723b821a262a43531a | /SimplePhotoViewer/Win2D/winrt/impl/Microsoft.Graphics.Canvas.Geometry.2.h | 0a420389dfb3b44a0dc4fa05de760a394611e617 | [
"MIT"
] | permissive | Hearwindsaying/SimplePhotoViewer | 777facb3b6c18e0747da2f70b02fff6c481a2168 | 12d9cd383d379ebce6696263af58c93a2769073b | refs/heads/master | 2021-11-05T17:41:29.288860 | 2021-10-31T11:04:36 | 2021-10-31T11:04:36 | 176,699,093 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,610 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v1.0.180821.2
#pragma once
#include "Microsoft.Graphics.Canvas.1.h"
#include "Microsoft.Graphics.Canvas.Text.1.h"
#include "winrt/impl/Windows.UI.Input.Inking.1.h"
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Graphics.... | [
"hearwindsaying@gmail.com"
] | hearwindsaying@gmail.com |
e7cd7ede4f8cd22123702d19a653545bf4635d43 | 71ffbf8cec50696a720fcabcd8b0d9df4fffd4a1 | /masstree/query_masstree.cc | 26f0211ab8a2f64a22ba5219202172b75a28f007 | [
"MIT",
"W3C",
"LicenseRef-scancode-click-license"
] | permissive | huanchenz/masstree_lib_test | 84e523225c85ab0e2a7932c11ec451b126c84d1f | 7bd441cf54c9252c45770624abef810e7e9065f6 | refs/heads/master | 2020-04-06T06:40:57.693354 | 2014-08-13T16:04:36 | 2014-08-13T16:04:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,001 | cc | /* Masstree
* Eddie Kohler, Yandong Mao, Robert Morris
* Copyright (c) 2012-2014 President and Fellows of Harvard College
* Copyright (c) 2012-2014 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation... | [
"huanchenzhang.cs@gmail.com"
] | huanchenzhang.cs@gmail.com |
b417b13550213e044344ca7617dfe7ff0cfb89fc | bda9007e163ef35ea8d736660adfb540c31c2007 | /src/TelloDrone.h | 0c3e53593a08c9b42ce731c4ab1711f529071455 | [] | no_license | ThanosKand/ESP32-TelloDrone | 65953ca01242edc00174a17f7def427bda64da76 | 92791fb62d35898d91d1c706e971e34d20438ca0 | refs/heads/master | 2020-08-18T17:02:43.830228 | 2019-09-10T13:26:34 | 2019-09-10T13:26:34 | 215,813,262 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | #include <WiFi.h>
#include <WiFiUdp.h>
#include <string.h>
using namespace std;
class TelloDrone
{
public:
boolean connected;
TelloDrone();
string sendMessage(string message);
void printWifiStatus();
void connect(const char* ssid, const char* password);
void sendCo... | [
"ev@evang.dk"
] | ev@evang.dk |
92b00fe9540587f631c8cad45a67d004e44c91fb | afec113dcac49a1f341d42be821973755051e103 | /sedata/CDataFieldList.h | da7028079971ad11b7e3da0798c508b3e15c65c3 | [] | no_license | radtek/earnsmart | e080bafa824bf2728fbf8603d46c11430d77cfb6 | df3983366a993d1e5ba0167d2483c3eb799b25be | refs/heads/master | 2020-06-22T06:14:04.646933 | 2019-02-15T13:32:59 | 2019-02-15T13:32:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | h | /*
* File: CDataFieldList.h
* Author: santony
*
* Created on December 4, 2012, 7:16 AM
*/
#ifndef CDATAFIELDLIST_H
#define CDATAFIELDLIST_H
#include <map>
#include <tuple>
#include <string>
#include "../seglobal/CObjectRoot.h"
#include "../seglobaltypedefs.h"
using namespace std;
namespace se
{
namespac... | [
"sajiantony@hotmail.com"
] | sajiantony@hotmail.com |
00e56fc431ea371ad7b045d127b9ebb89bf8c097 | 2adefd33aecc07419d8d7f970a805f441bd1171d | /20160429/for_each.cc | e6e82c20615603ae28a9146cf85511fc52d5281d | [] | no_license | lcybelieveme/26042016 | c077a55007d7fdd00d5df97f7bbb297642fb4661 | 8db21b58336ea285eb0d7b4a556f9f18dc549747 | refs/heads/master | 2021-01-01T05:19:47.718107 | 2016-05-01T03:12:38 | 2016-05-01T03:12:38 | 57,113,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cc | ///
///@date 2016-04-29 22:33:52
///
#include <iostream>
#include <map>
#include <utility>
#include <string>
#include <algorithm>
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::map;
using std::pair;
void add(pair<const string,int> &p)
{
p.second+=2;
}
int main(void)
{
map<s... | [
"857929453@qq.com"
] | 857929453@qq.com |
06504f1f9a49fef6e4795712784cf0f63c4c1be3 | 4dda7dd52854561a27832f8006dd847a7347aa68 | /simulation/robotModel.h | d171e8d85f9cebd0945b79a30996feaa80fb5078 | [
"Apache-2.0"
] | permissive | Evolutionary-Intelligence/Tensoft-G21 | dce58317468e54610f7a86fa5b662dba43011b6c | 7a83c5dabc12906c0a6bd1da0a28a131e9d5e144 | refs/heads/main | 2023-04-22T10:35:02.390381 | 2021-05-17T14:12:18 | 2021-05-17T14:12:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,521 | h | /*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* you may not use t... | [
"enrico.zardini@studenti.unitn.it"
] | enrico.zardini@studenti.unitn.it |
b005e83e284d88a77ddd4194176739dc88d08f6d | b66a0c1eb7ecb2d77512610f751be9c7cfbef931 | /Strings/reverse_the_string.cpp | ab78efb85c6d8d1b9a51aacf6f3b60bc9b457c9b | [
"MIT"
] | permissive | zerocod3r/InterviewQuestions | f1c188c009b7599fde068e1cc8eecdf0b2c63137 | 92dc9d6b1c71ebe4318f1e206e2598a657ee0ad3 | refs/heads/master | 2023-09-01T17:47:58.928433 | 2023-08-30T07:17:04 | 2023-08-30T07:17:04 | 99,483,334 | 1 | 2 | MIT | 2019-04-19T07:35:06 | 2017-08-06T11:55:40 | C++ | UTF-8 | C++ | false | false | 1,167 | cpp | /*Given a string A.
Return the string A after reversing the string word by word.
NOTE:
A sequence of non-space characters constitutes a word.
Your reversed string should not contain leading or trailing spaces, even if it is present in the input string.
If there are multiple spaces between words, reduce t... | [
"sarthakrohilla03@gmail.com"
] | sarthakrohilla03@gmail.com |
b56888141cc1a8f2aca356811d13485b09022802 | 3f8b288711bb5adc2394171507f54c62dc60c601 | /atcoder/abc/145c.cpp | 9cb68927de647796639d8d9ab070a0aa67f39aa8 | [] | no_license | pontsuyo/procon | 65df6356f0ea1cfb619898d9e8cc6e326c0586e7 | 804aaeb526946172a8f41e0619712f5989b6b613 | refs/heads/master | 2021-06-15T15:13:04.441761 | 2021-03-20T05:26:54 | 2021-03-20T05:26:54 | 175,234,672 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define chmin(x, y) x = min(x, y)
#define chmax(x, y) x = max(x, y)
#define MOD (int) (1e9+7)
#define INF (int) 2e9
#define LLINF (ll) 2e18
int main(){
int n;
cin >... | [
"tsuyopon9221@gmail.com"
] | tsuyopon9221@gmail.com |
0aeac30a706910455b263825047117827cae2303 | fe19410e2c7c1ebb72c3b1b2812dec728e016b41 | /owlqn-mpi/include/worker.h | f19d89c36d3175acf2bf4d7d2954fbd65ba4608b | [] | no_license | upton1919/owlqn-mpi | 897a18d59a49321dfed3541b23f455a89a63f643 | 7df8b44789083205e0caf4217ab711acd6b5a42a | refs/heads/master | 2020-07-23T05:47:53.992677 | 2017-06-16T06:57:00 | 2017-06-16T06:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | h | #ifndef WORKER_H_
#define WORKER_H_
#include <iostream>
#include <string>
#include <vector>
#include <math.h>
#include "server.h"
#include "utility.h"
#include "mpi.h"
namespace Optimizer
{
class Worker{
friend class server_run_Test;
public:
Worker(int iters, std::string file, int feat_nums, MPI_Comm comm)
... | [
"guochao01@internal.baidu.com"
] | guochao01@internal.baidu.com |
f501cf4409f8f74160b3860415b75eda651827a7 | db46cf6a36cb0d97389bdc8e93c5b7a72799772e | /HardwareTimer.h | 50cf068b8bf0f4a78e88e2306f426a4044edd50a | [] | no_license | tinytiny123/autolabAlu | 67b5d3cbda2266fe7a4ed562af524c988adfa196 | f37ad2b0eb95555f7ad679dacf42f21311f1a834 | refs/heads/master | 2022-11-06T15:26:28.390494 | 2020-06-26T09:32:51 | 2020-06-26T09:32:51 | 273,466,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | //
// Created by jonas on 27.05.20.
//
#include <stdint.h>
#ifndef AUTOSYSLAB_CALCULATOR_HARDWARETIMER_H
#define AUTOSYSLAB_CALCULATOR_HARDWARETIMER_H
class HardwareTimer {
public:
static volatile uint8_t newCycle;
// void ISR(TIMER0_COMP_VECT);
/**
* frequency set-up as follows:
* base Timer... | [
"florian4grunbach@hotmail.de"
] | florian4grunbach@hotmail.de |
f804484f2baac716eca717a58189f6eb2231f315 | 82c8e98f00999f3fca2759a7595ac54b833f777b | /HW6/Parse.cpp | 1e7901847fa19d5ed91e7467d1d45a45a6e91791 | [] | no_license | devrimakinci/CSE241-HOMEWORKS | 636245023fa51b198cc42bbecb5829e4eee4608b | 0520b8f2d87155491b4507dde22e7f71dcce58a0 | refs/heads/master | 2021-07-15T16:57:36.336657 | 2017-10-21T10:31:55 | 2017-10-21T10:31:55 | 107,770,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,341 | cpp | /*
* Dosya Ismi: Parse.cpp
* Yazan: Devrim AKINCI
* Numarasi: 141044052
* Tarih: 26 Kasim 2016
*/
#include "Parse.h"
void Parse::removeFirstSpaces(string &str){
int numberOfSpaces=0; //Bosluk sayisi
//Bosluk ve tab karakterinin sayisinin bulunmasi
while (str[numberOfSpaces] == ' ' || str[numberOfSpa... | [
"devrimakinci103@gmail.com"
] | devrimakinci103@gmail.com |
f52619771e0d4945b7eb7499673dbaa56ce4f987 | 8f7a2efc606e5cc7cb15c2b986f694e128b071af | /teclado/teclado.ino | 137712ad96642bf46d6e1c53ac24b84921bb0885 | [] | no_license | mateollano1/ArduinoProyects | 154af82cc832c5dba89186b30067b0e1eac513d4 | f8e6530f739bb41cbfe63698ae9b57d6f5b8cd7b | refs/heads/master | 2020-09-28T09:19:14.118975 | 2019-12-08T23:16:22 | 2019-12-08T23:16:22 | 226,745,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | ino | //Librerias necesarias
#include<Keypad.h>
#include<EEPROM.h>
//Declaración de variables y constantes
int ledPresion = A1;
int ledClave = A0;
int buzzer = A2;
char tecla;
bool cambio = false;
char cambioClave[4] = { '*', '9', '9', '#' };
char claveDigitada[4];
int contadorDigitos = 0;
char claveGuardada[4];
bool camb... | [
"mateo.llano1@gmail.com"
] | mateo.llano1@gmail.com |
ab0ab5e76fa0de164db28d589a7ba588fa559075 | 41498afc0ff63320ed321a8d0601313c162d92fd | /MouseMover/MouseMover.ino | 9034b406882647dff7399bdaa9e37314dae1520a | [] | no_license | KobiTashbini/Eric | 0a145d93db92174ee3930cd3af582d2e2eccab66 | 20bb56156f4101337c7c7754ed3772ce23ef1e9f | refs/heads/master | 2022-12-26T13:47:43.937295 | 2020-10-03T11:12:18 | 2020-10-03T11:12:18 | 200,721,626 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,745 | ino | #include <AbsMouse.h>
enum ShotState{
oneShot,
mulShot,
emulatorEventsHooker
};
ShotState shotState = emulatorEventsHooker;
int data;
int last_analogX = 0;
int last_analogY = 0;
unsigned long currentMillis = millis();
int buttonPin = 13;
int buttonPin3 = 3;
int buttonPin4 = 4;
int buttonPin2 = 2;
//in... | [
"kobits6@gmail.com"
] | kobits6@gmail.com |
00b3ad642d9c67fba2e757cebd736454db11d145 | ff30fec1eae2ae49cfe46ef4d240ff25d7211d25 | /Contact/person.h | f1f9f8d1cc0f1499f9c715e93fc67158a6912812 | [] | no_license | zhuxiang555111/c-courese-design | d2a4104fca88493076e9518977e6a453de3d52d5 | cd5bacc1e9206aa148243f917014f48600263233 | refs/heads/master | 2021-01-20T01:57:11.789222 | 2017-05-16T14:04:19 | 2017-05-16T14:04:19 | 89,350,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
#include<iostream>
#include <string>
using namespace std;
class person
{
public:
string name;
string sex;
string phoneNumber;
string address;
string postCode;
string email;
string qqNumber;
string relationType;
};
| [
"zhuxiang555111@hotmail.com"
] | zhuxiang555111@hotmail.com |
ab66644b40696a129a1ab0694878d05a1a782b22 | 80b49b50194cadf0a7a18cc16fa138f89cb083fc | /kernel/init.cpp | e71381184bd37d64304527ba9389e826a37825ab | [] | no_license | sm5ve/OS | 03078da366b090eca2137ea3e3b28e0b5126c8ce | 967b2022e5a6319e695114ab5fa959499576a852 | refs/heads/master | 2021-01-01T01:14:40.964142 | 2020-08-04T22:11:05 | 2020-08-04T22:11:05 | 239,115,488 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,632 | cpp | #include <Scheduler.h>
#include <acpi/tables.h>
#include <arch/i386/proc.h>
#include <arch/i386/smp.h>
#include <assert.h>
#include <debug.h>
#include <devices/SerialDevice.h>
#include <devices/ahci/ahci.h>
#include <devices/apic.h>
#include <devices/pci.h>
#include <devices/pcie.h>
#include <devices/pit.h>
#include <d... | [
"sm5ve@virginia.edu"
] | sm5ve@virginia.edu |
075e16139a57604f2b3946b8aa24e19bda7052be | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/235/431/CWE190_Integer_Overflow__int64_t_fscanf_square_43.cpp | 9e1f61b581b6ad2779cc53ad8bf67027d3b5e694 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,117 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int64_t_fscanf_square_43.cpp
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-43.tmpl.cpp
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: fscanf Read data from the console using fscanf()
* GoodS... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
c61b7dd7e7fb474d2d9040ae42c3f9f8fe17af39 | 1be913dcc06fed297346e736f836dcbf8a33022d | /managesystem.cpp | 2dd71e3e86912e619eac424fcf9ef28f1c57781b | [] | no_license | 2063436123/CSAPP- | 19129a02c6cd1393e8afa3006d416c0902b45202 | 6326a6f10576847fb3aa2891d2fc5c6da6fd246b | refs/heads/master | 2022-11-11T02:11:20.423720 | 2020-06-29T13:01:50 | 2020-06-29T13:01:50 | 275,697,562 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,820 | cpp | #include "managesystem.h"
int main() {
StuManSystem system;
system.start();
return 0;
}
// 构造对象时设置存放数据的文件名
StuManSystem::StuManSystem() {
FileName = "data.txt";
}
void StuManSystem::loadData() {
fstream fin(FileName, ios::in);
if (fin.is_open()) {
stuData data;
while (fin.pee... | [
"2063436123@qq.com"
] | 2063436123@qq.com |
6344581c871e84bcd5abf416fdf7d2d22656ea5b | 969435924f8285d397c06340c5382eb313895e71 | /src/osg/DisplaySettings.cpp | 89a8ec192d4bfe78b2c71a76de65f7072395e512 | [] | no_license | whztt07/osg-specialWindows | f6f4bc0bca39501055b33987c5a9361332882cde | ea637645ec3bd37ec840de123a36a0309eceb442 | refs/heads/master | 2021-01-18T05:49:57.268566 | 2015-02-26T03:50:47 | 2015-02-26T03:50:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,772 | cpp | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this... | [
"bfurtaw@csc.com"
] | bfurtaw@csc.com |
ef717ca61bba9f28f19415b04a41fe286e78a9fc | 0c384a65fb670fbc0a2dde7d33054cb18429634e | /SocketAnnotator/source/CAnnotation.h | b79ba734341dbbbaa54aca6e77c07f0f8341c018 | [] | no_license | DURAARK/elecdetect | c204347a24ecb025a3f712d5f31ed845d0385516 | fb711de94893905e1e26be65924600ff4b188895 | refs/heads/master | 2016-09-03T07:09:09.205956 | 2015-04-24T13:00:23 | 2015-04-24T13:00:23 | 34,518,807 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | h | /*
* CAnnotation.h
*
* Created on: Jun 13, 2014
* Author: test
*/
#ifndef CANNOTATION_H_
#define CANNOTATION_H_
#include <string>
#include <vector>
#include <iomanip>
#include <sstream>
#include <opencv2/opencv.hpp>
#include "tinyxml2.h"
#include "Utils.h"
#define SMP_FULL_SIZE_MM ... | [
"robert.viehauser@student.tugraz.at"
] | robert.viehauser@student.tugraz.at |
8b89a878edb775063674caea6507ec53f8f3c8bf | 90a50773ad9d10f586aa92a7be7e8dc88d392a15 | /atcoder/abc138/F/main.cpp | bbbb08173307bfc2084114c6c5a8a98e3cdea3d2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yukirin/coder | e0eebc55886fd4a4a62bab80ae6bd980bb0e8409 | 3a04e9d19011b126bf4b3b0e6d089e6746fb58d5 | refs/heads/master | 2022-09-27T05:06:34.144714 | 2022-09-19T14:10:37 | 2022-09-19T14:10:37 | 86,316,125 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,252 | cpp | #include <bits/stdc++.h>
#ifdef _DEBUG
#define debug(x) cerr << "line: " << __LINE__ << ", func: " << __func__ << " -> " << #x << " = " << x << endl
#define INFILE freopen("input.txt", "r", stdin)
#else
#define debug(x)
#define INFILE
#endif
#define ALL(s) begin(s), end(s)
#define RALL(s) rbegin(s), rend(s)
#define ... | [
"standupdown@gmail.com"
] | standupdown@gmail.com |
2a95836d74d1b91923e1d73656d8905cca400cfc | 06fd941971c623ea194a45b1ad457ca4ee7da3b7 | /src/rrt.cpp | bd90e3c50cc24dcdc28de3e3ca46be15ec3e635f | [] | no_license | wenzhong1/path_planning | eda4d112962c01be0ec6d23d41659431daffdfbc | 270463b22a12d2497d96360c455c055b65639150 | refs/heads/master | 2020-09-08T13:16:57.437403 | 2019-08-20T15:40:51 | 2019-08-20T15:40:51 | 221,144,679 | 2 | 0 | null | 2019-11-12T06:19:33 | 2019-11-12T06:19:33 | null | UTF-8 | C++ | false | false | 6,462 | cpp | /**
* @file rrt.cpp
* @author vss2sn
* @brief Contains the RRT class
*/
#include "rrt.hpp"
Node RRT::FindNearestPoint(Node& new_node){
Node nearest_node(-1,-1,-1,-1,-1,-1);
std::vector<Node>::iterator it_v;
std::vector<Node>::iterator it_v_store;
//use just distance not total cost
double dist = (double)(n*n... | [
"28676655+vss2sn@users.noreply.github.com"
] | 28676655+vss2sn@users.noreply.github.com |
3f629692f17f58b8126604c22bd49b862f8f508d | 767419ca9e6a899d84db512e165c07c5842b6b27 | /aurobotservers/trunk/plugin/auavoid/uresavoid.h | f8b9bfde533a4556525aee852ee614a213fd708d | [] | no_license | savnik/LaserNavigation | 3bf7a95519456a96b34488cd821d4da4bee3ceed | 614fce06425c79e1d7e783aad4bbc97479798a7c | refs/heads/master | 2021-01-16T20:55:33.441230 | 2014-06-26T21:55:19 | 2014-06-26T21:55:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,702 | h | /***************************************************************************
* Copyright (C) 2006 by DTU (Christian Andersen) *
* jca@elektro.dtu.dk *
* *
* This pro... | [
"ex25@localhost.(none)"
] | ex25@localhost.(none) |
8cfd6480a925321fbf6f53c9ea78cfa6378d2beb | 4f33e8501ce0ad3c3ff7bb831a43680dbf560a41 | /hackerrank/project_euler/018.cpp | 09a3c4598dce4b3a43248b4241b2e446161cf252 | [] | no_license | vpatel95/online_programming | 5d8ee1baac81a1c0f80743c22b949823b181705c | 4d1bf26575e0715988828d84b9db39dc5cf31326 | refs/heads/master | 2022-11-21T03:34:26.391464 | 2020-07-15T01:39:41 | 2020-07-15T01:39:41 | 273,396,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | // Project Euler #18 - https://www.hackerrank.com/contests/projecteuler/challenges/euler018/problem
#include <bits/stdc++.h>
using namespace std;
int solve(int n) {
int i, j;
int a[n][n], dp[n][n];
for (i = 0; i < n; i++) {
for (j = 0; j <= i; j++) {
cin >> a[i][j];
}
}
... | [
"vedmpatel@gmail.com"
] | vedmpatel@gmail.com |
6e7b8ad9c19e45978fa4382c2ed082baee4ed1d3 | 4faa288f6d1fb100ee4e455c79bee74bf7daa5c2 | /grow-unit-control/module-firmwares/firmware-ph-atlas-scientific-ezo/src/DeviceEzoPh.h | e9d2b9db09d15d71d0d8196cabfdf3d57a4f695c | [] | no_license | Nextfood/grow-system | a4e99bb0395128727e57c23158f14f9c256344c7 | df8660342acd09cff99aebc05872bc03c9e18f98 | refs/heads/master | 2021-01-18T09:55:51.433085 | 2017-08-15T09:02:25 | 2017-08-15T09:02:25 | 100,359,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,312 | h | #ifndef _DeviceEzoPh_H_
#define _DeviceEzoPh_H_
#include <SPI.h>
#include <math.h>
#include "Arduino.h"
#include <SoftwareSerial.h>
#include "Device.h"
#include "SetupEzoPh.h"
#include "DataEzoPh.h"
#include "InfoEzoPh.h"
#include "ConfigureEzoPh.h"
#define DEVICE_RCV_BUFFER_SIZE 41
class DeviceEzoPh : public Device... | [
"hl@nextfood.co"
] | hl@nextfood.co |
eccfd241e2f4023d707feb7f47a021b292a8d544 | 0e9394230899fd0df0c891a83131883f4451bcb9 | /include/boost/simd/meta/as_logical.hpp | d1302c4f76b0992b664d236674300d0a51ee9dfd | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,909 | hpp | //==================================================================================================
/*!
@file
Defines the as_logical meta-function
@copyright 2012 - 2015 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LI... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
b60bb519cbe3240eeff7a49e3adae8c84843bbd6 | 432f7de15055ea14bb50e41f15cd7734a990259c | /sources/migrate-5.0.3a/haru/PdfExceptions.cc | b317e6796f8c673e97f1e04d5abf42aa527ef6bb | [
"MIT",
"Zlib"
] | permissive | pbeerli/fractional-coalescent-material | f7d6a0b1b8db1a4a9c157a4566a9465103ca2a6a | d3487fb0869f6aa2e712cef980406229fd761885 | refs/heads/master | 2020-04-04T17:10:07.422471 | 2019-03-01T13:16:41 | 2019-03-01T13:16:41 | 156,109,793 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cc | /*
* << H a r u --free pdf library >> -- PdfStreams.cpp
*
* Copyright (c) 1999-2003 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notic... | [
"beerli@me.com"
] | beerli@me.com |
486e1e94af608ff217e07188d4a634855f179c04 | 808b3a49735d93a33802b86e122df29ffb61209e | /programmers/키패드 누르기.c++ | f0f2eb9f4920fb7d1e5a2b91d882badcb0525ecc | [] | no_license | KingJoo/programmers | 0deb1a9c5c615d0583f8142cd395d33186c3c255 | e51b2dadebdc75d10b07ea567775784e2ffa3cb8 | refs/heads/master | 2023-08-12T03:40:43.243599 | 2021-09-28T11:20:25 | 2021-09-28T11:20:25 | 410,730,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | #include <string>
#include <vector>
#include <cstdlib>
using namespace std;
typedef struct{int y,x;}P;
P pad[]={{4,2},{1,1},{1,2},{1,3},{2,1},{2,2},{2,3},{3,1},{3,2},{3,3}},l={4,1},r={4,3};
string answer = "";
inline void select(int n,char c){
if(c=='l'){answer+="L";l=pad[n];}
else{answer+="R";r=pad[n];}
... | [
"jkangju@gmail.com"
] | jkangju@gmail.com | |
cb860eb5f9625e556efb7a539228c6d6b6f7e11b | fb6b653d2f1676b40ab75443edc2a3187cf00606 | /Chapter15/exercises/15.12/ex_1512.cpp | 9a911b9863afe2171bb6bb96c6dde6fe62243ab3 | [] | no_license | wenjing219/Cpp-How-To-Program-9E | 4cd923de658a90f3d3bfd0e4c0b3e8505d3a8472 | 8a6e2d1bc84e94fc598e258b9b151aa40895b21e | refs/heads/master | 2021-01-22T22:16:24.824817 | 2017-03-14T22:14:40 | 2017-03-14T22:14:40 | 85,525,193 | 2 | 0 | null | 2017-03-20T02:04:41 | 2017-03-20T02:04:41 | null | UTF-8 | C++ | false | false | 984 | cpp | /*
* =====================================================================================
*
* Filename: ex_1512.cpp
*
* Description: Exercise 15.12 - Converting Farenheit to Celsuis
*
* Version: 1.0
* Created: 13/10/16 17:58:23
* Revision: none
* Compiler: g++
*
* ... | [
"siidney.watson.work@gmail.com"
] | siidney.watson.work@gmail.com |
7e25b5815d30b58515dded844a6485061028fce6 | 7b4bac7cd798cfbf3a8c018c01a6ad60a1b34c25 | /src/backend/networking/rpc_utils.h | 5e9c71d580415d45e34c04a58eca97e6d6882060 | [
"Apache-2.0"
] | permissive | larryxiao/peloton | 0698b3394aa16cc7befd896220831a87e8ea3995 | 9a02fcacae6f5c5c9a7966cddf1c9e275c9b67c9 | refs/heads/memcached | 2020-04-10T13:28:32.674686 | 2016-05-11T23:09:02 | 2016-05-11T23:09:02 | 51,320,148 | 4 | 1 | null | 2016-05-11T16:47:37 | 2016-02-08T19:14:33 | C++ | UTF-8 | C++ | false | false | 1,177 | h | //===----------------------------------------------------------------------===//
//
// PelotonDB
//
// rpc_utils.h
//
// Identification: /peloton/src/backend/networking/rpc_utils.h
//
// Copyright (c) 2016, Carnegie Mellon University Database Group
//
//===---------------------------------------... | [
"tieyingz@cs.cmu.edu"
] | tieyingz@cs.cmu.edu |
03880db7b5a4d4830fb63b69e670fae11f12f82f | 899e293884d1ed1896414d46e3b46a1a9bfdc490 | /ACM/Codes/Vjudge/20150718/E.cpp | 2cf1630364318c883804ac3c0e080fc87063b103 | [] | no_license | py100/University | d936dd071cca6c7db83551f15a952ffce2f4764c | 45906ae95c22597b834aaf153730196541b45e06 | refs/heads/master | 2021-06-09T05:49:23.656824 | 2016-10-27T08:22:52 | 2016-10-27T08:22:52 | 53,556,979 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include<bits/stdc++.h>
using namespace std;
int a[100020][32];
int topbit[32] = {0};
int len[100020];
int tobit(int n, int x){
int i = 0;
while(x > 0){
a[n][i++] = x % 2;
x /= 2;
}
return i;
}
int main(){
int n;
scanf("%d", &n);
minlen =... | [
"py100@live.cn"
] | py100@live.cn |
c3c689a9a3611d87cc32e357307702709434efa5 | 6dfdb80e485bf74bf4f62080e801c80cbc3e9a99 | /boostTest/boostIntger/static_log2_test.cpp | 5b0a745d22cde7b1b127a5fba6ef4b7094e5c147 | [] | no_license | hjw21century/boostTest | ecba566a55c01f55fd0cb81f89694b900bbe02f1 | e92c18235c409dc97d7e6aea33ab2b33de518463 | refs/heads/master | 2020-12-03T03:46:22.916531 | 2017-06-29T16:33:26 | 2017-06-29T16:33:26 | 95,772,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,662 | cpp | // Boost static_log2.hpp test program --------------------------------------//
// (C) Copyright Daryle Walker 2001.
// 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)
// See http://www.boost.org for most re... | [
"hjw21century@163.com"
] | hjw21century@163.com |
fbb941af33ad70c3006c00390f4ec0dab0605314 | 9d2bafb07baf657c447d09a6bc5a6e551ba1806d | /ros2_ws/install/include/cartographer_ros_msgs/srv/start_trajectory__response__struct.hpp | d010c60d5e003557c09bb7258422b799759dfd7c | [] | no_license | weidafan/ros2_dds | f65c4352899a72e1ade662b4106e822d80a99403 | c0d9e6ff97cb7cc822fe25a62c0b1d56f7d12c59 | refs/heads/master | 2021-09-05T20:47:49.088161 | 2018-01-30T21:03:59 | 2018-01-30T21:03:59 | 119,592,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,125 | hpp | // generated from rosidl_generator_cpp/resource/msg__struct.hpp.em
// generated code does not contain a copyright notice
#ifndef CARTOGRAPHER_ROS_MSGS__SRV__START_TRAJECTORY__RESPONSE__STRUCT_HPP_
#define CARTOGRAPHER_ROS_MSGS__SRV__START_TRAJECTORY__RESPONSE__STRUCT_HPP_
// Protect against ERROR being predefined on ... | [
"austin.tisdale.15@cnu.edu"
] | austin.tisdale.15@cnu.edu |
fb1172835c0132945486adf5119d8c4b8c3c4791 | c76480c7d7b2410839c8d71242d698750f929428 | /datastructures/hackerrank/linked_list/reverse_doubly_list.cc | daa492d10061eabd86be7a387f57562de2aa5de9 | [
"MIT"
] | permissive | AravindVasudev/datastructures-and-algorithms | c234ec83768a18a4b184012a0b670e059f64842f | 42a3089c044846d7b0adf311ec816bd736f2eb06 | refs/heads/master | 2023-04-15T15:22:49.544556 | 2023-04-03T07:48:08 | 2023-04-03T07:48:08 | 85,127,389 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cc | /*
Reverse a doubly linked list, input list may also be empty
Node is defined as
struct Node
{
int data;
Node *next;
Node *prev;
}
*/
Node* Reverse(Node* head)
{
// Complete this function
// Do not write the main method.
Node *cur, *next, *prev;
if (head == NULL) return NULL;
... | [
"aravindv96@yahoo.com"
] | aravindv96@yahoo.com |
610519855644de60a7bdaddd670913619cf44eec | ca5f51c4fecdb3cca7ffc0544c17de0c412086f8 | /Strings/compress-a-string(run length encoding).cpp | 6e81e34984d0e0dc91359a5d99ada666854e89c3 | [] | no_license | avinashw50w/ds_algo | f517bbb326a922258e6ef7816e6c06593a2d06aa | bc73bd617486ab8fcbbdd8a076cacd3761c6c954 | refs/heads/master | 2023-07-22T17:44:44.815336 | 2023-07-13T07:38:22 | 2023-07-13T07:38:22 | 193,303,550 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | /*compress a string such that if the consecutive characters are equal then, replace then with a
single character followed by the no of times it appeared.
eg. aabbbcdddd => a2b3c1d4
*/
string runLengthEncode(string s)
{
int n = s.size();
int k = 0;
for (int i = 0; i < n; ++i) {
int len = 1... | [
"avinash.kumar@seenit.in"
] | avinash.kumar@seenit.in |
cca9de70ad7bb15105cee705cf29b2f70063d51d | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/Sexy_Jeans_Shorts_04_classes.h | eedc6afbd770c3174a1573a10458ddfce7fdcb3c | [] | no_license | zH4x-SDK/zSCUM-SDK | 2342afd6ee54f4f0b14b0a0e9e3920d75bdb4fed | 711376eb272b220521fec36d84ca78fc11d4802a | refs/heads/main | 2023-07-15T16:02:22.649492 | 2021-08-27T13:44:21 | 2021-08-27T13:44:21 | 400,522,163 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | h | #pragma once
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Sexy_Jeans_Sho... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
52077ea87162eebf02ede68b300a1560585f38a3 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/21/266.c | 369926bcfad91673d63e3d6c1f712c566ccf9d55 | [] | 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 | 650 | c | void main()
{
int n,a[300],b[300],i,p,k,j=1,q;
double s=0,m=0,t;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
s=s+a[i];
}
s=s/n;
for(i=0;i<n;i++)
{
t=fabs(a[i]-s);
if(t>m)
{
m=t;
k=i;
p=1;
}
else if(fabs(t-m)<=1e-6)
p++;
}
b[0]=a[k];
if(p=... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
a29b3d7065f649692bfec8fccc53c562ff8c1329 | c747cfbe51cc24d15e49a888072d34635833d90a | /273_IntegerToEnglishWords.cpp | 23af270f421cbd466f9f3323beabf3ed235a7ad9 | [] | no_license | bigship/leetcode_solutions | 18921508a8acba25013ae65864168c4c084bef37 | 45edfab5f1696fa9b3b59b63663aa9524de209cd | refs/heads/master | 2022-08-22T05:42:37.462263 | 2022-08-02T20:14:50 | 2022-08-02T20:14:50 | 13,472,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | // 273. Integer to English Words
/*
* Convert a non-negative integer num to its English words representation.
Example 1:
Input: num = 123
Output: "One Hundred Twenty Three"
Example 2:
Input: num = 12345
Output: "Twelve Thousand Three Hundred Forty Five"
Example 3:
Input: num = 1234567
Output: "One Million Two Hu... | [
"colinchen1984@gmail.com"
] | colinchen1984@gmail.com |
d580a43ba00f1f832301b62b6e2bfb951b19c2fc | 7013a3d3cfd4883a0cdcbd1667a675d03e0475f7 | /src/celula_t.cpp | 82f14e115c220f1a424e88d29c469ca1f6edcc51 | [] | no_license | DarwinGonzalez/juego_de_la_vida | daf1d9fdac2650172760eb18e6043d8c626b2ecb | ab69bd740efbbba9dd3e977c4ef682f0fdecc197 | refs/heads/master | 2020-03-11T02:46:13.628819 | 2018-04-16T11:01:40 | 2018-04-16T11:01:40 | 129,728,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp |
//Algoritmos y Estructuras de Datos Avanzados
//Práctica: Juego de la Vida C++
//AUTOR: Darwin González Suárez
//Archivo donde se implementan los metodos necesarios para el funcionamiento de la clase celula
#include "celula_t.hpp"
cel_t::cel_t(){
state_ = false;
num_vecinos_ = 0;
symbol_ = ' ';
}
cel_t:... | [
"alu0100812794@ull.edu.es"
] | alu0100812794@ull.edu.es |
b4904bf313ff4b140f205770ab356d4b0cacce32 | 504ee37878baab25cf338f9588ec1e4b463e13f1 | /interphone.ino | 1040177f67a46deefcf29226abe6c4a4c267e3ba | [] | no_license | valentintintin/esp8266-interphone-connected | dbb95d509a8895e2d4883066af238f144c06925c | ba226e391c0b91fefc80e3f88e1780f29d2ee860 | refs/heads/master | 2020-03-11T18:29:50.839536 | 2019-07-16T15:23:53 | 2019-07-16T15:23:53 | 130,178,477 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,323 | ino | #include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include "Timer.h"
#define DIRECT_CO
//#define VOICE
//#define MP3
#ifndef DIRECT_CO
#include <WiFiManager.h> // Conflict with WebServer
#endif
#if defined(VOICE) || defined(MP3)
#include <AudioOutputI2SNoDAC.h>
AudioOutputI2SNo... | [
"valentin.s.10@gmail.com"
] | valentin.s.10@gmail.com |
7f5c7fbd15ea8584f0aece0b4737951363dd34dc | c36206501cd121bd80e83890afa895c47512cff6 | /p5/comand.cpp | ae91d11a8d9472d9aabe184569bcfec091572566 | [] | no_license | ninatu/multithread | 35db9c2047e12f5754d309994234ddfd6a34cba3 | dedf8dd6648bcd1372db59c9e94ba10773c2e597 | refs/heads/master | 2021-01-19T04:06:57.545118 | 2016-06-15T14:23:10 | 2016-06-15T14:23:10 | 52,672,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | #include "comand.h"
Comand::Comand(
const std::vector<std::string> &parts,
const std::string &_infile,
const std::string &_outfile)
{
infile = _infile;
outfile = _outfile;
cmd = (char*) calloc(parts[0].size() + 1, sizeof(*cmd));
params = (char **) calloc(parts.size() + 1, sizeo... | [
"p.pin.p@yandex.ru"
] | p.pin.p@yandex.ru |
124cbdb9f93569a1375cbe83cf647c05e3e12e9a | f2ed8aa89c705fab1ea8b8328c5ce92497ee276a | /task4/pollard_lambda.cpp | 5150c5435d19358f7e75fbccb0f7a526eba712b3 | [] | no_license | radekwlsk/pwr-high-performace-computing | b2b8b9986b038ff46a2f9b0e5042023c256d3b59 | fb90802ce055ede55e3c90f4ae2eff898d6fec7b | refs/heads/master | 2021-04-03T04:56:08.495614 | 2018-06-05T14:38:38 | 2018-06-05T14:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,534 | cpp | #include <iostream>
#include <omp.h>
#include <NTL/ZZ.h>
#include <NTL/ZZ_p.h>
#include <NTL/vector.h>
#include <assert.h>
#include <functional>
#include <string>
#include <sstream>
#include <tuple>
#include <unordered_map>
#include <map>
#define DIST_BITS 8
#define WILD_KANGAROO false
#define TAME_KANGAROO true
#defin... | [
"radek.kwlsk@gmail.com"
] | radek.kwlsk@gmail.com |
4158eef34638b5a3d6168c67806b7a43be808d21 | a6d6768f0cb3cf60ead4861f3d0956542647e2be | /src/include/mclTimer.h | 5411e11ce1f808f33ee5d2a07ffd4a82c294e25c | [] | no_license | mclumd/MCL | d8707e7b85476a6f926757980b1f7313915cbe60 | 90c6a70187ab13e8ba664038eb2205f9667f8607 | refs/heads/master | 2020-04-12T05:46:15.173170 | 2014-02-06T23:35:57 | 2014-02-06T23:35:57 | 16,597,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | h | #ifndef MCL_TIMER_H
#define MCL_TIMER_H
/** \file mclTimer.h
* \brief A real-time timer.
*/
#ifdef WIN32
#include <Winsock2.h>
#else
#include <sys/time.h>
#endif
#include <time.h>
#define usec_per_sec 1000000
//! class of timer objects.
class mclTimer {
public:
//! constructs a timer that has already expired
... | [
"e.hand@live.com"
] | e.hand@live.com |
d2abc726a136cf22955faf17f5b6ecff38803076 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /03_Tutorial/T02_XMCocos2D-CookBook/Source/Recipes/Ch5_ShadowedLabels.cpp | 395429e2b429fcded731bef7d2d20a0f5b3ea431 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,502 | cpp | /* --------------------------------------------------------------------------
*
* File Ch5_ShadowedLabels.cpp
* Ported By Young-Hwan Mun
* Contact xmsoft77@gmail.com
*
* Created By Nate Burba
* Contact Cocos2dCookbook@gmail.com
*
* --------------... | [
"mcodegeeks@gmail.com"
] | mcodegeeks@gmail.com |
d7508c74726376f5fb448e086d1bbc7f69a5efe3 | 60d350fd266a95a9898bced9f9f98d499949d7db | /testdata/test_binary.cc | 59fe51881ee4fe584a2702d53d78f33af41bab96 | [
"Apache-2.0"
] | permissive | isabella232/lldb-eval | e9af865cd927835d6184f6f9a3f4bf34a08dd292 | 68cdc845b53ce9193564c2a9ba82ed2fc8f34a2b | refs/heads/master | 2023-01-01T23:13:25.350036 | 2020-09-23T16:27:24 | 2020-09-23T16:27:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,695 | cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"werat@google.com"
] | werat@google.com |
1969158571a3f9ea9c862289f9137607269a4756 | 67941601affc289defc19f5dcc7d21ebe8ae2ea5 | /ExpressionConversion-InfixPrefix.cpp | 88613ea4baba192a4276a4d764859d7300f52ffb | [] | no_license | Gaurav-Gaikwad-1/Data-Structures-Programs-in-C- | c07f178f0f9c12672b371d986a042ec08108af1a | 002fe377b5afe5fd407e98b33087a59a3cc37b42 | refs/heads/master | 2022-05-25T09:07:39.391960 | 2020-04-27T08:11:29 | 2020-04-27T08:11:29 | 259,247,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | cpp | /*
Implement C/C++ program for expression conversion-
a) infix to prefix, b)prefix to postfix, c) prefix to infix,
d) postfix to infix and e) postfix to prefix.
*/
#include <iostream>
using namespace std;
class post
{
char expr[20]="",out[20]="",stack[15];
int stack1[15];
int top=-1,j=0;
public:
void getData();
... | [
"gauraevg1234@gmail.com"
] | gauraevg1234@gmail.com |
d0fe4ccd4e7513105c9e22ebcdb269d8c064e790 | 29b91fafb820e5513c7284072dca5bd77c189b22 | /array_row_max_ones.cpp | d68f9c2543bf7375b8631ba619c691e2c3569939 | [] | no_license | rishirajsurti/gfg | c1d542ebb59790d529be7be2a107a67f4fae2b35 | f7205bec70c39e085bf8a45b527f7464c8bcef8e | refs/heads/master | 2021-03-27T19:13:06.466708 | 2016-11-15T11:43:31 | 2016-11-15T11:43:31 | 61,434,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include <bits/stdc++.h>
using namespace std;
int a[53][53];
int main(){
int t; scanf("%d", &t);
while(t--){
int n, m; scanf("%d %d", &n, &m);
int cur_sum=0, max_sum=INT_MIN, ans= -1;
for(int i = 0; i < n; i++){
cur_sum = 0;
int u;
for(int j = 0; j < m; j++){
scanf("%d", &u);
cur_sum+= u;
}... | [
"rishirajsurti.iitm@gmail.com"
] | rishirajsurti.iitm@gmail.com |
b58820cdb91fc35c044ea1ae7dc949e4085e31a7 | c66c4318725ed89310423c4f8f34d1206a787cf6 | /Math/segmentedSieve.cpp | 297207adf219705a956c2a6351a315a734d09031 | [
"Apache-2.0"
] | permissive | rsd511/CP-Library | 6b96f7f321b0718ee7cd432576459ff542ca7190 | 85460629097436f494f51a4f89b097559567f71c | refs/heads/master | 2021-07-18T00:28:40.611917 | 2020-10-22T11:54:53 | 2020-10-22T11:54:53 | 222,041,697 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | // OUTSIDE MAIN
// Calculates till MAX
#define MAX 1000000
ll isPrime[MAX + 1];
void sieve()
{
isPrime[0] = isPrime[1] = 0;
f(i,2,MAX) isPrime[i] = 1;
for(ll i = 2; i*i <= MAX; i++) if(isPrime[i]) {
for(ll j = i*i; j <= MAX; j += i)
isPrime[j] = 0;
}
}
vector <ll> segmentedSieve(ll low, ll high) {
low = ... | [
"rahul.rsd511@gmail.com"
] | rahul.rsd511@gmail.com |
88a0854b69859c1f0197546464a72a9e60aa8884 | 7a2e4fb0ef75367e88112160713f94b1eee06eea | /src/Common/ConsoleTools.h | 28707798729957eaaf22557a320cee24fc124cd3 | [] | no_license | rainmanp7/digitalnote45 | 0ba02600369f19c729841c736f5809893bc45034 | c64310a220f12b6d4e7f4820c8014026a4266a02 | refs/heads/master | 2020-03-17T16:02:22.867091 | 2018-05-17T01:33:53 | 2018-05-17T01:33:53 | 133,733,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <cstdint>
namespace Common { namespace C... | [
"muslimsoap@gmail.com"
] | muslimsoap@gmail.com |
e25e5b50b273e8f2492fbdd04895498216a8d3e0 | 724cb73a1a93b9a4b78ac8ff0fc249854e8154ae | /297/solution.cpp | 4d954a5a8a7d8cac690473b7bd29272ee803cb66 | [] | no_license | nikitaunity/project_euler | 9d68cd83fb160e259be4893719c018ca65cbf291 | 9ef1279abb670bbba4fbc5438801b008ac788af0 | refs/heads/main | 2023-02-18T14:45:01.087050 | 2021-01-23T22:34:14 | 2021-01-23T22:34:14 | 325,356,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | cpp | #include <iostream>
#include <vector>
#include <cstdlib>
#include <chrono>
std::vector<uint64_t> generateFibonacchiSequence(uint64_t max_value) {
std::vector<uint64_t> fibonacchi_numbers = {1, 2};
uint64_t last_two_sum = 3;
size_t count = 2;
while (last_two_sum < max_value) {
fibonacchi_number... | [
"nikitaalexandrov@unity3d.com"
] | nikitaalexandrov@unity3d.com |
3cd1653372b3a81060a775b630a8e5c3b934f5f4 | b38c5eb548636af44b4c82fc2b57e3103114f2e0 | /test/PoE-test/spacedeur-asis-2017/spacedeur-asis-2017.ino | 4bc03daeaea1efd052d7702156c72176e035e1ff | [
"LicenseRef-scancode-other-permissive",
"MIT",
"NTP",
"LicenseRef-scancode-rsa-1990",
"LicenseRef-scancode-rsa-md4",
"Beerware",
"RSA-MD",
"HPND-sell-variant",
"Spencer-94",
"LicenseRef-scancode-zeusbench",
"metamail",
"Apache-2.0"
] | permissive | MakerSpaceLeiden/AccesSystem | e652a343c86ac904de8a1a08adc13bbc3ee6de7d | 5e39572f51fafca71750660fcf5f737670f17d54 | refs/heads/master | 2023-05-27T01:44:57.893580 | 2023-05-16T11:27:48 | 2023-05-16T11:27:48 | 54,308,309 | 4 | 4 | Apache-2.0 | 2022-02-21T22:37:34 | 2016-03-20T08:46:08 | C++ | UTF-8 | C++ | false | false | 18,873 | ino | /* Spacedeur 2-'as is' configuration which should be near identical
to the existing setup late 2017.
*/
#include "/Users/dirkx/.passwd.h"
// Wired ethernet.
//
#define ETH_PHY_ADDR 1
#define ETH_PHY_MDC 23
#define ETH_PHY_MDIO 18
#define ETH_PHY_POWER 17
#define ETH_PHY_TYPE ETH_PHY_LAN87... | [
"dirkx@webweaving.org"
] | dirkx@webweaving.org |
8fb549fcdc53a159b2a47cd04f2df39cc6f42df5 | d64bb70a14246e8da868887a67b8a45af061745c | /boost_tst/GraphvizSubgraph/subdot.cc | b9039090154a64b5579c7b0b587c84d5429deaed | [] | no_license | rcoscali/cpad_tool | 176fcc20005bff1dcac6045f539abe96ff72602a | 4addc1223b32068d72ca1e4d2df21d5b098f9945 | refs/heads/master | 2021-03-22T04:52:28.258861 | 2017-06-08T08:51:02 | 2017-06-08T08:51:02 | 85,364,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,538 | cc | #include <boost/graph/graphviz.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/subgraph.hpp>
#include <iostream>
#include <boost/graph/random.hpp> // in case you comment out the random graph creation code
#include <random>
using namespace boost;
template <typename SubGraph>
SubGraph generate_ran... | [
"remi.cohen-scali@nagra.com"
] | remi.cohen-scali@nagra.com |
fd047e69a116ec13b13f27d966985ad02136076d | 58a84aa609537561c1c06828efc273c59cd9ace5 | /5.Arduino IDE course/4.Breathing light/Breathing_light/Breathing_light.ino | ac3e5c4f660f178961dd39b5c0674a8447261f34 | [] | no_license | YahboomTechnology/Omibox-Robot | b66afab6f8e881938cf94955f0f5177aa8feb763 | 80c508e1109e41f2fcc517613c8c337a78a720c3 | refs/heads/master | 2021-06-27T04:39:26.593311 | 2021-04-12T04:28:01 | 2021-04-12T04:28:01 | 206,752,390 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | ino | /*
* @par Copyright (C): 2010-2019, Shenzhen Yahboom Tech
* @file Breathing_light.c
* @author xiaozhen
* @version V1.0
* @date 2018.10.19
* @brief Breathing_ligh
* @details
* @par History
*
*/
#include <Adafruit_NeoPixel.h> //Library file
#define PIN 5 //De... | [
"2448532184@qq.com"
] | 2448532184@qq.com |
3d15b4a56d4d240b26053972135e110a0fdc84d1 | 09b3c2e3ca8ef51c0d66d7ecc18009d31e5e38b1 | /path_manager.cpp | 6cb7a252e5b49778c69a55e1d498f17167aa406d | [] | no_license | alisomay/wavecrush | ae8b0922ea4ce7d0f14124c0366297f0e91095b1 | 683cfbf5843405a697a8d2b917d45287e03e582d | refs/heads/master | 2020-05-04T04:47:39.669489 | 2019-04-05T11:23:51 | 2019-04-05T11:23:51 | 178,974,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | #include "path_manager.hpp"
fs::path Path_Manager::get_in_path(){
return in_path;
};
fs::path Path_Manager::get_crushed_path(){
return crushed_path;
};
fs::path Path_Manager::set_crushed_path(std::string path){
crushed_path = path;
return crushed_path;
};
fs::path Pa... | [
"alisomay@gmail.com"
] | alisomay@gmail.com |
4459c3924aa52bf8be8a7ee1c19bb9f0fe1e8b32 | 5c9eb0c093d36ece2cc158cb5020ea46177f67e4 | /CPP04/ex03/Character.cpp | a354d66a0b2f49d418cb44414767474e8a98dad1 | [] | no_license | cquiana/CPP_pisc | 651a082dfd05415aa801cab791bea651010ddf30 | 96cf6a74076af7389e860c9ee1284abb9770a1f4 | refs/heads/master | 2023-03-14T20:57:38.045063 | 2021-03-30T10:39:49 | 2021-03-30T10:39:49 | 345,763,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,552 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Character.cpp :+: :+: :+: ... | [
"atulyakov@gmail.com"
] | atulyakov@gmail.com |
20b861638c51910208ca64eab4bafcc7739ebd15 | 3c5c1e3836edf3e9627a64600785503d1814df51 | /build/Android/Debug/app/src/main/include/OpenGL.GLFramebufferStatus.h | d98b60427b541b48d74bb30184dd4a7a00d0cd8c | [] | no_license | fypwyt/wytcarpool | 70a0c9ca12d0f2981187f2ea21a8a02ee4cbcbd4 | 4fbdeedf261ee8ecd563260816991741ec701432 | refs/heads/master | 2021-09-08T10:32:17.612628 | 2018-03-09T05:24:54 | 2018-03-09T05:24:54 | 124,490,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | // This file was generated based on C:/Users/Brian/AppData/Local/Fusetools/Packages/UnoCore/1.6.0/Source/OpenGL/GLEnums.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace OpenGL{
// public extern enum GLFramebufferStatus :271
uEnumType* GLF... | [
"s1141120@studentdmn.ouhk.edu.hk"
] | s1141120@studentdmn.ouhk.edu.hk |
abb4392d0f6d3c0cd9d4b5ce0c49ca820b4b49b5 | 191126328427ffb1d2cebcc5d3ccb670a7f4f8be | /brazilicpc1.cpp | 990b3cb87c02526120c1559a6506d113548d8574 | [] | no_license | drviruses/CP | 090ca7db998f7f113d85ab96a91a73fd9d5892ac | 69294c62218fda3453daf4b69251ab98bb24cccb | refs/heads/master | 2023-03-14T06:09:15.174975 | 2021-03-01T05:04:26 | 2021-03-01T05:04:26 | 305,608,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | #include<bits/stdc++.h>
#define ll long long
#define ld long double
using namespace std;
int32_t main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll n,sum=0,val;
cin>>n;
while (n--)
{ cin>>val;
if(val==2 || val==3) sum+=1;
/* code */
... | [
"amitkumarhero28@gmail.com"
] | amitkumarhero28@gmail.com |
43fd11ab3c6ef8a01662fe0bc387499ad5c67584 | 957038eaa58a9e05aa0b0d62cbe91361a181c299 | /playerDeMusica/Origem.cpp | c559a376ef6a0a5e1cf40c637caddd9fb0253f24 | [
"MIT"
] | permissive | antonioagontijo/PlayerDeMusica | ee62c9c396ffa7674a2beef2c6ccde928bb31079 | b5be0baea22bcfadb43908e85ae738434fc5a1a4 | refs/heads/main | 2023-02-11T21:16:57.808926 | 2021-01-19T22:42:59 | 2021-01-19T22:42:59 | 331,126,958 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 10,892 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string.h>//necessário para o strcpy
#include <locale.h>//biblioteca que permite o uso de acentuação
#include <time.h>//biblioteca de tempo, usada para gerar números aleatórios
#define TAMANHO 100 //definir tamanho dos vetores
#define LIMITE 1000 //definir tamanho dos cód... | [
"antonioasgontijo@outlook.com"
] | antonioasgontijo@outlook.com |
cdf8b24e6b8d373ab9fde78efb0b91245d812ce3 | 809bbbddf5f4abdf8f85a6591df61fcf11f52ce0 | /06_04_engine/src/libs/libserver/regist_to_factory.h | 65a47cbea758147078ad9edeed532ddcb209f73e | [
"MIT"
] | permissive | KMUS1997/GameBookServer | 542df52ac3f7cb1443584394e3d8033dbb2d29e3 | 6f32333cf464088a155f0637f188acd452b631b7 | refs/heads/master | 2023-03-15T18:52:23.253198 | 2020-06-09T01:58:36 | 2020-06-09T01:58:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | h | #pragma once
#include <typeinfo>
#include "component_factory.h"
#include "object_pool.h"
template<typename T, typename...Targs>
class RegistToFactory
{
public:
RegistToFactory()
{
ComponentFactory<Targs...>::GetInstance()->Regist(typeid(T).name(), CreateComponent);
}
static T* CreateComponent(Targs... args)
{... | [
"setup_pf@hotmail.com"
] | setup_pf@hotmail.com |
c6b3c68c164c14240509009b22f4723de0cda9f3 | 05086f53556fe759e28f94f58a608136072fd884 | /FileTypeData/Prog_Data_train/cpp/InputClass.cpp | cf8a730a82b8bb0394a19b021785370701203999 | [] | no_license | P79N6A/tensorflow-language-classification | 969597f50738638bc5d017c951a5911089337d02 | 94cd65f84db6b02dbafac887f32077eeff16d8ad | refs/heads/master | 2020-04-24T21:18:19.406205 | 2019-02-23T20:08:00 | 2019-02-23T20:08:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | #include "InputClass.h"
InputClass::InputClass()
{
}
InputClass::~InputClass()
{
}
void InputClass::Initialize()
{
for (int i = 0; i < 256; i++)
{
keys[i] = false;
}
}
void InputClass::KeyDown(unsigned int input)
{
keys[input] = true;
}
void InputClass::KeyUp(unsigned int input)
{
keys[input] = false;
}
... | [
"the.rahul.pal@gmail.com"
] | the.rahul.pal@gmail.com |
45cbcb3858500e51c9e3bf687bcdd1739885c3a0 | f112f9745d7c916c68ee2b8ec05e93e74d7d3004 | /vod/include/tencentcloud/vod/v20180717/model/MediaSourceData.h | 76bb9d7d2363f487fd5102f8a2d3747aa7d282ea | [
"Apache-2.0"
] | permissive | datalliance88/tencentcloud-sdk-cpp | d5ca9454e2692ac21a08394bf7a4ba98982640da | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | refs/heads/master | 2020-09-04T20:59:42.950346 | 2019-11-18T07:40:56 | 2019-11-18T07:40:56 | 219,890,597 | 0 | 0 | Apache-2.0 | 2019-11-06T02:02:01 | 2019-11-06T02:02:00 | null | UTF-8 | C++ | false | false | 5,785 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.