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
82514f2c72fa441a8101d2c52b132f4a07918596
6,737
cpp
C++
Engine/Source/GameBase/src/PhysicsSystem.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/GameBase/src/PhysicsSystem.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/GameBase/src/PhysicsSystem.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
#include "stdafx.h" #include "PhysicsSystem.h" #include "EntityManager.hxx" #include "PhysicsComponent.h" #include "TransformComponent.h" #include "physics.hxx" #include "EventManager.hxx" #include "EntityInitializedEventData.h" #include "EntityScaledEventData.h" #include "BaseEntity.hxx" using namespace GameBase; usi...
32.545894
153
0.669586
AnkurSheel
825528b594bc12591413bcd8e9dc92c68f6b3c3d
3,742
cc
C++
cpp/src/precompiled/epoch_time_point_test.cc
ZMZ91/gandiva
6f11d4ef79b38074151e3107d46477f45ed21d11
[ "Apache-2.0" ]
479
2018-06-21T18:28:52.000Z
2022-03-12T07:55:56.000Z
cpp/src/precompiled/epoch_time_point_test.cc
ZMZ91/gandiva
6f11d4ef79b38074151e3107d46477f45ed21d11
[ "Apache-2.0" ]
11
2018-06-22T06:01:47.000Z
2018-10-01T11:56:24.000Z
cpp/src/precompiled/epoch_time_point_test.cc
ZMZ91/gandiva
6f11d4ef79b38074151e3107d46477f45ed21d11
[ "Apache-2.0" ]
65
2018-06-22T06:05:30.000Z
2022-02-08T22:39:13.000Z
// Copyright (C) 2017-2018 Dremio 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 law ...
38.183673
86
0.70604
ZMZ91
82567b36f40b6c056828f7aaa27de5c3a6d187a0
514
cpp
C++
Cpp_Q03.cpp
Samad-Cyber01/CPP_Practical_Project
4f5107b343e2b144e59f90a0bd859d53c65a9b17
[ "Unlicense" ]
null
null
null
Cpp_Q03.cpp
Samad-Cyber01/CPP_Practical_Project
4f5107b343e2b144e59f90a0bd859d53c65a9b17
[ "Unlicense" ]
null
null
null
Cpp_Q03.cpp
Samad-Cyber01/CPP_Practical_Project
4f5107b343e2b144e59f90a0bd859d53c65a9b17
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> using namespace std; int main(int argc, char *argv[]) { string s = ""; for (int i = 1; i < argc; i++) { s += argv[i]; } cout << s << endl; int freq[26] = {0}; // because we have 26 alphabets. for (int i =...
17.724138
58
0.414397
Samad-Cyber01
8257da4d1c96b8d8cd36cb5c1d094df49cab0ce8
1,437
hpp
C++
libtest/src/test_ntcsensor.hpp
rvt/bbq-controller
6ff1591b238e180dc0431a5829a9f0f6eaa7c08d
[ "MIT" ]
13
2019-02-26T20:14:32.000Z
2022-01-12T23:54:00.000Z
libtest/src/test_ntcsensor.hpp
rvt/bbq-controller
6ff1591b238e180dc0431a5829a9f0f6eaa7c08d
[ "MIT" ]
null
null
null
libtest/src/test_ntcsensor.hpp
rvt/bbq-controller
6ff1591b238e180dc0431a5829a9f0f6eaa7c08d
[ "MIT" ]
2
2021-09-21T22:44:06.000Z
2022-03-11T01:08:50.000Z
#include <catch2/catch.hpp> #include "arduinostubs.hpp" #include <memory> #include <NTCSensor.h> #include <array> TEST_CASE("Should Calculate steinHartValues", "[ntcsensor]") { float r, r1, r2, r3, t1, t2, t3, ka, kb, kc; r = 10000; r1 = 25415; t1 = 5; r2 = 10021; t2 = 25; r3 = 6545; ...
27.634615
73
0.583159
rvt
825a36a5130925c6036ee9326fbe0dfe7cfd4f10
823
hpp
C++
Siv3D/include/Siv3D/None.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/include/Siv3D/None.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
32
2021-10-09T10:04:11.000Z
2022-02-25T06:10:13.000Z
Siv3D/include/Siv3D/None.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <ostream> # include <o...
21.657895
102
0.594168
tas9n
825aa0b3e26d8f6c30a8aa0b33723c3481a559e3
375
cpp
C++
source/node/Divide.cpp
xzrunner/sop
80f84765548fde33d990663d4a4b8054bb6714d1
[ "MIT" ]
null
null
null
source/node/Divide.cpp
xzrunner/sop
80f84765548fde33d990663d4a4b8054bb6714d1
[ "MIT" ]
null
null
null
source/node/Divide.cpp
xzrunner/sop
80f84765548fde33d990663d4a4b8054bb6714d1
[ "MIT" ]
null
null
null
#include "sop/node/Divide.h" #include "sop/GeometryImpl.h" #include "sop/NodeHelper.h" namespace sop { namespace node { void Divide::Execute(const ur::Device& dev, Evaluator& eval) { m_geo_impl.reset(); auto prev_geo = NodeHelper::GetInputGeo(*this, 0); if (!prev_geo) { return; } m_geo_i...
16.304348
60
0.664
xzrunner
82640d879a292ea2667f442bbb25ee11cde076ce
28,251
cpp
C++
bulletgba/generator/data/code/otakutwo/self-1011.cpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
5
2020-03-24T07:44:49.000Z
2021-08-30T14:43:31.000Z
bulletgba/generator/data/code/otakutwo/self-1011.cpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
null
null
null
bulletgba/generator/data/code/otakutwo/self-1011.cpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
null
null
null
// XXX uniqID XXX d71264b76755bf6859ed2e8003714e02 XXX #include <gba_types.h> #include "bullet.hpp" #include "fixed.hpp" #include "otakutwo/self-1011.hpp" extern const BulletStepFunc bullet_c5653fc1f3d44172edd1c912fbf88785_d71264b76755bf6859ed2e8003714e02[] = { stepfunc_d63f935eaeadb4a3f83557ae10cc6a28_d71264b76...
70.6275
364
0.876925
pqrs-org
826688c5c8830649bacaea1883a3bc16f693d7fd
533
cpp
C++
BOJ_CPP/2238.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/2238.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/2238.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int main() { fastio; int U, N; cin >> U >> N; map<int, vector<string>> mp; for (int i = 0; i < N; ++i) { string s; int v; cin >> s >> v; mp[v].push_back(s);...
20.5
63
0.435272
tnsgh9603
8266eeb98d4ff136d11e60bc666ad74e7c1866c9
1,069
hh
C++
KalmanTrack/KalCodes.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
KalmanTrack/KalCodes.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
KalmanTrack/KalCodes.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
// File and Version Information: // $Id: KalCodes.hh,v 1.7 2005/09/08 19:07:43 brownd Exp $ // // Description: // define codes used in KalRep fitting // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Copyright Information: // Copyright (C) 1997 Lawrence Berkeley...
33.40625
76
0.682881
brownd1978
8267b549783c76a61d196991838495325ae2d3b4
695,994
cpp
C++
src/main_600.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
src/main_600.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
src/main_600.cpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: OVRMessenger/BroadcastException #include "GlobalNamespace/OVRMessenger_BroadcastException.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils.h...
75.462865
452
0.78189
RedBrumbler
8269a7fd53c3ca0623d8cd1de02c8fd29db19750
12,190
hpp
C++
libbitcoin/include/bitcoin/network/channel.hpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
8
2019-05-31T01:37:08.000Z
2021-10-19T05:52:45.000Z
libbitcoin/include/bitcoin/network/channel.hpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
3
2017-12-18T17:27:09.000Z
2018-01-15T16:50:05.000Z
libbitcoin/include/bitcoin/network/channel.hpp
mousewu/bcclient
64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c
[ "MIT" ]
5
2018-01-09T15:05:55.000Z
2020-12-17T13:27:25.000Z
/* * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software * Fou...
35.333333
76
0.728138
mousewu
826b219df29c09ea0b3cf5fba7e0df1950d86c37
4,344
cc
C++
release/src/router/aria2/test/BtBitfieldMessageTest.cc
Clarkmania/ripetomato
5eda5521468cb9cb7156ae6750cf8229b776d10e
[ "FSFAP" ]
3
2019-01-13T09:19:57.000Z
2022-01-15T12:16:14.000Z
release/src/router/aria2/test/BtBitfieldMessageTest.cc
Clarkmania/ripetomato
5eda5521468cb9cb7156ae6750cf8229b776d10e
[ "FSFAP" ]
1
2020-07-28T08:22:45.000Z
2020-07-28T08:22:45.000Z
release/src/router/aria2/test/BtBitfieldMessageTest.cc
Clarkmania/ripetomato
5eda5521468cb9cb7156ae6750cf8229b776d10e
[ "FSFAP" ]
1
2020-03-06T21:17:24.000Z
2020-03-06T21:17:24.000Z
#include "BtBitfieldMessage.h" #include <cstring> #include <cppunit/extensions/HelperMacros.h> #include "bittorrent_helper.h" #include "util.h" #include "Peer.h" #include "MockPieceStorage.h" #include "DlAbortEx.h" #include "FileEntry.h" namespace aria2 { class BtBitfieldMessageTest:public CppUnit::TestFixture { ...
30.166667
84
0.715239
Clarkmania
826c72304da612bbbf802b6c33b1bbb45f90fd24
1,794
cpp
C++
src/Rcpp_s2point.cpp
odvratnozgodan/s2
e5293d0944e5053e0300d61823914728032c16c9
[ "Apache-2.0" ]
33
2016-08-10T09:13:43.000Z
2021-06-22T22:52:04.000Z
src/Rcpp_s2point.cpp
odvratnozgodan/s2
e5293d0944e5053e0300d61823914728032c16c9
[ "Apache-2.0" ]
9
2016-12-12T17:28:20.000Z
2020-08-11T14:41:19.000Z
src/Rcpp_s2point.cpp
odvratnozgodan/s2
e5293d0944e5053e0300d61823914728032c16c9
[ "Apache-2.0" ]
10
2016-12-12T17:19:40.000Z
2021-12-03T17:44:29.000Z
#include "Rcpp_datatypes.h" #include "s2/s2.h" #include "s2/s2polyline.h" #include <Rcpp.h> using namespace Rcpp; // Find break points to split polyline with vertices `points` in n pieces of // equal length (incl. start and end vertex). Only used with two points in our // code. std::vector<S2Point> s2point_interpolat...
35.88
82
0.714604
odvratnozgodan
826e473c8d456a6f3bdeedfd87fd2dbd9e1195e1
4,008
cpp
C++
src/expression_evaluator/evaluator.cpp
vadikrobot/asio-calc
aab5b6aed7369483186df7174fb5665985f0876b
[ "MIT" ]
null
null
null
src/expression_evaluator/evaluator.cpp
vadikrobot/asio-calc
aab5b6aed7369483186df7174fb5665985f0876b
[ "MIT" ]
null
null
null
src/expression_evaluator/evaluator.cpp
vadikrobot/asio-calc
aab5b6aed7369483186df7174fb5665985f0876b
[ "MIT" ]
null
null
null
#include "evaluator.hpp" #include <string> #include <sstream> #include <iterator> #include <limits> #include <spdlog/spdlog.h> namespace AsioCalc { template<class T, typename std::enable_if<std::is_integral<T>::value, int>::type = 0> T ParseInteger(const std::string &s) { return std::stoi(s); } template<class In...
26.899329
105
0.574601
vadikrobot
826f50faf103f47713ac6981e44453d84c9fda16
50
hpp
C++
src/boost_statechart_in_state_reaction.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_statechart_in_state_reaction.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_statechart_in_state_reaction.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/statechart/in_state_reaction.hpp>
25
49
0.84
miathedev
8270f7db0cfd5621980fc2f4f3ea43be86e3868d
1,659
cpp
C++
src/AWEngine/PacketClient_StatusRequest.cpp
graymadness/AWEngine_Packet
5a00aa954edf5bc5d496746cfdeab1511d5633b1
[ "MIT" ]
null
null
null
src/AWEngine/PacketClient_StatusRequest.cpp
graymadness/AWEngine_Packet
5a00aa954edf5bc5d496746cfdeab1511d5633b1
[ "MIT" ]
null
null
null
src/AWEngine/PacketClient_StatusRequest.cpp
graymadness/AWEngine_Packet
5a00aa954edf5bc5d496746cfdeab1511d5633b1
[ "MIT" ]
null
null
null
#include "PacketClient.hpp" #include <AWEngine/Packet/PacketWrapper.hpp> #include <AWEngine/Packet/ToServer/Login/Init.hpp> #include <AWEngine/Packet/ToClient/Login/ServerInfo.hpp> namespace AWEngine { ::AWEngine::Packet::ToClient::Login::ServerInfo PacketClient::GetServerStatus(const std::string& host, uint16_t...
36.065217
170
0.625075
graymadness
8272a40fd799f5de7c76eb537d89e82d48f00d4c
738
cpp
C++
python/bindings/define_environments.cpp
juloberno/mamcts
6bbc33ddc95ce2b55a67a4d4b037f996e343eefc
[ "MIT" ]
3
2019-11-06T20:36:12.000Z
2021-11-24T13:55:07.000Z
python/bindings/define_environments.cpp
juloberno/mamcts
6bbc33ddc95ce2b55a67a4d4b037f996e343eefc
[ "MIT" ]
null
null
null
python/bindings/define_environments.cpp
juloberno/mamcts
6bbc33ddc95ce2b55a67a4d4b037f996e343eefc
[ "MIT" ]
5
2019-09-18T20:30:01.000Z
2021-11-24T13:55:17.000Z
// Copyright (c) 2019 Julian Bernhard // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. // ======================================================== #include "python/bindings/define_environments.hpp" #include "python/bindings/define_crossing_state...
29.52
60
0.617886
juloberno
8276b81f6c3301a136880c591480ec207f54257b
780
cpp
C++
ballfactory.cpp
andinsbing/BrickBreaker
cc93db7f4e294419c8884ca3f75bb239bbbf0edd
[ "MIT" ]
null
null
null
ballfactory.cpp
andinsbing/BrickBreaker
cc93db7f4e294419c8884ca3f75bb239bbbf0edd
[ "MIT" ]
null
null
null
ballfactory.cpp
andinsbing/BrickBreaker
cc93db7f4e294419c8884ca3f75bb239bbbf0edd
[ "MIT" ]
null
null
null
#include "ballfactory.h" #include"normalball.h" #include"fastball.h" #include"slowball.h" #include"bigball.h" #include"smallball.h" #include"superball.h" AbstractBall* BallFactory::constructNormalBall(QGraphicsItem* parent) { return new NormalBall(parent); } AbstractBall* BallFactory::constructFastBall(QGraphicsIte...
20.526316
69
0.789744
andinsbing
827deab044e9c282d4b2ac0fcac70f1c8a832ca7
783
cpp
C++
2nd/125_valid_palindrome.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
2nd/125_valid_palindrome.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
2nd/125_valid_palindrome.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <cctype> #include <cassert> using namespace std; class Solution { public: bool isPalindrome(string s) { for (string::iterator i = s.begin(), j = s.end(); i < j; ) { if (!isalnum(*i)) { ++i; continue; } ...
23.029412
115
0.478927
buptlxb
827f777f5e31139c27fa6736cf31c1cdc2ae0c06
4,448
hpp
C++
common/StateEnum.hpp
pree/collabora-online
9f7fe7cb54a29d0894c2d4d960b737e1fda89dc6
[ "BSD-2-Clause" ]
null
null
null
common/StateEnum.hpp
pree/collabora-online
9f7fe7cb54a29d0894c2d4d960b737e1fda89dc6
[ "BSD-2-Clause" ]
null
null
null
common/StateEnum.hpp
pree/collabora-online
9f7fe7cb54a29d0894c2d4d960b737e1fda89dc6
[ "BSD-2-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #include <iosfwd...
58.526316
116
0.54429
pree
82819dcf2d376631ed1516b6d9d69c02ba8e71e6
4,799
cpp
C++
bbs/bbsovl3.cpp
k5jat/wwiv
b390e476c75f68e0f4f28c66d4a2eecd74753b7c
[ "Apache-2.0" ]
null
null
null
bbs/bbsovl3.cpp
k5jat/wwiv
b390e476c75f68e0f4f28c66d4a2eecd74753b7c
[ "Apache-2.0" ]
null
null
null
bbs/bbsovl3.cpp
k5jat/wwiv
b390e476c75f68e0f4f28c66d4a2eecd74753b7c
[ "Apache-2.0" ]
null
null
null
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2017, WWIV Software Services */ /* ...
28.39645
101
0.567618
k5jat
8282d4c4db6081ac3ac6867261d931c13819bf34
3,392
cc
C++
IntegrationWithMacSim/src/memreq_info.cc
uwuser/MCsim
df0033e73aa7669fd89bc669ff25a659dbb253f6
[ "MIT" ]
1
2021-11-25T20:09:08.000Z
2021-11-25T20:09:08.000Z
IntegrationWithMacSim/src/memreq_info.cc
uwuser/MCsim
df0033e73aa7669fd89bc669ff25a659dbb253f6
[ "MIT" ]
1
2021-11-03T21:15:53.000Z
2021-11-04T15:53:20.000Z
IntegrationWithMacSim/src/memreq_info.cc
uwuser/MCsim
df0033e73aa7669fd89bc669ff25a659dbb253f6
[ "MIT" ]
1
2020-11-25T14:09:30.000Z
2020-11-25T14:09:30.000Z
/* Copyright (c) <2012>, <Georgia Institute 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 notice, this list of conditions...
30.285714
95
0.634434
uwuser
8282ffc688bf4fc37c1270dbb8bcea6f20d6bb02
7,916
cpp
C++
src/e131_receiver.cpp
shenghaoyang/e131_blinkt
79db8d2cde6b5ba39316b16fb809384790e86b4d
[ "MIT" ]
null
null
null
src/e131_receiver.cpp
shenghaoyang/e131_blinkt
79db8d2cde6b5ba39316b16fb809384790e86b4d
[ "MIT" ]
null
null
null
src/e131_receiver.cpp
shenghaoyang/e131_blinkt
79db8d2cde6b5ba39316b16fb809384790e86b4d
[ "MIT" ]
null
null
null
/** * \file e131_receiver.cpp * * \copyright Shenghao Yang, 2018 * * See LICENSE for details */ #include <e131_receiver.hpp> namespace e131_receiver { std::string cid_str(const cid& uuid) { std::string s; static constexpr std::array<char, 16> hex_lut{'0', '1', '2', '3', '4', '5', ...
25.371795
80
0.637696
shenghaoyang
82860f338280150e082386907a277869f1a12a47
76,437
cpp
C++
libdqmc/cx_dqmc_greens_general_renyi.cpp
pebroecker/DQMC
c4a96cb20347ef722b6ae68c415233d464c89e93
[ "BSD-3-Clause" ]
null
null
null
libdqmc/cx_dqmc_greens_general_renyi.cpp
pebroecker/DQMC
c4a96cb20347ef722b6ae68c415233d464c89e93
[ "BSD-3-Clause" ]
null
null
null
libdqmc/cx_dqmc_greens_general_renyi.cpp
pebroecker/DQMC
c4a96cb20347ef722b6ae68c415233d464c89e93
[ "BSD-3-Clause" ]
null
null
null
#include "cx_dqmc_greens_general_renyi.hpp" using namespace std; void cx_dqmc::greens_general_renyi::initialize() { vol = p->n_A + 2 * p->n_B; sites = ws->sites; if (p->update_type == p->CX_SPINFUL_UPDATE) { delayed_buffer_size = min(200, sites/2); } else if (p->update_type == p->CX_SPIN...
33.732127
103
0.61673
pebroecker
82871ae8f6feb8f16a665dd816f7fbd2330b61fe
2,596
cpp
C++
NOLF/ClientShellDLL/PlayerSoundFX.cpp
rastrup/no-one-lives-forever
dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54
[ "Unlicense" ]
65
2015-02-28T03:35:14.000Z
2021-09-23T05:43:33.000Z
NOLF/ClientShellDLL/PlayerSoundFX.cpp
rastrup/no-one-lives-forever
dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54
[ "Unlicense" ]
null
null
null
NOLF/ClientShellDLL/PlayerSoundFX.cpp
rastrup/no-one-lives-forever
dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54
[ "Unlicense" ]
27
2015-02-28T07:42:01.000Z
2022-02-11T01:35:20.000Z
// ----------------------------------------------------------------------- // // // MODULE : PlayerSoundFX.cpp // // PURPOSE : Player sound special FX - Implementation // // CREATED : 7/28/98 (was WeaponSoundFX) // // (c) 1998-2000 Monolith Productions, Inc. All Rights Reserved // // -----------------------...
26.762887
98
0.545455
rastrup
82935cb840ce28539f4ad2d5854a7736f6ea5816
620
cc
C++
hackt_docker/hackt/test/chpsim/installtest/hello.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/test/chpsim/installtest/hello.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/test/chpsim/installtest/hello.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
#include <iostream> #include <sim/chpsim/chpsim_dlfunction.hh> using std::cout; using std::endl; USING_CHPSIM_DLFUNCTION_PROLOGUE //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - static void hello(void) { cout << "Hello, world!" << endl; } CHP_DLFUNCTION_LOAD_DEFAULT("hello", hello) ...
21.37931
79
0.462903
broken-wheel
8299303688cf17846ef183fd32ba010c19d7f781
744
cpp
C++
Object Oriented Algo Design in C++/practice/vector.cpp
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
Object Oriented Algo Design in C++/practice/vector.cpp
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
Object Oriented Algo Design in C++/practice/vector.cpp
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int main() { vector<int>vec;//creating a vector to store integers int i,n,value; cout<<"vector size="<<vec.size()<<endl; cout<<"enter the number of elements to be inserted in the vector:"; cin>>n; cout<<"\nenter the elements:"; for(i=1;i<=n;i++)//we have...
24.8
132
0.649194
aishwaryamallampati
829f476a47dd2f732f9e9132495e0318a970c9ee
953
cpp
C++
Progs/Ch03/Adswitch.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T06:53:51.000Z
2022-02-18T11:15:19.000Z
Progs/Ch03/Adswitch.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
null
null
null
Progs/Ch03/Adswitch.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T07:05:43.000Z
2022-03-09T17:45:32.000Z
// adswitch.cpp // demonstrates SWITCH with adventure program #include <iostream> using namespace std; #include <conio.h> //for getche() int main() { char dir='a'; int x=10, y=10; while( dir != '\r' ) { cout << "\nYour location is " << x << ", " << y; ...
34.035714
64
0.400839
singhnir
82a4046dfca6f406ee9a8f7402e346bbe7977621
8,387
cpp
C++
src/main/report.cpp
jack-running/mmbot
f9015d88ac00524736545119ee1d073546bc2caa
[ "MIT" ]
null
null
null
src/main/report.cpp
jack-running/mmbot
f9015d88ac00524736545119ee1d073546bc2caa
[ "MIT" ]
null
null
null
src/main/report.cpp
jack-running/mmbot
f9015d88ac00524736545119ee1d073546bc2caa
[ "MIT" ]
null
null
null
/* * report.cpp * * Created on: 17. 5. 2019 * Author: ondra */ #include "report.h" #include <imtjson/value.h> #include <imtjson/object.h> #include <imtjson/array.h> #include <chrono> #include <numeric> #include "../shared/linear_map.h" #include "../shared/logOutput.h" #include "../shared/range.h" #include...
24.380814
102
0.665435
jack-running
82a7211cfeb7b0ee1fdb5f38a7bec1f68d8340c2
499
cpp
C++
data/main.cpp
noahleft/serialization
731ebcee68339960308a86b25cf3c11ba815043e
[ "MIT" ]
null
null
null
data/main.cpp
noahleft/serialization
731ebcee68339960308a86b25cf3c11ba815043e
[ "MIT" ]
null
null
null
data/main.cpp
noahleft/serialization
731ebcee68339960308a86b25cf3c11ba815043e
[ "MIT" ]
null
null
null
#include <iostream> #include "data.hpp" int main() { std::string buf; auto root = get_serializable_object(); #if defined(SERIALIZE) buf = serialize(root); auto des = deserialize(buf); std::cout << "Is serialize/deserialize result equivalent:" << is_equal(root, des) << std::endl; std::cout << "...
26.263158
103
0.645291
noahleft
82a940641f8d61754e09d6f0ff19ab3dd922b25c
1,400
cpp
C++
game/src/BigAlan.cpp
unbgames/DigAlanDig
0e78ee6ef2d253c2d32db0835b24503a38850057
[ "Zlib" ]
null
null
null
game/src/BigAlan.cpp
unbgames/DigAlanDig
0e78ee6ef2d253c2d32db0835b24503a38850057
[ "Zlib" ]
null
null
null
game/src/BigAlan.cpp
unbgames/DigAlanDig
0e78ee6ef2d253c2d32db0835b24503a38850057
[ "Zlib" ]
5
2018-08-28T01:50:25.000Z
2018-09-10T13:03:45.000Z
#include "BigAlan.h" #include "Game.h" #include "AlanAnimation.h" #include "InputManager.h" #include "GridControl.h" void BigAlan::Update(float dt) { int combo = Game::GetInstance()->combo; int diffCombo = std::abs(combo - oldCombo); oldCombo = combo; if(Game::GetInstance()->GetGridControl()->GetAlan...
29.166667
146
0.576429
unbgames
82aae7812f8222a456908f2d0906b5b17f7d3276
1,929
cpp
C++
higan/processor/arm/arm.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
3
2016-03-23T01:17:36.000Z
2019-10-25T06:41:09.000Z
higan/processor/arm/arm.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
higan/processor/arm/arm.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
#include <processor/processor.hpp> #include "arm.hpp" namespace Processor { #include "registers.cpp" #include "algorithms.cpp" #include "instructions-arm.cpp" #include "instructions-thumb.cpp" #include "step.cpp" #include "disassembler.cpp" #include "serialization.cpp" auto ARM::power() -> void { processor.power()...
21.197802
74
0.622602
ameer-bauer
82acadd7d3cb5c0245dc70cc1ce0c57ad163287b
142
cpp
C++
obi-problems/problem011/main.cpp
Davi-Argemiro/Algorithms-and-Data-Structures
4cbf083fbe00da793c1147c4b9e3493d96ac50a1
[ "MIT" ]
1
2022-03-01T15:47:08.000Z
2022-03-01T15:47:08.000Z
obi-problems/problem011/main.cpp
Davi-Argemiro/Algorithms-and-Data-Structures
4cbf083fbe00da793c1147c4b9e3493d96ac50a1
[ "MIT" ]
1
2022-03-21T20:01:08.000Z
2022-03-21T20:01:08.000Z
obi-problems/problem011/main.cpp
Davi-Argemiro/Algorithms-and-Data-Structures
4cbf083fbe00da793c1147c4b9e3493d96ac50a1
[ "MIT" ]
1
2022-03-21T17:53:34.000Z
2022-03-21T17:53:34.000Z
#include <iostream> using namespace std; int main() { int a1, a2, r; cin >> a1 >> a2; r = a2-a1; cout << a2+r << endl; return 0; }
9.466667
22
0.542254
Davi-Argemiro
82af3632e4d16adcbd7e4520df3148509afb5138
448,398
cpp
C++
test/OpenMP/target_parallel_if_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
test/OpenMP/target_parallel_if_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
test/OpenMP/target_parallel_if_codegen.cpp
tkolar23/llvm-clang
73c44a584ba4ff5e186d0c05a2b29b2dbed98148
[ "Apache-2.0" ]
null
null
null
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --include-generated-funcs --replace-value-regex "__omp_offloading_[0-9a-z]+_[0-9a-z]+" "reduction_size[.].+[.]" "pl_cond[.].+[.|,]" --prefix-filecheck-ir-name _ // Test host codegen. // RUN: %clang_cc1 -verify -...
70.636106
442
0.598504
tkolar23
82b02dc70a212e54874c124174f86e9dfd850d41
527
hpp
C++
StrSTUN-synthesizer/strstunlib0/include/ComponentIfThenElse.hpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
1
2021-06-23T05:10:36.000Z
2021-06-23T05:10:36.000Z
StrSTUN-synthesizer/strstunlib0/include/ComponentIfThenElse.hpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
StrSTUN-synthesizer/strstunlib0/include/ComponentIfThenElse.hpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
#ifndef COMPONENT_IFTHENELSE #define COMPONENT_IFTHENELSE #include "componentbase.hpp" class ComponentIfThenElse : public ComponentBase { public: ComponentIfThenElse(ValType valType); ValBase* evaluate(std::vector<ValBase*> inputValues, int exampleIndex) override; static std::vector<std::string> component...
31
84
0.760911
HALOCORE
a11206ce895cc0bf10bb78f76e154888f6213ff7
3,884
inl
C++
ivp/havana/havok/hk_base/array/array.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
ivp/havana/havok/hk_base/array/array.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
ivp/havana/havok/hk_base/array/array.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
hk_Array_Base::hk_Array_Base() { } template <class T> hk_Array<T>::hk_Array( int initial_size ) { m_n_elems = 0; if ( initial_size) { m_memsize = initial_size; m_elems = (char *)hk_allocate(T, initial_size, HK_MEMORY_CLASS_ARRAY ); }else{ m_memsize = 0; m_elems = HK_NULL; } } template...
17.654545
80
0.620494
DannyParker0001
a113fdc69355cad6cff59b6c9a086956e7dbd639
2,459
cpp
C++
src/server/http/Reply.cpp
CabooseLang/BoxCar
80bca1a2bfcd05dbdf3c5a39bfd2023818d4536d
[ "MIT" ]
null
null
null
src/server/http/Reply.cpp
CabooseLang/BoxCar
80bca1a2bfcd05dbdf3c5a39bfd2023818d4536d
[ "MIT" ]
null
null
null
src/server/http/Reply.cpp
CabooseLang/BoxCar
80bca1a2bfcd05dbdf3c5a39bfd2023818d4536d
[ "MIT" ]
null
null
null
#include "Reply.hpp" #include <string> #include <numeric> namespace BoxCar { namespace Http { StatusData statusDataSet[] = { { "200", "OK" }, { "201", "Created" }, { "202", "Accepted" }, { "204", "No Content" }, { "300", "Multiple Choices" }, { "301", "Moved Permanently" }, { "302", "Moved Temporarily" ...
29.987805
87
0.610411
CabooseLang
a117c15ab541033157d6635b709c369958b3bef4
288
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/CPP/RemotingConfiguration_GetRegisteredActivatedService_shared.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/CPP/RemotingConfiguration_GetRegisteredActivatedService_shared.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/CPP/RemotingConfiguration_GetRegisteredActivatedService_shared.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
using namespace System; public ref class MyServerImpl: public MarshalByRefObject { public: MyServerImpl() { Console::WriteLine( "Server Activated..." ); } String^ MyMethod( String^ name ) { return String::Format( "The client requests to {0}", name ); } };
18
66
0.642361
BaruaSourav
a11af696a8fa3058933df242b304c9ecf0c0d293
5,204
cpp
C++
test/pipo-scale-test.cpp
Ircam-RnD/pipo
30ff8e501fdc07220bb06bf66a58c55b2df1a61f
[ "Unlicense", "BSD-3-Clause" ]
14
2017-08-10T15:45:05.000Z
2021-04-10T09:48:54.000Z
test/pipo-scale-test.cpp
ircam-ismm/pipo
30ff8e501fdc07220bb06bf66a58c55b2df1a61f
[ "Unlicense", "BSD-3-Clause" ]
9
2017-07-21T14:58:44.000Z
2019-07-26T12:05:09.000Z
test/pipo-scale-test.cpp
ircam-ismm/pipo
30ff8e501fdc07220bb06bf66a58c55b2df1a61f
[ "Unlicense", "BSD-3-Clause" ]
2
2019-03-27T16:05:09.000Z
2021-01-17T18:40:51.000Z
#include <sstream> #include <string> #include <cstddef> #include <vector> #include <algorithm> #include "catch.hpp" #include "PiPoScale.h" #include "PiPoTestHost.h" TEST_CASE ("PiPoScale") { PiPoTestHost host; host.setGraph("scale"); std::vector<PiPoValue> inputFrame; int check; PiPoStreamAttributes sa;...
30.97619
81
0.444658
Ircam-RnD
a11e6efad663b0a99243bc6a27fdb20bebdd9267
9,695
cpp
C++
examples/Collision/Internal/Bullet2CollisionSdk.cpp
romance-ii/bullet2
18cbc1a62db057de74effb1dfc107bbf421e55d9
[ "Zlib" ]
36
2016-06-30T19:12:10.000Z
2022-01-10T17:23:22.000Z
examples/Collision/Internal/Bullet2CollisionSdk.cpp
Acidburn0zzz/bullet3
346308120ab66c418d73640721d7e216d6b57915
[ "Zlib" ]
2
2015-06-23T04:36:59.000Z
2016-01-31T19:36:28.000Z
examples/Collision/Internal/Bullet2CollisionSdk.cpp
Acidburn0zzz/bullet3
346308120ab66c418d73640721d7e216d6b57915
[ "Zlib" ]
21
2016-09-28T02:53:57.000Z
2022-02-13T11:47:17.000Z
#include "Bullet2CollisionSdk.h" #include "btBulletCollisionCommon.h" struct Bullet2CollisionSdkInternalData { btCollisionConfiguration* m_collisionConfig; btCollisionDispatcher* m_dispatcher; btBroadphaseInterface* m_aabbBroadphase; btCollisionWorld* m_collisionWorld; Bullet2CollisionSdkInternalData() :m_aa...
34.749104
200
0.762455
romance-ii
a120ed14eb39645597b2791717aa9e34747a3b9a
4,866
hpp
C++
inc/cheby2.hpp
gcant/pairwise-comparison-BP
f995d99440fd37b2850442413672a8e20b9f5b99
[ "Apache-2.0" ]
2
2021-10-04T09:48:50.000Z
2022-01-13T21:24:43.000Z
inc/cheby2.hpp
gcant/pairwise-comparison-BP
f995d99440fd37b2850442413672a8e20b9f5b99
[ "Apache-2.0" ]
null
null
null
inc/cheby2.hpp
gcant/pairwise-comparison-BP
f995d99440fd37b2850442413672a8e20b9f5b99
[ "Apache-2.0" ]
null
null
null
#pragma once #include <valarray> #include "r2r.hpp" #define _USE_MATH_DEFINES #include <cmath> const int INIT_BY_COEFS = 0; const int INIT_BY_VALUES = 1; namespace cheby { typedef std::valarray<floatT> ArrayXd; // discrete cosine transform function r2r::r2r dct2(FFTW_REDFT10); r2r::r2r dct3(FFTW_REDFT01)...
23.736585
77
0.581587
gcant
a1220eecb2b2e7348828cef033077f7451fd5e4b
4,592
cpp
C++
tasks/FrameSampler.cpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
1
2022-01-31T01:59:52.000Z
2022-01-31T01:59:52.000Z
tasks/FrameSampler.cpp
PhischDotOrg/stm32-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
5
2020-04-13T21:55:12.000Z
2020-06-27T17:44:44.000Z
tasks/FrameSampler.cpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #include "tasks/FrameSampler.hpp" #ifndef _FRAMESAMPLER_CPP_aa6ac2c3_3489_4a38_8642_30cdd3943a2a #define _FRAMESAMPLER_CPP_aa6ac2c3_3489_4a38_8642_30cdd3943a2a #if defined(__cplusplus) extern "C" { #endif /* defined(__cplusplus) */ #include "FreeRTOS/FreeRTOS.h" #include "FreeRTOS/task.h" #inc...
38.588235
122
0.581664
PhischDotOrg
a123ca6891a64c4a038b934c836d94c815b37648
10,156
cpp
C++
libraries/utils/spectra.cpp
ChunmingGu/mne-cpp-master
36f21b3ab0c65a133027da83fa8e2a652acd1485
[ "BSD-3-Clause" ]
null
null
null
libraries/utils/spectra.cpp
ChunmingGu/mne-cpp-master
36f21b3ab0c65a133027da83fa8e2a652acd1485
[ "BSD-3-Clause" ]
null
null
null
libraries/utils/spectra.cpp
ChunmingGu/mne-cpp-master
36f21b3ab0c65a133027da83fa8e2a652acd1485
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file spectra.h * @author Daniel Strohmeier <daniel.strohmeier@tu-ilmenau.de>; * Lorenz Esch <lorenz.esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @versio...
42.316667
167
0.553564
ChunmingGu
a1241e1c98e56dbb93a647909133edf55e965941
2,588
hpp
C++
hull/reflection.hpp
loic-yvonnet/convex-hull-
9dcb17abea8a0f5de0f3fe114c612b10f96ab422
[ "MIT" ]
1
2018-01-25T07:45:08.000Z
2018-01-25T07:45:08.000Z
hull/reflection.hpp
loic-yvonnet/convex-hull-
9dcb17abea8a0f5de0f3fe114c612b10f96ab422
[ "MIT" ]
null
null
null
hull/reflection.hpp
loic-yvonnet/convex-hull-
9dcb17abea8a0f5de0f3fe114c612b10f96ab422
[ "MIT" ]
1
2020-10-01T18:42:59.000Z
2020-10-01T18:42:59.000Z
/** * Basic reflection facilities * Reflection is not part of C++14/17. However, C++11/14 introduced decltype * and auto facilities. These facilities simplify and tidy up the SFINAE-based * techniques to query and introspect a type at compile-time. * The following implementation benefits from these facilities. * ...
36.450704
118
0.690108
loic-yvonnet
a126533a1db605f4344eb2d49b433ea075aac254
445
cc
C++
src/core/ecs/Component.cc
ilariom/wildcat
814f054e0cf3ef0def1f6481005ffd3f0ac42d1b
[ "MIT" ]
11
2018-11-07T08:54:21.000Z
2022-02-20T22:40:47.000Z
src/core/ecs/Component.cc
ilariom/wildcat
814f054e0cf3ef0def1f6481005ffd3f0ac42d1b
[ "MIT" ]
null
null
null
src/core/ecs/Component.cc
ilariom/wildcat
814f054e0cf3ef0def1f6481005ffd3f0ac42d1b
[ "MIT" ]
1
2020-07-24T09:18:48.000Z
2020-07-24T09:18:48.000Z
#include "Component.h" namespace wkt { namespace ecs { namespace { Component::ComponentUniqueID uid = 0; } Component::Component() : id(uid++) { } Component::Component(const Component& comp) { this->id = uid++; this->entity = comp.entity; } Component& Component::operator=(const Component& comp) { t...
13.90625
54
0.640449
ilariom
a128d049e083d1e0c9b0114bca94b15e7bb5cd96
24,474
cpp
C++
apps/lite_dbproxy/main.cpp
cxxjava/CxxDBC
01bee98aa407c9e762cf75f63a2c21942968cf0a
[ "Apache-2.0" ]
20
2017-09-01T08:56:25.000Z
2021-03-18T11:07:38.000Z
apps/lite_dbproxy/main.cpp
foolishantcat/CxxDBC
f0f9e95baad72318e7fe53231aeca2ffa4a8b574
[ "Apache-2.0" ]
null
null
null
apps/lite_dbproxy/main.cpp
foolishantcat/CxxDBC
f0f9e95baad72318e7fe53231aeca2ffa4a8b574
[ "Apache-2.0" ]
14
2017-09-01T12:23:36.000Z
2021-09-02T01:06:27.000Z
/* * main.cpp * * Created on: 2017-7-17 * Author: cxxjava@163.com */ #include "es_main.h" #include "ENaf.hh" #include "EUtils.hh" #include "../../interface/EDBInterface.h" #include "../../dblib/inc/EDatabase.hh" using namespace efc::edb; #define PROXY_VERSION "version 0.2.0" #define PID_FILE "./DBPROXY.p...
25.101538
133
0.63737
cxxjava
a12a634cd3878fd141c3010b2f9d56fefb5f0c27
15,793
cpp
C++
osquery/filesystem/filesystem.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
null
null
null
osquery/filesystem/filesystem.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
null
null
null
osquery/filesystem/filesystem.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
1
2016-09-03T18:08:49.000Z
2016-09-03T18:08:49.000Z
/* * Copyright (c) 2014-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...
30.725681
80
0.594567
Akhilpakanati
a12c4f90644d22ae5b0d7103605acc08d30292e0
7,518
hpp
C++
include/eagine/byteset.hpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
1
2022-01-25T10:31:51.000Z
2022-01-25T10:31:51.000Z
include/eagine/byteset.hpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
include/eagine/byteset.hpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
/// @file /// /// Copyright Matus Chochlik. /// 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 /// #ifndef EAGINE_BYTESET_HPP #define EAGINE_BYTESET_HPP #include "memory/block.hpp" #include "types.hpp" #include ...
29.252918
90
0.608939
matus-chochlik
a12fb1ad2cb4bfcd06950869f8688408715ac076
748
cpp
C++
test/main.cpp
Ratstail91/colliders
27d64767a9c9ebc4f8520624d3a292941815ac7c
[ "Zlib" ]
1
2021-06-22T11:00:04.000Z
2021-06-22T11:00:04.000Z
test/main.cpp
Ratstail91/colliders
27d64767a9c9ebc4f8520624d3a292941815ac7c
[ "Zlib" ]
null
null
null
test/main.cpp
Ratstail91/colliders
27d64767a9c9ebc4f8520624d3a292941815ac7c
[ "Zlib" ]
null
null
null
//test headers #include "test_compiles.hpp" #include "test_lines.hpp" #include "test_circles.hpp" #include "test_boxes.hpp" #include "test_points.hpp" #include "common.hpp" #include <functional> #include <iostream> #include <vector> const std::vector<std::function<TestResult()>> testVector = { testCompiles, testLi...
20.216216
92
0.685829
Ratstail91
a12fba24ad6e31e8c2a6e31baca11f1608c4ccfe
6,230
cpp
C++
src/config.cpp
vargdidnothingwrong/csgo-horker
aae6e1094b84ce99fb36e0f4f033172a19cebc1d
[ "Apache-2.0" ]
null
null
null
src/config.cpp
vargdidnothingwrong/csgo-horker
aae6e1094b84ce99fb36e0f4f033172a19cebc1d
[ "Apache-2.0" ]
null
null
null
src/config.cpp
vargdidnothingwrong/csgo-horker
aae6e1094b84ce99fb36e0f4f033172a19cebc1d
[ "Apache-2.0" ]
null
null
null
#include "config.h" #include <fstream> #include <iostream> #include "external/inih/INIReader.h" constexpr char defConfigFile[] = "config.ini"; bool Config::Glow::Enabled = true; bool Config::Glow::Radar = true; bool Config::Glow::LegitGlow = false; bool Config::Glow::GlowAllies = true; bool Config::Glow:...
33.858696
108
0.647191
vargdidnothingwrong
a132bbfba3f852de2a07fc4fd8b2aa542635333c
34,532
cpp
C++
export/windows/cpp/obj/src/AssetPaths.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/AssetPaths.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/AssetPaths.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_AssetPaths #include <AssetPaths.h> #endif void AssetPaths_obj::__construct() { } Dynamic AssetPaths_obj::__CreateEmpty() { return new AssetPaths_obj; } hx::ObjectPtr< AssetPaths_obj > AssetPaths_obj::__new() { hx::ObjectPtr< AssetPaths_obj > _hx_resul...
54.381102
153
0.72721
TinyPlanetStudios
a1351821ca5b25d5cb69a289f71a7dfafdc1ff9c
3,879
cpp
C++
src/util/network/peer.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
652
2022-02-03T19:31:04.000Z
2022-03-31T17:45:29.000Z
src/util/network/peer.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
50
2022-02-03T23:16:36.000Z
2022-03-31T19:50:19.000Z
src/util/network/peer.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
116
2022-02-03T19:57:26.000Z
2022-03-20T17:23:47.000Z
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "peer.hpp" #include <utility> namespace cbdc::network { p...
28.522059
79
0.433617
EnrikoChavez
a13647035578bcf7d2416dc123347de77e3582be
762
cpp
C++
chap09/Exer09_04.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap09/Exer09_04.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap09/Exer09_04.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
#include <iostream> #include <vector> using std::cin; using std::cout; using std::endl; using std::vector; bool findElement(vector<int>::iterator beg, vector<int>::iterator end, int key); int main() { vector<int> v; int i, key; cout << "Input a key:" << endl; cin >> key; cout << "Input some integer...
20.052632
80
0.545932
sjbarigye
a136930474a93f4bbffcaab201c34ef64792a575
882
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItemStructure_CropPlot_Tek_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItemStructure_CropPlot_Tek_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItemStructure_CropPlot_Tek_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemStructure_CropPlot_Tek_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------------...
22.615385
134
0.672336
2bite
a13ce1e26ae6d6dda59297a021c79415ab518874
31,253
cpp
C++
src/mqtt/qmqttclient.cpp
aron566/libmqttclient
86e249bad6e2b0c27b710878a6f8ec95f6f7146f
[ "Apache-2.0" ]
1
2020-09-07T15:45:48.000Z
2020-09-07T15:45:48.000Z
src/mqtt/qmqttclient.cpp
aron566/libmqttclient
86e249bad6e2b0c27b710878a6f8ec95f6f7146f
[ "Apache-2.0" ]
null
null
null
src/mqtt/qmqttclient.cpp
aron566/libmqttclient
86e249bad6e2b0c27b710878a6f8ec95f6f7146f
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtMqtt module. ** ** $QT_BEGIN_LICENSE:GPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses m...
28.619963
131
0.707356
aron566
a140b31ec4a2c81f4898956fed47dec9b9e90ffc
186
cc
C++
source/InterceptRoutingPlugin/DynamicBinaryInstrument/helper-arch/helper-x64.cc
hyl946/Dobby
277de270f93736b22934e591625a0f9cb532415d
[ "Apache-2.0" ]
1
2020-07-10T03:31:55.000Z
2020-07-10T03:31:55.000Z
source/InterceptRoutingPlugin/DynamicBinaryInstrument/helper-arch/helper-x64.cc
hyl946/Dobby
277de270f93736b22934e591625a0f9cb532415d
[ "Apache-2.0" ]
1
2021-02-03T09:29:51.000Z
2021-02-03T09:29:51.000Z
source/InterceptRoutingPlugin/DynamicBinaryInstrument/helper-arch/helper-x64.cc
hyl946/Dobby
277de270f93736b22934e591625a0f9cb532415d
[ "Apache-2.0" ]
6
2020-06-05T16:56:45.000Z
2021-01-19T07:41:45.000Z
#include "dobby_internal.h" void set_routing_bridge_next_hop(RegisterContext *reg_ctx, void *address) { } void get_routing_bridge_next_hop(RegisterContext *reg_ctx, void *address) { }
23.25
75
0.806452
hyl946
a145bbb4e20d301cee6b19f1100a28ea4ee495bc
1,183
cpp
C++
codeforces/1408A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1408A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1408A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Circle Coloring #include <iostream> #include <vector> using namespace std; int main(){ int t; cin >> t; while (t--){ int n; cin >> n; vector<vector<int>> v(3); int tmp; for (int i=0; i<3; ++i){ for (int j=0; j<n; ++j){ cin >> ...
21.125
65
0.277261
sgrade
a146e895466fe67bf0f271bce618c1daeee587c7
498
cpp
C++
uva/10550.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
uva/10550.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
uva/10550.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> using namespace std; int main(){ //freopen("input.txt", "r", stdin); //freopen("output.txt", "w", stdout); int i, a, b, c, temp, d; while(scanf("%d %d %d %d", &i, &a, &b, &c) != EOF && (i || a || b || c)){ d = 1080; temp = i - a; if(temp < 0) temp += 40; d += (temp * 9);...
22.636364
75
0.435743
cosmicray001
a147e9e27bbc4f8700d6b25d6103549d03d18e1b
2,644
hpp
C++
libs/boost_1_72_0/boost/fusion/algorithm/query/detail/segmented_find_if.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/algorithm/query/detail/segmented_find_if.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/algorithm/query/detail/segmented_find_if.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Copyright (c) 2011 Eric Niebler 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) ================================================...
36.722222
80
0.672466
henrywarhurst
a14dd253d6f6c1ac77b0acf30583ff9183246b32
2,064
cpp
C++
test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/compare.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
34.983051
80
0.566376
K-Wu
a14e67ef5005d804ac67c3d7ce1395abce4c20cc
25,287
hpp
C++
src/libshell/EnergyHelper_Parametric.hpp
mvlab/growth_SM2018
3ad411c4f7082e7bffc2ed3ea9bc96b9a51da73a
[ "BSD-3-Clause" ]
8
2019-09-05T16:05:59.000Z
2021-12-01T10:30:15.000Z
src/libshell/EnergyHelper_Parametric.hpp
mvlab/growth_SM2018
3ad411c4f7082e7bffc2ed3ea9bc96b9a51da73a
[ "BSD-3-Clause" ]
1
2021-01-08T17:13:39.000Z
2021-01-15T17:11:53.000Z
src/libshell/EnergyHelper_Parametric.hpp
mvlab/growth_SM2018
3ad411c4f7082e7bffc2ed3ea9bc96b9a51da73a
[ "BSD-3-Clause" ]
4
2020-04-13T13:01:04.000Z
2021-01-09T17:03:02.000Z
// // EnergyHelper_Parametric.hpp // Elasticity // // Created by Wim van Rees on 04/06/16. // Copyright © 2016 Wim van Rees. All rights reserved. // #ifndef EnergyHelper_Parametric_hpp #define EnergyHelper_Parametric_hpp #include "common.hpp" #include "ExtendedTriangleInfo.hpp" #include "QuadraticForms.hpp" #inc...
46.827778
296
0.727647
mvlab
a156c922e7ddebfea139b08235fbcfbc22aedd5a
3,999
cpp
C++
datastore/common/objects/Port.cpp
mire-all-rashly/netmeld
d3ffd0b3d1332654e9c8df871bc7bf0b8cb46fed
[ "MIT" ]
null
null
null
datastore/common/objects/Port.cpp
mire-all-rashly/netmeld
d3ffd0b3d1332654e9c8df871bc7bf0b8cb46fed
[ "MIT" ]
null
null
null
datastore/common/objects/Port.cpp
mire-all-rashly/netmeld
d3ffd0b3d1332654e9c8df871bc7bf0b8cb46fed
[ "MIT" ]
null
null
null
// ============================================================================= // Copyright 2017 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Permission is hereby grante...
24.99375
80
0.593648
mire-all-rashly
a159a2a771f260fd9acf089aaef537386abfbc21
830
cc
C++
leetcode/cpp/copy_random_list.cc
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
leetcode/cpp/copy_random_list.cc
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
leetcode/cpp/copy_random_list.cc
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
class Solution { public: RandomListNode* copyRandomList(RandomListNode *head) { if (!head) return 0; unordered_map<RandomListNode*, RandomListNode*> table; RandomListNode *ret = new RandomListNode(head->label); table[head] = ret; RandomListNode *p = head, *q = ret; while (p && q) { if (p->next) { if...
23.055556
56
0.556627
haonancool
a1661b029b0f15548c8263cb81116c609b9b7812
717
cpp
C++
src/storage/test/unit/src/model/TemperatureDataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/model/TemperatureDataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/model/TemperatureDataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "storage/model/TemperatureDataModel.hpp" using namespace testing; using namespace storage; static Matcher<TemperatureData> matchTo(float value, float raw) { return AllOf(Field(&TemperatureData::value, FloatEq(value)), Field(&TemperatureD...
25.607143
78
0.668061
karz0n
a1683771a54c5382ba1be4f8b9bba5f123f39aa9
20,557
cpp
C++
Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
sunkwei/CNTK
08691e97707538b110ca71bce4ad06c46d840517
[ "Intel" ]
null
null
null
Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
sunkwei/CNTK
08691e97707538b110ca71bce4ad06c46d840517
[ "Intel" ]
null
null
null
Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
sunkwei/CNTK
08691e97707538b110ca71bce4ad06c46d840517
[ "Intel" ]
1
2019-10-24T00:35:07.000Z
2019-10-24T00:35:07.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "stdafx.h" #include "Common/ReaderTestHelper.h" using namespace Microsoft::MSR::CNTK; namespace Microsoft { namespace MSR { namespace CNTK { namespac...
27.445928
265
0.620373
sunkwei
a16838d2d41ace1c21e5d91c4816fe0acc6a2bd5
4,562
hpp
C++
examples/pppbayestree/gpstk/PZ90Ellipsoid.hpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
104
2019-06-23T14:45:20.000Z
2022-03-20T12:45:29.000Z
examples/pppbayestree/gpstk/PZ90Ellipsoid.hpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
2
2019-06-28T08:23:23.000Z
2019-07-17T02:37:08.000Z
examples/pppbayestree/gpstk/PZ90Ellipsoid.hpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
28
2019-06-23T14:45:19.000Z
2022-03-20T12:45:24.000Z
#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free S...
28.691824
79
0.599956
shaolinbit
a16a61bc3a617bf13d2c3e1558797606a51ccfab
12,676
hpp
C++
ql/experimental/volatility/noarbsabrinterpolation.hpp
elay00/QuantLib
922e582a0d59f20d5a4480448546942c64490fda
[ "BSD-3-Clause" ]
1
2015-09-21T12:21:33.000Z
2015-09-21T12:21:33.000Z
ql/experimental/volatility/noarbsabrinterpolation.hpp
klausspanderen/quantlib
922e582a0d59f20d5a4480448546942c64490fda
[ "BSD-3-Clause" ]
3
2022-03-09T16:19:13.000Z
2022-03-29T07:33:42.000Z
ql/experimental/volatility/noarbsabrinterpolation.hpp
idreamsfy/QuantLib
d6e44270945d2061364e1b3a8bdb4b4e4cc6bba5
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2014 Peter Caspers This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/o...
43.861592
100
0.545598
elay00
a16ab633fcddacd1bd5fa8e422a2f09c8445aea1
4,967
cpp
C++
Src/lunaui/launcher/elements/static/textbox.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
Src/lunaui/launcher/elements/static/textbox.cpp
penk/luna-sysmgr
60c7056a734cdb55a718507f3a739839c9d74edf
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
Src/lunaui/launcher/elements/static/textbox.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
null
null
null
/* @@@LICENSE * * Copyright (c) 2011-2012 Hewlett-Packard Development Company, L.P. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
28.877907
135
0.765855
ericblade
a16d4485534a013929a9ee2e64f04644f1ce6de2
2,377
cpp
C++
src/shape.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
31
2021-12-27T00:45:29.000Z
2022-03-21T11:12:24.000Z
src/shape.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
7
2022-01-04T03:08:28.000Z
2022-03-02T23:26:20.000Z
src/shape.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
14
2022-01-02T19:43:18.000Z
2022-03-21T06:07:39.000Z
#include "shape.h" #include "intersection.h" #include "point_and_normal.h" #include "ray.h" #include <embree3/rtcore.h> struct register_embree_op { uint32_t operator()(const Sphere &sphere) const; uint32_t operator()(const TriangleMesh &mesh) const; const RTCDevice &device; const RTCScene &scene; }; ...
29.7125
94
0.692469
WeichenLiu
a17532fa4518dff2cdc826d26861a6b3c800aeed
768
cpp
C++
COOK82B.cpp
ss6364/CodeForces-contests
40a2ea7fd75d754d9c42c596c5bbfccf8b3ebdc1
[ "Unlicense" ]
2
2019-05-06T04:29:05.000Z
2019-05-06T09:19:03.000Z
COOK82B.cpp
ss6364/CodeForces-contests
40a2ea7fd75d754d9c42c596c5bbfccf8b3ebdc1
[ "Unlicense" ]
null
null
null
COOK82B.cpp
ss6364/CodeForces-contests
40a2ea7fd75d754d9c42c596c5bbfccf8b3ebdc1
[ "Unlicense" ]
null
null
null
// https://www.codechef.com/problems/COOK82B #include<bits/stdc++.h> using namespace std ; #define Fors(n) for(int i=1;i<=n;i++) #define For(n) for(i=0;i<n;i++) #define ll long long #define vint(s) vector<int> s #define pb(x) push_back(x) #define mpair(x,y) make_pair(x,y) #define MOD 1000000007 #define mod 1000...
15.058824
49
0.486979
ss6364
a17caf5021af396e9934c7b5fab5ed0a2d3c86a7
8,826
cpp
C++
lib/webserver/status.cpp
mukhin/libwebserver
04a72616c2dc6360136123acd4d9295417936102
[ "MIT" ]
1
2015-01-04T04:14:43.000Z
2015-01-04T04:14:43.000Z
lib/webserver/status.cpp
mukhin/libwebserver
04a72616c2dc6360136123acd4d9295417936102
[ "MIT" ]
null
null
null
lib/webserver/status.cpp
mukhin/libwebserver
04a72616c2dc6360136123acd4d9295417936102
[ "MIT" ]
null
null
null
// Embedded web-server library // // Copyright 2010 LibWebserver Authors. All rights reserved. #include "status.h" #include <base/basicmacros.h> #include <base/string_helpers.h> #include <cmath> #include <iomanip> #include <numeric> #include <sstream> namespace webserver { WebserverStatus::WebserverStatus() : ...
28.749186
156
0.687288
mukhin
a17cd01dfca1d02b1eaaf1321f8b891c8f6d4ed6
4,993
tpp
C++
GA/src/GA/Engine.tpp
Kaylier/Genetic-Algorithm
7d14ec1558699e8dffec1f8d247cf6d25b4e1982
[ "MIT" ]
null
null
null
GA/src/GA/Engine.tpp
Kaylier/Genetic-Algorithm
7d14ec1558699e8dffec1f8d247cf6d25b4e1982
[ "MIT" ]
null
null
null
GA/src/GA/Engine.tpp
Kaylier/Genetic-Algorithm
7d14ec1558699e8dffec1f8d247cf6d25b4e1982
[ "MIT" ]
null
null
null
#include <cassert> #include <cmath> // sqrt #include <GA/Engine.h> template<class Individual> GA::Engine<Individual>::Engine(Objective<Individual> &objective, Crossover<Individual> &crossover, Mutation<Individual> &mutation, S...
29.02907
100
0.667134
Kaylier
a1819445da06e968d3cc2ed37345369c644bd4ae
24
cpp
C++
tools/databuffer.cpp
mihajlo2003petkovic/MeteorDemod
d7cbd842d1b31b0985ebb0581689afc7435d0684
[ "MIT" ]
15
2020-12-17T17:14:37.000Z
2022-03-24T11:09:18.000Z
tools/databuffer.cpp
mihajlo2003petkovic/MeteorDemod
d7cbd842d1b31b0985ebb0581689afc7435d0684
[ "MIT" ]
11
2021-01-17T00:40:12.000Z
2022-02-02T17:21:07.000Z
tools/databuffer.cpp
mihajlo2003petkovic/MeteorDemod
d7cbd842d1b31b0985ebb0581689afc7435d0684
[ "MIT" ]
5
2021-02-08T12:37:57.000Z
2022-01-23T09:39:59.000Z
#include "databuffer.h"
12
23
0.75
mihajlo2003petkovic
a182e3162226097ce0bd1dfa369de8ad53ff48b2
16,293
hpp
C++
data_compression/L1/include/hw/lz4_compress.hpp
KitAway/Vitis_Libraries
208ada169cd8ddeac0d26b2568343fab6f968331
[ "Apache-2.0" ]
1
2021-06-14T17:02:06.000Z
2021-06-14T17:02:06.000Z
data_compression/L1/include/hw/lz4_compress.hpp
KitAway/Vitis_Libraries
208ada169cd8ddeac0d26b2568343fab6f968331
[ "Apache-2.0" ]
null
null
null
data_compression/L1/include/hw/lz4_compress.hpp
KitAway/Vitis_Libraries
208ada169cd8ddeac0d26b2568343fab6f968331
[ "Apache-2.0" ]
null
null
null
/* * (c) Copyright 2019 Xilinx, Inc. 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 required by ap...
37.628176
120
0.595164
KitAway
a1851846bfb5782d4de2c1902ce8590d8d87fa45
1,078
cpp
C++
aws-cpp-sdk-grafana/source/model/AwsSsoAuthentication.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-grafana/source/model/AwsSsoAuthentication.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-grafana/source/model/AwsSsoAuthentication.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/grafana/model/AwsSsoAuthentication.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
17.966667
74
0.74397
perfectrecall
a186079e4da2710a643d8e100ca6d292be8f63d9
492
cpp
C++
huemodule.std/std.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
5
2020-06-26T08:54:26.000Z
2020-06-26T16:58:17.000Z
huemodule.std/std.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
3
2020-04-28T14:38:26.000Z
2020-05-21T13:41:34.000Z
huemodule.std/std.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
null
null
null
#include "std.h" extern "C" void ModuleEntry(Environment *env) { cout << "Std library loaded" << endl; Word helloword = env->definitionTable.TokToWord("hello"); env->AddPrimaryDefinition(helloword, &__hello); } void __hello(Environment& env) { cout << "This word was added by the STD lib" << endl; ...
30.75
112
0.628049
HueStudios
a18707911d335e2d6166b905c0e01bde5c02763e
13,501
cpp
C++
benchmark/testv5.cpp
shubhamsingh91/Pinocchio_ss
683f6d1ea445cf65e74056f2b18eb65a4151ff0f
[ "BSD-2-Clause-FreeBSD" ]
2
2021-06-30T18:01:31.000Z
2021-06-30T21:49:06.000Z
benchmark/testv5.cpp
shubhamsingh91/Pinocchio_ss
683f6d1ea445cf65e74056f2b18eb65a4151ff0f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
benchmark/testv5.cpp
shubhamsingh91/Pinocchio_ss
683f6d1ea445cf65e74056f2b18eb65a4151ff0f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// same as testv4 but saves time values as texts and can run for all cases // checking some boost options, ABA forward dynamics etc. #include "pinocchio/algorithm/joint-configuration.hpp" #include "pinocchio/algorithm/cholesky.hpp" #include "pinocchio/parsers/urdf.hpp" #include "pinocchio/parsers/sample-models.hpp" #i...
34.617949
161
0.545663
shubhamsingh91
a18a3955ba380f57baac4cf7350d64b90aa612bd
322
cpp
C++
app/app_camera/app_camera.cpp
yjf0602/PiApp
58c34b933be77106a57e15204feb340960f7ee94
[ "MIT" ]
null
null
null
app/app_camera/app_camera.cpp
yjf0602/PiApp
58c34b933be77106a57e15204feb340960f7ee94
[ "MIT" ]
null
null
null
app/app_camera/app_camera.cpp
yjf0602/PiApp
58c34b933be77106a57e15204feb340960f7ee94
[ "MIT" ]
null
null
null
#include "app_camera.h" App_Camera::App_Camera() { icon_n = cv::imread(APP_CAMERA_ICON_N); icon_p = cv::imread(APP_CAMERA_ICON_P); app_name = "Camera"; printf("camera icon: %d*%d\r\n", icon_n.cols, icon_n.rows); } App_Camera::~App_Camera() { } void App_Camera::init() { } void App_Camera::run() { ...
12.88
63
0.649068
yjf0602
a18a801f26e67cbfdc3e26e2a50c866e66cba1b2
3,371
cpp
C++
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/ValueLabel.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/ValueLabel.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/ValueLabel.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/**************************************************************************************************************************************************** * Copyright (c) 2015 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
35.114583
149
0.643726
alejandrolozano2
a191addd7d3e0e32781fb7b435df1c346baf5f92
318
cpp
C++
main.cpp
procedural/redgpu_info
6c2d07f1d0e418a7de983e0278e3c370954a7eed
[ "Apache-2.0" ]
null
null
null
main.cpp
procedural/redgpu_info
6c2d07f1d0e418a7de983e0278e3c370954a7eed
[ "Apache-2.0" ]
null
null
null
main.cpp
procedural/redgpu_info
6c2d07f1d0e418a7de983e0278e3c370954a7eed
[ "Apache-2.0" ]
null
null
null
#ifdef _WIN32 #include "C:/RedGpuSDK/redgpu.h" #endif #ifdef __linux__ #include "/opt/RedGpuSDK/redgpu.h" #endif #include <stdlib.h> // For malloc, free int main() { RedContext context = 0; redCreateContext(malloc, free, 0, 0, 0, RED_SDK_VERSION_1_0_135, 0, 0, 0, 0, 0, 0, 0, &context, 0, 0, 0, 0); }
24.461538
111
0.650943
procedural
084d60ef1459f29bc6ae251359805bcfc4549c95
11,448
cpp
C++
symengine/tests/polynomial/test_uratpoly_flint.cpp
jmig5776/symengine
03babc5c56b047b2fe81ef6f8391d1845e6bb66c
[ "MIT" ]
11
2020-02-15T23:54:19.000Z
2020-11-28T12:45:45.000Z
symengine/tests/polynomial/test_uratpoly_flint.cpp
HQSquantumsimulations/symengine
95d6af92dc6a759d9320d6bdadfa51d038c81218
[ "MIT" ]
11
2015-07-18T04:13:48.000Z
2017-06-08T07:05:14.000Z
symengine/tests/polynomial/test_uratpoly_flint.cpp
HQSquantumsimulations/symengine
95d6af92dc6a759d9320d6bdadfa51d038c81218
[ "MIT" ]
1
2020-09-10T13:08:39.000Z
2020-09-10T13:08:39.000Z
#include "catch.hpp" #include <chrono> #include <symengine/polys/uintpoly_flint.h> #include <symengine/polys/uintpoly_piranha.h> #include <symengine/polys/uratpoly.h> #include <symengine/polys/uintpoly.h> #include <symengine/pow.h> #include <symengine/symengine_exception.h> #ifdef HAVE_SYMENGINE_PIRANHA using SymEngi...
36.342857
80
0.593117
jmig5776
0853954cb326f342415182b6f9e82f3edbfa08d9
1,080
cpp
C++
runtime/helpers/dispatch_info.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
3
2019-09-20T23:26:36.000Z
2019-10-03T17:44:12.000Z
runtime/helpers/dispatch_info.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
runtime/helpers/dispatch_info.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
3
2019-05-16T07:22:51.000Z
2019-11-11T03:05:32.000Z
/* * Copyright (C) 2017-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/dispatch_info.h" #include "runtime/kernel/kernel.h" namespace NEO { bool DispatchInfo::usesSlm() const { return (kernel == nullptr) ? false : kernel->slmTotalSize > 0; } bool DispatchInfo::usesSta...
27
120
0.712037
FelipeMLopez
085af273d77f94edc1ca0279099a1745e38223b5
59,217
cpp
C++
pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp
maciejkotSW/OpenPegasus
cda54c82ef53fd00cd6be98b1d34518b51c823a4
[ "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp
maciejkotSW/OpenPegasus
cda54c82ef53fd00cd6be98b1d34518b51c823a4
[ "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp
maciejkotSW/OpenPegasus
cda54c82ef53fd00cd6be98b1d34518b51c823a4
[ "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
37.741874
80
0.480217
maciejkotSW
0868d450facd44e942b5a8894b8151b4ee39fd12
3,169
cpp
C++
src/Player.cpp
gabrielahavranova/bomberman-game
bf50bbec8d1eb9dd4dfa59873ed50c06f6d7d592
[ "MIT" ]
null
null
null
src/Player.cpp
gabrielahavranova/bomberman-game
bf50bbec8d1eb9dd4dfa59873ed50c06f6d7d592
[ "MIT" ]
null
null
null
src/Player.cpp
gabrielahavranova/bomberman-game
bf50bbec8d1eb9dd4dfa59873ed50c06f6d7d592
[ "MIT" ]
null
null
null
#include "./include/Player.h" class Bomb; Player::Player() { player_src_rect = {0, 0, TILE_DIM, TILE_DIM }; player_dest_rect = {0, 0, TILE_DIM, TILE_DIM}; } void Player::render() { player_dest_rect.x = pos_coords2D.x; player_dest_rect.y = pos_coords2D.y; renderScore(); TextureManager::draw(p...
25.97541
121
0.650363
gabrielahavranova
086e11a11f63a7e233f43322e35aaa3c8935f6b7
1,612
cpp
C++
interpreter/interpreter.cpp
wangyouming/DesignPatterns
ae3b3934480306bdce4bcbdec92553a688338fc3
[ "MIT" ]
1
2019-11-12T09:03:17.000Z
2019-11-12T09:03:17.000Z
interpreter/interpreter.cpp
wangyouming/design_patterns
ae3b3934480306bdce4bcbdec92553a688338fc3
[ "MIT" ]
null
null
null
interpreter/interpreter.cpp
wangyouming/design_patterns
ae3b3934480306bdce4bcbdec92553a688338fc3
[ "MIT" ]
null
null
null
#include <iostream> // std::cout std::endl #include <map> // std::map using std::cout; using std::endl; using std::string; class Context { public: void set(const string& key, bool value) { map_.insert({key, value}); } bool get(const string& key) { return map_[key]; } ...
19.901235
73
0.614764
wangyouming
0874e429c80093215cb31ed8dac5a23ca3858a6e
1,522
cpp
C++
code/tst/engine/gui/visibility.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
3
2020-04-29T14:55:58.000Z
2020-08-20T08:43:24.000Z
code/tst/engine/gui/visibility.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
1
2022-03-12T11:37:46.000Z
2022-03-12T20:17:38.000Z
code/tst/engine/gui/visibility.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
null
null
null
#include "gui_access.hpp" #include "engine/gui/view_refresh.hpp" #include "engine/gui/update.hpp" #include <catch2/catch.hpp> SCENARIO("Adding view (show) to already updated group.", "[gui][Visibility]") { // this test verified a bug when working with tabs. View group1 = ViewAccess::create_group( Layout::RELATIV...
28.185185
79
0.676741
shossjer
087508ef1969baea4c597ca48c0715b9050b4d45
3,129
cpp
C++
src/pal/src/misc/strutil.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
277
2015-01-04T20:42:36.000Z
2022-03-21T06:52:03.000Z
src/pal/src/misc/strutil.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
31
2015-01-05T08:00:38.000Z
2016-01-05T01:18:59.000Z
src/pal/src/misc/strutil.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
46
2015-01-21T00:41:59.000Z
2021-03-23T07:00:01.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*++ Module Name: strutil.cpp Abstract: Various string-related utility functions --*/ #include "pal/corunix.hpp" #include "pal/thread.hpp" #incl...
20.45098
102
0.612656
CyberSys
0876b21d67c4098018aa913f8ca45d32be2b96e2
11,174
cc
C++
src/openvslam/match/bow_tree.cc
Ling-Bao/openvslam
8e891482c1950be3bbf1c0565299bc8c6e5d9910
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
2
2019-06-15T15:25:54.000Z
2021-09-22T07:40:12.000Z
src/openvslam/match/bow_tree.cc
Ling-Bao/openvslam
8e891482c1950be3bbf1c0565299bc8c6e5d9910
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/match/bow_tree.cc
Ling-Bao/openvslam
8e891482c1950be3bbf1c0565299bc8c6e5d9910
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
1
2019-10-24T08:42:22.000Z
2019-10-24T08:42:22.000Z
#include "openvslam/match/bow_tree.h" #include "openvslam/data/frame.h" #include "openvslam/data/keyframe.h" #include "openvslam/data/landmark.h" #ifdef USE_DBOW2 #include <DBoW2/FeatureVector.h> #else #include <fbow/fbow.h> #endif namespace openvslam { namespace match { unsigned int bow_tree::match_frame_and_keyfra...
38.136519
153
0.563809
Ling-Bao
08772ee8d1714875946cd401bc3af2f58a414ec8
38,861
cpp
C++
src/protocols/mqtt5/Mqtt5Serialization.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
src/protocols/mqtt5/Mqtt5Serialization.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
src/protocols/mqtt5/Mqtt5Serialization.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
//MIT License //Copyright (c) 2020 bexoft GmbH (mail@bexoft.de) //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, ...
26.204316
205
0.591158
mnaveedb
08775931b8cde79d768ba6aada16e089b0127451
1,208
hpp
C++
include/Utils.hpp
qqwertyui/zipper
fa57b23971988fa39cbbf142837bb55458c54e46
[ "Apache-2.0" ]
1
2021-05-21T16:20:15.000Z
2021-05-21T16:20:15.000Z
include/Utils.hpp
qqwertyui/zipper
fa57b23971988fa39cbbf142837bb55458c54e46
[ "Apache-2.0" ]
null
null
null
include/Utils.hpp
qqwertyui/zipper
fa57b23971988fa39cbbf142837bb55458c54e46
[ "Apache-2.0" ]
null
null
null
#ifndef UTILS_HPP #define UTILS_HPP #include <cstdint> #include <string> #include <vector> #include <memory> #include <fstream> #include <cstddef> class DosTime { public: DosTime(uint16_t time, uint16_t date); uint8_t second; uint8_t minute; uint8_t hour; uint8_t day; uint8_t month; uint16_t year; }; ...
20.133333
121
0.716887
qqwertyui
087e0b5b86587a14bdd714f18829f00733d498e9
20,881
hpp
C++
configuration/configurator/schemas/SchemaCommon.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
null
null
null
configuration/configurator/schemas/SchemaCommon.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
null
null
null
configuration/configurator/schemas/SchemaCommon.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2015 HPCC Systems®. 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...
34.976549
182
0.658829
miguelvazq
08808679455df51fa25983a062e062f79a3e0c71
505
cpp
C++
huawei/TwoStackForQueue/TwoStackForQueue/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
1
2017-03-16T09:38:48.000Z
2017-03-16T09:38:48.000Z
huawei/TwoStackForQueue/TwoStackForQueue/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
null
null
null
huawei/TwoStackForQueue/TwoStackForQueue/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
null
null
null
// // main.cpp // TwoStackForQueue // // Created by Rain on 08/03/2017. // Copyright © 2017 Rain. All rights reserved. // #include <iostream> #include <algorithm> #include <vector> #include <stack> using namespace std; int main(int argc, const char * argv[]) { // insert code here... stack<int> s1; ...
16.290323
47
0.540594
RainChang
08898e952d967a66dd06b9b34feb5174261cfeef
456
cpp
C++
slicing/src/slicingMethods/SlicingMethod.cpp
mattulbrich/llreve
68cb958c1c02177fa0db1965a8afd879a97c2fc4
[ "BSD-3-Clause" ]
20
2016-08-11T19:51:13.000Z
2021-09-02T13:10:58.000Z
slicing/src/slicingMethods/SlicingMethod.cpp
mattulbrich/llreve
68cb958c1c02177fa0db1965a8afd879a97c2fc4
[ "BSD-3-Clause" ]
9
2016-08-11T11:59:24.000Z
2021-07-16T09:44:28.000Z
slicing/src/slicingMethods/SlicingMethod.cpp
mattulbrich/llreve
68cb958c1c02177fa0db1965a8afd879a97c2fc4
[ "BSD-3-Clause" ]
7
2017-08-19T14:42:27.000Z
2020-05-20T16:14:13.000Z
/* * This file is part of * llreve - Automatic regression verification for LLVM programs * * Copyright (C) 2016 Karlsruhe Institute of Technology * * The system is published under a BSD license. * See LICENSE (distributed with this file) for details. */ #include "SlicingMethod.h" using namespace std; using...
20.727273
66
0.736842
mattulbrich
088f3836c8218a6b0529fad653f40bd9a22ef215
7,664
cpp
C++
Server/src/modules/SD3/scripts/northrend/obsidian_sanctum/instance_obsidian_sanctum.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/northrend/obsidian_sanctum/instance_obsidian_sanctum.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/northrend/obsidian_sanctum/instance_obsidian_sanctum.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * 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 2 of the License, or * (at your option) any later version....
33.911504
184
0.596294
ZON3DEV
0892b3fc71781977b697a7a2ad44ebf9cc612489
1,124
cpp
C++
FrameRateCalculator.cpp
jambolo/Misc
0b2779c9bb1954294a722bddd51dc2ad5e449a1c
[ "MIT" ]
null
null
null
FrameRateCalculator.cpp
jambolo/Misc
0b2779c9bb1954294a722bddd51dc2ad5e449a1c
[ "MIT" ]
1
2020-04-03T09:49:25.000Z
2020-04-03T09:50:29.000Z
FrameRateCalculator.cpp
jambolo/Misc
0b2779c9bb1954294a722bddd51dc2ad5e449a1c
[ "MIT" ]
null
null
null
#include "FrameRateCalculator.h" #include <chrono> using namespace std::chrono; using namespace std::chrono_literals; FrameRateCalculator::FrameRateCalculator() : nFrames_(0) , frameRate_(0.0f) , averageFrameRate_(0.0f) { oldTime_ = oldTime2_ = high_resolution_clock::now(); } //! //! @param t Time o...
26.139535
92
0.647687
jambolo
0894ceb5bf675d9df94dd225bbbd7c31b102f3f2
105,625
cpp
C++
vm/CheckJni.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
null
null
null
vm/CheckJni.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
null
null
null
vm/CheckJni.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
38.14554
136
0.620507
flowcoaster
089b34e456829d7729aff86f2842f6c178dd98c9
12,040
cpp
C++
src/RTL/Component/Importing/CIFXInternetReadBufferX.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
44
2016-05-06T00:47:11.000Z
2022-02-11T06:51:37.000Z
src/RTL/Component/Importing/CIFXInternetReadBufferX.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
3
2016-06-27T12:37:31.000Z
2021-03-24T12:39:48.000Z
src/RTL/Component/Importing/CIFXInternetReadBufferX.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
15
2016-02-28T11:08:30.000Z
2021-06-01T03:32:01.000Z
//*************************************************************************** // // Copyright (c) 2000 - 2006 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
21.385435
81
0.684551
alemuntoni
089bc39c3595d84a74de45116f1380f4ba67c094
3,340
cpp
C++
src/visual-scripting/processors/logical/gates/XorProcessor.cpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/visual-scripting/processors/logical/gates/XorProcessor.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/visual-scripting/processors/logical/gates/XorProcessor.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#include "XorProcessor.hpp" #include <type-system/types/logical/gates/Xor.hpp> #include <utility> namespace inexor::visual_scripting { using namespace inexor::entity_system; using namespace inexor::entity_system::type_system; using Xor = entity_system::type_system::Xor; using EntityTypePtrOpt = std::optional<Entity...
41.75
240
0.746108
inexorgame
089e0e7e7e56b1fb1d345ab36f0527b92210a877
287
cpp
C++
pointers/pointer6.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
1
2021-04-04T15:47:36.000Z
2021-04-04T15:47:36.000Z
pointers/pointer6.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
pointers/pointer6.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int sum(int *a,int size){ int ans=0; for(int i=0;i< size;i++) { ans+=a[i]; } return ans; } int main(){ int a[10]={1,2,3,4,5,3,22,66,44,4}; cout<<sizeof(a)<<endl; cout<<sum(a+2,3)<<endl; }
13.045455
36
0.484321
manish1822510059
08a5be3c183f278f696ea14de23bd5c64a885845
2,203
hpp
C++
src/actor/context/Context.hpp
SpeedXer/Nebula
62f55ab2f45f7e95580b800ef351da9b3073becf
[ "MIT" ]
null
null
null
src/actor/context/Context.hpp
SpeedXer/Nebula
62f55ab2f45f7e95580b800ef351da9b3073becf
[ "MIT" ]
1
2019-12-31T01:10:26.000Z
2019-12-31T01:10:26.000Z
src/actor/context/Context.hpp
wincsb/Nebula
70a7baf24d17ae59a0f2788af45887fc2b1092df
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Project: Nebula * @file Context.hpp * @brief * @author Bwar * @date: 2019年2月16日 * @note * Modify history: ******************************************************************************/ #ifndef SRC_ACTOR_CONTEXT_HPP_ #...
27.5375
80
0.679074
SpeedXer