blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aebd669bc00ebeff1dc71122b6456cb016696a2f | c0fbb8d47bcc752fddb7004962ac21ced60a005e | /单链表找环(声)/单链表找环(声)/源.cpp | e8bc745656c62ff1c9b7d48777df75d9d2da8d1e | [] | no_license | yaogit666/yaogit666 | 8724738093e9edfbf9d37fa6881f5c863523c464 | 6d11fd7fae5bbd7f2291e7ba69480f0d163af860 | refs/heads/master | 2021-07-20T00:32:48.295459 | 2020-10-18T13:53:13 | 2020-10-18T13:53:13 | 223,742,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main()
{
vector<int> v;
vector<int> table(1000, 0);
int n;
bool b = true;
while (cin >> n)
{
v.push_back(n);
if (cin.get() == '\n')
{
break;
}
}
for (int i = 0; i < v.size(); i++)
{
table[v[i]] ++;
}
for (int i = 0; i < 1000; i++)
{
... | [
"1397847010@qq.com"
] | 1397847010@qq.com |
0bb171094e35ab8c6f5bb0d36bc13206e99c075d | a8ccdf4e5b2d4b7314fd98e4962bc7381104e89b | /touchgfx/framework/include/touchgfx/mixins/PreRenderable.hpp | 598197b3ef85daa0723795bab8cffa950a3b67af | [] | no_license | misstek/SmartHomePanel | d6e9948ec97655cff072bffcb13fc9b11b7bdd93 | 72a6498e9850533206a229407217dea05e641c12 | refs/heads/master | 2021-05-01T19:17:09.823698 | 2018-02-10T14:18:40 | 2018-02-10T14:18:40 | 121,018,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,754 | hpp | /******************************************************************************
* This file is part of the TouchGFX 4.9.2 distribution.
* Copyright (C) 2017 Draupner Graphics A/S <http://www.touchgfx.com>.
******************************************************************************
* This is licensed software. An... | [
"ming123zhen456@gmail.com"
] | ming123zhen456@gmail.com |
492207df9b45c995f7c43883831557c8447398a1 | 5230acc704b8120c7628f98597780412bf5bf606 | /libs/ofxSoundPlayer/OpenAL/SoundStream.h | 9aece1e3d3ca114aded6657a340bb53e3b8b9dbf | [] | no_license | gaborpapp/smileomaton | 3fa691947df692aad2afb94cc7d8962309a95259 | 6c49e0cb30570ad7a45894738221419135e36df6 | refs/heads/master | 2021-01-10T20:19:06.024471 | 2010-05-29T16:06:38 | 2010-05-29T16:06:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,287 | h | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages ... | [
"gabor.papp@gmail.com"
] | gabor.papp@gmail.com |
52cc9161bec18e6dd3d406b549ebd16e2fa2ea73 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/LB+dataonceonce+dataonceonce-rfionceonce-frionceonce.c.cbmc_out.cpp | 2995233757bdf5f69dafeba0619fce308cb2fb94 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 37,656 | cpp | // 4:atom_1_X4_1:1
// 0:vars:2
// 2:atom_0_X0_2:1
// 3:atom_1_X0_1:1
// 5:thr0:1
// 6:thr1:1
#define ADDRSIZE 7
#define NPROC 3
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, cha... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
cd5e62fb89f011dcbfae468c1104ed0dc49c933d | 2b84e114db3c996d6d2ea99df103753f8588ce14 | /main.cpp | 854b36d87af432994c7fd492dc88cb21e19a8fd5 | [] | no_license | Xiaolian-Liu/MRIA-LAB | 18dda3471eb0666d620b551115fecc0adc3194d7 | 7fba1a557e229d5d2c212fdadc6aa164071d0a16 | refs/heads/main | 2023-03-30T16:53:37.977433 | 2021-03-22T02:58:28 | 2021-03-22T02:58:28 | 350,184,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,436 | cpp | #include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include <sys/mman.h>
#include <malloc.h>
#include <math.h>
#include <ecrt.h>
#include <iostream>
#include <sys/s... | [
"noreply@github.com"
] | noreply@github.com |
adfb4a225bbb2ab8194280c357f5329620d9377b | 89485890afeeacdae996de966b8b13ba0c1bbc9a | /mplib/include/zrecieveprogressbar.h | 95da06c89c2b4e9d729a45b00b7a076b8eebd741 | [] | no_license | weinkym/src_miao | b7c8a35a80e5928470bea07d5eb7e36d54966da9 | 0759c1f819c15c8bb2172fe2558fcb728a186ff8 | refs/heads/master | 2021-08-07T17:55:52.239541 | 2021-06-17T03:38:44 | 2021-06-17T03:38:44 | 64,458,033 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 886 | h | #ifndef ZRECIEVEPROGRESSBAR_H
#define ZRECIEVEPROGRESSBAR_H
#include <QDialog>
#include "mplib_global.h"
class Ui_ZRecieveProgressBar;
class MPLIBSHARED_EXPORT ZRecieveProgressBar : public QDialog
{
Q_OBJECT
public:
ZRecieveProgressBar(QWidget* parent = 0, Qt::WindowFlags f = 0);
~ZRecieveProgressBar();
... | [
"weinkym@qq.com"
] | weinkym@qq.com |
dac2ee0d80b272ef6a8dc6c0075a97653c44f238 | 05c82b8c01b443638f83d98ab1207fce796a9c90 | /src/collision/shapes/ObjectSetter.hpp | 30dd3a1e5f1a65d57a3db750726f88d689c30941 | [] | no_license | aljazk/powerball | c2bfc22bd3ee0492bd27b411889810131b16268a | ccea1c4b5167a6ad4a55d29b865be19e32e1708f | refs/heads/master | 2021-05-03T09:35:29.809372 | 2016-11-05T19:11:30 | 2016-11-05T19:11:30 | 70,336,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | hpp | #ifndef OBJECTSETTER_H
#define OBJECTSETTER_H
#include "Polygon.hpp"
#include "Circle.hpp"
#include <vector>
#include <unordered_set>
#include <memory>
class ObjectSetter{
std::vector<Polygon> polygons;
std::vector<Circle> circles; // make so it can be made out of multiple shapes -- just skip collision if they ha... | [
"aljaz.konecnik@gmail.com"
] | aljaz.konecnik@gmail.com |
08e63ac702540f31bcb3d7b237a7b5af3e3d7aa3 | 7e4ef7ec81cefef0f2092eb9ba65d72263026437 | /Siv3D/src/Siv3D/FFT/IFFT.hpp | 3ad064508f6c35a67c2822387f1c4011587ab975 | [
"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 | 980 | 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 <Siv3D/Common.hpp>
# i... | [
"reputeless+github@gmail.com"
] | reputeless+github@gmail.com |
729f19e339f5929035e2048131972612fceddd42 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5686275109552128_0/C++/Jianzhi/infinitehouseofpancakes2.cpp | 055389a8f7c643c9d7ebdca21c1f3ee3e180ea3d | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | #include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;
double arr[1001];
int main(){
freopen("B-small-attempt0.in", "r", stdin);
freopen("B-small-attempt0.out", "w", stdout);
int tc;
cin >> tc;
int a, b;
int maxi = 1000000000;
int cur = 0;
for (int i = 0; i ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
cf33be72d29ef510ef0a1d2e0d1ac9ee91a3faf3 | 19586b3c44ceaa4dc9056c9b36962d0ea759f6f7 | /marble.cpp | fd258ca0b6f0069226394f648dccfa4310f48b10 | [] | no_license | SerketCity/collectionofgames | 922e231ebf91fca9a53cb47bdc2a5d7d34cfb569 | 4db8457809390fa39f87b30fc226fbccbb54a9ea | refs/heads/master | 2022-12-15T10:33:46.012112 | 2020-09-17T22:42:32 | 2020-09-17T22:42:32 | 296,457,536 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include <string>
#include "marble.h"
using namespace std;
Marble::Marble()
{
color = "Blue";
}
Marble::Marble(string s)
{
color = s;
}
void Marble::setColor(string s)
{
color = s;
}
string Marble::getColor()
{
return color;
}
| [
"johnrice1997@gmail.com"
] | johnrice1997@gmail.com |
85b727a4bf4030d64c6a18b124624069a1a16490 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-6-2测试/folding/folding.cpp | 8a4965f99648be28f60616f8c6e1cb3a3c89b236 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | #include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <vector>
#include <cctype>
#define rgi register int
#define il inline
#define ll long long
#define maxn 110
#define maxl 10010
using namespace std;
int n, l, flag, cnt;
int t[maxn], A[maxl], B[maxl];
il int read()
... | [
"506503360@qq.com"
] | 506503360@qq.com |
bd512cf606a66c3e3bbd078ec82526b7cdcdd8b5 | 44a44a01fed981e1e05fdea3699069f89667e880 | /src/bitcoinrpc.cpp | 4b4c667c75b3fead52bcf46f01649065d76c1855 | [
"MIT"
] | permissive | eagleflies/eagle_cur | 76174c70d60e1cff8012c9d4076ce5b2904cc981 | e638fffe1e75c1d60db94972619a151b7a252379 | refs/heads/master | 2016-09-01T21:24:30.454970 | 2014-10-07T18:39:40 | 2014-10-07T18:39:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119,493 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 The Litecoin Developers
// Copyright (c) 2013 adam m.
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
... | [
"myeagleflies@gmail.com"
] | myeagleflies@gmail.com |
ba7cc49992dbc4c2b707490a0a218f678893860c | 3e9be13eb25bd08b76fcac79f702e1c689f2e455 | /source/entity/effects/transientEffect.hpp | 5b25fc505cf41ad98e19b9971d23470f8df9afc3 | [
"MIT"
] | permissive | fourks/blind-jump-portable | 02c64c00496387564506bd32fe7471f4ff659d20 | a4a0bbce23c6916ae6ad3ddc5eaff08a42f3a96d | refs/heads/master | 2022-11-19T09:59:17.186597 | 2020-07-08T23:43:59 | 2020-07-08T23:43:59 | 278,217,425 | 0 | 0 | null | 2020-07-08T23:44:32 | 2020-07-08T23:44:31 | null | UTF-8 | C++ | false | false | 550 | hpp | #pragma once
#include "entity/entity.hpp"
#include "graphics/animation.hpp"
class Game;
class Platform;
template <TextureIndex InitialTexture, u32 AnimLen, u32 AnimInterval>
class TransientEffect : public Entity {
public:
TransientEffect()
{
animation_.bind(sprite_);
}
void update(Platfor... | [
"ebowman@bu.edu"
] | ebowman@bu.edu |
edcf6f858afdb16305754aa0193545a52c6ded2d | d956ffdbe73474a2f2e463623e0ff9fac563f8fe | /Tính toán đơn giản/HERON.cpp | 7c6eeb6a276f4ecd5e4847f8adf1a2fff5069a49 | [] | no_license | NghiaST/VinhDinhCoder | a5c5babe71e1dc742eae42a5940d699947e8aa70 | 7c7f9f428ecb4d4e66ceed617c576f5d0061cd73 | refs/heads/main | 2023-08-19T20:17:41.669372 | 2021-10-26T07:51:07 | 2021-10-26T07:51:07 | 361,578,717 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
long double a, b, c, res, p;
cin >> a >> b >> c;
p = (a + b + c) / 2;
res = sqrt(p*(p-a)*(p-b)*(p-c));
cout << setprecision(2) << fixed << res;
}
| [
"noreply@github.com"
] | noreply@github.com |
e031211965b3737275720bbc95bf298d4bd874ca | 8c89782663a343f7c3d362573620f79d275a6142 | /src/2000/2455.cpp14.cpp | 33ea728dc2c7a52ffd164e8c42b4f6c3e5383c42 | [
"MIT"
] | permissive | upple/BOJ | 14a8c8e372131b9a50ba7c1e7428ba7e57b4702d | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | refs/heads/master | 2021-06-21T07:17:57.974279 | 2019-06-28T17:56:30 | 2019-06-28T17:56:30 | 128,779,781 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | #include <cstdio>
#define max(x, y) ((x)>(y)?(x):(y))
using namespace std;
int main()
{
int t, l, ans=0, left=0;
for (int i = 0; i < 4; i++)
{
scanf("%d %d", &l, &t);
left += t - l;
ans = max(ans, left);
}
printf("%d\n", ans);
return 0;
}
| [
"upple_@naver.com"
] | upple_@naver.com |
f065d65b4a454754fdbd2a2a0e2908584926159c | f03f7d715357e2208f81b609bd39ad56eac695d6 | /src/socket/Handler.cpp | 5ea10127354dac5cb6591a2187c7823f04c49c9a | [] | no_license | Loriot-n/zia | 23157525bdac65c8a8598a3d064c53bb6b6a3058 | df9e290d5c267998e16942100e297664b2b0a10b | refs/heads/master | 2020-04-20T05:55:07.220012 | 2018-02-25T21:53:24 | 2018-02-25T21:53:24 | 168,669,114 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | #include "socket/Handler.hpp"
namespace zia {
Handler::~Handler() {}
Handler::Handler() : _reactor(0) {}
} | [
"nicolas.loriot@epitech.eu"
] | nicolas.loriot@epitech.eu |
f3dcae880b86d513be53b965de9e57456e041278 | c746f4ff9b5b75d6b7d76d29243d7323254d7dc1 | /Anterminator/GPUAnt/KeyManager.h | 10adbc18cbca5945166c6d3b154345246a832232 | [] | no_license | Ionsto/Anterminator | beb3284acaf83873cc0f43aef525e59fa03bdc45 | 3a65b51128235a515228e47f55393ccbf195dead | refs/heads/master | 2023-09-01T01:46:43.152664 | 2021-10-08T13:38:19 | 2021-10-08T13:38:19 | 275,383,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | #pragma once
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <utility>
#include <array>
class KeyManager
{
public:
static constexpr int KeyCount = 258;
private:
std::array<bool,KeyCount> State = { false };
std::array<bool,KeyCount> Toggle = { false };
public:
void UpdateState(GLFWwindow* window);
std::pair<b... | [
"sam.sutcliffe2@gmail.com"
] | sam.sutcliffe2@gmail.com |
6671e99f0764ab7114568b253319ec46bc9028f3 | 2cef7b6bb27822ccb7e85d6212ff1684b743055c | /Asm lib project(Cpp, Asm)/C++lib/C++lib/Source.cpp | dade55ef953c68c39e0a2578d9285032295202fc | [] | no_license | DrSzuriad/Project | dbb7f13e85d35e182ce76b2cdabb12e3daa5201e | ae2a466c424fa0279783088bdc045475c555c631 | refs/heads/main | 2023-05-06T10:20:44.254613 | 2021-06-01T19:23:14 | 2021-06-01T19:23:14 | 358,201,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | #include "pch.h" // use stdafx.h in Visual Studio 2017 and earlier
#include <utility>
#include <limits.h>
#include "cpplib.h"
double cppobliczvx(double *tab)
{
return (1 / tab[0]) * (tab[1] * (tab[2] * tab[3] + tab[0] * tab[4]) - (tab[2] * tab[3]));
}
double cppobliczvy(double* tab)
{
return (1 / tab[0]) * tab[4] ... | [
"darek.kluczewski@gmail.com"
] | darek.kluczewski@gmail.com |
b10d2281465d329e3986421b853269ea66989423 | 2f4a00682618271527e8f38282cbc6f65a0acc85 | /src/DecisionTree.cpp | 8edda90f96eec2e6a7d26a77476cb229a958d06d | [
"FSFAP",
"MIT"
] | permissive | derekrfelson/classifier-demo | 29faad01af69411f14a161af2de78003b8eb9a2c | 3469c8d9a15eff143d84b1585bec5d0cc530b2fa | refs/heads/master | 2021-01-16T22:38:10.402576 | 2016-03-31T00:38:35 | 2016-03-31T00:38:35 | 54,147,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,742 | cpp | /*
* DecisionTree.cpp
*
* Created on: Mar 24, 2016
* Author: derek
*/
#include "DecisionTree.h"
#include "Types.h"
#include <cmath>
#include <vector>
#include <algorithm>
#include <cassert>
#include <ostream>
#include <sstream>
#include <iostream>
#include <iomanip>
static std::vector<uint8_t> colToStdVect... | [
"drfelson@gmail.com"
] | drfelson@gmail.com |
96d2076d59e6db1bf58f8c106a14c1376323e548 | ddb3dad3526bd69f5a4ec325694742dd2da53eb4 | /1_PPP 2nd Edition/Chap. 04/4-3.cpp | aceae6d2c33960727ca657837d814041ce692946 | [] | no_license | RapidWorkers/CPP-and-PPP | 026925bda1ffd18e07070797c4fe4813e93d0345 | 1ec0190bf2786781a19cff2fd1ec52f73033a94b | refs/heads/master | 2021-08-07T13:05:31.643097 | 2020-04-22T15:54:05 | 2020-04-22T15:54:05 | 159,464,498 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 865 | cpp | #include "std_lib_facilities.h"
//4장 실습문제 7~11번.
int main(){
double num;
string unit;
double max;
double min;
double sum = 0;
vector<double> v;
while (cin>>num)
{
cin >> unit;
if (unit == "m")
{
v.push_back(num);
}else if (unit == "cm")
{
v.push_back(num/100);
}else if (unit == "in")
{... | [
"RapidWorkers@users.noreply.github.com"
] | RapidWorkers@users.noreply.github.com |
12ca7c31e044a7c4a4ec8d27c100311a847f4eb3 | 9c97f70931759dd048f644d7392085d208718830 | /motivation/num-accesses-by-videos/gen-data/src/conf.cpp | 5e8f3d5f8b91754bb8cf76f9b9ccef5a016e9a07 | [] | no_license | hobinyoon/cp-mec-170730 | 78c81fab322c9d153e053b4989acae9d787884df | d65c9575d58189cfe8193db5dd310cc6e88988b9 | refs/heads/master | 2021-06-24T20:21:33.912195 | 2017-09-14T21:32:35 | 2017-09-14T21:32:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include <iostream>
#include <boost/regex.hpp>
#include "cons.h"
#include "conf.h"
#include "util.h"
using namespace std;
namespace Conf {
namespace po = boost::program_options;
po::variables_map _vm;
void _ParseArgs(int argc, char* argv[]) {
po::options_description od("Allowed options");
od.add_options()
... | [
"hobinyoon@gmail.com"
] | hobinyoon@gmail.com |
4858b972b4446f3217896e4f2758d6877c2816f6 | 520ece9e54fad8a5da4af7f4911b5b8ddde77a59 | /HDU/HDU 3360 National Treasures(最小点覆盖+奇偶建图).cpp | 0527af567b3427c01880ce7c9837c960dbb392b7 | [] | no_license | yyyeader/ACM | cde945fab00d2842ed663f711d9432522fca5836 | de976cbfc2f9d68c5e8dc208cfc5756cc4b0f589 | refs/heads/master | 2020-05-27T07:02:14.125658 | 2019-05-26T11:20:25 | 2019-05-26T11:20:25 | 188,526,628 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,944 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<vector>
#include<queue>
#include<algorithm>
using namespace std;
const int N=1e2+5;
vector<int>v[N*N];
int n,m,xN,yN;
int link[N*N],num[N][N],mp[N][N];
bool vis[N*N];
int dir[][2] = {{-1,-2},{-2,-1},{-2,1},{-1,2},{1,2},{2,1},{2,-1},{1,-2},{-1,0},{0,1},{1,0... | [
"964096646@qq.com"
] | 964096646@qq.com |
abfc5228fa5987dfb2289ba3a8b202157d8c4c93 | 93c3b88b2c7d9a5891d861d20c93edf72b6e85f4 | /esp32_texecom.ino | c82ae7017dd7a6208eab9a6dc6b74e9b9f58f60f | [] | no_license | crashza/arduino | def4448ac110ad07a0965ca98e5e684e8ac455fa | 81d2536ccbfd7623b700020d99b35e23a25c3096 | refs/heads/master | 2022-04-19T19:26:13.658716 | 2020-04-11T22:10:49 | 2020-04-11T22:10:49 | 254,174,311 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,573 | ino | //
// Texecom ESP WiFi Controller/Reader
// MQTT commands and status
//
// Author Trevor Steyn <trevor@webon.co.za>
//
#include <WiFi.h>
#include <WiFiMulti.h>
#include <PubSubClient.h>
#define LED 2
#define ZONES 32
//Global Vars
// Configs
const char* wifiSsid = "AP_NAME";
const char* wifiPassword =... | [
"noreply@github.com"
] | noreply@github.com |
869d4c9cb79fdb98fafca56b9e5d43a86d4682e0 | 4c4a17ddb659849c0e46df83ef910cc5e74a6afd | /src/marnav/nmea/gtd.hpp | af7c028f40ccac4831a612490f95aa9107dd11c2 | [
"BSD-3-Clause",
"BSD-4-Clause"
] | permissive | Kasetkin/marnav | 39e8754d8c0223b4c99df0799b5d259024d240c8 | 7cb912387d6f66dc3e9201c2f4cdabed86f08e16 | refs/heads/master | 2021-01-23T05:03:51.172254 | 2017-03-19T23:08:16 | 2017-03-19T23:08:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | hpp | #ifndef MARNAV__NMEA__GTD__HPP
#define MARNAV__NMEA__GTD__HPP
#include <array>
#include <marnav/nmea/sentence.hpp>
#include <marnav/utils/optional.hpp>
namespace marnav
{
namespace nmea
{
/// @brief GTD - Geographic Location in Time Differences
///
/// @code
/// 1 2 3 4 5
/// | | | | |
/... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
f5ddfb1eb3169e5265b5fb6aac1e9f66b7e35e94 | ce8b793fe89321e1045980a803d0e6d9e3388c9f | /Week_09/387.first-unique-character-in-a-string/Solution.cpp | 2344416d5e37dd941670ac6c517d82819b558b5c | [] | no_license | HaigCode/algorithm021 | 8d6415d37633ea6ae82536e9c62d9795b2f90404 | 71c639a2d1dbf82a9804a91976899ea9369b9d7b | refs/heads/main | 2023-02-26T04:53:15.181246 | 2021-01-31T15:55:27 | 2021-01-31T15:55:27 | 316,988,813 | 0 | 0 | null | 2020-11-29T16:03:47 | 2020-11-29T16:03:46 | null | UTF-8 | C++ | false | false | 379 | cpp | //
// Created by HaigCode.
//
class Solution {
public:
int firstUniqChar(string s) {
unordered_map<int, int> frequency;
for (char ch: s) {
++frequency[ch];
}
for (int i = 0; i < s.size(); ++i) {
if (frequency[s[i]] == 1) {
return ... | [
"haigcode@163.com"
] | haigcode@163.com |
a1e59f82bd9046359ec4fcec7666640705ba4de4 | 26384ca5e851843c6b071d6e54a9303e3e303fe5 | /LAB/LAB 6/EJERCICIO 6.cpp | ac7a739ce549591bd89ecafb8a1d02af3a6ea691 | [] | no_license | F70443969/portafolio00022319 | 6a599afe196f61af1a1807a8e36601c0b5de3fff | d4a5ae2e8a5f417c0cfa96172821e8d201f62617 | refs/heads/master | 2020-07-08T23:28:36.073253 | 2019-11-20T01:17:44 | 2019-11-20T01:17:44 | 203,810,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,922 | cpp | #include <iostream>
using namespace std;
struct nodo{
int info;
struct nodo *izq;
struct nodo *der;
};
typedef struct nodo Nodo;
typedef struct nodo *Arbol;
struct Lista{
int info;
struct Lista *sig;
};
typedef struct Lista lista;
lista *pInicio;
Arbol crearArbol(int x){
Arbol p = new Nodo;
... | [
"54407072+F70443969@users.noreply.github.com"
] | 54407072+F70443969@users.noreply.github.com |
a3d473f0b25bd62d682b1f7cb6964383f47f3df6 | b13817ca05df887a2163c83445dba17be701746f | /node_modules/gdal/deps/libgdal/gdal/frmts/pcidsk/sdk/segment/cpcidskapmodel.h | 6f5266b67ed1a73566e54f23dfd560d595d56408 | [
"LicenseRef-scancode-warranty-disclaimer",
"SunPro",
"LicenseRef-scancode-info-zip-2005-02",
"MIT",
"LicenseRef-scancode-public-domain",
"Apache-2.0"
] | permissive | drownedout/datamap | ba7ac3c9942aa24f96ca01b3ac419a555db93ead | 5909603ee8ab4fa33a774297dfe08271f957029f | refs/heads/master | 2020-04-22T12:53:52.013230 | 2015-09-23T18:12:35 | 2015-09-23T18:12:35 | 42,612,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,159 | h | /******************************************************************************
*
* Purpose: Declaration of the APMODEL segment.
*
******************************************************************************
* Copyright (c) 2010
* PCI Geomatics, 50 West Wilmot Street, Richmond Hill, Ont, Canada
*
* ... | [
"danielcdonnelly@gmail.com"
] | danielcdonnelly@gmail.com |
f19171b1598540ae504075b766fbd2e084ddddd6 | d66c72d9d399a177a0a4b0659dcefddc458e8aca | /vl53l0x/include/VL53L0X.hpp | d1e1b5ebe4980a0538bad6082dc47242b1266032 | [] | no_license | gyroknight/eyeris-mcu | 5b7e582790610b90b97a7c21b9f0432be894661b | e8c44f809969f5642b1dba0886e8041b9cb580b8 | refs/heads/master | 2023-03-31T01:47:46.328880 | 2021-04-09T01:30:16 | 2021-04-09T01:30:16 | 343,229,507 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,658 | hpp | /**
* Most of the functionality of this library is based on the VL53L0X API
*provided by ST (STSW-IMG005) and some of the explanatory comments are quoted
*or paraphrased from the API source code, API user manual (UM2039), and the
*VL53L0X datasheet.
**/
#ifndef _VL53L0X_H
#define _VL53L0X_H
#include <cstdint>
#i... | [
"gyroknight@users.noreply.github.com"
] | gyroknight@users.noreply.github.com |
896494c3221cca29075a26d297ad45a66efb83dd | ca7b94c3fc51f8db66ab41b32ee0b7a9ebd9c1ab | /wallet/universal_lib/include/CommonLib/FileMisc.h | 2fc349fbc882ef5ab44f99713381df88b006d1cb | [] | no_license | blockspacer/TronWallet | 9235b933b67de92cd06ca917382de8c69f53ce5a | ffc60e550d1aff5f0f6f1153e0fcde212d37bdc6 | refs/heads/master | 2021-09-15T15:17:47.632925 | 2018-06-05T14:28:16 | 2018-06-05T14:28:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,504 | h | // Author: TuotuoXP
#pragma once
#include "../Universal.h"
typedef std::list<WIN32_FIND_DATAW> EnumResultList;
#define ED_FILE 1
#define ED_DIRECTORY 2
namespace Universal
{
namespace FileMisc
{
UNIVERSAL_LIB_API bool IsFileExist(LPCWSTR lpszFile, bool bIncludeDirectory = false/* 是否连目录也算 */);
UN... | [
"abce@live.cn"
] | abce@live.cn |
3623ad7514c0886119f7b84aaf4fa2ac90ed5a4a | f81fc0a836e468f2523b77c440333f6b2ebda014 | /SEGUNDO BIMESTRE/Ichau_Alexander_reloj/DEBER3_PERRO_GUARDIAN.ino | d58d34be9cb155d8d3a81e2068423fefcfd561af | [] | no_license | eichaui/Embebidos | 6bde09cce37ba7e9c03490413b9b8b6ccf75c313 | 28e40348f774337b6ce0227d6acb23240ad7e695 | refs/heads/master | 2023-03-11T15:22:38.512022 | 2023-03-06T15:06:32 | 2023-03-06T15:06:32 | 181,587,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | ino | /*
* UNIVERSIDAD TECNICA DEL NORTE
* FICA-CIERCOM
* ALEXANDER ICHAU
* 22-01-2019
Realizar un programa que permita que el conversor análogo digital
configure al perro guardían a 10,20,30 y 40 segundos.
Este proceso se visualiza en una lcd.
*/
#include <MsTimer2... | [
"noreply@github.com"
] | noreply@github.com |
0a92c47ff1998d2dc006547694c769316e5aaa0a | a719c0f7c58c5662b5928bc9dcdb7873c0b5de4e | /src/HertzBoard.cpp | 09730be44ffe1f1e035b1be4b5033d6280bdb793 | [
"MIT"
] | permissive | m2m-solutions/M2M_Boards | d146940458c0f856f702e42a1d2cc8ddaef385d4 | ea026bab7fd34bc09339a55fdbdedfc5ee1a34c5 | refs/heads/master | 2021-07-17T02:42:24.225642 | 2020-04-17T14:56:45 | 2020-04-17T14:56:45 | 139,007,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | cpp | //---------------------------------------------------------------------------------------------
//
// Library for the Mira One radio module.
//
// Copyright 2016-2017, M2M Solutions AB
// Written by Jonny Bergdahl, 2017-05-09
//
// Licensed under the MIT license, see the LICENSE.txt file.
//
//-------------------------... | [
"jonny@bergdahl.it"
] | jonny@bergdahl.it |
9782357e268d299b99a02ee6961bc32802d73442 | cd3833b4f9b39669ad0224a8d2cbea8cb7020d59 | /src/q2557.cpp | a60205427b50657fb3467e7363d9de0230c6ae69 | [] | no_license | nieah914/cpp_algorithm | 1c87fa4adb3a2e80e352cd0c93b5e94c0dc57be0 | a5938a165703af39138aeaebd6159bca10ee0b70 | refs/heads/master | 2020-03-22T06:45:00.559118 | 2018-07-04T02:15:24 | 2018-07-04T02:15:24 | 139,655,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | //============================================================================
// Name : q2557.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <io... | [
"nieah@DESKTOP-P94D4VG"
] | nieah@DESKTOP-P94D4VG |
e044e312d3109fc7b9d46f9f9fc4a5632fc39cdb | 546654962a755ad29be937de1ea82a20586a1f2b | /book/basics/building/Car.hpp | 7b3f8d909beee5fe5e5e2ee350453f079187953b | [
"MIT"
] | permissive | luanics/cpp-illustrated | c8424937b0dc39b3d1bd522106b3261b2856dbff | 6049de2119a53d656a63b65d9441e680355ef196 | refs/heads/master | 2020-03-27T09:52:51.366497 | 2019-04-07T22:50:18 | 2019-04-07T22:50:18 | 146,379,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | #pragma once
// Interface
class Car {
public:
int speedInMph() const;
void go();
void stop();
private:
int speedInMph_;
};
| [
"dsmith@inky"
] | dsmith@inky |
82f99dd04e01c3eec031ef63a7b6cbbb45b66a19 | 4bba3838c668dd4846640a2aa9d4b1f717d15306 | /topcoder/template.cpp | 928ea5b168c86e4d6735a6520ad7550819bf27aa | [] | no_license | dnr2/maratona | 0189fa17b99663aeeb14f389b018865791325d04 | 65163739c645802ac38e605e5706551c3cdf302a | refs/heads/master | 2021-01-15T16:29:31.101196 | 2015-11-27T08:21:21 | 2015-11-27T08:21:21 | 12,200,323 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | // Paste me into the FileEdit configuration dialog
#include <string>
#include <vector>
using namespace std;
#define DB(x) db(x)
#define FT first
#define SD second
#define PII pair<int,int>
#define MP make_pair
const int maxn = 1000;
int dx[] = {0,1,0,-1};
int dy[] = {-1,0,1,0};
class $CLASSNAME$ {
public:
$RC$ $... | [
"dnr2@cin.ufpe.br"
] | dnr2@cin.ufpe.br |
0eed479e4f45fd11099e03f83e2e30742be88609 | e413e4020617f2645f7f3ed89ec698183c17e919 | /ftkGUI/SelectionUtilities.cpp | fc312c8aa1eb3c30c8d14e7141d125a1d067a46b | [] | no_license | YanXuHappygela/Farsight-latest | 5c349421b75262f89352cc05093c04d3d6dfb9b0 | 021b1766dc69138dcd64a5f834fdb558bc558a27 | refs/heads/master | 2020-04-24T13:28:25.601628 | 2014-09-30T18:51:29 | 2014-09-30T18:51:29 | 24,650,739 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | cpp | #include "SelectionUtilities.h"
vtkSelection * SelectionUtilities::ConvertIDsToVTKSelection(vtkIdTypeArray * vtkIDs)
{
/*!
* create a vtk selection from a vtk id array
*/
vtkSmartPointer<vtkSelectionNode> selectNodeList = vtkSmartPointer<vtkSelectionNode>::New();
selectNodeList->SetSelectionList( vtkIDs );
select... | [
"xy198908@gmail.com"
] | xy198908@gmail.com |
dae1346faa48981884c51a8c5b4c12f4f64fcfd5 | 6d32a95ecf5f9eedeb9b64aa9d2415ae189110a8 | /reshoot/reshoot/Character.h | f6251ef1bd08b33812e78b3061b399e4d3eab0fb | [
"MIT"
] | permissive | ashkeys/reshoot | c9412b1202678840d0de59f23861eaf150d7c656 | acc9f7184de062729c8f65b03e7d5482944d0ffd | refs/heads/master | 2021-01-20T11:35:11.613494 | 2014-11-20T09:39:56 | 2014-11-20T09:39:56 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 860 | h | #ifndef __CHARACTER_H__
#define __CHARACTER_H__
/**
* @file Character.h
* @brief Characterクラスヘッダー
*
* @note 凍結中
*/
// include
#include <string>
#include "DrawObj.h"
// 前方宣言
enum DrawType;
/**
* @brief Characterクラス
*
* プレイヤーや敵などの基本となるクラス
*
*/
class Character : public DrawObj{
typedef DrawObj Base; ///< 基... | [
"ashkeys1120@gmail.com"
] | ashkeys1120@gmail.com |
7f1de8154db5e44982e03eaf4af69250a621191a | 41fd2e43649ccc2c9cdd6bbcddf159babdf36dba | /compass/regressions/C++/Inheritance 8/test.cpp | c0670dd6020bd27e14285b4e3ac137e54c19b43d | [] | no_license | fredfeng/compass | 84d37183c11692da77b3c8cf7666c15a5b524390 | 3063df1a86e9473bbd62d52e9002743fd7e90c3b | refs/heads/master | 2020-04-10T11:57:17.616921 | 2015-03-10T16:54:21 | 2015-03-10T16:54:21 | 31,969,036 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,326 | cpp |
enum animal_type {
GENERIC_ANIMAL,
SQUIRREL,
RABBIT
};
class Food {
public:
virtual int get_num_calories() = 0;
static bool is_low_calorie_food(Food* f) {return f->get_num_calories() < 30;};
static bool is_high_calorie_food(Food* f) {return f->get_num_calories() >= 30;};
};
class Carrot: pub... | [
"fengyu8299@gmail.com"
] | fengyu8299@gmail.com |
3a58cd3e67f3a6485a3e01beceb8e4df3d42cc63 | 87daa268a2c2ea9eb2ece3088444fe538706e61a | /lab12/tree/main.cpp | 200244baed7ff2558a355ae724c2e9ed3a180954 | [] | no_license | patryk7891/jimp2 | 659a99437532ac4116324eb1c86cc3a4558db850 | e93c7d224dc2d85d475607c648851aef44dcb54c | refs/heads/master | 2021-01-25T14:22:14.325972 | 2018-06-05T06:36:04 | 2018-06-05T06:36:04 | 123,685,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59 | cpp | //
// Created by mikolaj on 29.05.18.
//
#include "Tree.h" | [
"mikiogarek@gmail.com"
] | mikiogarek@gmail.com |
1b914e5d89541aaeedc1aa438ec831c18ccb4a36 | 92d57a900758d96f9aadbdb9d1a3b9fa6c1a8fa3 | /cpp/process.cpp | 26f69fe9673acc3e27210ad20c35849871b8a3de | [] | no_license | phreeza/planetwars_bot | 055ce6164b0e2aa3cde4e0fb7da51ec0498c5245 | 023f10461445f5d22e86853b5a59341f04d5e42e | refs/heads/master | 2021-03-12T22:19:42.739702 | 2010-11-28T21:39:38 | 2010-11-28T21:39:38 | 1,120,208 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | cpp | /*
* process.cpp
* PlanetWars
*
* Created by Albert Zeyer on 15.09.10.
* code under GPLv3
*
*/
#ifndef _WIN32
#include <iostream>
#include <vector>
#include <string>
#include <stdio.h> // strerror etc
#include <unistd.h> // pipe, fork, etc
#include <errno.h>
#include <signal.h> // kill etc
#include <fcntl.... | [
"tom@Thomas-McColgans-MacBook.local"
] | tom@Thomas-McColgans-MacBook.local |
c5c1b92635b90057c466852167f07ccb1bdc93d6 | 8e78505d5f48d9df121c6c32b45bb902c1f6653f | /webserver/Statistics.cpp | 7b8316cee469e92266cc46bc52c6775eb8977f74 | [] | no_license | ariszaf/syspro3 | a9ab0c4fa014f81aa7ae5dce52325c3f80e45abc | 7a9dbe7b8363ac64d05f5e39e372694508da5444 | refs/heads/master | 2020-05-21T09:45:14.900366 | 2019-05-10T14:50:28 | 2019-05-10T14:50:28 | 186,004,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | cpp | #include <cstring>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include "Statistics.h"
Statistics::Statistics() : bytes(0), pages(0) {
pthread_mutex_init(&lock, 0);
}
Statistics::~Statistics() {
pthread_mutex_destroy(&lock);
}
// Server up for 10:02:03.45, served 124 pages, 345539 bytes
char* ... | [
"sdi1100169@di.uoa.gr"
] | sdi1100169@di.uoa.gr |
d4348a0b2847cf3ab98ce9d44738f0d06f34b85c | 2fa880c8a06d635eb11ccf9e64b77382e3e825fa | /LUCKY47.cpp | 6ae9d7d04a88694d08bd4855fd5fff49e343aa67 | [] | no_license | AtomicOrbital/SPOJ_PTIT | 469e2acf66d4cd8851cc653c0df78f7c5f9d2625 | d80395a87a13b564bfa370bb299e1216b3781a9e | refs/heads/main | 2023-06-06T04:53:27.359301 | 2021-06-21T17:27:03 | 2021-06-21T17:27:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include<iostream>
using namespace std;
long long n,s;
void dfs(long long x,int s4,int s7)
{
if((x>=n)&&(s4==s7)&&((x<s)||(s==0)))s=x;
if(x<n*100)
{
dfs(x*10+4,s4+1,s7);
dfs(x*10+7,s4,s7+1);
}
}
int main()
{
cin>>n;
dfs(0,0,0);
if(n==0)s=47;
cout<<s;
}
| [
"noreply@github.com"
] | noreply@github.com |
e1d845930d741c9e4583420c39a3bceda55140e3 | a4d2162b012b1bae5c5d435bd1ccc1ffd6bf1e41 | /HackerRank/Minimum Loss.cpp | d8993f2ef787a6936ac6e9cc3059f079d6976edb | [] | no_license | Shadat-tonmoy/ACM-Problem-Solution | dedd1f6a9d35c418c008622c310912b498abf875 | cc11267da7f73b45b3cd75719d313cf09e364653 | refs/heads/master | 2022-04-08T17:21:56.984194 | 2020-03-08T05:25:38 | 2020-03-08T05:25:38 | 110,290,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include<bits/stdc++.h>
using namespace std;
long long int num[200005];
int main()
{
long long int i,j,k,l,m,n,a,b,c,maxi,pos,mini;
while(cin>>n)
{
map<long long int,long long int> index;
for(i=0; i<n; i++)
{
cin>>num[i];
index[num[i]] = i;
... | [
"shadat.tonmoy@gmail.com"
] | shadat.tonmoy@gmail.com |
8505dfc1f5f2f6c7bbd43ae150489887f1cba496 | a99c71bde9b080549d3a1c770ba6401a65b13516 | /work 2017/fingerprint_bluetooth_slave/fingerprint_bluetooth_slave.ino | 47530ecfb029a75d418277003fc7cc8d25ecad1f | [] | no_license | thulfekar/arduino-simple-projects | 6a74028b7a98a3d243af919da79ea13ce989d1e3 | f95e404b7d02bfc0c0002ff12e68cb14b25fb837 | refs/heads/master | 2021-09-03T11:12:53.591408 | 2018-01-08T15:55:41 | 2018-01-08T15:55:41 | 116,693,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | ino | char command ;
#include <LiquidCrystal.h>
LiquidCrystal lcd(19, 18, 17, 16, 15, 14);
void setup() {
// put your setup code here, to run once:
lcd.begin(16, 2);
Serial.begin (9600);
lcd.setCursor(3, 0 );
lcd.print(" WELCOME ");
}
void loop() {
// put your main code here, to run repeatedly:
while (!Seri... | [
"noreply@github.com"
] | noreply@github.com |
752ebf8da55f6dedda30f52a0fc5c6514d6e180a | c1b099926e6f1cdad6865d0b2e9d3569d7cbbff3 | /src/AglFragmentShaderPNT.cpp | 9574a7084eb579f10c553417ee57827d0a3559fe | [
"MIT"
] | permissive | philiphubbard/Agl | 6980df43b5d0ce72d65448d582f551c0406791e6 | 7ee5c6911d4cf2199f1ebf56f28d01d3e051e789 | refs/heads/master | 2016-09-06T02:54:18.531275 | 2013-12-10T04:37:03 | 2013-12-10T04:37:03 | 12,683,823 | 1 | 0 | null | 2013-12-10T04:37:03 | 2013-09-08T16:38:04 | C++ | UTF-8 | C++ | false | false | 1,818 | cpp | // Copyright (c) 2013 Philip M. Hubbard
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... | [
"philip2@Philips-MacBook-Pro.local"
] | philip2@Philips-MacBook-Pro.local |
909600d0b897f956f0c0b0540529dd4ca0223905 | e8b9b8a44705a4b8241d83cfcca89bd9fe0a396c | /Sources/CTRPluginFrameworkImpl/System/EventManager.cpp | 0bd937414fb034d822ccdfd22253fbf092018c7b | [] | no_license | Zetta-D/CTRPluginFramework-Source-Code | f998bb8b05196cbcb92f3eafbe99163625731c58 | 64e5125324cbd1fc3474ff6264fd592a5a0e0232 | refs/heads/master | 2022-12-05T10:47:08.961846 | 2020-08-26T13:14:54 | 2020-08-26T13:14:54 | 287,932,861 | 7 | 2 | null | 2020-08-24T20:11:47 | 2020-08-16T11:45:24 | C++ | UTF-8 | C++ | false | false | 15,706 | cpp | /* This file has been generated by the Hex-Rays decompiler.
Copyright (c) 2007-2017 Hex-Rays <info@hex-rays.com>
Detected compiler: GNU C++
*/
#include <defs.h>
//-------------------------------------------------------------------------
// Function declarations
CTRPluginFramework::EventManager *_... | [
"noreply@github.com"
] | noreply@github.com |
c276e251e385049fe58740af230044e901006f43 | b56afd085c7d90919507fb37d6cb812f268a617a | /include/gf/ColorRamp.h | 6b1e6dbc269648152c093b17b09843ebb88f5a87 | [
"Zlib",
"MIT",
"BSL-1.0"
] | permissive | GamedevFramework/gf | b606cd3a2619115565c05c15610aaeda40bd5a4f | a7bf9d9dfe86a1ecd47c38915a3c0322630dd50f | refs/heads/master | 2023-09-03T20:13:10.972644 | 2023-08-29T06:53:10 | 2023-08-29T06:53:10 | 54,277,592 | 201 | 52 | NOASSERTION | 2023-01-12T16:24:46 | 2016-03-19T17:13:43 | C++ | UTF-8 | C++ | false | false | 3,680 | h | /*
* Gamedev Framework (gf)
* Copyright (C) 2016-2022 Julien Bernard
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software fo... | [
"julien.bernard@univ-fcomte.fr"
] | julien.bernard@univ-fcomte.fr |
c7f18bd7e4e4123d207bc6baf249d48041ad5028 | 82bba04be05e518845b99d749a3293668725e9e7 | /QHG3/genes/CrossComp.cpp | 69f73fdf2fa8c030664c5b00efa07fe816971b3c | [] | no_license | Achandroth/QHG | e914618776f38ed765da3f9c64ec62b983fc3df3 | 7e64d82dc3b798a05f2a725da4286621d2ba9241 | refs/heads/master | 2023-06-04T06:24:41.078369 | 2018-07-04T11:01:08 | 2018-07-04T11:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,799 | cpp |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <hdf5.h>
#include <map>
#include <vector>
#include <algorithm>
#include "ParamReader.h"
#include "LineReader.h"
#include "types.h"
#include "strutils.h"
#include "QDFUtils.h"
#include "QDFArray.h"
#include "QDFArray.cpp"
#include "CrossDistMat.h"
#in... | [
"jody@aim.uzh.ch"
] | jody@aim.uzh.ch |
cc7c62249a5dd1ebe57c83ad1402e1fcfd11fc02 | b7142e895c186b8bd50e543fa082ddff4e63ab3e | /src/main.cpp | 2979647aaa99e8176591d29987be8fc6dba81e68 | [] | no_license | rChen10/g6-shapes | ab207eddefef4133863f23c91dc17387eeca2fb7 | ec8f168351cd1b472ade3a00fd78e1824ab60890 | refs/heads/master | 2021-04-09T10:47:18.556121 | 2018-03-19T18:46:22 | 2018-03-19T18:46:22 | 125,523,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include "../include/parser.h"
int main(int argc, char **argv){
screen s = screen(500, 500);
matrix transform = matrix(4, 4);
matrix edges = matrix();
if(argc > 0){
std::cout << "reading script...";
parse_file(argv[1], transform, edges, s);
}
else
return 1;
}
| [
"rchen10@stuy.edu"
] | rchen10@stuy.edu |
76b1930b33afffde2800c2a625722534e0580056 | 582ecfc2e57b66d2aa6e1623524b0936d2fc436f | /include/geng/graphics/Shaders.h | 1102047161b709a4141601484a498e160d15d78a | [] | no_license | grynca/geng | 3950018e14b349d18e6ea0e866022f10d1f25316 | 92b760b7b06bc8b46c2a089423ec0b33a9d63abe | refs/heads/master | 2021-05-15T01:44:22.905486 | 2018-03-06T11:10:25 | 2018-03-06T11:10:25 | 40,620,852 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | h | #ifndef SHADERS_H
#define SHADERS_H
#include "types/Manager.h"
namespace grynca {
// fw
class Shader;
class Window;
class Shaders : public ManagerSingletons<Shader> {
public:
Shaders(Window& w);
Shader* getBoundShader();
Window& getWindow();
std::string getTypes... | [
"grynca@gmail.com"
] | grynca@gmail.com |
7eb1ab4819da4bd6a0d018c64fa65526beec8b5b | 2c37c298a494ed37bff11b0b240371eaba6575b7 | /0543/main.cpp | 902cdb9548ff5d1548ccb9ae9f44b651414e093f | [] | no_license | chichuyun/LeetCode | 04ec78bf5b05d4febfd8daff5e0e0145cfcfacf4 | 44752f2b58cd7a850b8e02cd3735f93bb82bcb85 | refs/heads/master | 2021-06-04T11:03:04.297131 | 2020-11-19T14:48:32 | 2020-11-19T14:48:32 | 148,440,792 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
private:
int depth(TreeNode* root, int& ans) {
if(!root) return 0;
int L=0, R=0;
... | [
"442307054@qq.com"
] | 442307054@qq.com |
3e955069cce794d70aa4c20b1e907b9214282569 | 30b7ffd17845db982883a91ce8d04551281658c4 | /Codeforces/Educational/Educational 75/B.cpp | b758ac967f608caf4c2141fc922de9575fc2803e | [] | no_license | shas9/codehub | 95418765b602b52edb0d48a473ad7e7a798f76e5 | bda856bf6ca0f3a1d59980895cfab82f690c75a2 | refs/heads/master | 2023-06-21T01:09:34.275708 | 2021-07-26T14:54:03 | 2021-07-26T14:54:03 | 389,404,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,190 | cpp | #include <bits/stdc++.h>`
#define slld(longvalue) scanf("%lld", &longvalue)
#define plld(longvalue) printf("%lld\n", longvalue)
#define slf(longvalue) scanf("%lf", &longvalue)
#define plf(longvalue) printf("%lf\n", longvalue)
#define sc(letter) scanf("%c", &letter)
#define pc(letter) printf("%c", letter)
#... | [
"shahwathasnaine@gmail.com"
] | shahwathasnaine@gmail.com |
895de775a6d0277aba4b9f81529de647116480c8 | f6355f5fcd17ff3531e694c2ba544df3905b1a48 | /Utils/bin/FakeRate_TTbar.cpp | 15f45688ecbd5bfba59477d2d8a8941736a5e7d5 | [] | no_license | jasperlauwers/FakeRate | dbb6833bc6ff9e7d955a188317c9d554739c4a5d | 917f52dcc8b0a3ca38dd8b2d5db03d3f0f51d1da | refs/heads/master | 2020-06-04T22:25:57.780780 | 2015-08-24T13:35:20 | 2015-08-24T13:35:20 | 29,358,201 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 28,875 | cpp | // C++ includes
#include <iostream>
#include <cmath>
#include <vector>
#include <dirent.h>
#include <time.h>
#include <iomanip>
// ROOT includes
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TClonesArray.h"
#include "TH2F.h"
#include "TCanvas.h"
#include "TMath.h"
#include "TChain.h"
#include "T... | [
"jasper.lauwers@uantwerpen.be"
] | jasper.lauwers@uantwerpen.be |
733f74214854f849342f09b109acec6be6f341d6 | 38de6b6ac97be636849da93ed0481286a15e973f | /ffmpeg/src/main/cpp/ffmpeg-player/VideoChannel.h | 490712a4d6bb07d5ade1d096d1e893df01b92713 | [] | no_license | tainzhi/VideoPlayer | cbecde10d17321da6f58a9760d4728d5a10d4142 | f82b1b34e7841dd20843c26cb3e6bd1ed6275cdd | refs/heads/master | 2022-02-19T15:50:13.320798 | 2022-02-14T00:08:02 | 2022-02-14T00:08:02 | 55,685,709 | 49 | 8 | null | 2022-02-14T00:08:03 | 2016-04-07T10:29:12 | C | UTF-8 | C++ | false | false | 927 | h | #ifndef NDK_SAMPLE_VIDEOCHANNEL_H
#define NDK_SAMPLE_VIDEOCHANNEL_H
#include "BaseChannel.h"
#include "AudioChannel.h"
#include <unistd.h>
extern "C" {
#include <libswscale/swscale.h>
#include <libavutil/imgutils.h>
}
typedef void (*RenderCallback)(uint8_t *, int, int, int);
class VideoChannel : public BaseChanne... | [
"qfq61@qq.com"
] | qfq61@qq.com |
657cdcdf137dcc574ba51a7fdb71ec29493fb7df | e893340c8a9d2f4b40b242f2d7f6c789645b6a24 | /Proteomics/Protein/Protein.cpp | a1aa630ec6c8bf06c7f2738826254057bf087de0 | [] | no_license | edgargabriel/HPCmzLib | f3a57307985b1aacf401d4c3ac1d64ca32cf81e1 | dd54d285e9bbc27aba18f0b3077c9221581d8748 | refs/heads/master | 2023-06-30T19:44:33.748636 | 2020-07-30T14:13:16 | 2020-07-30T14:13:16 | 283,791,032 | 0 | 0 | null | 2020-07-30T14:01:47 | 2020-07-30T14:01:46 | null | UTF-8 | C++ | false | false | 13,089 | cpp | #include "Protein.h"
#include "../Modifications/Modification.h"
#include "SequenceVariation.h"
#include "DisulfideBond.h"
#include "SpliceSite.h"
#include "ProteolysisProduct.h"
#include "DatabaseReference.h"
#include "../Modifications/ModificationLocalization.h"
#include "stringhelper.h"
//using namespace Proteomic... | [
"egabriel@central.uh.edu"
] | egabriel@central.uh.edu |
e7921764a3eec423b80566394c3b4d8a52aab00a | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Game/DummyClient/XDummyBot_WarpField.cpp | f992faa29db4093fd0353b2d39e71d0fc7dcb487 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,626 | cpp | #include "StdAfx.h"
#include "XDummyBot_WarpField.h"
#include "XBirdDummyAgent.h"
#include "XDummyMaster.h"
#include "XDummyHelper.h"
#include "CCommandResultTable.h"
#include "XFieldInfo.h"
#include "MCsvParser.h"
XDummyBot_WarpField::XDummyBot_WarpField(XBirdDummyAgent* pAgent, XDummyAgentInfo* pAgentInfo... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
7264ff935bcc656938f0d66ae6ec135670c6b5a3 | 9c6fe966772eb3bf240b4f344001f086a4261612 | /POV_Display.ino | f55db35fd8a593b340a9fe9790874fb11b49c707 | [] | no_license | danielj-n/POV-Display | c4cee4672f7fa2a9fc7cc650281cecc560d7a19c | f86484042eff9c51f3cb738f70e1ed2c455bd5d0 | refs/heads/master | 2021-05-10T11:04:29.445660 | 2018-01-22T03:37:20 | 2018-01-22T03:37:20 | 118,400,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,195 | ino | #include <SPI.h>
#include <WiFi101.h>
#include <WiFiUdp.h>
unsigned long timeToGoAround = 9000;
int currentByte = 0;
int currentFrame = 0;
int currentImage = 0;
byte numOfImages = 1;
byte FPR = 90;
byte pauseTime = 0;
byte*** Images;
byte* inputBuffer;
char ssid[] = "(SSID)";
char pass[] = "(PASSORD)";
unsigne... | [
"noreply@github.com"
] | noreply@github.com |
74dde971a5d961a82ccfefef9532cb12e0b1e778 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/numeric/kdtree/KDTree.hh | 641d8644f8c58fdcc56b131b15cbe1699a43650b | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
2e75f933d16b6284ccb8c221c6dd2fa817a9ad72 | 75149a083591df706166e5849e1480ee665be039 | /multiThreadCalc.cpp | 527f2bbdc2ad36965de1a38fe297b67906936b39 | [] | no_license | BlackLuny/MyCode | f89917ee1766fe3567f7e6f0798c9ee3d56e2502 | 40be241725453ec7d307cab96d1d4b3c71fbce6e | refs/heads/master | 2021-01-22T01:18:06.280538 | 2018-07-19T01:00:54 | 2018-07-19T01:00:54 | 102,215,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,514 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <list>
#include <set>
#include <map>
#include <sstream>
using namespace std;
class calc;
template <class T>
string ouput_pack(vector<T> &vec,string op)
{
ostringstream os;
for (int i = 0; i < vec.size(); ++i)
{
if (i!=0)
os<<op<<vec[i];
else
... | [
"noreply@github.com"
] | noreply@github.com |
8cb5f5e0d004480d4d539217205617f8fd227679 | e1f96e7f7420ab6b8278b5d928f7dacd09fcff55 | /inc/logger.h | fc73c77278ea805accae9e4d74a27e2595e2ff2b | [] | no_license | sgh1/dev-lib | 42083df8ad560586dc0975d0b837c425899e57c9 | 68681f04780fdba2b02ab89afabff1c1b3a3c31e | refs/heads/master | 2021-08-16T02:43:47.466637 | 2017-11-18T21:31:15 | 2017-11-18T21:31:15 | 111,161,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,284 | h |
//
// Logger adapted from Dr. Dobbs article, "A Lightweight Logger for C++",
// By Filip Janiszewski, January 31, 2013
//
#ifndef LOGGING_H_
#define LOGGING_H_
#include <memory>
#include <mutex>
#include <string>
namespace devlib
{
namespace logging
{
// Interface for logging policies.
class log_policy_inte... | [
"sean@my.desk"
] | sean@my.desk |
ded08e5ec6c8d6f1f345d40335c3a29228c1943a | 9b353d433c44caad3709c45cb762f271ffeeb2b7 | /Dependencies/SFML/linux/include/SFML/Graphics/VertexBuffer.hpp | fc3ab1fac82a4041722c709cddfd59a0db798f17 | [] | no_license | igobrado/Memory | bc281ce1916f4c9cd8b8b93103bd961a8a104690 | 272d907440bed6e0917f7b4fdf203256da4e0e63 | refs/heads/master | 2023-06-06T07:03:36.226040 | 2021-06-28T10:44:46 | 2021-06-28T10:44:46 | 380,996,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,789 | hpp | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | [
"extern.igor.obradovic@porsche.de"
] | extern.igor.obradovic@porsche.de |
d86985f61f3cc642e7af84ad78e61d116227c808 | ed49bcc399ac0f2686848cd7374e1e601625bd82 | /src/http2.cc | 22a739429137dca860ca0d098bc7aea59944a9bc | [
"MIT"
] | permissive | liuwei000000/nghttp2 | f366b1f45d4c49fdffc0dfaab8472bbb441c8094 | 05f982dcfb21f0892e04a9abe5d240db293ad6b3 | refs/heads/master | 2021-01-18T05:57:56.668079 | 2014-08-07T14:27:13 | 2014-08-07T14:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,414 | cc | /*
* nghttp2 - HTTP/2 C Library
*
* Copyright (c) 2012 Tatsuhiro Tsujikawa
*
* 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 ri... | [
"tatsuhiro.t@gmail.com"
] | tatsuhiro.t@gmail.com |
f016c23f7c1266d28b7673bdc706f629d4b19c2c | 24f377ba9be8984cb9e136aee46e544f16f1a277 | /app/src/main/cpp/opengl/WlFilterYUV.cpp | df62d0a35f9d6454118f239e9e8b476d7568360f | [] | no_license | toberole/temp_xxxx | 9652fd5317abbf828ab097105f1ab5456ef99f42 | 978c09b19dba579f8dde68c1613905b0ab521791 | refs/heads/master | 2022-11-17T16:45:30.387379 | 2020-07-17T12:38:16 | 2020-07-17T12:38:16 | 280,420,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,947 | cpp | //
// Created by yangw on 2019-4-11.
//
#include <cstdlib>
#include "WlFilterYUV.h"
WlFilterYUV::WlFilterYUV() {
}
WlFilterYUV::~WlFilterYUV() {
}
void WlFilterYUV::onCreate() {
vertex = "attribute vec4 v_Position;\n"
"attribute vec2 f_Position;\n"
"varying vec2 ft_Position;\n"
... | [
"zhouwei215664@sogou-inc.com"
] | zhouwei215664@sogou-inc.com |
61ea0b13e5005deca0d2473bec99a44479270067 | 918007d35dd24d34b17203d9867b57a37223c868 | /thrift/lib/cpp2/transport/rsocket/test/StreamingTest.cpp | 840ed78de7d75795a2a05cab1c2c91367efe3220 | [
"Apache-2.0"
] | permissive | lucyge/FBThrift | fed5e0d927740a97f7ebcb9e457c6ddc5567f1af | 2cb49e1c1ee1712416db9cc1f4b833382b04d8cd | refs/heads/master | 2020-03-31T11:04:37.222776 | 2019-01-14T01:03:48 | 2019-01-14T01:03:48 | 152,162,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,153 | cpp | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"shufange@hedviginc.com"
] | shufange@hedviginc.com |
469f395a38ff7feef3b91bcd78113906ab1f8ca6 | 4864529f1b5b41e5f62b54d6b8a7353ac18ef9b7 | /include/controllers/axis/NoDeadbandValue.h | be49f051cbd84bd969757181437d6e17433e2e9f | [
"MIT"
] | permissive | Team302/2019DestinationDeepSpace | 14bc179f70bd43d82e348a16caab5c57011b5f8b | 65f96cfeba1ee9d8d29a1412fed80b598d95a1aa | refs/heads/master | 2020-04-15T14:18:13.990918 | 2019-07-29T01:31:42 | 2019-07-29T01:31:42 | 164,750,317 | 1 | 1 | MIT | 2019-03-20T22:01:54 | 2019-01-08T23:29:05 | C++ | UTF-8 | C++ | false | false | 3,490 | h |
/*========================================================================================================
* NoDeadbandValue.h
*========================================================================================================
*
* File Description: Returns raw value without a deadband
*
*===========... | [
"noreply@github.com"
] | noreply@github.com |
73f6c92e7309be5ffaedb1aa9e6778d46a27f3e8 | 676c8ff64fb2b9d6bcaa21f08f030c7885baa58d | /bin/src/trilateral3/matrix/MatrixDozen.cpp | 415b50f36e4103ede5af42a9d37ba05a926af162 | [
"MIT"
] | permissive | TrilateralX/TrilateralGluonSVG | 3854174499ec013088113a3aa4a04eb1c4f1628c | 40e893bff12b8d7dfd69bc2b51c375adf76a88e6 | refs/heads/master | 2022-10-18T14:14:20.323143 | 2020-06-11T13:49:39 | 2020-06-11T13:49:39 | 271,168,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 6,483 | cpp | // Generated by Haxe 4.2.0-rc.1+354c24d30
#include <hxcpp.h>
#ifndef INCLUDED_trilateral3_matrix_MatrixDozen
#include <trilateral3/matrix/MatrixDozen.h>
#endif
namespace trilateral3{
namespace matrix{
void MatrixDozen_obj::__construct(Float a,Float b,Float c,Float d,Float e,Float f,Float g,Float h,Float i,Float j,Fl... | [
"none"
] | none |
c7816c1b12bce39f9d00bad9ec36a065bc935e5b | b3fe10c73eb8dd6fdaa8005698896fd433b0eeae | /binary.cpp | 62867771b0737b261bb2174bd02a526d871dbc8b | [] | no_license | DDUC-CS-Sanjeet/binarysearch-shruti2726 | c3dcc3f42323f828f12cd7ec26cf4ed9cf61cb35 | 854a8611ea727f26f0b1bfff2e4366c715a3d4ba | refs/heads/master | 2020-12-14T21:51:09.861449 | 2020-01-24T16:38:13 | 2020-01-24T16:38:13 | 234,881,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,549 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
bool binarySearchIterative(int* array, int startIndex, int lastIndex, int element)
{
int midindex;
sort(array,array+lastIndex);
while(startIndex<lastIndex)
{
midindex=(startIndex+lastIndex)/2;
if(array[midindex]>element)
{
lastI... | [
"noreply@github.com"
] | noreply@github.com |
90d6535de1c94f7aab05cfd901854adedc49c5ad | 5d4b70ac5e555e3c8b68534ef1790ce041a0f65e | /include/slg/textures/densitygrid.h | 366ca027f71b20e01b7eb6b8610bc02d06e353ab | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | LuxCoreRender/LuxCore | eddb0e3710cbc8fa28cb80f16d908f1ec3cc72db | 2f35684a04d9e1bd48d6ffa88b19a88871e90942 | refs/heads/master | 2023-08-17T01:28:23.931381 | 2023-05-28T22:25:00 | 2023-05-28T22:25:00 | 111,695,279 | 1,055 | 154 | Apache-2.0 | 2023-08-03T20:21:05 | 2017-11-22T14:36:32 | C++ | UTF-8 | C++ | false | false | 3,451 | h | /***************************************************************************
* Copyright 1998-2013 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | [
"dade916@gmail.com"
] | dade916@gmail.com |
231d8282bdce383f63deeafde248c30c5fc37059 | dc25b23f8132469fd95cee14189672cebc06aa56 | /vendor/mediatek/proprietary/hardware/mtkcam/legacy/platform/mt6795/include/mtkcam/algorithm/libsync3a/AppSyncAf.h | 72ad7a2772c8be7eb07f1fea5b7d93ebb1ce65e5 | [] | no_license | nofearnohappy/alps_mm | b407d3ab2ea9fa0a36d09333a2af480b42cfe65c | 9907611f8c2298fe4a45767df91276ec3118dd27 | refs/heads/master | 2020-04-23T08:46:58.421689 | 2019-03-28T21:19:33 | 2019-03-28T21:19:33 | 171,048,255 | 1 | 5 | null | 2020-03-08T03:49:37 | 2019-02-16T20:25:00 | Java | UTF-8 | C++ | false | false | 4,678 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"fetpoh@mail.ru"
] | fetpoh@mail.ru |
6695061e0bee2ef4b9db9391c398948c0118cd57 | 610dfa590d5863e9465cc5a07a2045c9ee0c9385 | /src/Externals/boost/libs/thread/test/sync/futures/async/async_pass.cpp | 347dd884f02fa56e3609241cf62b0d3a8c88d7fe | [
"BSL-1.0"
] | permissive | SCI-ElVis/ElVis | f275322dea593ed39c4771b072399573819624c0 | 7978b5898ef7d0a0f7711c77dda0e69167716efa | refs/heads/master | 2021-01-01T06:18:45.390678 | 2015-10-19T09:00:23 | 2015-10-19T09:00:23 | 8,036,991 | 14 | 4 | null | 2020-10-13T00:43:47 | 2013-02-05T20:11:59 | C++ | UTF-8 | C++ | false | false | 17,074 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"gpayne@155-99-168-187.uconnect.utah.edu"
] | gpayne@155-99-168-187.uconnect.utah.edu |
36c4a12264df69e7f48fbe69cd725a36380017a4 | 69d178c2d42d715f3ecfdb58ca782b2493b2bb44 | /src/main.cpp | 8d786a3ef5542b4c9940e3b3135bf66ae98abcd7 | [] | no_license | slowbull/AsyDSPGplus | 160a89e007515fcc943fe911630aa5811dbd93ad | 30f0a9acbf1a4d2b7277dab1baeeb0e53a9138d8 | refs/heads/master | 2020-04-19T20:13:42.927891 | 2019-01-30T20:38:16 | 2019-01-30T20:38:16 | 168,408,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | /*
* Copyright 2016 [See AUTHORS file for list of authors]
*
* 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 require... | [
"huozhouyuan@gmail.com"
] | huozhouyuan@gmail.com |
9ec25abfde7b611b29c86a822b14bdca9cb9bfed | f19a734ebeaa22ae0d8a0d347aea5810f159d9bc | /Persistent Segment Tree (Zhuxi Tree)/BZOJ1901.cpp | cc102e3c54b7f95e141fcdbcae44027f39576a77 | [] | no_license | iiyiyi/solution-book-till-2020 | 2d0b75dc9e1468d846b176551acaa2a930428afb | faf1c04735627df8ee600b55d72df9bec50089b5 | refs/heads/master | 2023-03-07T05:54:48.824987 | 2021-02-20T10:59:55 | 2021-02-20T10:59:55 | 340,558,407 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,924 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<vector>
#include<algorithm>
#define lson l,m
#define rson m+1,r
using namespace std;
const int MAXN=60000+50;//注意要开60000,原来50000个数加修改操作中可能另外出现的10000个数
int n,q,tot,m,d;
struct node
{
int l,r,k,Q;
}op[MAXN];
int a[MAXN<<2],hash[MAXN<<2],T[MAXN<<2],S[MAXN<<2]... | [
"yicai0123@outlook.com"
] | yicai0123@outlook.com |
029b5dd121f4af6e98560e0dc251a7f6815d6cce | d20e0e77ef5b6dbeaa84eda184d2566d834d0ab0 | /DeleteNodeInABST_450.cpp | 1ef6823ff0751910bebefd21b290008014faeecc | [] | no_license | tridibsamanta/LeetCode_Solutions | 4cdd53c0c5f62ed346c23fa02224d1dc225cfa2e | 983bc7552820460a45543b7e491a19981a7c1296 | refs/heads/master | 2023-07-26T02:49:28.142041 | 2023-07-14T04:55:17 | 2023-07-14T04:55:17 | 245,427,239 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | cpp | /*
~ Author : leetcode.com/tridib_2003/
~ Problem : 450. Delete Node in a BST
~ Link : https://leetcode.com/problems/delete-node-in-a-bst/
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(... | [
"noreply@github.com"
] | noreply@github.com |
4c7e2927e5d014d65e982fc836b12f1dd0e7495f | c3bbdbbbc5f47577e332a280f81bd905617423c9 | /Source/AllProjects/CommUtils/CIDWebSock/CIDWebSock_WSEngine.hpp | 04804e787f77c41f073fb2ebffd451884394ca1b | [
"MIT"
] | permissive | DeanRoddey/CIDLib | 65850f56cb60b16a63bbe7d6d67e4fddd3ecce57 | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | refs/heads/develop | 2023-03-11T03:08:59.207530 | 2021-11-06T16:40:44 | 2021-11-06T16:40:44 | 174,652,391 | 227 | 33 | MIT | 2020-09-16T11:33:26 | 2019-03-09T05:26:26 | C++ | UTF-8 | C++ | false | false | 11,793 | hpp | //
// FILE NAME: CIDWebSock_WSEngine.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 05/24/2017
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opens... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
36bdd5edf60eec48fe2160dc9f117f020807d0de | 733ce5efa9fa9c0e3881132caa87b28719c23316 | /projects/qgfx/include/qgfx/vulkan/vulkan_window.h | 89df475d8df027fe03272aeacc18bd437b60e3ca | [
"MIT"
] | permissive | Quadrion/qgfx | 1eeaa9ac57e5c01b71c9e9194cc48a429ebbecf2 | e853d5e357df052e0c09d4678c43ed96b4998778 | refs/heads/master | 2020-04-16T08:50:05.273804 | 2019-02-02T22:25:44 | 2019-02-02T22:25:44 | 165,439,946 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | #ifndef vulkan_window_h__
#define vulkan_window_h__
#include "qgfx/api/iwindow.h"
#include "GLFW/glfw3.h"
class VulkanWindow : public IWindow
{
public:
VulkanWindow();
~VulkanWindow();
void construct(const WindowCreationParameters& params) override;
void construct(const uint32_t width, const uint32_t heigh... | [
"roderick.griffioen@gmail.com"
] | roderick.griffioen@gmail.com |
7bdfeaac132ecd1bc91dc41163f4a8a0bf25bab7 | 87909cb9d4d17eb5e403a907179befe40d94823e | /Chapter4/4.10.cpp | f9afa82ddeaba3a824a5f6bfaf38355559dfc842 | [] | no_license | DUNDUN-ww/C--Practices | 7c7975a821e69170f397881d8ea886a3ca95bb85 | fac46083e6076835501cf416064f3b2cbd21c9ed | refs/heads/main | 2023-06-17T16:21:45.148010 | 2021-07-25T15:13:54 | 2021-07-25T15:13:54 | 367,222,295 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include<iostream>
using namespace std;
int main()
{
int num;
while (cin >> num && num != 42)
{
cout << num << endl;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
449dabece9dbfb8bfe77ba43103c3e32ee69c29a | 33cda0dda919ec510727092a5e7c8ed7ed487b47 | /rover.ino | 554eff9e54fb77d26f10e3f796499a1cd82e1027 | [] | no_license | usfsoar/NSL_17-18_Rover | 79dbf5e0b32aaff890502c06af596ad895c22a41 | 43e2f68cdffcff6c649341a12f854d4415c0705d | refs/heads/master | 2021-09-11T13:34:02.635265 | 2018-04-08T01:52:50 | 2018-04-08T01:52:50 | 110,897,521 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | ino |
#include <SoftwareSerial.h>
//SoftwareSerial xbee(1,0);
String readString;
void setup()
{
Serial.begin(9600);
Serial.println("rover is ready");
}
void loop() {
while (Serial.available()) { //as long as there is data on incoming serial buffer...
//Characers are read from the seria... | [
"noreply@github.com"
] | noreply@github.com |
bb9b311f7084238f9e4eabdabd4a01561fecf327 | 1f0a59409972f72a2a766e2c33927f5aaf6646a6 | /ex2/FilterTwo.cpp | cafbe8ea8eb818b1b4476a535c1ba607e28fb7fa | [] | no_license | BorisKolev/Cpp-Assignment | e671a15b5a246a29261bdea8483402188fd8b39e | 8d4f3a4eaba6f59f5509777bc496110d28165463 | refs/heads/master | 2020-12-19T05:32:01.389863 | 2020-01-22T17:59:51 | 2020-01-22T17:59:51 | 235,620,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp |
#include "FilterTwo.h"
bool FilterTwo::filter(std::string word) {
bool hasAlpha = false;
bool hasDigit = false;
// Iterate through the word one character at a time
for(int i = 0; i < word.length(); i++){
// If is alphanumeric character, make a note of it
if(isalpha(word[i])){
... | [
"bk18145@essex.ac.uk"
] | bk18145@essex.ac.uk |
7e71a462665bbc7f6e04e321fabde5fb6e3bf479 | 74060cc6c998a226ad4fe9e8ccabff5055fced3f | /tools/blm_scalar_emulation/juce/JuceLibraryCode/modules/juce_core/streams/juce_MemoryOutputStream.cpp | 79d51d41fb97af740c3cacda667aa7ecc8bb7235 | [] | no_license | antichambre/MIOS32 | 897d8bbdf712f8e61ad63ac32c71fe764f2a4283 | e165abe2923674d0d12c1fef888f81919d733a04 | refs/heads/master | 2022-08-06T00:58:47.762241 | 2021-01-24T10:14:38 | 2021-01-24T10:14:38 | 183,661,458 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,932 | cpp | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | [
"bdupeyron@gmail.com"
] | bdupeyron@gmail.com |
b74de9c711a8e1e2f27ca16d88ce044f802d8bfe | 500cefdd4be437ffcab13d20b88ea0d413d711e8 | /debug/moc_loginwindow.cpp | a1a38819db4bfa3747c71e7fe4f7a73916d3863d | [] | no_license | rstrzelczyk/multikina | 03d3f02ac28947a01a7f9b51fb59914aebc75c63 | 78caee162bd622ccba37eea176d0185def730ccc | refs/heads/master | 2021-01-10T04:33:57.951921 | 2016-01-19T10:00:45 | 2016-01-19T10:00:45 | 49,642,417 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,273 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'loginwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.0.1)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"strzelczyk.renata@gmail.com"
] | strzelczyk.renata@gmail.com |
bdc7ef891d38312741d5ba291c06fc41b6caa795 | 28e0086f6788fda57bbe6eb329734bc527e1c46a | /mh2-re/CPlayer.cpp | f3bc10f410e8bc5ab0167c952281fc8f622bcdf0 | [] | no_license | Sor3nt/Manhunt-2-Keyboard-Mapping | 0aef034be58135eb4f051b760670cba03be59422 | 980ed5d5f772ac45169ab2fea4c06587089d10ef | refs/heads/master | 2021-02-18T10:36:32.056042 | 2020-09-13T09:30:50 | 2020-09-13T09:30:50 | 245,186,962 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | #include "CPlayer.h"
int CPlayer::GetExecuteStage(int entity)
{
return ((int(__thiscall*)(int))0x599840)(entity);
}
| [
"hyp3rdaewoo"
] | hyp3rdaewoo |
7bf54c23a23341ee47d9aad6d9d05fbc98035fa7 | 5a0368cb6e6ba47114923f8066e06f1ab2b4b58f | /src/Led.h | dc9aefefce43ad16285c321614d19958a5632418 | [
"MIT"
] | permissive | jjankowski87/IotHome.ESP8266Sensor | 2c27fd0839a93306e3b01191fcf5b86bd010cd47 | bcf53f615523cc632745b4869cdef192cdbdd6e0 | refs/heads/master | 2023-06-07T22:11:58.686831 | 2023-06-01T05:28:14 | 2023-06-01T05:28:14 | 236,956,045 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | #ifndef Led_h
#define Led_h
#include "Enums.h"
#include <Arduino.h>
#include <Ticker.h>
class Led
{
public:
Led(byte greenPin, byte redPin);
~Led();
void blink(LedColor color, float seconds);
void on(LedColor color);
void off(LedColor color);
private:
byte _gre... | [
"jjankowski@future-processing.com"
] | jjankowski@future-processing.com |
d31fc041e4732dc016c146dba68c65d5c4c86e1b | 25bb3a29838f65e9bca3b4b490ecd1a7db43bd09 | /Data Structure/Discretization.cpp | 5a22770a6bc96d40aea26edf0e40bf27969a56e4 | [] | no_license | katoli/GZHU-Pour_Cappuccino_to_OJ | 7144732822bc3c9cf58135ab8415f7a7de6ed23e | 7c9f1e987f0cae97e3e76374e5f6560b4bf435f2 | refs/heads/master | 2022-09-16T20:23:32.157784 | 2020-06-05T10:41:41 | 2020-06-05T10:41:41 | 278,049,545 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | /*--waltz26--*/
//去重离散化
//a为原数组(离散化数组),b为离散化对照数组,c为映射数组
int a[1000005],b[1000005],c[1000005];
int main()
{
int n;
cin>>n;
for (int i=1;i<=n;i++)
{
cin>>a[i];
b[i]=a[i];
}
sort(b+1,b+n+1);
int m=unique(b+1,b+n+1)-(b+1);
for (int i=1;i<=n;i++)
{
int v=a[... | [
"noreply@github.com"
] | noreply@github.com |
b2ad8804e26e1f735f1df43a38298f1b344a8c51 | 6efb28d0ab32d25f04f864a5e9188a222fd12635 | /src/prox_lp.cpp | 1535e0a414a9fc194ddc744c43c51d52aeaa80d3 | [] | no_license | lxiao0620/gradfps | aea45e976bedcdb0f9325661be2a83481bd37329 | 88ed8a9475bff9b61061f6926b9fe1b49c11ada5 | refs/heads/master | 2022-10-02T15:08:37.819535 | 2020-05-25T17:06:15 | 2020-05-25T17:06:15 | 270,347,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | cpp | #include "prox_lp.h"
using Rcpp::NumericVector;
using Rcpp::NumericMatrix;
//' Proximal operator of squared Lp norm
//'
//' This function solves the optimization problem
//' \deqn{\min\quad\frac{1}{2}||x||_p^2 + \frac{1}{2\alpha}||x - v||^2}{min 0.5 * ||x||_p^2 + (0.5 / \alpha) * ||x - v||^2}
//'
//' @param v ... | [
"yixuanq@gmail.com"
] | yixuanq@gmail.com |
7c9236340975a83d29ae2c8c3702640401cac0f9 | c8486a1ed5af5d30c104e31b6eb45b54bb9029b4 | /memento/src/textrecordmemento.cpp | b95c14d117db99778c38c54db1dd3329d186a066 | [] | no_license | raidenawkward/design_pattern | 5c9b2885bdc0697ffc6e31d033db2f399404326b | 28cbed5d23e3937a7ed8bf2b976c9ce9d239d568 | refs/heads/master | 2021-01-10T20:18:52.801821 | 2014-02-17T15:12:03 | 2014-02-17T15:12:03 | 9,130,398 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | #include "textrecordmemento.h"
TextRecordMemento::TextRecordMemento()
{
}
TextRecordMemento::~TextRecordMemento()
{
}
| [
"raiden.ht@gmail.com"
] | raiden.ht@gmail.com |
488577b9c8996d813016e294e2b319085da5465f | 0fd71c6826d2fef1b8a4654bf61c1ff359a04c7c | /DataFile.h | 68fbf7ec8baf453012f86da54efb27911da3b784 | [] | no_license | m2c2-project/DolphinParser | 8f6edf1aa0a4cd5fcc227466b4d7dd9762b1634c | 8e76eb894744b6b513e4094bca25f6987acf4ca1 | refs/heads/master | 2023-03-11T08:00:12.911426 | 2021-02-15T19:56:29 | 2021-02-15T19:56:29 | 181,764,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | h |
#ifndef DATA_FILE_FH
#define DATA_FILE_FH 1
#include "main.h"
class DataElement;
class GameData;
class ExtraData;
// this class is for each individual file read
// each individual file is from one session
// so it contains:
// 1 pack
// 1 user
// 1 session id
// a list of game data (a pack can... | [
"curt@ctkling.com"
] | curt@ctkling.com |
f5f4a995ee2c6d37f0fead356cb017e365ffab0e | 4fba6b009fae3f860e7e740d6176b8a8ff57ab8f | /src/compute_autocorrelation.h | 73db7e073eab0eb08fc647eb13dbd9f2da584fbd | [] | no_license | allaisandrea/ising-model | df0b427d9ad80ec13fc3e6d0fd903875d399494a | 97723f84d05b0d00b8d5940b55504c9ff0a69b7a | refs/heads/master | 2022-04-26T00:50:00.748175 | 2020-04-28T00:20:23 | 2020-04-28T00:20:23 | 126,037,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,952 | h | #pragma once
#include "udh_file_group.h"
#include <Eigen/Core>
#include <array>
inline Eigen::ArrayXd ComputeAutocorrelation(uint64_t n_ac, uint64_t n_read,
UdhFileGroup *file_group) {
if (n_read == 0) {
throw std::logic_error("n_read must be greater than zero"... | [
"allais.andrea@gmail.com"
] | allais.andrea@gmail.com |
7db889c520016ce318353826fe3b204284aa8d04 | 01188d936daa415d4ca7584b222685bc7aa451bd | /7~9/7-42.cpp | 63ea1db7eeb8e68e89ffe64d4cb2cef312066858 | [] | no_license | csy-59/C-Study | fe44d76e469defc21652a1bf4088e87a015a5863 | a835b4db75ecdb9248104f64c9ec0f2d2e5985cd | refs/heads/master | 2023-03-21T17:38:32.042786 | 2021-02-28T11:17:28 | 2021-02-28T11:17:28 | 343,084,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include <iostream>
using namespace std;
void dec2Hex(int value, char hexString[]);
int main() {
int value;
char hexString[20] = { '\0' };
cout << "Enter number: ";
cin >> value;
dec2Hex(value, hexString);
return 0;
}
void dec2Hex(int value, char hexString[]) {
int i = 0;
while (value >= 16) {
if (val... | [
"csy010509@naver.com"
] | csy010509@naver.com |
6295d2b1246c065672e898c2385f2306b7b436e9 | c2acfd598c62802d30527c7ccb88678a2a816e43 | /include/genericdp/state_iterator_factory.h | cfd4529c189b16549ec0c8fead4b06f70ffcbe9c | [] | no_license | kajames2/genericdp | f18fd80d55e7f096fe0fbfe33ab53e5715187cec | d7d8217a9e674fde5872984de6837efdf8917bd2 | refs/heads/master | 2021-09-19T11:49:24.777673 | 2018-07-27T18:39:19 | 2018-07-27T18:39:19 | 107,728,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | h | #ifndef _GENERICDP_STATE_ITERATOR_FACTORY_H_
#define _GENERICDP_STATE_ITERATOR_FACTORY_H_
#include <memory>
#include "genericdp/state.h"
#include "genericdp/state_iterator.h"
namespace genericdp {
template <typename InState, typename OutDec>
class DPStateIteratorFactory {
public:
virtual std::unique_ptr<StateIter... | [
"james144@mail.chapman.edu"
] | james144@mail.chapman.edu |
a51abbe1ca0cfa250a92e9222f869507d14d07a7 | 7e8c72c099b231078a763ea7da6bba4bd6bac77b | /other_projects/base_station_monitor/Client/reference SDK/General_NetSDK_Chn_IS_V3.36.0.R.100505/Demo/综合应用/VC_Demo/AlarmCtrlDlg.h | 7e90c89e0af8a7d8ebb6b514584ad9641962cddf | [] | no_license | github188/demodemo | fd910a340d5c5fbf4c8755580db8ab871759290b | 96ed049eb398c4c188a688e9c1bc2fe8cd2dc80b | refs/heads/master | 2021-01-12T17:16:36.199708 | 2012-08-15T14:20:51 | 2012-08-15T14:20:51 | 71,537,068 | 1 | 2 | null | 2016-10-21T06:38:22 | 2016-10-21T06:38:22 | null | GB18030 | C++ | false | false | 1,609 | h | #if !defined(AFX_ALARMCTRLDLG_H__6DE10DCD_44E8_4830_ABA3_915908E9B71C__INCLUDED_)
#define AFX_ALARMCTRLDLG_H__6DE10DCD_44E8_4830_ABA3_915908E9B71C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AlarmCtrlDlg.h : header file
//
/////////////////////////////////////////////////////////... | [
"thinkinnight@b18a5524-d64a-0410-9f42-ad3cd61580fb"
] | thinkinnight@b18a5524-d64a-0410-9f42-ad3cd61580fb |
c187ef06a1254b60db2011c894e35577e71794c3 | ec904b09618d7c3b760c7111538ee0e60359f01a | /main.cpp | 03a62f819c726fe013f0b5a003ebc1c133573497 | [] | no_license | LeXgv/posix-thread | 958b800bd9d1ee06ef0c5bf16dd95096b20a40e8 | 370697df2b7a9725b9e4eb28f6384bd43db4bff9 | refs/heads/master | 2021-06-21T20:16:51.423136 | 2017-08-14T13:48:01 | 2017-08-14T13:48:01 | 100,273,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <pthread.h>
#include <iostream>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <stdio.h>
#include <string.h>
void *thread_func(void *arg)
{
std::cout << "Запущен новый поток\n";
while(true){}
return NULL;
}
int main()
{
std::cout << "программа запущена/n";
pid_t ... | [
"alekseu147147@yandex.ru"
] | alekseu147147@yandex.ru |
3c15dd856f74b46bf2bb8ec8a83706f36cb42372 | 38c10c01007624cd2056884f25e0d6ab85442194 | /chrome/browser/extensions/stubs_apitest.cc | 052a2dbee250687b1f77f075063e5f48f482d418 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 1,608 | cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/ui_test_utils.h"
#include ... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
f14a93b9cedb8ff0ba928037a8686d0520e124ed | dcfc11ac9669c00153265347d16a87722c3d6003 | /Lect2/zoo.cpp | c04a2cf9d635782b1d012cdf1be002a64995a3e7 | [] | no_license | MrIvanushka/cpp_2sem | fdaf09691767408ac10c6e9ae9582532d14f66dc | b16f153efc5c413b25ef81e67134ef4e2f68fca4 | refs/heads/main | 2023-04-07T03:02:18.844719 | 2021-04-15T22:30:22 | 2021-04-15T22:30:22 | 344,608,365 | 0 | 0 | null | 2021-04-15T22:30:22 | 2021-03-04T21:01:20 | C++ | UTF-8 | C++ | false | false | 2,117 | cpp | #include <iostream>
#include <string.h>
using namespace std;
/*
Пишем класс, который умеет взаимодействовать с другими классами.
Причём другие классы могут быть очень разные - иерархия наследования
у них может оказаться очень развесистой.Но наш класс общается с
ними через единый интерфейс, благодаря чему отдельной обра... | [
"74343782+MrIvanushka@users.noreply.github.com"
] | 74343782+MrIvanushka@users.noreply.github.com |
60d0a7cdcd543eb0440f97dabc354df89148e7b1 | 435734fea3031191e9e00d5d54d8b14d7b01ee48 | /cpp/trial97.cpp | 97dffabd1d0294c70390c2754432663013f3a231 | [] | no_license | sumansourabh26/everyday_codes | 1f4bc4b05fdb51512b68c37371933535d90edf10 | 2a8c097adbb64d103dc823bdb9987e99dfd9943b | refs/heads/master | 2020-05-04T15:22:13.872019 | 2014-11-05T16:11:08 | 2014-11-05T16:11:08 | 17,599,784 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,758 | cpp | #include<iostream>
using namespace std;
void assign_s(string &pattern, int s[]){
s[0]=0;
int i = 1;
int l = 0;
for(; i<pattern.size();){
l=i-1;
while(true){
if(pattern[s[l]]==pattern[i]){
s[i]=s[l]+1;
i++;
break;... | [
"sumansourabh26@outlook.in"
] | sumansourabh26@outlook.in |
11cbcba8f2dbf70375753ff29e235ab655201431 | b9f92f49089d5dd53e79acad61c103687f50d27c | /amm.cpp | f7ed0fa421868642ba7aaf4aaee01955d3939a77 | [] | no_license | Sabbir1234/Problem-Solving | 54c5cd58c809e724b695843a918bf02ac2d5fff9 | a1cdcb640500ae6926cafbfb082f2ed1190b1fa4 | refs/heads/master | 2022-11-22T02:27:24.464805 | 2020-07-27T14:07:57 | 2020-07-27T14:07:57 | 282,916,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t;
string s,a;
cin>>t;
while(t--){
cin>>s;
a=s;
for(int i=1;i<a.length();i++){
if(a[i]==a[i-1]){
s[i]='#';
}
}
cout<<s<<endl;
}
}
| [
"sabbirhimu31@gmail.com"
] | sabbirhimu31@gmail.com |
aa42b8712d1a32d02f55e74be57b749614e850c2 | 89055b236e39e867c22dc6a06b0d9d77bafed292 | /media/papers/OpenPatternMatching/artifact/code/guards.cpp | 747f19d886c282968c276a22566df0f699b3dea1 | [
"BSD-3-Clause"
] | permissive | gabrielPeart/Mach7 | 6a6713216ab1981e658df60455b2190a1df6d5ec | 926ba15667f815159be814a9229b620871abe38b | refs/heads/master | 2020-05-29T11:34:41.875361 | 2015-09-30T07:18:02 | 2015-09-30T07:18:02 | 43,492,033 | 1 | 0 | null | 2015-10-01T11:08:25 | 2015-10-01T11:08:24 | null | UTF-8 | C++ | false | false | 3,519 | cpp | ///
/// \file
///
/// This file is a part of pattern matching testing suite.
///
/// \author Yuriy Solodkyy <yuriy.solodkyy@gmail.com>
///
/// This file is a part of Mach7 library (http://parasol.tamu.edu/mach7/).
/// Copyright (C) 2011-2012 Texas A&M University.
/// All rights reserved.
///
#include "matc... | [
"yuriy.solodkyy@gmail.com"
] | yuriy.solodkyy@gmail.com |
9ade77bf9e56d9d157114089484f7c214dee9254 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/multimedia/directx/gamectrl/client/creditst.cpp | 5fbad089d154a3a7fdeec2ab51c2acf14581ac2e | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,231 | cpp | // CreditStatic.cpp : implementation file
//
#include "stdafx.h"
#include "CreditSt.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// defined in MAIN.CPP
extern HINSTANCE ghInstance;
#define DISPLAY_TIMER_ID 150 // timer id
/////////////////////////////////////... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
0fd9b5aa5d51ec88c5de7436ff464e3cf6999bcb | 394cd6c045789a90d1826117c43322610476c853 | /BCH_grande/BCH/bch.h | 375ed1cdb845de6e3676fbef965efaa9f3b2d5a8 | [] | no_license | grganzaroli/BCH_VS | 2631fd60212a2259b6443f63f7cd1830fbc2f4c4 | e13fd64a646cc3b60bfb0314528be014ff4dcee9 | refs/heads/master | 2021-09-05T20:04:49.957957 | 2018-01-30T19:06:49 | 2018-01-30T19:06:49 | 117,262,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | h | #ifndef BCH_H
#define BCH_H
class bch
{
private:
int n; //quantidade de bits de entrada
int k; //quantidade de bits de saída
int t; //capacidade de correção de erros
int m; //ordem do decodificador
int n_extension; //numero de zeros a adicionar ao inicio da palavra-codigo recebida para obter n+n_extension = (2^m... | [
"g.rossiganza@gmail.com"
] | g.rossiganza@gmail.com |
5269fecfaf6693e6cb97be346fb9ba220f36306b | ae37876fe82941d793de3cea1ca4f061fe20e177 | /C3/5_check_file_access.cpp | 3888b957e885a64ceaec4b81bdce8d4b3f21c51d | [] | no_license | caizr/APUE | 31c0a00bda3d83bf8d18310d4861af24476a474b | c0da38e16f2c640d415267572477bf9cdbf6e571 | refs/heads/master | 2023-01-04T02:29:44.332479 | 2020-11-08T15:50:41 | 2020-11-08T15:50:41 | 268,302,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | /* 检查文件的访问权限
*/
#include<iostream>
#include<fcntl.h>
#include<sys/stat.h>
#include<unistd.h>
int main(int argc, char ** argv){
using namespace std;
struct stat buf;
// 检测是否调用错误
if(argc <2 ){
cout<<"usage error!"<<endl;
return -1;
}
for(int i=1;i<argc;++i){
cout<<argv[i]... | [
"0@caizr.com"
] | 0@caizr.com |
3d600097aef4bc61c89e6f6cacb380578b9f2b97 | 9cbe211c7ba4d0e505e04d7ff07712a0c9a54daf | /qq/qq/main.cpp | 5d87021626e94831ae109ac664f8cd56f3325bed | [] | no_license | chengyoude00/cstudy | ad3fd5b589bff01cfd8898373044e9ca4f878ce2 | 9e715a552351fd20ec3ac740db8111f184b07a3f | refs/heads/master | 2021-09-08T15:58:11.246264 | 2018-03-08T06:15:10 | 2018-03-08T06:15:10 | 118,839,568 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 584 | cpp | #include "linklist.h"
#include <iostream>
using namespace std;
int main()
{
int tempi;
char tempc;
cout << "请输入一个整数和一个字符:"<< endl;
cin >> tempi >> tempc;
Linklinst a(tempi,tempc);
a.Locte(tempi);
a.Insert(1,'C');
a.Insert(2,'B');
a.Insert(3, 'F');
cout << "After Insert"<< endl;
a.Show();
a.Locte('B');
a.D... | [
"643064906@qq.com"
] | 643064906@qq.com |
517dfe3f325c589fe0cb6df5e4324fdc5d6d084c | 7cd7aac512f867463f341bbb8c98e942a84b7755 | /lab4.2.1/prj/src/sort_benchmark.cpp | 8df3491df8cfbf5f58ddb9efc99c2230dacee4f6 | [] | no_license | martynabandura/pamsi2 | cea4a9df38d78d0fd07264caf508e726b35c4338 | cf933a6c81e62ddd431c3d4e3c3ddf302c7d14be | refs/heads/master | 2016-09-06T01:38:49.859910 | 2014-06-03T20:43:10 | 2014-06-03T20:43:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,363 | cpp | #include <iostream>
#include <string>
#include <cstdlib>
#include <fstream>
#include <ctime>
#include "../inc/quick.hpp"
#include "../inc/merge.hpp"
using namespace std;
/**
*\file
*\brief Benchmark
* Zawiera najważniejsze fukcje programu jak rozmiar tablicy.
* Benchmark sortowanie quick i merge
*/
... | [
"200425@student.pwr.edu.pl"
] | 200425@student.pwr.edu.pl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.