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
021fb6c7214211444391a14816e0e053e3d5bed9
273
cpp
C++
458.cpp
shaonsani/UVA_Solving
ee916a2938ea81b3676baf4c8150b1b42c9ab5a5
[ "MIT" ]
null
null
null
458.cpp
shaonsani/UVA_Solving
ee916a2938ea81b3676baf4c8150b1b42c9ab5a5
[ "MIT" ]
null
null
null
458.cpp
shaonsani/UVA_Solving
ee916a2938ea81b3676baf4c8150b1b42c9ab5a5
[ "MIT" ]
null
null
null
#include<string.h> #include<stdio.h> int main() { char shane[1000]; while(gets(shane)) { int ln=strlen(shane); for(int i=0; i<ln; i++) { printf("%c",shane[i]-7); } printf("\n"); } return 0; }
10.5
36
0.428571
shaonsani
022199c499118b21ed6130a0c0b9cd3df0713900
2,182
hh
C++
src/maze/MazeVertex2D.hh
huzjkevin/portal_maze_zgl
efb32b1c3430f20638c1401095999ecb4d0af5aa
[ "MIT" ]
null
null
null
src/maze/MazeVertex2D.hh
huzjkevin/portal_maze_zgl
efb32b1c3430f20638c1401095999ecb4d0af5aa
[ "MIT" ]
null
null
null
src/maze/MazeVertex2D.hh
huzjkevin/portal_maze_zgl
efb32b1c3430f20638c1401095999ecb4d0af5aa
[ "MIT" ]
null
null
null
#pragma once #include "../forward.hh" class MazeVertex2D { private: glm::vec2 location; std::vector<int32_t> faces; std::vector<int32_t> incoming; std::vector<int32_t> outgoing; public: MazeVertex2D(glm::vec2 loc) : location(loc), faces(), incoming(), outgoing() {} MazeVertex2D(glm::vec2 l...
33.060606
112
0.666361
huzjkevin
0227a436bda3c1cf6e430927e538ffa32e1606df
15,323
cpp
C++
src/game/client/rtl_support.cpp
MJavad/teeworlds
f3f48e294cdda1b0830ae4af2e3493a2404719ae
[ "Zlib" ]
1
2016-02-07T00:09:31.000Z
2016-02-07T00:09:31.000Z
src/game/client/rtl_support.cpp
MJavad/teeworlds
f3f48e294cdda1b0830ae4af2e3493a2404719ae
[ "Zlib" ]
null
null
null
src/game/client/rtl_support.cpp
MJavad/teeworlds
f3f48e294cdda1b0830ae4af2e3493a2404719ae
[ "Zlib" ]
null
null
null
// (c) MJavad // Fix for rtl languages (for now supports Persian and Arabic with LTR base) #include <base/system.h> #include "rtl_support.h" void CRTLFix::FixString(char *pDst, const char *pSrc, int DstSize, bool FullRTL, int *pCursor, int *pFixedLen) { int Cursor = -1; int Size = 0; int Char; char Buf[4]; CChar ...
19.746134
133
0.551132
MJavad
02302a3cca90b859ba1e67ca915527d4c1720e32
2,725
hpp
C++
pf_driver/include/pf_driver/pf/r2000/pfsdp_2000.hpp
eurogroep/ROS_driver
1e14af5bdd5778b405ae4bea2d00083a6306a1e7
[ "Apache-2.0" ]
17
2019-09-24T17:17:08.000Z
2021-01-16T22:11:30.000Z
pf_driver/include/pf_driver/pf/r2000/pfsdp_2000.hpp
eurogroep/ROS_driver
1e14af5bdd5778b405ae4bea2d00083a6306a1e7
[ "Apache-2.0" ]
32
2019-09-27T22:51:59.000Z
2021-02-09T14:06:22.000Z
pf_driver/include/pf_driver/pf/r2000/pfsdp_2000.hpp
eurogroep/ROS_driver
1e14af5bdd5778b405ae4bea2d00083a6306a1e7
[ "Apache-2.0" ]
10
2019-10-14T07:28:25.000Z
2021-01-12T06:42:54.000Z
#pragma once #include "pf_driver/pf/pfsdp_protocol.hpp" class PFSDP_2000 : public PFSDPBase { public: PFSDP_2000(const std::string& host) : PFSDPBase(host) { } virtual std::string get_product() { return get_parameter_str("product"); } virtual ScanParameters get_scan_parameters(int start_angle) {...
26.980198
103
0.618716
eurogroep
0233c89eaa06fbbe6a42a9ad0f324c86ea5e544f
7,517
cpp
C++
decoder/source/ocsd_lib_dcd_register.cpp
rossburton/OpenCSD
01d44a34f8fc057f4b041c01f8d9502d77fe612f
[ "BSD-3-Clause" ]
84
2015-08-07T09:40:59.000Z
2022-03-14T09:04:33.000Z
decoder/source/ocsd_lib_dcd_register.cpp
rossburton/OpenCSD
01d44a34f8fc057f4b041c01f8d9502d77fe612f
[ "BSD-3-Clause" ]
41
2016-07-28T09:14:06.000Z
2022-03-04T10:47:42.000Z
decoder/source/ocsd_lib_dcd_register.cpp
rossburton/OpenCSD
01d44a34f8fc057f4b041c01f8d9502d77fe612f
[ "BSD-3-Clause" ]
37
2016-06-08T15:40:47.000Z
2022-02-18T09:29:35.000Z
/* * \file ocsd_lib_dcd_register.cpp * \brief OpenCSD : Library decoder register object * * \copyright Copyright (c) 2016, ARM Limited. All Rights Reserved. */ /* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditi...
34.640553
140
0.734336
rossburton
0234509f4bebea5c15b364b764c28e97751ec9e2
294
hpp
C++
llarp/util/types.hpp
wratc/loki-network
0d6d0ec7b27f80c2836eb5d4c4f6e7b1974dd178
[ "Zlib" ]
3
2018-11-17T07:38:39.000Z
2021-04-29T23:39:47.000Z
llarp/util/types.hpp
wratc/loki-network
0d6d0ec7b27f80c2836eb5d4c4f6e7b1974dd178
[ "Zlib" ]
1
2020-03-28T08:59:56.000Z
2020-03-28T08:59:56.000Z
llarp/util/types.hpp
wratc/loki-network
0d6d0ec7b27f80c2836eb5d4c4f6e7b1974dd178
[ "Zlib" ]
2
2021-01-28T05:36:14.000Z
2021-01-28T05:47:53.000Z
#ifndef LLARP_TYPES_H #define LLARP_TYPES_H #include <cstdint> #include <string> #include <chrono> using byte_t = uint8_t; using llarp_proto_version_t = std::uint8_t; using llarp_time_t = std::chrono::milliseconds; namespace llarp { using namespace std::literals; } #endif
16.333333
47
0.727891
wratc
0234d71b4a8a80d0a0535f80aa5fff6623c8a64f
758
cpp
C++
3460.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
3460.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
3460.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <algorithm> #include <string> using namespace std; vector<int> arr; vector<int> store; vector<int> print; // 13 6 3 1 // 1 0 1 void bin(int num) { while (num != 1) { store.push_back(num % 2); num /= 2; } store.push_back(1); } int main() { int t, n; cin ...
17.227273
42
0.538259
jaemin2682
0236631824373a53b19380e800f17bd37505e892
2,193
cpp
C++
GameEngine/src/AssetLoader.cpp
ManFabv/BattleCitySFMLClone
d7deb02b1735b8e969ce84e90a3b48a987adf483
[ "MIT" ]
null
null
null
GameEngine/src/AssetLoader.cpp
ManFabv/BattleCitySFMLClone
d7deb02b1735b8e969ce84e90a3b48a987adf483
[ "MIT" ]
null
null
null
GameEngine/src/AssetLoader.cpp
ManFabv/BattleCitySFMLClone
d7deb02b1735b8e969ce84e90a3b48a987adf483
[ "MIT" ]
null
null
null
#include "GameEngine/AssetLoader.h" #include "GameEngine/FilePathHelper.h" using namespace GameEngine::DataUtils; AssetLoader::AssetLoader(const std::string& root_folder, const std::string& textures_folder, const std::string& fonts_folder, const std::string& sounds_folder) { ChangeLookupPath(root_folder, textures_fo...
27.074074
169
0.742362
ManFabv
0236913fb50c3b21ae4e7e11e474350c9658ab1c
1,346
cpp
C++
test/ContainerVectors.cpp
foldedwave/Instil
9e5f29b6e04a739135c0dd62e796f689fff1bc35
[ "MIT" ]
null
null
null
test/ContainerVectors.cpp
foldedwave/Instil
9e5f29b6e04a739135c0dd62e796f689fff1bc35
[ "MIT" ]
null
null
null
test/ContainerVectors.cpp
foldedwave/Instil
9e5f29b6e04a739135c0dd62e796f689fff1bc35
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <functional> // for __base, function #include "Instil/Container.h" // for Container, Container<>::build #include "Instil/Scope.h" // for Scope, Singleton, Transient #include "TestTypes/Interfaces/ISimple.h" #include "TestTypes/Interfaces/IWrapMultiple.h" #include "TestTypes/Simp...
29.911111
98
0.725854
foldedwave
02395814f4f1287f2a4fc449c8143b05dd5d8b54
3,750
cpp
C++
src/Config.cpp
nizikawa-worms/wkTestStuff
832f4f1f721e40f0d63e1d8176eeb95ec00f59dd
[ "WTFPL" ]
2
2022-01-12T22:48:39.000Z
2022-01-13T17:06:30.000Z
src/Config.cpp
nizikawa-worms/wkTestStuff
832f4f1f721e40f0d63e1d8176eeb95ec00f59dd
[ "WTFPL" ]
null
null
null
src/Config.cpp
nizikawa-worms/wkTestStuff
832f4f1f721e40f0d63e1d8176eeb95ec00f59dd
[ "WTFPL" ]
null
null
null
#include <windows.h> #include "Config.h" #include "Utils.h" #include "WaLibc.h" #include "Debugf.h" #include <filesystem> namespace fs = std::filesystem; void Config::readConfig() { char wabuff[MAX_PATH]; GetModuleFileNameA(0, (LPSTR)&wabuff, sizeof(wabuff)); waDir = fs::path(wabuff).parent_path(); auto inipath ...
30.241935
206
0.7072
nizikawa-worms
023ac061b967191564bae3d57c6d879a0b3b736d
439
cpp
C++
simulation.cpp
rightson/des-barbershop
0b06f1db85383f6dce97780b45f8392d462a48c3
[ "MIT" ]
null
null
null
simulation.cpp
rightson/des-barbershop
0b06f1db85383f6dce97780b45f8392d462a48c3
[ "MIT" ]
null
null
null
simulation.cpp
rightson/des-barbershop
0b06f1db85383f6dce97780b45f8392d462a48c3
[ "MIT" ]
null
null
null
#include "simulation.h" simulation::simulation() : time(0), eventQueue() { } void simulation::scheduleEvent(event* newEvent) { eventQueue.push(newEvent); } void simulation::run() { while (!eventQueue.empty()) { event* nextEvent = eventQueue.top(); eventQueue.pop(); time = n...
19.086957
49
0.596811
rightson
023add0afc6996bc57ea318dcd2504a15e7f42b3
4,792
hpp
C++
src/hydro/hydro_diffusion/hydro_diffusion.hpp
michaelp4/myathena
099facbec579f9a94c27053aa4b32d435172217f
[ "BSD-3-Clause" ]
2
2019-03-04T21:11:21.000Z
2019-03-04T21:14:14.000Z
src/hydro/hydro_diffusion/hydro_diffusion.hpp
michaelp4/myathena
099facbec579f9a94c27053aa4b32d435172217f
[ "BSD-3-Clause" ]
null
null
null
src/hydro/hydro_diffusion/hydro_diffusion.hpp
michaelp4/myathena
099facbec579f9a94c27053aa4b32d435172217f
[ "BSD-3-Clause" ]
2
2019-02-26T18:49:13.000Z
2019-07-22T17:04:41.000Z
#ifndef HYDRO_HYDRO_DIFFUSION_HYDRO_DIFFUSION_HPP_ #define HYDRO_HYDRO_DIFFUSION_HYDRO_DIFFUSION_HPP_ //======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // L...
43.963303
90
0.690526
michaelp4
023df82b648a7601543726a434c83efbfbf31b5b
922
cpp
C++
tutorials/embree_tests/common/algorithms/parallel_for.cpp
aumuell/embree
d7157470e089098b9c7323f608835ed50453e606
[ "Apache-2.0" ]
1,700
2015-01-02T15:40:58.000Z
2022-03-30T19:58:13.000Z
tutorials/embree_tests/common/algorithms/parallel_for.cpp
aumuell/embree
d7157470e089098b9c7323f608835ed50453e606
[ "Apache-2.0" ]
338
2015-01-06T08:47:31.000Z
2022-03-21T14:32:34.000Z
tutorials/embree_tests/common/algorithms/parallel_for.cpp
aumuell/embree
d7157470e089098b9c7323f608835ed50453e606
[ "Apache-2.0" ]
346
2015-01-13T09:44:09.000Z
2022-03-31T23:27:37.000Z
// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "../../../external/catch.hpp" #include "../common/algorithms/parallel_for.h" #include <atomic> using namespace embree; namespace parallel_for_unit_test { TEST_CASE("Test parallel_for", "[parallel_for") { bool passed = true; ...
20.488889
83
0.574837
aumuell
0243d954e54b6e1c24a634b71b944dc9ae67a9d9
1,248
cpp
C++
Luogu/p4551.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
2
2021-09-06T08:34:00.000Z
2021-11-22T14:52:41.000Z
Luogu/p4551.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
Luogu/p4551.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int N = 1000010; int prefix_xor[N]; int trie_01[6 * N][2], idx = 0; struct edge { int to, val, next; }e[N * 2]; int head[N], tot = 0; void add_edge(int from, int to, int val) { e[++tot].to = to; e[tot].val = val; e[tot].next = head[from]; head[from] = tot; } voi...
14.181818
67
0.502404
Tunghohin
02485a0b8abf380d139de41c0c5b7a1a21787e89
390
cpp
C++
Teste e exercicios/Salario/main.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
Teste e exercicios/Salario/main.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
Teste e exercicios/Salario/main.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { cout.precision(2); char vedendor[] = {}; double vendido, comissao, porcentagem, dinheiro; cin >> vedendor; cin >> vendido; cin >> comissao; porcentagem = comissao * 0.15; dinheiro = porcentagem + vendido; ...
15.6
55
0.597436
Lu1zReis
0250f6b51cc69708684f4bd9255828a8e6dee3d9
4,067
cpp
C++
src/timer.cpp
jake-stewart/grid
a46c1c14550df85d05cbb0cb6bbca8e84cb72e21
[ "MIT" ]
3
2021-07-28T13:49:28.000Z
2021-12-07T15:48:19.000Z
src/timer.cpp
jake-stewart/grid
a46c1c14550df85d05cbb0cb6bbca8e84cb72e21
[ "MIT" ]
null
null
null
src/timer.cpp
jake-stewart/grid
a46c1c14550df85d05cbb0cb6bbca8e84cb72e21
[ "MIT" ]
1
2021-08-12T04:44:46.000Z
2021-08-12T04:44:46.000Z
#include "grid.h" #include <thread> #include <math.h> #include <iostream> #include <chrono> #include <mutex> void Grid::drawCellQueue() { for (auto cell: _cell_draw_queue) { int chunk_idx_x = floor(cell.x / (float)CHUNK_SIZE); int chunk_idx_y = floor(cell.y / (float)CHUNK_SIZE); ...
25.578616
82
0.562577
jake-stewart
025244b20cc5b62271fd34b136276c60a958a35f
1,012
cpp
C++
2M3/Source/Common/Managers/Signature.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
null
null
null
2M3/Source/Common/Managers/Signature.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
45
2020-10-08T13:32:36.000Z
2020-12-17T14:41:40.000Z
2M3/Source/Common/Managers/Signature.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
3
2020-10-02T09:02:20.000Z
2020-11-07T00:14:13.000Z
#include "Common/Managers/Signature.h" thread_local std::size_t Signature::registeredComponentsCount = 0; thread_local std::unordered_map<std::size_t, std::size_t> Signature::idToBitIndexMap; /** * Constructs an empty signature (00000...). */ Signature::Signature() : bitset() {} /** * Operator overload to perfor...
25.948718
85
0.741107
simatic
0256415dd015ddfc7dfa99736fc9604144c421c7
44,630
cc
C++
keynote-protos/gen/KNCommandArchives.sos.pb.cc
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
4
2021-11-24T14:27:32.000Z
2022-03-14T07:52:44.000Z
keynote-protos/gen/KNCommandArchives.sos.pb.cc
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
null
null
null
keynote-protos/gen/KNCommandArchives.sos.pb.cc
eth-siplab/SVG2Keynote-lib
b7e6dfe5084911dac1fa6261a14254bfbbd8065b
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: KNCommandArchives.sos.proto #include "KNCommandArchives.sos.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf...
46.153051
198
0.781515
eth-siplab
025c68e50e07febd15e6b51ae4c70359e51cc157
8,975
cpp
C++
src/editor/components/visualtablefield.cpp
ufopleds/DengueME_public
6bc4af029ba88b645fc9e6d2bb437a65c548a0de
[ "BSD-2-Clause" ]
5
2016-12-17T16:02:38.000Z
2018-12-12T21:33:04.000Z
src/editor/components/visualtablefield.cpp
ufopleds/DengueME_public
6bc4af029ba88b645fc9e6d2bb437a65c548a0de
[ "BSD-2-Clause" ]
44
2016-07-15T20:00:27.000Z
2021-03-02T02:22:53.000Z
src/editor/components/visualtablefield.cpp
ufopleds/DengueME_public
6bc4af029ba88b645fc9e6d2bb437a65c548a0de
[ "BSD-2-Clause" ]
5
2016-10-16T06:54:43.000Z
2020-03-21T20:05:38.000Z
#include "visualtablefield.h" #include "ui_visualtablefield.h" VisualTableField::VisualTableField(QWidget* parent) : Component(parent), widget(NULL), ui(new Ui::VisualTableField), type(Null) { ui->setupUi(this); menu = new QMenu(this); actionVariable = new QAction(tr("&Variable"), menu); actionVar...
33.867925
112
0.668858
ufopleds
025dd581b3240e10ca8f965a3f533f4d625d2ee8
1,715
cpp
C++
aula15092020/turma.cpp
brashi/imd0030_t03_2020
91ad4e4510e35573703be685c24d999d3db2a4bd
[ "MIT" ]
2
2020-09-28T05:50:07.000Z
2020-11-30T20:39:00.000Z
aula15092020/turma.cpp
brashi/imd0030_t03_2020
91ad4e4510e35573703be685c24d999d3db2a4bd
[ "MIT" ]
null
null
null
aula15092020/turma.cpp
brashi/imd0030_t03_2020
91ad4e4510e35573703be685c24d999d3db2a4bd
[ "MIT" ]
3
2020-09-28T05:50:10.000Z
2020-11-03T23:27:07.000Z
#include <iostream> #include "turma.hpp" using namespace std; string Turma::getNome(){ return this->nome; } void Turma::setNome(string nome){ this->nome = nome; } string Turma::getId(){ return this->id; } void Turma::setId(string id){ this->id = id; } void Turma::listarAlunos(){ for (int i = 0; i < this->c...
18.44086
45
0.616327
brashi
0261e68e4101668f1a82aef4d393d250eb66190d
3,668
cpp
C++
src/main.cpp
seudonym/Path-Tracing-Renderer
ba0b183eaaa05416745ab06efcf641cf37c6c75f
[ "MIT" ]
null
null
null
src/main.cpp
seudonym/Path-Tracing-Renderer
ba0b183eaaa05416745ab06efcf641cf37c6c75f
[ "MIT" ]
null
null
null
src/main.cpp
seudonym/Path-Tracing-Renderer
ba0b183eaaa05416745ab06efcf641cf37c6c75f
[ "MIT" ]
null
null
null
#include <iostream> #include "common.hpp" // ##### Path-Tracing ##### vec3 ortho(vec3 v) { return normalize( glm::abs(v.x) > glm::abs(v.z) ? vec3(-v.y, v.x, 0.0f) : vec3(0.0f, -v.z, v.y) ); } // Weighted Cosine Sampling vec3 cosine_weighted_sample() { vec2 z = rand2(); vec2 r = vec2( 2.0f * pi * z.x, glm::sqrt(z...
24.453333
131
0.634951
seudonym
0262c4d0e4e941ce97c3160cef98d65590699094
35,403
cpp
C++
apps/openmw/mwgui/mapwindow.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwgui/mapwindow.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwgui/mapwindow.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "mapwindow.hpp" #include <boost/lexical_cast.hpp> #include <OgreSceneNode.h> #include <OgreVector2.h> #include "../mwbase/windowmanager.hpp" #include "../mwbase/world.hpp" #include "../mwbase/environment.hpp" #include "../mwworld/player.hpp" #include "../mwworld/cellstore.hpp" #include "../mwrender/global...
35.261952
143
0.598819
Bodillium
0267fe539b2a69faf045b2ed8d9c355cd706f591
16,299
cpp
C++
Tests/DataGenerators/SyntheticGenerators/OutliersDetector.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
Tests/DataGenerators/SyntheticGenerators/OutliersDetector.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
Tests/DataGenerators/SyntheticGenerators/OutliersDetector.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/* -------------------------------------------------------------------------- * * (C) Copyright … * * --------------------------------------------------------------------------- */ /*! * @file OutliersDetector.cpp * @date 14/05/2018 * @author Alessandro Bianco */ /*! * @addtogroup DataGenerators * * Implement...
29.262118
154
0.681023
H2020-InFuse
027105b5e6bb0148ebad88ea8e75cce2828ad73e
475
cpp
C++
src/week-1/PutTheChairsTheRightWay/PutTheChairsTheRightWay.cpp
CarlosVRL/How-to-win-coding-competitions
e5a1b2aa656d7f7e39ce8436d9ccd3a9f88eb2a9
[ "MIT" ]
null
null
null
src/week-1/PutTheChairsTheRightWay/PutTheChairsTheRightWay.cpp
CarlosVRL/How-to-win-coding-competitions
e5a1b2aa656d7f7e39ce8436d9ccd3a9f88eb2a9
[ "MIT" ]
null
null
null
src/week-1/PutTheChairsTheRightWay/PutTheChairsTheRightWay.cpp
CarlosVRL/How-to-win-coding-competitions
e5a1b2aa656d7f7e39ce8436d9ccd3a9f88eb2a9
[ "MIT" ]
null
null
null
/** * Put the Chairs the Right Way! */ #include <fstream> #include <iomanip> using namespace std; /** * File Management */ ifstream fin("input.txt"); ofstream fout("output.txt"); /** * Constants */ const int DIVISOR = 6; /** * Main */ int main(void) { // Solution by mid-point theorem double a, b, c,...
13.194444
44
0.549474
CarlosVRL
0271c4af8783a53710f009fa2a7ed54848b414e0
9,291
cpp
C++
dali/internal/accessibility/tizen-wayland/atspi/bridge-collection.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/accessibility/tizen-wayland/atspi/bridge-collection.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-10-19T13:45:40.000Z
2020-12-10T20:21:03.000Z
dali/internal/accessibility/tizen-wayland/atspi/bridge-collection.cpp
expertisesolutions/dali-adaptor
810bf4dea833ea7dfbd2a0c82193bc0b3b155011
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * 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...
24.007752
142
0.575396
Coquinho
0278070adaf7b0fc95a4b86304006b473f0fe696
2,122
cpp
C++
RayEngine/Source/Linux/LinuxSensorsImpl.cpp
Mumsfilibaba/RayEngine
68496966c1d7b91bc8fbdd305226ece9b9f596b2
[ "Apache-2.0" ]
null
null
null
RayEngine/Source/Linux/LinuxSensorsImpl.cpp
Mumsfilibaba/RayEngine
68496966c1d7b91bc8fbdd305226ece9b9f596b2
[ "Apache-2.0" ]
null
null
null
RayEngine/Source/Linux/LinuxSensorsImpl.cpp
Mumsfilibaba/RayEngine
68496966c1d7b91bc8fbdd305226ece9b9f596b2
[ "Apache-2.0" ]
null
null
null
/*//////////////////////////////////////////////////////////// Copyright 2018 Alexander Dahlin 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 THIS SOF...
29.887324
126
0.404807
Mumsfilibaba
027a5f7de9c34ec37e8fcce403dd06cd092ae872
953
cpp
C++
src/pyclock.cpp
Maelic/libqi-python
d5e250a7ce1b6039bb1f57f750cab51412dfecca
[ "BSD-3-Clause" ]
7
2015-08-12T01:25:11.000Z
2021-07-15T11:08:34.000Z
src/pyclock.cpp
Maelic/libqi-python
d5e250a7ce1b6039bb1f57f750cab51412dfecca
[ "BSD-3-Clause" ]
10
2015-10-01T11:33:53.000Z
2022-03-23T10:19:33.000Z
src/pyclock.cpp
Maelic/libqi-python
d5e250a7ce1b6039bb1f57f750cab51412dfecca
[ "BSD-3-Clause" ]
7
2015-02-24T10:38:52.000Z
2022-03-14T10:18:26.000Z
/* ** Copyright (C) 2020 SoftBank Robotics Europe ** See COPYING for the license */ #include <qipython/pyclock.hpp> #include <qipython/common.hpp> #include <qi/clock.hpp> #include <pybind11/pybind11.h> namespace py = pybind11; namespace qi { namespace py { namespace { template<typename Clock> typename Clock::rep...
20.717391
91
0.690451
Maelic
027a70908b176daf768a629215c7bdc17a465655
4,310
cxx
C++
Modules/Applications/AppImageUtils/app/otbSynthetize.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/Applications/AppImageUtils/app/otbSynthetize.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/Applications/AppImageUtils/app/otbSynthetize.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
31.231884
123
0.70348
heralex
027b508ad5b09750d7dfa01c659197890ea5ec44
1,151
cpp
C++
src/armnn/backends/NeonWorkloads/NeonSoftmaxFloat32Workload.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/NeonWorkloads/NeonSoftmaxFloat32Workload.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/NeonWorkloads/NeonSoftmaxFloat32Workload.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #include "NeonSoftmaxFloat32Workload.hpp" namespace armnn { NeonSoftmaxFloat32Workload::NeonSoftmaxFloat32Workload(const SoftmaxQueueDescriptor& descriptor, const WorkloadInfo& info, std:...
34.878788
117
0.78106
KevinRodrigues05
027bd872374b8b52a0a3a5e2f0f4a79624ed0d57
11,047
cpp
C++
fast-background/fast-background/hook.cpp
bobfast/fast
41460b9eba7b160a280fec221d704229d2681f74
[ "MIT" ]
1
2020-10-02T06:55:43.000Z
2020-10-02T06:55:43.000Z
fast-background/fast-background/hook.cpp
bobfast/fast
41460b9eba7b160a280fec221d704229d2681f74
[ "MIT" ]
3
2020-11-16T08:31:04.000Z
2021-09-02T18:51:32.000Z
fast-background/fast-background/hook.cpp
bobfast/fast
41460b9eba7b160a280fec221d704229d2681f74
[ "MIT" ]
null
null
null
#include "call_api.h" FILE* pFile; static UINT32 hook_cnt = 0; static HANDLE fm = NULL; static char* map_addr; static DWORD dwBufSize = 0; static DWORD thispid = GetCurrentProcessId(); static LPCSTR rpszDllsOut = NULL; #define NT_SUCCESS(x) ((x) >= 0) void init() { //Initialize the log file. time_t t = time(NULL...
25.810748
337
0.67421
bobfast
028643fe6641dcc026eb301d22d0937ec6e393d6
1,070
cpp
C++
Melone/Src/Melone/Renderer/Renderer.cpp
Nightskies/Melone
eb735a97fa1416c1feffecaefb479d30ce6e21e2
[ "MIT" ]
null
null
null
Melone/Src/Melone/Renderer/Renderer.cpp
Nightskies/Melone
eb735a97fa1416c1feffecaefb479d30ce6e21e2
[ "MIT" ]
null
null
null
Melone/Src/Melone/Renderer/Renderer.cpp
Nightskies/Melone
eb735a97fa1416c1feffecaefb479d30ce6e21e2
[ "MIT" ]
null
null
null
#include "mlpch.h" #include "Renderer.h" #include "Renderer2D.h" #include "Platform/OpenGL/OpenGLShader.h" namespace Melone { Renderer::SceneData* Renderer::mSceneData = new Renderer::SceneData; void Renderer::init(void) { RenderCommand::init(); Renderer2D::init(); } void Renderer::onWindowResize(const std...
23.26087
122
0.741121
Nightskies
028f936624616f615f6e294df203a3be3ecf395a
3,220
cpp
C++
source/MaterialXRuntime/Codegen/RtSourceCodeImpl.cpp
kohakukun/MaterialX
5b11321bfa096d20ebf60e00086bed97642d2fa8
[ "BSD-3-Clause" ]
null
null
null
source/MaterialXRuntime/Codegen/RtSourceCodeImpl.cpp
kohakukun/MaterialX
5b11321bfa096d20ebf60e00086bed97642d2fa8
[ "BSD-3-Clause" ]
null
null
null
source/MaterialXRuntime/Codegen/RtSourceCodeImpl.cpp
kohakukun/MaterialX
5b11321bfa096d20ebf60e00086bed97642d2fa8
[ "BSD-3-Clause" ]
null
null
null
// // TM & (c) 2020 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXRuntime/Codegen/RtSourceCodeImpl.h> #include <MaterialXRuntime/RtApi.h> #include <MaterialXRuntime/Identifiers.h> #include <MaterialXRuntime/Private/PvtPath.h> #inclu...
30.961538
124
0.729814
kohakukun
0294c7b9a570dd08ab508ba543fbfa11de5b1524
24,264
hpp
C++
include/HMUI/SectionTableView.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/SectionTableView.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/SectionTableView.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: HMUI.TableView #include "HM...
58.608696
325
0.724901
RedBrumbler
029845a0e351d2002639ed9139b25b4f2e259e60
619
cpp
C++
Train/Sheet/Sheet-A/extra/extra 31 - 45/38.[Laptops].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/Sheet/Sheet-A/extra/extra 31 - 45/38.[Laptops].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/Sheet/Sheet-A/extra/extra 31 - 45/38.[Laptops].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void fl() { #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); // freopen("ot.txt", "w", stdout); #else // freopen("jumping.in", "r", stdin); // HERE #endif } #define in(n) scanf("%d",&n) //scan int #define ot(x) printf("%d", x) //output int /////////////////////////////...
22.925926
96
0.486268
mohamedGamalAbuGalala
0298ebc1205eca8b38a70450591652ab9956a682
550
cpp
C++
python/PyPeridyno.cpp
hanxingyixue/peridyno
5c963dae20384f6af7a15866dac0d06adfcba236
[ "Apache-2.0" ]
2
2022-01-29T08:51:50.000Z
2022-02-22T12:07:09.000Z
python/PyPeridyno.cpp
hanxingyixue/peridyno
5c963dae20384f6af7a15866dac0d06adfcba236
[ "Apache-2.0" ]
null
null
null
python/PyPeridyno.cpp
hanxingyixue/peridyno
5c963dae20384f6af7a15866dac0d06adfcba236
[ "Apache-2.0" ]
null
null
null
#include "PyPeridyno.h" #include "PyGlfwGUI.h" #include "PyCore.h" #include "PyFramework.h" #include "PyParticleSystem.h" #include "PyRendering.h" #include "PyCloth.h" #include "PyQtGUI.h" #include "PyRigidBodySystem.h" // void init_GlutGUI(py::module &); // void init_Core(py::module &); PYBIND11_MODULE(PyPeridyno...
18.333333
40
0.729091
hanxingyixue
029a0e3a89c0e1cc5b8414ba9a27ffef8c5502e0
1,045
hpp
C++
001BlankGUI/TouchGFX/generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp
fjpolo/STM23F746Disco-Playground
446e8cd45b6ab3d771a782977e7630cf92a01a88
[ "MIT" ]
null
null
null
001BlankGUI/TouchGFX/generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp
fjpolo/STM23F746Disco-Playground
446e8cd45b6ab3d771a782977e7630cf92a01a88
[ "MIT" ]
null
null
null
001BlankGUI/TouchGFX/generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp
fjpolo/STM23F746Disco-Playground
446e8cd45b6ab3d771a782977e7630cf92a01a88
[ "MIT" ]
null
null
null
/*********************************************************************************/ /********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/ /*********************************************************************************/ #ifndef SCREEN1VIEWBASE_HPP #define SCREEN1VIEWBASE_HPP #incl...
28.243243
89
0.578947
fjpolo
029b75d7c51c704e4316ff55176dcf0872ffb78b
7,003
cc
C++
multiscale/amsiMigration.cc
SCOREC/amsi
a9d33804e951b397b3a0ca5f07efe854536c8e0a
[ "BSD-3-Clause" ]
null
null
null
multiscale/amsiMigration.cc
SCOREC/amsi
a9d33804e951b397b3a0ca5f07efe854536c8e0a
[ "BSD-3-Clause" ]
null
null
null
multiscale/amsiMigration.cc
SCOREC/amsi
a9d33804e951b397b3a0ca5f07efe854536c8e0a
[ "BSD-3-Clause" ]
null
null
null
#include "amsiMigration.h" #include "PCU.h" namespace amsi { #ifdef ZOLTAN int getLocalCount(void * data, int *) { return *static_cast<int*>(data); } void getWeights(void * data, int , int , ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, ...
30.714912
128
0.564901
SCOREC
029d72dd17a7b6edd05649b9f8ac91a1de107b59
1,934
hpp
C++
tests/common/include/coherence/tests/POFObjectInvocable.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/common/include/coherence/tests/POFObjectInvocable.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/common/include/coherence/tests/POFObjectInvocable.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_POF_OBJECT_INVOCABLE_HPP #define COH_POF_OBJECT_INVOCABLE_HPP #include "coherence/lang.ns" #include "coherence/io/pof/PofReader.h...
24.794872
77
0.606515
chpatel3
02a6afdd5df169cbda7c945cc8466943ed1840d5
1,277
cpp
C++
code/gate-controller/gate-controller/stopwatch.cpp
micromouseonline/micromouse-timer
544974ae99cb1b9f3f789893b2f5205a4c11ab43
[ "MIT" ]
null
null
null
code/gate-controller/gate-controller/stopwatch.cpp
micromouseonline/micromouse-timer
544974ae99cb1b9f3f789893b2f5205a4c11ab43
[ "MIT" ]
null
null
null
code/gate-controller/gate-controller/stopwatch.cpp
micromouseonline/micromouse-timer
544974ae99cb1b9f3f789893b2f5205a4c11ab43
[ "MIT" ]
1
2019-12-30T02:43:56.000Z
2019-12-30T02:43:56.000Z
/* * File: stopwatch.cpp * Author: peterharrison * * Created on 14 June 2015, 09:11 */ #include "stopwatch.h" #include <Arduino.h> Stopwatch::Stopwatch() : mState(RESET), mTime(0) { reset(); } Stopwatch::~Stopwatch() = default; void Stopwatch::start() { if (mState != Stopwatch::RUNNING) { mState = St...
17.736111
50
0.632733
micromouseonline
02ad47550fad80aa623345a2fd67f5492e59407a
1,598
cpp
C++
BuildingRoads.cpp
zuhaib786/CSES_SOLUTIONS
d506d25919b9ebc9b2b809e1cd5327c14872e4a9
[ "MIT" ]
1
2021-06-18T01:48:37.000Z
2021-06-18T01:48:37.000Z
BuildingRoads.cpp
zuhaib786/CSES_SOLUTIONS
d506d25919b9ebc9b2b809e1cd5327c14872e4a9
[ "MIT" ]
null
null
null
BuildingRoads.cpp
zuhaib786/CSES_SOLUTIONS
d506d25919b9ebc9b2b809e1cd5327c14872e4a9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define MAX 1000000007 using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n, m; cin>>n>>m; vector<vector<int>>nodes(n); for(int i =0;i<m;i++) { int a, b; cin>>a>>b; nodes[a-1].push_back(b-1); nodes[b-1].p...
24.212121
107
0.421777
zuhaib786
02b33ae396e1122c41cd3e46bc87d0a1d466d7d1
5,644
cpp
C++
patch/specific/drawsparks.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
3
2021-10-10T11:12:03.000Z
2021-11-04T16:46:57.000Z
patch/specific/drawsparks.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
patch/specific/drawsparks.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
#include "standard.h" #include "global.h" #include "output.h" #include <3dsystem/hwinsert.h> #include <game/effect2.h> #include <game/effects.h> #include <specific/fn_stubs.h> #include <main.h> void S_DrawSparks() { auto [sw, sh] = g_window->get_resolution(); auto sptr = &spark[0]; for (int i = 0; i < MAX_SPA...
21.460076
108
0.434444
Tonyx97
02b43dc26be586d6b14d961f780e2675d02e7e4a
13,824
inl
C++
cuj/inc/cuj/dsl/impl/arithmetic_reference.inl
AirGuanZ/cuj
81030a35e1cb8f3f2134d267d8a416aa348348cd
[ "MIT" ]
23
2021-04-24T12:08:40.000Z
2022-01-18T14:26:00.000Z
cuj/inc/cuj/dsl/impl/arithmetic_reference.inl
AirGuanZ/cuj
81030a35e1cb8f3f2134d267d8a416aa348348cd
[ "MIT" ]
null
null
null
cuj/inc/cuj/dsl/impl/arithmetic_reference.inl
AirGuanZ/cuj
81030a35e1cb8f3f2134d267d8a416aa348348cd
[ "MIT" ]
4
2021-04-24T12:08:56.000Z
2022-01-20T07:46:41.000Z
#pragma once #include <cuj/core/stat.h> #include <cuj/dsl/arithmetic.h> #include <cuj/dsl/arithmetic_reference.h> #include <cuj/dsl/function.h> CUJ_NAMESPACE_BEGIN(cuj::dsl) template<typename T> requires std::is_arithmetic_v<T> ref<num<T>>::ref(const num<T> &var) { addr_ = var.address(); } template<typename T> ...
29.350318
77
0.607784
AirGuanZ
02bad6c11b0b60a1ba0afb53e570e334bbf2183c
7,437
hh
C++
src/ggl/chem/MoleculeComponent_GML_grammar.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
20
2017-05-09T15:37:04.000Z
2021-11-24T10:51:02.000Z
src/ggl/chem/MoleculeComponent_GML_grammar.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
2
2017-05-24T08:00:25.000Z
2017-05-24T08:01:01.000Z
src/ggl/chem/MoleculeComponent_GML_grammar.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
7
2017-05-29T10:55:18.000Z
2020-12-04T14:24:51.000Z
#ifndef GGL_CHEM_MOLECULECOMPONENT_GML_GRAMMAR_HH_ #define GGL_CHEM_MOLECULECOMPONENT_GML_GRAMMAR_HH_ #include <utility> #include <vector> #include <string> #include <stdexcept> #include "sgm/HashMap.hh" #if HAVE_UNORDERED_MAP > 0 #include <unordered_map> #elif HAVE_TR1_UNORDERED_MAP > 0 #include <tr1...
29.511905
107
0.63453
michaelapeterka
02c052b70607271d55f2a1c9d612cb3a89ee1362
4,701
cpp
C++
source/spitboy.cpp
JROB774/agbicjam2020
31b6dc8ef8987768bad7f7698893309662bde490
[ "MIT" ]
4
2020-10-21T04:04:27.000Z
2021-09-08T20:04:16.000Z
source/spitboy.cpp
JROB774/agbicjam2020
31b6dc8ef8987768bad7f7698893309662bde490
[ "MIT" ]
null
null
null
source/spitboy.cpp
JROB774/agbicjam2020
31b6dc8ef8987768bad7f7698893309662bde490
[ "MIT" ]
null
null
null
GLOBAL constexpr float SPITBOY_SPIT_COOLDOWN_NORMAL = 0.75f; GLOBAL constexpr float SPITBOY_SPIT_COOLDOWN_CHALLENGE = 0.5f; GLOBAL constexpr float SPITBOY_SPIT_FORCE = 225.0f; GLOBAL Image gSpitBoyImage; GLOBAL Image gSpitImage; GLOBAL Sound gSpitBoySpitSound; GLOBAL Sound gSpitBoyHitSound; INTERNAL void InitSpitBoy ...
33.578571
154
0.637311
JROB774
02c24077e8c5684c6146e41134409c4e54901ba8
1,643
cpp
C++
UVA/124.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/124.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/124.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
// Problem : 124 - Following Orders // Contest : UVa Online Judge // URL : https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=60 // Memory Limit : 32 MB // Time Limit : 3000 ms // Powered by CP Editor (https://github.com/cpeditor/cpeditor) #include<bits/stdc++.h> #...
19.329412
115
0.561169
DT3264
02c4c1046a83b0ee07725f6d2aae34f2e575b2cc
823
cc
C++
net/test/webServer.cc
RaKiRaKiRa/Cyclone
0f6a9defa01c752afb1bf27aad57ed4c1a1ee1ea
[ "Apache-2.0" ]
8
2019-07-05T09:12:28.000Z
2022-03-02T11:38:10.000Z
net/test/webServer.cc
RaKiRaKiRa/Cyclone
0f6a9defa01c752afb1bf27aad57ed4c1a1ee1ea
[ "Apache-2.0" ]
null
null
null
net/test/webServer.cc
RaKiRaKiRa/Cyclone
0f6a9defa01c752afb1bf27aad57ed4c1a1ee1ea
[ "Apache-2.0" ]
5
2019-07-12T14:23:55.000Z
2022-03-02T11:38:09.000Z
/********************************************************** * Author : RaKiRaKiRa * Email : 763600693@qq.com * Create time : 2019-09-05 18:10 * Last modified : 2020-02-08 15:58 * Filename : webServer.cc * Description : **********************************************************/ #include...
24.205882
60
0.54678
RaKiRaKiRa
02c536ef6136bcda3b12c3b0f09099025ef14721
2,592
cc
C++
src/ast/block_statement_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/ast/block_statement_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/ast/block_statement_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint 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 required by applicable law or agreed ...
25.92
79
0.688272
jhanssen
02c5c94280faab795547faba65b362b43891ccd6
2,643
cpp
C++
src/union-find/src/UnionFind.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
1
2020-04-18T14:34:16.000Z
2020-04-18T14:34:16.000Z
src/union-find/src/UnionFind.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
src/union-find/src/UnionFind.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT WARRANTY OF ANY KIND; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See th...
19.152174
87
0.608021
karz0n
02c852c25c49031ac9cb4f626db31129e7d62729
310
cpp
C++
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-Adrian-men
29d07a70d05fd1ad10e6b5b8ff8b457dd97e2833
[ "MIT" ]
null
null
null
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-Adrian-men
29d07a70d05fd1ad10e6b5b8ff8b457dd97e2833
[ "MIT" ]
null
null
null
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-Adrian-men
29d07a70d05fd1ad10e6b5b8ff8b457dd97e2833
[ "MIT" ]
null
null
null
//write include statements #include <iostream> //write namespace using statement for cout using std::cout; using std::cin; int main() { int num; cin >> num; int multiply_numbers(int num); return num; cout << num; int num1; num1 = 4; multiply_numbers(num1); return num1; cout<<num1; return 0; }
13.478261
42
0.683871
acc-cosc-1337-spring-2022
02ca731b66c89dc720bf429366664ef61a9a837d
2,640
hpp
C++
src/mesh/nodal_coordinates.hpp
annierhea/neon
4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1
[ "MIT" ]
null
null
null
src/mesh/nodal_coordinates.hpp
annierhea/neon
4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1
[ "MIT" ]
null
null
null
src/mesh/nodal_coordinates.hpp
annierhea/neon
4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1
[ "MIT" ]
null
null
null
#pragma once #include "numeric/dense_matrix.hpp" #include "numeric/index_types.hpp" #include "io/json.hpp" namespace neon { /** nodal_coordinates.hpp stores the list of coordinates of a discretized geometry */ class nodal_coordinates { public: nodal_coordinates() = default; /** Construct with a list of coo...
26.666667
86
0.680303
annierhea
02ca886c86cfc24228bc2ac9f0fc420ac8bda190
982
hpp
C++
src/Point.hpp
kmdrGroch/math-essentials
522de57f2449bbbd5cad3cd735c55fbe000dbd55
[ "MIT" ]
null
null
null
src/Point.hpp
kmdrGroch/math-essentials
522de57f2449bbbd5cad3cd735c55fbe000dbd55
[ "MIT" ]
null
null
null
src/Point.hpp
kmdrGroch/math-essentials
522de57f2449bbbd5cad3cd735c55fbe000dbd55
[ "MIT" ]
null
null
null
#pragma once #include "preprocessor.hpp" #include "Vector2D.hpp" #include "Vector3D.hpp" #include "utils.hpp" class Point { public: double x; double y; double z; public: _CExp Point() : x(0), y(0), z(0) {} _Ex _CExp Point(double X, double Y, double Z = 0) : x(X), y(X), z(Z) {} _Ex _CExp Point(const Vector2D& v)...
23.380952
72
0.61609
kmdrGroch
02cac9ab3261f69087a19304e271405a16888403
2,369
cpp
C++
source/device/Curves.cpp
xzrunner/terr
f3c03776d7a415c73c8f985132c60526e830a96a
[ "MIT" ]
null
null
null
source/device/Curves.cpp
xzrunner/terr
f3c03776d7a415c73c8f985132c60526e830a96a
[ "MIT" ]
null
null
null
source/device/Curves.cpp
xzrunner/terr
f3c03776d7a415c73c8f985132c60526e830a96a
[ "MIT" ]
null
null
null
#include "terraingraph/device/Curves.h" #include "terraingraph/DeviceHelper.h" #include "terraingraph/HeightFieldEval.h" #include "terraingraph/Context.h" #include <heightfield/HeightField.h> namespace terraingraph { namespace device { void Curves::Execute(const std::shared_ptr<dag::Context>& ctx) { auto prev_hf...
23.69
83
0.52385
xzrunner
c49d543aee5845e9a85e6cbe1c58a43d9c81373f
753
cpp
C++
2021.09.22-Lesson-3/Project6/Source.cpp
021213/programming-c-eng--2021-autumn
84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348
[ "Apache-2.0" ]
null
null
null
2021.09.22-Lesson-3/Project6/Source.cpp
021213/programming-c-eng--2021-autumn
84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348
[ "Apache-2.0" ]
null
null
null
2021.09.22-Lesson-3/Project6/Source.cpp
021213/programming-c-eng--2021-autumn
84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; struct Complex { //fields int re; int im; //constructor Complex() //default constructor { this->re = 0; this->im = 0; } Complex(int re, int im) //parametrized constructor { this->re = re; this->im = im; } Complex(const Complex& z) //copying constructor { ...
11.584615
51
0.555113
021213
c4a09be07aeac7f806e8761c0de0fcdcd4d57a79
1,971
cpp
C++
2019/Solutions/Day08.cpp
lukaspirkl/AdventOfCode
e7bf299cc5341b972dd30c3aa4e212da74abfb83
[ "MIT" ]
null
null
null
2019/Solutions/Day08.cpp
lukaspirkl/AdventOfCode
e7bf299cc5341b972dd30c3aa4e212da74abfb83
[ "MIT" ]
null
null
null
2019/Solutions/Day08.cpp
lukaspirkl/AdventOfCode
e7bf299cc5341b972dd30c3aa4e212da74abfb83
[ "MIT" ]
null
null
null
#include "pch.h" #include "aoc.h" #define NAME Day08__Space_Image_Format namespace { TEST(NAME, InputA) { std::string input = aoc::readInputFile("Day08.txt").str(); std::vector<std::vector<int>> layers(input.size()/(25*6), std::vector<int>(25*6)); for (size_t i = 0; i < input.size(); i++) { size_t laye...
22.397727
98
0.563166
lukaspirkl
c4a5ecd747786bf21383ad5a76bc1f7aa7d8a123
552
cpp
C++
codes/moderncpp/is_reference/is_rvalue_reference01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/moderncpp/is_reference/is_rvalue_reference01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/moderncpp/is_reference/is_rvalue_reference01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <iostream> #include <type_traits> class A {}; int main( int argc, char **argv ) { { //static_assert( std::is_rvalue_reference_v<A> ); static_assert( not std::is_rvalue_reference_v<A> ); static_assert( not std::is_rvalue_reference_v<A&> ); static_assert( std::is_rvalue_...
27.6
63
0.637681
eric2003
c4a5f174d7a92b2d46df84e84149afefb4802a92
23,799
cc
C++
src/gb/render/mesh_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
null
null
null
src/gb/render/mesh_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
2
2021-12-10T13:38:51.000Z
2022-02-22T16:02:24.000Z
src/gb/render/mesh_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
null
null
null
// Copyright (c) 2020 John Pursey // // Use of this source code is governed by an MIT-style License that can be found // in the LICENSE file or at https://opensource.org/licenses/MIT. #include "gb/render/mesh.h" #include "gb/render/render_test.h" #include "gb/render/test_render_buffer.h" #include "gmock/gmock.h" #inc...
42.122124
80
0.710618
jpursey
c4a6a1791786ba74da0d8e8cf4492ad7b3b57cb4
9,875
cpp
C++
src/oatpp/core/async/Coroutine.cpp
BossZou/oatpp
689d8bd8e03cc7a06aa5f273663d309888c399ed
[ "Apache-2.0" ]
null
null
null
src/oatpp/core/async/Coroutine.cpp
BossZou/oatpp
689d8bd8e03cc7a06aa5f273663d309888c399ed
[ "Apache-2.0" ]
null
null
null
src/oatpp/core/async/Coroutine.cpp
BossZou/oatpp
689d8bd8e03cc7a06aa5f273663d309888c399ed
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * * Project _____ __ ____ _ _ * ( _ ) /__\ (_ _)_| |_ _| |_ * )(_)( /(__)\ )( (_ _)(_ _) * (_____)(__)(__)(__) |_| |_| * * * Copyright 2018-present, Leoni...
25.320513
120
0.629975
BossZou
c4a775deed81174cc564526e04deaf8fbe5c2cbd
309
cpp
C++
Single Number/Soln(map).cpp
shrustimy/LeetCode_Solutions-C_Cpp
b6f7da9dbfa83f6fc13573e22c4ee4086921e148
[ "MIT" ]
null
null
null
Single Number/Soln(map).cpp
shrustimy/LeetCode_Solutions-C_Cpp
b6f7da9dbfa83f6fc13573e22c4ee4086921e148
[ "MIT" ]
null
null
null
Single Number/Soln(map).cpp
shrustimy/LeetCode_Solutions-C_Cpp
b6f7da9dbfa83f6fc13573e22c4ee4086921e148
[ "MIT" ]
null
null
null
class Solution { public: int singleNumber(vector<int>& nums) { unordered_map<int,int> map; for(auto i:nums) { map[i]++; } for(auto i:nums) { if(map[i]==1) return i; } return -1; } };
19.3125
42
0.381877
shrustimy
c4a9aa0f84ffcdd2771a7deb35c1f560fb0d3a93
3,436
cpp
C++
src/craft/fsm.cpp
azais-corentin/StillSane
5cafa1aad4964d042879ee14d80ddef71bd9f8e4
[ "MIT" ]
1
2022-03-15T18:07:37.000Z
2022-03-15T18:07:37.000Z
src/craft/fsm.cpp
azais-corentin/StillSane
5cafa1aad4964d042879ee14d80ddef71bd9f8e4
[ "MIT" ]
null
null
null
src/craft/fsm.cpp
azais-corentin/StillSane
5cafa1aad4964d042879ee14d80ddef71bd9f8e4
[ "MIT" ]
1
2022-03-20T16:09:28.000Z
2022-03-20T16:09:28.000Z
#include "fsm.hh" #include <algorithm> #include <functional> #include <iostream> #include <range/v3/action/sort.hpp> #include <range/v3/action/unique.hpp> #include <range/v3/range/conversion.hpp> #include <range/v3/view/remove_if.hpp> #include <range/v3/view/transform.hpp> #include <sol/sol.hpp> FSM::FSM(std::shared...
26.430769
89
0.64319
azais-corentin
c4aa6549339ccc018ba64b24fe9e38cb471d59aa
215
cpp
C++
Society2.0/Society2.0/TrustedDevelopers.cpp
simsim314/Society2.0
a95e42122e2541b7544dd641247681996f1e625a
[ "Unlicense" ]
1
2019-07-11T13:10:43.000Z
2019-07-11T13:10:43.000Z
Society2.0/Society2.0/TrustedDevelopers.cpp
mdheller/Society2.0
a95e42122e2541b7544dd641247681996f1e625a
[ "Unlicense" ]
1
2019-02-19T12:32:52.000Z
2019-03-07T20:49:50.000Z
Society2.0/Society2.0/TrustedDevelopers.cpp
mdheller/Society2.0
a95e42122e2541b7544dd641247681996f1e625a
[ "Unlicense" ]
1
2020-01-10T12:37:30.000Z
2020-01-10T12:37:30.000Z
#include "TrustedDevelopers.h" float TrustedDevelopers::Trust(SkillPerson * developer) { return 0.0f; } TrustedDevelopers::TrustedDevelopers() { } TrustedDevelopers::~TrustedDevelopers() { }
11.944444
56
0.693023
simsim314
c4acc5a2a3755a3c4723d88002219847ce897ec1
2,863
hpp
C++
library/ATF/CCircleZoneInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CCircleZoneInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CCircleZoneInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CCircleZone.hpp> START_ATF_NAMESPACE namespace Info { using CCircleZonector_CCircleZone2_ptr = void (WINAPIV*)(struct CCircleZone*); ...
73.410256
151
0.754803
lemkova
c4b9d3ea2c9d7ca9eaa4f7e03198b94cec611d66
1,015
cpp
C++
Chapter 4/4.27 palindromes/4.27 palindromes/main.cpp
MarvelousAudio/CPlusPlus-How-to-program-tenth-edition
a667b080938cf964909d79b272f0d863adc300e0
[ "MIT" ]
null
null
null
Chapter 4/4.27 palindromes/4.27 palindromes/main.cpp
MarvelousAudio/CPlusPlus-How-to-program-tenth-edition
a667b080938cf964909d79b272f0d863adc300e0
[ "MIT" ]
null
null
null
Chapter 4/4.27 palindromes/4.27 palindromes/main.cpp
MarvelousAudio/CPlusPlus-How-to-program-tenth-edition
a667b080938cf964909d79b272f0d863adc300e0
[ "MIT" ]
null
null
null
// // main.cpp // 4.27 palindromes // // Created by ben haywood on 6/28/20. // Copyright © 2020 ben haywood. All rights reserved. // #include <iostream> using namespace std; int main(int argc, const char * argv[]) { // insert code here... int input = 0; bool flag = true; int tenThousan...
17.20339
57
0.470936
MarvelousAudio
c4bf4426046c9ad3eadc6b85fa32478291cfbd27
28,665
hpp
C++
cpp/visualmesh/engine/vulkan/kernels/make_network.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
14
2018-06-22T19:46:34.000Z
2022-02-02T15:22:39.000Z
cpp/visualmesh/engine/vulkan/kernels/make_network.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
2
2020-12-12T04:51:51.000Z
2021-06-28T01:14:42.000Z
cpp/visualmesh/engine/vulkan/kernels/make_network.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
8
2018-06-11T14:54:45.000Z
2022-02-02T15:22:50.000Z
/* * Copyright (C) 2017-2020 Trent Houliston <trent@houliston.me> * * 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, c...
55.986328
120
0.48254
wongjoel
c4c316d40c8d2fc8f2ed854948e5db1ade9c892b
7,520
hpp
C++
include/VROSC/LoopStationTrack.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/LoopStationTrack.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/LoopStationTrack.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Color #include "UnityEn...
36.862745
116
0.696543
RedBrumbler
c4c54a72ba4365fbe347606fb71f0309c7238768
928
cpp
C++
Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_6.cpp
viniciusjavs/Programming
ef1eed5c0a2782dd3ef1c0453460c93384dab41b
[ "MIT" ]
2
2021-08-19T18:27:58.000Z
2021-12-17T17:53:08.000Z
Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_6.cpp
vjavs/Programming
ef1eed5c0a2782dd3ef1c0453460c93384dab41b
[ "MIT" ]
null
null
null
Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_6.cpp
vjavs/Programming
ef1eed5c0a2782dd3ef1c0453460c93384dab41b
[ "MIT" ]
null
null
null
//Copyright 2016 Vinicius Sa (viniciusjavs@gmail.com) //Chapter 4, Exercise 6 /* * Program that converts a digit to its corresponding spelled-out value * and converts spelled-out numbers into their digit form. */ #include "std_lib_facilities.h" int main() { vector<string> digits = { "zero", "one", "two", "thr...
25.777778
88
0.564655
viniciusjavs
c4cc28a309ef79a9d12975530aee5281f0b74982
13,241
cpp
C++
src/petuum_ps_common/comm_bus/comm_bus.cpp
ForrestGan/public
2cada36c4b523cf80f16a4f0d0fdc01166a69df1
[ "BSD-3-Clause" ]
null
null
null
src/petuum_ps_common/comm_bus/comm_bus.cpp
ForrestGan/public
2cada36c4b523cf80f16a4f0d0fdc01166a69df1
[ "BSD-3-Clause" ]
null
null
null
src/petuum_ps_common/comm_bus/comm_bus.cpp
ForrestGan/public
2cada36c4b523cf80f16a4f0d0fdc01166a69df1
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014, Sailing Lab // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions an...
31.52619
80
0.711502
ForrestGan
c4d169b085d06604a3a2f6aba8757a47e53b2f21
16,735
cpp
C++
test/number/Figurate.cpp
wtmitchell/project_euler
b0fd328af41901aa53f757f1dd84f44f71d7be44
[ "MIT" ]
2
2016-04-03T08:44:15.000Z
2018-10-05T02:12:19.000Z
test/number/Figurate.cpp
wtmitchell/challenge_problems
b0fd328af41901aa53f757f1dd84f44f71d7be44
[ "MIT" ]
null
null
null
test/number/Figurate.cpp
wtmitchell/challenge_problems
b0fd328af41901aa53f757f1dd84f44f71d7be44
[ "MIT" ]
null
null
null
//===-- test/util/Figureate.cpp ---------------------------------*- C++ -*-===// // // Challenge Problem solutions by Will Mitchell // // This file is distributed under the MIT License. See LICENSE for details. // //===----------------------------------------------------------------------===// #include <gtest/gtest.h> ...
30.876384
80
0.729668
wtmitchell
c4d4218ff85f2a2605c9a9c5b6257b4afad84b88
11,253
cc
C++
support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
1
2022-03-03T08:47:33.000Z
2022-03-03T08:47:33.000Z
support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
null
null
null
support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
null
null
null
#ifdef OS_AIX #include <memory.h> #endif #ifdef OS_OPENBSD #include <memory.h> #endif #ifdef OS_LINUX #include <string.h> #endif #include <sys/types.h> #include <sys/socket.h> #include <sys/uio.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdarg.h> #include <stdio.h> #include <unistd.h> #include <net...
19.468858
82
0.528748
PariKhaleghi
c4dc0aaaa96c38ea0a26e5d4aea5749034dee5b1
2,505
cpp
C++
src/xmlsettingsdialog/itemhandlers/itemhandlertreeview.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/xmlsettingsdialog/itemhandlers/itemhandlertreeview.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/xmlsettingsdialog/itemhandlers/itemhandlertreeview.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2010-2011 Oleg Linkin * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
27.527473
101
0.665868
Maledictus
c4e37f9176d1b91d7ee51b1d54851693e46b976e
6,192
hxx
C++
Modules/Core/Transform/include/otbInverseLogPolarTransform.hxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/Core/Transform/include/otbInverseLogPolarTransform.hxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/Core/Transform/include/otbInverseLogPolarTransform.hxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
32.25
156
0.662145
heralex
c4e5dd2b58befcb38b63dbffe0230e53131464ff
99,147
cc
C++
Headers/CrossCheatTalkMessages.pb.cc
eacbypass/SorryHack
5d8bc1a1b7680e825abc375a0849665c24cdf70c
[ "MIT" ]
4
2021-11-25T19:13:42.000Z
2022-01-06T22:29:40.000Z
Headers/CrossCheatTalkMessages.pb.cc
eacbypass/SorryHack
5d8bc1a1b7680e825abc375a0849665c24cdf70c
[ "MIT" ]
null
null
null
Headers/CrossCheatTalkMessages.pb.cc
eacbypass/SorryHack
5d8bc1a1b7680e825abc375a0849665c24cdf70c
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: CrossCheatTalkMessages.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "CrossCheatTalkMessages.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/proto...
31.706748
117
0.660887
eacbypass
c4e8e5f8e9d22d255a3ba6c90b8d8d31be0901d1
432
hpp
C++
src/behavior/policy/solver_derived_policy.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/behavior/policy/solver_derived_policy.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/behavior/policy/solver_derived_policy.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/** * Mark Benjamin 1st June 2017 */ #ifndef FASTRL_BEHAVIOR_POLICY_SOLVER_DERIVED_POLICY_HPP #define FASTRL_BEHAVIOR_POLICY_SOLVER_DERIVED_POLICY_HPP #include "policy.hpp" #include "../singleagent/MDP_solver_interface.hpp" class SolverDerivedPolicy : virtual public Policy { public: virtual void setSolver(MDPS...
27
132
0.800926
MarkieMark
c4ea0f2a64a7a2049187444b2f7b4401628480ce
1,380
cpp
C++
CrackingTheCodeInterview/03_02_constantMinPopPushStack.cpp
DanWatkins/CTCI
230572f46ddaf0945bbf735a2be717486ffea7dc
[ "Unlicense" ]
1
2016-07-21T03:24:17.000Z
2016-07-21T03:24:17.000Z
CrackingTheCodeInterview/03_02_constantMinPopPushStack.cpp
DanWatkins/BookExamples
230572f46ddaf0945bbf735a2be717486ffea7dc
[ "Unlicense" ]
null
null
null
CrackingTheCodeInterview/03_02_constantMinPopPushStack.cpp
DanWatkins/BookExamples
230572f46ddaf0945bbf735a2be717486ffea7dc
[ "Unlicense" ]
null
null
null
#include <iostream> #include <stack> template<typename T> class StackConstantPushPopMin_SpaceEfficient { public: /* * Pushes the value onto the top of the stack in O(1) */ void push(T value) { if (mNodes.size() == 0 || mNodes.top().runningMin > value) { Node n; n.values.push(value); n.runningMin...
15.681818
104
0.604348
DanWatkins
c4ed39f469d68136f1bf3841e927db36cad04f57
1,195
cpp
C++
extrautils/SuffixArrayToBWT.cpp
mchaisso/mcpbblasr
6c92959ba61adfd234a4f35849490709284105de
[ "BSD-3-Clause-Clear" ]
null
null
null
extrautils/SuffixArrayToBWT.cpp
mchaisso/mcpbblasr
6c92959ba61adfd234a4f35849490709284105de
[ "BSD-3-Clause-Clear" ]
null
null
null
extrautils/SuffixArrayToBWT.cpp
mchaisso/mcpbblasr
6c92959ba61adfd234a4f35849490709284105de
[ "BSD-3-Clause-Clear" ]
null
null
null
#include "FASTAReader.hpp" #include "FASTASequence.hpp" #include "bwt/BWT.hpp" #include "suffixarray/SuffixArray.hpp" #include "suffixarray/SuffixArrayTypes.hpp" #include <fstream> #include <iostream> int main(int argc, char* argv[]) { if (argc < 4) { std::cout << "usage: sa2bwt genomeFileName suffixArra...
25.978261
90
0.665272
mchaisso
c4f14b8b50b81b93e678b25f254b854a7cd73d88
477
cpp
C++
PerceptionExample/Plugins/Developer/RiderLink/Source/RD/src/rd_framework_cpp/src/main/intern/InternScheduler.cpp
EduTeachers/UnrealEngine4-SampleCode
80e8f0fe3c2bb930856d4f6a478bf0bdc51878d5
[ "MIT" ]
4
2022-01-20T18:14:00.000Z
2022-02-24T14:45:47.000Z
PerceptionExample/Plugins/Developer/RiderLink/Source/RD/src/rd_framework_cpp/src/main/intern/InternScheduler.cpp
EduTeachers/UnrealEngine4-SampleCode
80e8f0fe3c2bb930856d4f6a478bf0bdc51878d5
[ "MIT" ]
null
null
null
PerceptionExample/Plugins/Developer/RiderLink/Source/RD/src/rd_framework_cpp/src/main/intern/InternScheduler.cpp
EduTeachers/UnrealEngine4-SampleCode
80e8f0fe3c2bb930856d4f6a478bf0bdc51878d5
[ "MIT" ]
null
null
null
#include "InternScheduler.h" #include "guards.h" namespace rd { thread_local int32_t InternScheduler::active_counts = 0; InternScheduler::InternScheduler() { out_of_order_execution = true; } void InternScheduler::queue(std::function<void()> action) { util::increment_guard<int32_t> guard(active_coun...
16.448276
58
0.702306
EduTeachers
c4f1d68a22f0d99bb6c249ab683f5e43f8091f30
1,426
cpp
C++
mx_sensitivity/arma_mexprintf.cpp
mrcstan/Opt-IGFEM-2D
834d07727cd30cfac6368d9bb67202b8a20a4d4c
[ "NCSA" ]
null
null
null
mx_sensitivity/arma_mexprintf.cpp
mrcstan/Opt-IGFEM-2D
834d07727cd30cfac6368d9bb67202b8a20a4d4c
[ "NCSA" ]
null
null
null
mx_sensitivity/arma_mexprintf.cpp
mrcstan/Opt-IGFEM-2D
834d07727cd30cfac6368d9bb67202b8a20a4d4c
[ "NCSA" ]
null
null
null
/* Created by Marcus Tan on 1/30/2016 Copyright 2016 University of Illinois Purpose: this function use mexPrintf to print Armadillo vectors and matrices since the Armadillo member function print may not always work in Matlab */ #include "sensitivity.h" #include <cstddef> // NULL, std::#include "mex.h" #include "armad...
22.28125
118
0.565919
mrcstan
c4f3b175c680d3fc434547f52a62fa6ed3cf467a
7,745
cpp
C++
Max_Kasumi/Max_KasumiSub32.cpp
bryful/F-s-PluginsProjects
5673cc12105120bb4c3fd6f7cd650b000f5a416a
[ "MIT" ]
106
2019-05-15T13:16:30.000Z
2022-03-29T11:18:38.000Z
Max_Kasumi/Max_KasumiSub32.cpp
bryful/F-s-PluginsProjects
5673cc12105120bb4c3fd6f7cd650b000f5a416a
[ "MIT" ]
2
2020-10-24T07:12:52.000Z
2022-03-05T10:25:51.000Z
Max_Kasumi/Max_KasumiSub32.cpp
bryful/F-s-PluginsProjects
5673cc12105120bb4c3fd6f7cd650b000f5a416a
[ "MIT" ]
20
2019-07-10T06:08:14.000Z
2022-03-13T02:35:12.000Z
#include "Max_Kasumi.h" //------------------------------------------------------------------------------------------------- static PF_Err Rev(CFsAE *ae, ParamInfo32 *pi) { PF_Err err = PF_Err_NONE; PF_PixelFloat *data = pi->data; A_long pos = 0; for (A_long y = 0; y < pi->height; y++) { for (A_long x = 0; x...
20.064767
99
0.459135
bryful
c4f93ff5ead065ccadfe7746b77b8f821794fdf6
1,187
cpp
C++
Ryukuo Suspender/main.cpp
Iciclez/ryukuo-suspender
cdcc6beede79a23e5da71813b78c41cde718453a
[ "MIT" ]
null
null
null
Ryukuo Suspender/main.cpp
Iciclez/ryukuo-suspender
cdcc6beede79a23e5da71813b78c41cde718453a
[ "MIT" ]
null
null
null
Ryukuo Suspender/main.cpp
Iciclez/ryukuo-suspender
cdcc6beede79a23e5da71813b78c41cde718453a
[ "MIT" ]
null
null
null
#include <windows.h> #include <cstdint> #include "mainwindow.hpp" #pragma comment(linker,"\"/manifestdependency:type='win32' \ name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #pragma comment (lib, "Icy.lib") #pragma comment (lib...
23.27451
76
0.714406
Iciclez
c4f98f7738a2ade6880a90a35e249a8f0bd80238
7,896
cpp
C++
src/minisef/app/legion/rendermanager.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/minisef/app/legion/rendermanager.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/minisef/app/legion/rendermanager.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: The main manager of the rendering // // $Revision: $ // $NoKeywords: $ //===========================================================================// #include "rendermanager.h" #include "legion.h" #include "uimanager.h" #inc...
33.316456
88
0.542427
cstom4994
f202b24ab9f16316fbe97b80408a6fb38976ba20
13,351
cc
C++
src/utils/wrap_function.cc
elisabethrenner/py-orbit
02ccfc291157218d40450f7c75302ab93fecb69e
[ "MIT" ]
1
2018-03-22T09:12:08.000Z
2018-03-22T09:12:08.000Z
src/utils/wrap_function.cc
elisabethrenner/py-orbit
02ccfc291157218d40450f7c75302ab93fecb69e
[ "MIT" ]
null
null
null
src/utils/wrap_function.cc
elisabethrenner/py-orbit
02ccfc291157218d40450f7c75302ab93fecb69e
[ "MIT" ]
2
2019-05-16T09:34:04.000Z
2019-10-07T11:37:05.000Z
#include "orbit_mpi.hh" #include "pyORBIT_Object.hh" #include "wrap_utils.hh" #include "wrap_function.hh" #include <iostream> #include <string> #include "OU_Function.hh" using namespace OrbitUtils; using namespace wrap_orbit_utils; namespace wrap_function{ void error(const char* msg){ ORBIT_MPI_Finalize(msg); }...
37.928977
131
0.664894
elisabethrenner
f20a2638bc2e1f619cb526b2de95635140520667
362
cpp
C++
Codeforces Online Judge Solve/Vus- the- Cossack- and- a -Contest.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/Vus- the- Cossack- and- a -Contest.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/Vus- the- Cossack- and- a -Contest.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
/* Author: Remon Hasan solving concept: if number of pens and notebooks are is equal or more than Number of contestant for that the answer will be true. */ #include<bits/stdc++.h> using namespace std; int main () { int N,M,K; cin>>N>>M>>K; if(M>=N && K>=N){ cout<<"Yes"<<endl; }...
20.111111
77
0.560773
Remonhasan
f210e7699ea7c0c2e7c60cb5add15c17414e3633
1,699
cpp
C++
aws-cpp-sdk-s3control/source/model/ListStorageLensConfigurationsResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-s3control/source/model/ListStorageLensConfigurationsResult.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-s3control/source/model/ListStorageLensConfigurationsResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/s3control/model/ListStorageLensConfigurationsResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> ...
31.462963
140
0.774573
perfectrecall
f21231a28e08ba4d931cabf16e967100e50819fb
2,657
cpp
C++
Engine/source/gfx/gfxCubemap.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/gfx/gfxCubemap.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/gfx/gfxCubemap.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "gfx/gfxCubemap.h" #include "gfx/gfxDevice.h" #include "gfx/bitmap/gBitmap.h" #include "gfx/gfxTextureManager.h" GFXCubemap::~GFXCubemap() { // If we're not dynamic and we were loaded fr...
29.197802
82
0.541588
fr1tz
f21a21a1ee8894e25eba10592e30dac7ab71259f
311
cpp
C++
benchmark/number_benchmark.cpp
KaungZawHtet/XMwayLoon
4dd014dc75a209c242bba5d2dc4333af63bcb405
[ "Unlicense" ]
6
2020-03-23T04:20:53.000Z
2020-05-23T00:32:36.000Z
benchmark/number_benchmark.cpp
KaungZawHtet/XMwayLoon
4dd014dc75a209c242bba5d2dc4333af63bcb405
[ "Unlicense" ]
null
null
null
benchmark/number_benchmark.cpp
KaungZawHtet/XMwayLoon
4dd014dc75a209c242bba5d2dc4333af63bcb405
[ "Unlicense" ]
null
null
null
// // Created by Kaung Zaw Htet on 2019-11-21. // #include <benchmark/benchmark.h> #include <randomizer/number_randomizer.h> static void create_BM(benchmark::State& state) { for (auto _ : state) { XMwayLoon::Randomizer::Number obj_Number; } } BENCHMARK(create_BM); BENCHMARK_MAIN();
14.136364
49
0.675241
KaungZawHtet
35ecf6649260fc9e55478b41f4b8d9334abbb0d9
2,001
cpp
C++
assignments/assignment_12/assignment_12.cpp
Katsute/Baruch-CIS-3100-Assignments
4a8b8b1546750f581f7ed7400e4efa63c3e0a6be
[ "CC0-1.0" ]
null
null
null
assignments/assignment_12/assignment_12.cpp
Katsute/Baruch-CIS-3100-Assignments
4a8b8b1546750f581f7ed7400e4efa63c3e0a6be
[ "CC0-1.0" ]
null
null
null
assignments/assignment_12/assignment_12.cpp
Katsute/Baruch-CIS-3100-Assignments
4a8b8b1546750f581f7ed7400e4efa63c3e0a6be
[ "CC0-1.0" ]
1
2022-01-12T18:17:46.000Z
2022-01-12T18:17:46.000Z
#include <iostream> #include <iomanip> #include <string> using namespace std; class Employee { private: string name, department, position; int idNumber; public: // constructor Employee(string name, int idNumber, string department, string position) { this->name ...
31.265625
83
0.536732
Katsute
35f0a26caa9e02cad54a5feb97e36e5aba6ca472
7,301
cxx
C++
xp_comm_proj/bodofrev/bodofrev.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/bodofrev/bodofrev.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/bodofrev/bodofrev.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
/* */ /* ---------------------------------------------------------------------- * modBodyOfRevolution Module * ---------------------------------------------------------------------- * Description: * * BodyOfRevolution rotates "inside" and "outside" polylines around the * "z" axis to form a "solid" body o...
31.200855
77
0.642789
avs
35f2629681ce484d3e1f10a7707765a75376ea91
844
cpp
C++
electric-bill-management-system/menu_style.cpp
philong6297/electric-bill-management-system
b82d14dc22b8fd18dda7a79989785bc788f1370b
[ "MIT" ]
null
null
null
electric-bill-management-system/menu_style.cpp
philong6297/electric-bill-management-system
b82d14dc22b8fd18dda7a79989785bc788f1370b
[ "MIT" ]
null
null
null
electric-bill-management-system/menu_style.cpp
philong6297/electric-bill-management-system
b82d14dc22b8fd18dda7a79989785bc788f1370b
[ "MIT" ]
null
null
null
/* * This is a personal academic project. Dear PVS-Studio, please check it. * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com */ #include "menu_style.h" #include "menu.h" using menu::MenuState; using menu::MenuStyle; MenuStyle MenuStyle::GetStyle(const MenuState state) { using rang::fg; st...
22.810811
75
0.700237
philong6297
35fb3a5eecda8aa936f2db7728a5cb8c716c7df7
6,786
cpp
C++
hardware_interface/test/test_register_joints.cpp
mattnds/ros2_control
ddf69353184165485712fa36fec485d1c8404a11
[ "Apache-2.0" ]
null
null
null
hardware_interface/test/test_register_joints.cpp
mattnds/ros2_control
ddf69353184165485712fa36fec485d1c8404a11
[ "Apache-2.0" ]
null
null
null
hardware_interface/test/test_register_joints.cpp
mattnds/ros2_control
ddf69353184165485712fa36fec485d1c8404a11
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 PAL Robotics S.L. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
35.34375
89
0.765105
mattnds
35ffaadfbc5eefecb22b43b443697c55b5b3e47a
3,785
hpp
C++
iRODS/clients/fuse/include/iFuse.Lib.RodsClientAPI.hpp
cyverse/irods
4ea33f5f0e220b6e5d257a49b45e10d07ec02d75
[ "BSD-3-Clause" ]
null
null
null
iRODS/clients/fuse/include/iFuse.Lib.RodsClientAPI.hpp
cyverse/irods
4ea33f5f0e220b6e5d257a49b45e10d07ec02d75
[ "BSD-3-Clause" ]
7
2019-12-02T17:55:49.000Z
2019-12-02T17:55:59.000Z
iRODS/clients/fuse/include/iFuse.Lib.RodsClientAPI.hpp
benlazarine/irods
83f3c4a6f8f7fc6422a1e73a297b97796a961322
[ "BSD-3-Clause" ]
1
2019-12-02T05:44:10.000Z
2019-12-02T05:44:10.000Z
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /*** This code is rewritten by Illyoung Choi (iychoi@email.arizona.edu) *** *** funded by iPlantCollaborative (www.iplantcollaborative.org). ***/ #i...
45.059524
148
0.808454
cyverse
c4014d9f0cfb8134b2679d2643772b51d9152aa9
1,058
cpp
C++
firmware/src/utils.cpp
chientung/smartplug
3247b15f4c410f0d9d0c4904277ff428485ebbf0
[ "MIT" ]
27
2018-08-28T12:37:22.000Z
2022-03-11T19:39:32.000Z
firmware/src/utils.cpp
chientung/smartplug
3247b15f4c410f0d9d0c4904277ff428485ebbf0
[ "MIT" ]
33
2018-09-10T07:26:21.000Z
2022-02-26T17:53:24.000Z
firmware/src/utils.cpp
chientung/smartplug
3247b15f4c410f0d9d0c4904277ff428485ebbf0
[ "MIT" ]
4
2019-02-01T22:38:52.000Z
2021-05-09T17:23:57.000Z
///////////////////////////////////////////////////////////////////////////// /** @file General utility functions \copyright Copyright (c) 2018 Chris Byrne. All rights reserved. Licensed under the MIT License. Refer to LICENSE file in the project root. */ ///////////////////////////////////////////////////////////////...
27.842105
82
0.469754
chientung
c403667bf0155d9a3eb880e82c6e02def7413d5c
3,230
cc
C++
src/cpu/thread_context.cc
volnxebec/CC_Fused
e2b805e3475bd275409379c41eaeeb1a565cbdef
[ "BSD-3-Clause" ]
11
2015-03-21T13:35:06.000Z
2022-01-27T07:31:52.000Z
src/cpu/thread_context.cc
volnxebec/CC_Fused
e2b805e3475bd275409379c41eaeeb1a565cbdef
[ "BSD-3-Clause" ]
4
2017-02-14T06:33:15.000Z
2017-05-09T13:14:15.000Z
src/cpu/thread_context.cc
volnxebec/CC_Fused
e2b805e3475bd275409379c41eaeeb1a565cbdef
[ "BSD-3-Clause" ]
4
2015-03-21T13:35:24.000Z
2020-06-30T02:09:36.000Z
/* * Copyright (c) 2006 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, ...
39.876543
73
0.663467
volnxebec
c407ddf9168365e466d7bfc24b52f65edbaf0dac
3,166
hpp
C++
src/plugins/openmpt/libopenmpt/libopenmpt/libopenmpt_ext_impl.hpp
frranck/HippoPlayer
ede5c13db160b215018ca24216131414e06d5f1f
[ "Apache-2.0", "MIT" ]
1
2021-07-17T17:14:30.000Z
2021-07-17T17:14:30.000Z
src/plugins/openmpt/libopenmpt/libopenmpt/libopenmpt_ext_impl.hpp
frranck/HippoPlayer
ede5c13db160b215018ca24216131414e06d5f1f
[ "Apache-2.0", "MIT" ]
null
null
null
src/plugins/openmpt/libopenmpt/libopenmpt/libopenmpt_ext_impl.hpp
frranck/HippoPlayer
ede5c13db160b215018ca24216131414e06d5f1f
[ "Apache-2.0", "MIT" ]
null
null
null
/* * libopenmpt_ext_impl.hpp * ----------------------- * Purpose: libopenmpt extensions - implementation header * Notes : * Authors: OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #ifndef LIBOPENMPT_EXT_IMPL_HPP #define LIBOPENMPT_EXT_IMPL_HPP #incl...
28.017699
151
0.742262
frranck
c4080a92d7d60b2f5510252bcbbc1b4e6a6ec979
9,166
cpp
C++
src/lowlevel/gdeflateBatch.cpp
tabtre/nvcomp
a6e4e64a177e07cd2e5c8c5e07bb66ffefceae84
[ "BSD-3-Clause" ]
null
null
null
src/lowlevel/gdeflateBatch.cpp
tabtre/nvcomp
a6e4e64a177e07cd2e5c8c5e07bb66ffefceae84
[ "BSD-3-Clause" ]
null
null
null
src/lowlevel/gdeflateBatch.cpp
tabtre/nvcomp
a6e4e64a177e07cd2e5c8c5e07bb66ffefceae84
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list ...
33.575092
108
0.755619
tabtre
c4091e6ab84309218efce830fe579ea62f9b0cf6
1,613
cc
C++
modules/ugdk-core/src/input/joystickstatus.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
11
2015-03-06T13:14:32.000Z
2020-06-09T23:34:28.000Z
modules/ugdk-core/src/input/joystickstatus.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
62
2015-01-04T05:47:40.000Z
2018-06-15T17:00:25.000Z
modules/ugdk-core/src/input/joystickstatus.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
2
2017-04-05T20:35:49.000Z
2017-07-30T03:44:02.000Z
#include <ugdk/input/joystickstatus.h> #include "SDL_joystick.h" namespace ugdk { namespace input { AxisStatus::AxisStatus(int16 raw) : raw_(raw) {} int16 AxisStatus::raw() const { return raw_; } int16 AxisStatus::MaximumValue() const { return 32767; } int16 AxisStatus::MinimumValue() const { return -...
20.417722
59
0.66832
uspgamedev
c40d68f10cac300def7761a90a477fff5a24448d
860
hpp
C++
impl/jamtemplate/sdl/sound.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
6
2021-09-05T08:31:36.000Z
2021-12-09T21:14:37.000Z
impl/jamtemplate/sdl/sound.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
30
2021-05-19T15:33:03.000Z
2022-03-30T19:26:37.000Z
impl/jamtemplate/sdl/sound.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
3
2021-05-23T16:06:01.000Z
2021-10-01T01:17:08.000Z
#ifndef GUARD_JAMTEMPLATE_SFML_SOUND_GUARD_HPP_12345 #define GUARD_JAMTEMPLATE_SFML_SOUND_GUARD_HPP_12345 #include "sound_base.hpp" #include <SDL2/SDL.h> #include <SDL2/SDL_mixer.h> #include <memory> namespace jt { class Sound : public SoundBase { private: std::shared_ptr<Mix_Chunk> m_wave { nullptr }; bool...
22.631579
54
0.715116
runvs
c40f50444fab7caa02ac7c28f62525fcfb8692e9
2,031
hpp
C++
src/bootstrap/source/translation_unit.hpp
wexaris/ivy
9b752661c7db69296627307acc73978052c93eb4
[ "Apache-2.0" ]
2
2019-06-25T14:29:00.000Z
2019-07-22T21:58:41.000Z
src/bootstrap/source/translation_unit.hpp
wexaris/ivy
9b752661c7db69296627307acc73978052c93eb4
[ "Apache-2.0" ]
null
null
null
src/bootstrap/source/translation_unit.hpp
wexaris/ivy
9b752661c7db69296627307acc73978052c93eb4
[ "Apache-2.0" ]
null
null
null
#pragma once #include "errors/handler.hpp" #include <string> #include <vector> /* An item containing source code, usually a file. * Stores the path to the file of origin and the source. * Has a position inside the larger SourceMap. */ class TranslationUnit { private: /* The Session's ErrorHandler */ ErrorHandle...
33.85
107
0.721812
wexaris
c4123452b53dd65610b21ba3bce0692610799182
432
cpp
C++
Source/FSD/Private/AssaultRifle.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/AssaultRifle.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/AssaultRifle.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "AssaultRifle.h" class AActor; class UFSDPhysicalMaterial; void AAssaultRifle::OnTimerElapsed() { } void AAssaultRifle::OnEnemyKilled(AActor* Target, UFSDPhysicalMaterial* PhysMat) { } void AAssaultRifle::Client_ResetAccuracy_Implementation() { } AAssaultRifle::AAssaultRifle() { this->KillsResetAccura...
20.571429
82
0.775463
Dr-Turtle
c41284d67068aabd3f56aaba34f0f2b1f7b9966a
9,031
cpp
C++
src/framework/shared/core/fxmemoryobject.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/core/fxmemoryobject.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/core/fxmemoryobject.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft Corporation Module Name: FxMemoryObject.cpp Abstract: This module implements a frameworks managed FxMemoryObject Author: Environment: kernel mode only Revision History: --*/ #include "coreprivshared.hpp" extern "C" { #include "FxMemoryObject.tmh" } FxMemoryObject::F...
28.221875
81
0.653637
IT-Enthusiast-Nepal
c414739d7eb63fdf986f35e4cab217fab92babeb
7,673
cc
C++
src/b1mapping.cc
EPTlib/b1map-sim
2f5836907b06453cd71a15c8e7a632f7327d621c
[ "MIT" ]
3
2021-03-02T19:36:56.000Z
2022-02-03T00:01:11.000Z
src/b1mapping.cc
EPTlib/b1map-sim
2f5836907b06453cd71a15c8e7a632f7327d621c
[ "MIT" ]
1
2021-06-10T13:43:00.000Z
2021-06-10T13:43:00.000Z
src/b1mapping.cc
EPTlib/b1map-sim
2f5836907b06453cd71a15c8e7a632f7327d621c
[ "MIT" ]
null
null
null
/***************************************************************************** * * Program: b1map-sim * Author: Alessandro Arduino <a.arduino@inrim.it> * * MIT License * * Copyright (c) 2020 Alessandro Arduino * Istituto Nazionale di Ricerca Metrologica (INRiM) * Strada delle cacce 91, 10135 Torino * ITAL...
31.706612
108
0.683305
EPTlib
c4183d91d218ad359314acc571fa99c92c17d133
2,520
cpp
C++
Scene_Closing.cpp
alvieboy/demo_new_year_2019
4a6b171c66f3948680a666aef22dbb3878c63635
[ "BSD-3-Clause" ]
null
null
null
Scene_Closing.cpp
alvieboy/demo_new_year_2019
4a6b171c66f3948680a666aef22dbb3878c63635
[ "BSD-3-Clause" ]
null
null
null
Scene_Closing.cpp
alvieboy/demo_new_year_2019
4a6b171c66f3948680a666aef22dbb3878c63635
[ "BSD-3-Clause" ]
null
null
null
#include "Scene_Closing.h" #include <QDebug> #include "DrawUtils.h" #include "TextWriter.h" #include <QFile> static inline uint8_t noisy(uint8_t base) { uint32_t noise; noise = random() & 0x3F; noise += base; if (noise>0xff) noise=0xff; return noise; } static uint32_t getcolor_green(void) ...
21.355932
92
0.554762
alvieboy