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
dd79134f524c1814c3c0b766e319640d6e358297
3,301
cpp
C++
libraries/ArduinoJson/test/JsonArray/add.cpp
tarontop/IRmqtt
5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8
[ "MIT" ]
null
null
null
libraries/ArduinoJson/test/JsonArray/add.cpp
tarontop/IRmqtt
5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8
[ "MIT" ]
1
2020-01-09T07:07:44.000Z
2020-01-09T07:07:44.000Z
libraries/ArduinoJson/test/JsonArray/add.cpp
tarontop/IRmqtt
5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8
[ "MIT" ]
null
null
null
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2018 // MIT License #include <ArduinoJson.h> #include <catch.hpp> TEST_CASE("JsonArray::add()") { DynamicJsonDocument doc; JsonArray _array = doc.to<JsonArray>(); SECTION("int") { _array.add(123); REQUIRE(123 == _array[0].as<int>()); ...
25.992126
59
0.633141
tarontop
dd7ff997434a60045ef2756e488b922394b5f920
2,285
cc
C++
cc_mocks/socket.cc
piskorzj/node-packet-socket
151d985dced6fbbd3619e46572b9a6006a689d7a
[ "MIT" ]
7
2017-02-28T14:07:10.000Z
2019-10-08T18:49:42.000Z
cc_mocks/socket.cc
piskorzj/node-packet-socket
151d985dced6fbbd3619e46572b9a6006a689d7a
[ "MIT" ]
2
2017-04-02T12:24:00.000Z
2017-06-08T23:03:00.000Z
cc_mocks/socket.cc
piskorzj/node-packet-socket
151d985dced6fbbd3619e46572b9a6006a689d7a
[ "MIT" ]
null
null
null
#include "CppUTestExt/MockSupport.h" #include "socket.hh" #include <stdexcept> Socket::Socket(const char * device) { mock().actualCall("socket_constructor") .withStringParameter("device", device); if(!mock().returnBoolValueOrDefault(true)) { throw std::runtime_error("forced creation failure"); } } Socket::~So...
34.621212
89
0.76849
piskorzj
dd832ab319ce4878ad080464c4635919732aee27
1,687
hpp
C++
jsonrpc/serverMgr.hpp
flexibity-team/boost-tools
a6c67eacf7374136f9903680308334fc3408ba91
[ "MIT" ]
null
null
null
jsonrpc/serverMgr.hpp
flexibity-team/boost-tools
a6c67eacf7374136f9903680308334fc3408ba91
[ "MIT" ]
null
null
null
jsonrpc/serverMgr.hpp
flexibity-team/boost-tools
a6c67eacf7374136f9903680308334fc3408ba91
[ "MIT" ]
2
2019-12-26T13:54:29.000Z
2020-10-31T10:19:13.000Z
/* * serverMgr.hpp * * Created on: Oct 8, 2015 * Author: romeo */ #ifndef INCLUDE_FLEXIBITY_JSONRPC_SERVERMGR_HPP_ #define INCLUDE_FLEXIBITY_JSONRPC_SERVERMGR_HPP_ #include "flexibity/jsonrpc/jsonRpcSerial.hpp" #include "flexibity/jsonrpc/jsonRpcWebsocketClient.hpp" #include "flexibity/genericMgr.hpp" nam...
23.109589
94
0.713693
flexibity-team
dd8497defaf062ee6fc3a88753ba4c155c430632
717
hpp
C++
include/SerialFiller/Crc16Ccitt1021.hpp
gbmhunter/SerialFiller
d678acbf6d29de7042d48c6be8ecef556bb6d857
[ "MIT" ]
9
2019-04-01T16:27:15.000Z
2022-03-14T19:45:34.000Z
include/SerialFiller/Crc16Ccitt1021.hpp
gbmhunter/SerialFiller
d678acbf6d29de7042d48c6be8ecef556bb6d857
[ "MIT" ]
12
2017-06-18T05:06:36.000Z
2018-01-30T21:55:39.000Z
include/SerialFiller/Crc16Ccitt1021.hpp
mbedded-ninja/SerialFiller
d678acbf6d29de7042d48c6be8ecef556bb6d857
[ "MIT" ]
3
2019-09-07T16:56:57.000Z
2022-02-08T03:25:28.000Z
/// /// \file Crc16Ccitt1021.hpp /// \author Geoffrey Hunter <gbmhunter@gmail.com> (www.mbedded.ninja) /// \edited n/a /// \created 2017-06-10 /// \last-modified 2018-01-25 /// \brief Contains the Crc16Ccitt1021 class. /// \details /// See README.rst in root dir for more info. #ifndef MN_SER...
24.724138
72
0.680614
gbmhunter
dd849dbe0685f69864b08ab75120ea54905c2858
2,024
cpp
C++
DSA Crack Sheet/solutions/Minimum Cost of ropes.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
DSA Crack Sheet/solutions/Minimum Cost of ropes.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
DSA Crack Sheet/solutions/Minimum Cost of ropes.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Minimum Cost of ropes ===================== There are given N ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. The task is to connect the ropes with minimum cost. Example 1: Input: n = 4 arr[] = {4, 3, 2, 6} Output: 29 Explan...
25.948718
207
0.676877
Akshad7829
dd8ef8e0c9f40df27ada5889ed871b1821998a93
12,579
cpp
C++
experiments/rmi_lookup.cpp
alhuan/analysis-rmi
be787ee9a02e04210d41af51c8a053f6dea575e9
[ "Apache-2.0" ]
9
2021-07-01T17:00:42.000Z
2022-03-23T09:21:17.000Z
experiments/rmi_lookup.cpp
alhuan/analysis-rmi
be787ee9a02e04210d41af51c8a053f6dea575e9
[ "Apache-2.0" ]
1
2021-07-20T13:39:27.000Z
2021-07-20T13:39:27.000Z
experiments/rmi_lookup.cpp
alhuan/analysis-rmi
be787ee9a02e04210d41af51c8a053f6dea575e9
[ "Apache-2.0" ]
1
2022-01-25T16:39:34.000Z
2022-01-25T16:39:34.000Z
#include <chrono> #include <random> #include "argparse/argparse.hpp" #include "rmi/models.hpp" #include "rmi/rmi.hpp" #include "rmi/util/fn.hpp" #include "rmi/util/search.hpp" using key_type = uint64_t; using namespace std::chrono; std::size_t s_glob; ///< global size_t variable /** * Measures lookup times of @p...
45.908759
163
0.608156
alhuan
dd9a19698deae1729c3f357c3c054c787efda000
2,605
hpp
C++
Source/ReplicantHook/ReplicantHook.hpp
Asiern/ReplicantHook
63cbfd361d738dc37177c8fcf6e2657dc20bd9aa
[ "MIT" ]
11
2021-04-25T15:29:29.000Z
2022-02-27T09:49:54.000Z
Source/ReplicantHook/ReplicantHook.hpp
Asiern/ReplicantHook
63cbfd361d738dc37177c8fcf6e2657dc20bd9aa
[ "MIT" ]
6
2021-04-26T07:39:52.000Z
2021-10-06T14:12:09.000Z
Source/ReplicantHook/ReplicantHook.hpp
Asiern/ReplicantHook
63cbfd361d738dc37177c8fcf6e2657dc20bd9aa
[ "MIT" ]
1
2021-08-28T22:13:50.000Z
2021-08-28T22:13:50.000Z
#pragma once #include <Windows.h> #include <TlHelp32.h> #include <string> #include "Offsets.hpp" #include <map> class ReplicantHook { private: DWORD _pID; uintptr_t _baseAddress; uintptr_t actorPlayable; bool _hooked; offsets _offsets; int _version; std::map<std::string, uintptr_t> _inventory; int gold; std::...
23.053097
77
0.74357
Asiern
dda483d94ce9cfa55a437bb7b8b995b0db566d45
358
hpp
C++
src/engineModules/eFont.hpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
3
2019-09-30T08:23:03.000Z
2020-07-18T09:09:56.000Z
src/engineModules/eFont.hpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
1
2019-09-28T14:17:05.000Z
2019-09-28T14:17:05.000Z
src/engineModules/eFont.hpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <SDL2/SDL_ttf.h> ///////// /// TODO /// liberar la fuente en el destructor class eFont{ public: eFont(const char* str, int size); ~eFont(); inline TTF_Font* getSDLFont() const { return sdl_font; }; private: ...
16.272727
45
0.539106
psjuan97
dda5c67804d14f06cabfc9360bcb4c7d47d84892
286
hpp
C++
astronomy/solar_system_fingerprints.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
astronomy/solar_system_fingerprints.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
astronomy/solar_system_fingerprints.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> namespace principia { namespace astronomy { constexpr std::uint64_t KSPStockSystemFingerprint = 0x54B6323B3376D6F3; constexpr std::uint64_t KSPStabilizedSystemFingerprint = 0xB57B58F9CF757C62; } // namespace astronomy } // namespace principia
22
76
0.793706
madman2003
ddb127e79811d14f6a32686dfbc2d5d990d73fbc
15,108
cpp
C++
frontends/common/resolveReferences/resolveReferences.cpp
pierce-m/p4c
afe96cf5a658f7bf5e1b95a044c241d9afb13dc6
[ "Apache-2.0" ]
null
null
null
frontends/common/resolveReferences/resolveReferences.cpp
pierce-m/p4c
afe96cf5a658f7bf5e1b95a044c241d9afb13dc6
[ "Apache-2.0" ]
null
null
null
frontends/common/resolveReferences/resolveReferences.cpp
pierce-m/p4c
afe96cf5a658f7bf5e1b95a044c241d9afb13dc6
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013-present Barefoot Networks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
32.560345
97
0.60458
pierce-m
ddb19031941d6712f7139733b6aaeda26c2f1e09
1,552
cpp
C++
Depth_Estimation_Pipeline/app/driver.cpp
jasonpilbrough/Mesh-Based-Depth-Estimation
fe82eab3b064c3fa6a543fa83f626e7d948d2335
[ "MIT" ]
null
null
null
Depth_Estimation_Pipeline/app/driver.cpp
jasonpilbrough/Mesh-Based-Depth-Estimation
fe82eab3b064c3fa6a543fa83f626e7d948d2335
[ "MIT" ]
null
null
null
Depth_Estimation_Pipeline/app/driver.cpp
jasonpilbrough/Mesh-Based-Depth-Estimation
fe82eab3b064c3fa6a543fa83f626e7d948d2335
[ "MIT" ]
null
null
null
#include "pipeline.h" //#include "colourmap.h" //#include <opencv2/viz.hpp> int main(int argc, char* argv[]) { // ######### EuRoC ######### //std::string dataset_path_left = "data/EuRoC/MH1/cam0/data/%10d.png"; //std::string dataset_path_right = "data/EuRoC/MH1/cam1/data/%10d.png"; // ######### E...
36.093023
98
0.691366
jasonpilbrough
ddb1bc6b58aa8666fe1bd5ef983591fbeb7c216d
1,181
cpp
C++
test/ext/std/integral_constant/bug_datatype_inheritance.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
test/ext/std/integral_constant/bug_datatype_inheritance.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
test/ext/std/integral_constant/bug_datatype_inheritance.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/* @copyright Louis Dionne 2014 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/ext/std/integral_constant.hpp> #include <boost/hana/core/datatype.hpp> #include <type_traits> using namespace boost::hana;...
34.735294
94
0.730737
rbock
ddb25dd6ff068f1ee904f061f903794d46277de1
878
cpp
C++
examples/test.cpp
EBoespflug/multi_array
61ce2540bf5e4c3c9b7266ae5958eaad433481a4
[ "CC0-1.0" ]
null
null
null
examples/test.cpp
EBoespflug/multi_array
61ce2540bf5e4c3c9b7266ae5958eaad433481a4
[ "CC0-1.0" ]
null
null
null
examples/test.cpp
EBoespflug/multi_array
61ce2540bf5e4c3c9b7266ae5958eaad433481a4
[ "CC0-1.0" ]
null
null
null
#include "../multi_array.hpp" #include <iostream> #include <numeric> template<typename Container> void print(Container c) { std::cout << c.size() << '\n'; for(auto&& v : c) std::cout << v << ' '; std::cout << '\n'; } int main() { eb::multi_array<int, 3, 2, 2> arr1{0}; eb::multi_array<int,...
17.918367
43
0.458998
EBoespflug
ddb4b869c05f3c26a91225833baa2ebffa91a990
2,823
cc
C++
cc/whocc-scan-titers.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/whocc-scan-titers.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/whocc-scan-titers.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
#include <string> #include "acmacs-base/argv.hh" #include "acmacs-base/filesystem.hh" #include "acmacs-chart-2/chart.hh" #include "acmacs-chart-2/factory-import.hh" // ---------------------------------------------------------------------- void find_ace_files(const fs::path& source_dir, std::vector<fs::path>& ace_fil...
36.662338
129
0.569607
acorg
ddb8c1a668ae4b09afe226003e27e8d7b3fb0006
34,652
cpp
C++
Gunz/xpsupport/xpcrt.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
Gunz/xpsupport/xpcrt.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
Gunz/xpsupport/xpcrt.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
/* Copyright (c) 2012 Mike Ryan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subli...
34.791165
157
0.75303
WhyWolfie
ddb931107eeba6b3642942bac5d454e2310eb50f
2,248
cpp
C++
src/Context.cpp
santa01/frank-luna-dx11
57172ca245f7933116ad8ab1974a1ff95c6a4f4c
[ "MIT" ]
null
null
null
src/Context.cpp
santa01/frank-luna-dx11
57172ca245f7933116ad8ab1974a1ff95c6a4f4c
[ "MIT" ]
null
null
null
src/Context.cpp
santa01/frank-luna-dx11
57172ca245f7933116ad8ab1974a1ff95c6a4f4c
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Pavlo Lavrenenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
27.084337
81
0.711744
santa01
ddba5cf6d9aad6ae6bad3b4345ffd496eb24dd05
1,259
cpp
C++
11497/11497.cpp
retroinspect/my-first-ps
89c583cd7207b32465c9616b032dd1c3f1f54438
[ "Apache-2.0" ]
null
null
null
11497/11497.cpp
retroinspect/my-first-ps
89c583cd7207b32465c9616b032dd1c3f1f54438
[ "Apache-2.0" ]
null
null
null
11497/11497.cpp
retroinspect/my-first-ps
89c583cd7207b32465c9616b032dd1c3f1f54438
[ "Apache-2.0" ]
null
null
null
// 통나무 건너뛰기 #include <iostream> #include <string> #include <vector> #include <cassert> #include <cmath> #include <algorithm> #include <list> using namespace std; vector<int> input; int N; int logJumping() { sort(input.begin(), input.end()); list<int> reorder; for (int i=0; i<N; i++) { int e = input[i]; ...
17.985714
81
0.58062
retroinspect
ddc43cf6da150fb602bef9745593a4c071d4c933
30,276
cpp
C++
Javelin/Assembler/arm64/Assembler.cpp
jthlim/JavelinPattern
8add264f88ac620de109ddf797f7431779bbd9ea
[ "BSD-3-Clause" ]
10
2016-04-06T01:24:00.000Z
2021-11-16T10:16:51.000Z
Javelin/Assembler/arm64/Assembler.cpp
jthlim/JavelinPattern
8add264f88ac620de109ddf797f7431779bbd9ea
[ "BSD-3-Clause" ]
1
2016-05-06T05:38:58.000Z
2016-05-09T16:42:43.000Z
Javelin/Assembler/arm64/Assembler.cpp
jthlim/JavelinPattern
8add264f88ac620de109ddf797f7431779bbd9ea
[ "BSD-3-Clause" ]
null
null
null
//============================================================================ #if defined(__arm64__) //============================================================================ #include "Javelin/Assembler/arm64/Assembler.h" #include "Javelin/Assembler/JitMemoryManager.h" #include <algorithm> #include <stdint.h>...
30.862385
148
0.647113
jthlim
ddd09e71ba385f83682379de1e163d780b5bbfbb
515
cpp
C++
solved/o-q/odd-sum/odd.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/o-q/odd-sum/odd.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/o-q/odd-sum/odd.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> int a, b; int sum(int lo, int hi) { if (lo < 1) lo = 1; if (lo > hi) return 0; if (lo == hi) return lo; return (hi*(hi+1) - (lo-1)*lo)/2; } int solve() { int x = a % 2 == 0 ? a / 2 : (a - 1) / 2; int y = b % 2 == 0 ? b / 2 - 1 : (b - 1) / 2; return sum(x, y)*2 + y - x +...
15.147059
50
0.4
abuasifkhan
ddd40ffa25cb716b4e26db8746e71abad6f85a73
3,167
cpp
C++
sniper/pico/Response.cpp
rtbtech/libsniper
0828df9da74f8ed11a1273c61c15dfb5816c3c1e
[ "Apache-2.0" ]
9
2020-05-08T21:17:12.000Z
2021-06-04T18:38:35.000Z
sniper/pico/Response.cpp
rtbtech/libsniper
0828df9da74f8ed11a1273c61c15dfb5816c3c1e
[ "Apache-2.0" ]
null
null
null
sniper/pico/Response.cpp
rtbtech/libsniper
0828df9da74f8ed11a1273c61c15dfb5816c3c1e
[ "Apache-2.0" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com /* * Copyright (c) 2018 - 2019, MetaHash, Oleg Romanenko (oleg@romanenko.ro) * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
30.747573
116
0.616672
rtbtech
ddd4d5ab025307843be0b62229c0d85036cf370d
582
cpp
C++
Notes_Week2/multipleInput.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
Notes_Week2/multipleInput.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
Notes_Week2/multipleInput.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
/********************************************************************* ** Author: Wei-Chien Hsu ** Date: 04/09/18 ** Description: Asks the user enters width and height, and output the Area. *********************************************************************/ #include <iostream> using ...
27.714286
70
0.450172
WeiChienHsu
dddafcbbe3971a518cafdb18249ca33a8ffe9536
1,668
cc
C++
src/sockio.cc
SanczoPL/QtServer
c8350e920cadc215ad306592460cc16031eefff9
[ "MIT" ]
null
null
null
src/sockio.cc
SanczoPL/QtServer
c8350e920cadc215ad306592460cc16031eefff9
[ "MIT" ]
null
null
null
src/sockio.cc
SanczoPL/QtServer
c8350e920cadc215ad306592460cc16031eefff9
[ "MIT" ]
null
null
null
#include "../include/sockio.h" SockIO::SockIO(QTcpSocket* a_socket, QObject* parent) : QObject(parent) , m_socket{ a_socket } { connect(m_socket, &QTcpSocket::readyRead, this, &SockIO::onReadyRead); } bool SockIO::hasMessages() { return !m_messageQueue.isEmpty(); } Message SockIO::nextMessage() { if (!hasMessag...
26.903226
120
0.676259
SanczoPL
50af57283f0874a8f209829a0822eb507912716d
536
hpp
C++
YYSloth/include/drivers/pic/pic8259.hpp
notYuriy/yayaos
4df7b015cb6e572797dd40a5d2891cf24abcb4d1
[ "MIT" ]
12
2020-04-13T12:38:54.000Z
2021-08-31T07:03:14.000Z
YYSloth/include/drivers/pic/pic8259.hpp
YayOrg/YayOS
4df7b015cb6e572797dd40a5d2891cf24abcb4d1
[ "MIT" ]
null
null
null
YYSloth/include/drivers/pic/pic8259.hpp
YayOrg/YayOS
4df7b015cb6e572797dd40a5d2891cf24abcb4d1
[ "MIT" ]
1
2020-07-18T12:11:37.000Z
2020-07-18T12:11:37.000Z
#ifndef __PIC_8259_HPP_INCLUDED__ #define __PIC_8259_HPP_INCLUDED__ #include <drivers/pic/pic.hpp> #include <utils.hpp> namespace drivers { class PIC8259 : public IPIC { uint8_t m_picMasterMask; uint8_t m_picSlaveMask; public: void init(); bool registerLegacyIrq(uint8_t irq, ...
23.304348
67
0.695896
notYuriy
50af8f89a9594ef35a72183c8ffc3c849c577598
6,043
hpp
C++
src/accelerator/Component.hpp
chrpilat/mnemosyne
bde60abf5e2be614dadf599e9e7b6a44afa83907
[ "BSD-2-Clause" ]
6
2017-03-02T16:02:00.000Z
2022-02-15T13:25:50.000Z
src/accelerator/Component.hpp
chrpilat/mnemosyne
bde60abf5e2be614dadf599e9e7b6a44afa83907
[ "BSD-2-Clause" ]
null
null
null
src/accelerator/Component.hpp
chrpilat/mnemosyne
bde60abf5e2be614dadf599e9e7b6a44afa83907
[ "BSD-2-Clause" ]
2
2019-04-25T15:53:20.000Z
2020-02-10T02:45:32.000Z
/** * @copyright * Copyright (c) 2017 - SLD Group @ Columbia University. All Rights Reserved. * * This file is part of Mnemosyne. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
33.949438
154
0.707761
chrpilat
50b3329138cbe81855eaf86cf22bec99ae8d8dcc
935
hpp
C++
libs/libSocketHandler/src/SocketHandler.hpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
libs/libSocketHandler/src/SocketHandler.hpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
libs/libSocketHandler/src/SocketHandler.hpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
#pragma once #include <fstream> #include <memory> #include <chrono> #include <random> #include <vector> #include <thread> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> class Server { public: Server(int port); ~Server(); bool send(std::string& data); bool receive(std::strin...
15.327869
48
0.708021
maxDcb
50b528ab4d6ecd9b379fd23b296cae56f26bb391
2,047
cc
C++
src/image/b3TxSaveInfo.cc
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/image/b3TxSaveInfo.cc
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/image/b3TxSaveInfo.cc
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
1
2022-01-07T15:58:38.000Z
2022-01-07T15:58:38.000Z
/* ** ** $Filename: b3TxSaveInfo.cc $ ** $Release: Dortmund 2001, 2016 $ ** $Revision$ ** $Date$ ** $Author$ ** $Developer: Steffen A. Mork $ ** ** Blizzard III - File format encoder ** ** (C) Copyright 2001 - 2021 Steffen A. Mork ** All Rights Reserved ** ** */ /*************************************************...
25.5875
85
0.429897
stmork
50b69ba7a31c994d4e138ca87f9a08b483c9e6de
2,811
hpp
C++
include/codegen/include/Oculus/Platform/RoomType.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Oculus/Platform/RoomType.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Oculus/Platform/RoomType.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:08 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Enum #include "System/Enum.hpp" #include "utils/il2cpp-utils.hpp" // Completed in...
49.315789
83
0.728211
Futuremappermydud
50be740fd5091b26478e43a76633c15e31d3e26c
1,586
cpp
C++
2017/February/Silver/Why Did the Cow Cross the Road III.cpp
Sumitkk10/USACO-submissions
543dafe041356e83a18e7a57e5d93d24bc266682
[ "MIT" ]
2
2020-12-09T05:43:19.000Z
2020-12-09T06:24:45.000Z
2017/February/Silver/Why Did the Cow Cross the Road III.cpp
Sumitkk10/USACO-submissions
543dafe041356e83a18e7a57e5d93d24bc266682
[ "MIT" ]
null
null
null
2017/February/Silver/Why Did the Cow Cross the Road III.cpp
Sumitkk10/USACO-submissions
543dafe041356e83a18e7a57e5d93d24bc266682
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fast ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL) using namespace std; const int N = 100 + 5; const int MOD = 1e9 + 7; int n, k, m, sol; set<pair<int, pair<int, pair<int, int> > > > s; bool ok, vis[N][N]; map<pair<int, int>, int> mp; void check(int i, int j){ if(i <= 0...
26.433333
70
0.406053
Sumitkk10
50c316fdf459561e0def613aad0f9139b8a64c68
71,364
cpp
C++
PythonExtrasC/PythonExtrasC/PythonExtrasC.cpp
rbnbr/S4
61534933e305e76d00cbefb75fc5c713c5b90c74
[ "MIT" ]
1
2021-09-27T11:29:48.000Z
2021-09-27T11:29:48.000Z
PythonExtrasC/PythonExtrasC/PythonExtrasC.cpp
rbnbr/S4
61534933e305e76d00cbefb75fc5c713c5b90c74
[ "MIT" ]
null
null
null
PythonExtrasC/PythonExtrasC/PythonExtrasC.cpp
rbnbr/S4
61534933e305e76d00cbefb75fc5c713c5b90c74
[ "MIT" ]
1
2022-02-10T16:07:27.000Z
2022-02-10T16:07:27.000Z
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <vector> #include <numeric> #include <cmath> #include <cstring> #include <algorithm> #include <functional> #include <random> #include <thread> #include <atomic> #include <chrono> #include <ctime> #include <iostream> #include "macros.h" #include "Buff...
46.011605
149
0.606749
rbnbr
50c650e0f191878630bdfa2f07e11db89750fae1
4,011
cpp
C++
flakor/math/GLMatrix.cpp
sainthsu/Flakor
c414502f85d637b82a47754f20d1175e747b0a7d
[ "Libpng", "Apache-2.0", "MIT" ]
4
2015-01-26T08:42:51.000Z
2015-04-14T09:22:12.000Z
flakor/math/GLMatrix.cpp
sainthsu/Flakor
c414502f85d637b82a47754f20d1175e747b0a7d
[ "Libpng", "Apache-2.0", "MIT" ]
null
null
null
flakor/math/GLMatrix.cpp
sainthsu/Flakor
c414502f85d637b82a47754f20d1175e747b0a7d
[ "Libpng", "Apache-2.0", "MIT" ]
null
null
null
#include "macros.h" #include <assert.h> #include "math/GLMatrix.h" FLAKOR_NS_BEGIN MatrixStack* modelviewStack; MatrixStack* projectionStack; MatrixStack* textureStack; MatrixStack* currentStack = NULL; static unsigned char initialized = 0; #ifdef __cplusplus extern "C" { #endif void lazyInitialize() { if (!...
23.051724
87
0.640987
sainthsu
50c673c4e99d14630c64df5ad4f9829184d85221
9,577
cpp
C++
src/gfx/graphics/vulkan/swapchain_vulkan.cpp
johannes-braun/graphics_utilities
191772a3ff1c14eea74b9b5614b6226cf1f8abb7
[ "MIT" ]
null
null
null
src/gfx/graphics/vulkan/swapchain_vulkan.cpp
johannes-braun/graphics_utilities
191772a3ff1c14eea74b9b5614b6226cf1f8abb7
[ "MIT" ]
null
null
null
src/gfx/graphics/vulkan/swapchain_vulkan.cpp
johannes-braun/graphics_utilities
191772a3ff1c14eea74b9b5614b6226cf1f8abb7
[ "MIT" ]
null
null
null
#include "init_struct.hpp" #include "swapchain_vulkan.hpp" #include "image_view_vulkan.hpp" #include "result.hpp" namespace gfx { inline namespace v1 { namespace vulkan { uint32_t swapchain_implementation::current_image() const noexcept { return _current_image; } void swapchain_implementation::present() { if...
49.365979
161
0.732066
johannes-braun
50ccf6e8002517cfa041552b8f5ac2102158a917
83
cpp
C++
ksn-2021-pertahanan/solution-1.cpp
ia-toki/ksn-2021
e925029fa9ce6198aae489c5f8505c47078da28e
[ "CC-BY-4.0" ]
null
null
null
ksn-2021-pertahanan/solution-1.cpp
ia-toki/ksn-2021
e925029fa9ce6198aae489c5f8505c47078da28e
[ "CC-BY-4.0" ]
null
null
null
ksn-2021-pertahanan/solution-1.cpp
ia-toki/ksn-2021
e925029fa9ce6198aae489c5f8505c47078da28e
[ "CC-BY-4.0" ]
1
2021-12-05T04:17:41.000Z
2021-12-05T04:17:41.000Z
#include <bits/stdc++.h> using namespace std; int main() { cout << 9 << '\n'; }
11.857143
24
0.554217
ia-toki
50cd7e3c47b62a36e926996848352808662522a0
831
hh
C++
src/websocket_server/Packets/Out/WeatherStatusPacket.hh
3n16m4/websocket-server
5b6575bbd459feeef459b20a093ada3fd9d035e5
[ "MIT" ]
2
2020-11-16T15:53:39.000Z
2021-03-20T09:08:36.000Z
src/websocket_server/Packets/Out/WeatherStatusPacket.hh
3n16m4/websocket-server
5b6575bbd459feeef459b20a093ada3fd9d035e5
[ "MIT" ]
2
2020-12-09T23:54:55.000Z
2020-12-11T20:14:52.000Z
src/websocket_server/Packets/Out/WeatherStatusPacket.hh
3n16m4/websocket-server
5b6575bbd459feeef459b20a093ada3fd9d035e5
[ "MIT" ]
1
2021-03-20T09:08:41.000Z
2021-03-20T09:08:41.000Z
#ifndef WEBSOCKET_SERVER_OUT_WEATHER_STATUS_PACKET_HH #define WEBSOCKET_SERVER_OUT_WEATHER_STATUS_PACKET_HH #include <array> namespace amadeus { enum class WebSocketSessionFlag : std::uint8_t; #pragma pack(push, 1) namespace out { /// \brief Defines the WeatherStatusPacket which is sent by the server if a /// WebSock...
29.678571
78
0.758123
3n16m4
50d35331a0380b1acbd4127c8f8c2c6966f4b433
831
hpp
C++
cpp2c/test_data/mmalloc.hpp
mendlin/SIMD-libgen
0f386bb639c829275a00f46c4b31d59c5ed84a28
[ "AFL-1.1" ]
1
2021-01-07T03:18:27.000Z
2021-01-07T03:18:27.000Z
cpp2c/test_data/mmalloc.hpp
Logicalmars/SIMD-libgen
0f386bb639c829275a00f46c4b31d59c5ed84a28
[ "AFL-1.1" ]
null
null
null
cpp2c/test_data/mmalloc.hpp
Logicalmars/SIMD-libgen
0f386bb639c829275a00f46c4b31d59c5ed84a28
[ "AFL-1.1" ]
1
2021-11-29T07:28:13.000Z
2021-11-29T07:28:13.000Z
#ifndef ALIGNED_MMALLOC_HPP #define ALIGNED_MMALLOC_HPP /*============================================================================= allocator.hpp - Platform independent aligned memory allocation. Created on: 06-December-2011 Author: Ken Herdy Description: TODO - Wrap routines inside a class scope and/or...
22.459459
79
0.565584
mendlin
50db783e21b99550fa09f93b00936396feab61e9
9,908
hpp
C++
ze_common/include/ze/common/ringbuffer.hpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
30
2016-09-27T07:41:28.000Z
2021-12-03T20:44:28.000Z
ze_common/include/ze/common/ringbuffer.hpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
1
2018-12-18T15:53:06.000Z
2018-12-21T03:10:06.000Z
ze_common/include/ze/common/ringbuffer.hpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
12
2016-11-05T07:51:29.000Z
2020-07-13T02:26:08.000Z
// Copyright (c) 2015-2016, ETH Zurich, Wyss Zurich, Zurich Eye // 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 // ...
31.858521
87
0.709931
rockenbf
50e125deb4b320ce3f86b69e55896749b3dd1652
70
cpp
C++
gui/applicationdata.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
4
2016-02-18T00:48:10.000Z
2016-03-02T23:41:54.000Z
gui/applicationdata.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
null
null
null
gui/applicationdata.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
1
2016-02-29T18:13:34.000Z
2016-02-29T18:13:34.000Z
#include "applicationdata.h" ApplicationData::ApplicationData() { }
14
38
0.757143
UnnamedCompany
50e75f1d819c1c35e5f770807a9f53e427904d2f
1,144
hpp
C++
DOS_Boat_Source/RequireSpace.hpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/RequireSpace.hpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/RequireSpace.hpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
/**************************************************************************** * Author: Michael S. Lewis * * Date: 6/3/2016 * * Description: RequireSpace.hpp is the RequireSpace class declaration * * (interface) file (for Final Project "DOS Boat"). * * A Require S...
35.75
79
0.566434
michaelslewis
50e8fb9c008d57e9f0091fbfd6c1d3c827741bbc
1,836
cpp
C++
tests/rect_follow_mouse.cpp
AlexandruIca/SoftRender
9466251ad919d6896a1e3d1455a156186106cbaa
[ "Unlicense" ]
null
null
null
tests/rect_follow_mouse.cpp
AlexandruIca/SoftRender
9466251ad919d6896a1e3d1455a156186106cbaa
[ "Unlicense" ]
null
null
null
tests/rect_follow_mouse.cpp
AlexandruIca/SoftRender
9466251ad919d6896a1e3d1455a156186106cbaa
[ "Unlicense" ]
null
null
null
#include <chrono> #include <cmath> #include "softrender.hpp" struct rect_t { softrender::point_t pos{ 0, 0 }; int w{ 0 }; int h{ 0 }; }; using microsecond_t = decltype(std::chrono::duration_cast<std::chrono::microseconds>( std::chrono::seconds(1)) .count()); auto fo...
26.228571
78
0.594227
AlexandruIca
50f527b18788b52c38ea6e11fa240c91a476f68d
2,346
cpp
C++
iOS/Game/GameWindows.cpp
Amazong/Nebula
8b5b0d3dea53b4a9558b6149c84d10564b86cf6d
[ "MIT" ]
null
null
null
iOS/Game/GameWindows.cpp
Amazong/Nebula
8b5b0d3dea53b4a9558b6149c84d10564b86cf6d
[ "MIT" ]
11
2016-07-14T11:55:17.000Z
2016-07-14T12:14:01.000Z
iOS/Game/GameWindows.cpp
Amazong/iOS---Instrument-Outlet-Simulator
8b5b0d3dea53b4a9558b6149c84d10564b86cf6d
[ "MIT" ]
null
null
null
#include "headers\GameWindows.h" #include "headers\Errors.h" int render_splash() { sf::RenderWindow *splash_screen = new sf::RenderWindow(sf::VideoMode(887, 407), "", sf::Style::None); sf::Clock splash_clk; sf::Texture splash_png; if (!(splash_png.loadFromFile("res/png/Splash.png"))) { splash_screen->setVisibl...
18.046154
113
0.617221
Amazong
50f5eac597a7a48fdf25f1af7c48233c64a486e6
260
cpp
C++
Version0.2/Kernel/Discretization/preprocessing.cpp
glwagner/Exasim
ee4540443435f958fa2ca78d59cbf9cff0fe69de
[ "MIT" ]
37
2020-12-09T20:24:36.000Z
2022-02-18T17:19:23.000Z
Version0.2/Kernel/Discretization/preprocessing.cpp
glwagner/Exasim
ee4540443435f958fa2ca78d59cbf9cff0fe69de
[ "MIT" ]
25
2020-11-25T20:37:33.000Z
2022-02-25T15:53:11.000Z
Version0.2/Kernel/Discretization/preprocessing.cpp
glwagner/Exasim
ee4540443435f958fa2ca78d59cbf9cff0fe69de
[ "MIT" ]
8
2020-11-30T15:34:06.000Z
2022-01-09T21:06:00.000Z
#ifndef __PREPROCESSING #define __PREPROCESSING #include "../preprocessing/errormsg.cpp" #include "../preprocessing/ioutilities.cpp" #include "../preprocessing/readbinaryfiles.cpp" #ifdef HAVE_CUDA #include "../preprocessing/gpuDeviceInfo.cpp" #endif #endif
21.666667
47
0.788462
glwagner
50f96c187b9ce94499cc1b4e6b8e24405bfdfa12
4,365
cxx
C++
STEER/STEERBase/AliDetectorTagCuts.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/STEERBase/AliDetectorTagCuts.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/STEERBase/AliDetectorTagCuts.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Author: Panos Christakoglou. * * Contributors are mentioned in the code where appropriate. * * * * Permission to...
36.680672
85
0.6252
AllaMaevskaya
50ff1bc5ed5b30251e2a0c6b4e0289112d84e0e2
6,165
hpp
C++
src/morda/widgets/group/list.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/widgets/group/list.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/widgets/group/list.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.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 3 of the License, or (at your option) any later version...
28.022727
144
0.710949
igagis
dd00c037105c4c257d0293e8d5c4d7cc9b5180d3
1,415
cpp
C++
libs/settings/src/help.cpp
robertdickson/ledger
fd9ba1a3fb2ccbb212561695ebb745747a5402b4
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/settings/src/help.cpp
robertdickson/ledger
fd9ba1a3fb2ccbb212561695ebb745747a5402b4
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/settings/src/help.cpp
robertdickson/ledger
fd9ba1a3fb2ccbb212561695ebb745747a5402b4
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // 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 // // ...
25.267857
80
0.619081
robertdickson
dd033758b6c3f0807ce81c62ef206680f2338422
1,930
hpp
C++
experimental/Pomdog.Experimental/Gameplay2D/Transform.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Gameplay2D/Transform.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Gameplay2D/Transform.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "Pomdog.Experimental/Gameplay/detail/ComponentTypeIndex.hpp" #include "Pomdog.Experimental/Gameplay/Component.hpp" #include "Pomdog/Basic/Export.hpp" #include "Pomdog/Math/Quaternion.hpp" #include "Pomdog/Math/Radian.hpp" #i...
24.43038
71
0.74715
ValtoForks
dd04eeadcb3d3eec69af42fe91c490728494de2b
3,977
cpp
C++
ch08/8.exercise.05.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
51
2017-03-24T06:08:11.000Z
2022-03-18T00:28:14.000Z
ch08/8.exercise.05.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
1
2019-06-23T07:33:42.000Z
2019-12-12T13:14:04.000Z
ch08/8.exercise.05.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
25
2017-04-07T13:22:45.000Z
2022-03-18T00:28:15.000Z
// 8.exercise.05.cpp // // Write two functions that reverse the order of element in a vector<int>. // For example, 1, 3, 5, 6, 9 becomes 9, 7, 5, 3, 1. The first reverse // function should produce a new vector with the reverse sequence, leaving the // original vector unchanged. The other reverse function should rev...
31.816
81
0.608499
0p3r4t4
dd050b40b3689ecaa72f8691d1d6f53df4276d02
274
cpp
C++
source/shared_traits.cpp
phikaczu/logging
c926d9ac72208ae10364adb368e9b39f0c43cbdc
[ "MIT" ]
null
null
null
source/shared_traits.cpp
phikaczu/logging
c926d9ac72208ae10364adb368e9b39f0c43cbdc
[ "MIT" ]
null
null
null
source/shared_traits.cpp
phikaczu/logging
c926d9ac72208ae10364adb368e9b39f0c43cbdc
[ "MIT" ]
null
null
null
#include "shared_traits.h" #include<cassert> using namespace logs2::SharedTraits; AssertCheck::AssertCheck() : _threadId{ std::this_thread::get_id() } { } void AssertCheck::isSameThread() const { assert(std::this_thread::get_id() == _threadId); }
17.125
53
0.671533
phikaczu
dd08360f1d9633daaf49c3bce9979d7835eca5e8
6,324
cpp
C++
core/src/zxing/qrcode/decoder/BitMatrixParser.cpp
camposm/tinyzxing
ab156e0c7e0602f0b091a1e0a24afdf670c6373e
[ "Apache-2.0" ]
null
null
null
core/src/zxing/qrcode/decoder/BitMatrixParser.cpp
camposm/tinyzxing
ab156e0c7e0602f0b091a1e0a24afdf670c6373e
[ "Apache-2.0" ]
1
2021-09-27T13:16:08.000Z
2021-09-27T13:16:08.000Z
core/src/zxing/qrcode/decoder/BitMatrixParser.cpp
camposm/tinyzxing
ab156e0c7e0602f0b091a1e0a24afdf670c6373e
[ "Apache-2.0" ]
null
null
null
/* * BitMatrixParser.cpp * zxing * * Created by Christian Brunschen on 20/05/2008. * Copyright 2008 ZXing authors 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 Licens...
28.232143
92
0.576534
camposm
dd085a10754d853dfa6fc05db45c3c43bdb39bf4
155
hpp
C++
src/utils/assert.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/utils/assert.hpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/utils/assert.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#pragma once #include <string_view> namespace shady::utils { void Assert(bool assertion, std::string_view logMsg); } // namespace shady::utils
15.5
49
0.703226
JacobDomagala
dd085d6124666640274f9c20f98790de6a10b19f
2,554
cpp
C++
examples/tumor/tumor_main.cpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
7
2018-01-19T00:19:19.000Z
2021-06-22T00:53:00.000Z
examples/tumor/tumor_main.cpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
66
2021-06-22T22:44:21.000Z
2022-03-16T15:18:00.000Z
examples/tumor/tumor_main.cpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
6
2017-04-13T19:42:27.000Z
2022-03-26T18:46:24.000Z
// SPDX-FileCopyrightText: 2015 - 2021 Marcin Łoś <marcin.los.91@gmail.com> // SPDX-License-Identifier: MIT #include "ads/simulation.hpp" #include "tumor.hpp" #include "vasculature.hpp" // clang-tidy 12 complains about deleted default constructor not // initializing some members // // NOLINTNEXTLINE(cppcoreguidelines...
26.884211
76
0.632733
Pan-Maciek
dd0b9b7c456ca5ce3c9b526dde6e385123c9401a
1,012
cpp
C++
src/hdfs_common.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
1
2017-11-16T02:13:15.000Z
2017-11-16T02:13:15.000Z
src/hdfs_common.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
src/hdfs_common.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
// BEGIN_COPYRIGHT // // Copyright 2009-2014 CRS4. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
28.111111
78
0.699605
ZEMUSHKA
dd0eb99be4447e58a8bfd4d6efe3a0f03c41d8ff
26,469
cpp
C++
libraries/graphic/context.cpp
Max1412/vgraphics
852141a63b24c975f0ab59d1d4517ea4dc64e3a5
[ "CC-BY-4.0" ]
1
2021-12-09T14:24:04.000Z
2021-12-09T14:24:04.000Z
libraries/graphic/context.cpp
Max1412/vgraphics
852141a63b24c975f0ab59d1d4517ea4dc64e3a5
[ "CC-BY-4.0" ]
null
null
null
libraries/graphic/context.cpp
Max1412/vgraphics
852141a63b24c975f0ab59d1d4517ea4dc64e3a5
[ "CC-BY-4.0" ]
null
null
null
#include <set> #define GLFW_INCLUDE_VULKAN #include "Context.h" #include "imgui/imgui_impl_vulkan.h" #include "imgui/imgui_impl_glfw.h" #include "spdlog/sinks/stdout_color_sinks.h" namespace help { VkResult CreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, con...
41.55259
231
0.689297
Max1412
dd1068e1623204396bc4ae2d3b64b14cb7c2f6e8
1,381
cpp
C++
025_reverseNodesInKGroup/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
025_reverseNodesInKGroup/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
025_reverseNodesInKGroup/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
#include "main.hpp" #include <iostream> #include <stack> using namespace std; ListNode* Solution::reverseKGroup(ListNode* head, int k){ stack<ListNode*> storage; ListNode* curPtr = head; if (k == 1){ return head; } for (int i = 0; i < k; i++){ if (curPtr == nullptr){ re...
23.40678
57
0.539464
IdLeoO
dd113b5535d1ff6a1a61ff598beeb5c329880ad4
871
cpp
C++
leddriver/src/ledimage.cpp
freesurfer-rge/picolife
db54c3398baf3fdfab5c72c75a5207b73847f443
[ "MIT" ]
null
null
null
leddriver/src/ledimage.cpp
freesurfer-rge/picolife
db54c3398baf3fdfab5c72c75a5207b73847f443
[ "MIT" ]
7
2021-12-25T11:54:10.000Z
2021-12-27T17:24:30.000Z
leddriver/src/ledimage.cpp
freesurfer-rge/picolife
db54c3398baf3fdfab5c72c75a5207b73847f443
[ "MIT" ]
null
null
null
#include "leddriver/ledimage.hpp" namespace LEDDriver { LEDImage::LEDImage() : red(std::make_unique<Channel>()), green(std::make_unique<Channel>()), blue(std::make_unique<Channel>()) { this->Clear(); } void LEDImage::Clear() { t...
27.21875
78
0.523536
freesurfer-rge
dd13f8ef1f5dc809a9358cb3a5be8178d5e380e8
726
cpp
C++
CD12/Maximum Number of Events That Can Be Attended.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
CD12/Maximum Number of Events That Can Be Attended.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
CD12/Maximum Number of Events That Can Be Attended.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/ class Solution { public: static bool cmp(vector<int> &a, vector<int> &b) { if (a[1] == b[1]) { return a[0] < b[0]; } return a[1] < b[1]; } int maxEvents(vector<v...
30.25
100
0.453168
shtanriverdi
dd1d9c969864541580624569ad00c7b04983d2c8
2,471
cpp
C++
component-tester/src/component-tester.cpp
shawnmharris/tachyon-examples
0e634b969063ef87186b4863bf71c93b9c512df6
[ "MIT" ]
null
null
null
component-tester/src/component-tester.cpp
shawnmharris/tachyon-examples
0e634b969063ef87186b4863bf71c93b9c512df6
[ "MIT" ]
null
null
null
component-tester/src/component-tester.cpp
shawnmharris/tachyon-examples
0e634b969063ef87186b4863bf71c93b9c512df6
[ "MIT" ]
null
null
null
#include <iostream> #include <tachyon/component.hpp> #include <itestcontract.hpp> using namespace tachyon; int main() { MasterFactory &mf = MasterFactory::Instance(); mf.Manage("component1"); mf.Manage("component2"); // test 1 is implemented in a shared dll sp<ITestContract> sp1 = mf.Create<ITestContract>("...
27.455556
88
0.630109
shawnmharris
dd1f67c1ddda587b369e6747e25dc400b32df9f1
2,336
hh
C++
src/ui/win32/bindings/MultiLineGridBinding.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
71
2018-04-15T13:02:43.000Z
2022-03-26T11:19:18.000Z
src/ui/win32/bindings/MultiLineGridBinding.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
309
2018-04-15T12:10:59.000Z
2022-01-22T20:13:04.000Z
src/ui/win32/bindings/MultiLineGridBinding.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
17
2018-04-17T16:09:31.000Z
2022-03-04T08:49:03.000Z
#ifndef RA_UI_WIN32_MULTILINEGRIDBINDING_H #define RA_UI_WIN32_MULTILINEGRIDBINDING_H #pragma once #include "GridBinding.hh" namespace ra { namespace ui { namespace win32 { namespace bindings { class MultiLineGridBinding : public GridBinding { public: explicit MultiLineGridBinding(ViewModelBase& vmViewModel) noe...
36.5
139
0.769692
Jamiras
dd237c93e24ce9fe0246c6a0e207899a455714f3
2,610
cpp
C++
CApp.cpp
abishek-sampath/SDL-GameFramework
0194540851eeaff6b4563feefb8edae7ca868700
[ "MIT" ]
null
null
null
CApp.cpp
abishek-sampath/SDL-GameFramework
0194540851eeaff6b4563feefb8edae7ca868700
[ "MIT" ]
null
null
null
CApp.cpp
abishek-sampath/SDL-GameFramework
0194540851eeaff6b4563feefb8edae7ca868700
[ "MIT" ]
null
null
null
#include "CApp.h" #undef main CApp::CApp() { // SDL resources window = NULL; renderer = NULL; // User Resources resourceManager = NULL; running = true; score = 0; beginTime = 0; numb_lives_to_gen = PLAYER_MAX_HEALTH - 2; generateLives = true; } CApp::CApp(SDL_Renderer* ren...
21.570248
122
0.586207
abishek-sampath
dd248d32555237459b88abf3d9a3703abb16eac6
174
hpp
C++
src/nSkinz.hpp
Massimoni/skinchanger
f2638f9cea2fe72340a62cc05d2d3c42cacc59ab
[ "MIT" ]
null
null
null
src/nSkinz.hpp
Massimoni/skinchanger
f2638f9cea2fe72340a62cc05d2d3c42cacc59ab
[ "MIT" ]
null
null
null
src/nSkinz.hpp
Massimoni/skinchanger
f2638f9cea2fe72340a62cc05d2d3c42cacc59ab
[ "MIT" ]
1
2019-05-23T11:09:42.000Z
2019-05-23T11:09:42.000Z
#pragma once #include "SDK.hpp" #include "RecvProxyHook.hpp" extern VMTHook* g_client_hook; extern VMTHook* g_game_event_manager_hook; extern RecvPropHook* g_sequence_hook;
21.75
42
0.821839
Massimoni
dd25f6c5d6c0376cd11b5e8d0bba88ddfba6a7d8
421
cpp
C++
src/math/agg_final.cpp
tarkmeper/numpgsql
a5098af9b7c4d88564092c0a4809029aab9f614f
[ "MIT" ]
5
2019-04-08T15:25:32.000Z
2019-12-07T16:31:55.000Z
src/math/agg_final.cpp
tarkmeper/numpgsql
a5098af9b7c4d88564092c0a4809029aab9f614f
[ "MIT" ]
null
null
null
src/math/agg_final.cpp
tarkmeper/numpgsql
a5098af9b7c4d88564092c0a4809029aab9f614f
[ "MIT" ]
null
null
null
#include "agg.hpp" extern "C" { PG_FUNCTION_INFO_V1(internal_to_array); Datum internal_to_array(PG_FUNCTION_ARGS); } Datum internal_to_array(PG_FUNCTION_ARGS) { //TODO trigger destructor Assert(AggCheckCallContext(fcinfo, NULL)); if (PG_ARGISNULL(0)) { PG_RETURN_NULL(); } else { AggInternal* st...
21.05
63
0.712589
tarkmeper
dd2f39398626d6035f8b8ec8dcb0379927b7c5cc
1,555
cpp
C++
src/utils.cpp
atlochowski/harbour-powietrze
e47bf1f397d81a9f69363a44e785ca9248ecef17
[ "BSD-3-Clause" ]
2
2019-10-24T12:43:18.000Z
2019-12-22T20:59:18.000Z
src/utils.cpp
atlochowski/harbour-powietrze
e47bf1f397d81a9f69363a44e785ca9248ecef17
[ "BSD-3-Clause" ]
9
2019-07-18T19:39:14.000Z
2021-06-13T18:29:55.000Z
src/utils.cpp
atlochowski/harbour-powietrze
e47bf1f397d81a9f69363a44e785ca9248ecef17
[ "BSD-3-Clause" ]
5
2019-10-24T12:49:15.000Z
2021-05-17T10:47:42.000Z
#include "utils.h" #include <notification.h> #include <iostream> void Utils::simpleNotification(QString header, QString body, QString function, QVariantList parameters) { Notification notification; notification.setCategory("powietrze.update"); notification.setSummary(header); notification.setBody(body)...
31.1
103
0.48746
atlochowski
dd35531bf699f1b942f91eee1b38b6f15f2bdb4b
69
hpp
C++
include/components/battle/Fainted.hpp
Ghabriel/PokemonCpp
dcdbbde0ea99afc98edecd764b02ff92d8ca6a6e
[ "Apache-2.0" ]
6
2018-08-05T21:45:23.000Z
2021-10-30T19:48:34.000Z
include/components/battle/Fainted.hpp
Ghabriel/PokemonCpp
dcdbbde0ea99afc98edecd764b02ff92d8ca6a6e
[ "Apache-2.0" ]
null
null
null
include/components/battle/Fainted.hpp
Ghabriel/PokemonCpp
dcdbbde0ea99afc98edecd764b02ff92d8ca6a6e
[ "Apache-2.0" ]
1
2021-11-01T20:15:38.000Z
2021-11-01T20:15:38.000Z
#ifndef FAINTED_HPP #define FAINTED_HPP struct Fainted { }; #endif
9.857143
19
0.753623
Ghabriel
dd37a9ec1f567d6efebbf27b6a8daabc460e3d5a
4,472
cpp
C++
601-700/636-Exclusive_Time_of_Functions-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
601-700/636-Exclusive_Time_of_Functions-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
601-700/636-Exclusive_Time_of_Functions-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Given the running logs of n functions that are executed in a nonpreemptive // single threaded CPU, find the exclusive time of these functions. // Each function has a unique id, start from 0 to n-1. A function may be called // recursively or by another function. // A log is a string has this format : function_id:st...
30.421769
80
0.503801
ysmiles
dd3b3c9771b3885e6a182e1137e291c6d2a4d353
541
hpp
C++
src/color/gray/akin/lab.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/gray/akin/lab.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/gray/akin/lab.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_gray_akin_lab #define color_gray_akin_lab #include "../../generic/akin/gray.hpp" #include "../category.hpp" #include "../../lab/category.hpp" namespace color { namespace akin { template < typename tag_name ,::color::constant::lab::reference_enum lab_refer...
19.321429
77
0.593346
ehtec
dd3dfe96c626cba5ef08dd7a1d50a578b5654795
1,383
cpp
C++
source/requests/EdgarRequests.cpp
Jde-cpp/TwsWebSocket
099ef66e2481bd12019d634ba8125b17d9c2d67e
[ "MIT" ]
null
null
null
source/requests/EdgarRequests.cpp
Jde-cpp/TwsWebSocket
099ef66e2481bd12019d634ba8125b17d9c2d67e
[ "MIT" ]
null
null
null
source/requests/EdgarRequests.cpp
Jde-cpp/TwsWebSocket
099ef66e2481bd12019d634ba8125b17d9c2d67e
[ "MIT" ]
null
null
null
#include "EdgarRequests.h" #include "../../../Private/source/markets/edgar/Edgar.h" #include "../../../Private/source/markets/edgar/Form13F.h" namespace Jde::Markets::TwsWebSocket { void EdgarRequests::Filings( Cik cik, ProcessArg&& inputArg )noexcept { std::thread( [cik, arg=move(inputArg)]() { try { ...
27.66
92
0.647144
Jde-cpp
dd3f5a22d08de4ccd846d871c43757f0f2945b2c
8,007
cpp
C++
Game/Game/Game/Export/Export_Lua_Scene.cpp
CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493
da25260dc8128ed66b48d391c738eb15134d7d4f
[ "Zlib", "MIT-0", "MIT" ]
null
null
null
Game/Game/Game/Export/Export_Lua_Scene.cpp
CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493
da25260dc8128ed66b48d391c738eb15134d7d4f
[ "Zlib", "MIT-0", "MIT" ]
null
null
null
Game/Game/Game/Export/Export_Lua_Scene.cpp
CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493
da25260dc8128ed66b48d391c738eb15134d7d4f
[ "Zlib", "MIT-0", "MIT" ]
null
null
null
#include "Export_Lua_Scene.h" #include "Export_Lua_Const.h" #include "../Header/SceneConst.h" #include "../Classes/LoadingScene.h" #include "../Classes/TitleScene.h" #include "../Classes/HelpScene.h" #include "../Classes/StageSelectScene.h" #include "../Classes/MissionSelectScene.h" #include "../Classes/Sto...
28.393617
145
0.690396
CBE7F1F65
dd50ebbb858c8453eb9a4bd8aabf945f87c3bd67
1,716
hpp
C++
HugeCTR/include/pybind/data_source_wrapper.hpp
mikemckiernan/HugeCTR
1a0a618f9848eb908e9d1265c555fba9924d2861
[ "Apache-2.0" ]
130
2021-10-11T11:55:28.000Z
2022-03-31T21:53:07.000Z
HugeCTR/include/pybind/data_source_wrapper.hpp
Teora/HugeCTR
c55a63401ad350669ccfcd374aefd7a5fc879ca2
[ "Apache-2.0" ]
72
2021-10-09T04:59:09.000Z
2022-03-31T11:27:54.000Z
HugeCTR/include/pybind/data_source_wrapper.hpp
Teora/HugeCTR
c55a63401ad350669ccfcd374aefd7a5fc879ca2
[ "Apache-2.0" ]
29
2021-11-03T22:35:01.000Z
2022-03-30T13:11:59.000Z
/* * Copyright (c) 2021, 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 law ...
41.853659
97
0.7162
mikemckiernan
dd55c9a76e5fab0d929abdd83067aeef115e8bf4
64
cc
C++
MCDataProducts/src/CrvDigiMC.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
MCDataProducts/src/CrvDigiMC.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
MCDataProducts/src/CrvDigiMC.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
#include "MCDataProducts/inc/CrvDigiMC.hh" namespace mu2e { }
10.666667
42
0.75
bonventre
dd5bd5d2272934b306850d72505e29339fcaf099
2,006
cc
C++
cpp/functions/run/run_benchmark_santos.cc
michieluithetbroek/A-MDVRP
fe7739f3961ddb25db8f64ec20472915d3c95168
[ "MIT" ]
23
2020-04-09T16:33:23.000Z
2022-03-21T16:41:11.000Z
cpp/functions/run/run_benchmark_santos.cc
michieluithetbroek/A-MDVRP
fe7739f3961ddb25db8f64ec20472915d3c95168
[ "MIT" ]
2
2020-04-10T11:55:28.000Z
2020-04-10T12:11:51.000Z
cpp/functions/run/run_benchmark_santos.cc
michieluithetbroek/A-MDVRP
fe7739f3961ddb25db8f64ec20472915d3c95168
[ "MIT" ]
10
2020-05-28T18:59:52.000Z
2022-03-10T13:32:44.000Z
#include "./../../main.ih" /* * This functions runs all the instances from Santos * * TODO remove bool deterministic */ void run_benchmark_santos(int idx_instance, bool deterministic, int rep) { bool const withoutGurobi = false; if (not deterministic) throw string("Opportunistic run is not allowed! (run...
24.168675
77
0.621137
michieluithetbroek
dd5f44f135378685091c3e4105c9a09dec58f000
2,639
cpp
C++
src/main.cpp
finnff/IPASS-19
b65ad79282a63c1f0db3addfaf865e99677ecd2c
[ "MIT" ]
null
null
null
src/main.cpp
finnff/IPASS-19
b65ad79282a63c1f0db3addfaf865e99677ecd2c
[ "MIT" ]
null
null
null
src/main.cpp
finnff/IPASS-19
b65ad79282a63c1f0db3addfaf865e99677ecd2c
[ "MIT" ]
null
null
null
#include "mpu6050.hpp" #include "pongresources.hpp" int main(int argc, char **argv) { namespace target = hwlib::target; // Intialize OLED display auto scl = target::pin_oc(target::pins::d10); auto sda = target::pin_oc(target::pins::d11); auto i2c_bus = hwlib::i2c_bus_bit_banged_scl_sda(scl, sda); auto w ...
29.322222
78
0.535809
finnff
e578239b4948fa914b39f0e674029a09d13b6d54
7,285
cpp
C++
src/engine/drawSys.cpp
karwler/BKGraph
1b65f82d4c44e3982cf6cef775e88a16c857d6e3
[ "WTFPL" ]
null
null
null
src/engine/drawSys.cpp
karwler/BKGraph
1b65f82d4c44e3982cf6cef775e88a16c857d6e3
[ "WTFPL" ]
null
null
null
src/engine/drawSys.cpp
karwler/BKGraph
1b65f82d4c44e3982cf6cef775e88a16c857d6e3
[ "WTFPL" ]
2
2017-11-09T16:14:39.000Z
2018-02-08T19:09:40.000Z
#include "world.h" // FONT SET FontSet::FontSet(const string& path) : file(path) { // check if font can be loaded TTF_Font* tmp = TTF_OpenFont(file.c_str(), Default::fontTestHeight); if (!tmp) throw "Couldn't open font " + file + '\n' + TTF_GetError(); // get approximate height scale factor int size; TTF_Si...
33.883721
183
0.700069
karwler
e57c906c68ba77d31d2b02e65cc1fbd6aa245ee8
4,123
cpp
C++
solution/solutionthread.cpp
vitkorob/studentprojects
3b071eabec33f9e27eec81eaf5df339276c039be
[ "MIT" ]
null
null
null
solution/solutionthread.cpp
vitkorob/studentprojects
3b071eabec33f9e27eec81eaf5df339276c039be
[ "MIT" ]
null
null
null
solution/solutionthread.cpp
vitkorob/studentprojects
3b071eabec33f9e27eec81eaf5df339276c039be
[ "MIT" ]
null
null
null
#include "solutionthread.h" solutionThread::solutionThread() { metRKu = 1; gam = 0.2; g = 9.81; L = 2; del = 0.9; p2 = 4; eps = 0.0005; x0 = 2; v0 = 3; t = 30; step = 0.01; } double solutionThread::p(double y2) { return y2; } double solutionThread::q(double x2, double...
25.140244
110
0.489207
vitkorob
e57eee5672315a1c7762eba6e21dd57c0a8e7435
128
hpp
C++
Vendor/GLM/glm/ext/vector_uint1.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
2
2022-01-11T21:15:31.000Z
2022-02-22T21:14:33.000Z
Vendor/GLM/glm/ext/vector_uint1.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
Vendor/GLM/glm/ext/vector_uint1.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:936046e1e48adf16a2daa297a69e3318537c55f39572a05efbae9aca1479cf89 size 711
32
75
0.882813
wdrDarx
e57fbaf38376bfb6b8788e60265427cd6c14091e
3,882
hpp
C++
include/cynodelic/mulinum/detail/split_helpers.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
include/cynodelic/mulinum/detail/split_helpers.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
include/cynodelic/mulinum/detail/split_helpers.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt /** * @file split_helpers.hpp * * @brief Helpers for the `split` metafunction. */ #ifndef CYNODELIC_MULINUM_DETAIL_SPLIT_HELPERS_HPP...
21.687151
124
0.676455
cynodelic
e582a8d0fc49f20af9374fe9a7e4fda2278e60e7
129
cc
C++
tensorflow-yolo-ios/dependencies/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:516879d2c1b04ff8b7ba32487c8446e3241805e4352f374533aa6756863b4cad size 4366
32.25
75
0.883721
initialz
e5847e79f40e20540105d7d68c2b19de80dc5ceb
4,115
cpp
C++
ufora/FORA/TypedFora/ABI/MutableVectorHandleCodegen.cpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/FORA/TypedFora/ABI/MutableVectorHandleCodegen.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/FORA/TypedFora/ABI/MutableVectorHandleCodegen.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
25.401235
83
0.710814
ufora
e588ba30a9a4c0dc44a82cb38413c711dd3b5fc2
14,602
cpp
C++
src/qt-console/tray-monitor/runjob.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
src/qt-console/tray-monitor/runjob.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
src/qt-console/tray-monitor/runjob.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
/* Bacula(R) - The Network Backup Solution Copyright (C) 2000-2018 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the license defined in ...
28.631373
157
0.571566
tech-niche-biz
e58c9e92abb9149e44fdef1940720e0adde09a69
4,425
hpp
C++
ramus/patch/ips.hpp
qwertymodo/Mercurial-Magic
e5ce65510d12ac04e7ebea4ce11d200276baa141
[ "ISC" ]
2
2019-01-20T13:05:10.000Z
2021-03-31T14:09:03.000Z
ramus/patch/ips.hpp
qwertymodo/Mercurial-Magic
e5ce65510d12ac04e7ebea4ce11d200276baa141
[ "ISC" ]
null
null
null
ramus/patch/ips.hpp
qwertymodo/Mercurial-Magic
e5ce65510d12ac04e7ebea4ce11d200276baa141
[ "ISC" ]
1
2018-10-12T02:47:57.000Z
2018-10-12T02:47:57.000Z
#pragma once #include <nall/file.hpp> #include <nall/filemap.hpp> #include <nall/stdint.hpp> #include <nall/string.hpp> namespace ramus { struct ipspatch { inline auto modify(const uint8_t* data, uint size) -> bool; inline auto source(const uint8_t* data, uint size) -> void; inline auto target(uint8_t* data, u...
25.726744
81
0.660339
qwertymodo
e5916831f922f5efaa3a87ce01db382c07a90c38
2,472
hpp
C++
Assignments/P01/Menu.hpp
Landon-Brown1/2143-OOP-Brown
fded2b021b588bced3ba2a5c67e8e29694d42b2e
[ "MIT" ]
null
null
null
Assignments/P01/Menu.hpp
Landon-Brown1/2143-OOP-Brown
fded2b021b588bced3ba2a5c67e8e29694d42b2e
[ "MIT" ]
null
null
null
Assignments/P01/Menu.hpp
Landon-Brown1/2143-OOP-Brown
fded2b021b588bced3ba2a5c67e8e29694d42b2e
[ "MIT" ]
null
null
null
/* * AUTHOR: Landon Brown * FILE TITLE: Menu.hpp * FILE DESCRIPTION: Menu for the beginning of the game * DUE DATE: TBD * DATE CREATED: 03/26/2020 */ #include <iostream> #include <string> using namespace std; struct Menu{ Menu(){ } void printIntro(){ cout << endl << " @@-----------...
51.5
101
0.222492
Landon-Brown1
e59fe0557fffaea876c7d5aecde27a3afe0f5c40
1,034
cpp
C++
codeforces/N - Egg Drop/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/N - Egg Drop/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/N - Egg Drop/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: JU_AAA: prdx9_abir, aniks2645, kzvd4729 created: Sep/15/2017 22:21 * solution_verdict: Accepted language: GNU C++14 * run...
30.411765
111
0.352998
kzvd4729
e5a9272774f3c2af98b49b6bc3803df1d49c988e
3,815
cpp
C++
src/renderEffects/auraCompositing.cpp
mfirmin/xray-vision
c40fc300d95d55c15f0dffa484b7123eb69238b5
[ "MIT" ]
1
2021-09-13T20:22:29.000Z
2021-09-13T20:22:29.000Z
src/renderEffects/auraCompositing.cpp
mfirmin/xray-vision
c40fc300d95d55c15f0dffa484b7123eb69238b5
[ "MIT" ]
null
null
null
src/renderEffects/auraCompositing.cpp
mfirmin/xray-vision
c40fc300d95d55c15f0dffa484b7123eb69238b5
[ "MIT" ]
1
2021-09-13T20:22:31.000Z
2021-09-13T20:22:31.000Z
#include "auraCompositing.hpp" #include "gl/shaderUtils.hpp" #include "light/light.hpp" #include <array> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include <string> #include <sstream> AuraCompositingEffect::AuraCompositingEffect(int w, int h) : width(w), height(h) { } void AuraCompositingEffect::initi...
23.404908
103
0.627785
mfirmin
e5b2c5518f46c1344445a67cd64dc67eb029a489
5,117
cpp
C++
test/block.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
test/block.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
test/block.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018, LH_Mouse. All wrongs reserved. #include "_test_init.hpp" #include "../asteria/src/block.hpp" #include "../asteria/src/xpnode.hpp" #include "../asteria/src/statement.hpp" #include "../asteria/src/global_context.hpp" #include "../asteria/src/executive_context.hpp" usin...
49.679612
127
0.676959
MaskRay
e5b5c80434acda90be4e02bfcc27736f0c17d656
2,910
cpp
C++
11. DP 2/Maximum_sum_rect.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
11. DP 2/Maximum_sum_rect.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
11. DP 2/Maximum_sum_rect.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
/* Maximum Sum Rectangle Send Feedback Given a 2D array, find the maximum sum rectangle in it. In other words find maximum sum over all rectangles in the matrix. Input Format: First line of input will contain T(number of test case), each test case follows as. First line contains 2 numbers n and m denoting number of row...
24.453782
165
0.434021
bhavinvirani
e5c0f68c90c0999dfe19a01d29d9c0ff54282c05
3,491
cpp
C++
src/OptPlan/Opt_SnowflakeInterestingOrders.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/OptPlan/Opt_SnowflakeInterestingOrders.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/OptPlan/Opt_SnowflakeInterestingOrders.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
/* * Opt_SnowflakeInterestingOrders.h * OptDev * * Created by Nga Tran on 11/10/05. * Questions, ask Nga Tran at nga@brandeis.edu or Tien Hoang at hoangt@brandeis.edu * * This class keeps interesting orders of a snowflake query */ #include "Opt_SnowflakeInterestingOrders.h" // Default constructor Opt_Sn...
22.967105
106
0.696649
fsaintjacques
e5c3467258e82f5fb0ba2c296149d9a250bf4d61
1,964
cpp
C++
tools/faodel-stress/serdes/SerdesStringObject.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
tools/faodel-stress/serdes/SerdesStringObject.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
tools/faodel-stress/serdes/SerdesStringObject.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 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. #include <iostream> #include "lunasa/common/GenericSequentialDataBundle.hh" #include "SerdesStringObject.hh" u...
31.174603
98
0.709776
faodel
e5c71a4a32057faabff0ea40bcba8665a95d7538
2,072
cpp
C++
android-31/android/net/vcn/VcnGatewayConnectionConfig_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/net/vcn/VcnGatewayConnectionConfig_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/net/vcn/VcnGatewayConnectionConfig_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JLongArray.hpp" #include "../ipsec/ike/IkeTunnelConnectionParams.hpp" #include "./VcnGatewayConnectionConfig.hpp" #include "../../../JString.hpp" #include "./VcnGatewayConnectionConfig_Builder.hpp" namespace android::net::vcn { // Fields // QJniObject forward VcnGatewayConnectionConfig_Builder:...
31.876923
143
0.770753
YJBeetle
e5cdc4d1f569a0ed885f165863170e5e1a0ebb24
764
cpp
C++
InsertionSortList.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
InsertionSortList.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
InsertionSortList.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* insertionSortList(ListNode* head) { ListNode *new_head = NULL; while (head) { ListNode *next =...
27.285714
80
0.458115
yplusplus
e5d5698fd37e77a6821d26a04bb9c8aa4ce06e25
48
hpp
C++
include/EnglishLogicConfig.hpp
mikhov-ivan/english-logic
1554cb42d816bc8446ec3be3ba35509fb3dfe0d0
[ "MIT" ]
null
null
null
include/EnglishLogicConfig.hpp
mikhov-ivan/english-logic
1554cb42d816bc8446ec3be3ba35509fb3dfe0d0
[ "MIT" ]
null
null
null
include/EnglishLogicConfig.hpp
mikhov-ivan/english-logic
1554cb42d816bc8446ec3be3ba35509fb3dfe0d0
[ "MIT" ]
null
null
null
#define VERSION_MAJOR 1 #define VERSION_MINOR 0
16
23
0.833333
mikhov-ivan
e5d5f4730db4ae23fed4f1331cfe1f7b949c1554
4,806
hh
C++
3DVision_SourceCode_Group12/IsoExMod/IsoEx/Extractors/ExtendedMarchingCubesT.hh
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2019-10-23T06:32:40.000Z
2019-10-23T06:32:40.000Z
3DVision_SourceCode_Group12/IsoExMod/IsoEx/Extractors/ExtendedMarchingCubesT.hh
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
null
null
null
3DVision_SourceCode_Group12/IsoExMod/IsoEx/Extractors/ExtendedMarchingCubesT.hh
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2021-09-23T03:35:30.000Z
2021-09-23T03:35:30.000Z
/*===========================================================================*\ * * * IsoEx * * Copyright (C) 2002 by Computer Graphics Group, RWTH Aachen * * ...
38.142857
104
0.445901
kunal71091
e5d9066ad1106be9e446fbc5f940183ea2859206
3,455
cpp
C++
src/OpcUaStackServer/AddressSpaceModel/BaseNodeClass.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackServer/AddressSpaceModel/BaseNodeClass.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackServer/AddressSpaceModel/BaseNodeClass.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2015-2017 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorge...
19.971098
86
0.754269
gianricardo
e5db1ceefa47fb1c63edd6f59d89695fab5ebf8a
1,860
hpp
C++
code/include/boids2D/Boid.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
4
2016-06-24T09:22:18.000Z
2019-06-13T13:50:53.000Z
code/include/boids2D/Boid.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
null
null
null
code/include/boids2D/Boid.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
2
2016-06-10T12:46:17.000Z
2018-10-14T06:37:21.000Z
#ifndef BOID_HPP #define BOID_HPP #include <glm/glm.hpp> #include <memory> #include <vector> #include "BoidType.hpp" /** * @class Boid * @brief Parent class for a Boid (can be rooted or movable) */ class Boid { public: /** * @brief Constructor for a Boid * @param[in] location The initial position * ...
19.375
62
0.639247
Shutter-Island-Team
e5dbc06954d6a35ea13235b91c158246ea1a534a
287
cpp
C++
DarkestTowerServer/DarkestTowerServer/Fighter.cpp
OztGod/DarkestTowerServer
65043e1e7b158727f7f6ad7c008f1f2847174542
[ "MIT" ]
null
null
null
DarkestTowerServer/DarkestTowerServer/Fighter.cpp
OztGod/DarkestTowerServer
65043e1e7b158727f7f6ad7c008f1f2847174542
[ "MIT" ]
2
2015-09-23T17:17:52.000Z
2015-09-23T18:16:46.000Z
DarkestTowerServer/DarkestTowerServer/Fighter.cpp
OztGod/DarkestTowerServer
65043e1e7b158727f7f6ad7c008f1f2847174542
[ "MIT" ]
null
null
null
#include "Fighter.h" #include "FighterAttack.h" #include "Charge.h" Fighter::Fighter(int idx) :Hero(HeroClass::FIGHTER, 17 + rand() % 4, 5 + rand() % 2, idx) { skills.push_back(SkillInfo(std::make_unique<FighterAttack>())); skills.push_back(SkillInfo(std::make_unique<Charge>())); }
26.090909
64
0.700348
OztGod
e5de1c12a0f2f37847a3bf7b8f1b83a25aa37ca3
202
hpp
C++
addons/CBRN_sounds/sounds/assaultboy/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
4
2018-04-28T16:09:21.000Z
2021-08-24T12:51:55.000Z
addons/CBRN_sounds/sounds/assaultboy/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
29
2018-04-01T23:31:33.000Z
2020-01-02T17:02:11.000Z
addons/CBRN_sounds/sounds/assaultboy/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
10
2018-07-13T15:02:06.000Z
2021-04-06T17:12:11.000Z
class Sound_CBRN_cough_assaultboy:Sound_CBRN_coughBase {sound = "CBRN_cough_assaultboy";}; class Sound_CBRN_coughMuffled_assaultboy:Sound_CBRN_coughMuffledBase {sound = "CBRN_coughMuffled_assaultboy";};
101
111
0.876238
ASO-TheM
e5e7a30ebbffc75b417222539fae251a92732333
2,747
cpp
C++
Editor/gui/InspectorWidget/widget/impl/CameraComponentWidget.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Editor/gui/InspectorWidget/widget/impl/CameraComponentWidget.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Editor/gui/InspectorWidget/widget/impl/CameraComponentWidget.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
#include "CameraComponentWidget.h" #include <QVBoxLayout> #include <QHBoxLayout> namespace editor::impl { CameraComponentWidget::CameraComponentWidget(QWidget* parent) : QWidget(parent) , m_Camera(nullptr) , m_Projection(nullptr) , m_ProjectionLabel(nullptr) , m_IsActiveCamera(nullptr) , m_...
25.201835
103
0.69312
obivan43
e5e9918171f8610da10971bf5ef47eacc1d9275c
5,711
cpp
C++
CookieEngine/src/Render/Drawers/MiniMapDrawer.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/Render/Drawers/MiniMapDrawer.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/Render/Drawers/MiniMapDrawer.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
#include "Core/Math/Mat4.hpp" #include "Render/D3D11Helper.hpp" #include "Resources/Mesh.hpp" #include "Resources/Texture.hpp" #include "Core/Primitives.hpp" #include "Resources/Map.hpp" #include "Render/DrawDataHandler.hpp" #include "Render/Drawers/MiniMapDrawer.hpp" #include "Render/Camera.hpp" using namespace Cooki...
28.133005
120
0.596568
qbleuse
e5ec6bfd9225a596f2111ae906a938b3348f3bd1
2,495
hpp
C++
inc/dirac_op.hpp
lkeegan/canonical
9380e8026f637e50b6354eaf9aeb6728b28bac3c
[ "MIT" ]
null
null
null
inc/dirac_op.hpp
lkeegan/canonical
9380e8026f637e50b6354eaf9aeb6728b28bac3c
[ "MIT" ]
null
null
null
inc/dirac_op.hpp
lkeegan/canonical
9380e8026f637e50b6354eaf9aeb6728b28bac3c
[ "MIT" ]
null
null
null
#ifndef LKEEGAN_CANONICAL_DIRAC_OP_H #define LKEEGAN_CANONICAL_DIRAC_OP_H #include <random> #include "4d.hpp" #include "Eigen3/Eigen/Eigenvalues" #include "omp.h" #include "su3.hpp" // staggered space-dependent gamma matrices // for now stored as 5x doubles per site but they are just +/- signs, and g[0] // is just + e...
32.828947
80
0.726653
lkeegan
e5ec74faa22ac5c889e31f6c93ef137cdb41447a
5,108
cc
C++
src/tim/vx/ops/rnn_cell.cc
gdh1995/TIM-VX
242a6bd05ae9153a6b563c39e6f6de16568812df
[ "MIT" ]
null
null
null
src/tim/vx/ops/rnn_cell.cc
gdh1995/TIM-VX
242a6bd05ae9153a6b563c39e6f6de16568812df
[ "MIT" ]
null
null
null
src/tim/vx/ops/rnn_cell.cc
gdh1995/TIM-VX
242a6bd05ae9153a6b563c39e6f6de16568812df
[ "MIT" ]
null
null
null
/**************************************************************************** * * Copyright (c) 2021 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
35.72028
80
0.669538
gdh1995
e5f27ff62e3c8fe8f15130737b095fadf08dec16
3,670
cpp
C++
src/coinbase_pro/parser.cpp
olned/ssc2ce-cpp
306188fa66322773721f71a8b52ea107ff2288cd
[ "BSL-1.0" ]
null
null
null
src/coinbase_pro/parser.cpp
olned/ssc2ce-cpp
306188fa66322773721f71a8b52ea107ff2288cd
[ "BSL-1.0" ]
null
null
null
src/coinbase_pro/parser.cpp
olned/ssc2ce-cpp
306188fa66322773721f71a8b52ea107ff2288cd
[ "BSL-1.0" ]
null
null
null
// Copyright Oleg Nedbaylo 2020. // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE // or copy at http://www.boost.org/LICENSE_1_0.txt #include "parser.hpp" #include <cstdlib> #include <fmt/format.h> #include <iostream> #include <rapidjson/document.h> namespace ssc2ce { Co...
22.9375
108
0.617984
olned
e5fa89f24b53ada66750cbf7e14b96d67cba0025
2,386
hpp
C++
docker/private/priority_queue.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
docker/private/priority_queue.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
docker/private/priority_queue.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xpack_docker_priority_queue #define xpack_docker_priority_queue #pragma push_macro("xuser") #undef xuser #define xuser mixc::docker_priority_queue::inc #include"algo/heap_root.hpp" #include"define/base_type.hpp" #include"docker/shared_array.hpp" #include"docker/transmitter.hpp" #include"dumb/mirror.hpp" #inclu...
26.808989
74
0.594719
Better-Idea
f905d68556ea6891fbacf9aa7d32580665bbd957
2,194
cc
C++
src/hlib/libcpp/os.cc
hascal/llvm
f9893068ec2cff12889d2a8c3f935bccda8769e3
[ "MIT" ]
null
null
null
src/hlib/libcpp/os.cc
hascal/llvm
f9893068ec2cff12889d2a8c3f935bccda8769e3
[ "MIT" ]
null
null
null
src/hlib/libcpp/os.cc
hascal/llvm
f9893068ec2cff12889d2a8c3f935bccda8769e3
[ "MIT" ]
null
null
null
string os_name() { #ifdef _WIN32 return "win32"; #elif _WIN64 return "win64"; #elif __APPLE__ || __MACH__ || macintosh || Macintosh return "macos"; #elif __linux__ return "linux"; #elif __FreeBSD__ return "freebsd"; #elif __unix || __unix__ return "unix"; #elif __ANDR...
20.12844
67
0.568368
hascal
f90bd9d71cd5d5659b11dbb985099333744bbc32
3,714
hpp
C++
rmvmathtest/profile/Profiler.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmathtest/profile/Profiler.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmathtest/profile/Profiler.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
// // Created by Vitali Kurlovich on 3/22/16. // #ifndef RMVECTORMATH_PROFILER_HPP #define RMVECTORMATH_PROFILER_HPP #include <vector> #include <stack> #include <chrono> #include "ProfileCase.hpp" #include <profiler/MathStatistic.hpp> namespace profiler { class Profiler { protected: std::vector...
27.511111
142
0.469575
vitali-kurlovich