hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
8594d7298aa88da4685fb15da26a7e2b0b33d489
1,034
hpp
C++
uActor/include/controllers/telemetry_actor.hpp
uActor/uActor
1180db98f48ad447639a3d625573307d87b28902
[ "MIT" ]
1
2021-09-15T12:41:37.000Z
2021-09-15T12:41:37.000Z
uActor/include/controllers/telemetry_actor.hpp
uActor/uActor
1180db98f48ad447639a3d625573307d87b28902
[ "MIT" ]
null
null
null
uActor/include/controllers/telemetry_actor.hpp
uActor/uActor
1180db98f48ad447639a3d625573307d87b28902
[ "MIT" ]
null
null
null
#ifndef UACTOR_INCLUDE_CONTROLLERS_TELEMETRY_ACTOR_HPP_ #define UACTOR_INCLUDE_CONTROLLERS_TELEMETRY_ACTOR_HPP_ #include <string> #include <string_view> #include "actor_runtime/native_actor.hpp" #include "telemetry_data.hpp" namespace uActor::Controllers { class TelemetryActor : public ActorRuntime::NativeActor { ...
31.333333
71
0.749516
uActor
8596f764caaf8323a6d6056876be72ec98b56cd6
2,972
cpp
C++
src/StartDownloadConnectionInformation.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
null
null
null
src/StartDownloadConnectionInformation.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
9
2017-11-14T06:05:50.000Z
2018-07-08T18:21:17.000Z
src/StartDownloadConnectionInformation.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
4
2017-11-14T06:04:17.000Z
2018-08-24T07:39:00.000Z
/** * Copyright (C) JoyStream - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Bedeho Mender <bedeho.mender@gmail.com>, January 19 2017 */ #include "StartDownloadConnectionInformation.hpp" #include "SellerTerms.hpp" #include "P...
37.15
171
0.66319
JoystreamClassic
859c4ef2f5a88852afc3c71ae9ece7b5a79fe08b
1,412
cpp
C++
Juego Progra 2/Bomberman/Nivel4.cpp
upcgames/Bomberman-1
d077af34e0b896281a3b04169d698c03f7f86e91
[ "MIT" ]
2
2017-06-22T16:44:59.000Z
2020-11-24T16:46:59.000Z
Juego Progra 2/Bomberman/Nivel4.cpp
upcgames/Bomberman-1
d077af34e0b896281a3b04169d698c03f7f86e91
[ "MIT" ]
1
2017-07-07T15:18:09.000Z
2017-07-07T15:18:09.000Z
Juego Progra 2/Bomberman/Nivel4.cpp
upcgames/Bomberman-1
d077af34e0b896281a3b04169d698c03f7f86e91
[ "MIT" ]
1
2020-11-24T16:47:08.000Z
2020-11-24T16:47:08.000Z
#include "Winform.h" namespace Bomberman { Nivel4::Nivel4() { Objetos matriz[9][13] = { { oPiso, oPiso, oPiso, oPiso, oCaja, oPiso, oPiso, oPiso, oCaja, oPiso, oCaja, oPiso, oPiso }, { oPiso, oBloque, oPiso, oBloque, oPiso, oBloque, oPiso, oBloque, oPiso, oBloque, oPiso, oBloque, oPiso }, { oCaja, oCaja, ...
54.307692
109
0.69051
upcgames
85a2332a69317f89c9ce9efe23a16c204ba51695
22,654
cpp
C++
Plugins/org.mitk.lancet.nodeeditor/src/internal/volumeRegistrator.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.mitk.lancet.nodeeditor/src/internal/volumeRegistrator.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.lancet.nodeeditor/src/internal/volumeRegistrator.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
null
null
null
#include "itkCastImageFilter.h" #include "itkCommand.h" #include "itkNormalizedCorrelationTwoImageToOneImageMetric.h" #include "itkPowellOptimizer.h" #include "itkTwoProjectionImageRegistrationMethod.h" #include "itkEuler3DTransform.h" #include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkRayCas...
35.068111
158
0.724155
zhaomengxiao
85a251844041754e9c15519365166a9df8cb8587
1,708
hpp
C++
nginx/third/ngxpp/NgxThread.hpp
lanru/annotated_nginx_wlh
8eac03dcf5cbf899996d68c01a7e586212e9059a
[ "BSD-2-Clause" ]
144
2015-10-23T06:24:51.000Z
2022-01-07T07:24:13.000Z
nginx/third/ngxpp/NgxThread.hpp
lanru/annotated_nginx_wlh
8eac03dcf5cbf899996d68c01a7e586212e9059a
[ "BSD-2-Clause" ]
7
2016-08-25T13:48:25.000Z
2020-06-08T06:53:05.000Z
nginx/third/ngxpp/NgxThread.hpp
lanru/annotated_nginx_wlh
8eac03dcf5cbf899996d68c01a7e586212e9059a
[ "BSD-2-Clause" ]
85
2015-11-01T15:11:08.000Z
2021-11-30T02:39:57.000Z
// Copyright (c) 2017 // Author: Chrono Law #ifndef _NGX_THREAD_HPP #define _NGX_THREAD_HPP #include "NgxPool.hpp" #include "NgxEvent.hpp" template<typename T> class NgxThreadTask final : public NgxWrapper<ngx_thread_task_t> { public: typedef NgxWrapper<ngx_thread_task_t> super_type; typedef NgxThreadTask ...
21.08642
71
0.617096
lanru
85ad7eb7a24e786bf63ece3ada719c5086f94818
4,179
cpp
C++
interfaces/matlab/src/hash.cpp
hcl3210/opencv
b34b1c3540716a3dadfd2b9e3bbc4253774c636d
[ "BSD-3-Clause" ]
1
2016-05-09T11:42:00.000Z
2016-05-09T11:42:00.000Z
interfaces/matlab/src/hash.cpp
hcl3210/opencv
b34b1c3540716a3dadfd2b9e3bbc4253774c636d
[ "BSD-3-Clause" ]
null
null
null
interfaces/matlab/src/hash.cpp
hcl3210/opencv
b34b1c3540716a3dadfd2b9e3bbc4253774c636d
[ "BSD-3-Clause" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
33.432
90
0.618808
hcl3210
85aec8009d9f084abcc1309d1b9aa06b27cc4bba
11,756
cpp
C++
midori/src/midori/codegen.cpp
Raekye/hmmm
74dbbe46357918b1f3c9b2548c340b0050ce7bfe
[ "MIT" ]
1
2016-06-26T06:16:51.000Z
2016-06-26T06:16:51.000Z
midori/src/midori/codegen.cpp
Raekye/hmmm
74dbbe46357918b1f3c9b2548c340b0050ce7bfe
[ "MIT" ]
1
2019-08-15T07:29:19.000Z
2019-08-16T12:17:10.000Z
midori/src/midori/codegen.cpp
Raekye/hmmm
74dbbe46357918b1f3c9b2548c340b0050ce7bfe
[ "MIT" ]
null
null
null
#include "codegen.h" #include "types.h" #include "type_checker.h" #include "llvm/IR/Constants.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Function.h" #include "llvm/IR/Verifier.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Bitcode/BitcodeWriter.h" #include "llvm/E...
29.39
128
0.668255
Raekye
85c6e98ea12ac77490c0d5aa8060aa546f1204f7
87
cc
C++
code/utils/fastio.cc
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
4
2020-02-06T15:44:57.000Z
2020-12-21T03:51:21.000Z
code/utils/fastio.cc
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
null
null
null
code/utils/fastio.cc
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
null
null
null
#include "../template.hh" int main() { ios_base::sync_with_stdio(0); cin.tie(0); }
14.5
31
0.632184
Zeldacrafter
85d418de98e3578d322f9675da6e78d94b9aa496
12,272
cpp
C++
Tests/GeometryShop/stencilTestbed/exec/dirichletTest.cpp
malvarado27/Amrex
8d5c7a37695e7dc899386bfd1f6ac28221984976
[ "BSD-3-Clause-LBNL" ]
1
2021-05-20T13:04:05.000Z
2021-05-20T13:04:05.000Z
Tests/GeometryShop/stencilTestbed/exec/dirichletTest.cpp
malvarado27/Amrex
8d5c7a37695e7dc899386bfd1f6ac28221984976
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tests/GeometryShop/stencilTestbed/exec/dirichletTest.cpp
malvarado27/Amrex
8d5c7a37695e7dc899386bfd1f6ac28221984976
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <cmath> #include "AMReX_GeometryShop.H" #include "AMReX_BoxIterator.H" #include "AMReX_ParmParse.H" #include "AMReX_RealVect.H" #include "AMReX_SphereIF.H" #include "AMReX_EBCellFAB.H" #include "AMReX_VolIndex.H" #include "AMReX_FaceIndex.H" #include "AMReX_TestbedUtil.H" #include <AMReX_ParallelDescriptor.H>...
30.376238
134
0.597376
malvarado27
85d835266d81d732ebc3afe51727c027f702ff1c
445
cpp
C++
10799.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
10799.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
10799.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <vector> #include <memory.h> #include <stack> using namespace std; int main() { string str; cin >> str; int stack = 0; int cnt = 0; for (int i = 0; i < str.size(); i++) { if (str[i] == '(' && str[i + 1] == ')') { cnt += stack; i++; conti...
15.892857
43
0.516854
jaemin2682
85d90d31873f73245e390cc069adc3154c136e58
9,968
cpp
C++
src/qsiproject.cpp
Eggbertx/QtSphere-IDE
7ae7ed840fcef7a79fb47a6903afb95ca23838ca
[ "BSD-2-Clause" ]
12
2017-05-04T16:58:07.000Z
2021-06-09T03:08:29.000Z
src/qsiproject.cpp
Eggbertx/QtSphere-IDE
7ae7ed840fcef7a79fb47a6903afb95ca23838ca
[ "BSD-2-Clause" ]
1
2017-06-19T03:30:22.000Z
2018-04-09T21:35:00.000Z
src/qsiproject.cpp
Eggbertx/QtSphere-IDE
7ae7ed840fcef7a79fb47a6903afb95ca23838ca
[ "BSD-2-Clause" ]
1
2018-09-04T00:27:54.000Z
2018-09-04T00:27:54.000Z
#include <QDebug> #include <QFile> #include <QDir> #include <QFileInfo> #include <QFileInfoList> #include <QRegularExpression> #include <QRegularExpressionMatchIterator> #include <QRegularExpressionMatch> #include <QStringList> #include <QTextStream> #include "qsiproject.h" #include "util.h" #define QUO...
27.688889
105
0.661116
Eggbertx
85dbe2608391566cff2e04033a9ea0c5b5be9cec
712
cpp
C++
Source/041.SapXepTang.cpp
tannd/learning-cplus
1969b7ce5dd331348330df8121fdafec16325589
[ "Apache-2.0" ]
2
2016-12-15T07:17:33.000Z
2018-10-18T15:15:30.000Z
Source/041.SapXepTang.cpp
tannd/learning-cplus
1969b7ce5dd331348330df8121fdafec16325589
[ "Apache-2.0" ]
null
null
null
Source/041.SapXepTang.cpp
tannd/learning-cplus
1969b7ce5dd331348330df8121fdafec16325589
[ "Apache-2.0" ]
null
null
null
//============================================================================// // Unit 041 : Sap xep mang tang dan // Author : Nguyen.Duy.Tan // Date : 18/11/2011 (dd/mm/yyyy) //============================================================================// #include <stdio.h> #include <conio.h> void nhap(int A[1...
18.736842
80
0.373596
tannd
85e04fc53cafac91ba1c99ee8fd15640972e8382
82
hpp
C++
include/Engine/IUpdatable.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
include/Engine/IUpdatable.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
include/Engine/IUpdatable.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
#pragma once class IUpdatable { public: virtual void Update(float delta) = 0; };
11.714286
38
0.719512
FoxelCode
85e44c2aa042f5cbd8cf6510cf9fc9e69e8f0ddd
1,044
cpp
C++
math/crt-extgcd.cpp
Yoko303/algorithm
9caa62f8e9a8a01c20256029d21dbe088cc19790
[ "Unlicense" ]
null
null
null
math/crt-extgcd.cpp
Yoko303/algorithm
9caa62f8e9a8a01c20256029d21dbe088cc19790
[ "Unlicense" ]
null
null
null
math/crt-extgcd.cpp
Yoko303/algorithm
9caa62f8e9a8a01c20256029d21dbe088cc19790
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> using namespace std; using ll = long long; ll mod(ll a, ll m) { return (a%m + m) % m; } ll ext_gcd(ll a, ll b, ll& x, ll& y) { if(b == 0) { x = 1; y = 0; return a; } ll g = ext_gcd(b, a % b, y, x); y -= a/b * x; return g; } pair<ll, ll> crt_extgcd(const vector<...
26.769231
85
0.471264
Yoko303
85e9a516c869525d7025cdb4093b54b5ff78abbb
1,153
cpp
C++
platform/windows/error_util.cpp
mexicowilly/Chucho
f4235420437eb2078ab592540c0d729b7b9a3c10
[ "Apache-2.0" ]
4
2016-12-06T05:33:29.000Z
2017-12-17T17:04:25.000Z
platform/windows/error_util.cpp
mexicowilly/Chucho
f4235420437eb2078ab592540c0d729b7b9a3c10
[ "Apache-2.0" ]
147
2016-09-05T14:00:46.000Z
2021-08-24T14:43:07.000Z
platform/windows/error_util.cpp
mexicowilly/Chucho
f4235420437eb2078ab592540c0d729b7b9a3c10
[ "Apache-2.0" ]
4
2017-11-08T04:12:39.000Z
2022-01-04T06:40:16.000Z
/* * Copyright 2013-2021 Will Mason * * 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 applicab...
25.065217
83
0.606245
mexicowilly
85f55f8ff08cc111c81a0fb2a084ff982dc53107
1,711
cpp
C++
11_recursion/06/06.cpp
bilyanhadzhi/intro_to_programming_labs
083bfaad1fdb423c0d8320b3e882316fa56c0bf8
[ "MIT" ]
3
2020-11-05T10:11:31.000Z
2020-11-14T16:10:27.000Z
11_recursion/06/06.cpp
bilyanhadzhi/intro_to_programming_labs
083bfaad1fdb423c0d8320b3e882316fa56c0bf8
[ "MIT" ]
null
null
null
11_recursion/06/06.cpp
bilyanhadzhi/intro_to_programming_labs
083bfaad1fdb423c0d8320b3e882316fa56c0bf8
[ "MIT" ]
1
2021-06-17T13:21:58.000Z
2021-06-17T13:21:58.000Z
#include <iostream> #include <iomanip> bool can_move(int n, int** board, int x, int y, int dx, int dy) { int new_x = x + dx; int new_y = y + dy; if (new_x < 0 || new_x >= n || new_y < 0 || new_y >= n) { return false; } return board[new_x][new_y] == -1; } bool knights_tour_rec(int n, ...
19.011111
74
0.421391
bilyanhadzhi
65a35e3e212d7da5f1958af0b3c4298aaceb91e4
607
cpp
C++
example/neighbour_example.cpp
arapelle/dirn
79e7daea5e7ee38d985c8fdd985a34544d220930
[ "MIT" ]
null
null
null
example/neighbour_example.cpp
arapelle/dirn
79e7daea5e7ee38d985c8fdd985a34544d220930
[ "MIT" ]
2
2020-09-10T09:51:38.000Z
2020-09-10T21:18:28.000Z
example/neighbour_example.cpp
arapelle/dirn
79e7daea5e7ee38d985c8fdd985a34544d220930
[ "MIT" ]
null
null
null
#include <iostream> #include <dirn/directions4.hpp> #include <dirn/neighbourhood.hpp> class vec2 { int x_; int y_; public: vec2(int x = 0, int y = 0) : x_(x), y_(y) {} const int& x() const { return x_; } int& x() { return x_; } const int& y() const { return y_; } int& y() { r...
19.580645
77
0.576606
arapelle
65a41bcd0316cb7710b58f064120fe705f18ef34
395
cpp
C++
src/World.cpp
jacksonwilliampluskota/GamePlaatformOF
53701190f21aa956864311ca6d971f80c206a0cd
[ "MIT" ]
1
2020-02-18T13:35:44.000Z
2020-02-18T13:35:44.000Z
src/World.cpp
jacksonwilliampluskota/GamePlaatformOF
53701190f21aa956864311ca6d971f80c206a0cd
[ "MIT" ]
null
null
null
src/World.cpp
jacksonwilliampluskota/GamePlaatformOF
53701190f21aa956864311ca6d971f80c206a0cd
[ "MIT" ]
1
2020-02-18T13:32:02.000Z
2020-02-18T13:32:02.000Z
#include "World.h" #include <stdio.h> World::World() { } void World::moeda_setup(string state, int x, int y) { animationCoin = new Animation(); positionCoin.set(x, y); animationCoin->setup(state, 4, 8); } void World::moeda_update(float deltaTime) { } void World::moeda_draw() { ofPushMatrix(); animationCoin->dr...
13.62069
53
0.688608
jacksonwilliampluskota
65ad8f3820547925d46eb02c0129db4515650788
1,217
cpp
C++
averageOfNums.cpp
nikeshsraj10/parallel-programming-multithreading
046af811add225fa6f40fbb63d5656e6c72de7dd
[ "MIT" ]
null
null
null
averageOfNums.cpp
nikeshsraj10/parallel-programming-multithreading
046af811add225fa6f40fbb63d5656e6c72de7dd
[ "MIT" ]
null
null
null
averageOfNums.cpp
nikeshsraj10/parallel-programming-multithreading
046af811add225fa6f40fbb63d5656e6c72de7dd
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <vector> using namespace std; void average(vector<vector<int>>& A, vector<vector<int>>& B, int n, int r1, int r2, int c1, int c2) { for (int i = r1; i <= r2; i++) { for (int j = c1; j <= c2; j++) { int N, E, S, W; N = (i - 1 >= 0)? A[i - 1][j] : 0; E = (j + 1...
23.403846
101
0.459326
nikeshsraj10
65afe8678836fb9569db6a751536eec964f2ff01
1,112
cpp
C++
ClientEngine/game/engine/Stage/UnitPart/UnitExecute/ExecuteParameter.cpp
twesd/editor
10ea9f535115dadab5694fecdb0c499d0013ac1b
[ "MIT" ]
null
null
null
ClientEngine/game/engine/Stage/UnitPart/UnitExecute/ExecuteParameter.cpp
twesd/editor
10ea9f535115dadab5694fecdb0c499d0013ac1b
[ "MIT" ]
null
null
null
ClientEngine/game/engine/Stage/UnitPart/UnitExecute/ExecuteParameter.cpp
twesd/editor
10ea9f535115dadab5694fecdb0c499d0013ac1b
[ "MIT" ]
null
null
null
#include "ExecuteParameter.h" #include "../../UnitInstance/UnitInstanceStandard.h" ExecuteParameter::ExecuteParameter(SharedParams_t params) : ExecuteBase(params) { _behavior = NULL; } ExecuteParameter::~ExecuteParameter() { } // Добавить параметр void ExecuteParameter::AddParameter( stringc name, stringc val ) ...
21.384615
82
0.714928
twesd
65b0b82cbc83c964bdcb65afee46f16f943582bf
5,022
cpp
C++
src/model/mesh_part.cpp
Shtille/scythe
795b482921bed9ab36fd9ced38863371c75367ab
[ "MIT" ]
null
null
null
src/model/mesh_part.cpp
Shtille/scythe
795b482921bed9ab36fd9ced38863371c75367ab
[ "MIT" ]
8
2018-07-12T14:10:53.000Z
2020-09-17T11:15:52.000Z
src/model/mesh_part.cpp
Shtille/scythe
795b482921bed9ab36fd9ced38863371c75367ab
[ "MIT" ]
null
null
null
#include "mesh_part.h" #include "material.h" namespace scythe { MeshPart::MeshPart(Renderer * renderer) : primitive_mode_(PrimitiveType::kTriangleStrip) , renderer_(renderer) , material_(nullptr) , vertex_buffer_(nullptr) , index_buffer_(nullptr) , vertex_array_object_(0) , num_vertices_(0) , vertices_array...
27.145946
134
0.691358
Shtille
65b211d32e64dc9f199acfd583066d2c8d19a85d
176
hpp
C++
include/queue.hpp
Dacilndak/ds
edae4a057912946329066338bada4deea8d723ab
[ "MIT" ]
null
null
null
include/queue.hpp
Dacilndak/ds
edae4a057912946329066338bada4deea8d723ab
[ "MIT" ]
null
null
null
include/queue.hpp
Dacilndak/ds
edae4a057912946329066338bada4deea8d723ab
[ "MIT" ]
null
null
null
#ifndef _MPH_WRAPPER_QUEUE_H_ #define _MPH_WRAPPER_QUEUE_H_ #include <queue/queue.hpp> #include <queue/deque.hpp> template <typename T> using DoubleQueue = Deque<T>; #endif
17.6
51
0.784091
Dacilndak
65b8fe5092ddff65bc1f0e696534a9b309762332
10,455
cpp
C++
pass/semantic/tests/lnast_semantic_test.cpp
maximiliantiao/livehd
88215f0d6fc395db96e6ed058f00b9205454bd0c
[ "BSD-3-Clause" ]
null
null
null
pass/semantic/tests/lnast_semantic_test.cpp
maximiliantiao/livehd
88215f0d6fc395db96e6ed058f00b9205454bd0c
[ "BSD-3-Clause" ]
null
null
null
pass/semantic/tests/lnast_semantic_test.cpp
maximiliantiao/livehd
88215f0d6fc395db96e6ed058f00b9205454bd0c
[ "BSD-3-Clause" ]
null
null
null
#include "semantic_check.hpp" #include "lnast.hpp" int main(void) { int line_num, pos1, pos2 = 0; Lnast* lnast = new Lnast(); Semantic_pass s; // ======================== Testing Assign Operations ======================== // auto idx_root = Lnast_node::create_top ("top", line_num, pos1, pos2); //...
61.140351
121
0.610904
maximiliantiao
65bdf857146a86817765e8af2852b726c29c1865
2,717
cpp
C++
tests/src/test_comparisons.cpp
cmas1/HolorLib
bb62dc738298b7e229a1965a5bfc206395f68b88
[ "MIT" ]
1
2022-01-20T12:48:36.000Z
2022-01-20T12:48:36.000Z
tests/src/test_comparisons.cpp
cmas1/HolorLib
bb62dc738298b7e229a1965a5bfc206395f68b88
[ "MIT" ]
null
null
null
tests/src/test_comparisons.cpp
cmas1/HolorLib
bb62dc738298b7e229a1965a5bfc206395f68b88
[ "MIT" ]
null
null
null
// This file is part of Holor, a C++ header-only template library for multi-dimensional containers // Copyright 2020-2022 Carlo Masone // 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 wi...
35.285714
98
0.622746
cmas1
65c2a37f7fe81f129b08baa6011382616fa71d87
336
cpp
C++
NKZX_NOI_OJ/P1298.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
1
2021-04-05T16:26:00.000Z
2021-04-05T16:26:00.000Z
NKZX_NOI_OJ/P1298.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
NKZX_NOI_OJ/P1298.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
#include<cstdio> bool yy[1001]; int main(){ int jj,zz,kk=0; scanf("%d",&jj); for(int i=0;i<jj;i++){ scanf("%d",&zz); if(!yy[zz]){ yy[zz]=1; kk++; } } printf("%d\n",kk); for(int i=1;i<=1000;i++){ if(yy[i]) printf("%d ",i); } ...
16.8
29
0.372024
Rose2073
65c2a8014a18d147935d01e4c3bc02c4c99bfe6b
1,158
cpp
C++
tests/wavelet_matrix_test.cpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
tests/wavelet_matrix_test.cpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
tests/wavelet_matrix_test.cpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #include "../src/wavelet_matrix.hpp" #include "gtest/gtest.h" using namespace std; struct WaveletMatrixTest : public ::testing::Test { vector<unsigned> vec; WaveletMatrix<unsigned> wm; WaveletMatrixTest() { vec = {1, 3, 5, 7, 3, 2, 4, 1, 2, 3, 4}; wm = WaveletMatrix<unsigned>(v...
25.173913
51
0.635579
keijak
65c892a3f041a6b504ef1025ee4bd0f9400b46b4
2,777
cc
C++
src/client/StatusCommand.cc
ryan-rao/LTFS-Data-Management
041960282d20aeefb8da20eabf04367a164a5903
[ "Apache-2.0" ]
19
2018-06-28T03:53:41.000Z
2022-03-15T16:17:33.000Z
src/client/StatusCommand.cc
ryan-rao/LTFS-Data-Management
041960282d20aeefb8da20eabf04367a164a5903
[ "Apache-2.0" ]
13
2018-04-25T15:40:14.000Z
2021-01-18T11:03:27.000Z
src/client/StatusCommand.cc
ryan-rao/LTFS-Data-Management
041960282d20aeefb8da20eabf04367a164a5903
[ "Apache-2.0" ]
8
2018-08-08T05:40:31.000Z
2022-03-22T16:21:06.000Z
/******************************************************************************* * Copyright 2018 IBM Corp. 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 * * ht...
25.018018
93
0.623335
ryan-rao
65cd4d0b865ea0a1db86efa80b5310220d5aaab9
451
cpp
C++
tests/RenderCommandStream.cpp
KieranHsieh/GLB
9d959cca69984c876ef6e4267ed12ee80d444620
[ "MIT" ]
null
null
null
tests/RenderCommandStream.cpp
KieranHsieh/GLB
9d959cca69984c876ef6e4267ed12ee80d444620
[ "MIT" ]
20
2021-05-08T08:43:13.000Z
2021-05-14T00:02:59.000Z
tests/RenderCommandStream.cpp
KieranHsieh/GLB
9d959cca69984c876ef6e4267ed12ee80d444620
[ "MIT" ]
null
null
null
#include "includes.hpp" TEST_CASE("RenderCommandStream Add") { using namespace GLB; RenderCommandStream strm; RenderCommandCustom cmd; strm << cmd; for(auto& cmd : strm) { REQUIRE(cmd->localType == RenderCommandType::CUSTOM); } } TEST_CASE("RenderCommandStream Size") { using namesp...
23.736842
61
0.658537
KieranHsieh
65ced6c6308cb6e81e4c1b3a69f280edddd80180
2,945
cpp
C++
2018-nov-23/K/K.cpp
acmiut/contests
757e198914697e81b9f3640ae315c3b539a49d17
[ "Apache-2.0" ]
null
null
null
2018-nov-23/K/K.cpp
acmiut/contests
757e198914697e81b9f3640ae315c3b539a49d17
[ "Apache-2.0" ]
null
null
null
2018-nov-23/K/K.cpp
acmiut/contests
757e198914697e81b9f3640ae315c3b539a49d17
[ "Apache-2.0" ]
3
2019-03-31T13:29:09.000Z
2021-12-20T02:03:06.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> using namespace std; typedef vector<int> VI; typedef vector<VI> VVI; const int INF = 1000000000; struct MinCostMaxFlow { int N; VVI cap, flow, cost; VI found, dad, dist, pi; bool search(int source, int sink) { ...
24.541667
84
0.43837
acmiut
65d256ca83b4847e47c91e2b473ba8e56b843ced
442
cpp
C++
Math/TrailingZerosInFactorial.cpp
007mathur/InterviewBit
6b5560871d54b97546de10d83f6c4e74c420ce02
[ "MIT" ]
1
2022-02-01T14:10:27.000Z
2022-02-01T14:10:27.000Z
Math/TrailingZerosInFactorial.cpp
007mathur/InterviewBit
6b5560871d54b97546de10d83f6c4e74c420ce02
[ "MIT" ]
null
null
null
Math/TrailingZerosInFactorial.cpp
007mathur/InterviewBit
6b5560871d54b97546de10d83f6c4e74c420ce02
[ "MIT" ]
null
null
null
//In a factorial a zero arises from the multiplication of 2*5. //Every second number is even, so there are abundant 2s in the sea of prime factors of numbers. //5s can be counted by adding all the factors of power of 5. //As the numbers of 5s are less, the number of 0s is equal to this sum. int Solution::trailingZeroes...
36.833333
95
0.662896
007mathur
65d34015e89382a3aaa7f8761285f313294415a0
797
cpp
C++
notebook/demo/src/compdict.cpp
BrinedYoung/home
c8832758b3693c4f0af2839dd352b387e7854826
[ "MIT" ]
1
2020-03-05T02:46:48.000Z
2020-03-05T02:46:48.000Z
notebook/demo/src/compdict.cpp
BrinedYoung/home
c8832758b3693c4f0af2839dd352b387e7854826
[ "MIT" ]
null
null
null
notebook/demo/src/compdict.cpp
BrinedYoung/home
c8832758b3693c4f0af2839dd352b387e7854826
[ "MIT" ]
null
null
null
/* g++ -std=c++11 -o demo compdict.cpp */ #include <unordered_map> #include <string> #include <iostream> using namespace std; typedef string (*myFunc)(void); typedef unordered_map<string, myFunc> compdict; /* The functions */ string Boiler(void) { return "- BOILER -"; } string Condenser(void) { return ...
18.113636
101
0.59724
BrinedYoung
65ddd600c50f69ef358fd25dba0ed22f2ca84226
10,149
cpp
C++
Source/Source.cpp
iiKurt/Egg
68371a017b80261c31258ef13c2ac2364ac44c02
[ "MIT" ]
null
null
null
Source/Source.cpp
iiKurt/Egg
68371a017b80261c31258ef13c2ac2364ac44c02
[ "MIT" ]
5
2022-01-03T05:18:28.000Z
2022-01-03T05:25:19.000Z
Source/Source.cpp
iiKurt/Egg
68371a017b80261c31258ef13c2ac2364ac44c02
[ "MIT" ]
null
null
null
// TODOs: // Consistent {} spacing and general formatting // Huge project: seperate things into functions/classes? that have draw methods and properties such as color etc... // Gamestates and all... // File organisation and naming // Using SDL and standard IO #include <string> #include <cstdlib> // srand, rand #includ...
27.504065
127
0.638092
iiKurt
65de7a666a5bd8d8ff8d756440b2c5f883b6d66b
1,478
cpp
C++
client/include/util/Path.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
97
2019-01-13T20:19:19.000Z
2022-02-27T18:47:11.000Z
client/include/util/Path.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/util/Path.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
69
2019-01-13T22:01:40.000Z
2022-03-09T00:55:49.000Z
/* This is a SampVoice project file Developer: CyberMor <cyber.mor.2020@gmail.ru> See more here https://github.com/CyberMor/sampvoice Copyright (c) Daniel (CyberMor) 2020 All rights reserved */ #include "Path.h" #include <array> #include <ShlObj.h> #include "Logger.h" Path::Path() { constexpr...
27.37037
100
0.655616
MayconFelipeA
65e4df8c42cdd84dcb7e0060dee85073cdf56b1e
21,895
cc
C++
util/Scattering.cc
erikleitch/climax
66ce64b0ab9f3a3722d3177cc5215ccf59369e88
[ "MIT" ]
1
2018-11-01T05:15:31.000Z
2018-11-01T05:15:31.000Z
util/Scattering.cc
erikleitch/climax
66ce64b0ab9f3a3722d3177cc5215ccf59369e88
[ "MIT" ]
null
null
null
util/Scattering.cc
erikleitch/climax
66ce64b0ab9f3a3722d3177cc5215ccf59369e88
[ "MIT" ]
2
2017-05-02T19:35:55.000Z
2018-03-07T00:54:51.000Z
#include "gcp/util/Constants.h" #include "gcp/util/Energy.h" #include "gcp/util/FileHandler.h" #include "gcp/util/Scattering.h" #include "gcp/util/SzCalculator.h" #include "gsl/gsl_sf_gamma.h" #include <fcntl.h> #include <arpa/inet.h> #include <unistd.h> using namespace std; using namespace gcp::util; static doub...
28.885224
150
0.573601
erikleitch
65eb1e71085a34b134bed47ba37871e40babe266
676
cpp
C++
Codeforces/A. Anton and Letters.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
Codeforces/A. Anton and Letters.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
Codeforces/A. Anton and Letters.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> /* Problem: A. Anton and Letters Link : https://codeforces.com/contest/443/problem/A Solution by: Mohamed Hisham El-Banna Gmail : Mohamed00Hisham@Gmail.com Github : www.github.com/Mhmd-Hisham LinkedIn: www.linkedin.com/in/Mhmd-Hisham */ using namespace std; char letter; unordered_set< ...
16.9
69
0.642012
Mhmd-Hisham
65efd20bbec69912adf7502a21907de70da281e3
2,909
cpp
C++
src/hit_ids_and.cpp
kasperwelbers/textquery
893ef26b3864a56bae10a3b235a4b900bb12bce7
[ "MIT" ]
1
2022-02-18T23:21:13.000Z
2022-02-18T23:21:13.000Z
src/hit_ids_and.cpp
kasperwelbers/textquery
893ef26b3864a56bae10a3b235a4b900bb12bce7
[ "MIT" ]
null
null
null
src/hit_ids_and.cpp
kasperwelbers/textquery
893ef26b3864a56bae10a3b235a4b900bb12bce7
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; // [[Rcpp::plugins(cpp11)]] bool match_shortest(std::string &x, std::set<std::string> &group_set){ for (const auto &y : group_set) { unsigned int length = x.size(); if (y.size() < length) length = y.size(); if (x.substr(0,length) == y.substr(0,length)) return true;...
42.779412
187
0.591268
kasperwelbers
65f0d22d0744c1c91859d2cccb24c065f9d6521c
1,615
hpp
C++
phylanx/execution_tree/primitives/variable.hpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
phylanx/execution_tree/primitives/variable.hpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
phylanx/execution_tree/primitives/variable.hpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2018 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(PHYLANX_PRIMITIVES_VARIABLE_SEP_05_2017_1105AM) #define PHYLANX_PRIMITIVES_VARIABLE_SEP_05_2017_1105AM #...
29.363636
80
0.716409
NK-Nikunj
65f0f7fa29980491436ea5a606f79359d0733068
1,382
cpp
C++
framework/source/geometry_node.cpp
ChristopherScholl/CGLab-Scholl119705-Schwegler121501
a93b6a92d0293892ae0762d825e5acbd3218a646
[ "MIT" ]
null
null
null
framework/source/geometry_node.cpp
ChristopherScholl/CGLab-Scholl119705-Schwegler121501
a93b6a92d0293892ae0762d825e5acbd3218a646
[ "MIT" ]
null
null
null
framework/source/geometry_node.cpp
ChristopherScholl/CGLab-Scholl119705-Schwegler121501
a93b6a92d0293892ae0762d825e5acbd3218a646
[ "MIT" ]
null
null
null
#include "geometry_node.hpp" // constructors GeometryNode::GeometryNode(){} GeometryNode::GeometryNode(model const& geometry) : geometry_(geometry) {} GeometryNode::GeometryNode( std::string const& name, std::shared_ptr<Node> const& parent, glm::fmat4 const& localTansform, float size, float speed, float di...
22.290323
74
0.737337
ChristopherScholl
65fd17b433a315e61e4595b23d4476495b43670d
291
hpp
C++
lib/exe/Process.hpp
MikaylaFischler/dorm-leds
d5edd7b1d8ba1bc76e13c2ee37cb4f9b1d272d9b
[ "MIT" ]
2
2018-10-03T05:40:00.000Z
2018-12-07T00:39:03.000Z
lib/exe/Process.hpp
MikaylaFischler/dorm-leds
d5edd7b1d8ba1bc76e13c2ee37cb4f9b1d272d9b
[ "MIT" ]
5
2017-09-02T03:57:24.000Z
2018-01-14T17:52:15.000Z
lib/exe/Process.hpp
MikaylaFischler/dorm-leds
d5edd7b1d8ba1bc76e13c2ee37cb4f9b1d272d9b
[ "MIT" ]
null
null
null
#ifndef PROCESS_HPP_ #define PROCESS_HPP_ #include <Arduino.h> #include <ArduinoSTL.h> #include <vector> #include "Executable.hpp" class Process : public Executable { protected: Process() {} public: virtual ~Process() {} virtual void init() {}; virtual void step() {}; }; #endif
13.857143
35
0.690722
MikaylaFischler
5a024191ee9116364aaf45552ea9da220efe1eef
1,112
cpp
C++
src/main.cpp
korenandr/poco_restful_webservice
864b02fb0cd500c9c74fb2f6931c44ecd6f4d019
[ "Apache-2.0" ]
1
2021-07-01T18:45:35.000Z
2021-07-01T18:45:35.000Z
src/main.cpp
korenandr/poco_restful_webservice
864b02fb0cd500c9c74fb2f6931c44ecd6f4d019
[ "Apache-2.0" ]
null
null
null
src/main.cpp
korenandr/poco_restful_webservice
864b02fb0cd500c9c74fb2f6931c44ecd6f4d019
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 2017 Edson (http://edsonaraujosoares.com) and others. * * 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...
27.121951
78
0.678957
korenandr
5a08819a7f34b2df7d9bb45919ecfad6625cdd96
2,674
cpp
C++
Source/ThirdPersonCamera/Camera/HoatCameraModifierFocusWalkDirection.cpp
ArnaudSpicht/third-person-camera
7bedf626d15820d0ff3563b503729d8e2ce5aaa9
[ "MIT" ]
156
2018-04-27T20:27:12.000Z
2022-02-25T02:46:02.000Z
Source/ThirdPersonCamera/Camera/HoatCameraModifierFocusWalkDirection.cpp
ArnaudSpicht/third-person-camera
7bedf626d15820d0ff3563b503729d8e2ce5aaa9
[ "MIT" ]
1
2020-11-30T01:46:13.000Z
2021-10-07T03:49:18.000Z
Source/ThirdPersonCamera/Camera/HoatCameraModifierFocusWalkDirection.cpp
ArnaudSpicht/third-person-camera
7bedf626d15820d0ff3563b503729d8e2ce5aaa9
[ "MIT" ]
41
2018-05-01T04:16:47.000Z
2022-01-07T11:22:13.000Z
#include "HoatCameraModifierFocusWalkDirection.h" #include "GameFramework/Actor.h" #include "Camera/PlayerCharacterInterface.h" UHoatCameraModifierFocusWalkDirection::UHoatCameraModifierFocusWalkDirection(const FObjectInitializer& ObjectInitializer /*= FObjectInitializer::Get()*/) : Super(ObjectInitializer) { ...
28.147368
156
0.690352
ArnaudSpicht
5a0907b201a56b997378bace9740a2b40330dcbe
991
cpp
C++
libraries/models/src/ModelTreeHeadlessViewer.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
libraries/models/src/ModelTreeHeadlessViewer.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
libraries/models/src/ModelTreeHeadlessViewer.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
// // ModelTreeHeadlessViewer.cpp // libraries/models/src // // Created by Brad Hefta-Gaub on 2/26/14. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "ModelTreeHeadl...
25.410256
121
0.706357
Adrianl3d
5a0f69ba96e0fe3713c71cc449550e800411079e
539
cpp
C++
Testbot/src/main/cpp/TestRobot.cpp
CJBuchel/KillSwitch-EventCode
d0cf3e5a0ae8d042137bfab129f0f69631609ec3
[ "MIT" ]
1
2021-10-10T06:52:19.000Z
2021-10-10T06:52:19.000Z
Testbot/src/main/cpp/TestRobot.cpp
CJBuchel/KillSwitch-EventCode
d0cf3e5a0ae8d042137bfab129f0f69631609ec3
[ "MIT" ]
null
null
null
Testbot/src/main/cpp/TestRobot.cpp
CJBuchel/KillSwitch-EventCode
d0cf3e5a0ae8d042137bfab129f0f69631609ec3
[ "MIT" ]
null
null
null
#include "TestRobot.h" #include <actuators/VoltageController.h> #include <math.h> #include <iostream> using namespace frc; using namespace curtinfrc; void Robot::RobotInit() { xbox = new curtinfrc::controllers::XboxController(0); } void Robot::AutonomousInit() {} void Robot::AutonomousPeriodic() {} void Rob...
17.966667
55
0.695733
CJBuchel
5a0fad0973d0f544531cf3ca92f6d346571cd7f7
1,193
cpp
C++
benchmarks/cpp/dry.cpp
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
3
2021-02-23T01:34:28.000Z
2021-07-19T08:07:10.000Z
benchmarks/cpp/dry.cpp
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
null
null
null
benchmarks/cpp/dry.cpp
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
null
null
null
#include <chrono> #include "CodeGenEM64T.hpp" #include "Stage1Runner.hpp" int main(int argc, const char *argv[]) { if (argc < 3) return 0; const char *grammar_path = argv[1]; const char *input_path = argv[2]; const bool result_captured = argc > 3 && argv[3] == std::string("debug"); Centaurus::Gr...
27.113636
120
0.604359
satoshigeyuki
5a161508863f11d0148cd63cb3f7851e4922212e
2,429
cpp
C++
2D/PointAndSegment.cpp
xwen99/Computational-Geometry-Algorithm-Library
f3aa36217f17860f4cd87f93b63b253ad7b93b6f
[ "MIT" ]
5
2019-07-08T14:00:26.000Z
2021-07-21T08:08:01.000Z
2D/PointAndSegment.cpp
xwen99/Computational-Geometry-Algorithm-Library
f3aa36217f17860f4cd87f93b63b253ad7b93b6f
[ "MIT" ]
null
null
null
2D/PointAndSegment.cpp
xwen99/Computational-Geometry-Algorithm-Library
f3aa36217f17860f4cd87f93b63b253ad7b93b6f
[ "MIT" ]
2
2019-10-12T08:43:55.000Z
2020-06-19T13:14:30.000Z
//向量点乘 double Dot(Vector A, Vector B) { return A.x * B.x + A.y * B.y; } //向量模长 double Length(Vector A) { return sqrt(Dot(A, A)); } //向量模长平方 double Length2(Vector A) { return Dot(A, A); } //向量夹角 double Angle(Vector A, Vector B) { return acos(Dot(A, B) / Length(A) / Length(B)); } //向量叉乘 double Cross(Vector A, Vector B) {...
29.621951
112
0.575957
xwen99
5a16841b7b8f7ca761239074eee23e5d8e95c140
2,830
cpp
C++
sauce/core/fundamentals/things/strange__locked_data_t.cpp
oneish/strange
e6c47eca5738dd98f4e09ee5c0bb820146e8b48f
[ "Apache-2.0" ]
null
null
null
sauce/core/fundamentals/things/strange__locked_data_t.cpp
oneish/strange
e6c47eca5738dd98f4e09ee5c0bb820146e8b48f
[ "Apache-2.0" ]
null
null
null
sauce/core/fundamentals/things/strange__locked_data_t.cpp
oneish/strange
e6c47eca5738dd98f4e09ee5c0bb820146e8b48f
[ "Apache-2.0" ]
null
null
null
#include "../../strange__core.h" namespace strange { // locked_data_t // data_o template <typename type_d, typename lock_d> data_o<std::remove_reference_t<type_d>> const* locked_data_t<type_d, lock_d>::_operations() { static data_o<std::remove_reference_t<type_d>> operations = { { // any_a data_a<s...
30.76087
122
0.713074
oneish
5a1de50e6303f0be94a78bc3366ea6e74e112c29
659
cpp
C++
dataset/test/modification/1541_control_replacement/59/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1541_control_replacement/59/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1541_control_replacement/59/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include <iostream> #define long long int void solve() { int n; std::cin >> n; if(!(n%2)){ { int i=1; for ( ; i<n; ) { std::cout << i+1 << " " << i << " "; i+=2; }} } else { ...
15.690476
49
0.291351
Karina5005
5a1ef76f296da1bbea41eddda924a8566e9f98db
1,129
cpp
C++
source/app/xml_logs/src/Backend.cpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
1
2022-01-25T10:31:51.000Z
2022-01-25T10:31:51.000Z
source/app/xml_logs/src/Backend.cpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
source/app/xml_logs/src/Backend.cpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
/// /// Copyright Matus Chochlik. /// Distributed under the GNU GENERAL PUBLIC LICENSE version 3. /// See http://www.gnu.org/licenses/gpl-3.0.txt /// #include "Backend.hpp" //------------------------------------------------------------------------------ Backend::Backend(eagine::main_ctx_parent parent) : QObject{null...
35.28125
80
0.390611
matus-chochlik
5a1f992efaf533a5f444ee930182a544f8f4229f
1,662
cpp
C++
src/tools/random.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
src/tools/random.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
src/tools/random.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
#include <random> #include <chrono> #include <fstream> std::mt19937_64 generator; // C++11 Mersene Twister 19937 generator (64 bit) unsigned randomise(unsigned s=0) { if (!s) {std::random_device seeder; s=seeder();} if (!s) s = std::chrono::high_resolution_clock::now().time_since_epoch().count(); generator.seed...
51.9375
137
0.733454
WatchJolley
5a232a1b7f41a2e2cbbe98597506052f48c94cc6
2,211
cc
C++
01-elementary/07-iterators/src/main.cc
aohontsev/movax01h-cpp-practice
ee81a2502e662f55fc1587fb3cb9caf783b8694c
[ "MIT" ]
null
null
null
01-elementary/07-iterators/src/main.cc
aohontsev/movax01h-cpp-practice
ee81a2502e662f55fc1587fb3cb9caf783b8694c
[ "MIT" ]
null
null
null
01-elementary/07-iterators/src/main.cc
aohontsev/movax01h-cpp-practice
ee81a2502e662f55fc1587fb3cb9caf783b8694c
[ "MIT" ]
null
null
null
// Copyright (c) 2018. // Author: Anton Okhontsev <anton.ohontsev@gmail.com> #include "string" #include <algorithm> #include <iostream> #include <iterator> #include <sstream> #include <vector> typedef std::string Date; enum class MainFuncExitCodes { SUCCESS = 0, INPUT_STREAM_IS_EMPTY = 1, INPUT_STREAM_IS_NOT_...
33.5
77
0.67119
aohontsev
5a27db71a33db825f048c416e1aa0acf7e167c91
979
cpp
C++
Review/main.cpp
ariyonaty/ECE3310
845d7204c16e84712fab2e25f79c0f16cb1e7c99
[ "MIT" ]
null
null
null
Review/main.cpp
ariyonaty/ECE3310
845d7204c16e84712fab2e25f79c0f16cb1e7c99
[ "MIT" ]
null
null
null
Review/main.cpp
ariyonaty/ECE3310
845d7204c16e84712fab2e25f79c0f16cb1e7c99
[ "MIT" ]
1
2021-09-22T04:01:52.000Z
2021-09-22T04:01:52.000Z
#include <iostream> #include <cmath> class Shape { public: virtual double Area() = 0; }; class Circle : public Shape { protected: double width; public: Circle(double w) { width = w; } double Area() override { return 3.1414 * pow((width / 2), 2); } }; struct Shape2 { ...
13.788732
64
0.527068
ariyonaty
5a27eabf43beaf6c70e6f94aec7102cb517d55f6
1,660
cpp
C++
src/camera/DepthCamera.cpp
aurthconan/fanLens
d05ce02cd748f21b6a5385892972accce54fd58d
[ "MIT" ]
null
null
null
src/camera/DepthCamera.cpp
aurthconan/fanLens
d05ce02cd748f21b6a5385892972accce54fd58d
[ "MIT" ]
null
null
null
src/camera/DepthCamera.cpp
aurthconan/fanLens
d05ce02cd748f21b6a5385892972accce54fd58d
[ "MIT" ]
null
null
null
#include "DepthCamera.h" #include <algo/rasterize/fanScanLineGenerator.h> #include <texture/MemoryTexture.h> #include <camera/RasterisationScanner.h> #include <filler/DepthFiller.h> using namespace fan; class DepthPixelConvertor : public fanTexture<int, float, 2> { public: DepthPixelConvertor( fanTexture<i...
27.666667
71
0.592771
aurthconan
5a282b8f07028d8d867d9c3bd39b5dbeb61df5e1
1,219
cpp
C++
cppp/src/9-sequential-container/45-46-50.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
2
2016-12-06T00:49:35.000Z
2017-01-15T07:00:24.000Z
cppp/src/9-sequential-container/45-46-50.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
5
2016-05-02T13:52:52.000Z
2016-09-28T07:57:09.000Z
cppp/src/9-sequential-container/45-46-50.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
null
null
null
#include <string> #include <vector> #include "gtest/gtest.h" // 45: iterator, insert and append // add prefix and suffix to a string void add_prefix_suffix(std::string &s, const std::string &prefix, const std::string &suffix) { s.insert(s.begin(), prefix.begin(), prefix.end()); s.append(suffix); } // 46: rewrite ...
23.901961
97
0.655455
ahxxm
5a28405339af9d2936339626d1a63aa5da261607
4,655
cpp
C++
src/RkFehl.cpp
tmkwan/Cpp-Runge-Kutta-Fehlberg
4e1aeb1d0231acbb12c94617fb79a33b3f542726
[ "MIT" ]
null
null
null
src/RkFehl.cpp
tmkwan/Cpp-Runge-Kutta-Fehlberg
4e1aeb1d0231acbb12c94617fb79a33b3f542726
[ "MIT" ]
null
null
null
src/RkFehl.cpp
tmkwan/Cpp-Runge-Kutta-Fehlberg
4e1aeb1d0231acbb12c94617fb79a33b3f542726
[ "MIT" ]
null
null
null
/* * RkFehl.cpp * * This function runs the Runge-Kutta Fehlberg method on an * ODE selected by the string given as an input. It uses * adaptive time-stepping to create the output matrix. * * Created on: Aug 6, 2016 * Author: Ted Kwan */ #include "RkFehl.h" using namespace std; using namespace arma; Rk...
27.544379
84
0.58131
tmkwan
5a2ac588f4ba8bddf84dd6d0bc6922ab12e361c5
1,934
cc
C++
demo/echo_client.cc
gatieme/yohub
5cf68da73259c6fb75d35925ef44b1824efecc3f
[ "MIT" ]
102
2015-01-12T01:30:00.000Z
2021-08-06T05:49:58.000Z
demo/echo_client.cc
guker/yohub
5cf68da73259c6fb75d35925ef44b1824efecc3f
[ "MIT" ]
3
2015-01-21T08:57:12.000Z
2016-08-29T10:31:19.000Z
demo/echo_client.cc
guker/yohub
5cf68da73259c6fb75d35925ef44b1824efecc3f
[ "MIT" ]
63
2015-01-04T02:17:17.000Z
2020-10-14T04:57:10.000Z
#include "share/log.h" #include "network/event_pool.h" #include "network/async_client.h" #include "network/async_connection.h" #include "network/buffer.h" #include <string> #include <boost/bind.hpp> #include <signal.h> using namespace yohub; static bool stop = false; class EchoClient { public: EchoClient(Event...
24.481013
75
0.607549
gatieme
5a2e6375dfe8bb10a07261a93b5e267e734c4322
5,925
cpp
C++
src/asiUI/salome/moc_QtxColorButton.cpp
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
src/asiUI/salome/moc_QtxColorButton.cpp
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
src/asiUI/salome/moc_QtxColorButton.cpp
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'QtxColorButton.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.1) ** ** WARNING! All changes made in this file will be lost! ******************************************************...
33.857143
96
0.605401
yeeeeeeti
5a3a3f56303afc57a213d74f85375c003754fedd
6,848
cpp
C++
BasicGameFramework/Component/Player/PlayerMovement.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
BasicGameFramework/Component/Player/PlayerMovement.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
BasicGameFramework/Component/Player/PlayerMovement.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
#include "PlayerMovement.h" #include "../CircleComponent.h" #include "../../Object/GameObject.h" #include "../../Util/Input.h" #include "../../Util/Timer.h" #include "PlayerSpriteRenderer.h" #include "../../Manager/GameManager.h" #include "../../Manager/PhysicsManager.h" #include "../../Manager/GameManager.h" #incl...
24.992701
131
0.664282
dlwlxns4
5a3cb2fe0f92798500e8b3e298a895275fc5f2e5
567
cpp
C++
jp.atcoder/abc092/arc093_a/11933117.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc092/arc093_a/11933117.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc092/arc093_a/11933117.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; vector<int> a(n + 2); for (int i = 1; i < n + 1; i++) cin >> a[i]; int s = 0; for (int i = 0; i < n + 1; i++) { s += abs(a[i+1] - a[i]); } for (int i = 1; i < n + 1;...
23.625
68
0.405644
kagemeka
5a41b612b64a67861ac2b5f7fba964b361203b51
2,090
hpp
C++
include/json/AbstractJsonStateMapParser.hpp
SecureCloud-biz/Forecast.io-CPP
dc42abaa9d2887ae5e9a61336dd4cf4be1994993
[ "Apache-2.0" ]
12
2015-04-08T16:18:08.000Z
2020-09-08T01:52:27.000Z
include/json/AbstractJsonStateMapParser.hpp
SecureCloud-biz/Forecast.io-CPP
dc42abaa9d2887ae5e9a61336dd4cf4be1994993
[ "Apache-2.0" ]
null
null
null
include/json/AbstractJsonStateMapParser.hpp
SecureCloud-biz/Forecast.io-CPP
dc42abaa9d2887ae5e9a61336dd4cf4be1994993
[ "Apache-2.0" ]
6
2015-07-24T01:19:58.000Z
2019-07-08T11:52:48.000Z
#ifndef ABSTRACTJSONSTATEMAPPARSER_HPP #define ABSTRACTJSONSTATEMAPPARSER_HPP #include "AbstractJsonParser.hpp" // Base class: json::AbstractJsonParser #include <sstream> #include <string> #include <unordered_map> #include "ParseError.hpp" #include "../common/to_string.hpp" namespace json { template<typename A> cl...
22.473118
90
0.733971
SecureCloud-biz
5a431cdbb6b1967255c17ce88df360c0af7587a7
1,756
cpp
C++
problems/codeforces/1244/c-the-football-season/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codeforces/1244/c-the-football-season/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codeforces/1244/c-the-football-season/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define long int64_t #define bigint __int128_t // ***** long gcd(long a, long b, long& x, long& y) { long xn = 1, yn = 0; x = 0, y = 1; while (a != 0) { long q = b / a; b = b % a; x = x - q * xn, y = y - q * yn; swap(a, b), sw...
23.105263
65
0.340547
brunodccarvalho
5a436ebdb47418288b67438e9bcbf4f6d8e194f5
457
cpp
C++
nocBunnyHop/src/Dandelion.cpp
TravelByRocket/immersive-science-visualizations
8cb47997cc97365df14dbd7ad915f162b5b35ff6
[ "MIT" ]
null
null
null
nocBunnyHop/src/Dandelion.cpp
TravelByRocket/immersive-science-visualizations
8cb47997cc97365df14dbd7ad915f162b5b35ff6
[ "MIT" ]
null
null
null
nocBunnyHop/src/Dandelion.cpp
TravelByRocket/immersive-science-visualizations
8cb47997cc97365df14dbd7ad915f162b5b35ff6
[ "MIT" ]
null
null
null
// // Dandelion.cpp // nocBunnyHop // // Created by Bryan Costanza on 2/2/20. // #include "Dandelion.h" void Dandelion::draw(){ int height = 10; ofPushStyle(); ofFill(); ofSetColor(ofColor::lawnGreen); ofDrawLine(loc.x, loc.y, loc.x, loc.y - height); ofSetColor(ofColor::greenYellow); of...
21.761905
78
0.606127
TravelByRocket
5a475e65eda1f9350be5f50b4ef6ab0e55475875
452
hpp
C++
NWNXLib/API/API/CTlkTableToken.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
NWNXLib/API/API/CTlkTableToken.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
NWNXLib/API/API/CTlkTableToken.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#pragma once #include "nwn_api.hpp" #include "CExoString.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CTlkTableToken) #endif struct CTlkTableToken { uint32_t m_nHash; CExoString m_sToken; uint32_t m_nActionCode; uint32_t m_nStrRef[4]; uint32_t m_nStrRefDefault; #ifdef NWN_CLASS_EXTENSION...
12.914286
41
0.780973
summonFox
5a49e305ec89e26a1d3b9b62e09bded50ef263f0
1,444
cpp
C++
Strings/RollingHash.cpp
4eyes4u/Algorithms
afd8363ee39e5b7c499741f56922f16f4f50dc09
[ "MIT" ]
2
2019-02-16T13:13:40.000Z
2019-03-19T20:05:42.000Z
Strings/RollingHash.cpp
4eyes4u/Algorithms
afd8363ee39e5b7c499741f56922f16f4f50dc09
[ "MIT" ]
null
null
null
Strings/RollingHash.cpp
4eyes4u/Algorithms
afd8363ee39e5b7c499741f56922f16f4f50dc09
[ "MIT" ]
1
2020-07-03T06:15:41.000Z
2020-07-03T06:15:41.000Z
/* Name: Rolling hash Time complexity: -O(N + logMOD) for initialization -O(1) for substrings' hash * * * Prime should be several magnitudes lower than moduo. Several hash functions can be applied in order to reduce number of collisions. */ #include <bits/stdc++.h> using namespace std...
18.278481
82
0.455679
4eyes4u
5a4c6363132c8ec500b2c4f3b1ce18202d89fafd
5,770
cpp
C++
source/XDynamicLibrary.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
source/XDynamicLibrary.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
source/XDynamicLibrary.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // XSDK // Copyright (c) 2015 Schneider Electric // // Use, modification, and distribution is subject to the Boost Software License, // Version 1.0 (See accompanying file LICENSE). // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
31.703297
166
0.462912
MultiSight
53ff8057e0bca24f227762fd1d0d8f7f34184af9
4,196
cpp
C++
Examples/PDU/PDU_Factory2/KDIS.cpp
TangramFlex/KDIS_Fork
698d81a2de8b6df3fc99bb31b9d31eaa5368fda4
[ "BSD-2-Clause" ]
null
null
null
Examples/PDU/PDU_Factory2/KDIS.cpp
TangramFlex/KDIS_Fork
698d81a2de8b6df3fc99bb31b9d31eaa5368fda4
[ "BSD-2-Clause" ]
null
null
null
Examples/PDU/PDU_Factory2/KDIS.cpp
TangramFlex/KDIS_Fork
698d81a2de8b6df3fc99bb31b9d31eaa5368fda4
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************** The following UNLICENSE statement applies to this example. This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code for...
34.677686
124
0.630839
TangramFlex
9904e948ada36e1a76f79b99d594615cf2c506ca
1,170
hpp
C++
opt/nomad/src/Attribute/cacheAttributesDefinition.hpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
31
2019-02-05T16:39:18.000Z
2022-03-11T23:14:11.000Z
opt/nomad/src/Attribute/cacheAttributesDefinition.hpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
20
2020-04-13T09:22:53.000Z
2021-08-16T16:14:13.000Z
opt/nomad/src/Attribute/cacheAttributesDefinition.hpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
6
2020-04-21T17:43:47.000Z
2021-03-10T04:12:34.000Z
//////////// THIS FILE MUST BE CREATED BY EXECUTING WriteAttributeDefinitionFile //////////// //////////// DO NOT MODIFY THIS FILE MANUALLY /////////////////////////////////////////////// #ifndef __NOMAD_4_0_CACHEATTRIBUTESDEFINITION__ #define __NOMAD_4_0_CACHEATTRIBUTESDEFINITION__ _definition = { { "CACHE_FILE", "...
97.5
436
0.64359
scikit-quant
990c981deab8ee1f973aa8b79fd4541113777dc6
4,568
cpp
C++
main.cpp
Arc-N/DLL-Implementation
f366ad19eef76f7b52158e71107a32a6bbcdae24
[ "MIT" ]
null
null
null
main.cpp
Arc-N/DLL-Implementation
f366ad19eef76f7b52158e71107a32a6bbcdae24
[ "MIT" ]
null
null
null
main.cpp
Arc-N/DLL-Implementation
f366ad19eef76f7b52158e71107a32a6bbcdae24
[ "MIT" ]
null
null
null
//Arman Arakelyan #include "helperFunctions.hpp" int main() { int lengthOfSimulation = 0, numberOfRegisters = 0, maximumLineLength = 0; char arrangmentSelector = '\0'; std::cin >> lengthOfSimulation >> numberOfRegisters >> maximumLineLength; std::cin >> arrangmentSelector; //=======================================...
35.968504
150
0.652583
Arc-N
99120f71365de278ae23671cd007a867bc94f843
556
hpp
C++
headers/event.hpp
bdomitil/irc-server
16ea347ea3d1a79fec402a871320cf22d5ef5a2f
[ "Unlicense" ]
null
null
null
headers/event.hpp
bdomitil/irc-server
16ea347ea3d1a79fec402a871320cf22d5ef5a2f
[ "Unlicense" ]
null
null
null
headers/event.hpp
bdomitil/irc-server
16ea347ea3d1a79fec402a871320cf22d5ef5a2f
[ "Unlicense" ]
null
null
null
#ifndef IRC_EVENT_HPP #define IRC_EVENT_HPP #include "irc-server.hpp" class t_event{ private: uint32_t len; int fd; uint32_t update_len; struct kevent *event_list; public: void update(); void addReadEvent(int fd, void *udata); void addWriteEvent(int fd, void *udata); void disableReadEvent(int fd, void *ud...
23.166667
45
0.733813
bdomitil
9912ad534241b957aeb416a745be3738794589ed
1,766
cpp
C++
src/tdme/engine/model/FacesEntity.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/engine/model/FacesEntity.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/engine/model/FacesEntity.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/engine/model/FacesEntity.h> #include <vector> #include <string> #include <tdme/engine/model/Face.h> #include <tdme/engine/model/Group.h> #include <tdme/engine/model/Material.h> #include <tdme/engine/model/TextureCoordinate.h> #include <tdme/math/Vector3.h> using std::vector; using std::string; using ...
27.169231
121
0.715742
mahula
991ebdf78337daca3f78c08db62eded13e83ae73
1,688
inl
C++
include/luaBind/object.inl
StefanoLanza/LuaBind
37b27e8ed54915890a69139826ece9e24d0860d5
[ "MIT" ]
null
null
null
include/luaBind/object.inl
StefanoLanza/LuaBind
37b27e8ed54915890a69139826ece9e24d0860d5
[ "MIT" ]
null
null
null
include/luaBind/object.inl
StefanoLanza/LuaBind
37b27e8ed54915890a69139826ece9e24d0860d5
[ "MIT" ]
null
null
null
#pragma once #include "autoBlock.h" #include "result.h" #include "stackUtils.h" #include <cassert> namespace Typhoon::LuaBind { template <typename RetType, typename... ArgTypes> Result Object::callMethodRet(const char* func, RetType& ret, ArgTypes&&... args) const { AutoBlock autoBlock(ls); const auto [validCall,...
25.969231
101
0.668246
StefanoLanza
991f70d987ade5625f8ddbc1269112446000031e
5,880
cpp
C++
src/4-CPUArchitecture/cpu_cache_misses.cpp
nixiz/advanced_cpp_course
acc3cab52cb629ed3eb12cd0fdd9689069e733e7
[ "MIT" ]
1
2021-12-09T07:23:06.000Z
2021-12-09T07:23:06.000Z
src/4-CPUArchitecture/cpu_cache_misses.cpp
nixiz/advanced_cpp_course
acc3cab52cb629ed3eb12cd0fdd9689069e733e7
[ "MIT" ]
null
null
null
src/4-CPUArchitecture/cpu_cache_misses.cpp
nixiz/advanced_cpp_course
acc3cab52cb629ed3eb12cd0fdd9689069e733e7
[ "MIT" ]
null
null
null
#include <advanced_cpp_topics.h> #include <limits> #include <type_traits> #include <chrono> #include <random> #include <map> #include <string> #include <sstream> #include <iostream> #include <iomanip> namespace cpu_cache_misses { enum class TraversalOrder : unsigned { RowMajor, ColumnMajor }; template ...
28
122
0.596429
nixiz
9921d1792e24d504db60756a0857ae644ed51ccc
6,762
cpp
C++
src/schedulers/Static.cpp
EngineCL/EngineCL
28b717317c3d6330385cb3b8f574f2b35f62ad4c
[ "MIT" ]
13
2020-10-12T00:08:42.000Z
2022-03-31T21:17:12.000Z
src/schedulers/Static.cpp
EngineCL/EngineCL
28b717317c3d6330385cb3b8f574f2b35f62ad4c
[ "MIT" ]
null
null
null
src/schedulers/Static.cpp
EngineCL/EngineCL
28b717317c3d6330385cb3b8f574f2b35f62ad4c
[ "MIT" ]
3
2020-11-19T01:17:57.000Z
2021-04-27T03:40:05.000Z
/** * Copyright (c) 2018 ATC (University of Cantabria) <nozalr@unican.es> * This file is part of EngineCL which is released under MIT License. * See file LICENSE for full license details. */ #include "schedulers/Static.hpp" #include <tuple> #include "Device.hpp" namespace ecl { void fnThreadScheduler(StaticS...
23.726316
96
0.674652
EngineCL
992588cd7da596b7450205f7a5d167bc136a0e6d
1,345
cpp
C++
SERGRID.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
SERGRID.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
SERGRID.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define MAXN 500 using namespace std; struct cell { int row; int col; cell(int row, int col) : row(row), col(col) {} }; const int dr[] = {-1, 0, 1, 0}; const int dc[] = {0, 1, 0, -1}; int grid[MAXN][MAXN]; bool visited[MAXN][MAXN]; int dist[MAXN][MAXN]; int rows;...
15.639535
62
0.477323
Marethyu12
99467c61d8423028f19230a664283e93ac49f3ea
76,306
cpp
C++
DspAudioHost/DspAudioHostDlg.cpp
sjk7/DSPAudioHost
f26c4c4b79df2f3cbc7cb93e4341be04a0958f26
[ "MIT" ]
null
null
null
DspAudioHost/DspAudioHostDlg.cpp
sjk7/DSPAudioHost
f26c4c4b79df2f3cbc7cb93e4341be04a0958f26
[ "MIT" ]
null
null
null
DspAudioHost/DspAudioHostDlg.cpp
sjk7/DSPAudioHost
f26c4c4b79df2f3cbc7cb93e4341be04a0958f26
[ "MIT" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com // DspAudioHostDlg.cpp : implementation file // #include "pch.h" #include "framework.h" #include "DspAudioHost.h" #include "DspAudioHostDlg.h" #includ...
31.158024
90
0.615076
sjk7
994698e8de3948a157175c3a6907ea175f565815
521
cpp
C++
abp/GUI/Sciter/demo-apps/sciter-external-behavior/stdafx.cpp
pyrroman/au3-boilerplate
596a3aa68d4d6b48dd79ed737d1e11604ac9e92f
[ "BSD-3-Clause" ]
8
2019-07-02T15:59:30.000Z
2021-07-13T05:13:43.000Z
abp/GUI/Sciter/demo-apps/sciter-external-behavior/stdafx.cpp
pyrroman/au3-boilerplate
596a3aa68d4d6b48dd79ed737d1e11604ac9e92f
[ "BSD-3-Clause" ]
null
null
null
abp/GUI/Sciter/demo-apps/sciter-external-behavior/stdafx.cpp
pyrroman/au3-boilerplate
596a3aa68d4d6b48dd79ed737d1e11604ac9e92f
[ "BSD-3-Clause" ]
1
2019-07-02T15:59:31.000Z
2019-07-02T15:59:31.000Z
// stdafx.cpp : source file that includes just the standard includes // sciterferry.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPV...
23.681818
68
0.677543
pyrroman
995286d5bd0fa7419872fcbf0372eaa327924786
1,394
cpp
C++
gearoenix/vulkan/image/gx-vk-img-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/vulkan/image/gx-vk-img-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/vulkan/image/gx-vk-img-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-vk-img-manager.hpp" #ifdef GX_USE_VULKAN #include "../buffer/gx-vk-buf-buffer.hpp" #include "../engine/gx-vk-eng-engine.hpp" #include "gx-vk-img-image.hpp" gearoenix::vulkan::image::Manager::Manager(engine::Engine* const e) noexcept : frame_upload_images(e->get_frames_count()) , e(e) { } gearoeni...
28.44898
77
0.664275
Hossein-Noroozpour
995dd80a18cf4b99c722d5e75eb51a0d2d672b25
1,214
hpp
C++
src/gpu/ocl/ocl_gpu_detect.hpp
ImproveMyPhone/mkl-dnn
aa13406e8a284495faaddf5396d9090a1d46f1ca
[ "Apache-2.0" ]
4
2019-02-01T11:16:59.000Z
2020-04-27T17:27:06.000Z
src/gpu/ocl/ocl_gpu_detect.hpp
ImproveMyPhone/mkl-dnn
aa13406e8a284495faaddf5396d9090a1d46f1ca
[ "Apache-2.0" ]
1
2020-04-17T22:23:01.000Z
2020-04-23T21:11:41.000Z
src/gpu/ocl/ocl_gpu_detect.hpp
ImproveMyPhone/mkl-dnn
aa13406e8a284495faaddf5396d9090a1d46f1ca
[ "Apache-2.0" ]
5
2019-02-08T07:36:01.000Z
2021-07-14T07:58:50.000Z
/******************************************************************************* * Copyright 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
31.947368
80
0.671334
ImproveMyPhone
9969170f75bdefe918f39ca2d350e3ca04b0b090
586
cpp
C++
Workers/VariableDisplayer.cpp
dennistrukhin/C-Virtual-machine
644be1f45c0d2804f93bddbfb4728e3d0c9fee5a
[ "MIT" ]
null
null
null
Workers/VariableDisplayer.cpp
dennistrukhin/C-Virtual-machine
644be1f45c0d2804f93bddbfb4728e3d0c9fee5a
[ "MIT" ]
null
null
null
Workers/VariableDisplayer.cpp
dennistrukhin/C-Virtual-machine
644be1f45c0d2804f93bddbfb4728e3d0c9fee5a
[ "MIT" ]
null
null
null
// // Created by Dennis Trukhin on 22/04/2018. // #include <iostream> #include "VariableDisplayer.h" VariableDisplayer::VariableDisplayer(FileReader *fr, Variables *v) { reader = fr; variables = v; } void VariableDisplayer::display() { auto index = reader->getWord().asInt(); auto var = variables->get...
22.538462
68
0.587031
dennistrukhin
996a8c3d187c620e3814c64c7ab5bcb80ee1b757
7,938
cpp
C++
src/voglreplay/replay_tool_compare_hash.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
497
2015-01-02T19:45:01.000Z
2022-03-04T19:22:07.000Z
src/voglreplay/replay_tool_compare_hash.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
40
2015-01-05T21:04:20.000Z
2020-03-25T07:01:59.000Z
src/voglreplay/replay_tool_compare_hash.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
85
2015-01-02T22:29:00.000Z
2021-11-28T02:42:48.000Z
/************************************************************************** * * Copyright 2013-2014 RAD Game Tools and Valve Software * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
42.677419
206
0.642857
kingtaurus
996b2ed2bdca65c59049fb1d0cb5f6f88fd32700
6,865
cpp
C++
Src/Vulkan/Core/VulkanDriver.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/Vulkan/Core/VulkanDriver.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/Vulkan/Core/VulkanDriver.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
#define ZR_EXPORT 1 // export this class to dll #include <Vulkan/Core/VulkanDriver.h> // #include <VulkanDriver/VulkanRenderPassFactory.h> #include <Common/Core/MyUtilities.h> #include <Vulkan/Core/VulkanValidationLayerEnabler.h> VkResult CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCal...
39.682081
193
0.766934
StavrosBizelis
997351e4aaf176cf496a09eb99e3d0c5bcf87460
1,190
cpp
C++
JetEngine/Graphics/Renderable.cpp
matt-attack/Jet-Engine
4b86ae2b7b60a326a7a329942d2c8f656ed2bd9f
[ "MIT" ]
1
2018-07-29T20:51:12.000Z
2018-07-29T20:51:12.000Z
JetEngine/Graphics/Renderable.cpp
matt-attack/Jet-Engine
4b86ae2b7b60a326a7a329942d2c8f656ed2bd9f
[ "MIT" ]
12
2017-07-29T20:33:15.000Z
2018-08-11T23:29:16.000Z
JetEngine/Graphics/Renderable.cpp
matt-attack/Jet-Engine
4b86ae2b7b60a326a7a329942d2c8f656ed2bd9f
[ "MIT" ]
1
2018-07-30T12:55:20.000Z
2018-07-30T12:55:20.000Z
#include "Renderable.h" #include "../IMaterial.h" #include "CVertexBuffer.h" void BasicRenderable::SetMeshEasy(const std::string& material_name, const std::string& image_name, const EzVert* vertex, int count) { auto mat = new IMaterial(material_name.c_str()); mat->alpha = false; //ok, this is eww, but fine for now...
30.512821
131
0.709244
matt-attack
99745d53c62d84b5a215125f22724225dbb69852
5,855
cpp
C++
third_party_src/ksqueezedtextlabel/kde_460_kdeui/src/ksqueezedtextlabel.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
third_party_src/ksqueezedtextlabel/kde_460_kdeui/src/ksqueezedtextlabel.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
third_party_src/ksqueezedtextlabel/kde_460_kdeui/src/ksqueezedtextlabel.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
/* This file is part of the KDE libraries Copyright (C) 2000 Ronny Standtke <Ronny.Standtke@gmx.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is d...
28.42233
104
0.686422
CoSoSys
99758b5311eff1a96c57c9951983f47a2841426d
414
cpp
C++
Example/datetime_11/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_11/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_11/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include <iostream> using namespace boost::posix_time; int main() { ptime pt = second_clock::universal_time(); std::cout << pt.date() << '\n'; std::cout << pt.time_of_day() << '\n'; pt = from_iso_string("2...
25.875
52
0.657005
KwangjoJeong
9976b281873b3248d258667a42ba6f1e377e6db3
1,946
cpp
C++
aws-cpp-sdk-migrationhubstrategy/source/model/NetworkInfo.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/NetworkInfo.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/NetworkInfo.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/migrationhubstrategy/model/NetworkInfo.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aw...
18.533333
69
0.725591
perfectrecall
9979e35b635eb9481593e6fe7a5e1cc891d656d8
1,094
cpp
C++
ABC/ABC086/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC086/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC086/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cassert> //#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //c...
21.038462
75
0.499086
rajyan
5f5378c04bea77861bb75554ba01c2d796321c99
227
hpp
C++
PP/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/view/concept.hpp> namespace PP { constexpr auto find(concepts::view auto&& v, auto&& p) { auto i = view::begin_(v); for (; i != view::end_(v) && !PP_F(p)(*i); ++i) ; return i; } }
16.214286
54
0.555066
Petkr
5f5c30c6d16d8f44838f6926d883ca06dd8b4359
1,368
cpp
C++
OpenGLTriangleIntersection/Renderer.cpp
uysalaltas/Opengl_Triangle_Point_Intersection
a310bf459e5a6c24794d9c354d2f2b771e97dae3
[ "MIT" ]
null
null
null
OpenGLTriangleIntersection/Renderer.cpp
uysalaltas/Opengl_Triangle_Point_Intersection
a310bf459e5a6c24794d9c354d2f2b771e97dae3
[ "MIT" ]
null
null
null
OpenGLTriangleIntersection/Renderer.cpp
uysalaltas/Opengl_Triangle_Point_Intersection
a310bf459e5a6c24794d9c354d2f2b771e97dae3
[ "MIT" ]
null
null
null
#include "Renderer.h" #include <glm/gtx/string_cast.hpp> Renderer::Renderer(std::vector<Vertex>& vertices, std::vector<GLuint>& indices) : m_vertices(vertices) , m_indices(indices) { std::cout << "Renderer Constructor" << std::endl; va.Bind(); for (int i = 0; i < m_indices.size(); i++) { Point a = m_vertices[...
24.428571
79
0.677632
uysalaltas
5f5cf92597fbb65c11cfcefeb8d3f75b4696f89e
7,531
cpp
C++
OpenC2X/dcc/src/ChannelProber.cpp
zdzaz/e-c-its
dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372
[ "MIT" ]
null
null
null
OpenC2X/dcc/src/ChannelProber.cpp
zdzaz/e-c-its
dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372
[ "MIT" ]
null
null
null
OpenC2X/dcc/src/ChannelProber.cpp
zdzaz/e-c-its
dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372
[ "MIT" ]
null
null
null
// This file is part of OpenC2X. // // OpenC2X is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // OpenC2X is distributed i...
30.489879
149
0.727925
zdzaz
5f5e9fd25cd59621fe6a511bd6dbd83d414be0ca
2,799
cpp
C++
lambda/src/Lambda/core/io/EventLoop.cpp
lambda-sh/lambda
c96de4f2bd370718c6d14d7788444660b1a7838b
[ "MIT" ]
5
2021-01-05T20:48:10.000Z
2021-11-03T02:11:02.000Z
lambda/src/Lambda/core/io/EventLoop.cpp
lambda-sh/lambda
c96de4f2bd370718c6d14d7788444660b1a7838b
[ "MIT" ]
15
2021-01-05T20:41:57.000Z
2021-12-21T16:46:54.000Z
lambda/src/Lambda/core/io/EventLoop.cpp
lambda-sh/lambda
c96de4f2bd370718c6d14d7788444660b1a7838b
[ "MIT" ]
2
2021-08-02T11:56:27.000Z
2021-08-15T09:48:40.000Z
#include <Lambda/core/io/EventLoop.h> #include <Lambda/lib/Time.h> namespace lambda::core::io { /// @todo (C3NZ): Investigate into the amount of time needed to sleep by the /// thread that this loop is running in. /// @todo (C3NZ): Is this as performant as it can possibly be? /// @todo (C3NZ): There is no way to cur...
31.449438
79
0.677385
lambda-sh
5f61743a147a6e425a8084d011ee0535e81958c5
3,213
cpp
C++
src/lib/classification/poset_classification/poset_classification_report_options.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/classification/poset_classification/poset_classification_report_options.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/classification/poset_classification/poset_classification_report_options.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
/* * poset_classification_report_options.cpp * * Created on: Jul 31, 2021 * Author: betten */ #include "foundations/foundations.h" #include "group_actions/group_actions.h" #include "classification/classification.h" using namespace std; namespace orbiter { namespace classification { poset_classificat...
24.340909
120
0.73794
abetten
5f61d22453b8957c45e9a34d83111592934ea31f
2,041
cpp
C++
caffe_zyyszj/src/caffe/layers/split_data_layer.cpp
ZYYSzj/Selective-Joint-Fine-tuning
7dc6c30cd4768b526201986afef9b131bb94da81
[ "BSD-2-Clause" ]
69
2017-04-18T03:50:16.000Z
2018-12-11T09:09:12.000Z
caffe_zyyszj/src/caffe/layers/split_data_layer.cpp
ZYYSzj/Selective-Joint-Fine-tuning
7dc6c30cd4768b526201986afef9b131bb94da81
[ "BSD-2-Clause" ]
5
2017-08-14T14:47:29.000Z
2018-07-18T03:45:33.000Z
selective_joint_ft/additional_layers/split_data_layer.cpp
ZYYSzj/Selective-Joint-Fine-tuning
7dc6c30cd4768b526201986afef9b131bb94da81
[ "BSD-2-Clause" ]
17
2017-05-02T06:47:48.000Z
2018-08-09T04:12:31.000Z
#include <cfloat> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <opencv2/opencv.hpp> #include "caffe/layers/split_data_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> void SplitDataLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*...
38.509434
131
0.709946
ZYYSzj
5f67e0c27ec38f883700e642b2d5e71605601ff2
712
cpp
C++
test/io/load_libsvm_subsampling.cpp
husk214/libsdm
7e4e72a60b0e37e6cceaa32c09b839a3895bfa40
[ "BSL-1.0" ]
4
2017-01-15T14:57:26.000Z
2022-02-24T08:12:45.000Z
test/io/load_libsvm_subsampling.cpp
husk214/libsdm
7e4e72a60b0e37e6cceaa32c09b839a3895bfa40
[ "BSL-1.0" ]
null
null
null
test/io/load_libsvm_subsampling.cpp
husk214/libsdm
7e4e72a60b0e37e6cceaa32c09b839a3895bfa40
[ "BSL-1.0" ]
3
2017-01-26T01:29:16.000Z
2018-06-23T16:49:26.000Z
#include "io.hpp" using namespace sdm; using namespace Eigen; using namespace std; int main(int argc, char const *argv[]) { if (argc > 4) { std::string file_name = argv[1]; int sub_num_ins = atof(argv[2]); int sub_num_fea = atof(argv[3]); bool random_seed_flag = static_cast<bool>(atoi(argv[4])); ...
28.48
80
0.632022
husk214
5f70ba139aa3db79fce82817e042a9f16a76d476
712
cpp
C++
FastWindows.UI.Composition/CompositionMaskBrush.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
2
2019-06-13T16:29:07.000Z
2019-12-17T18:06:59.000Z
FastWindows.UI.Composition/CompositionMaskBrush.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
null
null
null
FastWindows.UI.Composition/CompositionMaskBrush.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
2
2019-09-21T13:15:58.000Z
2020-08-30T06:48:59.000Z
#include "pch.h" #include "CompositionMaskBrush.h" #include "CompositionMaskBrush.g.cpp" namespace winrt::FastWindows::UI::Composition::implementation { FastWindows::UI::Composition::CompositionBrush CompositionMaskBrush::Mask() { throw hresult_not_implemented(); } void CompositionMaskBrush::Ma...
29.666667
91
0.719101
kennykerr
5f71705e747482196f9be6a0ba892b3b2e48d97e
2,386
cpp
C++
src/test/demo_http.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/test/demo_http.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/test/demo_http.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
// // Created by Harrand on 14/12/2018. // #include "socket.hpp" #include "amethyst.hpp" int main() { am::initialise(); using namespace am::net; // UDP Example /* Socket socketA{{transmission::protocol::UDP, internet::protocol::IPV4}}; socketA.bind(80); Socket socketB{{transmission::protoco...
33.605634
274
0.598491
Harrand
5f7bc0933e673eaa4dab2f2d05b26c0f54a16a68
1,768
cpp
C++
VkTest/VkTest/src/Core/KeyboardController.cpp
Yank1n/VkTest
1c7354bc694f35a21d65dcbe39fa4b1e6fc4eef9
[ "MIT" ]
null
null
null
VkTest/VkTest/src/Core/KeyboardController.cpp
Yank1n/VkTest
1c7354bc694f35a21d65dcbe39fa4b1e6fc4eef9
[ "MIT" ]
null
null
null
VkTest/VkTest/src/Core/KeyboardController.cpp
Yank1n/VkTest
1c7354bc694f35a21d65dcbe39fa4b1e6fc4eef9
[ "MIT" ]
null
null
null
#include "KeyboardController.h" void KeyboardController::Move(GLFWwindow* window, float dt, GameObject& gameObject) { glm::vec3 rotate{ 0.0f }; if (glfwGetKey(window, m_Key.lookRight) == GLFW_PRESS) rotate.y += 1.0f; if (glfwGetKey(window, m_Key.lookLeft) == GLFW_PRESS) rotate.y -= 1.0f; if (glfw...
52
103
0.667986
Yank1n
5f7d4ca5b2a12aad2d012a1d3d5e917d5eb15f8d
119,934
cpp
C++
src/vedaEMailClient/vedaEMailClient.cpp
vedatech/Veda_platform
5592cb0e43666b04df12eed1849a2a655de6feff
[ "MIT" ]
null
null
null
src/vedaEMailClient/vedaEMailClient.cpp
vedatech/Veda_platform
5592cb0e43666b04df12eed1849a2a655de6feff
[ "MIT" ]
null
null
null
src/vedaEMailClient/vedaEMailClient.cpp
vedatech/Veda_platform
5592cb0e43666b04df12eed1849a2a655de6feff
[ "MIT" ]
null
null
null
#include "vedaEMailClient.h" #include "ui_vedaEMailClient.h" vedaEMailClient::vedaEMailClient(QWidget *parent) : QWidget(parent), ui(new Ui::vedaEMailClient) { ui->setupUi(this); setWindowTitle("VEDA EMail client"); setWindowIcon(QIcon(":/Resources/veda-icon-512.png")); //#ifdef MACOS // setWin...
33.213514
206
0.570122
vedatech
5f7dee38b98c8a217027242610347707acbfcb85
3,993
cc
C++
ChiTech/ChiMesh/VolumeMesher/Extruder/volmesher_extruder_utils.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
1
2021-06-15T12:57:35.000Z
2021-06-15T12:57:35.000Z
ChiTech/ChiMesh/VolumeMesher/Extruder/volmesher_extruder_utils.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
6
2020-08-17T16:27:12.000Z
2020-08-19T13:59:45.000Z
ChiTech/ChiMesh/VolumeMesher/Extruder/volmesher_extruder_utils.cc
Naktakala/chi-tech
df5f517d5aff1d167db50ccbcf4229ac0cb668c4
[ "MIT" ]
null
null
null
#include "volmesher_extruder.h" #include "chi_mpi.h" extern ChiMPI& chi_mpi; #include "chi_log.h" extern ChiLog& chi_log; //################################################################### /**Computes the partition id of a template cell's projection onto 3D.*/ chi_mesh::Vector3 chi_mesh::VolumeMesherExtruder::Com...
31.195313
72
0.682194
zachhardy
5f818f9475dd8d88af7f52f3e7b6fd09ace621dc
918
cpp
C++
code/walk_to_point/rotate_and_straight_by_boss.cpp
RoboticRobo/Mapping-robot
31d9443766482ea9793c6258b0b5178245689fd1
[ "MIT" ]
null
null
null
code/walk_to_point/rotate_and_straight_by_boss.cpp
RoboticRobo/Mapping-robot
31d9443766482ea9793c6258b0b5178245689fd1
[ "MIT" ]
null
null
null
code/walk_to_point/rotate_and_straight_by_boss.cpp
RoboticRobo/Mapping-robot
31d9443766482ea9793c6258b0b5178245689fd1
[ "MIT" ]
null
null
null
void walk_to(double posx, double posy, double angle, int endx, int endy) { cvNamedWindow("robot"); double diffx = abs(posx - endx); double diffy = abs(posy - endy); angle = angle - 180; if (angle < 0) { angle += 360; } double target_angle = atan(diffx / diffy); target_angle = target_angle * 180 / M_PI; d...
16.105263
74
0.593682
RoboticRobo
5f8849b8ce469f7a3964ae045e2df48b913c9ff3
223
cpp
C++
Pbinfo/CMMMC.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
7
2019-01-06T19:10:14.000Z
2021-10-16T06:41:23.000Z
Pbinfo/CMMMC.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
null
null
null
Pbinfo/CMMMC.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
6
2019-01-06T19:17:30.000Z
2020-02-12T22:29:17.000Z
#include <iostream> using namespace std; int main(){ int a, b, aa, bb; cin>>a>>b; aa=a; bb=b; while(b){ int rest=a%b; a=b; b=rest; } cout<<(aa*bb)/a; return 0; }
10.619048
21
0.434978
Al3x76
5f932c96d1112c807e8069c6b60d434c05881c93
585
cpp
C++
test/mp/count.cpp
Cleyera/gdv
c89dd24898a58c4f905a4d53b6c2b262f2689b09
[ "MIT" ]
null
null
null
test/mp/count.cpp
Cleyera/gdv
c89dd24898a58c4f905a4d53b6c2b262f2689b09
[ "MIT" ]
null
null
null
test/mp/count.cpp
Cleyera/gdv
c89dd24898a58c4f905a4d53b6c2b262f2689b09
[ "MIT" ]
null
null
null
#include <gdv/mp/test/test.h> GDV_MP_TEST_CASE(count) { using l1 = ::std::tuple<int, char, short>; using l2 = ::std::tuple<int, int, int>; using l3 = ::std::tuple<>; GDV_MP_TEST_EQ((count<l1, int>::value), (size_t)1); GDV_MP_TEST_EQ((count<l2, int>::value), (size_t)3); GDV_MP_TEST_EQ((count<l3,...
36.5625
55
0.664957
Cleyera