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
8268c6e3da126fc213b225cbd0c22bcc8f1fc11d
10,794
inl
C++
runtime/helpers/flat_batch_buffer_helper_hw.inl
JablonskiMateusz/compute-runtime
492d46804b4d2e32a62ac4dcfb8e70194886bb77
[ "MIT" ]
null
null
null
runtime/helpers/flat_batch_buffer_helper_hw.inl
JablonskiMateusz/compute-runtime
492d46804b4d2e32a62ac4dcfb8e70194886bb77
[ "MIT" ]
null
null
null
runtime/helpers/flat_batch_buffer_helper_hw.inl
JablonskiMateusz/compute-runtime
492d46804b4d2e32a62ac4dcfb8e70194886bb77
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
55.071429
271
0.714564
JablonskiMateusz
826cbceb19326d3fa85d6555d92aef15f3cd01a8
97
cpp
C++
C++/Multiplayer/Step 4 - Entity Prediction/shared/entities/Entity.cpp
ProfPorkins/GameTech
aa45062d9003c593bf19f65708efcb99a13063c3
[ "MIT" ]
13
2016-07-14T16:27:25.000Z
2021-03-31T23:32:46.000Z
C++/Multiplayer/Step 3 - Entity Interpolation/shared/entities/Entity.cpp
ProfPorkins/GameTech
aa45062d9003c593bf19f65708efcb99a13063c3
[ "MIT" ]
5
2018-03-22T16:11:39.000Z
2021-05-30T16:34:06.000Z
C++/Multiplayer/Step 4 - Entity Prediction/shared/entities/Entity.cpp
ProfPorkins/GameTech
aa45062d9003c593bf19f65708efcb99a13063c3
[ "MIT" ]
6
2018-03-22T16:00:02.000Z
2020-04-11T12:46:23.000Z
#include "Entity.hpp" namespace entities { std::atomic<std::uint32_t> Entity::nextId = 0; }
13.857143
50
0.680412
ProfPorkins
826f652edd7c68021e76e60b05c95ae3fe5c8bef
52
hpp
C++
src/boost_units_base_units_imperial_thou.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_units_base_units_imperial_thou.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_units_base_units_imperial_thou.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/units/base_units/imperial/thou.hpp>
26
51
0.807692
miathedev
8270412832bf39a60fbd93174b025120f7596a1f
1,297
cpp
C++
src/Commands/CommandBase.cpp
firesurfer/AvrSimulator
7b00e59b2fb5ffdb312b742e3facb062d7f5ebca
[ "Apache-2.0" ]
1
2020-03-29T19:00:56.000Z
2020-03-29T19:00:56.000Z
src/Commands/CommandBase.cpp
firesurfer/AvrSimulator
7b00e59b2fb5ffdb312b742e3facb062d7f5ebca
[ "Apache-2.0" ]
null
null
null
src/Commands/CommandBase.cpp
firesurfer/AvrSimulator
7b00e59b2fb5ffdb312b742e3facb062d7f5ebca
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 Friedolin Groeger, Lennart Nachtigall 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...
22.362069
100
0.727833
firesurfer
8272e0d1dbcd8e051e1e547cd0a3332503223be9
2,775
cpp
C++
ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/ShowCallout/ShowCallout.cpp
markjdugger/arcgis-runtime-samples-qt
833b583d8f0a70b2dbbe4a8c28d8609c7e93dca3
[ "Apache-2.0" ]
1
2021-08-08T13:58:54.000Z
2021-08-08T13:58:54.000Z
ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/ShowCallout/ShowCallout.cpp
markjdugger/arcgis-runtime-samples-qt
833b583d8f0a70b2dbbe4a8c28d8609c7e93dca3
[ "Apache-2.0" ]
null
null
null
ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/ShowCallout/ShowCallout.cpp
markjdugger/arcgis-runtime-samples-qt
833b583d8f0a70b2dbbe4a8c28d8609c7e93dca3
[ "Apache-2.0" ]
null
null
null
// [WriteFile Name=ShowCallout, Category=DisplayInformation] // [Legal] // Copyright 2016 Esri. // 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...
33.035714
138
0.723604
markjdugger
827ae39b57d3d022143b89daeac6f52d1aa183b8
7,785
cpp
C++
test/Interlocking/Test_InterlockingSolver_Ipopt.cpp
carlostapiarq/TopoLite
d6eb9125518a88ea546917df5217978f34661b2c
[ "MIT" ]
17
2020-06-10T08:28:32.000Z
2021-12-07T02:55:35.000Z
test/Interlocking/Test_InterlockingSolver_Ipopt.cpp
carlostapiarq/TopoLite
d6eb9125518a88ea546917df5217978f34661b2c
[ "MIT" ]
4
2020-06-08T12:21:49.000Z
2020-06-10T07:56:42.000Z
test/Interlocking/Test_InterlockingSolver_Ipopt.cpp
carlostapiarq/TopoLite
d6eb9125518a88ea546917df5217978f34661b2c
[ "MIT" ]
3
2020-06-22T10:07:31.000Z
2021-10-04T06:02:33.000Z
// // Created by ziqwang on 2020-02-03. // #include <catch2/catch.hpp> #include "Interlocking/InterlockingSolver_Ipopt.h" #include "IO/JsonIOReader.h" #include <iostream> #include <Eigen/Dense> #include <Eigen/SparseQR> using namespace Eigen; TEST_CASE("Bunny Example Ipopt") { vector<shared_ptr<PolyMesh<doubl...
34.446903
107
0.641105
carlostapiarq
827c02f8b6754e0f83c70553c18de9e7144add5a
1,229
cpp
C++
Code en C++ de Mage War Online/A_RobeOfTheWarriorPlus.cpp
Drakandes/Portfolio_NicolasPaulBonneau
c8115d5ecd6c284113766d64d0f907c074315cff
[ "MIT" ]
null
null
null
Code en C++ de Mage War Online/A_RobeOfTheWarriorPlus.cpp
Drakandes/Portfolio_NicolasPaulBonneau
c8115d5ecd6c284113766d64d0f907c074315cff
[ "MIT" ]
null
null
null
Code en C++ de Mage War Online/A_RobeOfTheWarriorPlus.cpp
Drakandes/Portfolio_NicolasPaulBonneau
c8115d5ecd6c284113766d64d0f907c074315cff
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "A_RobeOfTheWarriorPlus.h" A_RobeOfTheWarriorPlus::A_RobeOfTheWarriorPlus(int current_language) { name_armor = current_language == English_E ? "Robe of the Warrior+" : "Robe du Guerrier+"; armor_level_recommanded = current_language == English_E ? "Level 13 required" : "Niveau 13 ...
20.483333
101
0.766477
Drakandes
827c100467cd20f3d14764f61ae76ffa9db116f6
357
cpp
C++
hdu/1098.cpp
bashell/oj
9471e32d735168148390d42029998187e0e04e2b
[ "MIT" ]
null
null
null
hdu/1098.cpp
bashell/oj
9471e32d735168148390d42029998187e0e04e2b
[ "MIT" ]
null
null
null
hdu/1098.cpp
bashell/oj
9471e32d735168148390d42029998187e0e04e2b
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; int main() { //freopen("in.txt", "r", stdin); int k, a; while(~scanf("%d", &k)) { for(a = 1; a <= 65; ++a) { if((18 + k*a)%65 == 0) { printf("%d\n", a); break; } } if(a > 65) p...
17.85
36
0.35014
bashell
827ce58ccf4a589bb088c6cb9e5700e0c2abe03c
1,045
cpp
C++
Bit Manipulation/Common Bit Tasks/Clear Last m Bits.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Bit Manipulation/Common Bit Tasks/Clear Last m Bits.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Bit Manipulation/Common Bit Tasks/Clear Last m Bits.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
#include<bits/stdc++.h> using namespace std; #define ll long long // Function to clear the last m bits of n // NOTE: -1 in 2's complement representation (which is the representation used by machines) ==> // 11111111111111111...... ll clr_last_m_bits(ll n, ll m) { // mask = (~0) << i can also be used //...
23.222222
95
0.548325
Edith-3000
827d03ec72c059941ef7c89543a59d629012a327
168
cpp
C++
solutions/104.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/104.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/104.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
#include <algorithm> class Solution { public: int maxDepth(TreeNode *root) { return root ? 1 + std::max(maxDepth(root->left), maxDepth(root->right)) : 0; } };
21
80
0.64881
tdakhran
827e008d46428ad641ff199c42a0ec15233a86c8
2,692
hh
C++
src/graphics.hh
matthew-c21/srpg-engine
e767a7211d55b0998dd4f6c1c02ebf6994fdd74c
[ "MIT" ]
null
null
null
src/graphics.hh
matthew-c21/srpg-engine
e767a7211d55b0998dd4f6c1c02ebf6994fdd74c
[ "MIT" ]
null
null
null
src/graphics.hh
matthew-c21/srpg-engine
e767a7211d55b0998dd4f6c1c02ebf6994fdd74c
[ "MIT" ]
null
null
null
#ifndef SRPG_ENGINE_GRAPHICS_HH #define SRPG_ENGINE_GRAPHICS_HH #include <string> #include <memory> #include <vector> #include "sdl.hh" namespace srpg { class SDLContext { private: SDL_Renderer* renderer_; SDL_Window* window_; int width_, height_; size_t frame_; public: SDLContext(size_t width, size_t h...
21.365079
104
0.696508
matthew-c21
827e511b395340bd507e08a7555f0327ddc7e18c
52,672
cpp
C++
code/ir.cpp
sally-compiler/SallyCompiler
d2622daabfa7aba3de232b87d41cb19d3449df83
[ "Unlicense" ]
6
2021-08-24T04:28:10.000Z
2021-12-19T04:41:35.000Z
code/ir.cpp
sally-compiler/SallyCompiler
d2622daabfa7aba3de232b87d41cb19d3449df83
[ "Unlicense" ]
null
null
null
code/ir.cpp
sally-compiler/SallyCompiler
d2622daabfa7aba3de232b87d41cb19d3449df83
[ "Unlicense" ]
3
2021-08-24T04:28:36.000Z
2021-12-22T14:39:53.000Z
#include "ir.h" typedef Pair<Basic_Block*, Instruction_Branch*> Block_And_Branch; typedef Pair<Basic_Block*, Ast_Node*> Block_And_Value; void Basic_Block::remove_dead_values() { int i = 0, j = 0; for(; i < insts.len; i++) { if (insts[i]->live) { insts[j++] = insts[i]; } } i...
33.720871
160
0.52544
sally-compiler
827f42c2e4422b2335a6e5316767000da7bee009
6,679
cpp
C++
mpi/matrixMulti/gemm.cpp
StarlAllen/HPC
e555be8f76de0f7305f6df2844e5025c05c30eb1
[ "MIT" ]
1
2021-07-02T02:11:22.000Z
2021-07-02T02:11:22.000Z
mpi/matrixMulti/gemm.cpp
StarlAllen/HPC
e555be8f76de0f7305f6df2844e5025c05c30eb1
[ "MIT" ]
null
null
null
mpi/matrixMulti/gemm.cpp
StarlAllen/HPC
e555be8f76de0f7305f6df2844e5025c05c30eb1
[ "MIT" ]
null
null
null
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <iostream> #include "mpi.h" using namespace std; void randMat(int rows, int cols, float *&Mat) { Mat = new float[rows * cols]; for (int i = 0; i < rows; i++) for (int j = 0; j < cols; j++) Mat[i * cols + j] = 1.0...
28.788793
103
0.506363
StarlAllen
8288463d8ab6154a620528033d1449260403d94f
1,069
cpp
C++
plugins/d3d9/src/state/set_defaults.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/src/state/set_defaults.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/src/state/set_defaults.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/d3d9/d3dinclude.hpp> #include <sge/d3d9/state/set_defaults.hpp> #include <sge/d3d9/st...
41.115385
95
0.749298
cpreh
8288f93aa70c8996d5677294543f335ed186a8c2
1,888
cpp
C++
src/coreclr/src/pal/tests/palsuite/threading/GetCurrentThreadId/test1/threadId.cpp
swaroop-sridhar/runtime
d0efddd932f6fb94c3e9436ab393fc390c7b2da9
[ "MIT" ]
52
2017-03-15T08:16:52.000Z
2019-04-26T07:53:29.000Z
src/coreclr/src/pal/tests/palsuite/threading/GetCurrentThreadId/test1/threadId.cpp
swaroop-sridhar/runtime
d0efddd932f6fb94c3e9436ab393fc390c7b2da9
[ "MIT" ]
2
2020-03-25T06:25:42.000Z
2022-02-25T21:30:33.000Z
src/coreclr/src/pal/tests/palsuite/threading/GetCurrentThreadId/test1/threadId.cpp
swaroop-sridhar/runtime
d0efddd932f6fb94c3e9436ab393fc390c7b2da9
[ "MIT" ]
14
2019-05-09T13:15:41.000Z
2021-11-16T02:54:09.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*============================================================ ** ** Source: getcurrentthreadid/test1/threadid.c ** ** Purpose: Test to ensure GetCurrentThreadId returns the threadId...
23.02439
73
0.54661
swaroop-sridhar
828a3814d8bd57679e9e412c2696ffe83e7c4a9e
3,042
cc
C++
base/default_new_handler.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
1
2022-01-16T15:01:42.000Z
2022-01-16T15:01:42.000Z
base/default_new_handler.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
5
2021-08-11T22:04:28.000Z
2022-01-10T11:18:56.000Z
base/default_new_handler.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021 The WhiteBox Authors. All rights reserved. // Use of this source code is governed by a 3-Clause BSD license that can be // found in the LICENSE file. // // Default new allocation failure handler. #include "default_new_handler.h" #include <cerrno> // ENOMEM. #include <chrono> #include <cstdlib>...
30.727273
80
0.684747
dimhotepus
828f0e5d031bfaff31d37db84235ed514f5249de
361
cpp
C++
GLInterface/cSphere.cpp
jksdgh78/ASE_Animator
c10e0d4fae9487a579aa9a9c01022d74672c9acc
[ "MIT" ]
1
2019-02-20T18:38:16.000Z
2019-02-20T18:38:16.000Z
GLInterface/cSphere.cpp
jksdgh78/ASE_Animator
c10e0d4fae9487a579aa9a9c01022d74672c9acc
[ "MIT" ]
null
null
null
GLInterface/cSphere.cpp
jksdgh78/ASE_Animator
c10e0d4fae9487a579aa9a9c01022d74672c9acc
[ "MIT" ]
null
null
null
#include "cSphere.h" #include <gl\glut.h> Sphere::Sphere() { //glutWireSphere m_vPosition = vec3(0, 0, 0); m_isActive = false; } Sphere::~Sphere() { } void Sphere::Render() { glPushMatrix(); if (m_isActive) glColor3f(1, 0, 0); else glColor3f(0, 0, 0); glutWireSphere(m_fRadius / m_fScale, 10, 10); gl...
10.939394
46
0.637119
jksdgh78
82906c738e7795f53cca77b691e4f2f98bb6ffe5
2,010
cpp
C++
examples/multifindbase.cpp
pruthvistony/MIOpenGEMM
8f844e134d54244a6138504a4190486d8702e8fd
[ "MIT" ]
52
2017-06-30T06:45:19.000Z
2021-11-04T01:53:48.000Z
examples/multifindbase.cpp
pruthvistony/MIOpenGEMM
8f844e134d54244a6138504a4190486d8702e8fd
[ "MIT" ]
31
2017-08-01T03:17:25.000Z
2022-03-22T18:19:41.000Z
examples/multifindbase.cpp
pruthvistony/MIOpenGEMM
8f844e134d54244a6138504a4190486d8702e8fd
[ "MIT" ]
23
2017-07-17T02:09:17.000Z
2021-11-10T00:38:19.000Z
/******************************************************************************* * Copyright (C) 2017 Advanced Micro Devices, Inc. All rights reserved. *******************************************************************************/ #include <iostream> #include <string> #include <miopengemm/geometries.hpp> #include <...
32.95082
96
0.564677
pruthvistony
829147664f74cf40f792988cbfe8f8a7af2a3c4f
3,353
hpp
C++
include/caffe/mkl_memory.hpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
1
2017-01-04T03:35:46.000Z
2017-01-04T03:35:46.000Z
include/caffe/mkl_memory.hpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
include/caffe/mkl_memory.hpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
#ifndef CAFFE_MKL_MEMORY_HPP_ #define CAFFE_MKL_MEMORY_HPP_ #include <string> #include <vector> #include "boost/enable_shared_from_this.hpp" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/util/math_functions.hpp" #include "mkl_dnn_cppwrapper.h" namespace caffe { template <typename Dtype> struc...
33.53
78
0.732777
shayanshams66
82983cfaa749ed0e334da4696a809f0077727382
5,927
cpp
C++
firmware/spaceInvaders.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
1
2020-10-02T04:18:27.000Z
2020-10-02T04:18:27.000Z
firmware/spaceInvaders.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
null
null
null
firmware/spaceInvaders.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
null
null
null
#include "spaceInvaders.h" extern byte lost[]; extern byte up[]; /** * Generates a new invader at position x,y by allocating memory for a point * structure, and then adding the pointer to this point struct ot the invaders * list. * * @param x: The x coord * @param y: The y coord * @param ll: pointer to the lin...
29.635
82
0.556605
fitzterra
829ec20f7f575ab62885f5969642c3ad41fa2e5f
104
cpp
C++
samo_tidy/test/data/cpp_files/source_id2.cpp
Moecker/samo_tidy
23abe041ce2aa4c80e46fbd6d1e25b219ca16e97
[ "MIT" ]
null
null
null
samo_tidy/test/data/cpp_files/source_id2.cpp
Moecker/samo_tidy
23abe041ce2aa4c80e46fbd6d1e25b219ca16e97
[ "MIT" ]
null
null
null
samo_tidy/test/data/cpp_files/source_id2.cpp
Moecker/samo_tidy
23abe041ce2aa4c80e46fbd6d1e25b219ca16e97
[ "MIT" ]
null
null
null
#include <cstdint> std::uint8_t Function(); std::uint8_t Function() { return 0U; } int main() {}
9.454545
24
0.625
Moecker
829fa7ceb311ef19d186e4f8d5e8e694d4ce53f2
1,664
cpp
C++
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_global_position_int.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
1
2022-03-22T01:07:46.000Z
2022-03-22T01:07:46.000Z
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_global_position_int.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
2
2019-11-25T17:56:41.000Z
2022-03-22T23:28:09.000Z
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_global_position_int.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
2
2019-11-25T15:27:40.000Z
2021-07-27T20:54:22.000Z
#include "MavLinkMsg_global_position_int.h" #include "common/mavlink.h" void FMavlinkMsg_global_position_int::Serialize(uint8 systemId, uint8 componentId, __mavlink_message& msg, uint16& packSize) { packSize = mavlink_msg_global_position_int_pack(systemId, componentId, &msg, time_boot_ms, lat, lon, alt, relat...
40.585366
142
0.759615
Simbotic
82a0b6baf1fb22bb115af0812cbe45005bba72f7
18,133
cpp
C++
es-app/src/guis/GuiMetaDataEd.cpp
pmoran13800/gamestation-emulationstation2
50397b50c7cec8aff86bf91a99f8915beeb8bbce
[ "MIT" ]
null
null
null
es-app/src/guis/GuiMetaDataEd.cpp
pmoran13800/gamestation-emulationstation2
50397b50c7cec8aff86bf91a99f8915beeb8bbce
[ "MIT" ]
null
null
null
es-app/src/guis/GuiMetaDataEd.cpp
pmoran13800/gamestation-emulationstation2
50397b50c7cec8aff86bf91a99f8915beeb8bbce
[ "MIT" ]
null
null
null
#include "guis/GuiMetaDataEd.h" #include "Renderer.h" #include "Log.h" #include "components/AsyncReqComponent.h" #include "Settings.h" #include "views/ViewController.h" #include "guis/GuiGameScraper.h" #include "guis/GuiMsgBox.h" #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <GamestationConf.h> #...
43.484412
146
0.554569
pmoran13800
82a12182684f280515af598dae170c566e46da3d
6,370
cpp
C++
OpenTESArena/src/UI/ListBox.cpp
michealccc/OpenTESArena
7b4fd688677abea2ef03fa655b6d1669b1c8d77d
[ "MIT" ]
742
2016-03-09T17:18:55.000Z
2022-03-21T07:23:47.000Z
OpenTESArena/src/UI/ListBox.cpp
michealccc/OpenTESArena
7b4fd688677abea2ef03fa655b6d1669b1c8d77d
[ "MIT" ]
196
2016-06-07T15:19:21.000Z
2021-12-12T16:50:58.000Z
OpenTESArena/src/UI/ListBox.cpp
michealccc/OpenTESArena
7b4fd688677abea2ef03fa655b6d1669b1c8d77d
[ "MIT" ]
85
2016-04-17T13:25:16.000Z
2022-03-25T06:45:15.000Z
#include <algorithm> #include "SDL.h" #include "FontDefinition.h" #include "FontLibrary.h" #include "ListBox.h" #include "TextRenderUtils.h" #include "../Rendering/Renderer.h" #include "components/debug/Debug.h" ListBox::Properties::Properties(int fontDefIndex, const FontLibrary *fontLibrary, const TextRenderUtils...
28.061674
117
0.733281
michealccc
82a71d78a64e24f1d1e2088ad4029563a1a8de95
394,891
cpp
C++
build/libgui/qrc_res.cpp
JonasKorte/Phoenix3D
fced2b735b0779f9850098edfdc68ac0dfaab377
[ "MIT" ]
1
2021-09-28T08:31:51.000Z
2021-09-28T08:31:51.000Z
build/libgui/qrc_res.cpp
DeliriumTechnologies/Phoenix3D
fced2b735b0779f9850098edfdc68ac0dfaab377
[ "MIT" ]
null
null
null
build/libgui/qrc_res.cpp
DeliriumTechnologies/Phoenix3D
fced2b735b0779f9850098edfdc68ac0dfaab377
[ "MIT" ]
null
null
null
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 6.1.3 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsig...
79.74374
103
0.765004
JonasKorte
82a86f6fdb3c5df2cce04d142900c980073ca9fe
2,090
cpp
C++
Online Judges/LightOJ/1013 - Love Calculator.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/LightOJ/1013 - Love Calculator.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/LightOJ/1013 - Love Calculator.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; #define rep(i,p,n) for( i = p; i<n;i++) #define lld long long int #define Clear(a,b) memset(a,b,sizeof(a)) template<class T>inline bool read(T &x) { int c=getchar(); int sgn=1; while(~c&&c<'0'||c>'9') { if(c=='-')sgn=-1; c=ge...
16.20155
61
0.472249
akazad13
82aa80df79563e7c24c386d45dee79ebacffb6f4
10,399
cpp
C++
simulation/libsimulator/src/http_proxy.cpp
misaki-sxc/libtorrentSuzu
c66f63c36fe98777daec1ef5851ba7da64122530
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/src/http_proxy.cpp
misaki-sxc/libtorrentSuzu
c66f63c36fe98777daec1ef5851ba7da64122530
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/src/http_proxy.cpp
misaki-sxc/libtorrentSuzu
c66f63c36fe98777daec1ef5851ba7da64122530
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2015, Arvid Norberg All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
28.647383
91
0.691316
misaki-sxc
82ad35caaa84f46227a26436dfee081d5f6320c1
229
cpp
C++
src/strategy/one_shot_selector.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
src/strategy/one_shot_selector.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
src/strategy/one_shot_selector.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
#include "../strategy.h" Hand one_shot_selector(Counter *counter) { Hand hand(*counter); if (!hand.is_valid()) return not_found; Counter recounter = hand.get_counter(); return *counter == recounter ? hand : not_found; }
25.444444
50
0.703057
tansongchen
82adc62a1884addeb1bcb954da5ab533d1f3fb00
966
hpp
C++
src/boost_python_exception/exception_info.hpp
abingham/boost_python_exception
7882d5e8df051494498a58c06e046cb52421620b
[ "BSL-1.0" ]
1
2015-03-28T08:28:56.000Z
2015-03-28T08:28:56.000Z
src/boost_python_exception/exception_info.hpp
abingham/boost_python_exception
7882d5e8df051494498a58c06e046cb52421620b
[ "BSL-1.0" ]
3
2015-01-08T08:10:55.000Z
2015-01-08T10:20:42.000Z
src/boost_python_exception/exception_info.hpp
abingham/boost_python_exception
7882d5e8df051494498a58c06e046cb52421620b
[ "BSL-1.0" ]
2
2018-11-13T07:42:31.000Z
2020-03-10T22:43:31.000Z
#ifndef INCLUDE_BOOST_PYTHON_EXCEPTION_EXCEPTION_INFO_H #define INCLUDE_BOOST_PYTHON_EXCEPTION_EXCEPTION_INFO_H #include <boost/python/object.hpp> namespace boost_python_exception { /** * @brief Collects python objects which contain exception details */ struct exception_info { /** * @brief Exception type ...
24.769231
65
0.672878
abingham
82af5a25a4d1d78c6c018dc78b7b157de84b5252
919
cpp
C++
sdl2-sonic-drivers/test/utils/TestEndianness.cpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
3
2021-10-31T14:24:00.000Z
2022-03-16T08:15:31.000Z
sdl2-sonic-drivers/test/utils/TestEndianness.cpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
48
2020-06-05T11:11:29.000Z
2022-02-27T23:58:44.000Z
sdl2-sonic-drivers/test/utils/TestEndianness.cpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include <utils/endianness.hpp> namespace utils { TEST(Endianness, swapLE16) { EXPECT_EQ(swapLE16(0x00A0), 0x00A0); } TEST(Endianness, swapBE16) { EXPECT_EQ(swapBE16(0x00A0), static_cast<int16_t>(0xA000)); } TEST(Endianness...
19.553191
66
0.603917
Raffaello
82af6e6815af7b86498e2bac2f52b5db7b2e4c8a
7,634
cpp
C++
common/source/common/components/worker/queue/MultiWorkQueue.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
common/source/common/components/worker/queue/MultiWorkQueue.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
common/source/common/components/worker/queue/MultiWorkQueue.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
#include "MultiWorkQueue.h" #include "PersonalWorkQueue.h" MultiWorkQueue::MultiWorkQueue() { numPendingWorks = 0; lastWorkListVecIdx = 0; directWorkList = new ListWorkContainer(); indirectWorkList = new ListWorkContainer(); // we use QueueWorkType_... as vec index, so order must be same as in QueueWo...
33.482456
100
0.671208
TomatoYoung
82afe97219feb40931984e64276cc2b91dd003b2
722
cpp
C++
IO Streams/WordFinder/main.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
IO Streams/WordFinder/main.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
IO Streams/WordFinder/main.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <fstream> int main() { std::ifstream file{}; file.open("../romeoandjuliet.txt"); long totalWords{0}; long found{0}; std::string line{}; if (!file) { std::cout << "\n[ERROR] COULDN'T OPEN THE FILE\n"; return 1; } std::stri...
20.055556
82
0.51662
Sebery
a11a64e373cd5beaa9f5216c4d112d0a1feebf46
1,107
cpp
C++
src/menus/battle_menu/base_view/battle_base_callbacks.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
src/menus/battle_menu/base_view/battle_base_callbacks.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
src/menus/battle_menu/base_view/battle_base_callbacks.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
#include "battle_base_callbacks.h" #include "../../menu.h" #include <unordered_set> #include "../../../impl.h" using namespace BattleMenuWidgetNames; void initializeBattleBaseMenu() { srLogWrite(std::string("Initializing base battle view").c_str()); } void registerBaseViewListeners() { const auto& modName = ...
48.130435
116
0.785908
Kor-Hal
a11b73b9ed58d63a94f585e05f2b092f612e865c
800
hpp
C++
Source/Utility/include/TitaniumWindows/WindowsMacros.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/Utility/include/TitaniumWindows/WindowsMacros.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/Utility/include/TitaniumWindows/WindowsMacros.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * Windows specific macros * * Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _TITANIUMWINDOWS_WINDOWSMACROS_HPP_ #define _TITANIUMWINDOWS_WINDOWSMA...
27.586207
115
0.73875
garymathews
a11c09c18a50246017ee20c1b14cff25c7ab2c01
5,201
cpp
C++
mp/src/game/server/fortress/tf_class_support.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/game/server/fortress/tf_class_support.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/game/server/fortress/tf_class_support.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. =========== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
32.710692
116
0.468179
MaartenS11
a11f999b79d7d4a1a0d5c51546cfd998d1c9b699
1,865
hpp
C++
test/unit/alphabet/nucleotide/nucleotide_test_template.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/alphabet/nucleotide/nucleotide_test_template.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/alphabet/nucleotide/nucleotide_test_template.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
36.568627
104
0.656836
anbratu
a12b017a02f4fc81c7748ab698139c78984157af
3,299
cpp
C++
Tile2D/Canvas/Drawable/Background.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Tile2D/Canvas/Drawable/Background.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Tile2D/Canvas/Drawable/Background.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
// MIT License // // This file is part of SpaceGame. // Copyright (c) 2014-2018 Miika Pelkonen // // 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 lim...
29.990909
81
0.662019
mipelius
a12fdb3ce678b7e1d2f1036fd467e71d222cb9b9
442
cpp
C++
Arrays/sort_Zero_One.cpp
Talat12/coding-ninjas-cpp-inception
a15a7bada0c8d6ca9e9d9da20c1951114e75b246
[ "MIT" ]
2
2019-06-11T16:31:52.000Z
2019-06-20T14:34:18.000Z
Arrays/sort_Zero_One.cpp
shermisaurus/coding-ninjas-cpp-inception
cb93017a9683a92373f53d787b20a6944383e273
[ "MIT" ]
null
null
null
Arrays/sort_Zero_One.cpp
shermisaurus/coding-ninjas-cpp-inception
cb93017a9683a92373f53d787b20a6944383e273
[ "MIT" ]
3
2020-04-15T00:38:56.000Z
2020-10-20T06:08:29.000Z
// arr - input array // n - size of array void SortZeroesAndOne(int arr[], int n){ int i, j, k, l; int count_Zero = 0, count_One = 0; for(i = 0; i < n; i++) { if(arr[i] == 0) count_Zero++; else { count_One++; } } for(k = 0; k < count_Zero...
16.37037
40
0.38009
Talat12
a13148627518978d45ad9ae16fa81b29dfb2bffc
4,370
cc
C++
src/DAF/DA/NamingInformation.cc
AthirahJohar/RINASIM
70b0d83e243b0d4d6949efcd36d5dc4ead94356c
[ "MIT" ]
null
null
null
src/DAF/DA/NamingInformation.cc
AthirahJohar/RINASIM
70b0d83e243b0d4d6949efcd36d5dc4ead94356c
[ "MIT" ]
null
null
null
src/DAF/DA/NamingInformation.cc
AthirahJohar/RINASIM
70b0d83e243b0d4d6949efcd36d5dc4ead94356c
[ "MIT" ]
null
null
null
// // This program 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. // // This program is distributed in the hope that it wil...
32.132353
103
0.6627
AthirahJohar
a131fd69149f06b739c5a28e25a2fb53c826b73c
8,398
cpp
C++
gearoenix/dx11/shader/gx-dx11-shd-directional-d2-speculated-baked-full-opaque.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/dx11/shader/gx-dx11-shd-directional-d2-speculated-baked-full-opaque.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/dx11/shader/gx-dx11-shd-directional-d2-speculated-baked-full-opaque.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-dx11-shd-directional-d2-speculated-baked-full-opaque.hpp" #ifdef USE_DIRECTX11 #include "../../core/gx-cr-static.hpp" #include "../../system/gx-sys-log.hpp" #include "../buffer/dx11-buf-uniform.hpp" #include "../dx11-engine.hpp" #include "../pipeline/dx11-pip-pipeline.hpp" #include "../texture/dx11-txt-2d....
54.180645
188
0.485116
Hossein-Noroozpour
a132e79643f916a5fa244cc306b0ac5b0466e36e
825
cpp
C++
CentipedeGame/ExplosionSingleTileFactory.cpp
jmscshipp/GAM-372-Centipede
7b76a7683909d6f891a4587dec5e5fdfb90335d4
[ "MIT" ]
null
null
null
CentipedeGame/ExplosionSingleTileFactory.cpp
jmscshipp/GAM-372-Centipede
7b76a7683909d6f891a4587dec5e5fdfb90335d4
[ "MIT" ]
null
null
null
CentipedeGame/ExplosionSingleTileFactory.cpp
jmscshipp/GAM-372-Centipede
7b76a7683909d6f891a4587dec5e5fdfb90335d4
[ "MIT" ]
null
null
null
#include "ExplosionSingleTileFactory.h" #include "ExplosionSingleTile.h" ExplosionSingleTileFactory* ExplosionSingleTileFactory::instance = nullptr; ExplosionSingleTileFactory::ExplosionSingleTileFactory() { } void ExplosionSingleTileFactory::privCreateExplosionSingleTile(sf::Vector2f pos) { ExplosionS...
29.464286
108
0.825455
jmscshipp
a135f99cba82a786391712e1b4106c6b697a9d46
6,797
hpp
C++
src/lib/data_structures/peekable_stack.hpp
MichalMrena/DecisionDiagrams
e2e9b949405bd2c1c93ba32c151b60a78620afec
[ "MIT" ]
1
2022-03-17T12:55:30.000Z
2022-03-17T12:55:30.000Z
src/lib/data_structures/peekable_stack.hpp
MichalMrena/DecisionDiagrams
e2e9b949405bd2c1c93ba32c151b60a78620afec
[ "MIT" ]
null
null
null
src/lib/data_structures/peekable_stack.hpp
MichalMrena/DecisionDiagrams
e2e9b949405bd2c1c93ba32c151b60a78620afec
[ "MIT" ]
null
null
null
#ifndef MIX_DS_PEEKABLE_STACK_HPP #define MIX_DS_PEEKABLE_STACK_HPP #include <deque> #include <stack> #include <stdexcept> namespace teddy::ds { /** * @brief Extension of @c std::stack that allows you to peek elements * under @c top() using @c peek(offset) method. * * They say ...
33.156098
127
0.610269
MichalMrena
a13d75d33a986cc9258b83f2c56b9ab3a41d9918
448
hpp
C++
modules/barbaz/db/IConnection.hpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
2
2015-01-29T17:23:23.000Z
2015-09-21T17:45:22.000Z
modules/barbaz/db/IConnection.hpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
null
null
null
modules/barbaz/db/IConnection.hpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
null
null
null
/** * @file IConnection.hpp * @author <@> @NAME@ * * @section DESCRIPTION * Represent a connection to a database */ #ifndef __ICONNECTION_HPP__ # define __ICONNECTION_HPP__ # include "ICursor.hpp" namespace db { class IConnection { public: virtual void close() = 0; virtual ICursor& ...
16
39
0.613839
hotgloupi
a13e8afc8961909662f0dbe62b1c55b0b2521497
1,566
cxx
C++
src/core/WebRequestTracerStringURL.cxx
dlaubi-dt/openkit-native
b3eca5b4a9a769b6a2c0522ade76960f858ff0da
[ "Apache-2.0" ]
1
2019-12-10T10:29:33.000Z
2019-12-10T10:29:33.000Z
src/core/WebRequestTracerStringURL.cxx
dlaubi-dt/openkit-native
b3eca5b4a9a769b6a2c0522ade76960f858ff0da
[ "Apache-2.0" ]
null
null
null
src/core/WebRequestTracerStringURL.cxx
dlaubi-dt/openkit-native
b3eca5b4a9a769b6a2c0522ade76960f858ff0da
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2018-2019 Dynatrace LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
30.115385
184
0.738186
dlaubi-dt
a1451b2056df2af3c443d2364f8fa5320818c4a2
373
cpp
C++
test/test/TestCamera.cpp
kyle-piddington/MoonEngine
243cce7988ee089d0fc51d817e2736501e019702
[ "MIT", "BSD-3-Clause" ]
5
2017-01-20T00:23:23.000Z
2018-07-17T07:48:04.000Z
test/test/TestCamera.cpp
kyle-piddington/MoonEngine
243cce7988ee089d0fc51d817e2736501e019702
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/test/TestCamera.cpp
kyle-piddington/MoonEngine
243cce7988ee089d0fc51d817e2736501e019702
[ "MIT", "BSD-3-Clause" ]
2
2017-01-24T05:09:37.000Z
2021-02-18T14:42:00.000Z
#include "MoonEngine.h" #include "catch.hpp" using namespace MoonEngine; #ifndef M_PI #define M_PI 3.141592653589793 #endif TEST_CASE("Basic getComponent test", "[Camera component]") { std::shared_ptr<GameObject> obj = std::make_shared<GameObject>(); Camera cam(M_PI/3, 1,0.5,50); obj->addComponent(&cam); cam.start(...
24.866667
66
0.72118
kyle-piddington
a147159cb99af514c8c765765ee340855188838f
28,957
cc
C++
src/sdf/interface/SDF.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2016-01-17T20:41:39.000Z
2018-05-01T12:02:58.000Z
src/sdf/interface/SDF.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/sdf/interface/SDF.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2015-09-29T02:30:16.000Z
2022-03-30T12:11:22.000Z
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
24.749573
80
0.540975
nherment
a150f2bc58678db58ee3e1d181176df39a87eec6
536
cpp
C++
Tools/HPT Game Editor/fontscrollform.cpp
duhone/HeadstoneHarry
961a314a0e69d67275253da802e41429cff80097
[ "MIT" ]
1
2020-02-06T16:11:02.000Z
2020-02-06T16:11:02.000Z
Tools/HPT Game Editor/fontscrollform.cpp
duhone/HeadstoneHarry
961a314a0e69d67275253da802e41429cff80097
[ "MIT" ]
null
null
null
Tools/HPT Game Editor/fontscrollform.cpp
duhone/HeadstoneHarry
961a314a0e69d67275253da802e41429cff80097
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "fontscrollform.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" Tfontscroll *fontscroll; //---------------------...
31.529412
77
0.307836
duhone
a152bed6770043184f4af90168d9ee2bad6b3eee
3,893
cpp
C++
Drivers/ScanLabOIE/LibOIE/OIEEmu/OIEEmu.cpp
GibbekAdsk/AutodeskMachineControlFramework
48c220c1acfbc2c4c33f636354e9372100f7c896
[ "BSD-3-Clause" ]
15
2020-11-10T17:22:39.000Z
2021-12-16T14:45:11.000Z
Drivers/ScanLabOIE/LibOIE/OIEEmu/OIEEmu.cpp
GibbekAdsk/AutodeskMachineControlFramework
48c220c1acfbc2c4c33f636354e9372100f7c896
[ "BSD-3-Clause" ]
5
2021-08-30T06:58:52.000Z
2022-03-09T15:25:49.000Z
Drivers/ScanLabOIE/LibOIE/OIEEmu/OIEEmu.cpp
GibbekAdsk/AutodeskMachineControlFramework
48c220c1acfbc2c4c33f636354e9372100f7c896
[ "BSD-3-Clause" ]
20
2020-08-06T15:53:34.000Z
2022-02-09T13:49:59.000Z
// OIEEmu.cpp : Diese Datei enthält die Funktion "main". Hier beginnt und endet die Ausführung des Programms. // #include <iostream> #include <brynet/net/TcpService.hpp> #include <brynet/net/TcpConnection.hpp> #include <brynet/net/AsyncConnector.hpp> #include <brynet/net/wrapper/ConnectionBuilder.hpp> #include <brynet...
27.034722
109
0.583612
GibbekAdsk
a1540a3c5d772101d85faa8b16d41ecf31dcebff
2,300
hpp
C++
include/PermissionedFSM.hpp
4rzael/SimpleFSM
2a7d275a0cd57dba1aae5a2a3c79260f53bcd488
[ "MIT" ]
1
2021-02-11T09:31:16.000Z
2021-02-11T09:31:16.000Z
include/PermissionedFSM.hpp
4rzael/SimpleFSM
2a7d275a0cd57dba1aae5a2a3c79260f53bcd488
[ "MIT" ]
2
2021-02-11T00:15:46.000Z
2021-02-16T13:55:44.000Z
include/PermissionedFSM.hpp
4rzael/SimpleFSM
2a7d275a0cd57dba1aae5a2a3c79260f53bcd488
[ "MIT" ]
null
null
null
#pragma once #include <SimpleFSM.hpp> #include <vector> #ifndef SIMPLE_FSM_MAX_RULES_RESERVED // Defines how many rules we reserve space for before having to use reallocs # define SIMPLE_FSM_MAX_RULES_RESERVED 8 #endif namespace SimpleFSM { template <class Base, class StateEnum> class PermissionedFSM : public Bas...
27.058824
114
0.630435
4rzael
a164e5349929117c172c408708e2705b6c845e53
8,098
cc
C++
modules/rtp_rtcp/source/h265_sps_parser.cc
xaxtix/tgandroid_webrtc
33d7b61d55ca51fc69d7175bb4f363469f4ba696
[ "BSD-3-Clause" ]
null
null
null
modules/rtp_rtcp/source/h265_sps_parser.cc
xaxtix/tgandroid_webrtc
33d7b61d55ca51fc69d7175bb4f363469f4ba696
[ "BSD-3-Clause" ]
null
null
null
modules/rtp_rtcp/source/h265_sps_parser.cc
xaxtix/tgandroid_webrtc
33d7b61d55ca51fc69d7175bb4f363469f4ba696
[ "BSD-3-Clause" ]
2
2022-03-26T11:06:16.000Z
2022-03-26T11:13:21.000Z
/* * Intel License */ #include "webrtc/modules/rtp_rtcp/source/h265_sps_parser.h" #include "webrtc/base/bitbuffer.h" #include "webrtc/base/bytebuffer.h" #include "webrtc/base/logging.h" #include <vector> #define RETURN_FALSE_ON_FAIL(x) \ if (!(x)) { \ return false; \ } nam...
42.621053
94
0.725611
xaxtix
a173952e0b979973a44472b81453b6266b7320c7
5,928
cpp
C++
installer/source/installationProcess.cpp
k-Knight/Pepega-Inject
b8b186b784889dbab8cfc81dbdd76a8dd6065d9b
[ "MIT" ]
null
null
null
installer/source/installationProcess.cpp
k-Knight/Pepega-Inject
b8b186b784889dbab8cfc81dbdd76a8dd6065d9b
[ "MIT" ]
null
null
null
installer/source/installationProcess.cpp
k-Knight/Pepega-Inject
b8b186b784889dbab8cfc81dbdd76a8dd6065d9b
[ "MIT" ]
null
null
null
#include "../include/installationProcess.hpp" #include <vector> #include <cmath> #include "../include/colors.hpp" #include "../include/mainWindow.hpp" #include "../include/actionButtons.hpp" #include "../include/utility.hpp" using namespace std; class abortButton : public actionButton, public subscribable<> { protec...
31.870968
133
0.677463
k-Knight
a17e1ec6b4c0fe07a8292a0bf8a756f576f318b0
6,305
hpp
C++
include/outcome/try.hpp
chenxiaolong/outcome
1f2d788c04c86d5b5bbf833aef564915d788403a
[ "Apache-2.0" ]
null
null
null
include/outcome/try.hpp
chenxiaolong/outcome
1f2d788c04c86d5b5bbf833aef564915d788403a
[ "Apache-2.0" ]
null
null
null
include/outcome/try.hpp
chenxiaolong/outcome
1f2d788c04c86d5b5bbf833aef564915d788403a
[ "Apache-2.0" ]
3
2019-05-11T01:55:09.000Z
2019-11-16T21:49:22.000Z
/* Try operation macros (C) 2017 Niall Douglas <http://www.nedproductions.biz/> (59 commits) File Created: July 2017 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 in the accompanying file Licence.tx...
71.647727
322
0.381126
chenxiaolong
a17f254b8a59689a68f3ea5795d58281d5b55b4d
1,384
hpp
C++
sdk/math/base.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
sdk/math/base.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
sdk/math/base.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
#pragma once #include "shared/auto.hpp" #include "sdk/math/qangle.hpp" #include "sdk/math/vector.hpp" #include "sdk/math/vector2d.hpp" #include "sdk/math/vector4d.hpp" constexpr auto g_pi_radians = static_cast< float >( 3.14159265358979323846 ); constexpr auto g_pi_degrees = static_cast< float >( 180.0 ); struct ma...
24.280702
95
0.725434
jrnh
a1810d2b9203518b5d0a181f0c3b13d19fb69769
23,959
cpp
C++
main.cpp
surajshah123/Word-Puzzle-Game
69aad6b9e079cc10c31f4a4567ad2a4fe63efebe
[ "MIT" ]
null
null
null
main.cpp
surajshah123/Word-Puzzle-Game
69aad6b9e079cc10c31f4a4567ad2a4fe63efebe
[ "MIT" ]
2
2021-10-30T03:56:24.000Z
2021-10-30T03:58:36.000Z
main.cpp
kaushal3103/Word-Puzzle-Game
b351de637fbc63efa780d2f5e4a692ce3adc1626
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <ctime> #include <vector> #include <algorithm> using namespace std; void pattern1() { cout<<endl; cout<<"Intructions to be followed while playing :-"<<endl; cout<<"1. You have to find 9 random words from the pattern below. "<<endl; cout<<"2. You have to press ...
20.408007
209
0.389332
surajshah123
a181d5417f478d6b39add5ca943158dd768808f3
5,444
hpp
C++
include/etl/vectorization.hpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
1
2020-02-19T13:13:10.000Z
2020-02-19T13:13:10.000Z
include/etl/vectorization.hpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
include/etl/vectorization.hpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2014-2018 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
22.495868
126
0.686076
BeatWolf
a185d15cb4c4bb0cc05fceeb8238a851ce1a4f2c
1,814
cpp
C++
codetop/Leetcode138.cpp
Aged-cat/interview_codehub
0d915934a8d89a10943ef3e0ba8e528948433578
[ "MIT" ]
2
2021-09-06T06:47:34.000Z
2022-02-21T04:43:23.000Z
codetop/Leetcode138.cpp
Aged-cat/interview_codehub
0d915934a8d89a10943ef3e0ba8e528948433578
[ "MIT" ]
null
null
null
codetop/Leetcode138.cpp
Aged-cat/interview_codehub
0d915934a8d89a10943ef3e0ba8e528948433578
[ "MIT" ]
null
null
null
#include<iostream> #include<map> #include<vector> using namespace std; class Node { public: int val; Node* next; Node* random; Node(int _val) { val = _val; next = NULL; random = NULL; } }; // Node* copyRandomList(Node* ad){ // if(ad == nullptr) return nullptr; // ...
23.868421
58
0.550165
Aged-cat
084b3380d81c59b3568edaf62cdfd68fa3f6f6e5
1,075
hpp
C++
raf/game/game.hpp
djgandy/halite2
474c446b27618ac3a15dafa0eb9517107eca498b
[ "MIT" ]
null
null
null
raf/game/game.hpp
djgandy/halite2
474c446b27618ac3a15dafa0eb9517107eca498b
[ "MIT" ]
null
null
null
raf/game/game.hpp
djgandy/halite2
474c446b27618ac3a15dafa0eb9517107eca498b
[ "MIT" ]
null
null
null
#ifndef RAF_GAME_H_ #define RAF_GAME_H_ #include "entity.hpp" #include "map_state.hpp" #include "planet.hpp" #include "ship.hpp" #include "squad.hpp" #include <utility> namespace raf { namespace game { void update_location_history(const hlt::Entity& entity, int round); // returns whether found or not. std::pair<bo...
23.888889
92
0.76186
djgandy
084d012dd301624b05011b6524ebd6d76d2fbb24
2,063
hpp
C++
include/codegen/include/System/Threading/Tasks/Task_DelayPromise.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Threading/Tasks/Task_DelayPromise.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Threading/Tasks/Task_DelayPromise.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:46 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Threading.Tasks.Task`1 #include "System/Threading/Tasks/Task_1.hpp" // Including ...
41.26
117
0.737761
Futuremappermydud
084d2f4f757be49870eba561e6b6486a7ddecf1c
2,149
cpp
C++
C++/count-nodes-equal-to-average-of-subtree.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
4
2018-10-11T17:50:56.000Z
2018-10-11T21:16:44.000Z
C++/count-nodes-equal-to-average-of-subtree.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
null
null
null
C++/count-nodes-equal-to-average-of-subtree.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
4
2018-10-11T18:50:32.000Z
2018-10-12T00:04:09.000Z
// Time: O(n) // Space: O(h) // dfs class Solution { public: int averageOfSubtree(TreeNode* root) { const auto& iter_dfs = [&](TreeNode *root) { int result = 0; using RET = pair<int, int>; RET ret; vector<tuple<int, TreeNode *, shared_ptr<RET>, shared_ptr<RE...
36.423729
97
0.44067
Priyansh2
084f8a4ef411218c9d00b528416d38de46bbc9fb
5,720
cpp
C++
Chess Game/Rafay and hasseb Final Project of OOP/Rough Work/second last day of oop/Chess/Chess/CHESS.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
Chess Game/Rafay and hasseb Final Project of OOP/Rough Work/second last day of oop/Chess/Chess/CHESS.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
Chess Game/Rafay and hasseb Final Project of OOP/Rough Work/second last day of oop/Chess/Chess/CHESS.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
#include "CHESS.h" #include<iostream> #include<string> using namespace std; CHESS::CHESS() { cout << "Constructor called: "; cout << endl; } CHESS::~CHESS() { cout << "Chess game is destoryed: "; delete movement; } void CHESS::condition(string s) { string a; int d, f, n, b; cout << "\nenter the the index ...
53.457944
300
0.383566
rafay99-epic
0850ca7c0154c5654fea2e2e699a4b02cf49c138
8,365
cpp
C++
wiring/src/spark_wiring_time.cpp
Jacobtbush14/Electron
a672ed1888c17edd062aaafcab2b465e59e8c240
[ "MIT" ]
null
null
null
wiring/src/spark_wiring_time.cpp
Jacobtbush14/Electron
a672ed1888c17edd062aaafcab2b465e59e8c240
[ "MIT" ]
null
null
null
wiring/src/spark_wiring_time.cpp
Jacobtbush14/Electron
a672ed1888c17edd062aaafcab2b465e59e8c240
[ "MIT" ]
null
null
null
/** ****************************************************************************** * @file spark_wiring_time.cpp * @author Satish Nair * @version V1.0.0 * @date 3-March-2014 * @brief Time utility functions to set and get Date/Time using RTC ***************************************************************...
25.04491
97
0.671369
Jacobtbush14
08518847eb31c63cf184919529282d3ac1b5eb17
22
cpp
C++
source/Parameter.cpp
Yhgenomics/MelotonClient
599b2f2961a8360b78fc3f2e3e186ec008eebad2
[ "Apache-2.0" ]
null
null
null
source/Parameter.cpp
Yhgenomics/MelotonClient
599b2f2961a8360b78fc3f2e3e186ec008eebad2
[ "Apache-2.0" ]
null
null
null
source/Parameter.cpp
Yhgenomics/MelotonClient
599b2f2961a8360b78fc3f2e3e186ec008eebad2
[ "Apache-2.0" ]
null
null
null
#include <Parameter.h>
22
22
0.772727
Yhgenomics
0854cddd2c574307564153955f58fc5e74e41edb
4,680
hpp
C++
tapescript/cpp/cl/tape/impl/adjointrefoperator.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
41
2016-03-19T02:31:54.000Z
2022-01-20T13:23:20.000Z
tapescript/cpp/cl/tape/impl/adjointrefoperator.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
null
null
null
tapescript/cpp/cl/tape/impl/adjointrefoperator.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
22
2016-03-17T14:14:36.000Z
2022-03-28T10:33:19.000Z
/* Copyright (C) 2015-present CompatibL Performance test results and finance-specific examples are available at: http://www.tapescript.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 the License at http://...
86.666667
141
0.363034
fduffy
08572b476a4ef772d0f1bdf93b763420f3e0f024
129
cpp
C++
cannon/ray/sampler.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/ray/sampler.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/ray/sampler.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <cannon/ray/sampler.hpp> using namespace cannon::ray; TEST_CASE("Sampler", "[ray]") { }
12.9
33
0.689922
cannontwo
085d2654f0a544eae200ba32bcc39deacd8a37af
554
cpp
C++
codeforces/1118B.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
codeforces/1118B.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
codeforces/1118B.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; typedef long long ll; const long long sz = 2e5+3; int ara[sz]; int main() { ll n, i, eS = 0, oS = 0, eP = 0, oP = 0, ans = 0; cin>>n; for(int i = 1; i <= n; i++) { cin>>ara[i]; if(i & 1) oP += ara[i]; else eP += ara[i]; } ...
23.083333
54
0.409747
NafiAsib
085d49bcbd9b5fa9ec98619542038a23cc408054
2,461
cpp
C++
GTEngine/Source/Applications/GteOnIdleTimer.cpp
pmjoniak/GeometricTools
ae6e933f9ab3a5474d830700ea8d9445cc78ef4b
[ "BSL-1.0" ]
4
2019-03-03T18:13:30.000Z
2020-08-25T18:15:30.000Z
GTEngine/Source/Applications/GteOnIdleTimer.cpp
pmjoniak/GeometricTools
ae6e933f9ab3a5474d830700ea8d9445cc78ef4b
[ "BSL-1.0" ]
null
null
null
GTEngine/Source/Applications/GteOnIdleTimer.cpp
pmjoniak/GeometricTools
ae6e933f9ab3a5474d830700ea8d9445cc78ef4b
[ "BSL-1.0" ]
6
2016-07-15T11:04:52.000Z
2021-12-07T03:11:42.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2018 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.0 (2016/06/19) #include <GTEnginePCH.h> #include <Appli...
24.61
78
0.656644
pmjoniak
085dec2386a0b14da05e1cc1ab99e9d618655fc8
102,190
cpp
C++
openstudiocore/src/runmanager/lib/RunManager_Impl.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/runmanager/lib/RunManager_Impl.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/runmanager/lib/RunManager_Impl.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
33.178571
319
0.57078
ORNL-BTRIC
08654023c7de3771a38023a47ddbe1c3582a2e91
2,167
cpp
C++
shared/test/unit_test/os_interface/windows/um_km_data_translator_tests.cpp
wmouse/compute-runtime
ad315c6169bf1e7e244507bba4b119a1a81fb148
[ "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
shared/test/unit_test/os_interface/windows/um_km_data_translator_tests.cpp
wmouse/compute-runtime
ad315c6169bf1e7e244507bba4b119a1a81fb148
[ "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
shared/test/unit_test/os_interface/windows/um_km_data_translator_tests.cpp
wmouse/compute-runtime
ad315c6169bf1e7e244507bba4b119a1a81fb148
[ "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/windows/gdi_interface.h" #include "shared/source/os_interface/windows/wddm/um_km_data_translator.h" #include "test.h" TEST(UmKmDataTranslator, whenCreatingDefaultTranslatorThenTranslationIsDisabl...
48.155556
154
0.810798
wmouse
0870b25ded1154446050619981c6fc5e19b6f44d
3,312
cpp
C++
GDelaunay/GDelaunay/GDelaunay.cpp
ashwin/gReg3D
a7a628abc289c64930286b0a8e6e6cea02f35fa5
[ "Unlicense" ]
4
2018-08-14T05:47:33.000Z
2022-01-27T07:02:36.000Z
GDelaunay/GDelaunay/GDelaunay.cpp
ashwin/gReg3D
a7a628abc289c64930286b0a8e6e6cea02f35fa5
[ "Unlicense" ]
null
null
null
GDelaunay/GDelaunay/GDelaunay.cpp
ashwin/gReg3D
a7a628abc289c64930286b0a8e6e6cea02f35fa5
[ "Unlicense" ]
1
2019-08-12T13:42:13.000Z
2019-08-12T13:42:13.000Z
/* Author: Ashwin Nanjappa Filename: GDelaunay.cpp Copyright (c) 2013, School of Computing, National University of Singapore. 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 ...
31.846154
105
0.626208
ashwin
087182797aee43420c567c70ba6d337fbbe54580
639
cpp
C++
the_beras_project/lib/Beras_UserData/Beras_UserData.cpp
ivan0kurnia/the_beras_project
65c50dac0469d7248571564f2fdfb443166b88d0
[ "MIT" ]
null
null
null
the_beras_project/lib/Beras_UserData/Beras_UserData.cpp
ivan0kurnia/the_beras_project
65c50dac0469d7248571564f2fdfb443166b88d0
[ "MIT" ]
null
null
null
the_beras_project/lib/Beras_UserData/Beras_UserData.cpp
ivan0kurnia/the_beras_project
65c50dac0469d7248571564f2fdfb443166b88d0
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "Beras_UserData.h" Beras_UserData::~Beras_UserData() { clearUserData(); } const String &Beras_UserData::getName() const { static const String NAME_UNSET PROGMEM{"NAME_UNSET"}; if (name == nullptr) { return NAME_UNSET; } return *name; } void Beras_UserDa...
14.522727
58
0.647887
ivan0kurnia
087422ada24cc5a02763b29db21b99f24a6b6d0d
11,345
cpp
C++
Ko-Fi Engine/Source/I_Particles.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
2
2022-02-26T23:35:53.000Z
2022-03-04T16:25:18.000Z
Ko-Fi Engine/Source/I_Particles.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
2
2022-02-23T09:41:09.000Z
2022-03-08T08:46:21.000Z
Ko-Fi Engine/Source/I_Particles.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
1
2022-03-03T18:41:32.000Z
2022-03-03T18:41:32.000Z
#include "I_Particles.h" #include "JsonHandler.h" #include "R_Particle.h" #include "Emitter.h" #include "ParticleModule.h" #include "M_ResourceManager.h" #include "Engine.h" #include "FSDefs.h" #include "M_FileSystem.h" #include <filesystem> #include "Log.h" I_Particle::I_Particle(KoFiEngine* engine) : engine(engine) ...
34.800613
145
0.669017
Chamfer-Studios
0874c0be886a372abeb2fb83e196ab93739d0a7e
3,902
cpp
C++
ATC/Engine/StaticMesh.cpp
taehwan642/Above-The-Cloud
d92e7f864fa265107ebe5c41634e6a51c7761232
[ "MIT" ]
6
2021-02-11T11:07:53.000Z
2021-03-17T14:51:09.000Z
ATC/Engine/StaticMesh.cpp
taehwan642/Above-The-Cloud
d92e7f864fa265107ebe5c41634e6a51c7761232
[ "MIT" ]
null
null
null
ATC/Engine/StaticMesh.cpp
taehwan642/Above-The-Cloud
d92e7f864fa265107ebe5c41634e6a51c7761232
[ "MIT" ]
1
2021-02-20T09:02:42.000Z
2021-02-20T09:02:42.000Z
#include "DXUT.h" #include "StaticMesh.h" USING(Engine) StaticMesh::StaticMesh(void) { } StaticMesh::StaticMesh(std::wstring _filepath, std::wstring _filename) { LoadMesh(_filepath, _filename); } StaticMesh::StaticMesh(const StaticMesh& cp) : Resources(cp), adjacencyBuffer(cp.adjacencyBuffer), subsetBuffer(cp.s...
23.365269
117
0.695028
taehwan642
08787e02de1e49ed0c9523571b452fb1e7666b3d
65
cpp
C++
Algorithms and Data Structures/toggleBit.cpp
aldew5/Competitve-Programming
eb0b93a35af3bd5e806aedc44b835830af01d496
[ "MIT" ]
2
2020-05-09T15:54:18.000Z
2021-01-23T22:32:53.000Z
Algorithms and Data Structures/toggleBit.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
Algorithms and Data Structures/toggleBit.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
int toggleKthBit(int n, int k){ return (n ^ (1 << (k-1))); }
16.25
31
0.507692
aldew5
0879a1b31f7daf51ce44c78e886e084d00220a50
1,142
hpp
C++
include/flow/detail/timeout_routine.hpp
ManuelMeraz/flow
e9cf18dfc633bd9670e012a48595a1f931fcac79
[ "BSD-3-Clause" ]
3
2021-01-05T16:12:08.000Z
2021-01-12T21:44:10.000Z
include/flow/detail/timeout_routine.hpp
RoboSDK/Flow
e9cf18dfc633bd9670e012a48595a1f931fcac79
[ "BSD-3-Clause" ]
9
2020-10-06T23:53:39.000Z
2021-01-23T00:41:39.000Z
include/flow/detail/timeout_routine.hpp
RoboSDK/Flow
e9cf18dfc633bd9670e012a48595a1f931fcac79
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <chrono> #include <thread> #include <cppcoro/on_scope_exit.hpp> #include <cppcoro/task.hpp> #include "flow/detail/metaprogramming.hpp" #include "flow/detail/spin_wait.hpp" /** * Routine that will run until the specified time limit and call the passed in callback */ namespace flow::detail { ...
21.961538
96
0.69352
ManuelMeraz
087a5579d02418a33184f3330bc78865207b1362
1,260
cpp
C++
C++/find-mode-in-binary-search-tree.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/find-mode-in-binary-search-tree.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/find-mode-in-binary-search-tree.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(h) /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> findMode(TreeNode* root) { if (!root) { ...
24.230769
96
0.455556
Priyansh2
087e189b76c3b4eaadccba7ca88a83e92c9237b8
3,764
cc
C++
src/RefractElementFactory.cc
darkcl/drafter
62dcc54341d76b1dae7bca1777f5eea8815b0c3b
[ "MIT" ]
317
2015-03-21T15:05:38.000Z
2022-02-15T19:27:38.000Z
src/RefractElementFactory.cc
darkcl/drafter
62dcc54341d76b1dae7bca1777f5eea8815b0c3b
[ "MIT" ]
489
2015-02-13T15:36:09.000Z
2022-01-14T03:25:19.000Z
src/RefractElementFactory.cc
darkcl/drafter
62dcc54341d76b1dae7bca1777f5eea8815b0c3b
[ "MIT" ]
81
2015-02-10T09:52:49.000Z
2022-03-17T08:58:42.000Z
#include "RefractElementFactory.h" #include "refract/Element.h" #include "ElementData.h" #include "Serialize.h" // LiteralTo<> #include "SourceAnnotation.h" // mson::Error namespace drafter { using namespace refract; template <typename E, bool IsPrimitive = is_primitive<E>()> struct RefractElement...
32.730435
110
0.564293
darkcl
08802dc383eb7978370c855e49bec8772d6da893
120
hpp
C++
gui/ft.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
gui/ft.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
gui/ft.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_GUI_FT_HPP___ #define ___INANITY_GUI_FT_HPP___ #include <ft2build.h> #include FT_FREETYPE_H #endif
15
32
0.841667
quyse
0880c8b73e210cfe25af7e9c498f2e3ba2d02bb9
51,961
hpp
C++
include/ucl/pmemory.hpp
ppete/unleashed
1be4335350d5024684a68a0b4f9c45ef6beb0481
[ "BSD-3-Clause" ]
null
null
null
include/ucl/pmemory.hpp
ppete/unleashed
1be4335350d5024684a68a0b4f9c45ef6beb0481
[ "BSD-3-Clause" ]
null
null
null
include/ucl/pmemory.hpp
ppete/unleashed
1be4335350d5024684a68a0b4f9c45ef6beb0481
[ "BSD-3-Clause" ]
null
null
null
/// \file pmemory.hpp /// \brief Memory managers for fine-grained lock based and lock-free data structures /// /// \details - just_alloc is an allocator that only allocates, but never frees memory. /// - arena is a memory manager that frees memory at user selected timepoints /// - pub_scan_manager (P...
31.133014
134
0.622217
ppete
088960dc95443987749beca03082ce103502de9f
1,776
cpp
C++
Faust_Compiler_Test_Plugin/WwisePlugin/Win32/Faust_Compiler_Test_PluginPluginGUI.cpp
grame-cncm/faust2wwise
7838f9a274b0668606fb2495f74823172b1b3179
[ "Apache-2.0" ]
null
null
null
Faust_Compiler_Test_Plugin/WwisePlugin/Win32/Faust_Compiler_Test_PluginPluginGUI.cpp
grame-cncm/faust2wwise
7838f9a274b0668606fb2495f74823172b1b3179
[ "Apache-2.0" ]
null
null
null
Faust_Compiler_Test_Plugin/WwisePlugin/Win32/Faust_Compiler_Test_PluginPluginGUI.cpp
grame-cncm/faust2wwise
7838f9a274b0668606fb2495f74823172b1b3179
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* The content of this file includes portions of the AUDIOKINETIC Wwise Technology released in source code form as part of the SDK installer package. Commercial License Usage Licensees holding valid commercial licenses to the AUDIOK...
45.538462
102
0.713964
grame-cncm
0889ba07689704ca5709b650091950cc523133b2
37,153
cpp
C++
DESIRE-Modules/Render-Direct3D12/src/Direct3D12Render.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
1
2020-10-04T18:50:01.000Z
2020-10-04T18:50:01.000Z
DESIRE-Modules/Render-Direct3D12/src/Direct3D12Render.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
null
null
null
DESIRE-Modules/Render-Direct3D12/src/Direct3D12Render.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
1
2018-09-18T08:03:33.000Z
2018-09-18T08:03:33.000Z
#include "stdafx_Direct3D12.h" #include "Direct3D12Render.h" #include "DirectXMathExt.h" #include "RenderData/IndexBufferRenderDataD3D12.h" #include "RenderData/RenderableRenderDataD3D12.h" #include "RenderData/RenderTargetRenderDataD3D12.h" #include "RenderData/ShaderRenderDataD3D12.h" #include "RenderData/TextureRen...
36.460255
191
0.782063
nyaki-HUN
088ccd3171ed9e8614e1f93545b38df47dcc8263
4,065
hpp
C++
meta/include/mgs/meta/concepts/detail/iterator_traits.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
24
2020-07-01T13:45:50.000Z
2021-11-04T19:54:47.000Z
meta/include/mgs/meta/concepts/detail/iterator_traits.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
meta/include/mgs/meta/concepts/detail/iterator_traits.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
#pragma once #include <iterator> #include <tuple> #include <type_traits> #include <mgs/meta/concepts/complete_type.hpp> #include <mgs/meta/detected.hpp> #include <mgs/meta/detected/types/difference_type.hpp> #include <mgs/meta/detected/types/iterator_category.hpp> #include <mgs/meta/detected/types/pointer.hpp> #inclu...
30.56391
86
0.709225
theodelrieu
0898815882b63eec1a046df37d12639dc5033a25
868
cpp
C++
toolsrc/src/vcpkg/commands.env.cpp
qis/angle-package
d38c077495dd53b564d9fa94b5e67a127f3a0249
[ "MIT" ]
null
null
null
toolsrc/src/vcpkg/commands.env.cpp
qis/angle-package
d38c077495dd53b564d9fa94b5e67a127f3a0249
[ "MIT" ]
null
null
null
toolsrc/src/vcpkg/commands.env.cpp
qis/angle-package
d38c077495dd53b564d9fa94b5e67a127f3a0249
[ "MIT" ]
null
null
null
#include "pch.h" #include <vcpkg/base/system.h> #include <vcpkg/build.h> #include <vcpkg/commands.h> #include <vcpkg/help.h> namespace vcpkg::Commands::Env { void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet) { static const std::string EXAMPLE...
37.73913
119
0.732719
qis
089a4c13d5a6275a61a2f4fb3ce01118049e0857
2,771
cc
C++
src/compiler/args.cc
chzchzchz/fsl
2df9e4422995f58e719e730c8974ea77c5196bc6
[ "MIT" ]
1
2019-01-02T18:38:28.000Z
2019-01-02T18:38:28.000Z
src/compiler/args.cc
chzchzchz/fsl
2df9e4422995f58e719e730c8974ea77c5196bc6
[ "MIT" ]
1
2015-04-21T21:38:57.000Z
2015-10-27T01:26:29.000Z
src/compiler/args.cc
chzchzchz/fsl
2df9e4422995f58e719e730c8974ea77c5196bc6
[ "MIT" ]
null
null
null
#include "typeclosure.h" #include "type.h" #include "args.h" #include "util.h" using namespace std; extern type_map types_map; ArgsList::~ArgsList() { clear(); } void ArgsList::add(Id* type_name, Id* arg_name) { types.push_back(type_name); names.push_back(arg_name); name_to_type[arg_name->getName()] = type_name...
19.243056
69
0.635511
chzchzchz
089aede58d98097b394d83b921eb178c246ca522
1,110
cpp
C++
codes/Leetcode/leetcode143.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/Leetcode/leetcode143.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/Leetcode/leetcode143.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* reverse(ListNode* head) { ListNode* move = NULL; while (head != NULL) { ListNode* temp = head->next; head->ne...
18.196721
51
0.521622
JeraKrs
089b27e8cd3bea12df57005f391562c9371d86d1
354
hpp
C++
tests/integration/code_coverage_test.hpp
karel-burda/cmake-helpers
29fb132191c889358ce5e4a7222375d9fa53755c
[ "MIT" ]
2
2019-12-02T17:53:29.000Z
2019-12-29T02:07:02.000Z
tests/integration/code_coverage_test.hpp
karel-burda/cmake-helpers
29fb132191c889358ce5e4a7222375d9fa53755c
[ "MIT" ]
16
2018-06-11T14:02:39.000Z
2019-06-03T08:29:36.000Z
tests/integration/code_coverage_test.hpp
karel-burda/cmake-helpers
29fb132191c889358ce5e4a7222375d9fa53755c
[ "MIT" ]
null
null
null
#pragma once namespace burda { namespace cmake { namespace helpers { class code_coverage_test { public: void make_foo(const bool should_call_unused) { foo = true; if (should_call_unused) { unused(); } } void unused() { foo = false; } privat...
10.727273
48
0.542373
karel-burda
089bdd508c6b19ddf2496ba61f084c47895d2e37
3,337
cpp
C++
old/src/scene/camera.cpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
null
null
null
old/src/scene/camera.cpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
16
2016-12-27T16:57:09.000Z
2017-04-30T23:34:58.000Z
old/src/scene/camera.cpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
null
null
null
#include "camera.h" namespace ve { namespace scene { Camera::Camera() { aspectRatio = 1.0f; near = 0.1f; far = 1000.0f; fovY = 3.14159f / 2.0f; height = 1.0f; perspective = true; localToNdcTransform = ndcToLocalTransform = Matrix44f::identity(); localToNdcTransform(1, 1) = 0; localToNd...
21.254777
113
0.634402
fiddleplum
089f05437de76c5a0f49d3b5e28b2754b0150ab2
13,987
cpp
C++
bcos-storage/src/RocksDBStorage.cpp
chuwen95/FISCO-BCOS
e9cc29151c90dd1f4634f4d52ba773bb216700ac
[ "Apache-2.0" ]
1
2022-03-06T10:46:12.000Z
2022-03-06T10:46:12.000Z
bcos-storage/src/RocksDBStorage.cpp
chuwen95/FISCO-BCOS
e9cc29151c90dd1f4634f4d52ba773bb216700ac
[ "Apache-2.0" ]
null
null
null
bcos-storage/src/RocksDBStorage.cpp
chuwen95/FISCO-BCOS
e9cc29151c90dd1f4634f4d52ba773bb216700ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * 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 * * Unl...
38.008152
100
0.524058
chuwen95
089f461342eb95d77cf0d84b5b65ed659a499cbc
1,392
cpp
C++
RingedOrb/Graphics/roCommandAllocator.cpp
JohnCKangwa/RingedOrb
7aa8ab642e8938838c86a8d9951b589976f3ebd9
[ "MIT" ]
null
null
null
RingedOrb/Graphics/roCommandAllocator.cpp
JohnCKangwa/RingedOrb
7aa8ab642e8938838c86a8d9951b589976f3ebd9
[ "MIT" ]
null
null
null
RingedOrb/Graphics/roCommandAllocator.cpp
JohnCKangwa/RingedOrb
7aa8ab642e8938838c86a8d9951b589976f3ebd9
[ "MIT" ]
null
null
null
#include "roCommandAllocator.h" #include "..\Core\roErrorHandling.h" ID3D12CommandAllocator* roCommandAllocator::GetAllocator(uint64_t fenceValue) { std::lock_guard<std::mutex> lg(sm_AllocMutex); ID3D12CommandAllocator* cmdAlloc = nullptr; if (sm_UsedCommandAllocators.size() != 0) { auto cmdAllocTemp = sm_Use...
26.264151
96
0.789511
JohnCKangwa
08af7493c7ebf9e071d7d6a3ddbdc6daeb0ff219
2,015
cpp
C++
online-judge/11581.cpp
kirillgashkov/cp-solutions
863603b076e94b324b0d44a9adff4099e3131513
[ "MIT" ]
null
null
null
online-judge/11581.cpp
kirillgashkov/cp-solutions
863603b076e94b324b0d44a9adff4099e3131513
[ "MIT" ]
null
null
null
online-judge/11581.cpp
kirillgashkov/cp-solutions
863603b076e94b324b0d44a9adff4099e3131513
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <bitset> #include <unordered_map> using namespace std; #define vi vector<int> #define vvi vector<vi> void input_grid(vvi& grid) { grid.reserve(3); for (int i = 0; i < 3; ++i) { vi row; row.reserve(3); for (int j = 0; j < 3; ++j) { ...
20.15
86
0.46005
kirillgashkov
08b26c80f7df95c51bf8db440fad4cba78ee57f0
7,819
cpp
C++
Model/Source/Model.cpp
JasperDre/HelloOpenGL
7524d278f2a56ee6be5a55f71d0c178feaab45c7
[ "MIT" ]
1
2019-07-21T19:47:27.000Z
2019-07-21T19:47:27.000Z
Model/Source/Model.cpp
JasperDre/HelloOpenGL
7524d278f2a56ee6be5a55f71d0c178feaab45c7
[ "MIT" ]
null
null
null
Model/Source/Model.cpp
JasperDre/HelloOpenGL
7524d278f2a56ee6be5a55f71d0c178feaab45c7
[ "MIT" ]
null
null
null
#include "Model.h" #include "GLError.h" #include "Texture.h" #define TINYOBJLOADER_IMPLEMENTATION #include <tiny_obj_loader.h> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include <algorithm> Model::Model(const std::string aPath) : myModelMatrix(1.0f) , myPositio...
33.131356
144
0.599437
JasperDre
08b70dccf8c09f6565288c426087427f4e3f22fb
1,077
cpp
C++
Source/Minigame/src/source/scene/Scene.cpp
marcspoon07/Project1_Minigame
d8da2892fc97cc2e8310cf9c042d75dcbad4a6ba
[ "MIT" ]
null
null
null
Source/Minigame/src/source/scene/Scene.cpp
marcspoon07/Project1_Minigame
d8da2892fc97cc2e8310cf9c042d75dcbad4a6ba
[ "MIT" ]
null
null
null
Source/Minigame/src/source/scene/Scene.cpp
marcspoon07/Project1_Minigame
d8da2892fc97cc2e8310cf9c042d75dcbad4a6ba
[ "MIT" ]
null
null
null
#include "../../headers/scene/Scene.h" #include "../../headers/Video.h" #include "../../headers/scene/SceneManager.h" Scene::Scene() { m_MaxTimeEntering = 0; m_MaxTimeLeaving = 0; m_Input = Input::getInstance(); } Scene::~Scene() { } void Scene::Update() { switch (m_CurrentState) { case Scene::SCENE_ENTERING...
19.581818
104
0.697307
marcspoon07
08c16f13ebf130411da40a1ac9b844e7be1e8c5b
111
hxx
C++
src/Providers/UNIXProviders/WiFiPort/UNIX_WiFiPort_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/WiFiPort/UNIX_WiFiPort_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/WiFiPort/UNIX_WiFiPort_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_HPUX #ifndef __UNIX_WIFIPORT_PRIVATE_H #define __UNIX_WIFIPORT_PRIVATE_H #endif #endif
9.25
33
0.828829
brunolauze
08c3065d8f310dd96f31c3739ca60a252def1a5d
2,289
hpp
C++
parser/src/parser/GameParser.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
1
2018-08-14T05:45:29.000Z
2018-08-14T05:45:29.000Z
parser/src/parser/GameParser.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
null
null
null
parser/src/parser/GameParser.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
null
null
null
// This file is part of CaptureTheBanana++. // // Copyright (c) 2018 the CaptureTheBanana++ contributors (see CONTRIBUTORS.md) // This file is licensed under the MIT license; see LICENSE file in the root of this // project for details. #ifndef PARSER_GAMEPARSER_HPP #define PARSER_GAMEPARSER_HPP #include "parser/GameC...
26.310345
84
0.706859
CaptureTheBanana
08c552b090e503e2007de766b41dc9c0b19f7987
10,517
cc
C++
grammar/exam/source/analysis.cc
bishop986/CompileConstruction
d35d57dec97a398fe999b8756fd5c229d98324c1
[ "MIT" ]
2
2018-04-22T09:35:36.000Z
2018-05-01T05:56:21.000Z
grammar/exam/source/analysis.cc
bishop986/CompileConstruction
d35d57dec97a398fe999b8756fd5c229d98324c1
[ "MIT" ]
null
null
null
grammar/exam/source/analysis.cc
bishop986/CompileConstruction
d35d57dec97a398fe999b8756fd5c229d98324c1
[ "MIT" ]
null
null
null
#include "include/syntax_treenode.h" #include "include/global.h" #include "include/analysis.h" #include <assert.h> #include <sstream> #include <fstream> namespace dh { analysis::analysis(scanner tokens) { this->_tokens = tokens; this->tmp = ::std::make_shared<token>("", TYPE::NONES); initFlag = false; this->tabc...
18.515845
79
0.611011
bishop986
c093071bca5eb3a01b7acfa3a26929cff238a1f0
4,235
cpp
C++
test/P2N/main.cpp
simonpp/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
test/P2N/main.cpp
simonpp/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
test/P2N/main.cpp
simonpp/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
/** * @file main.cpp * @author Simon Pintarelli <simon@thinkpadX1> * @date Wed Oct 21 17:37:10 2015 * * @brief Example for Polar->Nodal basis transformation and quadrature * in the nodal basis * * */ #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <iostream> #includ...
27.5
93
0.639669
simonpp
c095201f2933118d06d67cf14d420c0a7d8dafd6
130
cpp
C++
src/modules/logger/log_writer_file.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/modules/logger/log_writer_file.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/modules/logger/log_writer_file.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:46dbc139955824e3d837e80752035bad0e64754b4b29300eed5ab4d833d33be4 size 12824
32.5
75
0.884615
Diksha-agg
c095f102d64d9607788ee044aa711818f885944b
5,165
cpp
C++
examples/core/core_loading_thread.cpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
253
2019-03-20T16:15:21.000Z
2022-03-28T06:04:48.000Z
examples/core/core_loading_thread.cpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
96
2019-08-19T22:12:28.000Z
2022-03-29T00:25:54.000Z
examples/core/core_loading_thread.cpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
56
2019-09-09T04:39:50.000Z
2022-03-28T17:42:46.000Z
/******************************************************************************* * * raylib example - loading thread * * This example has been created using raylib-cpp (www.raylib.com) * raylib is licensed under an unmodified zlib/libpng license * (View raylib.h for details) * * Copyright (c) 2014-2019 Ramon ...
34.205298
80
0.4606
luanfagu
c096935551761e090ae5dcbc4be59ef2a347dbdf
529
hpp
C++
tasks/InterruptSource.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
1
2022-01-31T01:59:52.000Z
2022-01-31T01:59:52.000Z
tasks/InterruptSource.hpp
PhischDotOrg/stm32-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
5
2020-04-13T21:55:12.000Z
2020-06-27T17:44:44.000Z
tasks/InterruptSource.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #ifndef _INTERRUPT_SOURCE_HPP_560c35cf_bbfb_468f_901b_20f28cfdc066 #define _INTERRUPT_SOURCE_HPP_560c35cf_bbfb_468f_901b_20f28cfdc066 namespace tasks { class InterruptSource { public: virtual int enable(void) = 0; virtual int disable(void) = 0; virtual int registerHandler(const Int...
26.45
86
0.79206
PhischDotOrg
c0989d7cd557aa2819aee42e720eefa0be363031
1,539
cpp
C++
src/platform/testing/android/core_network.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/platform/testing/android/core_network.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/platform/testing/android/core_network.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright (c) 2006-2012 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, inclu...
27
243
0.746589
mokoi
c09d834f2d2b6780b0382ecb32e542e6719f6e2d
534
cpp
C++
micromamba/src/install.cpp
wulmer/mamba
5961d76afdd8b0f070bf0f2da396ef25289c965c
[ "BSD-3-Clause" ]
2,262
2020-09-08T07:46:35.000Z
2022-03-31T21:11:35.000Z
micromamba/src/install.cpp
wulmer/mamba
5961d76afdd8b0f070bf0f2da396ef25289c965c
[ "BSD-3-Clause" ]
841
2020-09-07T15:22:43.000Z
2022-03-31T18:18:43.000Z
micromamba/src/install.cpp
wulmer/mamba
5961d76afdd8b0f070bf0f2da396ef25289c965c
[ "BSD-3-Clause" ]
132
2020-09-10T03:05:45.000Z
2022-03-29T12:32:47.000Z
#include "common_options.hpp" #include "mamba/api/configuration.hpp" #include "mamba/api/install.hpp" using namespace mamba; // NOLINT(build/namespaces) void set_install_command(CLI::App* subcom) { init_install_options(subcom); auto& config = Configuration::instance(); auto& freeze_installed = confi...
23.217391
98
0.709738
wulmer