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
fe94acef9a61b75b41248cc7cb376df7abc9711f
1,594
inl
C++
Core/DianYing/Include/Dy/Helper/Internal/Inline/FThreadPoolTmp.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/DianYing/Include/Dy/Helper/Internal/Inline/FThreadPoolTmp.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/DianYing/Include/Dy/Helper/Internal/Inline/FThreadPoolTmp.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
#ifndef GUARD_DY_HELPER_INTERNAL_INLINE_FTHREADPOOLTMP_INL #define GUARD_DY_HELPER_INTERNAL_INLINE_FTHREADPOOLTMP_INL /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF...
33.208333
82
0.729611
liliilli
fe9a9b8ca3d04d0968ecc8ba5728f3898d030832
2,238
hpp
C++
include/graphtyper/typer/vcf_writer.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
122
2017-06-09T18:05:57.000Z
2022-03-27T20:22:22.000Z
include/graphtyper/typer/vcf_writer.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
79
2017-06-12T06:35:06.000Z
2022-03-30T16:01:11.000Z
include/graphtyper/typer/vcf_writer.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
14
2017-06-22T13:02:21.000Z
2022-03-26T01:45:02.000Z
#pragma once #include <sstream> #include <string> #include <unordered_map> #include <vector> #include <parallel_hashmap/phmap_fwd_decl.h> #include <graphtyper/graph/genotype.hpp> #include <graphtyper/graph/graph.hpp> #include <graphtyper/typer/genotype_paths.hpp> #include <graphtyper/typer/read_stats.hpp> #include <...
30.657534
102
0.661305
DecodeGenetics
fea165421c0f138db244d85ae42f9f51d54ebdfd
786
cpp
C++
Userland/Applications/Help/History.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
19,438
2019-05-20T15:11:11.000Z
2022-03-31T23:31:32.000Z
Userland/Applications/Help/History.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
7,882
2019-05-20T01:03:52.000Z
2022-03-31T23:26:31.000Z
Userland/Applications/Help/History.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
2,721
2019-05-23T00:44:57.000Z
2022-03-31T22:49:34.000Z
/* * Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include "History.h" void History::push(StringView history_item) { if (!m_items.is_empty() && m_items[m_current_history_item] == history_item) return; m_items.shrink(m_current_history...
18.27907
79
0.676845
r00ster91
fea22c74edf2a724044d1805ebe3d78d6dc04953
970
hpp
C++
code/editors/xrWeatherEditor/property_string.hpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/editors/xrWeatherEditor/property_string.hpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/editors/xrWeatherEditor/property_string.hpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
//////////////////////////////////////////////////////////////////////////// // Module : property_string.hpp // Created : 07.12.2007 // Modified : 07.12.2007 // Author : Dmitriy Iassenev // Description : string property implementation class /////////////////////////////////////////////////////////////////////////...
31.290323
76
0.621649
Rikoshet-234
fea696fa27428cea9269cfedaa5da6fdab3fc778
6,717
hpp
C++
src/Controller/AI/Manager.hpp
MajorArkwolf/Project-Blue-Engine
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
1
2021-04-18T09:49:38.000Z
2021-04-18T09:49:38.000Z
src/Controller/AI/Manager.hpp
MajorArkwolf/ICT397-Project-Blue
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
null
null
null
src/Controller/AI/Manager.hpp
MajorArkwolf/ICT397-Project-Blue
e5fc6416d0a41a1251f1b369047e0ea1097775da
[ "MIT" ]
2
2020-06-13T15:24:01.000Z
2021-04-15T20:25:49.000Z
#pragma once /// System Dependencies #include <map> #include <forward_list> #include <memory> /// Internal Dependencies #include "Controller/Engine/IDTracker.hpp" #include "Model/GameObject/Base.hpp" #include "FSM.hpp" #include "Message.hpp" /*! * @brief A centralised system for the use and management of Finite...
33.753769
124
0.716689
MajorArkwolf
fea975b847b636fec2e39c861d502b1f166fe4f3
3,270
cc
C++
lib/scudo/standalone/tests/chunk_test.cc
eqyiel/swift-compiler-rt
f074ee37e8be92799cbc32bf7a8e12a3d1d4719f
[ "Apache-2.0" ]
118
2016-02-29T01:55:45.000Z
2021-11-08T09:47:46.000Z
lib/scudo/standalone/tests/chunk_test.cc
eqyiel/swift-compiler-rt
f074ee37e8be92799cbc32bf7a8e12a3d1d4719f
[ "Apache-2.0" ]
27
2016-06-20T23:47:01.000Z
2019-10-25T17:41:37.000Z
lib/scudo/standalone/tests/chunk_test.cc
eqyiel/swift-compiler-rt
f074ee37e8be92799cbc32bf7a8e12a3d1d4719f
[ "Apache-2.0" ]
73
2016-03-01T00:50:56.000Z
2021-12-05T03:30:35.000Z
//===-- chunk_test.cc -------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
39.39759
80
0.652599
eqyiel
feb0d2af973522ef910039d14afc2d964f40f67f
2,375
cpp
C++
TagForceMusicEx/TagForceMusicEx.cpp
xan1242/TagForceMusicEx
f384bd4e1624857c968b862b533c7c8f7713df97
[ "MIT" ]
null
null
null
TagForceMusicEx/TagForceMusicEx.cpp
xan1242/TagForceMusicEx
f384bd4e1624857c968b862b533c7c8f7713df97
[ "MIT" ]
null
null
null
TagForceMusicEx/TagForceMusicEx.cpp
xan1242/TagForceMusicEx
f384bd4e1624857c968b862b533c7c8f7713df97
[ "MIT" ]
null
null
null
// TagForceMusicEx.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdlib.h> #include <string.h> void* EntryBuffer; unsigned int AT3FileSize; char OutFileName[512]; char OutPath[512]; char MkDirString[_MAX_PATH + 10]; struct snddat_entry { short int StartPo...
24.234694
100
0.654737
xan1242
feb31514cf641f7b890e72d0e3eef334c3433873
576
cpp
C++
src/test/inputs/generate.cpp
Coolnesss/max-flow
12e5acd32206f4b2f63e111600e7fa8f6eec9411
[ "Apache-2.0" ]
null
null
null
src/test/inputs/generate.cpp
Coolnesss/max-flow
12e5acd32206f4b2f63e111600e7fa8f6eec9411
[ "Apache-2.0" ]
2
2016-10-02T18:58:33.000Z
2016-10-15T13:50:39.000Z
src/test/inputs/generate.cpp
Coolnesss/max-flow
12e5acd32206f4b2f63e111600e7fa8f6eec9411
[ "Apache-2.0" ]
null
null
null
#ifndef generate_h #define generate_h #include "../../data-structures/graph.h" typedef long long ll; using namespace std; // Generate graphs that form the worst case for Ford-Fulkerson algorithm. void build_bad_graph(ll n, Graph g, ll solmu_numero) { if (n == 1) { } ll source = solmu_numer...
18
73
0.604167
Coolnesss
feb616be1e427d85080e9c38ce6fcb9c1068a8a7
8,671
cpp
C++
src/qttestmanager.cpp
Tpimp/QtEssentialPrep
6c5431678cd6960bc8c0acb746948dbaa4a24647
[ "Apache-2.0" ]
null
null
null
src/qttestmanager.cpp
Tpimp/QtEssentialPrep
6c5431678cd6960bc8c0acb746948dbaa4a24647
[ "Apache-2.0" ]
null
null
null
src/qttestmanager.cpp
Tpimp/QtEssentialPrep
6c5431678cd6960bc8c0acb746948dbaa4a24647
[ "Apache-2.0" ]
null
null
null
#include "qttestmanager.h" #include <QJsonArray> #include <QDateTime> #include <QJsonDocument> #include <QJsonValue> #include "qttesttypeloader.h" #include "qttestwidget.h" #include <QDebug> QtTestManager::QtTestManager(QtTestTypeLoader &loader,QtTestWidget & delegate, QObject *parent) : QObject(parent), m_Loader(l...
33.871094
97
0.50617
Tpimp
feb85217b91034db062156507ea444b904d4d5d5
593
cpp
C++
AIC/AIC'20 - Level 1 Training Contests/Contest #9 (Online)/B.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AIC/AIC'20 - Level 1 Training Contests/Contest #9 (Online)/B.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AIC/AIC'20 - Level 1 Training Contests/Contest #9 (Online)/B.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/group/aDFQm4ed6d/contest/278613/problem/B #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; const ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); char s; int h[2], ...
22.807692
66
0.507589
MaGnsio
fec19e25a591888a89c274a701c3b2723dc4c5d2
2,079
cpp
C++
Shoot/src/Log.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Shoot/src/Log.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Shoot/src/Log.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: April 1st 2011 */ #include "Shoot.h" #include <iostream> #if defined(SHOOT_EDITOR) extern void EditorOutput(const char* strMessage); #endif #if SHOOT_PLATFORM == SHOOT_PLATFORM_ANDROID #include <android/log.h> #endif namespace shoot { BaseLog Log; //! Prints to available output stre...
19.613208
84
0.671477
franticsoftware
fec201f80e34ed7ec89776177a13bb92ed68a9cb
4,799
hpp
C++
openstudiocore/src/model/FenestrationMaterial.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/FenestrationMaterial.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/FenestrationMaterial.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, 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 publishe...
36.082707
93
0.70994
bobzabcik
fec83df098d2ab86313ec7fad5553ea1ec9b5072
3,078
cpp
C++
Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKChartViewTest1.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
515
2015-01-13T05:42:10.000Z
2022-03-29T03:10:01.000Z
Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKChartViewTest1.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
425
2015-01-06T05:28:38.000Z
2022-03-08T19:42:18.000Z
Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKChartViewTest1.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
341
2015-01-08T06:18:17.000Z
2022-03-29T21:47:49.000Z
/*========================================================================= Library: CTK Copyright (c) Kitware Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.ap...
27.482143
105
0.633203
kraehlit
fec8549e379fce56d3f04d62222ac383a613d7e9
1,485
cpp
C++
pa7/connect.cpp
AndruAllen/cpp_networking
6af0a74990f55c182c8b43eb4574e10494b7e2e4
[ "MIT" ]
null
null
null
pa7/connect.cpp
AndruAllen/cpp_networking
6af0a74990f55c182c8b43eb4574e10494b7e2e4
[ "MIT" ]
null
null
null
pa7/connect.cpp
AndruAllen/cpp_networking
6af0a74990f55c182c8b43eb4574e10494b7e2e4
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> #include <netinet/in.h> struct addrinfo* DNSLookup (char * hostname, char* port) { int status; struct addrinfo hints; struct addrinfo *res; // will point to...
23.203125
91
0.622896
AndruAllen
fecac255fd2be6ca3bc29aef3c4e981755d63e76
6,418
hpp
C++
include/boost/yaml/parser/x3_error_reporting.hpp
tzlaine/yaml
958716b79697d4501f57d10eca8d3024047f5e2d
[ "BSL-1.0" ]
null
null
null
include/boost/yaml/parser/x3_error_reporting.hpp
tzlaine/yaml
958716b79697d4501f57d10eca8d3024047f5e2d
[ "BSL-1.0" ]
2
2019-10-31T02:01:21.000Z
2019-10-31T02:13:51.000Z
include/boost/yaml/parser/x3_error_reporting.hpp
tzlaine/yaml
958716b79697d4501f57d10eca8d3024047f5e2d
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2014 Joel de Guzman Copyright (c) 2018 T. Zachary Laine 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) ======...
28.149123
80
0.527579
tzlaine
fecb2623fb800f82648b2c1df5ebcc8795a1324c
1,170
cpp
C++
problems/arithmetic/solutions/arithmetic_ik_five.cpp
kgeorgiy/olymp.sty
15dddd307bdacc296cf3ac9367c49af4bd9d5990
[ "MIT" ]
92
2015-01-01T22:54:37.000Z
2021-08-29T15:26:56.000Z
problems/arithmetic/solutions/arithmetic_ik_five.cpp
kgeorgiy/olymp.sty
15dddd307bdacc296cf3ac9367c49af4bd9d5990
[ "MIT" ]
3
2015-01-01T23:49:08.000Z
2021-12-30T10:25:40.000Z
problems/arithmetic/solutions/arithmetic_ik_five.cpp
kgeorgiy/olymp.sty
15dddd307bdacc296cf3ac9367c49af4bd9d5990
[ "MIT" ]
33
2015-01-01T22:47:12.000Z
2021-12-03T03:33:18.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <vector> using namespace std; #define IOFILES #define TASKNAME "arithmetic" #ifdef DEBUG #define eprintf(...) fprintf (stderr, __VA_ARGS__) #else #define eprintf(...) assert (true) #endif int const MIN_N = 1, MAX_N = 100000; int const MIN_A = 1, MAX...
14.810127
50
0.515385
kgeorgiy
fed3db248870ec7fd3445f1dde9615360e85b30c
7,971
cpp
C++
sdl1/goonies/GO_bat.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/goonies/GO_bat.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/goonies/GO_bat.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
#ifdef KITSCHY_DEBUG_MEMORY #include "debug_memorymanager.h" #endif #ifdef _WIN32 #include "windows.h" #endif #include "math.h" #include "stdlib.h" #include "string.h" #include "GL/gl.h" #include "GL/glu.h" #include "SDL.h" #include "SDL_image.h" #include "SDL_mixer.h" #include "List.h" #include "auxiliar.h" #incl...
27.677083
129
0.465563
pdpdds
fed8e0908082ba3802e5b831525848e35747f0f8
770
cpp
C++
Count Set Bits.cpp
Apoorv0001/HackerBlogs-Practice-Questions
52c95f9d0ade3f38596821c979604c0aa23c78cb
[ "MIT" ]
null
null
null
Count Set Bits.cpp
Apoorv0001/HackerBlogs-Practice-Questions
52c95f9d0ade3f38596821c979604c0aa23c78cb
[ "MIT" ]
null
null
null
Count Set Bits.cpp
Apoorv0001/HackerBlogs-Practice-Questions
52c95f9d0ade3f38596821c979604c0aa23c78cb
[ "MIT" ]
null
null
null
/* count number of 1s in binary representation of an integer Input Format Input N = Number of Test Cases, followed by N numbers Constraints Output Format Number of Set Bits in each number each in a new line Sample Input 3 5 4 15 Sample Output 2 1 4 Explanation Convert Binary to Decimal first and then count number of...
14.807692
83
0.48961
Apoorv0001
fed9457d91045915f0c8f47c568433ffe6b43e02
1,340
cpp
C++
Files/gen.cpp
saurav-07/CompetitiveProgramming
40956567e077fe0785cd0904d1969e02a1eff7ee
[ "MIT" ]
3
2020-10-09T11:25:19.000Z
2021-02-15T10:40:08.000Z
Files/gen.cpp
saurav-07/CompetitiveProgramming
40956567e077fe0785cd0904d1969e02a1eff7ee
[ "MIT" ]
null
null
null
Files/gen.cpp
saurav-07/CompetitiveProgramming
40956567e077fe0785cd0904d1969e02a1eff7ee
[ "MIT" ]
3
2021-02-10T16:29:04.000Z
2021-02-21T16:33:01.000Z
#include <bits/stdc++.h> #include <fstream> #include <stdlib.h> using namespace std; typedef long long int ll; #define pb push_back const ll MAX = 1e5; ll randomRange(ll lower, ll upper){ ll num = (rand() % (upper - lower + 1)) + lower; return num; } char randchar(char lower, char upper){ char num = (rand(...
19.705882
65
0.486567
saurav-07
fedf04f330b1b231a07da31d0fc7c721f8503468
1,531
hpp
C++
boost/numeric/itl/stepper/wolf.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
lib/mtl4/boost/numeric/itl/stepper/wolf.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
lib/mtl4/boost/numeric/itl/stepper/wolf.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling, Corn...
27.339286
94
0.648596
lit-uriy
fee14cf1ce5997c65d7e055eae10f5b354e7c61b
3,040
hpp
C++
Engine/Code/Engine/Renderer/MeshBuilder.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/MeshBuilder.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/MeshBuilder.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
#pragma once #include "Engine/Math/Vec3.hpp" #include "Engine/Math/Vec2.hpp" #include "Engine/Math/AABB3.hpp" #include "Engine/Core/Rgba.hpp" #include "Engine/Renderer/RendererEnums.hpp" #include "Engine/Renderer/DrawInstruction.hpp" #include "Engine/Math/AABB2.hpp" #include "Engine/Renderer/VertexLayout.hpp" #include ...
32
83
0.682566
tonyatpeking
fee14f3226a20f8e24833706d9a6f10a706e7ac5
10,692
cpp
C++
Tudat/Mathematics/Interpolators/UnitTests/unitTestCubicSplineInterpolator.cpp
JPelamatti/ThesisTUDAT
b94ce35fb7c8fa44ae83238e296a979dfa3adfe8
[ "BSD-3-Clause" ]
null
null
null
Tudat/Mathematics/Interpolators/UnitTests/unitTestCubicSplineInterpolator.cpp
JPelamatti/ThesisTUDAT
b94ce35fb7c8fa44ae83238e296a979dfa3adfe8
[ "BSD-3-Clause" ]
null
null
null
Tudat/Mathematics/Interpolators/UnitTests/unitTestCubicSplineInterpolator.cpp
JPelamatti/ThesisTUDAT
b94ce35fb7c8fa44ae83238e296a979dfa3adfe8
[ "BSD-3-Clause" ]
1
2019-05-30T03:42:22.000Z
2019-05-30T03:42:22.000Z
/* Copyright (c) 2010-2015, Delft University of Technology * 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 ...
43.819672
99
0.692574
JPelamatti
fee32267046bf470a3e51e94437ed068ce9ced4b
4,448
hpp
C++
include/xsimd/config/xsimd_cpuid.hpp
astrohawk/xsimd
2b656bfc4ab61a7bf1a56f792154de8fd87b0eb7
[ "BSD-3-Clause" ]
null
null
null
include/xsimd/config/xsimd_cpuid.hpp
astrohawk/xsimd
2b656bfc4ab61a7bf1a56f792154de8fd87b0eb7
[ "BSD-3-Clause" ]
null
null
null
include/xsimd/config/xsimd_cpuid.hpp
astrohawk/xsimd
2b656bfc4ab61a7bf1a56f792154de8fd87b0eb7
[ "BSD-3-Clause" ]
null
null
null
#ifndef XSIMD_CPUID_HPP #define XSIMD_CPUID_HPP #include <cstring> #include <algorithm> #include <array> #if defined(_MSC_VER) // Contains the definition of __cpuidex #include <intrin.h> #endif #include "../types/xsimd_all_registers.hpp" namespace xsimd { namespace detail { struct supported_arch ...
30.054054
87
0.441547
astrohawk
fee47f4ee47ec5e255ec25c34a56e1df5d9aef65
1,698
cpp
C++
demo/opengl/glwin/cube/cube_glwin.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
4
2016-09-07T07:02:52.000Z
2019-06-22T08:55:53.000Z
demo/opengl/glwin/cube/cube_glwin.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
null
null
null
demo/opengl/glwin/cube/cube_glwin.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
3
2019-06-22T16:00:39.000Z
2022-03-09T13:46:27.000Z
#include "resource.h" #include <windows.h> #include <tchar.h> #include <GL/gl.h> #include <GL/glu.h> #include "uwinapp.h" #include "ubasewindow.h" #include "uicon.h" #include "umsg.h" #include "uglut.h" #include "uglwindow.h" UGlut::UGLCube cube; float cnt1; static void reshape(int width, int height) { GLf...
18.659341
83
0.644287
fox000002
fee6350ca53ddc0affe4bd7431905969ad36c2cd
526
cpp
C++
BASIC c++/array_&_pointer/reverse.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/array_&_pointer/reverse.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/array_&_pointer/reverse.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
// // Created by Rahul on 6/14/2019. // #include "iostream" using namespace std; #include <string.h> void reverse(char str[],char umstr[]); int main() { const int CNT=81; char word[CNT],revert[CNT]; cout<<"enter a word"<<endl; cin.width(CNT); cin>>word; reverse(word,revert);//passing reference ...
20.230769
55
0.595057
jattramesh
fee939989c72a684cdb13398f148fb17db364ae5
4,567
cpp
C++
foobar2000/SDK/replaygain_info.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
null
null
null
foobar2000/SDK/replaygain_info.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
null
null
null
foobar2000/SDK/replaygain_info.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
null
null
null
#include "foobar2000.h" #ifdef _MSC_VER #define RG_FPU() fpu_control_roundnearest bah; #else #define RG_FPU() #endif bool replaygain_info::g_format_gain(float p_value,char p_buffer[text_buffer_size]) { RG_FPU(); if (p_value == gain_invalid) { p_buffer[0] = 0; return false; } else { pfc::...
28.018405
118
0.714692
ttsping
feeb62550ed3fb7ce61f4af069ffae1de8c37f7c
1,382
cpp
C++
codeforces/D1 - Magic Powder - 1/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D1 - Magic Powder - 1/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D1 - Magic Powder - 1/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Sep/24/2017 17:56 * solution_verdict: Accepted language: GNU C++14 * run...
31.409091
111
0.403039
kzvd4729
feedcb4e8251dba4972b384e3bedd535c6151b89
668
cpp
C++
src/projection/Projectionf.cpp
Defalt8/axl.math
49c1c239e7512f2d7493fa36ba0907d5e512378f
[ "MIT" ]
3
2020-11-20T08:29:26.000Z
2021-08-24T18:03:53.000Z
src/projection/Projectionf.cpp
Defalt8/axl.math
49c1c239e7512f2d7493fa36ba0907d5e512378f
[ "MIT" ]
null
null
null
src/projection/Projectionf.cpp
Defalt8/axl.math
49c1c239e7512f2d7493fa36ba0907d5e512378f
[ "MIT" ]
null
null
null
#include <axl.math/projection/Projectionf.hpp> namespace axl { namespace math { Projectionf::Projectionf(Projectionf::Type p_type, axl::math::Mat4f p_matrix) : type(m_type), matrix(projection_matrix), m_type(p_type), projection_matrix(p_matrix) {} void Projectionf::updateTransform() { Projectionf::projection_ma...
20.875
85
0.755988
Defalt8
feeffd57aaa98fd813016381aa38fca8b6ce399f
1,125
cpp
C++
src/abaeterno/mem_lib/hybrid_memory_lua.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
src/abaeterno/mem_lib/hybrid_memory_lua.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
src/abaeterno/mem_lib/hybrid_memory_lua.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
#include "abaeterno_config.h" #include "lua_helpers.h" using namespace std; using namespace boost; namespace { using namespace boost::assign; using namespace Memory; lua* build_hybrid_memory(luabind::object table) { std::string classname("hybrid_memory_"); std::string policy; set<string> required; required += ...
23.4375
70
0.715556
paolofrb
fef003bff4489b1dd20fe7e3bc6e204b68d04bb4
183
cpp
C++
filesystest.cpp
Nanomachiner/please_compile
3c8520010cd5bfdf672ab1c805430c52282d8168
[ "MIT" ]
null
null
null
filesystest.cpp
Nanomachiner/please_compile
3c8520010cd5bfdf672ab1c805430c52282d8168
[ "MIT" ]
null
null
null
filesystest.cpp
Nanomachiner/please_compile
3c8520010cd5bfdf672ab1c805430c52282d8168
[ "MIT" ]
null
null
null
#include <iostream> #include <experimental/filesystem> namespace std::experimental::filesystem::v1; int main() { std::cout << "Current path is " << fs::current_path() << '\n'; }
20.333333
66
0.666667
Nanomachiner
fef08f8c70e0e1ef7b131f6126348d606f52597e
1,113
cpp
C++
Common/Source/timer.cpp
HenIsTheMan/COMPG_A2
bfd9916e9f26ecbb8d113d4ab3cec7130ddeb308
[ "Apache-2.0" ]
null
null
null
Common/Source/timer.cpp
HenIsTheMan/COMPG_A2
bfd9916e9f26ecbb8d113d4ab3cec7130ddeb308
[ "Apache-2.0" ]
null
null
null
Common/Source/timer.cpp
HenIsTheMan/COMPG_A2
bfd9916e9f26ecbb8d113d4ab3cec7130ddeb308
[ "Apache-2.0" ]
null
null
null
#include "timer.h" StopWatch::StopWatch(){ QueryPerformanceFrequency(&frequency); constexpr auto TARGET_RESOLUTION = 1; //1 ms target resolution; TIMECAPS tc; if(timeGetDevCaps(&tc, sizeof(TIMECAPS)) != TIMERR_NOERROR){ //Error, app can't continue. } wTimerRes = min(max(tc.wPeriodMin, TARGET_RESOLUTION), tc.wP...
24.195652
85
0.740341
HenIsTheMan
fef0f9298b0ae25bbcdaa4978cae480ad6ed5b1b
1,461
cpp
C++
src/uint128.cpp
madMAx43v3r/mmx-node
5b5a5273865f45c7162f384227605aff8d031a24
[ "Apache-2.0" ]
154
2021-12-24T19:18:15.000Z
2022-03-24T04:49:45.000Z
src/uint128.cpp
madMAx43v3r/mmx-node
5b5a5273865f45c7162f384227605aff8d031a24
[ "Apache-2.0" ]
33
2021-12-26T03:21:54.000Z
2022-03-24T12:52:40.000Z
src/uint128.cpp
madMAx43v3r/mmx-node
5b5a5273865f45c7162f384227605aff8d031a24
[ "Apache-2.0" ]
23
2021-12-26T03:23:33.000Z
2022-02-20T18:10:45.000Z
/* * uint128.cpp * * Created on: May 1, 2022 * Author: mad */ #include <mmx/uint128.hpp> namespace vnx { void read(vnx::TypeInput& in, mmx::uint128& value, const vnx::TypeCode* type_code, const uint16_t* code) { if(sizeof(value) != 16) { throw std::logic_error("sizeof(uint128) != 16"); } switch(code...
20.013699
104
0.581109
madMAx43v3r
fef11bc843b9d2199658de6a5bd2844406cfc4ee
7,124
cp
C++
Linux/Sources/Formatting/CStyleToolbar.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Linux/Sources/Formatting/CStyleToolbar.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Linux/Sources/Formatting/CStyleToolbar.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
25.173145
81
0.722207
mulberry-mail
fef280b39f44770dc8119c32dcdfaf005fb0deb7
50,569
cpp
C++
src/engine/aassetmanager.cpp
edrickhong/Cu
d96521f6c8c76d12c2a52c43bfd91dd3771b19a9
[ "MIT" ]
4
2018-03-18T18:18:03.000Z
2019-01-17T17:34:11.000Z
src/engine/aassetmanager.cpp
edrickhong/Cu
d96521f6c8c76d12c2a52c43bfd91dd3771b19a9
[ "MIT" ]
33
2018-02-17T02:58:50.000Z
2019-05-24T11:48:06.000Z
src/engine/aassetmanager.cpp
edrickhong/Cu
d96521f6c8c76d12c2a52c43bfd91dd3771b19a9
[ "MIT" ]
null
null
null
#include "aassetmanager.h" #include "ssys.h" #include "audio_util.h" /* TODO: Fresh start, we should diff this against the working implementation and patch in eviction. TODO: use a ringbuffer for transferbuffers */ _global VDeviceContext* global_device = {}; //2500 #define _maxblocks 5000 #define _defarray_size 100...
31.526808
163
0.592517
edrickhong
fef43136c82dc6804bc2260e51d5f2b8d68ec017
540
hpp
C++
src/expect_start_object.hpp
maghoff/jsonxx
c5edb3040d72a1251f5e96e2c3a3b0876bcf8652
[ "MIT" ]
null
null
null
src/expect_start_object.hpp
maghoff/jsonxx
c5edb3040d72a1251f5e96e2c3a3b0876bcf8652
[ "MIT" ]
null
null
null
src/expect_start_object.hpp
maghoff/jsonxx
c5edb3040d72a1251f5e96e2c3a3b0876bcf8652
[ "MIT" ]
null
null
null
#ifndef JSONXX_EXPECT_START_OBJECT_HPP #define JSONXX_EXPECT_START_OBJECT_HPP #include "error_scanner_listener.hpp" #include "expect_key_or_end_object.hpp" #include "declspec.hpp" namespace jsonxx { class parser2_state; class JSONXX_DECLSPEC expect_start_object : public error_scanner_listener { parser2_state& s; ...
19.285714
75
0.82963
maghoff
fef500cc681ad2b5811e6a22bc75489d1dce1106
1,874
hpp
C++
sources/Framework/Tools/ScriptParser/spUtilityScriptReaderBase.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/Framework/Tools/ScriptParser/spUtilityScriptReaderBase.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/Framework/Tools/ScriptParser/spUtilityScriptReaderBase.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2016-10-31T06:08:44.000Z
2019-08-02T16:12:33.000Z
/* * Script base header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_UTILITY_SCRIPT_READER_BASE_H__ #define __SP_UTILITY_SCRIPT_READER_BASE_H__ #include "Base/spStandard.hpp" #ifdef SP_COMPILE_WITH_T...
21.295455
105
0.584312
rontrek
67963a2074c8405d702f24f841fdbf330e78fab0
1,885
hpp
C++
include/SpeedwireByteEncoding.hpp
mincequi/libspeedwire
387908784962bbc87741c5d2e9230c20b903b23e
[ "MIT" ]
null
null
null
include/SpeedwireByteEncoding.hpp
mincequi/libspeedwire
387908784962bbc87741c5d2e9230c20b903b23e
[ "MIT" ]
null
null
null
include/SpeedwireByteEncoding.hpp
mincequi/libspeedwire
387908784962bbc87741c5d2e9230c20b903b23e
[ "MIT" ]
null
null
null
#ifndef __SPEEDWIREBYTEENCODINGL_H__ #define __SPEEDWIREBYTEENCODINGL_H__ #include <cstdint> /** * Class implementing platform neutral byte encoding conversions * * Multi-byte data in network packets can be encoded in big endian or in little endian byte order. For some * reason SMA is using both byte ...
45.97561
115
0.746419
mincequi
67a29da520cebca30f7e3443f3b7841af2a4f3a2
3,636
cpp
C++
Kaname/src/StillImageSource.cpp
sakamoto-poteko/Kaname
bdecd8660513e1e333d6ac5354fe59b3f971e106
[ "MIT" ]
null
null
null
Kaname/src/StillImageSource.cpp
sakamoto-poteko/Kaname
bdecd8660513e1e333d6ac5354fe59b3f971e106
[ "MIT" ]
null
null
null
Kaname/src/StillImageSource.cpp
sakamoto-poteko/Kaname
bdecd8660513e1e333d6ac5354fe59b3f971e106
[ "MIT" ]
null
null
null
/************************************************************************** * Copyright (C) 2016 Afa.L Cheng (afa@afa.moe) * * 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...
22.867925
77
0.660341
sakamoto-poteko
67a43abf012a805f5da17d32682c275ff35e00a5
1,008
cpp
C++
leetcode/190-reverse-bits/ReverseBits.cpp
giwankim/algo
8dd1cf8aed6e89db54e753c7ce5821019628c47f
[ "MIT" ]
null
null
null
leetcode/190-reverse-bits/ReverseBits.cpp
giwankim/algo
8dd1cf8aed6e89db54e753c7ce5821019628c47f
[ "MIT" ]
null
null
null
leetcode/190-reverse-bits/ReverseBits.cpp
giwankim/algo
8dd1cf8aed6e89db54e753c7ce5821019628c47f
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; uint32_t reverseBits(uint32_t n) { uint32_t ret = 0; for (int i = 0; i < 32; ++i) { if (n & (1 << (31 - i))) { ret |= 1 << i; } } return ret; } int main(int argc, char const *argv[]) { { cout << "======Example 1=====...
27.243243
63
0.493056
giwankim
67a58d029ef07b46a4dea777e9533e9530c9aa4f
6,646
cpp
C++
src/GUI/LIDconfig.cpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
5
2017-11-20T19:32:27.000Z
2018-08-28T06:08:45.000Z
src/GUI/LIDconfig.cpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
1
2017-07-04T05:40:30.000Z
2017-07-04T05:43:37.000Z
src/GUI/LIDconfig.cpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
2
2017-11-09T22:00:45.000Z
2018-08-30T10:56:08.000Z
#include "stdafx.h" #include "LIDconfig.h" #include <iostream> #include <fstream> CLIDconfig::CLIDconfig(void) { } CLIDconfig::~CLIDconfig(void) { } CLIDconfig& CLIDconfig::operator = (const CLIDconfig &CC) { keyword = CC.keyword; value = CC.value; param_names = CC.param_names; param_vals = CC.param_vals; exp...
23.906475
122
0.605627
ArashMassoudieh
67a716b157b8d3ac2cc636a9bc0aeafd164a748f
5,392
cpp
C++
src/NGFX/Private/Vulkan/vk_low_level_mem.cpp
PixPh/kaleido3d
8a8356586f33a1746ebbb0cfe46b7889d0ae94e9
[ "MIT" ]
38
2019-01-10T03:10:12.000Z
2021-01-27T03:14:47.000Z
src/NGFX/Private/Vulkan/vk_low_level_mem.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
null
null
null
src/NGFX/Private/Vulkan/vk_low_level_mem.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
8
2019-04-16T07:56:27.000Z
2020-11-19T02:38:37.000Z
#include "vk_common.h" namespace vulkan { Allocator gAllocator; VkAllocationCallbacks gAllocationCallbacks = { &gAllocator, &Allocator::alloc, &Allocator::realloc, &Allocator::free, &Allocator::notifyAlloc, &Allocator::notifyFree, }; vo...
28.529101
154
0.71773
PixPh
67ab4cc0d51533fc5072d7208e273581d4d5f67f
230
cpp
C++
atcoder/abc/abc_114/a.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
atcoder/abc/abc_114/a.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
atcoder/abc/abc_114/a.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
#include <iostream> int main() { int x; std::cin >> x; if (x == 3 | x == 5 | x == 7) { std::cout << "YES" << std::endl; } else { std::cout << "NO" << std::endl; } return 0; }
12.105263
40
0.369565
hsmtknj
67aed8641a9bb44398fadaf6171ecd8b24e9089b
4,487
cpp
C++
Core/PawnEngine/engine/GameScene.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Core/PawnEngine/engine/GameScene.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Core/PawnEngine/engine/GameScene.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
#include "GameScene.h" #include "GameEntity.h" #include "Renderer.h" #include "components/CameraComponent.h" #include "components/MeshComponent.h" #include "components/ScriptComponent.h" #include "components/TagComponent.h" #include "components/Texture2DComponent.h" #include "components/TransformationComponent.h" #i...
33.485075
162
0.746824
obivan43
67b3ae3081f5f72601f025f18986482f7ef4d5d6
2,024
cpp
C++
fboss/agent/hw/sai/switch/SaiQueueManager.cpp
soumithx/fboss
84e921dcef19174c4c61d93e04736d80ba0b2b1c
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/sai/switch/SaiQueueManager.cpp
soumithx/fboss
84e921dcef19174c4c61d93e04736d80ba0b2b1c
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/sai/switch/SaiQueueManager.cpp
soumithx/fboss
84e921dcef19174c4c61d93e04736d80ba0b2b1c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
33.180328
79
0.746047
soumithx
67b3e5c5fee496ff428259256bc838edad3a7c32
13,344
cc
C++
tests/libtests/materials/data/obsolete/GenMaxwellQpQsIsotropic3DElasticData.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/materials/data/obsolete/GenMaxwellQpQsIsotropic3DElasticData.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/materials/data/obsolete/GenMaxwellQpQsIsotropic3DElasticData.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
22.24
113
0.715528
Grant-Block
67b427406fbf68dec4daa737313874b243e1edc0
65,324
cpp
C++
webkit/WebCore/platform/KURL.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/platform/KURL.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/platform/KURL.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2004, 2007, 2008 Apple Inc. All rights reserved. * Copyright (c) 2010 ACCESS CO., LTD. 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...
34.91395
145
0.584532
s1rcheese
67b803ccf4f15775ef05281b82947b086c9e5fb3
7,235
cc
C++
influxdb/test/influxdb12.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
influxdb/test/influxdb12.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
influxdb/test/influxdb12.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* * Copyright 2019 Centreon (https://www.centreon.com/) * * 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 applica...
27.934363
78
0.644782
centreon-lab
67bac463ee64f430309bc5f8d119f9a6ec046840
24,828
cc
C++
controller/src/map/gui/soccerview.cc
GuttinRibeiro/TCC
fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd
[ "MIT" ]
null
null
null
controller/src/map/gui/soccerview.cc
GuttinRibeiro/TCC
fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd
[ "MIT" ]
null
null
null
controller/src/map/gui/soccerview.cc
GuttinRibeiro/TCC
fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd
[ "MIT" ]
null
null
null
//======================================================================== // This software is free: you can redistribute it and/or modify // it under the terms of the GNU General Public License Version 3, // as published by the Free Software Foundation. // // This software is distributed in the hope that it will b...
31.628025
187
0.694377
GuttinRibeiro
67baeac1a20ae0c840e49a7f77ffc9a3ce123afc
2,421
cpp
C++
extensions/ringqt/cpp/src/giodevice.cpp
3bdullahnf/ring
41c7357b2be7003cf62074c3234f30fc98620ba1
[ "MIT" ]
4
2019-03-17T09:46:16.000Z
2019-03-19T12:52:00.000Z
extensions/ringqt/cpp/src/giodevice.cpp
3bdullahnf/ring
41c7357b2be7003cf62074c3234f30fc98620ba1
[ "MIT" ]
null
null
null
extensions/ringqt/cpp/src/giodevice.cpp
3bdullahnf/ring
41c7357b2be7003cf62074c3234f30fc98620ba1
[ "MIT" ]
1
2019-03-17T09:45:58.000Z
2019-03-17T09:45:58.000Z
/* Copyright (c) 2013-2018 Mahmoud Fayed <msfclipper@yahoo.com> */ extern "C" { #include "ring.h" } #include "giodevice.h" GIODevice::GIODevice(QObject *parent,VM *pVM) : QIODevice(parent) { this->pVM = pVM; this->pParaList = ring_list_new(0); strcpy(this->caboutToCloseEvent,""); strcpy(this->cbytesWrittenEvent,...
20.87069
93
0.743494
3bdullahnf
67be23d4c5ca091b5fe531f2dfefd37729feb5cb
6,712
cpp
C++
convert/main.cpp
keithoma/the_shape_of_data
143f94685f5b77e562463f158cc97544579f14ad
[ "MIT" ]
null
null
null
convert/main.cpp
keithoma/the_shape_of_data
143f94685f5b77e562463f158cc97544579f14ad
[ "MIT" ]
null
null
null
convert/main.cpp
keithoma/the_shape_of_data
143f94685f5b77e562463f158cc97544579f14ad
[ "MIT" ]
null
null
null
// This file is part of the "convert" project, https://github.com/keithoma> // (c) 2019 Kei Thoma <thomakei@gmail.com> // (c) 2019 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a c...
34.071066
110
0.630513
keithoma
67befc61bb42307d94edc3010f60fd6c0b8d3221
612
cpp
C++
src/Core/Script/LuaState.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
442
2017-03-03T11:42:11.000Z
2021-05-20T13:40:02.000Z
src/Core/Script/LuaState.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
308
2017-02-21T10:39:31.000Z
2021-05-14T21:30:56.000Z
src/Core/Script/LuaState.cpp
Mizugola/ObEngine
e39437935516113852a08e2d8122075bddb442b9
[ "MIT" ]
45
2017-03-11T15:24:28.000Z
2021-05-09T15:21:42.000Z
#include <Script/LuaState.hpp> #include <System/Path.hpp> namespace obe::Script { void LuaState::loadConfig(const vili::node& config) { if (config.contains("patchIO") && config.at("patchIO").as_boolean()) { this->safe_script_file("obe://Lib/Internal/Filesystem.lua"_fs); } ...
30.6
79
0.614379
lukefelsberg
67bf14f0f12be71fb5b5f19dd403426fab448e1d
2,015
hpp
C++
lib/libcpp/FadalightMesh/FadalightMesh/quadtotri.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/FadalightMesh/FadalightMesh/quadtotri.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/FadalightMesh/FadalightMesh/quadtotri.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#ifndef __FadalightMesh_QuadToTri_h #define __FadalightMesh_QuadToTri_h #include "quadrilateralmesh.hpp" #include "trianglemesh.hpp" /*--------------------------------------------------------------------------*/ namespace FadalightMesh { class QuadrilateralMesh; class PatchInfo; class TriOfQuad { protecte...
32.5
113
0.64268
beckerrh
67bf46ef5f7b7ed9475d0ffca9ef73594e030bc6
3,471
hpp
C++
Game/tank.hpp
vhundef/ExtCourseWork
dbdba4800d989a8f0a58e73b17e7f0e5cb589cc7
[ "MIT" ]
null
null
null
Game/tank.hpp
vhundef/ExtCourseWork
dbdba4800d989a8f0a58e73b17e7f0e5cb589cc7
[ "MIT" ]
null
null
null
Game/tank.hpp
vhundef/ExtCourseWork
dbdba4800d989a8f0a58e73b17e7f0e5cb589cc7
[ "MIT" ]
null
null
null
// // Created by vhundef on 15.09.2019. // #ifndef TANKSCOURSEWORKRD_TANK_HPP #define TANKSCOURSEWORKRD_TANK_HPP #include "moveable_object.hpp" #include "sprite.hpp" #include "weapon.hpp" class Tank : virtual public MoveableObject, virtual public Sprite, virtual public GameObject { private: MapManager *mapManager{...
24.443662
94
0.675886
vhundef
67c1f97f57555efbf417e977b8c4999204767378
955
cpp
C++
Inheritance/main.cpp
jdickerson80/LearningMaterial
2c1b02ce6903898a9a23f6b4497b7ead270d9cea
[ "MIT" ]
null
null
null
Inheritance/main.cpp
jdickerson80/LearningMaterial
2c1b02ce6903898a9a23f6b4497b7ead270d9cea
[ "MIT" ]
null
null
null
Inheritance/main.cpp
jdickerson80/LearningMaterial
2c1b02ce6903898a9a23f6b4497b7ead270d9cea
[ "MIT" ]
null
null
null
#include "ChevyCamaro.h" #include "FordMustang.h" #include "HarleyNightTrain.h" #include <stdio.h> #define VehicleArraySize ( 3 ) void deleteArray( VehicleBase* vehicles[], size_t size ); int main() { VehicleBase* vehicleArray[ VehicleArraySize ]; // uncomment the below statement to show how a single (can be mo...
23.292683
100
0.677487
jdickerson80
67c4caed8425b4ce1fd989f9cd9e2abe5c4236a4
14,079
cpp
C++
src/StageStats.cpp
Midiman/stepmania
a55d5d614c4caa8b035b9b7cdca94017baba026b
[ "MIT" ]
1
2019-02-13T07:01:27.000Z
2019-02-13T07:01:27.000Z
src/StageStats.cpp
Tatsh/stepmania
bff04ba72e9d578e922fd830819515559b535c45
[ "MIT" ]
null
null
null
src/StageStats.cpp
Tatsh/stepmania
bff04ba72e9d578e922fd830819515559b535c45
[ "MIT" ]
null
null
null
#include "global.h" #include "StageStats.h" #include "GameState.h" #include "Foreach.h" #include "Steps.h" #include "Song.h" #include "RageLog.h" #include "PrefsManager.h" #include "PlayerState.h" #include "Style.h" #include "Profile.h" #include "ProfileManager.h" /* Arcade: for the current stage (one song). * Nons...
32.74186
224
0.722708
Midiman
67c55fcc417cff0922616ccacfaeb5bcabced4d0
3,130
cc
C++
extern/glow-extras/pipeline/glow-extras/pipeline/stages/implementations/OutputStage.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow-extras/pipeline/glow-extras/pipeline/stages/implementations/OutputStage.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow-extras/pipeline/glow-extras/pipeline/stages/implementations/OutputStage.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#include "OutputStage.hh" #include <glow/common/scoped_gl.hh> #include <glow/objects/Framebuffer.hh> #include <glow/objects/Program.hh> #include <glow/objects/Texture3D.hh> #include <glow/objects/TextureRectangle.hh> #include <glow-extras/geometry/FullscreenTriangle.hh> #include "../../RenderCallback.hh" #include "....
34.777778
138
0.663259
rovedit
67c9850a39cadee6e5e0db481917248b3d2ca615
2,213
cpp
C++
src/3-quicksort.cpp
getack/duplicate_search_benchmark
bf53e0dd1790db122813b413d8a53f559163e07b
[ "Unlicense" ]
2
2019-10-18T11:36:26.000Z
2021-11-16T14:37:02.000Z
src/3-quicksort.cpp
dj-louw/duplicate_search_benchmark
bf53e0dd1790db122813b413d8a53f559163e07b
[ "Unlicense" ]
null
null
null
src/3-quicksort.cpp
dj-louw/duplicate_search_benchmark
bf53e0dd1790db122813b413d8a53f559163e07b
[ "Unlicense" ]
null
null
null
// C++ includes #include <iostream> // for io related stuff #include <sstream> // for std::stringstream #include <string> // for std::string // External Library includs #include "../danlib/danlib.h" // Other file includes #include "algorithms/algorithms.h" using namespace std; int main() { c...
23.294737
96
0.609128
getack
67ca6906c4cfa7c1842d96cdc64a1cae2d7c45eb
833
cpp
C++
Cpp/653_two_sums_IV-Input_is_BST/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/653_two_sums_IV-Input_is_BST/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/653_two_sums_IV-Input_is_BST/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
/** * 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: bool findTarget(TreeNode* root, int k) { vector<int> nums; inorderTraversal(root, nums); ...
22.513514
60
0.558223
zszyellow
67ce5dd3682545e7d162229452caeef5de990b81
3,281
cpp
C++
C++/OOPS/virtual_functions1.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
C++/OOPS/virtual_functions1.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
C++/OOPS/virtual_functions1.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// A virtual function is a member function which is declared // in the base class using the keyword virtual and is // re-defined (Overriden) by the derived class. // When you refer to a derived class object using a pointer or a // reference to the base class, you can call a virtual function for // that object and exec...
32.485149
94
0.69491
abhishekjha786
67d0f767d69c1945c583410be2d44b095ff73be0
1,864
cpp
C++
bak/src/BaseResource.cpp
benjamin-fukdawurld/FDCore
37c49b4b8b0a26684253ef16eb4fbe8114f747c8
[ "Apache-2.0" ]
null
null
null
bak/src/BaseResource.cpp
benjamin-fukdawurld/FDCore
37c49b4b8b0a26684253ef16eb4fbe8114f747c8
[ "Apache-2.0" ]
null
null
null
bak/src/BaseResource.cpp
benjamin-fukdawurld/FDCore
37c49b4b8b0a26684253ef16eb4fbe8114f747c8
[ "Apache-2.0" ]
null
null
null
#include <FDCore/BaseResource.h> FDCore::BaseResource::BaseResource() : BaseResource("") {} FDCore::BaseResource::BaseResource(std::string_view resourceName) : BaseResource(resourceName, "") { } FDCore::BaseResource::BaseResource(std::string_view resourceName, std::string_view resourcePath) : AbstractResource()...
30.064516
98
0.749464
benjamin-fukdawurld
67d43a7871392785cfc03f74853451fe2d87cad2
5,032
cpp
C++
src/transaction/transaction.cpp
c5sire/duckdb
2266d0e6e353aab104026c9674af7158b948bae0
[ "MIT" ]
null
null
null
src/transaction/transaction.cpp
c5sire/duckdb
2266d0e6e353aab104026c9674af7158b948bae0
[ "MIT" ]
null
null
null
src/transaction/transaction.cpp
c5sire/duckdb
2266d0e6e353aab104026c9674af7158b948bae0
[ "MIT" ]
null
null
null
#include "duckdb/transaction/transaction.hpp" #include "duckdb/main/client_context.hpp" #include "duckdb/catalog/catalog_entry/table_catalog_entry.hpp" #include "duckdb/common/exception.hpp" #include "duckdb/parser/column_definition.hpp" #include "duckdb/storage/data_table.hpp" #include "duckdb/storage/write_ahead_log...
35.188811
115
0.747615
c5sire
67d7c2427bdf583e0a5922d2589cc42d0ff6e15a
5,516
cpp
C++
src/Interpreters/BlockUtils.cpp
powerpistn/daisy
10e3b30ca3e11d18df35475f9eb14c6b4715aeae
[ "Apache-2.0" ]
null
null
null
src/Interpreters/BlockUtils.cpp
powerpistn/daisy
10e3b30ca3e11d18df35475f9eb14c6b4715aeae
[ "Apache-2.0" ]
null
null
null
src/Interpreters/BlockUtils.cpp
powerpistn/daisy
10e3b30ca3e11d18df35475f9eb14c6b4715aeae
[ "Apache-2.0" ]
null
null
null
#include "BlockUtils.h" #include <Columns/ColumnsNumber.h> #include <Core/Types.h> #include <DataTypes/DataTypeFactory.h> #include <DataTypes/DataTypeString.h> #include <Databases/DatabaseFactory.h> #include <DistributedWriteAheadLog/KafkaWAL.h> #include <DistributedWriteAheadLog/WAL.h> #include <DistributedWriteAhead...
33.02994
130
0.651378
powerpistn
67da43925c2cb37e15adb63ac84d9868e855ed54
2,867
cpp
C++
apps/cabinet/main.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
null
null
null
apps/cabinet/main.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
14
2019-11-17T14:46:25.000Z
2021-03-10T02:48:40.000Z
apps/cabinet/main.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
null
null
null
#include <iostream> #include "pigpiodpp/pihardwaremanagerfactory.hpp" #include "lineside/xml/configurationreader.hpp" #include "lineside/pwitemmanager.hpp" #include "cmdlineopts.hpp" #include "stubsoftwaremanager.hpp" #include "lineside/jsonrpc/rpcserver.hpp" #include "lineside/jsonrpc/cpphttplibconnector.hpp" #inc...
33.337209
228
0.654691
freesurfer-rge
67dd343744de67da2ebe9e1ac0b66299030d84c4
1,014
cpp
C++
CSC121/BubbleSort.cpp
Kush12747/CSC121
b4b781427dedf1f0d0083f3fd91e21edf489357c
[ "MIT" ]
null
null
null
CSC121/BubbleSort.cpp
Kush12747/CSC121
b4b781427dedf1f0d0083f3fd91e21edf489357c
[ "MIT" ]
null
null
null
CSC121/BubbleSort.cpp
Kush12747/CSC121
b4b781427dedf1f0d0083f3fd91e21edf489357c
[ "MIT" ]
null
null
null
//bubble sort #include <iostream> using namespace std; void bubbleSort(int[], int); int main() { int i, list[] = { 2, 56, 34, 25, 73, 46, 89, 10, 5, 16 };//--24 //int i, list[] = { 1, 2, 3, 4, 5, 6, 11, 10, 9, 8 };//-->6 cout << "Before BUBBLE sorting the array elements are: " << endl; for (i = 0; i <...
26
67
0.539448
Kush12747
67dd8bbca19bcc17a010dc7470dd9193cd8c0112
100
cpp
C++
tests/test_site.cpp
stdml/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
2
2018-09-30T14:51:37.000Z
2020-01-26T02:28:47.000Z
tests/test_site.cpp
lgarithm/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
7
2018-09-30T06:11:44.000Z
2020-02-16T14:18:50.000Z
tests/test_site.cpp
stdml/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
1
2019-10-08T00:26:41.000Z
2019-10-08T00:26:41.000Z
#include "testing.hpp" #include <tracer/site> void f() { // TODO } TEST(suite, test_1) { f(); }
10
28
0.59
stdml
67de1c763b3b628fd7b5d8cb4b92a40361c9fcb5
17,238
hpp
C++
extern/FST3lib/_src_search/search_monte_carlo_threaded.hpp
boussaffawalid/FeatureSelection
9768a044c0c0dc2c4a2dc0f6e65413d19e92766c
[ "Apache-2.0" ]
3
2015-07-07T20:18:35.000Z
2019-04-23T06:46:02.000Z
extern/FST3lib/_src_search/search_monte_carlo_threaded.hpp
boussaffawalid/FeatureSelection
9768a044c0c0dc2c4a2dc0f6e65413d19e92766c
[ "Apache-2.0" ]
1
2021-02-08T08:35:28.000Z
2021-02-10T08:57:35.000Z
extern/FST3lib/_src_search/search_monte_carlo_threaded.hpp
boussaffawalid/FeatureSelection
9768a044c0c0dc2c4a2dc0f6e65413d19e92766c
[ "Apache-2.0" ]
3
2015-04-13T13:11:19.000Z
2017-02-26T08:18:47.000Z
#ifndef FSTSEARCHMONTECARLOTHREADED_H #define FSTSEARCHMONTECARLOTHREADED_H /*!====================================================================== Feature Selection Toolbox 3 source code --------------------------------------- \file search_monte_carlo_threaded.hpp \brief Implements threaded versi...
54.037618
391
0.710929
boussaffawalid
67de4dfc3ac305f112b0087f1736999bdefdb5ed
1,587
cpp
C++
mp/src/old/dlls/intermission.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/dlls/intermission.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/dlls/intermission.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 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 ...
25.596774
79
0.570258
MaartenS11
67e7b8b7b123cd029d15bf4118eeaac50b543ed8
1,380
hpp
C++
src/backends/cl/workloads/ClL2NormalizationFloatWorkload.hpp
Srivathsav-max/armnn-clone
af2daa6526623c91ee97f7141be4d1b07de92a48
[ "MIT" ]
1
2022-03-31T18:21:59.000Z
2022-03-31T18:21:59.000Z
src/backends/cl/workloads/ClL2NormalizationFloatWorkload.hpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
src/backends/cl/workloads/ClL2NormalizationFloatWorkload.hpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include <armnn/backends/Workload.hpp> #include <arm_compute/runtime/CL/functions/CLL2NormalizeLayer.h> namespace armnn { arm_compute::Status ClL2NormalizationWorkloadValidate(const TensorInfo& inp...
31.363636
99
0.694203
Srivathsav-max
67ec1bacc59a1b15304e97d63ea10bec1b65fa27
4,338
cpp
C++
common/src/api/number.cpp
peelonet/laskin
3008d16d0e9920e1639db9601e0b8c5a238eaebb
[ "BSD-2-Clause" ]
2
2017-11-10T00:28:22.000Z
2020-12-09T22:18:02.000Z
common/src/api/number.cpp
peelonet/laskin
3008d16d0e9920e1639db9601e0b8c5a238eaebb
[ "BSD-2-Clause" ]
1
2018-11-06T21:47:20.000Z
2018-11-06T21:47:20.000Z
common/src/api/number.cpp
RauliL/laskin
3008d16d0e9920e1639db9601e0b8c5a238eaebb
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2018, Rauli Laine * 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 conditi...
27.807692
79
0.658137
peelonet
67ec529eb82663407b53f4dadc93e79710628d03
42,837
hpp
C++
computational-physics/math/containers/matrix.hpp
cdalvaro2/Vibration-Normal-Modes-2D
424a7b80b8537fb9fdc0df5dc5f7c02325b20699
[ "MIT" ]
1
2021-11-23T01:37:57.000Z
2021-11-23T01:37:57.000Z
computational-physics/math/containers/matrix.hpp
cdalvaro/computational-physics
424a7b80b8537fb9fdc0df5dc5f7c02325b20699
[ "MIT" ]
null
null
null
computational-physics/math/containers/matrix.hpp
cdalvaro/computational-physics
424a7b80b8537fb9fdc0df5dc5f7c02325b20699
[ "MIT" ]
null
null
null
// // matrix.hpp // Vibration Normal Modes 2D // // Created by Carlos David on 04/06/2018. // Copyright © 2018 cdalvaro. All rights reserved. // #pragma once #include <algorithm> #include <cmath> #include <fstream> #include <iostream> #include <sstream> #include <stdexcept> #include <type_traits> #include "../al...
40.797143
139
0.399398
cdalvaro2
67f4547de29e42b7e42189635458926926b1d271
4,524
cpp
C++
framework/gpioOutputPin.cpp
lxrobotics/arduinoio
afcb5404ffe373086130149fb1a403d28bab39a7
[ "BSD-3-Clause" ]
null
null
null
framework/gpioOutputPin.cpp
lxrobotics/arduinoio
afcb5404ffe373086130149fb1a403d28bab39a7
[ "BSD-3-Clause" ]
null
null
null
framework/gpioOutputPin.cpp
lxrobotics/arduinoio
afcb5404ffe373086130149fb1a403d28bab39a7
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2016, Alexander Entinger / LXRobotics * 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 * ...
31.636364
84
0.712423
lxrobotics
67f555a1739496a9dd99a7c450970817a072c655
12,433
cpp
C++
llvm/lib/SPIRV/OCLTypeToSPIRV.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
llvm/lib/SPIRV/OCLTypeToSPIRV.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
llvm/lib/SPIRV/OCLTypeToSPIRV.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
//===- OCLTypeToSPIRV.cpp - Adapt types from OCL for SPIRV ------*- C++ -*-===// // // The LLVM/SPIRV Translator // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // // Copyright (c) 2014 Advanced Micro Devices, Inc. All rights reser...
33.512129
80
0.660339
dmitryryintel
67f6faa1541b13037b6f4473c7c143ed487fb17d
934
cpp
C++
Target/Vanilla-H/CCore/src/sys/SysTask.cpp
SergeyStrukov/CCore-2-xx
118aa4011ee7cc587298d6373b6587540e044a83
[ "BSL-1.0" ]
8
2017-12-21T07:00:16.000Z
2020-04-02T09:05:55.000Z
Target/Vanilla-H/CCore/src/sys/SysTask.cpp
SergeyStrukov/CCore-2-99
1eca5b9b2de067bbab43326718b877465ae664fe
[ "BSL-1.0" ]
null
null
null
Target/Vanilla-H/CCore/src/sys/SysTask.cpp
SergeyStrukov/CCore-2-99
1eca5b9b2de067bbab43326718b877465ae664fe
[ "BSL-1.0" ]
1
2020-03-30T09:54:18.000Z
2020-03-30T09:54:18.000Z
/* SysTask.cpp */ //---------------------------------------------------------------------------------------- // // Project: CCore 2.00 // // Tag: Target/Vanilla-H // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // ...
16.103448
90
0.509636
SergeyStrukov
67feb3f9b429f0e971c5697ce6a2bbd8bd4e207d
790
cpp
C++
src/hal/ComediDigOut.cpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
src/hal/ComediDigOut.cpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
src/hal/ComediDigOut.cpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
#include <eeros/hal/ComediDigOut.hpp> using namespace eeros::hal; ComediDigOut::ComediDigOut(std::string id, ComediDevice* device, uint32_t subDeviceNumber, uint32_t channel, bool inverted) : PeripheralOutput<bool>(id) { this->deviceHandle = device->getDeviceHandle(); this->subDeviceNumber = subDeviceNumber; this-...
29.259259
154
0.762025
bajric
db0121cc494ad1abdb14792eab6abfadb5d8242c
2,919
cpp
C++
src/main.cpp
PierreTSE/projet-info
383b51dff32d978648f91be5ef41f15b360fd18d
[ "MIT" ]
null
null
null
src/main.cpp
PierreTSE/projet-info
383b51dff32d978648f91be5ef41f15b360fd18d
[ "MIT" ]
null
null
null
src/main.cpp
PierreTSE/projet-info
383b51dff32d978648f91be5ef41f15b360fd18d
[ "MIT" ]
null
null
null
// Début du fichier main.cpp /** * \file main.cpp * \brief Contient la fonction main * * Ce fichier contient la fonction : * int main(int argc, char** argv) * qui est le point d'entrée d'un programme C++ * (cf documentation de la fonction en question). */ #include "Application.hpp" // Inclut le heade...
44.907692
110
0.717712
PierreTSE
db01edbf9d033dbc5821567dbfdb32665fd2ddec
256
cpp
C++
Source/ChlumskyMSDFGen/Private/Module/ChlumskyMSDFGen.cpp
AurochChris/RTMSDF
33e6cb429f487fab18c2f4ba900da398cba4ab9e
[ "MIT" ]
5
2022-03-15T16:30:40.000Z
2022-03-18T14:29:59.000Z
Source/ChlumskyMSDFGen/Private/Module/ChlumskyMSDFGen.cpp
AurochChris/RTMSDF
33e6cb429f487fab18c2f4ba900da398cba4ab9e
[ "MIT" ]
null
null
null
Source/ChlumskyMSDFGen/Private/Module/ChlumskyMSDFGen.cpp
AurochChris/RTMSDF
33e6cb429f487fab18c2f4ba900da398cba4ab9e
[ "MIT" ]
1
2022-03-15T11:43:35.000Z
2022-03-15T11:43:35.000Z
// Copyright (c) Richard Meredith AB. All Rights Reserved #include "ChlumskyMSDFGen.h" #define LOCTEXT_NAMESPACE "ChlumskyMSDFGen" DEFINE_LOG_CATEGORY(ChlumskyMSDFGen); IMPLEMENT_MODULE(FChlumskyMSDFGenModule, ChlumskyMSDFGen) #undef LOCTEXT_NAMESPACE
23.272727
57
0.835938
AurochChris
db061e2dd5f9a9361d0423b60c49ca4cf331187e
1,214
cc
C++
src/GameState.cc
koroshahangar/Monarchy
8938ca680c2cc9ea8aabba7ede0c44f23445bfea
[ "MIT" ]
null
null
null
src/GameState.cc
koroshahangar/Monarchy
8938ca680c2cc9ea8aabba7ede0c44f23445bfea
[ "MIT" ]
null
null
null
src/GameState.cc
koroshahangar/Monarchy
8938ca680c2cc9ea8aabba7ede0c44f23445bfea
[ "MIT" ]
null
null
null
#include "GameState.h" using namespace Monarchy; GameState::GameState(PlayerBodyList players): players(players) { turn_count = 0; } int GameState::getTurnCount() const { return turn_count; } bool GameState::isWithinBounds(Position position) { if(position.x < params.MIN_X || position.x > params.MAX_X) ...
25.829787
77
0.618616
koroshahangar
db099da25266764952155ea329019cc0fa14c2f3
1,949
cpp
C++
tests/test_mapped_vector.cpp
unseenp2pdev/bootstrap-dht
679c661463c3b7e43a34cbdf63dfda3e35ed8888
[ "MIT" ]
244
2015-01-14T05:44:24.000Z
2022-03-10T17:45:52.000Z
tests/test_mapped_vector.cpp
unseenp2pdev/bootstrap-dht
679c661463c3b7e43a34cbdf63dfda3e35ed8888
[ "MIT" ]
44
2015-06-16T03:12:54.000Z
2022-01-13T05:26:14.000Z
tests/test_mapped_vector.cpp
unseenp2pdev/bootstrap-dht
679c661463c3b7e43a34cbdf63dfda3e35ed8888
[ "MIT" ]
63
2015-01-14T05:44:26.000Z
2022-03-07T20:55:58.000Z
/* The MIT License (MIT) Copyright (c) 2016 Arvid Norberg 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,...
28.661765
80
0.716265
unseenp2pdev
db129e64e7f9abc3caf5e038385b3e81a3d7ae27
4,468
cpp
C++
src/vgui2/src/keyrepeat.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/vgui2/src/keyrepeat.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/vgui2/src/keyrepeat.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "inputsystem/InputEnums.h" #include "vgui/KeyCode.h" #include "vgui/keyrepeat.h" #include "tier0/dbg.h" // memdb...
25.101124
81
0.511191
DeadZoneLuna
db12f2884b4f9cb8ee42b569669c012ab9cca055
716
hpp
C++
hessian2/string_reader.hpp
yun1129/hessian2-codec
8e61255ebe0b257173da7d5f78950f6d776c5c3d
[ "Apache-2.0" ]
1
2021-01-07T13:24:34.000Z
2021-01-07T13:24:34.000Z
hessian2/string_reader.hpp
yun1129/hessian2-codec
8e61255ebe0b257173da7d5f78950f6d776c5c3d
[ "Apache-2.0" ]
null
null
null
hessian2/string_reader.hpp
yun1129/hessian2-codec
8e61255ebe0b257173da7d5f78950f6d776c5c3d
[ "Apache-2.0" ]
null
null
null
#pragma once #include "absl/strings/string_view.h" #include "hessian2/reader.hpp" namespace hessian2 { class StringReader : public Reader { public: StringReader(absl::string_view data) : buffer_(data){}; virtual ~StringReader() = default; virtual void RawReadNbytes(void* out, size_t len, ...
26.518519
73
0.682961
yun1129
db13ada92fec5b7b051239a3945d883ac1459b03
18,618
hpp
C++
include/GlobalNamespace/UIKeyboard.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/UIKeyboard.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/UIKeyboard.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
58.18125
834
0.741111
Fernthedev
db13d55699c8e7efff679f3f0b25d4a9fcba2dac
954
cpp
C++
lonestar/experimental/tc/tc.cpp
lineagech/Galois
5c7c0abaf7253cb354e35a3836147a960a37ad5b
[ "BSD-3-Clause" ]
null
null
null
lonestar/experimental/tc/tc.cpp
lineagech/Galois
5c7c0abaf7253cb354e35a3836147a960a37ad5b
[ "BSD-3-Clause" ]
null
null
null
lonestar/experimental/tc/tc.cpp
lineagech/Galois
5c7c0abaf7253cb354e35a3836147a960a37ad5b
[ "BSD-3-Clause" ]
null
null
null
#define USE_DAG #define TRIANGLE #define USE_SIMPLE #define USE_EMB_LIST #define USE_BASE_TYPES #define CHUNK_SIZE 256 #include "pangolin.h" const char* name = "TC"; const char* desc = "Counts the triangles in a graph (inputs do NOT need to be symmetrized)"; const char* url = 0; class AppMiner : public VertexMiner...
28.058824
80
0.681342
lineagech
db17aae7101b1013a4e9a78339a9ae0659b60894
2,707
cpp
C++
src/rreil/id/memory_id.cpp
gdslang/summy
bd450278f18859eb94d1f30b7b878bbb1b94c42c
[ "Apache-2.0" ]
null
null
null
src/rreil/id/memory_id.cpp
gdslang/summy
bd450278f18859eb94d1f30b7b878bbb1b94c42c
[ "Apache-2.0" ]
null
null
null
src/rreil/id/memory_id.cpp
gdslang/summy
bd450278f18859eb94d1f30b7b878bbb1b94c42c
[ "Apache-2.0" ]
null
null
null
/* * memory_id.cpp * * Created on: Mar 18, 2015 * Author: Julian Kranz */ #include <cppgdsl/rreil/id/id.h> #include <summy/rreil/id/id_visitor.h> #include <summy/rreil/id/memory_id.h> #include <iostream> using namespace std; /* * allocation_memory_id */ void summy::rreil::allocation_memory_id::put(std:...
29.423913
101
0.704839
gdslang
db1aae1fa03867421e872e94e2229a5929fa3f88
2,549
hpp
C++
Lab3/Lab3/PriorityQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
Lab3/Lab3/PriorityQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
Lab3/Lab3/PriorityQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
#ifndef PRIORITY_QUEUE_HPP #define PRIORITY_QUEUE_HPP // This class defines a priority queue, implemented as a heap. A higher value // indicates a higher priority (e.g. an element with value 5 has a higher // priority than an element with value 1). // // The elements in the heap are represented using a sequential arra...
36.414286
79
0.727736
erickque
db1d01406b248756b5d9f7327f563f54f4e670d7
872
cpp
C++
tests/test_rvalueref.cpp
fraguela/depspawn
b5760f4c0d38a1b245ee5274e2ccc5c5fe2d3d45
[ "MIT" ]
8
2017-04-12T11:05:40.000Z
2022-03-29T11:10:27.000Z
tests/test_rvalueref.cpp
fraguela/depspawn
b5760f4c0d38a1b245ee5274e2ccc5c5fe2d3d45
[ "MIT" ]
null
null
null
tests/test_rvalueref.cpp
fraguela/depspawn
b5760f4c0d38a1b245ee5274e2ccc5c5fe2d3d45
[ "MIT" ]
null
null
null
/* DepSpawn: Data Dependent Spawn library Copyright (C) 2012-2021 Carlos H. Gonzalez, Basilio B. Fraguela. Universidade da Coruna Distributed under the MIT License. (See accompanying file LICENSE) */ /// /// \author Carlos H. Gonzalez <cgonzalezv@udc.es> /// \author Basilio B. Fraguela <basilio.fraguela@udc....
18.553191
88
0.588303
fraguela
db1dca6c72d0f838cc5464d91c9035a43b17836f
1,693
cpp
C++
src/Frameskip.cpp
hoholee12/super-fast-chip8-emulator
71ef477b3883e232dee8531ee2d2280180902ad8
[ "MIT" ]
7
2020-05-07T22:36:00.000Z
2020-12-30T07:49:40.000Z
src/Frameskip.cpp
hoholee12/chip8-emulator
71ef477b3883e232dee8531ee2d2280180902ad8
[ "MIT" ]
1
2020-06-14T14:18:55.000Z
2020-06-14T19:29:40.000Z
src/Frameskip.cpp
hoholee12/chip8-emulator
71ef477b3883e232dee8531ee2d2280180902ad8
[ "MIT" ]
null
null
null
#include"Frameskip.h" void Frameskip::init(int cpuspeed, int fps){ //frameskip init screenFps = fps; if (screenFps > timerSpeed) screenFps = timerSpeed; //no more than timerSpeed 60hz if (fsbSpeed < timerSpeed) fsbSpeed = timerSpeed; cpuSpeed = cpuspeed; if (cpuSpeed < fsbSpeed) cpuSpeed = fsbSpeed; //prevent ...
25.651515
110
0.728293
hoholee12
db1f1af9d4f3ec589915c185be01cac6793f5547
4,170
cpp
C++
src/protocol/http/http_helper.cpp
yyh12345685/libnbf
64f6fa1b37b88f673ead8577291b10a30cac4040
[ "Apache-2.0" ]
null
null
null
src/protocol/http/http_helper.cpp
yyh12345685/libnbf
64f6fa1b37b88f673ead8577291b10a30cac4040
[ "Apache-2.0" ]
null
null
null
src/protocol/http/http_helper.cpp
yyh12345685/libnbf
64f6fa1b37b88f673ead8577291b10a30cac4040
[ "Apache-2.0" ]
1
2021-10-13T01:35:07.000Z
2021-10-13T01:35:07.000Z
#include <iostream> #include <sstream> #include <string.h> #include "protocol/http/http_helper.h" #include "common/string_util.h" #include "message.h" namespace bdf { LOGGER_CLASS_IMPL(logger_, HttpParser); void HttpParser::InitParser(HttpAgent *agent){ http_parser_init(&parser_, HTTP_BOTH); parser_.data = ag...
27.986577
102
0.728297
yyh12345685
db2294a54b54f3ffdc12a4b544bef605e5834724
639
cpp
C++
Codeforces/686B - Little Robber Girl's Zoo.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/686B - Little Robber Girl's Zoo.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/686B - Little Robber Girl's Zoo.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> arr(n); for (auto &el: arr) cin >> el; for (int k = 0; k < n; ++k) { int i = 0; while( i < n - 1 ) { int j = i + 1, k = i; bool flag = false; while( j < n && ...
21.3
54
0.306729
naimulcsx
db22b8a760971be61e012f4473ad7e4a58e3b7d3
2,627
cp
C++
Win32/Sources/Application/Status/CVisualProgress.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/Status/CVisualProgress.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/Status/CVisualProgress.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
25.754902
78
0.665778
mulberry-mail
db22e1d751513db58e568583a845a9d40bacbb87
1,299
cpp
C++
C-S-C-Demo/Anwei/Anwei/main.cpp
zklmiao/CppNet
f32de93ddff8a2d49194840111a181edc8ae0293
[ "BSD-3-Clause" ]
null
null
null
C-S-C-Demo/Anwei/Anwei/main.cpp
zklmiao/CppNet
f32de93ddff8a2d49194840111a181edc8ae0293
[ "BSD-3-Clause" ]
null
null
null
C-S-C-Demo/Anwei/Anwei/main.cpp
zklmiao/CppNet
f32de93ddff8a2d49194840111a181edc8ae0293
[ "BSD-3-Clause" ]
null
null
null
// 加入多线程控制台 // 兼容多平台 #include <iostream> #include <algorithm> #include <thread> #include <string> #include <set> #include <map> #include <cstdlib> // 第一题 求补集 void test1() { std::string setA; std::string setB; std::cin >> setA; std::cin >> setB; if (!(setA.length() * setB.length())) return; std::set<char> set...
14.433333
51
0.501155
zklmiao
db259f1729a39862c1e88499ca306e4cd2e9a2b7
1,110
cpp
C++
boards/NROM.cpp
encoded-byte/miniNES
acc564d4a5e425e5a9072809428aacbd77c46bf7
[ "MIT" ]
null
null
null
boards/NROM.cpp
encoded-byte/miniNES
acc564d4a5e425e5a9072809428aacbd77c46bf7
[ "MIT" ]
null
null
null
boards/NROM.cpp
encoded-byte/miniNES
acc564d4a5e425e5a9072809428aacbd77c46bf7
[ "MIT" ]
null
null
null
#include "boards/NROM.h" ////////////////////////////////////////////////////////////////////////////// // // RAM ACCESS // ////////////////////////////////////////////////////////////////////////////// // RAM read: 0x6000 - 0x7fff uint8_t NROM::read_ram(uint16_t addr) { return ram[a...
21.346154
78
0.318919
encoded-byte
db2e46be23ee00f7a08525dbe5804534d58bb79a
1,154
cpp
C++
Problems/CtCi6thEd/Other/intersectionBetweenArrays.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
1
2021-07-08T01:02:06.000Z
2021-07-08T01:02:06.000Z
Problems/CtCi6thEd/Other/intersectionBetweenArrays.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
Problems/CtCi6thEd/Other/intersectionBetweenArrays.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
/*******************************************************************/ /* Problem: Calculate the intersection of two arrays (CtCi) ********/ /*******************************************************************/ /* Problem statement: Compute the intersection (the number of elements in common) of two arrays. Assum...
25.644444
82
0.565858
pedrotorreao
db3bb063f45ae0369aec4a006f3c4442e6131a03
8,562
cpp
C++
25_Morphing/main_morphing_example.cpp
lezhangisu/CprE_557-Fall_2018-ISU
5dd57e948abecfc92461f32f912412054c0a07f5
[ "MIT" ]
null
null
null
25_Morphing/main_morphing_example.cpp
lezhangisu/CprE_557-Fall_2018-ISU
5dd57e948abecfc92461f32f912412054c0a07f5
[ "MIT" ]
null
null
null
25_Morphing/main_morphing_example.cpp
lezhangisu/CprE_557-Fall_2018-ISU
5dd57e948abecfc92461f32f912412054c0a07f5
[ "MIT" ]
null
null
null
// // main_spotlight.cpp // HCI 557 Spotlight example // // Created by Rafael Radkowski on 5/28/15. // Copyright (c) 2015 -. All rights reserved. // // stl include #include <iostream> #include <string> // GLEW include #include <GL/glew.h> // GLM include files #define GLM_FORCE_INLINE #include <glm/glm.hpp> #incl...
30.254417
139
0.577786
lezhangisu
db4233d2772fb69597d2afd9f2d1b09355916be8
2,505
hpp
C++
src/main/cpp/khaiii/Word.hpp
tooget/khaiii
4fa1c347c377539ad23a30914171b1ddfc335812
[ "Apache-2.0" ]
1,235
2018-11-30T01:35:13.000Z
2022-03-31T03:47:48.000Z
src/main/cpp/khaiii/Word.hpp
tooget/khaiii
4fa1c347c377539ad23a30914171b1ddfc335812
[ "Apache-2.0" ]
91
2018-11-30T05:19:28.000Z
2022-03-14T12:38:44.000Z
src/main/cpp/khaiii/Word.hpp
tooget/khaiii
4fa1c347c377539ad23a30914171b1ddfc335812
[ "Apache-2.0" ]
332
2018-11-30T00:49:04.000Z
2022-03-30T01:57:54.000Z
/** * @author Jamie (jamie.lim@kakaocorp.com) * @copyright Copyright (C) 2017-, Kakao Corp. All rights reserved. */ #ifndef SRC_MAIN_CPP_KHAIII_WORD_HPP_ #define SRC_MAIN_CPP_KHAIII_WORD_HPP_ ////////////// // includes // ////////////// #include <memory> #include <string> #include <vector> #include "khaiii/kh...
26.09375
92
0.619162
tooget
b9cc966143b87cfd877bed39d2cd66f7a22d9274
873
hpp
C++
include/chapter-9/maximum_minimum/maximum_minimum.hpp
zero4drift/CLRS_Cpp_Implementations
efafbb34fb9f83dedecdcf01395def27fd64a33a
[ "MIT" ]
null
null
null
include/chapter-9/maximum_minimum/maximum_minimum.hpp
zero4drift/CLRS_Cpp_Implementations
efafbb34fb9f83dedecdcf01395def27fd64a33a
[ "MIT" ]
null
null
null
include/chapter-9/maximum_minimum/maximum_minimum.hpp
zero4drift/CLRS_Cpp_Implementations
efafbb34fb9f83dedecdcf01395def27fd64a33a
[ "MIT" ]
null
null
null
#ifndef MAXIMUM_MINIMUM_H #define MAXIMUM_MINIMUM_H #include <utility> namespace CLRS { template <typename T, std::size_t n> std::pair<T, T> maximum_minimum(T (&a)[n]) { T maximum, minimum; std::size_t index; if(n % 2 == 0) { if(a[0] >= a[1]) { maximum = a[0]; minimum = a[1]; ...
15.315789
44
0.482245
zero4drift
b9cd0afc8d4ce267d7d80ea04d1555a8e775ec6b
6,052
cpp
C++
srcs/response/ResponseHeader.cpp
NeuggWebserv/webserv
0b90c362239761f561a0db8b03da4c4586a44197
[ "MIT" ]
null
null
null
srcs/response/ResponseHeader.cpp
NeuggWebserv/webserv
0b90c362239761f561a0db8b03da4c4586a44197
[ "MIT" ]
6
2021-04-17T10:28:23.000Z
2021-05-02T09:51:32.000Z
srcs/response/ResponseHeader.cpp
NeuggWebserv/webserv
0b90c362239761f561a0db8b03da4c4586a44197
[ "MIT" ]
null
null
null
#include "ResponseHeader.hpp" std::map<int, std::string> ResponseHeader::errors = init_error_map(); // Member functions std::string ResponseHeader::get_header(size_t size, const std::string& path, int code, std::string type, const std::string& content_loc, const std::string& lang) { std::string header; reset_val...
22.332103
162
0.653007
NeuggWebserv
b9cd5f01c3b5c8568a93c98a249d27e6bf7763a5
356
cpp
C++
swap.cpp
adityamangal1/Advanced-Cpp
b44faa17176d7268eeb5814af02f8ba9ec0ec03a
[ "MIT" ]
6
2020-10-02T11:16:30.000Z
2021-08-01T07:01:19.000Z
swap.cpp
jaffarabbas/Advanced-Cpp
74080471d13c23cf0dcbb9fb21026443d88a618d
[ "MIT" ]
null
null
null
swap.cpp
jaffarabbas/Advanced-Cpp
74080471d13c23cf0dcbb9fb21026443d88a618d
[ "MIT" ]
1
2020-10-09T07:51:24.000Z
2020-10-09T07:51:24.000Z
#include<iostream> using namespace std; int swap(int &a, int &b); int main() { int x=3; int y=4; cout<<"the value of x is "<<x<<" and the value of y is "<<y<<endl; swap(x, y); cout<<"the value of x is "<<x<<" and the value of y is "<<y<<endl; return 0; } int swap(int &a, int &b) { int...
13.185185
70
0.519663
adityamangal1
b9cf04266c4f61b67dd2186c75473fc8f3f85c2c
430
cpp
C++
Interview Bit Solutions/Stacks And Queues/Balanced Parantheses!.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
169
2021-05-30T10:02:19.000Z
2022-03-27T18:09:32.000Z
Interview Bit Solutions/Stacks And Queues/Balanced Parantheses!.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
1
2021-10-02T14:46:26.000Z
2021-10-02T14:46:26.000Z
Interview Bit Solutions/Stacks And Queues/Balanced Parantheses!.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
44
2021-05-30T19:56:29.000Z
2022-03-17T14:49:00.000Z
int Solution::solve(string A) { stack<char> s; for(int i=0;i<A.size();i++) { if(A[i]== '(' ) s.push(A[i]); else { if(A[i]==')' && !s.empty() && s.top()=='(') { s.pop(); } else { ...
14.827586
55
0.265116
bilwa496
b9daab3546b97b25e58ddc465e94293198c65d2e
15,268
cpp
C++
src/Calculator/Controls/EquationTextBox.cpp
simimadanmohan/calculator
fcbea550c8786b4e663223fc10cd54e6ffe8d30e
[ "MIT" ]
1
2020-04-22T10:33:34.000Z
2020-04-22T10:33:34.000Z
src/Calculator/Controls/EquationTextBox.cpp
simimadanmohan/calculator
fcbea550c8786b4e663223fc10cd54e6ffe8d30e
[ "MIT" ]
1
2020-04-29T03:08:03.000Z
2020-04-29T03:08:03.000Z
src/Calculator/Controls/EquationTextBox.cpp
simimadanmohan/calculator
fcbea550c8786b4e663223fc10cd54e6ffe8d30e
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "CalcViewModel/Common/AppResourceProvider.h" #include "CalcViewModel/Common/LocalizationStringUtil.h" #include "EquationTextBox.h" using namespace std; using namespace Platform; using namespace Ca...
31.415638
144
0.714304
simimadanmohan
b9dd61e19069eabc282c5852e1aeeb45db9c520d
3,596
hxx
C++
opencascade/IGESToBRep.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/IGESToBRep.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/IGESToBRep.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1994-03-22 // Created by: Frederic UNTEREINER // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of th...
37.852632
164
0.770022
mgreminger