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
c12f9235d75fddbb04bc9e14566add7f4548611c
916
hpp
C++
library/ATF/CNationSettingFactoryUSInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CNationSettingFactoryUSInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CNationSettingFactoryUSInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CNationSettingFactoryUS.hpp> START_ATF_NAMESPACE namespace Info { using CNationSettingFactoryUSctor_CNationSettingFactoryUS2_ptr = vo...
50.888889
181
0.793668
lemkova
c12fe574d791782e179ee54ff456dd7479d68965
3,361
cpp
C++
src/Tests/TestsModuleMath.cpp
sawickiap/MinScriptLang
360acd29781af324f3a611019dd4d30ec123a74e
[ "MIT" ]
16
2019-10-15T01:04:17.000Z
2022-02-22T11:41:18.000Z
src/Tests/TestsModuleMath.cpp
procedural/minscript
360acd29781af324f3a611019dd4d30ec123a74e
[ "MIT" ]
2
2021-11-10T08:21:46.000Z
2022-02-25T16:07:39.000Z
src/Tests/TestsModuleMath.cpp
procedural/minscript
360acd29781af324f3a611019dd4d30ec123a74e
[ "MIT" ]
3
2021-11-09T14:00:18.000Z
2022-02-22T05:29:45.000Z
/* MinScriptLang - minimalistic scripting language Version: 0.0.1-development, 2021-11 Homepage: https://github.com/sawickiap/MinScriptLang Author: Adam Sawicki, adam__REMOVE_THIS__@asawicki.info, https://asawicki.info ================================================================================ MIT Licens...
40.493976
123
0.656352
sawickiap
c13631a68e35ae107a4cca3fcdcdb2ba17c4c35e
9,989
cc
C++
src/heap/safepoint.cc
zingdle/v8
3abe95def30792089427750a4ccbe548addd2518
[ "BSD-3-Clause" ]
1
2022-01-14T10:13:45.000Z
2022-01-14T10:13:45.000Z
src/heap/safepoint.cc
zingdle/v8
3abe95def30792089427750a4ccbe548addd2518
[ "BSD-3-Clause" ]
null
null
null
src/heap/safepoint.cc
zingdle/v8
3abe95def30792089427750a4ccbe548addd2518
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/heap/safepoint.h" #include <atomic> #include "src/base/logging.h" #include "src/base/optional.h" #include "src/base/platform/mutex.h" #i...
29.996997
79
0.74562
zingdle
c136efe0e44349dbb25387bbdd989a9cad9ceed9
17,146
cpp
C++
CCured/program-dependence-graph/SVF/lib/Graphs/ICFG.cpp
Lightninghkm/DataGuard
4ac1370f7607cec5fc81c3b57f5a62fb1d40f463
[ "Apache-2.0" ]
9
2022-02-25T01:48:43.000Z
2022-03-20T04:48:44.000Z
CCured/program-dependence-graph/SVF/lib/Graphs/ICFG.cpp
Lightninghkm/DataGuard
4ac1370f7607cec5fc81c3b57f5a62fb1d40f463
[ "Apache-2.0" ]
1
2022-03-19T08:48:07.000Z
2022-03-21T00:51:51.000Z
CCured/program-dependence-graph/SVF/lib/Graphs/ICFG.cpp
Lightninghkm/DataGuard
4ac1370f7607cec5fc81c3b57f5a62fb1d40f463
[ "Apache-2.0" ]
null
null
null
//===- ICFG.cpp -- Sparse value-flow graph-----------------------------------// // // SVF: Static Value-Flow Analysis // // Copyright (C) <2013-2018> <Yulei Sui> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as pu...
30.080702
159
0.609997
Lightninghkm
c13916c981129b5380e1f9d82c6316d9996df7e6
4,847
cpp
C++
rai/Optim/retired/opt-newton.cpp
ControlTrees/rai
fe276ed3067ef75c451047bddc534bd2d3887813
[ "MIT" ]
null
null
null
rai/Optim/retired/opt-newton.cpp
ControlTrees/rai
fe276ed3067ef75c451047bddc534bd2d3887813
[ "MIT" ]
null
null
null
rai/Optim/retired/opt-newton.cpp
ControlTrees/rai
fe276ed3067ef75c451047bddc534bd2d3887813
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------ Copyright (c) 2017 Marc Toussaint email: marc.toussaint@informatik.uni-stuttgart.de This code is distributed under the MIT License. Please see <root-path>/LICENSE for details. ----------------------------------------------------...
39.406504
145
0.562616
ControlTrees
c13cf7a5fd5802e4fadfa7241025ae9f3da04eb5
400
cpp
C++
src/color.cpp
alohamora/legend-of-zelda
63b764ab27a171af1f809dcd8aa8e85b2c06accc
[ "MIT" ]
null
null
null
src/color.cpp
alohamora/legend-of-zelda
63b764ab27a171af1f809dcd8aa8e85b2c06accc
[ "MIT" ]
null
null
null
src/color.cpp
alohamora/legend-of-zelda
63b764ab27a171af1f809dcd8aa8e85b2c06accc
[ "MIT" ]
null
null
null
#include "main.h" const color_t COLOR_RED = { 236, 100, 75 }; const color_t COLOR_GREEN = { 135, 211, 124 }; const color_t COLOR_BLACK = { 52, 73, 94 }; const color_t COLOR_BACKGROUND = {204, 229, 255 }; const color_t COLOR_YELLOW = {255,255,0}; const color_t COLOR_BROWN = {153,76,0}; const color_t COLOR_BLUE = {0, 10...
36.363636
50
0.69
alohamora
c14280c30337e6b0fdc072ea175edb01cc62eb2a
1,659
hpp
C++
include/natalie/env.hpp
watzon/natalie
d4013d99d1302944838293b26e54c866fb99bd32
[ "MIT" ]
null
null
null
include/natalie/env.hpp
watzon/natalie
d4013d99d1302944838293b26e54c866fb99bd32
[ "MIT" ]
null
null
null
include/natalie/env.hpp
watzon/natalie
d4013d99d1302944838293b26e54c866fb99bd32
[ "MIT" ]
null
null
null
#pragma once #include <setjmp.h> #include <stdlib.h> #include "natalie/forward.hpp" #include "natalie/gc.hpp" #include "natalie/global_env.hpp" #include "natalie/vector.hpp" namespace Natalie { struct Env : public gc { Env() { } Env(Env *outer) : outer { outer } { global_env = outer->global...
25.921875
61
0.640145
watzon
c142e4ae6e1cd1b740e6a875d1fcfc396b336479
3,837
cpp
C++
src/SPbP.cpp
amflorio/dvrp-stochastic-requests
7a0e21a9afaf3f3c10e420f9b71447ee1c506f46
[ "MIT" ]
16
2022-03-01T19:26:10.000Z
2022-03-31T15:00:02.000Z
src/SPbP.cpp
amflorio/dvrp-stochastic-requests
7a0e21a9afaf3f3c10e420f9b71447ee1c506f46
[ "MIT" ]
null
null
null
src/SPbP.cpp
amflorio/dvrp-stochastic-requests
7a0e21a9afaf3f3c10e420f9b71447ee1c506f46
[ "MIT" ]
3
2022-03-02T02:04:45.000Z
2022-03-24T20:39:46.000Z
#include <numeric> #include "Dijkstra.h" #include "Path.h" #include "RouteReoptimizer.h" #include "SPbP.h" using namespace std; Decision SPbP::decide(const State& s) const { auto decpots=decisionsPotentials(s); if (decpots.empty()) return {false, 0, {}}; pair<int, double> bestdec {-1, numeric_limi...
39.153061
80
0.551733
amflorio
c149b2d8142162008afc0055f7ac22a1d50c46a8
3,972
cpp
C++
Modules/RenderWindowManager/src/mitkRenderWindowViewDirectionController.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/RenderWindowManager/src/mitkRenderWindowViewDirectionController.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/RenderWindowManager/src/mitkRenderWindowViewDirectionController.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
36.109091
151
0.743958
wyyrepo
c14e40ab5095e62ae76b6c0160c3d67149baed91
5,436
cc
C++
src/Modules/DataIO/Tests/ReadWriteMatrixFunctionalTest.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Modules/DataIO/Tests/ReadWriteMatrixFunctionalTest.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Modules/DataIO/Tests/ReadWriteMatrixFunctionalTest.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2012 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
39.970588
97
0.772075
benjaminlarson
c14f3e9e858a604a3180d96a8270802f88f92ecc
2,654
cpp
C++
source/VehicleServices/WSVehicleSearch.cpp
VincentPT/vschk
f8f40a7666d80224a9a24c097a4d52f5507d03de
[ "MIT" ]
null
null
null
source/VehicleServices/WSVehicleSearch.cpp
VincentPT/vschk
f8f40a7666d80224a9a24c097a4d52f5507d03de
[ "MIT" ]
null
null
null
source/VehicleServices/WSVehicleSearch.cpp
VincentPT/vschk
f8f40a7666d80224a9a24c097a4d52f5507d03de
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "WSVehicleSearch.h" #include "VehicleDAO/VehicleDAO.h" #include "RESTResponse.h" using namespace crab; WSVehicleSeach::WSVehicleSeach() {} WSVehicleSeach::~WSVehicleSeach(){} bool WSVehicleSeach::initialize() { return StolenVehicleDAO::connectToDatabase(); } bool WSVehicleSeach::uninit...
34.921053
110
0.755463
VincentPT
c15a15fbdfb3af846b0669539848162f54d96e0e
1,134
hpp
C++
include/sprout/weed/expr/make_expr.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/weed/expr/make_expr.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/weed/expr/make_expr.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
34.363636
84
0.641093
thinkoid
c15e16aec05f3ca9ce5044544a9b2e0c22a5814e
1,436
cpp
C++
Codeforces/Rounds/Codeforces Round #702 (Div. 3)/B.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
Codeforces/Rounds/Codeforces Round #702 (Div. 3)/B.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
Codeforces/Rounds/Codeforces Round #702 (Div. 3)/B.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/contest/1490/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; void solve () { int n, x = 0, y = 0, z = 0, cnt = 0; cin >> n; for (int i = 0; i < n; ++i) { int ...
20.225352
64
0.317549
MaGnsio
c1648729bd3ed6aa3e24b8577c47447ccb0f3917
8,571
cpp
C++
submodules/Digit_Model/gen/kin/eigen/src/p_RightToeRollB.cpp
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
submodules/Digit_Model/gen/kin/eigen/src/p_RightToeRollB.cpp
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
submodules/Digit_Model/gen/kin/eigen/src/p_RightToeRollB.cpp
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Thu 4 Nov 2021 17:03:01 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "p_RightToeRollB.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE static inline /* use stand...
22.262338
149
0.656633
prem-chand
c167f15218de0f533d5b73468bbd8cf9b73ef0f7
3,012
cpp
C++
aws-cpp-sdk-elastictranscoder/source/model/AudioParameters.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-elastictranscoder/source/model/AudioParameters.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-elastictranscoder/source/model/AudioParameters.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2021-10-01T15:29:44.000Z
2021-10-01T15:29:44.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
20.772414
78
0.727756
woohoou
c16a6879f9f9ca4b1f31bd6d0229fc933aa116a1
2,177
cpp
C++
ABC/ABC109/D.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC109/D.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC109/D.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //const int MOD = 100000...
24.188889
74
0.465779
rajyan
c16b631f6df0b96820d9cf91fba60a68039850bf
621
cpp
C++
Software Eng (1)/Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/27t1_System2.lump.cpp
HealthSouthern48/Unity-project
ad1956e23f55910dd6f51710d11413ecbf5b7b6d
[ "MIT" ]
null
null
null
Software Eng (1)/Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/27t1_System2.lump.cpp
HealthSouthern48/Unity-project
ad1956e23f55910dd6f51710d11413ecbf5b7b6d
[ "MIT" ]
null
null
null
Software Eng (1)/Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/27t1_System2.lump.cpp
HealthSouthern48/Unity-project
ad1956e23f55910dd6f51710d11413ecbf5b7b6d
[ "MIT" ]
null
null
null
//Generated lump file. generated by Bee.NativeProgramSupport.Lumping #include "C:/Users/19022/Downloads/Unity/Editor/Data/il2cpp/libil2cpp/icalls/mscorlib/System/Buffer.cpp" #include "C:/Users/19022/Downloads/Unity/Editor/Data/il2cpp/libil2cpp/icalls/mscorlib/System/GC.cpp" #include "C:/Users/19022/Downloads/Unity/E...
88.714286
116
0.819646
HealthSouthern48
c16c7a436c4e10f78672781604cdd9a78145fe1d
6,397
cpp
C++
Source/Graphics/VertexInput.cpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
Source/Graphics/VertexInput.cpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
Source/Graphics/VertexInput.cpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
#include "Precompiled.hpp" #include "VertexInput.hpp" #include "Buffer.hpp" using namespace Graphics; namespace { // Log error messages. #define LogInitializeError() "Failed to initialize a vertex input! " // Gets the vertex attribute type row size. int GetVertexAttributeTypeRowSize(VertexAttributeTyp...
25.898785
139
0.570424
gunstarpl
c16ccf3e9d6a0ad4b724691949abfcb620b260c4
11,835
cpp
C++
src/ui/import_helpers/player_table_importer.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/ui/import_helpers/player_table_importer.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/ui/import_helpers/player_table_importer.cpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#include <sstream> #include <QStringList> #include "core/actions/add_category_action.hpp" #include "core/actions/add_players_action.hpp" #include "core/actions/add_players_to_category_action.hpp" #include "core/actions/add_players_with_categories_action.hpp" #include "core/actions/draw_categories_action.hpp" #include ...
26.3
127
0.634136
svendcsvendsen
c1793161a066ad8852121ba6877acc0f9da6710e
362
hpp
C++
src/ECS/Component/Player.hpp
MajorArkwolf/ICT398-Project-Red
953f047507356aafdea856ff28f49de5b97b66cc
[ "MIT" ]
2
2021-04-18T09:49:36.000Z
2021-06-08T03:19:18.000Z
src/ECS/Component/Player.hpp
MajorArkwolf/ICT398-Project-Red
953f047507356aafdea856ff28f49de5b97b66cc
[ "MIT" ]
null
null
null
src/ECS/Component/Player.hpp
MajorArkwolf/ICT398-Project-Red
953f047507356aafdea856ff28f49de5b97b66cc
[ "MIT" ]
1
2022-03-14T06:06:07.000Z
2022-03-14T06:06:07.000Z
#pragma once #include "Engine/EulerCamera.hpp" #include <entt/entt.hpp> namespace component { struct Player { engine::Camera camera_{}; float height_ = 0.0f; float camera_height_offset_ = 170.0f; entt::entity selected_entity; void Update([[maybe_unused]] double t, [[maybe_u...
20.111111
76
0.618785
MajorArkwolf
c17f0299ef698e9ab172a60c8971e256a98646a8
6,846
hh
C++
src/transport/Sweeper.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/transport/Sweeper.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/transport/Sweeper.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*----------------------------------// /** * @file Sweeper.hh * @author Jeremy Roberts * @date Mar 24, 2012 * @brief Sweeper class definition. */ //---------------------------------------------------------------------------// #ifndef detran_SWEEPER_HH_ #define det...
32.445498
79
0.547911
RLReed
c180a405038cfcbd80be394106bc902bc8d4926c
2,000
hpp
C++
lib/openZia/openZia/Endpoint.hpp
NicolasKeita/Apache-like
e8e866ab164547dda4353dc6fbc8219e32846082
[ "MIT" ]
1
2020-01-13T22:50:40.000Z
2020-01-13T22:50:40.000Z
lib/openZia/openZia/Endpoint.hpp
NicolasKeita/My_Apache
e8e866ab164547dda4353dc6fbc8219e32846082
[ "MIT" ]
null
null
null
lib/openZia/openZia/Endpoint.hpp
NicolasKeita/My_Apache
e8e866ab164547dda4353dc6fbc8219e32846082
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** CPP_rtype_2019 ** File description: ** Endpoint */ #pragma once #include <cstring> #include <string> #include <cinttypes> namespace oZ { class Endpoint; using IP = std::uint32_t; using Port = std::uint16_t; using FileDescriptor = std::int32_t; } class oZ::Endpoint { p...
20.833333
110
0.5945
NicolasKeita
c18232044554eccc5754c89dfef7987bcc813552
3,186
hpp
C++
source/ui/ui_manager.hpp
Paul-Wortmann/Grume
0ffdd8f98e0b7d7857cc6a3e0f971f9a74651d17
[ "Intel" ]
3
2021-12-19T12:00:34.000Z
2021-12-30T08:36:58.000Z
source/ui/ui_manager.hpp
Paul-Wortmann/Grume
0ffdd8f98e0b7d7857cc6a3e0f971f9a74651d17
[ "Intel" ]
2
2021-11-02T05:30:53.000Z
2021-11-30T00:11:16.000Z
source/ui/ui_manager.hpp
Paul-Wortmann/Grume
0ffdd8f98e0b7d7857cc6a3e0f971f9a74651d17
[ "Intel" ]
null
null
null
/** * Copyright (C) Paul Wortmann * This file is part of "Grume" * * "Grume" 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, version 2 only. * * "Grume" is distributed in the hope that it will be usefu...
39.825
133
0.608914
Paul-Wortmann
c18456a1b37a997c01bf4bcaaea51a4d574f8de2
285
cpp
C++
main.cpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
main.cpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
main.cpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
#include "tests/test.hpp" namespace spn { namespace test { PathBlock g_apppath; }} int main(int argc, char **argv) { spn::test::g_apppath.setPath(argv[0]); spn::test::g_apppath.popBack(); spn::MTRandomMgr rmgr; ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
20.357143
40
0.705263
degarashi
c188dc33d4e4f3791355097031f913aba418b8ff
3,537
cpp
C++
qr/alphabet.cpp
AlexandrGraschenkov/QRCodes
c6342b6ddf41a350daebd401c5d3cd2c7aba9039
[ "MIT" ]
67
2019-03-15T03:26:05.000Z
2022-03-13T20:48:17.000Z
qr/alphabet.cpp
AlexandrGraschenkov/QRCodes
c6342b6ddf41a350daebd401c5d3cd2c7aba9039
[ "MIT" ]
5
2020-03-14T09:44:08.000Z
2022-03-04T16:21:41.000Z
qr/alphabet.cpp
AlexandrGraschenkov/QRCodes
c6342b6ddf41a350daebd401c5d3cd2c7aba9039
[ "MIT" ]
20
2019-07-03T22:30:05.000Z
2022-02-25T13:41:03.000Z
// // alphabet.cpp // QRCode_Mac // // Created by Alexander Graschenkov on 22/11/2018. // Copyright © 2018 Alex Development. All rights reserved. // #include "alphabet.hpp" #include <vector> #include <iostream> #include "reedsolomon/ReedSolomon.h" using namespace std; Alphabet::Alphabet(int aMessageSize, double...
25.446043
117
0.590896
AlexandrGraschenkov
c191387b08eeb786680de60079c378db8bb074d0
412
cpp
C++
chapter10/Proj1027.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
chapter10/Proj1027.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
chapter10/Proj1027.cpp
basstal/CPPPrimer
6366965657f873ac62003cf0a30a3fdb26c09351
[ "MIT" ]
null
null
null
#include"head.h" int main(){ vector<int> src_vec{1,5,6,4534,6,45,4534,534,56,57,567,56,7,433,42,434}; list<int> target; sort(src_vec.begin(),src_vec.end(),[](const int &a,const int &b){return a>b;}); for(const auto &e:src_vec) cout<<e<<" "; cout<<endl; unique_copy(src_vec.begin(),src_vec.end(),inserter(target...
25.75
80
0.652913
basstal
c1991eb373706a44f20d33a8d8ba408fe5370d82
10,810
hpp
C++
include/VROSC/UIToggle.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/UIToggle.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/UIToggle.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.UIInteractable #include "VROS...
43.24
170
0.714154
RedBrumbler
c1992627d915d623bb050553878e5134ab651a60
2,061
cpp
C++
src/Player.cpp
Abscission/platform-game
a893655d418601f82d56ad8ac850aeff0c8f6595
[ "MIT" ]
2
2015-06-26T12:20:40.000Z
2015-06-27T09:24:53.000Z
src/Player.cpp
rilwal/platform-game
a893655d418601f82d56ad8ac850aeff0c8f6595
[ "MIT" ]
null
null
null
src/Player.cpp
rilwal/platform-game
a893655d418601f82d56ad8ac850aeff0c8f6595
[ "MIT" ]
null
null
null
//Copyright (c) 2015 Jason Light //License: MIT #include "Player.h" #include <cstdlib> #include "InputManager.h" #include "Config.h" #include "Utility.h" #include "GameLayer.h" void Player::LoadSprite(AssetFile AssetFile, int id) { GameObject::LoadSprite(AssetFile, id); //UpdateColor(); } void Pla...
25.7625
215
0.627365
Abscission
c199a5869687922840c99150612d292ccb477d9e
3,427
hxx
C++
Modules/Core/SpatialObjects/include/itkMetaGaussianConverter.hxx
Hakkk2002/ITK
c913ab3acfcc2b78ce952cb6d2e11238bf4ec517
[ "Apache-2.0" ]
null
null
null
Modules/Core/SpatialObjects/include/itkMetaGaussianConverter.hxx
Hakkk2002/ITK
c913ab3acfcc2b78ce952cb6d2e11238bf4ec517
[ "Apache-2.0" ]
null
null
null
Modules/Core/SpatialObjects/include/itkMetaGaussianConverter.hxx
Hakkk2002/ITK
c913ab3acfcc2b78ce952cb6d2e11238bf4ec517
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
35.697917
82
0.723081
Hakkk2002
c19a3e9d24fd91b62533aae0528339e0dbe38fdb
794
cpp
C++
src/vuetitlecontentpanel.cpp
linails/vnote
97810731db97292f474951c3450aac150acef0bc
[ "MIT" ]
1
2020-10-13T14:28:59.000Z
2020-10-13T14:28:59.000Z
src/vuetitlecontentpanel.cpp
linails/vnote
97810731db97292f474951c3450aac150acef0bc
[ "MIT" ]
1
2022-01-22T13:10:44.000Z
2022-01-22T13:10:44.000Z
src/vuetitlecontentpanel.cpp
linails/vnote
97810731db97292f474951c3450aac150acef0bc
[ "MIT" ]
1
2021-07-27T14:58:28.000Z
2021-07-27T14:58:28.000Z
#include "vuetitlecontentpanel.h" #include <QLabel> #include <QVBoxLayout> #include <QVariant> #include <QString> VUETitleContentPanel::VUETitleContentPanel(QWidget *p_contentWidget, QWidget *p_parent) : QWidget(p_parent) { m_titleLabel = new QLabel(this); m_titl...
22.055556
68
0.687657
linails
c19bf6c987726e3522886a4deea0c13599640063
13,710
cpp
C++
libs/Network/src/SslClientBase.cpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
libs/Network/src/SslClientBase.cpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
libs/Network/src/SslClientBase.cpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
#include "Network/SslClientBase.hpp" #include "Network/iiNPack.hpp" #include "Logger/logger.hpp" SslClientBase::SslClientBase(QSslSocket * socket, QObject * parent) : QObject(parent), _control(socket) { connect(_control, SIGNAL(readyRead()), this, SLOT(dataAvailable())); connect(_control, SIGNAL(c...
42.44582
159
0.647921
siisgoo
c1a3f8713fa76ddf9198c63b3fee5529d7a3e45a
392
cpp
C++
engine/core/sources/editor.cpp
ucpp/ogl_render
19e60ae45e1287bc69c8bc7ff2e75c6be4b7a6ce
[ "MIT" ]
3
2022-02-17T01:58:51.000Z
2022-02-18T08:31:02.000Z
engine/core/sources/editor.cpp
ucpp/sge
19e60ae45e1287bc69c8bc7ff2e75c6be4b7a6ce
[ "MIT" ]
null
null
null
engine/core/sources/editor.cpp
ucpp/sge
19e60ae45e1287bc69c8bc7ff2e75c6be4b7a6ce
[ "MIT" ]
null
null
null
#include "editor.h" namespace sge { void Editor::initialize(std::weak_ptr<Window> window, std::weak_ptr<Scene> scene, bool draw_gui) { this->draw_gui = draw_gui; imgui_renderer.initialize(window, &state, scene); } void Editor::update(float delta_time) { if (draw_gui) { imgui_renderer.update(delta_time...
17.043478
97
0.696429
ucpp
c1a8e98b530737d6f88e7e02c126b083a7a0763d
938
cpp
C++
2017/day17/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2017/day17/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2017/day17/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> static const int COUNTER1 = 2017; static const int COUNTER2 = 50000000; int solveTask1(int steps) { std::vector<int> V; int ind = 0; V.push_back(0); while (V.size() < COUNTER1) { ind = (ind + steps) % V.size() + 1; V.insert(V.b...
17.698113
74
0.52452
batduck27
c1a945ffa5efd84077aaa2839c6fcb5aa109a765
13,380
cpp
C++
src/hdNuke/lightAdapter.cpp
TheFoundryVisionmongers/NukeHydraPlugins
3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a
[ "Apache-2.0" ]
3
2022-03-03T17:40:54.000Z
2022-03-21T22:14:43.000Z
src/hdNuke/lightAdapter.cpp
TheFoundryVisionmongers/NukeHydraPlugins
3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a
[ "Apache-2.0" ]
null
null
null
src/hdNuke/lightAdapter.cpp
TheFoundryVisionmongers/NukeHydraPlugins
3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a
[ "Apache-2.0" ]
3
2021-12-06T06:48:54.000Z
2022-02-08T23:58:30.000Z
// Copyright 2019-present Nathan Rusch // // 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 agre...
35.871314
133
0.644021
TheFoundryVisionmongers
c1b5f8256bb16e5987f56e785f4f671640fb8cbd
1,925
cpp
C++
src/main/logbook/Logger.cpp
SLukasDE/logbook
a6aa89aec2c2b1eae77e80159f144d28b8316d10
[ "BSD-3-Clause" ]
null
null
null
src/main/logbook/Logger.cpp
SLukasDE/logbook
a6aa89aec2c2b1eae77e80159f144d28b8316d10
[ "BSD-3-Clause" ]
null
null
null
src/main/logbook/Logger.cpp
SLukasDE/logbook
a6aa89aec2c2b1eae77e80159f144d28b8316d10
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2019, 2020, Sven Lukas Logbook is distributed under BSD-style license as described in the file LICENSE, which you should have received as part of this distribution. */ #include <logbook/Logger.h> #include <logbook/Logbook.h> /* #include <map> #include <string> #include <unordered_map> */ namespace lo...
25.328947
111
0.744935
SLukasDE
c1c0ac54be21b174491cc04610e38bb5efb50fe1
785
cpp
C++
Under difficulty 1000/1A_String_Task.cpp
zerospook/Codeforces_PROBLEMSET
c9475318a12d65d5c7b93cadb673e6725ef1d1c3
[ "MIT" ]
null
null
null
Under difficulty 1000/1A_String_Task.cpp
zerospook/Codeforces_PROBLEMSET
c9475318a12d65d5c7b93cadb673e6725ef1d1c3
[ "MIT" ]
null
null
null
Under difficulty 1000/1A_String_Task.cpp
zerospook/Codeforces_PROBLEMSET
c9475318a12d65d5c7b93cadb673e6725ef1d1c3
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define endl "\n" #define IOS ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0); bool isVow(char x) { switch(x) { case 'a': case 'e': case 'i': case 'o': case 'u': case 'A': case 'E': ...
16.702128
67
0.364331
zerospook
c1c2cb013b4a210d660083ea550a3c63364566b6
2,965
hpp
C++
source/NanairoCore/Setting/object_model_setting_node.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/Setting/object_model_setting_node.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/Setting/object_model_setting_node.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
/*! \file object_model_setting_node.hpp \author Sho Ikeda Copyright (c) 2015-2018 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef NANAIRO_OBJECT_MODEL_SETTING_NODE_HPP #define NANAIRO_OBJECT_MODEL_SETTING_NODE_HPP // Standard C++ librar...
29.356436
90
0.737605
byzin
c1c3e6eff2cc227430971df6a438154ab1c98ed5
9,932
hpp
C++
glm/gtx/random.hpp
MilosSubotic/static_float
0180f7efc5153b6d4da15c6cfc8140bea0fe4218
[ "BSD-3-Clause" ]
14
2015-03-30T13:10:12.000Z
2021-02-17T14:21:16.000Z
glm/gtx/random.hpp
RichardOB/3D-Camera-Movement
bec846df5f49e4774e4964a159b0a16d32474eb9
[ "MIT" ]
1
2021-04-12T02:22:35.000Z
2021-04-12T02:22:35.000Z
glm/gtx/random.hpp
RichardOB/3D-Camera-Movement
bec846df5f49e4774e4964a159b0a16d32474eb9
[ "MIT" ]
2
2015-02-06T11:52:29.000Z
2021-07-16T03:48:13.000Z
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documen...
91.962963
242
0.728353
MilosSubotic
c1ca967e7ca7ae985fb09e2f2a45ac0980044e2e
10,932
cc
C++
src/paths/long/ReadPathTools.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
48
2016-04-26T16:52:59.000Z
2022-01-15T09:18:17.000Z
src/paths/long/ReadPathTools.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
45
2016-04-27T08:20:56.000Z
2022-02-14T07:47:11.000Z
src/paths/long/ReadPathTools.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
15
2016-05-11T14:35:25.000Z
2022-01-15T09:18:45.000Z
/////////////////////////////////////////////////////////////////////////////// // SOFTWARE COPYRIGHT NOTICE AGREEMENT // // This software and its documentation are copyright (2014) by the // // Broad Institute. All rights are reserved. This software is supplied // ...
33.329268
123
0.620106
Amjadhpc
c1cb329ead4d8662be82114c2f66a6ad997272b0
1,301
hpp
C++
include/gridtools/stencil/common/intent.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
36
2019-04-05T15:54:48.000Z
2022-03-31T13:25:40.000Z
include/gridtools/stencil/common/intent.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
411
2019-04-05T18:51:57.000Z
2022-03-28T11:52:40.000Z
include/gridtools/stencil/common/intent.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
23
2019-04-05T15:48:26.000Z
2021-09-28T16:54:24.000Z
/* * GridTools * * Copyright (c) 2014-2021, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include "../../common/host_device.hpp" namespace gridtools { namespace stencil { /** * @brief...
25.509804
98
0.584166
afanfa
c1ce24bfccce1f424f0306c325a7fa197387df8a
5,166
cpp
C++
src/dawn_native/Fence.cpp
jhanssen/dawn
73668344d656e4bad2f6a1dd75c85ffae1e56973
[ "Apache-2.0" ]
null
null
null
src/dawn_native/Fence.cpp
jhanssen/dawn
73668344d656e4bad2f6a1dd75c85ffae1e56973
[ "Apache-2.0" ]
null
null
null
src/dawn_native/Fence.cpp
jhanssen/dawn
73668344d656e4bad2f6a1dd75c85ffae1e56973
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
32.086957
99
0.633178
jhanssen
c1d2a384625de7ca55d041dd3d8811dbc7147c9a
349
hpp
C++
sample/app_client.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
1
2021-05-19T03:56:47.000Z
2021-05-19T03:56:47.000Z
sample/app_client.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
null
null
null
sample/app_client.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
null
null
null
#pragma once #include "client/game.hpp" #include "client/player.hpp" namespace gnet { class app_client : public gnet::game { gnet::player player = gnet::player(400.0f, 300.0f); public: virtual auto on_update(float delta_time) -> void override final; virtual auto on_event(SDL_Event& event) -> void override fi...
19.388889
66
0.719198
gapry
c1d5df62dab0e82caa60afe0d33f3a751cb14010
2,226
hpp
C++
include/roq/error.hpp
roq-trading/api
a5910c88df3759496957d7b9748cf6c1364e8bec
[ "MIT" ]
null
null
null
include/roq/error.hpp
roq-trading/api
a5910c88df3759496957d7b9748cf6c1364e8bec
[ "MIT" ]
null
null
null
include/roq/error.hpp
roq-trading/api
a5910c88df3759496957d7b9748cf6c1364e8bec
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2022, Hans Erik Thrane */ /* !!! THIS FILE HAS BEEN AUTO-GENERATED !!! */ #pragma once #include <fmt/format.h> #include <magic_enum.hpp> namespace roq { //! Enumeration of error types enum class Error : uint8_t { UNDEFINED = 0, UNKNOWN, NOT_SUPPORTED, //!< Request type not supported ...
33.727273
115
0.708446
roq-trading
c1d6dc735ef96835d79eed1ce159b79e6f34149b
750
cpp
C++
thirdparty-cpp/boost_1_62_0/libs/hana/test/type/laws.cpp
nxplatform/nx-mobile
0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5
[ "Apache-2.0" ]
1
2018-12-15T19:57:24.000Z
2018-12-15T19:57:24.000Z
thirdparty-cpp/boost_1_62_0/libs/hana/test/type/laws.cpp
nxplatform/nx-mobile
0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5
[ "Apache-2.0" ]
null
null
null
thirdparty-cpp/boost_1_62_0/libs/hana/test/type/laws.cpp
nxplatform/nx-mobile
0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5
[ "Apache-2.0" ]
null
null
null
// Copyright Louis Dionne 2013-2016 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/tuple.hpp> #include <boost/hana/type.hpp> #include <laws/comparable.hpp> #include <laws/hashable.hpp> namesp...
25.862069
82
0.625333
nxplatform
c1d6fa0099ea8243ee669daac47ee66beac5ef2c
6,663
cpp
C++
SpriteColors.cpp
quietust/stonesense
441f4472e54aa97f8313d1058e4654ec36ccc333
[ "Artistic-1.0-Perl" ]
232
2015-01-14T17:24:14.000Z
2022-01-21T01:46:26.000Z
SpriteColors.cpp
quietust/stonesense
441f4472e54aa97f8313d1058e4654ec36ccc333
[ "Artistic-1.0-Perl" ]
47
2015-01-21T00:08:17.000Z
2021-08-17T15:32:17.000Z
SpriteColors.cpp
quietust/stonesense
441f4472e54aa97f8313d1058e4654ec36ccc333
[ "Artistic-1.0-Perl" ]
42
2015-01-23T09:19:56.000Z
2022-02-22T00:56:49.000Z
#include "SpriteColors.h" #include "common.h" #include "GUI.h" #include "SpriteMaps.h" #include "GameBuildings.h" #include "Creatures.h" #include "WorldSegment.h" #include "ContentLoader.h" using namespace std; using namespace DFHack; using namespace df::enums; ALLEGRO_COLOR operator*(const ALLEGRO_COLOR &color1, con...
21.633117
99
0.579169
quietust
c1d8939e928acd7b73e7ba82d0f4e31b2835589d
3,097
cpp
C++
sdl2/AdventureInSDL2/MainLoopScene.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/AdventureInSDL2/MainLoopScene.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/AdventureInSDL2/MainLoopScene.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
/* MainLoopScene.cpp * * Copyright (C) 2013 Michael Imamura * * 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 ap...
21.068027
80
0.706813
pdpdds
c1d99530acb261f6cfe885d2037f9aea2e426c7e
5,417
hpp
C++
include/range/v3/detail/adl_get.hpp
eseiler/range-v3
b79b31705b8fef4f961fe37393701ff6e9366c24
[ "MIT" ]
3,436
2015-01-05T14:27:21.000Z
2022-03-31T07:56:04.000Z
include/range/v3/detail/adl_get.hpp
eseiler/range-v3
b79b31705b8fef4f961fe37393701ff6e9366c24
[ "MIT" ]
1,197
2015-01-01T21:27:32.000Z
2022-03-29T17:46:09.000Z
include/range/v3/detail/adl_get.hpp
eseiler/range-v3
b79b31705b8fef4f961fe37393701ff6e9366c24
[ "MIT" ]
490
2015-01-04T00:18:04.000Z
2022-03-25T18:59:43.000Z
// Range v3 library // // Copyright Casey Carter 2018 // // Use, modification and distribution is subject to 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) // // Project home: https://github.com/ericniebler/range-v3 #ifndef...
36.85034
83
0.569319
eseiler
c1df54b95efb6b67073b00b8b78f85c9661a559c
1,720
cpp
C++
projects/UserInterfaces/UIRectangle.cpp
JayStilla/AIEComplexSystems
3e3a6dbf90a27c127cdac869aa6bc192d3f308ba
[ "MIT" ]
null
null
null
projects/UserInterfaces/UIRectangle.cpp
JayStilla/AIEComplexSystems
3e3a6dbf90a27c127cdac869aa6bc192d3f308ba
[ "MIT" ]
null
null
null
projects/UserInterfaces/UIRectangle.cpp
JayStilla/AIEComplexSystems
3e3a6dbf90a27c127cdac869aa6bc192d3f308ba
[ "MIT" ]
null
null
null
#include "UIRectangle.h" #include <GL/glew.h> #include <glm/ext.hpp> UIRectangle::UIRectangle(unsigned int a_shader, const vec2& a_dimensions, const vec4& a_colour) : m_shader(a_shader), m_vao(0), m_vbo(0), m_dimensions(a_dimensions), m_colour(a_colour) { glm::vec3 vertices[4] = { ...
26.875
80
0.719186
JayStilla
c1e0079643351cc3046b494221927354925cf193
2,782
cpp
C++
Blizzlike/Trinity/Scripts/Dungeons/BlackrockDepths/boss_magmus.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Dungeons/BlackrockDepths/boss_magmus.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Dungeons/BlackrockDepths/boss_magmus.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
28.979167
131
0.584472
499453466
c1e19e3e0c4bb1845a3c4cbbf6c3c94c550fe02e
4,843
cpp
C++
src/configf.cpp
Farahdeeba/nftsim
3701634d965c372b5f8ee57bbe5cd52ad3237926
[ "Apache-2.0" ]
null
null
null
src/configf.cpp
Farahdeeba/nftsim
3701634d965c372b5f8ee57bbe5cd52ad3237926
[ "Apache-2.0" ]
null
null
null
src/configf.cpp
Farahdeeba/nftsim
3701634d965c372b5f8ee57bbe5cd52ad3237926
[ "Apache-2.0" ]
null
null
null
/** @file configf.cpp @brief A brief, one sentence description. A more detailed multiline description... @author Peter Drysdale, Felix Fung, */ // Main module header #include "configf.h" // Configf; // C++ standard library headers #include <iostream> // std::streamoff; std::ios::beg; std::ios::end; std::st...
28.656805
160
0.6465
Farahdeeba
c1e93deab1408f724acb57957b41fc27501a310f
9,050
hxx
C++
src/csr.hxx
puzzlef/csr-regular-vs-hybrid
3b137a982af5882f004a5e40deabc3f3f7c86598
[ "MIT" ]
null
null
null
src/csr.hxx
puzzlef/csr-regular-vs-hybrid
3b137a982af5882f004a5e40deabc3f3f7c86598
[ "MIT" ]
null
null
null
src/csr.hxx
puzzlef/csr-regular-vs-hybrid
3b137a982af5882f004a5e40deabc3f3f7c86598
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <vector> #include <utility> #include <ostream> #include <iostream> #include "_main.hxx" #include "edges.hxx" using std::vector; using std::ostream; using std::cout; using std::log; using std::move; // CSR // --- template <class T, class U=T> struct Csr { vector<T> sourceOf...
22.625
87
0.594144
puzzlef
c1eb70440452f8c211c3dc0b6f5d016844e58349
5,381
inl
C++
thrust/system/detail/generic/unique_by_key.inl
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
1
2020-10-11T16:34:36.000Z
2020-10-11T16:34:36.000Z
thrust/system/detail/generic/unique_by_key.inl
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
null
null
null
thrust/system/detail/generic/unique_by_key.inl
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008-2013 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
39.277372
136
0.707675
marksantos
c1ee4eb7d85f6985917346eba95e5c32d49cf0f4
3,175
cpp
C++
source_program/fileSync.cpp
sbfhy/file_synchronization
a5964519b2fa9f865dc99471a4e60650ebb69733
[ "MIT" ]
null
null
null
source_program/fileSync.cpp
sbfhy/file_synchronization
a5964519b2fa9f865dc99471a4e60650ebb69733
[ "MIT" ]
null
null
null
source_program/fileSync.cpp
sbfhy/file_synchronization
a5964519b2fa9f865dc99471a4e60650ebb69733
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<io.h> #include<cstdio> #include<cstdlib> #include<cstring> #include<windows.h> using namespace std; /* 从pathTo目录 同步到 pathFrom目录 */ void fileSync_to_from(string pathFrom, string pathTo) { long handleTo = 0; struct _finddata_t fileInfoFrom, fileInfoTo; string pa...
33.776596
108
0.594961
sbfhy
c1efe4f5b0346dbdf3bbd03167e02d315d535e11
40,664
cpp
C++
drivers/usb/hcds/ehci/src/main.cpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
1
2020-07-29T12:13:14.000Z
2020-07-29T12:13:14.000Z
drivers/usb/hcds/ehci/src/main.cpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
null
null
null
drivers/usb/hcds/ehci/src/main.cpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
null
null
null
#include <assert.h> #include <stdio.h> #include <unistd.h> #include <deque> #include <optional> #include <functional> #include <iostream> #include <memory> #include <arch/dma_pool.hpp> #include <async/result.hpp> #include <boost/intrusive/list.hpp> #include <fafnir/dsl.hpp> #include <helix/ipc.hpp> #include <protocol...
36.833333
97
0.662748
kITerE
c1f10f8e637ad742f52e9450734f05c8e9f7c403
395
cpp
C++
Ejercicios/ProyectoNotas/main.cpp
AlexaCaseres/cpp
e34985e25fb8e8c74a503e2ca5d8720d361bae5f
[ "MIT" ]
null
null
null
Ejercicios/ProyectoNotas/main.cpp
AlexaCaseres/cpp
e34985e25fb8e8c74a503e2ca5d8720d361bae5f
[ "MIT" ]
null
null
null
Ejercicios/ProyectoNotas/main.cpp
AlexaCaseres/cpp
e34985e25fb8e8c74a503e2ca5d8720d361bae5f
[ "MIT" ]
null
null
null
/* Proposito: PROYECTO, Tabla de calificaciones de un grupo de estudiantes de 4to Grado Autor: Katherine Alexandra Caseres Sabillon Fecha de Entrega: viernes 29 de abril del 2022 */ #include <iostream> using namespace std; extern void notas(); extern void resultados(); int main(int argc, char const *argv[])...
16.458333
87
0.696203
AlexaCaseres
c1f50adf0b7bc3ac68e7e6bb59add54d0280cf33
711
hpp
C++
include/websocket/Handler.hpp
bcb/eventhub
269c7be0cbd77f99ec2a72281b2e770b739d74f6
[ "MIT" ]
67
2019-11-06T18:32:47.000Z
2022-02-20T23:03:09.000Z
include/websocket/Handler.hpp
bcb/eventhub
269c7be0cbd77f99ec2a72281b2e770b739d74f6
[ "MIT" ]
6
2019-11-18T07:43:15.000Z
2021-12-31T09:19:04.000Z
include/websocket/Handler.hpp
bcb/eventhub
269c7be0cbd77f99ec2a72281b2e770b739d74f6
[ "MIT" ]
9
2019-11-11T14:08:56.000Z
2022-03-15T03:39:46.000Z
#ifndef INCLUDE_WEBSOCKET_HANDLER_HPP_ #define INCLUDE_WEBSOCKET_HANDLER_HPP_ #include <functional> #include <memory> #include <string> #include <vector> #include "Connection.hpp" #include "ConnectionWorker.hpp" #include "HandlerContext.hpp" #include "websocket/Types.hpp" namespace eventhub { namespace websocket { ...
22.21875
145
0.773558
bcb
c1fc1bcbaedf663d9f433d650d182ca91127a0f1
819
cpp
C++
WindowGuiConsole.cpp
BorjaSasietaSole/KokaEngineV0
8da3c50100f30bbdfcba45a9cd9e6c999d7de4db
[ "MIT" ]
null
null
null
WindowGuiConsole.cpp
BorjaSasietaSole/KokaEngineV0
8da3c50100f30bbdfcba45a9cd9e6c999d7de4db
[ "MIT" ]
null
null
null
WindowGuiConsole.cpp
BorjaSasietaSole/KokaEngineV0
8da3c50100f30bbdfcba45a9cd9e6c999d7de4db
[ "MIT" ]
null
null
null
#include "WindowGuiConsole.h" WindowGuiConsole::WindowGuiConsole():scrollToBottom(true) {} WindowGuiConsole::~WindowGuiConsole() { Clear(); } void WindowGuiConsole::Clear() { buf.clear(); lineOffsets.clear(); } void WindowGuiConsole::AddLog(const char* log) { buf.appendf(log); scrollToBottom = true; } voi...
21.552632
91
0.699634
BorjaSasietaSole
c1ffc831cf02ebf06d9f899118a135cd077b4b8b
2,238
cpp
C++
tools/LuminoStudio/MainWindow.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
tools/LuminoStudio/MainWindow.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
tools/LuminoStudio/MainWindow.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include <QTabWidget> #include <QOpenGLWidget> #include "mainwindow.h" #include "ui_mainwindow.h" class QOpenGLWidget2 : public QOpenGLWidget { public: explicit QOpenGLWidget2(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()) : QOpenGLWidget(parent, f) { } void initializeGL(...
23.557895
93
0.66622
GameDevery
de008f90e93210313a9e6e25126913d97ab239bf
12,605
hpp
C++
libsnark/gadgetlib1/gadgets/basic_gadgets.hpp
clearmatics/libsnark
1e8e22d3b60f2baeea23cf87a510bda20f2610d4
[ "MIT" ]
null
null
null
libsnark/gadgetlib1/gadgets/basic_gadgets.hpp
clearmatics/libsnark
1e8e22d3b60f2baeea23cf87a510bda20f2610d4
[ "MIT" ]
18
2019-04-15T10:46:09.000Z
2022-02-23T15:40:31.000Z
libsnark/gadgetlib1/gadgets/basic_gadgets.hpp
clearmatics/libsnark
1e8e22d3b60f2baeea23cf87a510bda20f2610d4
[ "MIT" ]
1
2021-08-09T11:18:02.000Z
2021-08-09T11:18:02.000Z
/** @file ***************************************************************************** * @author This file is part of libsnark, developed by SCIPR Lab * and contributors (see AUTHORS). * @copyright MIT license (see LICENSE file) ********************************************************************...
31.5125
80
0.670528
clearmatics
de05a6978fbea2c52b1611022a4bae24a47b9805
1,339
hpp
C++
include/Bubblewrap/Render/SdlWindow.hpp
bubblewrap-engine/bubblewrap_sdl
6567a0c3ae163f9191412f3b986c6341c01eedca
[ "MIT" ]
null
null
null
include/Bubblewrap/Render/SdlWindow.hpp
bubblewrap-engine/bubblewrap_sdl
6567a0c3ae163f9191412f3b986c6341c01eedca
[ "MIT" ]
null
null
null
include/Bubblewrap/Render/SdlWindow.hpp
bubblewrap-engine/bubblewrap_sdl
6567a0c3ae163f9191412f3b986c6341c01eedca
[ "MIT" ]
null
null
null
#ifndef BUBBLEWRAP_SDL_RENDER_SDLWINDOW_HPP #define BUBBLEWRAP_SDL_RENDER_SDLWINDOW_HPP #include "Bubblewrap/Managers/BaseManager.hpp" #include "Bubblewrap/Render/Window.hpp" #include <functional> #include <SDL.h> namespace Bubblewrap { namespace Render { /*! An implementation of Window using Sdl's sf::RenderWind...
23.491228
85
0.696789
bubblewrap-engine
de0662be6732a3c911c4a98bbe8a1f754b6ad17e
6,572
cpp
C++
WDL/IPlug/IPlugRTAS.cpp
ajjapeak/wdl-ol
43224bc4c193cc64073551c886fcd22f1c801823
[ "Zlib" ]
1
2018-10-01T19:11:36.000Z
2018-10-01T19:11:36.000Z
WDL/IPlug/IPlugRTAS.cpp
Metabog/wdl-ol
bfe87d2c4297d003f2475dc22d460440e5e1b4fa
[ "Zlib" ]
null
null
null
WDL/IPlug/IPlugRTAS.cpp
Metabog/wdl-ol
bfe87d2c4297d003f2475dc22d460440e5e1b4fa
[ "Zlib" ]
1
2018-08-10T16:26:20.000Z
2018-08-10T16:26:20.000Z
#include "IPlugRTAS.h" #include "RTAS/IPlugProcess.h" #include "CPluginControl_Continuous.h" #include "CPluginControl_Discrete.h" IPlugRTAS::IPlugRTAS(IPlugInstanceInfo instanceInfo, int nParams, const char* channelIOStr, int nPresets, ...
25.472868
115
0.619903
ajjapeak
90051bc49f0f8ac2b4b723b117176582addaff9e
394
cpp
C++
gadget/brevtb.cpp
MatsuTaku/libbo
e139e1bd81898f22a903a7d43018c93ae2722601
[ "Unlicense" ]
null
null
null
gadget/brevtb.cpp
MatsuTaku/libbo
e139e1bd81898f22a903a7d43018c93ae2722601
[ "Unlicense" ]
null
null
null
gadget/brevtb.cpp
MatsuTaku/libbo
e139e1bd81898f22a903a7d43018c93ae2722601
[ "Unlicense" ]
null
null
null
#include <iostream> int main() { std::cout << "{" << std::endl; for (int i = 0; i < 256; i++) { if (i%16 == 0) std::cout << " "; int j = i; j = ((j&0x55)<<1) | ((j>>1)&0x55); j = ((j&0x33)<<2) | ((j>>2)&0x33); j = ((j&0x0F)<<4) | ((j>>4)&0x0F); std::cout << j << ", "; if (i%16 ==...
21.888889
38
0.378173
MatsuTaku
90054565d4db48fb7fbb4f930891297007431d19
4,354
cpp
C++
kdrive/src/knx/telegrams/formatters/TpciApci.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
34
2015-09-16T10:10:14.000Z
2022-02-19T16:11:04.000Z
kdrive/src/knx/telegrams/formatters/TpciApci.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
17
2017-01-02T15:26:19.000Z
2022-01-20T01:27:24.000Z
kdrive/src/knx/telegrams/formatters/TpciApci.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
20
2016-12-12T22:18:08.000Z
2022-03-15T16:20:20.000Z
#include "pch/kdrive_pch.h" #include "kdrive/knx/defines/ApciCodes.h" #include "kdrive/knx/telegrams/formatters/TpciApci.h" #include <Poco/Exception.h> using namespace kdrive::knx;using Poco::Exception;namespace{struct z512be7d538{ enum{zea9bde779f=(0x292+990-0x66d),SequenceNumber=(0xbbc+6396-0x247c), z4126c46cde=(0x6...
71.377049
80
0.813275
weinzierl-engineering
900b485bf4ed122fc9627df68264a360700fcb24
4,299
cpp
C++
src/Graphics/Texture2D.cpp
brpylko/MINX-star-legacy
19305339f25ca3d847d20c3a217ef7c6f9ee139b
[ "Zlib" ]
null
null
null
src/Graphics/Texture2D.cpp
brpylko/MINX-star-legacy
19305339f25ca3d847d20c3a217ef7c6f9ee139b
[ "Zlib" ]
null
null
null
src/Graphics/Texture2D.cpp
brpylko/MINX-star-legacy
19305339f25ca3d847d20c3a217ef7c6f9ee139b
[ "Zlib" ]
null
null
null
/* # MINX Copyright (c) 2013-2014 Liam Middlebrook, Benjamin Pylko 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, incl...
28.470199
162
0.756222
brpylko
900e5bf2d1c5d2e3f8a8153215513c78de670a39
1,402
cpp
C++
frc2018-master/frc2018-master/roborio/src/autonomous/auto_follower.cpp
Quantum-Impulse/frc2018
272f3d3fe3ac50a8227a0771cf8f37013902749a
[ "MIT" ]
null
null
null
frc2018-master/frc2018-master/roborio/src/autonomous/auto_follower.cpp
Quantum-Impulse/frc2018
272f3d3fe3ac50a8227a0771cf8f37013902749a
[ "MIT" ]
null
null
null
frc2018-master/frc2018-master/roborio/src/autonomous/auto_follower.cpp
Quantum-Impulse/frc2018
272f3d3fe3ac50a8227a0771cf8f37013902749a
[ "MIT" ]
null
null
null
#include "auto_follower.h" #include <cmath> std::pair< double, double > auto_follower::kinematics(double linear, double angular, double wheelbase) { double vl = linear - wheelbase * angular * 0.5; double vr = 2 * linear - vl; return {vl, vr}; } double auto_follower::Path::solve(auto_follower::State state, doubl...
38.944444
127
0.616976
Quantum-Impulse
900f466be3808ceb08ff2c0e432cc6e61b68c22b
2,296
cpp
C++
src/abaeterno/mem_lib/debug_mem.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
src/abaeterno/mem_lib/debug_mem.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
src/abaeterno/mem_lib/debug_mem.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
// (C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR C...
29.818182
87
0.57622
paolofrb
90103832cf898ce461351dd5e7d40cd92718f086
16,238
cpp
C++
src/mitch_v2/MitchV2_BLEConnection.cpp
221eROS/lib221e
3297b7c9b7830fc714dcefba3b74752bffd55529
[ "BSD-3-Clause" ]
null
null
null
src/mitch_v2/MitchV2_BLEConnection.cpp
221eROS/lib221e
3297b7c9b7830fc714dcefba3b74752bffd55529
[ "BSD-3-Clause" ]
null
null
null
src/mitch_v2/MitchV2_BLEConnection.cpp
221eROS/lib221e
3297b7c9b7830fc714dcefba3b74752bffd55529
[ "BSD-3-Clause" ]
null
null
null
#include <mitch_v2/MitchV2_BLEConnection.h> #include <iostream> using namespace MitchV2; using namespace std::placeholders; std::ofstream myfile; float MitchV2_BLEConnection::battery_charge_ = -1; bool MitchV2_BLEConnection::acquisition_started_ = false; bool MitchV2_BLEConnection::acquisition_stopped_ = false; Mit...
29.205036
200
0.656177
221eROS
9016e4e3eba0f152eb86125b32868573e2ab2ed1
618
cpp
C++
test/src/unit-cfgres.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
14
2021-05-03T16:03:22.000Z
2022-02-14T23:42:39.000Z
test/src/unit-cfgres.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
1
2021-09-27T12:01:33.000Z
2021-09-27T12:01:33.000Z
test/src/unit-cfgres.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
null
null
null
#include <cstdint> #include "CfgRes.hpp" #include "catch2/catch.hpp" CATCH_TEST_CASE("CfgRes tests") { CATCH_SECTION("err test") { auto res = CfgRes<uint64_t>(CfgErr::BAD_READ); CATCH_REQUIRE_FALSE(res); } CATCH_SECTION("value test") { uint64_t res_val = 0x100; auto ...
22.888889
54
0.597087
cyber-itl
901b60ca21e7fea801e15d5b4b76159e8bce26b6
2,179
cpp
C++
Recursion/KeypadCodes.cpp
divyanshi23/CB-Algo
cd3702d715d2f269dacd065ad5fc300af86e55d8
[ "MIT" ]
null
null
null
Recursion/KeypadCodes.cpp
divyanshi23/CB-Algo
cd3702d715d2f269dacd065ad5fc300af86e55d8
[ "MIT" ]
null
null
null
Recursion/KeypadCodes.cpp
divyanshi23/CB-Algo
cd3702d715d2f269dacd065ad5fc300af86e55d8
[ "MIT" ]
null
null
null
/*Take as input str, a string. str represents keys pressed on a nokia phone keypad. We are concerned with all possible words that can be written with the pressed keys. Assume the following alphabets on the keys: 1 -> abc , 2 -> def , 3 -> ghi , 4 -> jkl , 5 -> mno , 6 -> pqrs , 7 -> tuv , 8 -> wx , 9 -> yz E.g. “...
26.253012
168
0.589261
divyanshi23
90205d8f1adaf5bc9925b4313408c86491e8a362
471
cpp
C++
src/arch/arm/memory.cpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
11
2020-06-20T19:05:08.000Z
2021-04-07T17:49:18.000Z
src/arch/arm/memory.cpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
null
null
null
src/arch/arm/memory.cpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
null
null
null
#include <tart/arch/memory.hpp> namespace tart::arch { void walk_stack(void (*fn)(uintptr_t, void *), void *ctx) { uintptr_t *bp; asm volatile ("mov %[v], r7" : [v] "=r" (bp) : : "memory"); // TODO: hardcoded region for (uintptr_t ip = bp[1]; ip >= 0x10000000 && ip < 0x20000000 && (uintptr_t)bp >= 0x2000...
27.705882
102
0.59448
qookei
902061766851c3058bd3f9dddbd756fa6698aebe
1,637
cpp
C++
Solutions/codeforces/431C.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
6
2020-01-29T14:05:56.000Z
2021-04-24T04:37:27.000Z
Solutions/codeforces/431C.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
null
null
null
Solutions/codeforces/431C.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
1
2020-05-22T06:37:20.000Z
2020-05-22T06:37:20.000Z
// 02-11-2019 17:55:28 badLiver #include <bits/stdc++.h> using namespace std; #define MP make_pair #define PB push_back #define ARR_MAX (int)1e5 //Max array length #define INF (int)1e9 //10^9 #define EPS 1e-9 //10^-9 #define MOD 1000000007 //10^9+7 #define PI 3.1415926535897932384626433832795 typedef long i...
27.283333
102
0.59438
eashwaranRaghu
90251c3ae82fa5e8a221ec2a935828214962a113
61,934
cc
C++
src/peaclock/tui.cc
j-tai/peaclock
da09b1eb2be31070bfec81ed0ce85b0aaa342309
[ "MIT" ]
null
null
null
src/peaclock/tui.cc
j-tai/peaclock
da09b1eb2be31070bfec81ed0ce85b0aaa342309
[ "MIT" ]
null
null
null
src/peaclock/tui.cc
j-tai/peaclock
da09b1eb2be31070bfec81ed0ce85b0aaa342309
[ "MIT" ]
null
null
null
#include "peaclock/tui.hh" #include "ob/num.hh" #include "ob/algorithm.hh" #include "ob/string.hh" #include "ob/text.hh" #include "ob/term.hh" namespace aec = OB::Term::ANSI_Escape_Codes; #include <ctime> #include <cmath> #include <cctype> #include <cstdio> #include <cstddef> #include <cstdint> #include <cstdlib> #i...
25.003633
146
0.525253
j-tai
90282c4963fb9ffc58706f996ed1adaa21331265
1,063
hpp
C++
include/Module/Decoder/RA/Decoder_RA.hpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
include/Module/Decoder/RA/Decoder_RA.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
include/Module/Decoder/RA/Decoder_RA.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
/*! * \file * \brief Class module::Decoder_RA. */ #ifndef DECODER_RA #define DECODER_RA #include <vector> #include <memory> #include <mipp.h> #include "Module/Interleaver/Interleaver.hpp" #include "Module/Decoder/Decoder_SIHO.hpp" namespace aff3ct { namespace module { template <typename B = int, typename R = floa...
20.843137
94
0.707432
FredrikBlomgren
90285dbb36ff2673d77f829fa9801b1a86878a2d
7,717
cpp
C++
Source/Core/FontFaceLayer.cpp
tryba/libRocket
c4384c71f63dc6d1ee3c9726daa637c158b0c3e0
[ "MIT", "Unlicense" ]
715
2015-01-04T02:39:04.000Z
2022-03-24T07:16:25.000Z
Source/Core/FontFaceLayer.cpp
tryba/libRocket
c4384c71f63dc6d1ee3c9726daa637c158b0c3e0
[ "MIT", "Unlicense" ]
60
2015-01-03T15:07:25.000Z
2022-01-16T23:24:37.000Z
Source/Core/FontFaceLayer.cpp
tryba/libRocket
c4384c71f63dc6d1ee3c9726daa637c158b0c3e0
[ "MIT", "Unlicense" ]
221
2015-01-03T13:05:58.000Z
2022-03-30T23:27:03.000Z
/* * This source file is part of libRocket, the HTML/CSS Interface Middleware * * For the latest information, see http://www.librocket.com * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and assoc...
31.757202
197
0.717377
tryba
90314e97087284b48bd1c31fba60df20d15ce4a8
765
cpp
C++
src/Chain/libraries/UnitTest++/TimeConstraint.cpp
WillAchain/Achain
4118a8fc7a18e356e5a865d39d21bba3100664c9
[ "MIT" ]
226
2017-09-07T13:13:08.000Z
2022-02-26T09:07:10.000Z
src/Chain/libraries/UnitTest++/TimeConstraint.cpp
WillAchain/Achain
4118a8fc7a18e356e5a865d39d21bba3100664c9
[ "MIT" ]
22
2017-09-26T03:36:21.000Z
2020-08-23T19:59:40.000Z
src/Chain/libraries/UnitTest++/TimeConstraint.cpp
WillAchain/Achain
4118a8fc7a18e356e5a865d39d21bba3100664c9
[ "MIT" ]
79
2017-09-08T02:57:08.000Z
2022-02-02T12:46:31.000Z
#include "UnitTest++/TimeConstraint.h" #include "UnitTest++/TestResults.h" #include "UnitTest++/MemoryOutStream.h" #include "UnitTest++/CurrentTest.h" namespace UnitTest { TimeConstraint::TimeConstraint(int ms, TestDetails const& details, int lineNumber) : m_details(details, lineNumber) , m_maxMs(ms) ...
25.5
86
0.644444
WillAchain
903224f1d4bf4013b4247125ac7a6b459d285452
21,852
cpp
C++
sources/fpgui_test.cpp
kr0st/fpgui
26c584648b3954fd86f1499f8898c96156e33e9e
[ "MIT" ]
null
null
null
sources/fpgui_test.cpp
kr0st/fpgui
26c584648b3954fd86f1499f8898c96156e33e9e
[ "MIT" ]
45
2017-08-29T14:39:05.000Z
2018-08-13T15:05:23.000Z
sources/fpgui_test.cpp
kr0st/fpgui
26c584648b3954fd86f1499f8898c96156e33e9e
[ "MIT" ]
null
null
null
#include <ios> #include <iostream> #include <thread> #include <QCoreApplication> #include <QString> #include <QTime> #include <QMutex> #include <QDateTime> #include <QFile> #include <QTextStream> #include <QThread> #include <globals.h> #include <settings.h> #include <mac_util.h> #include <utils.h> #include <simplecry...
38.202797
152
0.641589
kr0st
9034adfbc182bc89005bd57c7eb895b02d514dd0
1,477
cpp
C++
tests/platform-qemu-mps2-an386/src/interrupts-handlers.cpp
micro-os-plus/diag-trace
3cdbfb11285ceb72ec1d4ac981b6926dc04d2c58
[ "MIT" ]
null
null
null
tests/platform-qemu-mps2-an386/src/interrupts-handlers.cpp
micro-os-plus/diag-trace
3cdbfb11285ceb72ec1d4ac981b6926dc04d2c58
[ "MIT" ]
null
null
null
tests/platform-qemu-mps2-an386/src/interrupts-handlers.cpp
micro-os-plus/diag-trace
3cdbfb11285ceb72ec1d4ac981b6926dc04d2c58
[ "MIT" ]
null
null
null
/* * This file is part of the µOS++ distribution. * (https://github.com/micro-os-plus/) * Copyright (c) 2020 Liviu Ionescu. * * Permission to use, copy, modify, and/or distribute this software * for any purpose is hereby granted, under the terms of the MIT license. * * If a copy of the license was not distrib...
29.54
79
0.545024
micro-os-plus
903732df6136d84914e857a2f76c59050d988af6
7,283
hpp
C++
src/Engine/ObjectFactory.hpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
4
2015-12-24T04:52:48.000Z
2021-11-09T11:31:36.000Z
src/Engine/ObjectFactory.hpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
src/Engine/ObjectFactory.hpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Name: ObjectFactory.hpp // Description: Template for a class that creates subclasses of a base class // based upon some key information // Created: 10/30/2003 10:38:29 Eastern Standard Time // Last Updated: $...
35.014423
80
0.447892
jweathers777
90415cb955a1cebacdcdcfb5b7b0e97d341520ef
5,071
cpp
C++
test/unpack_properties.cpp
mkaranki/sdbusplus
a4c9edc12a4f705eedd18f70d33ea0b70211fe2e
[ "Apache-2.0" ]
72
2016-11-14T18:26:18.000Z
2022-03-25T09:34:46.000Z
test/unpack_properties.cpp
mkaranki/sdbusplus
a4c9edc12a4f705eedd18f70d33ea0b70211fe2e
[ "Apache-2.0" ]
71
2016-11-16T11:00:43.000Z
2022-02-23T08:02:39.000Z
test/unpack_properties.cpp
mkaranki/sdbusplus
a4c9edc12a4f705eedd18f70d33ea0b70211fe2e
[ "Apache-2.0" ]
70
2016-11-11T20:01:44.000Z
2022-03-16T00:51:18.000Z
#include <boost/container/flat_map.hpp> #include <sdbusplus/unpack_properties.hpp> #include <gmock/gmock.h> namespace sdbusplus { using VariantType = std::variant<std::string, uint32_t, float, double>; using ContainerTypes = testing::Types<std::vector<std::pair<std::string, VariantType>>, boos...
26.139175
78
0.650759
mkaranki
9045c6bbf92dda7b2696fcca3cc819e721ae4425
2,422
cpp
C++
Algorithms/Binary_Search/rot_count.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Algorithms/Binary_Search/rot_count.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Algorithms/Binary_Search/rot_count.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// Find the Rotation Count in RIGHT Rotated Sorted array // Consider an array of distinct numbers sorted in increasing order. // The array has been rotated (clockwise) k number of times. Given such an array, find the value of k. // Examples: // Input : arr[] = {15, 18, 2, 3, 6, 12} // Output: 2 // Explanation : Initi...
30.275
135
0.59166
abhishekjha786
9045e3f6b43899ef715a2fff953f38083df8c214
332
cpp
C++
src/codepoint.cpp
atanvarno69/parser-frontend
7df0d005eb1e0105f0a1c6ab756f9940345a7fe9
[ "MIT" ]
null
null
null
src/codepoint.cpp
atanvarno69/parser-frontend
7df0d005eb1e0105f0a1c6ab756f9940345a7fe9
[ "MIT" ]
null
null
null
src/codepoint.cpp
atanvarno69/parser-frontend
7df0d005eb1e0105f0a1c6ab756f9940345a7fe9
[ "MIT" ]
null
null
null
#include <iomanip> #include <sstream> #include "codepoint.h" namespace enjoy { std::string toString(const codepoint& input) noexcept { std::ostringstream output {""}; output << "U+" << std::hex << std::uppercase << std::setw(4) << std::setfill('0') << input; return output.st...
25.538462
68
0.569277
atanvarno69
9047e3e57cc88f33d10923b9c1eec8eab2e6bd51
2,702
hh
C++
sdd/dd/count_combinations.hh
tic-toc/libsdd
5c3deb43523d062929f169c3d7a301240f0fb811
[ "BSD-2-Clause" ]
6
2015-03-21T19:21:29.000Z
2022-01-29T01:20:28.000Z
sdd/dd/count_combinations.hh
tic-toc/libsdd
5c3deb43523d062929f169c3d7a301240f0fb811
[ "BSD-2-Clause" ]
1
2017-02-05T23:39:44.000Z
2017-02-05T23:40:04.000Z
libsdd/sdd/dd/count_combinations.hh
kyouko-taiga/SwiftSDD
9312160e0fac5fef6e605c9e74c543ded9708e54
[ "MIT" ]
3
2016-05-13T14:39:06.000Z
2019-08-09T20:13:39.000Z
/// @file /// @copyright The code is licensed under the BSD License /// <http://opensource.org/licenses/BSD-2-Clause>, /// Copyright (c) 2012-2015 Alexandre Hamez. /// @author Alexandre Hamez #pragma once #include <unordered_map> #include "sdd/dd/count_combinations_fwd.hh" #include "sdd/dd/defi...
28.145833
100
0.584012
tic-toc
9048f03fecc0e39260fdd146bd9119d66ae167bb
338
cpp
C++
dev/Mobile/PerfMonitor/Main.cpp
PixPh/kaleido3d
8a8356586f33a1746ebbb0cfe46b7889d0ae94e9
[ "MIT" ]
38
2019-01-10T03:10:12.000Z
2021-01-27T03:14:47.000Z
dev/Mobile/PerfMonitor/Main.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
null
null
null
dev/Mobile/PerfMonitor/Main.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
8
2019-04-16T07:56:27.000Z
2020-11-19T02:38:37.000Z
#include "MainFrame.h" #include <QApplication> #include <MobileDeviceBridge.h> #if _WIN32 #pragma comment(linker,"/subsystem:console") #endif int main(int argc, char *argv[]) { QApplication a(argc, argv); qRegisterMetaType<k3d::mobi::Processes>("k3d::mobi::Processes"); MainFrame mf; mf.show(); r...
18.777778
68
0.680473
PixPh
904c18e5f564b87bdc7f212bb44d8028515bf939
616
hpp
C++
src/utils/VideoViewedPercentProxy.hpp
AlexeyGurevsky/bbtube
d7329b52cec08cdc80c521e8f3d4f5de746639e7
[ "Apache-2.0" ]
15
2020-07-13T03:51:10.000Z
2022-03-16T13:56:28.000Z
src/utils/VideoViewedPercentProxy.hpp
AlexeyGurevsky/bbtube
d7329b52cec08cdc80c521e8f3d4f5de746639e7
[ "Apache-2.0" ]
2
2021-01-07T20:31:29.000Z
2021-12-15T21:20:34.000Z
src/utils/VideoViewedPercentProxy.hpp
AlexeyGurevsky/bbtube
d7329b52cec08cdc80c521e8f3d4f5de746639e7
[ "Apache-2.0" ]
4
2020-08-15T01:52:31.000Z
2022-03-16T13:56:30.000Z
#ifndef VideoViewedPercentProxy_HPP_ #define VideoViewedPercentProxy_HPP_ #include <QMap> class VideoViewedPercentProxy : public QObject { Q_OBJECT private: QMap<QString, int> map; static VideoViewedPercentProxy* instance; VideoViewedPercentProxy() { } public: static VideoViewedPercentProx...
22.814815
54
0.741883
AlexeyGurevsky
904e9023aedddbef53ef59438c500233e9e1c649
1,900
cpp
C++
src/control/Remote.cpp
gameblabla/reeee3
1b6d0f742b1b6fb681756de702ed618e90361139
[ "Unlicense" ]
2
2021-03-24T22:11:27.000Z
2021-05-07T06:51:04.000Z
src/control/Remote.cpp
gameblabla/reeee3
1b6d0f742b1b6fb681756de702ed618e90361139
[ "Unlicense" ]
null
null
null
src/control/Remote.cpp
gameblabla/reeee3
1b6d0f742b1b6fb681756de702ed618e90361139
[ "Unlicense" ]
null
null
null
#include "common.h" #include "Automobile.h" #include "CarCtrl.h" #include "Camera.h" #include "Remote.h" #include "Timer.h" #include "World.h" #include "PlayerInfo.h" #include "Vehicle.h" void CRemote::GivePlayerRemoteControlledCar(float x, float y, float z, float rot, uint16 model) { CAutomobile *car = new CAutomob...
36.538462
145
0.779474
gameblabla
904ede21ca56930c4c6bd02c275fcdc93fab837b
78
cpp
C++
abstractFactoryExample/producta.cpp
bokki/abstractFactoryPlugin
2e7b1b516a01745475476af4c7216c336c767308
[ "MIT" ]
null
null
null
abstractFactoryExample/producta.cpp
bokki/abstractFactoryPlugin
2e7b1b516a01745475476af4c7216c336c767308
[ "MIT" ]
1
2016-05-13T12:19:34.000Z
2016-05-13T12:19:34.000Z
abstractFactoryExample/producta.cpp
bokki/abstractFactoryPlugin
2e7b1b516a01745475476af4c7216c336c767308
[ "MIT" ]
null
null
null
#include "producta.h" ProductA::ProductA() { } ProductA::~ProductA() { }
6
21
0.615385
bokki
904fa057e37db404d5c506e104a1c7207431a3d7
2,206
cc
C++
src/core/NetBump.cc
gmporter/TritonVFN
5e3478e9fcad48b8d05344d4f7c973e49f41f52f
[ "BSD-3-Clause" ]
1
2018-03-06T12:17:04.000Z
2018-03-06T12:17:04.000Z
src/core/NetBump.cc
gmporter/TritonVFN
5e3478e9fcad48b8d05344d4f7c973e49f41f52f
[ "BSD-3-Clause" ]
null
null
null
src/core/NetBump.cc
gmporter/TritonVFN
5e3478e9fcad48b8d05344d4f7c973e49f41f52f
[ "BSD-3-Clause" ]
null
null
null
#ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <assert.h> #include <sched.h> #include <stdio.h> #include "core/NetBump.hh" #include "core/myricom/MyricomSNFNetworkInterface.hh" NetBump::NetBump(MyricomSNFNetworkInterface * inInterface, MyricomSNFNetworkInterface * outInterface, ...
20.811321
80
0.650045
gmporter
905205a137d34e10c9b9b88a3e5612740b1f620d
13,025
cpp
C++
src/game.cpp
paul999/physical-pong
2966f6e2105da753feb37c46a86ea9f87eb805e0
[ "MIT" ]
null
null
null
src/game.cpp
paul999/physical-pong
2966f6e2105da753feb37c46a86ea9f87eb805e0
[ "MIT" ]
null
null
null
src/game.cpp
paul999/physical-pong
2966f6e2105da753feb37c46a86ea9f87eb805e0
[ "MIT" ]
null
null
null
/** * Copyright (C) 2019 by Paul Sohier * * 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 l> imitation the rights to use, copy, modify, merge, publi...
31.614078
161
0.613129
paul999
905e1d1300cf83a0a346d9fd32b6b455c0420f7a
1,455
cpp
C++
C++/Organizing Containers of Balls.cpp
karunagatiyala/hackerrank_problems-or-hackerearth_problems
645bb30465ee962733433a9a30fd5873b9fe33c2
[ "MIT" ]
1
2019-10-15T09:14:29.000Z
2019-10-15T09:14:29.000Z
C++/Organizing Containers of Balls.cpp
karunagatiyala/hackerrank_problems-or-hackerearth_problems
645bb30465ee962733433a9a30fd5873b9fe33c2
[ "MIT" ]
5
2019-10-30T05:24:27.000Z
2019-10-30T05:28:03.000Z
C++/Organizing Containers of Balls.cpp
karunagatiyala/hackerrank_problems-or-hackerearth_problems
645bb30465ee962733433a9a30fd5873b9fe33c2
[ "MIT" ]
10
2019-10-15T03:04:17.000Z
2019-10-29T18:39:11.000Z
#include<iostream> #include<algorithm> #include<stdlib.h> using namespace std; int main() { int q; scanf("%d",&q); while(q--) { int n; scanf("%d",&n); long long int c[n]={0}; long long int b[n]={0}; for(int i=0; i<n; i++) { ...
17.321429
36
0.270103
karunagatiyala
905e2fa54c5d6ed3030fb9dc6730703a7fff3e3a
989
cpp
C++
Algorithms/Sorting/array_partition.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Algorithms/Sorting/array_partition.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Algorithms/Sorting/array_partition.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// Given an integer array nums of 2n integers, group these integers into n pairs // (a1, b1), (a2, b2), ..., (an, bn) // such that the sum of min(ai, bi) for all i is maximized. // Return the maximized sum. // https://leetcode.com/problems/array-partition-i/ // Example 1: // Input: arr = [1,2,2,1,1,3] // Output: tru...
20.183673
118
0.592518
abhishekjha786
905fe975d8bb33cb3269bae15ec50b9e9f7d7c37
1,475
cpp
C++
codeforces/r634/problem4/main.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
codeforces/r634/problem4/main.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
codeforces/r634/problem4/main.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
// from bits/stdc++.h // C #include <cassert> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> // C++ #include <algorithm> #include <bitset> #include <complex> #include <deque> #include <fstream> #include <functional> #include <iostream> #include <istream> #i...
15.691489
54
0.610169
suhwanhwang
90646243f3c7db26946d57307c787932f87dd02e
657
cpp
C++
lib/protocol/src/State/Header.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/protocol/src/State/Header.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/protocol/src/State/Header.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "State/Header.hpp" #include "astateful/bson/Serialize.hpp" #include "astateful/bson/Element/String.hpp" #include "astateful/token/h1/Context.hpp" namespace astateful { namespace protocol { template<> std::unique_ptr<bson::Serialize> StateHeader<bson::Serialize, std::string>::operator() ( const algorith...
28.565217
101
0.695586
astateful
906586d9fd226508b221377b70443b9efb2c2c8c
2,008
cpp
C++
src/AnalogComparator.cpp
saleem-hadad/mino
28ff2549f63cb491534e522e1f313866e934afa0
[ "MIT" ]
22
2018-01-15T20:12:36.000Z
2022-02-03T18:12:44.000Z
src/AnalogComparator.cpp
saleem-hadad/mino
28ff2549f63cb491534e522e1f313866e934afa0
[ "MIT" ]
5
2018-01-10T13:21:11.000Z
2018-09-09T18:55:52.000Z
src/AnalogComparator.cpp
saleem-hadad/mino
28ff2549f63cb491534e522e1f313866e934afa0
[ "MIT" ]
7
2018-01-08T05:02:49.000Z
2020-05-31T04:45:30.000Z
/* .----------------. .----------------. .-----------------. .----------------. | .--------------. || .--------------. || .--------------. || .--------------. | | | ________ | || | _____ | || | ____ _____ | || | ____ | | | | | __ _| | || | |_ _| | || ||_ \|_ _| | || | .' `. ...
27.506849
80
0.394422
saleem-hadad
906a55d642b7fd592f3209f2d1327bde67b3c476
8,975
cpp
C++
src/qt/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
25
2015-07-21T18:14:57.000Z
2021-02-21T10:00:48.000Z
src/qt/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
3
2015-01-19T11:31:54.000Z
2015-07-01T13:28:48.000Z
src/qt/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
9
2016-03-14T13:25:14.000Z
2021-02-21T10:09:22.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
33.996212
162
0.650474
jefleponot
906c49a22f9ffdc38b448efe46d66167cd6ff270
4,746
cpp
C++
engine/main/objects/material/common/collision/algorithms/coordinates/MovingCollisionFunctions.cpp
bwormguy/flash
d1f0cc40fce67e9932d4e9474da8d66cab055cdf
[ "MIT" ]
3
2020-08-25T07:49:45.000Z
2020-10-16T17:54:53.000Z
engine/main/objects/material/common/collision/algorithms/coordinates/MovingCollisionFunctions.cpp
bwormguy/flash
d1f0cc40fce67e9932d4e9474da8d66cab055cdf
[ "MIT" ]
1
2020-09-18T04:35:13.000Z
2020-09-18T04:35:13.000Z
engine/main/objects/material/common/collision/algorithms/coordinates/MovingCollisionFunctions.cpp
bwormguy/flash
d1f0cc40fce67e9932d4e9474da8d66cab055cdf
[ "MIT" ]
null
null
null
// // Created by roman on 03.11.2020. // #include "MovingCollisionFunctions.h" static std::pair<std::size_t, std::size_t> ordinateVergeIndex(const Possibilities::PhysicallySituated &object, const std::pair<float, float> &ordinateVerge, bool moveSide) noexcept { std::pair<std::size_t, std::size_t> result(0, 0); ...
50.489362
153
0.663295
bwormguy
90727646faecf6357087c46e5b3f922babc7ad66
8,293
cpp
C++
src/InGame.cpp
DevelopersGuild/C-RPG
92d33bf5ab14d8c41478d75aa7068f83890a5ea0
[ "MIT" ]
4
2018-04-15T06:01:06.000Z
2022-02-26T02:08:59.000Z
src/InGame.cpp
DevelopersGuild/C-RPG
92d33bf5ab14d8c41478d75aa7068f83890a5ea0
[ "MIT" ]
6
2016-02-02T07:46:03.000Z
2016-06-10T18:41:15.000Z
src/InGame.cpp
DevelopersGuild/C-RPG
92d33bf5ab14d8c41478d75aa7068f83890a5ea0
[ "MIT" ]
5
2016-03-15T01:12:26.000Z
2019-02-28T18:51:14.000Z
#include "InGame.h" #include <sstream> InGame::InGame(Configuration& newConfig, std::unique_ptr<StartInfo> startInfo) : config(newConfig) { loadGame(startInfo); } InGame::~InGame() { delete interfacePtr; delete networkPtr; delete systemPtr; } void InGame::run() { sf::RenderWindow& window = config.window; wind...
25.43865
96
0.643675
DevelopersGuild
9074258a5f4859d2b4e6b09b1b5ff2cc7ed0210b
5,725
hpp
C++
rdma/rnic.hpp
ruihong123/NovaLSM
8a661197ce5b993f2baeef608f34192d1ef0adf5
[ "BSD-3-Clause" ]
14
2020-09-25T00:12:46.000Z
2022-03-24T12:11:03.000Z
rdma/rnic.hpp
ruihong123/NovaLSM
8a661197ce5b993f2baeef608f34192d1ef0adf5
[ "BSD-3-Clause" ]
null
null
null
rdma/rnic.hpp
ruihong123/NovaLSM
8a661197ce5b993f2baeef608f34192d1ef0adf5
[ "BSD-3-Clause" ]
6
2020-12-01T23:21:47.000Z
2022-03-03T07:47:53.000Z
#pragma once #include <infiniband/verbs.h> #include <vector> #include <cstring> #include "common/nova_console_logging.h" namespace rdmaio { // The name of the particular port on the RNIC. typedef struct { uint64_t subnet_prefix; uint64_t interface_id; uint32_t local_id; } address_t; ...
31.11413
117
0.476856
ruihong123
907516c7411190e4cd1674106633312a2a5a3a22
1,259
cpp
C++
src/expect_value_or_end_array.cpp
maghoff/jsonxx
c5edb3040d72a1251f5e96e2c3a3b0876bcf8652
[ "MIT" ]
null
null
null
src/expect_value_or_end_array.cpp
maghoff/jsonxx
c5edb3040d72a1251f5e96e2c3a3b0876bcf8652
[ "MIT" ]
null
null
null
src/expect_value_or_end_array.cpp
maghoff/jsonxx
c5edb3040d72a1251f5e96e2c3a3b0876bcf8652
[ "MIT" ]
null
null
null
#include "parser2_state.hpp" #include "object_listener.hpp" #include "scanner_listener_stack.hpp" #include "expect_value_or_end_array.hpp" namespace jsonxx { expect_value_or_end_array::expect_value_or_end_array(parser2_state& s_) : error_scanner_listener("value or ]"), s(s_), expect_comma_or_end_array_state(s_) { ...
35.971429
105
0.777601
maghoff
90760e04bcdaa27a8a6ca0025a2d58e8ff76061a
724
cpp
C++
codeforces/groups/yg7WhsFsAp/355490/P05.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/groups/yg7WhsFsAp/355490/P05.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/groups/yg7WhsFsAp/355490/P05.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
#include <bits/stdc++.h> using namespace std; void solve() { string s; cin >> s; int cnt0 = 0, cnt1 = 0, dangerous = 0; for(int i = 0; i < s.size(); i++) { if(s[i] == '0') { if(++cnt0 == 7) { dangerous = 1; break; } } else { ...
20.111111
55
0.364641
wingkwong
9079491e2b8fa73e6795edb589b543729bb61297
1,922
cpp
C++
Days 131 - 140/Day 133/FindInorderSuccessor.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 131 - 140/Day 133/FindInorderSuccessor.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 131 - 140/Day 133/FindInorderSuccessor.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <iostream> #include <iterator> #include <memory> #include <vector> struct Node { int value; std::shared_ptr<Node> left; std::shared_ptr<Node> right; std::shared_ptr<Node> parent = nullptr; explicit Node(const int value, const std::shared_ptr<Node>& left = nullptr, const std::shared_ptr<Node>& right = n...
24.641026
131
0.702914
LucidSigma