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
108
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
67k
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
ad9c6825a96c1b09f45c58d1bd81ce77443d5dae
196
cpp
C++
tests/test_model.cpp
shakfu/prolog
9d6621e3e723b0bd899bd963fe4a4125cf57671c
[ "Unlicense" ]
null
null
null
tests/test_model.cpp
shakfu/prolog
9d6621e3e723b0bd899bd963fe4a4125cf57671c
[ "Unlicense" ]
null
null
null
tests/test_model.cpp
shakfu/prolog
9d6621e3e723b0bd899bd963fe4a4125cf57671c
[ "Unlicense" ]
null
null
null
#include "doctest.h" #include "model/vehicle.hpp" TEST_CASE("testing vehicle") { model::Vehicle v; v.brand = "x"; v.cost = 10.0; v.weight = 5.0; CHECK(v.cost_per_kg() == 2.0); }
14
34
0.591837
shakfu
ad9db69271a9151979b183ac511aa504315c42c6
1,106
cpp
C++
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
1
2020-04-24T05:45:44.000Z
2020-04-24T05:45:44.000Z
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
null
null
null
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<climits> using namespace std; int solve(vector<vector<int>>&res, int b,int l){ if(l<=0||b<=0) return 0; if(l==b) return 0; if(res[b][l]!=INT_MAX) return res[b][l]; for(int i =1;i<=min(b,l);i++){ int p1v=solve(res,b-i...
21.269231
57
0.507233
Nk095291
ada146d03ec82a7927462795c75ab534000fad54
451
cpp
C++
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void reverseArray(int [], int); int main() { const int size = 6; int list[size] = { 1,6,7,9,2,5 }; reverseArray(list, size); cout << list[0]; for (int i = 1; i < size; i++) { cout << "," << list[i]; } cout << endl; return 0; } void reverseArray(int list[], int size) ...
18.791667
41
0.552106
CHList
ada2e2c33c4a1f6ea0a55e19426f4182afc20be6
1,115
cpp
C++
03-composition-references/1-reference/assign_a_reference.cpp
nofar88/cpp-5782
473c68627fc0908fdef8956caf1e1d2267c9417b
[ "MIT" ]
14
2021-01-30T16:36:18.000Z
2022-03-30T17:24:44.000Z
03-composition-references/1-reference/assign_a_reference.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
1
2022-03-02T20:55:14.000Z
2022-03-02T20:55:14.000Z
03-composition-references/1-reference/assign_a_reference.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
16
2021-03-02T11:13:41.000Z
2021-07-09T14:18:15.000Z
/** * Demonstrates assigning values to references in C++. * * @author Erel Segal-Halevi * @since 2018-02 */ #include <iostream> using namespace std; int main() { int* p1; //int& r1; // compile error int num = 1, num2 = 999; cout << "Pointer:" << endl; int* pnum = &num; cout << "pnum = ...
30.135135
76
0.442152
nofar88
ada55c5ef838ebe62e9bdce02ea66a59bd917970
2,347
cc
C++
chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.h" namespace mojo { using chrome_cleaner::mojom::NullValueDataView; ...
34.514706
86
0.737963
sarang-apps
ada5da0873736248a9ef99e8067522d738188fd2
838
cpp
C++
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
#include "WallManager.h" #include "GameEngine/GameEngineMain.h" #include "Game/GameEntities/WallEntity.h" using namespace Game; WallManager* WallManager::sm_instance = nullptr; WallManager::WallManager(){ wasMouseDown = true; } WallManager::~WallManager(){ } void WallManager::Update(){ //spawn wall on mo...
23.942857
92
0.689737
AdrienPringle
adad1ee2fe75ed250ac64d745fa10f209da9c2a0
735
cpp
C++
ESOData/Filesystem/DataFileHeader.cpp
FloorBelow/ESOData
eb35a95ec64d56c5842c4df85bc844e06fc72582
[ "MIT" ]
1
2021-12-20T02:46:34.000Z
2021-12-20T02:46:34.000Z
ESOData/Filesystem/DataFileHeader.cpp
rekiofoldhome/ESOData
3c176110e7fa37fcff0b74b0bf0649f7251e59ed
[ "MIT" ]
null
null
null
ESOData/Filesystem/DataFileHeader.cpp
rekiofoldhome/ESOData
3c176110e7fa37fcff0b74b0bf0649f7251e59ed
[ "MIT" ]
1
2021-06-10T03:00:46.000Z
2021-06-10T03:00:46.000Z
#include <ESOData/Filesystem/DataFileHeader.h> #include <ESOData/Serialization/SerializationStream.h> #include <stdexcept> namespace esodata { SerializationStream &operator <<(SerializationStream &stream, const DataFileHeader &header) { stream << DataFileHeader::Signature; stream << header.version; stream <<...
24.5
94
0.742857
FloorBelow
adb86ae40f02307ae6ef47ba88df07ccb71ad290
3,225
hpp
C++
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
1
2021-08-07T13:02:01.000Z
2021-08-07T13:02:01.000Z
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
#pragma once #include<../thirdparty/tinyxml/tinyxml.h> #include<memory> #include<fstream> namespace tutorial { class XMLAttribute { public: XMLAttribute() : _attrib(nullptr) {} XMLAttribute(TiXmlAttribute *attrib) : _attrib(attrib) {} bool is_empty() const { return _attrib == nullptr; } const char* name()...
23.201439
99
0.671628
Yousazoe
adbc18e69243df5c6ea4b52bfeae1e38d8b83f58
6,237
cpp
C++
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
#include <fstream> #include <utility> #include "blockManager.hpp" #include "eventManager.hpp" #include "global.hpp" #include "levelManager.hpp" #include "utilities.hpp" void LevelManager::setBlockHere(std::map<Point, std::unique_ptr<Block>>& currentMap, BlockId idOfBlock, int xBlock, i...
36.473684
118
0.636364
LEpigeon888
adbecc30a0fe5a2dbe4ac91abdf0b678606a2c3f
955
cpp
C++
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "MordentHandler.h" #include "EmptyPlacementHandler....
30.806452
110
0.736126
dkun7944
adbfd05a98256bf85511a02bd842b3c4af93c5bb
2,714
cpp
C++
NES/Mapper/Mapper068.cpp
chittleskuny/virtuanes
f2528f24108ebde6c2e123920423d95e086d86bc
[ "MIT" ]
null
null
null
NES/Mapper/Mapper068.cpp
chittleskuny/virtuanes
f2528f24108ebde6c2e123920423d95e086d86bc
[ "MIT" ]
null
null
null
NES/Mapper/Mapper068.cpp
chittleskuny/virtuanes
f2528f24108ebde6c2e123920423d95e086d86bc
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // Mapper068 SunSoft (After Burner II) // ////////////////////////////////////////////////////////////////////////// void Mapper068::Reset() { reg[0] = reg[1] = reg[2] = reg[3] = 0; coin = 0; SetPROM_...
20.876923
75
0.51437
chittleskuny
adccb5f1b156054bc25860aecc8c8c7d649bfd59
14,637
cpp
C++
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
21
2015-07-22T15:22:41.000Z
2021-03-23T05:40:44.000Z
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
11
2015-10-19T07:54:10.000Z
2021-09-01T08:47:56.000Z
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
16
2015-07-22T15:23:09.000Z
2022-01-17T10:49:43.000Z
// HttpDownloader.cpp: implementation of the CHttpDownloader class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "HttpDownloader.h" #include "Resource.h" #include "GlobalFunction.h" #include "atlenc.h" #ifdef _DEBUG #undef THIS_FILE static char T...
23.27027
169
0.662909
InstantBusinessNetwork
adccb8a5662a5de17434c419c0a66ffe388f5e52
1,012
cc
C++
stl/containers/map/unordered_map.cc
curoky/dumbo
d0aae7b239a552ff670795ae51c3452c9e28f63d
[ "Apache-2.0" ]
null
null
null
stl/containers/map/unordered_map.cc
curoky/dumbo
d0aae7b239a552ff670795ae51c3452c9e28f63d
[ "Apache-2.0" ]
null
null
null
stl/containers/map/unordered_map.cc
curoky/dumbo
d0aae7b239a552ff670795ae51c3452c9e28f63d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 curoky(cccuroky@gmail.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
37.481481
120
0.720356
curoky
add35b5bbe2b0962674ac0b421017a86f1f02314
8,813
cc
C++
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
swapnil119/chromeos_smart_card_connector
c01ec7e9aad61ede90f1eeaf8554540ede988d2d
[ "Apache-2.0" ]
1
2021-10-18T03:23:18.000Z
2021-10-18T03:23:18.000Z
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
AdrianaDJ/chromeos_smart_card_connector
63bcbc1ce293779efbe99a63edfbc824d96719fc
[ "Apache-2.0" ]
1
2021-02-23T22:37:22.000Z
2021-02-23T22:37:22.000Z
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
AdrianaDJ/chromeos_smart_card_connector
63bcbc1ce293779efbe99a63edfbc824d96719fc
[ "Apache-2.0" ]
1
2021-04-15T17:09:55.000Z
2021-04-15T17:09:55.000Z
// Copyright 2016 Google 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 applicable...
30.181507
80
0.666969
swapnil119
add80978f49c3218f7ec8dd60422cf62bb0cd10f
51,310
cpp
C++
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
/*! @file TrickHLA/Interaction.cpp @ingroup TrickHLA @brief This class represents an HLA Interaction that is managed by Trick. @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is claimed in the United States under ...
40.982428
123
0.638823
jiajlin
adda4a644ee7c2c8bbc263e13622a455a0d36f54
111
cpp
C++
dll/common/Engine/Math/Ray3D.cpp
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
4
2015-09-23T14:12:07.000Z
2021-10-04T21:03:32.000Z
dll/common/Engine/Math/Ray3D.cpp
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
null
null
null
dll/common/Engine/Math/Ray3D.cpp
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
2
2018-06-26T14:59:11.000Z
2021-09-01T01:50:20.000Z
/* Ray3D.cpp Written by Matthew Fisher a 3D ray represented by an origin point and a direction vector. */
18.5
64
0.72973
kbinani
addc2b8b55dc4dcf0b78935062600f696c73c88e
10,750
cpp
C++
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
/*============================================================================= FrTabControl.cpp: Tab control widget. Copyright Jul.2016 Vlad Gordienko. =============================================================================*/ #include "GUI.h" /*----------------------------------------------------------...
19.265233
102
0.574233
VladGordienko28
addceae60277af9d0efb17f388335e133ab6e685
880
cpp
C++
samples/sample37.cpp
AjayBrahmakshatriya/mirror-cpp
f19fdfbfdc3f333a5e20f88374b87a3509dd1af7
[ "MIT" ]
null
null
null
samples/sample37.cpp
AjayBrahmakshatriya/mirror-cpp
f19fdfbfdc3f333a5e20f88374b87a3509dd1af7
[ "MIT" ]
null
null
null
samples/sample37.cpp
AjayBrahmakshatriya/mirror-cpp
f19fdfbfdc3f333a5e20f88374b87a3509dd1af7
[ "MIT" ]
null
null
null
// Include the headers #include "blocks/c_code_generator.h" #include "builder/static_var.h" #include "builder/dyn_var.h" #include "blocks/extract_cuda.h" #include <iostream> // Include the BuildIt types using builder::dyn_var; using builder::static_var; static void bar(dyn_var<int*> buffer) { builder::annotate(CUDA_K...
28.387097
83
0.7
AjayBrahmakshatriya
adddaedc9a8c59629f3f2fd012503ac9d6c83d26
336
cpp
C++
net.ssa/Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//////////////////////////////////////////////////////////////////////////// // Module : ui.cpp // Created : 12.11.2004 // Modified : 12.11.2004 // Author : Dmitriy Iassenev // Description : User interface //////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #...
30.545455
77
0.330357
ixray-team
ade07f5f3e86790ca6d9be1a00bce643a4edcc95
109
cpp
C++
Engine/src/Engine/Graphics/renderers/RenderAPI.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Graphics/renderers/RenderAPI.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Graphics/renderers/RenderAPI.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
#include "RenderAPI.h" namespace ArcanaTools { RenderAPI::API RenderAPI::s_API = RenderAPI::API::OPENGL; }
18.166667
58
0.743119
AustinLynes
ade1d45bdeffb800948221a346afcac788e4ec1f
2,740
cpp
C++
codes/CF/CF_911F.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CF/CF_911F.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CF/CF_911F.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//here take a cat #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cmath> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #define ll long long #define lb long double #...
21.92
84
0.55438
chessbot108
ade3670799690a1349db18a566faae2cb72a5f12
4,634
cpp
C++
src/dev/mcdaly/12BarTensegrity/tensionsensor.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
148
2015-01-08T22:44:00.000Z
2022-03-19T18:42:48.000Z
src/dev/mcdaly/12BarTensegrity/tensionsensor.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
107
2015-01-02T16:41:42.000Z
2021-06-14T22:09:19.000Z
src/dev/mcdaly/12BarTensegrity/tensionsensor.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
86
2015-01-06T07:02:36.000Z
2022-02-28T17:36:14.000Z
/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use t...
26.632184
125
0.67609
wvat
ade50fce87017a1c81f10895ab73bae9171ceb65
196
cpp
C++
src/main/cpp/miscar/Fix.cpp
MisCar/libmiscar
b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/miscar/Fix.cpp
MisCar/libmiscar
b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/miscar/Fix.cpp
MisCar/libmiscar
b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) MisCar 1574 #include "miscar/Fix.h" #include <cmath> double miscar::Fix(double value, double range) { return (std::abs(value) < range) ? 0 : (value - range) / (1 - range); }
19.6
71
0.637755
MisCar
ade5137afabf9677c83d62a9053a95abc5ccfb16
5,038
cpp
C++
LAVFilters/decoder/LAVVideo/VideoInputPin.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
2
2019-11-17T14:01:21.000Z
2019-12-24T14:29:45.000Z
LAVFilters/decoder/LAVVideo/VideoInputPin.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
null
null
null
LAVFilters/decoder/LAVVideo/VideoInputPin.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
3
2019-08-28T14:37:01.000Z
2020-06-17T16:46:32.000Z
/* * Copyright (C) 2010-2019 Hendrik Leppkes * http://www.1f0.de * * 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...
29.121387
166
0.708615
lcmftianci
ade52bb499f53d45cc0770a06faa187155e32b1f
14,504
cpp
C++
Axis.Physalis/application/parsing/parsers/StepParser.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Physalis/application/parsing/parsers/StepParser.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Physalis/application/parsing/parsers/StepParser.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "StepParser.hpp" #include "SnapshotParser.hpp" #include "ResultCollectorParser.hpp" #include "application/factories/parsers/StepParserProvider.hpp" #include "application/jobs/AnalysisStep.hpp" #include "application/jobs/StructuralAnalysis.hpp" #include "application/locators/ClockworkFactoryLocator.hpp" #includ...
42.285714
104
0.678089
renato-yuzup
ade82238899ca28b846453ac02501936e158abb7
2,088
cpp
C++
ClubDetailsDlg.cpp
chrisoldwood/FCManager
f26aad68e572d21d3cb27d1fc285143b6c3ee848
[ "MIT" ]
1
2017-08-17T15:33:33.000Z
2017-08-17T15:33:33.000Z
ClubDetailsDlg.cpp
chrisoldwood/FCManager
f26aad68e572d21d3cb27d1fc285143b6c3ee848
[ "MIT" ]
null
null
null
ClubDetailsDlg.cpp
chrisoldwood/FCManager
f26aad68e572d21d3cb27d1fc285143b6c3ee848
[ "MIT" ]
null
null
null
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: CLUBDETAILSDLG.CPP ** COMPONENT: The Application. ** DESCRIPTION: CClubDetailsDlg class definition. ** ******************************************************************************* */ #include "Common....
25.156627
79
0.499042
chrisoldwood
ade991857f9ce165f7166cae00134638ce25675a
7,501
cpp
C++
openstudiocore/src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
41.441989
146
0.758299
hongyuanjia
aded0ee28d9c261cc7caadeac6e5b774acc35e07
4,393
cpp
C++
hardware/libraries/MD/MDRecorder.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
hardware/libraries/MD/MDRecorder.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
hardware/libraries/MD/MDRecorder.cpp
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
#include <inttypes.h> #include "WProgram.h" #include "helpers.h" #include "MDRecorder.h" MDRecorderClass::MDRecorderClass() { recording = false; playing = false; recordLength = 0; playPtr = NULL; looping = true; md_playback_phase = MD_PLAYBACK_NONE; muted = false; } void MDRecorderClass::setup() { Mid...
22.528205
97
0.660369
anupam19
adeffceeb96cee1cc8a934082009d3dcbcc471dc
2,709
cpp
C++
aws-cpp-sdk-opsworks/source/model/AppAttributesKeys.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-opsworks/source/model/AppAttributesKeys.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-opsworks/source/model/AppAttributesKeys.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/opsworks/model/AppAttributesKeys.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Ut...
31.870588
100
0.63529
lintonv
adf0c68c4d4e4dff66ea7a9388d9a254bcb27d32
375
cpp
C++
src/libgraphic/src/message/entity/DestroyGraphicEntityMessage.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
src/libgraphic/src/message/entity/DestroyGraphicEntityMessage.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
15
2021-05-18T14:16:03.000Z
2021-06-17T19:36:32.000Z
src/libgraphic/src/message/entity/DestroyGraphicEntityMessage.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
#include "DestroyGraphicEntityMessage.h" #include "message/GraphicMessageHandler.h" DestroyGraphicEntityMessage::DestroyGraphicEntityMessage(GraphicEntity * entity_p, bool delete_p) : GraphicMessage("") , _entity(entity_p) , _delete(delete_p) {} void DestroyGraphicEntityMessage::visit(GraphicMessageHandler &handl...
25
97
0.816
SimonPiCarter
adf2f68c4db3313d196b8d7dd7fd4b58bfd933e7
1,253
cpp
C++
src/option.cpp
jserot/rfsm-gui
4eee507ae6e06088fbc66fd2383d5533af49090b
[ "MIT" ]
null
null
null
src/option.cpp
jserot/rfsm-gui
4eee507ae6e06088fbc66fd2383d5533af49090b
[ "MIT" ]
null
null
null
src/option.cpp
jserot/rfsm-gui
4eee507ae6e06088fbc66fd2383d5533af49090b
[ "MIT" ]
null
null
null
/**********************************************************************/ /* */ /* This file is part of the RFSM package */ /* */ /* Copyright (c) 2018-p...
35.8
88
0.381484
jserot
adfa2a6509c6eb97a30e4c8cf91e4d188ed88b0c
952
cpp
C++
914C.cpp
basuki57/Codeforces
5227c3deecf13d90e5ea45dab0dfc16b44bd028c
[ "MIT" ]
null
null
null
914C.cpp
basuki57/Codeforces
5227c3deecf13d90e5ea45dab0dfc16b44bd028c
[ "MIT" ]
null
null
null
914C.cpp
basuki57/Codeforces
5227c3deecf13d90e5ea45dab0dfc16b44bd028c
[ "MIT" ]
2
2020-10-03T04:52:14.000Z
2020-10-03T05:19:12.000Z
#include<bits/stdc++.h> using namespace std; typedef long long int ll; ll c[1010][1010], mod = 1e9 + 7; void comb(){ c[0][0] = 1; for(ll i = 1; i < 1010; ++i){ c[i][0] = 1; for(ll j = 1; j < 1010; ++j) c[i][j] = (c[i-1][j-1] + c[i-1][j])%mod; } } void solve(){ comb(); string s; ...
21.636364
91
0.422269
basuki57
adfc689d5fd35369ad097c09dc98495f9ec30835
736
cpp
C++
faculdade2020Fatec/lista2/ex4.cpp
DouSam/AnyLiteryAnyThingIDo
48313b1dd0534df15c6b024f2f2118a76bd2ac0a
[ "MIT" ]
1
2018-07-13T23:59:34.000Z
2018-07-13T23:59:34.000Z
faculdade2020Fatec/lista2/ex4.cpp
CoalaDrogado69/AnyLiteryAnyThingIDo
48313b1dd0534df15c6b024f2f2118a76bd2ac0a
[ "MIT" ]
null
null
null
faculdade2020Fatec/lista2/ex4.cpp
CoalaDrogado69/AnyLiteryAnyThingIDo
48313b1dd0534df15c6b024f2f2118a76bd2ac0a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int vetor[10]; int pares = 0; //Para cada posição eu irei pedir um valor para o usuário for (int i = 0; i < 10; i++) { cout << "Digite um valor para posição " << i << endl; cin >> vetor[i]; }; //Para ca...
22.30303
79
0.45788
DouSam
adfc7e4e1421cd2e7252b8bd45f1a168a4d124e3
5,476
cpp
C++
Compiler/src/AST.cpp
BrandonKi/ARCANE
425d481610125ba89bbe36e4c16b680d6e2b7868
[ "MIT" ]
7
2020-06-24T03:32:36.000Z
2022-01-15T03:59:56.000Z
Compiler/src/AST.cpp
BrandonKi/ARCANE
425d481610125ba89bbe36e4c16b680d6e2b7868
[ "MIT" ]
2
2021-06-25T02:18:41.000Z
2021-06-25T18:59:05.000Z
Compiler/src/AST.cpp
BrandonKi/ARCANE
425d481610125ba89bbe36e4c16b680d6e2b7868
[ "MIT" ]
1
2021-06-25T17:43:20.000Z
2021-06-25T17:43:20.000Z
#include "AST.h" extern ErrorHandler error_log; extern TypeManager type_manager; AST::AST() { PROFILE(); } AST::~AST() { PROFILE(); } //FIXME fix all of this absolute trash // at the moment we are making copies of the vectors and moving some and none of it is good // FIXME use allocator [[nodiscard]] Projec...
31.471264
164
0.669467
BrandonKi
adfd0ca913de67a10322e8feb232510d30d79519
2,588
cpp
C++
Procedural Programming I/tema10.cpp
dindareanualin/School-Work
3ce04376e0a22d4c709303540a91ba17d0b63096
[ "MIT" ]
null
null
null
Procedural Programming I/tema10.cpp
dindareanualin/School-Work
3ce04376e0a22d4c709303540a91ba17d0b63096
[ "MIT" ]
null
null
null
Procedural Programming I/tema10.cpp
dindareanualin/School-Work
3ce04376e0a22d4c709303540a91ba17d0b63096
[ "MIT" ]
null
null
null
//10. Given an n lines, m columns matrix, write an algorithm which will // first display the matrix with each line sorted in ascending order, //then display the matrix with each column sorted in ascending order. #include <iostream> using namespace std; int main(){ int m, n; int matrice[50][50], c...
25.372549
88
0.376739
dindareanualin
adfe7009f0b19c0b0f04824e96a7395b56099222
1,323
cpp
C++
2018/AdventOfCode/Day2/Box.cpp
Ganon11/AdventCode
eebf3413c8e73c45d0e0a65a80e57eaf594baead
[ "MIT" ]
null
null
null
2018/AdventOfCode/Day2/Box.cpp
Ganon11/AdventCode
eebf3413c8e73c45d0e0a65a80e57eaf594baead
[ "MIT" ]
null
null
null
2018/AdventOfCode/Day2/Box.cpp
Ganon11/AdventCode
eebf3413c8e73c45d0e0a65a80e57eaf594baead
[ "MIT" ]
null
null
null
#include "pch.h" #include "Box.h" #include <algorithm> Box::Box(const std::wstring& name) : m_name{ name } { CharacterMap charMap; for (wchar_t ch : name) { if (charMap.end() == charMap.find(ch)) { charMap[ch] = 1u; } else { ++charMap[ch]; } } auto two_count_comparator{ [](const Charac...
27
98
0.671958
Ganon11
bc0287b34fa8cbfa7b7c45fb81aa69b519d9f986
284
cpp
C++
src/hir/crate_ptr.cpp
spacekookie/mrustc
e49cd3b71a5b5458ecd3f3937c04d1a35871a190
[ "MIT" ]
null
null
null
src/hir/crate_ptr.cpp
spacekookie/mrustc
e49cd3b71a5b5458ecd3f3937c04d1a35871a190
[ "MIT" ]
null
null
null
src/hir/crate_ptr.cpp
spacekookie/mrustc
e49cd3b71a5b5458ecd3f3937c04d1a35871a190
[ "MIT" ]
null
null
null
/* */ #include "crate_ptr.hpp" #include "hir.hpp" ::HIR::CratePtr::CratePtr(): m_ptr(nullptr) { } ::HIR::CratePtr::CratePtr(HIR::Crate c): m_ptr( new ::HIR::Crate(mv$(c)) ) { } ::HIR::CratePtr::~CratePtr() { if( m_ptr ) { delete m_ptr, m_ptr = nullptr; } }
13.52381
40
0.559859
spacekookie
bc02beb0ad485beedd30647a1b9ce0ce47eae7a1
348
cpp
C++
src/lexer/token.cpp
masyagin1998/CSC
d1e93697f80b071a69f776e70ea15b3280a53837
[ "MIT" ]
12
2019-04-15T09:54:35.000Z
2022-03-27T10:37:21.000Z
src/lexer/token.cpp
masyagin1998/CSC
d1e93697f80b071a69f776e70ea15b3280a53837
[ "MIT" ]
null
null
null
src/lexer/token.cpp
masyagin1998/CSC
d1e93697f80b071a69f776e70ea15b3280a53837
[ "MIT" ]
2
2020-02-27T10:17:34.000Z
2020-07-29T22:01:15.000Z
#include "token.hpp" TOKEN::TOKEN(DOMAIN_TAG tag, POSITION starting, POSITION following) : tag(tag), frag(FRAGMENT(starting, following)) {} DOMAIN_TAG TOKEN::get_tag() const { return tag; } FRAGMENT TOKEN::get_frag() const { return frag; } std::ostream& operator<<(std::ostream &strm, const TOKEN &tok) { ...
18.315789
118
0.689655
masyagin1998
bc031b6cf323dfbee91a416d72e6c2f41d995fb2
475
cpp
C++
sample20.cpp
sunjinbo/wapiti
b7cb8b0007f9df708522da74a233541dd4e24afa
[ "MIT" ]
null
null
null
sample20.cpp
sunjinbo/wapiti
b7cb8b0007f9df708522da74a233541dd4e24afa
[ "MIT" ]
null
null
null
sample20.cpp
sunjinbo/wapiti
b7cb8b0007f9df708522da74a233541dd4e24afa
[ "MIT" ]
null
null
null
// 函数指针 #include <iostream> using namespace std; int foo(); double goo(); int hoo(int x); int main() { // 给函数指针赋值 int (*funcPtr1)() = foo; // 可以 //int (*funcPtr2)() = goo; // 错误!返回值不匹配! double (*funcPtr4)() = goo; // 可以 //funcPtr1 = hoo; // 错误,因为参数不匹配,funcPtr1只能指向不含参数的函数,而hoo含有int型的参数 int (*...
12.837838
69
0.56
sunjinbo
bc0347e6aed7df394f7fcec0a06f4230c7da6001
721
cpp
C++
test/unit_tests/compiler/bytecode_gen/record_template_test.cpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
10
2020-01-23T20:41:19.000Z
2021-12-28T20:24:44.000Z
test/unit_tests/compiler/bytecode_gen/record_template_test.cpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
22
2021-03-25T16:22:08.000Z
2022-03-17T12:50:38.000Z
test/unit_tests/compiler/bytecode_gen/record_template_test.cpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include "support/test_compiler.hpp" namespace tiro::test { TEST_CASE("Using the same record structure multiple times should only generate one record template", "[bytecode_gen]") { std::string_view source = R"( export func a() { return (foo: "1", bar: 2, baz: #...
22.53125
100
0.525659
mbeckem
bc06002ef7dfd4b4baffe42fa63ee98eb66c952d
3,190
cpp
C++
Code/exec/BCHLaiTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/exec/BCHLaiTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/exec/BCHLaiTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
// Final project for CS 294-73 at Berkeley // Amirreza Hashemi and Júlio Caineta // 2017 #include "RectMDArray.H" #include "FFT1DW.H" #include "FieldData.H" #include "RK4.H" #include "WriteRectMDArray.H" #include "RHSNavierStokes.H" void computeVorticity(RectMDArray< double >& vorticity, const DBox box, ...
27.5
74
0.577429
amihashemi
bc0c4d6a5d840e43582c8b9398cfc22a90a2e49b
7,266
cpp
C++
lib/https/server/src/session.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
lib/https/server/src/session.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
lib/https/server/src/session.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include <smf/https/srv/session.h> #include <smf/https/srv/connections.h> #include <cyng/vm/controller.h> #include <cyng/vm/generator.h> #include <boost/uuid/uuid_io.hpp> namespace node { namespace https { plain_session::plain_session(cy...
25.674912
147
0.664052
solosTec
bc12089b2c6c25751953acfb23eec71c208d6e35
7,391
cpp
C++
moai/src/moaicore/MOAIFrameBufferTexture.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAIFrameBufferTexture.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAIFrameBufferTexture.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <moaicore/MOAIGfxDevice.h> #include <moaicore/MOAILogMessages.h> #include <moaicore/MOAIFrameBufferTexture.h> //================================================================// // local //============...
30.290984
123
0.593154
jjimenezg93
bc13edf112b8f9d50bc5a4620b431ef1d143ae80
498
cpp
C++
coding/if else condition.cpp
tusharkumar2005/developer
b371cedcd77b7926db7b6b7c7d6a144f48eed07b
[ "CC0-1.0" ]
1
2021-09-21T11:49:50.000Z
2021-09-21T11:49:50.000Z
coding/if else condition.cpp
tusharkumar2005/developer
b371cedcd77b7926db7b6b7c7d6a144f48eed07b
[ "CC0-1.0" ]
null
null
null
coding/if else condition.cpp
tusharkumar2005/developer
b371cedcd77b7926db7b6b7c7d6a144f48eed07b
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ int age; cout<<"enter your age"<<endl; cin>>age; /* if (age>=150){ cout<<"invalid age"; } else if (age >=18){ cout<<"you can vote"; } else { cout<<"sorry,you can not vote"; } */ switch (age){ case 12: ...
10.375
34
0.487952
tusharkumar2005
bc1fc1a8a367e5db98a479107f426247edc329ae
1,561
cpp
C++
scm_gl_core/src/scm/gl_classic/utilities/volume_generator_checkerboard.cpp
Nyran/schism
c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b
[ "BSD-3-Clause" ]
10
2015-09-17T06:01:03.000Z
2019-10-23T07:10:20.000Z
scm_gl_core/src/scm/gl_classic/utilities/volume_generator_checkerboard.cpp
Nyran/schism
c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b
[ "BSD-3-Clause" ]
5
2015-01-06T14:11:32.000Z
2016-12-12T10:26:53.000Z
scm_gl_core/src/scm/gl_classic/utilities/volume_generator_checkerboard.cpp
Nyran/schism
c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b
[ "BSD-3-Clause" ]
15
2015-01-29T20:56:13.000Z
2020-07-02T19:03:20.000Z
// Copyright (c) 2012 Christopher Lux <christopherlux@gmail.com> // Distributed under the Modified BSD License, see license.txt. #include "volume_generator_checkerboard.h" #include <scm/core/math/math.h> #include <exception> #include <new> namespace scm { namespace gl_classic { bool volume_generator_checkerboard::...
28.381818
93
0.467008
Nyran
bc22c3e20e78c425c89b39a2d6243c4cae9717a0
4,390
cpp
C++
Atom.AI_Contest/main/Distance.cpp
mocxi/Arduino
3133f7416238c448347ef39bb259ac7dcf016d19
[ "BSD-3-Clause" ]
null
null
null
Atom.AI_Contest/main/Distance.cpp
mocxi/Arduino
3133f7416238c448347ef39bb259ac7dcf016d19
[ "BSD-3-Clause" ]
null
null
null
Atom.AI_Contest/main/Distance.cpp
mocxi/Arduino
3133f7416238c448347ef39bb259ac7dcf016d19
[ "BSD-3-Clause" ]
null
null
null
#include "Distance.h" #include <DebugUtils.h> #if USE_IR #include "IR_Distance.h" #endif //Init int avr_front , avr_right , avr_left, avr_TOTAL = 0; //int angle, delta_angle; NewPing sonar_front (PING_PIN_FRONT, PING_PIN_FRONT, MAX_DISTANCE); NewPing sonar_right (PING_PIN_RIGHT, PING_PIN_RIGHT, ...
23.475936
153
0.680182
mocxi
bc22f869e4814f5a688468eedfd57b6363e4b108
596
cpp
C++
example/BasicExample.cpp
marty1885/NeuralInterface
1da613e7af5fa93bc05c607f3acbda6ae04443e6
[ "MIT" ]
null
null
null
example/BasicExample.cpp
marty1885/NeuralInterface
1da613e7af5fa93bc05c607f3acbda6ae04443e6
[ "MIT" ]
null
null
null
example/BasicExample.cpp
marty1885/NeuralInterface
1da613e7af5fa93bc05c607f3acbda6ae04443e6
[ "MIT" ]
null
null
null
#include "NeuralInterface.h" int main() { //Define how much dimension we want and how large it is0 int dimensionSize[] = {2,50,70}; int size = 3; //Create a manager. This is the core component. NeuralInterface::InterfaceManager interfaceManager; //Add a Interface named "Test1" with the parameter we defined. i...
27.090909
83
0.719799
marty1885
bc22fe2cac68d6912490bbd1c953818a646c3f94
2,110
cpp
C++
nau/src/nau/material/materialGroup.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/material/materialGroup.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/material/materialGroup.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/material/materialGroup.h" #include "nau.h" #include "nau/geometry/vertexData.h" #include "nau/render/opengl/glMaterialGroup.h" #include "nau/math/vec3.h" #include "nau/clogger.h" using namespace nau::material; using namespace nau::render; using namespace nau::render::opengl; using namespace nau::math; ...
16.10687
83
0.729858
Khirion
bc2e1cac9ed2df3f1065af958a3136f3415fa07e
1,866
hpp
C++
src/cc/Books/ElementsOfProgrammingInterviews/ch8.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
src/cc/Books/ElementsOfProgrammingInterviews/ch8.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
src/cc/Books/ElementsOfProgrammingInterviews/ch8.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
#ifndef Books_ElementsOfProgrammingInterviews_ch8_hpp #define Books_ElementsOfProgrammingInterviews_ch8_hpp #include "reference/ch8.hpp" #include <cstdlib> #include <memory> #include <string> #include <vector> namespace study { extern std::shared_ptr<reference::ListNode<int>> MergeTwoSortedLists(std::shared_ptr<...
40.565217
127
0.700429
nuggetwheat
bc2f0548b0855345014ca64feeb3ad37eadb0d7f
10,012
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/param_X86ACPIRSDP.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/param_X86ACPIRSDP.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/param_X86ACPIRSDP.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_X86ACPIRSDP[] = { 120,156,197,88,109,115,220,72,17,238,209,190,121,109,175,189, 142,223,242,226,196,162,136,47,11,199,217,192,85,224,224,66, 138,92,46,64,170,14,39,37,135,74,98,168,82,201,171,177, 45,103,87,218,90,141,237,236,149,...
58.209302
92
0.6669
hoho20000000
bc30785f43a2059b7a6e9c87e32c84d9a2157470
1,228
cpp
C++
aws-cpp-sdk-shield/source/model/ProtectionGroupArbitraryPatternLimits.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-shield/source/model/ProtectionGroupArbitraryPatternLimits.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-shield/source/model/ProtectionGroupArbitraryPatternLimits.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/shield/model/ProtectionGroupArbitraryPatternLimits.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; ...
19.806452
108
0.762215
perfectrecall
bc308fc74a58e7d9e4929425df42b0800ce878d4
2,010
cpp
C++
aoapcbac2nd/example9-4_unidirectionaltsp.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
aoapcbac2nd/example9-4_unidirectionaltsp.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
aoapcbac2nd/example9-4_unidirectionaltsp.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
// UVa 116 #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int MAXR = 10+10; const int MAXC = 100+10; const int INF = 1 << 30; int F[MAXR][MAXC]; int dp[MAXR][MAXC]; int nxt[MAXR][MAXC]; int R, C; void print...
26.103896
79
0.374129
aoibird
bc343ef1acf95d594fd021c9dc93956ae9b51c7d
2,807
cpp
C++
[Lib]__RanClientUI/Sources/InnerUI/ItemBankWindow.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
[Lib]__RanClientUI/Sources/InnerUI/ItemBankWindow.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
[Lib]__RanClientUI/Sources/InnerUI/ItemBankWindow.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "ItemBankWindow.h" #include "ItemBankPage.h" #include "../[Lib]__EngineUI/Sources/BasicButton.h" #include "GLGaeaClient.h" #include "../[Lib]__EngineUI/Sources/BasicTextBox.h" #include "InnerInterface.h" #include "ModalCallerID.h" #include "../[Lib]__Engine/Sources/DxTools/DxFontMan.h" #inclu...
27.519608
134
0.728892
yexiuph
bc39a9484ab2f2df4c4ffbfdfd93fdb3d40b66b1
225
cpp
C++
src_server/Player.cpp
Naftoreiclag/VS7C
5b736a0550969752514433fb0fd9d9680fa46bdd
[ "Apache-2.0" ]
null
null
null
src_server/Player.cpp
Naftoreiclag/VS7C
5b736a0550969752514433fb0fd9d9680fa46bdd
[ "Apache-2.0" ]
null
null
null
src_server/Player.cpp
Naftoreiclag/VS7C
5b736a0550969752514433fb0fd9d9680fa46bdd
[ "Apache-2.0" ]
null
null
null
#include "Player.h" Player::Player(std::string username, sf::Uint64 id, sf::IpAddress address, unsigned short port) : username(username), id(id), address(address), port(port) { //ctor } Player::~Player() { //dtor }
14.0625
95
0.666667
Naftoreiclag
bc3bf4d210522a103d2ad6ddc8d8c6f117082c03
1,805
hpp
C++
include/string_algorithm_impl.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
38
2020-12-16T22:12:50.000Z
2022-03-24T04:07:14.000Z
include/string_algorithm_impl.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
165
2020-11-11T21:22:23.000Z
2022-03-26T14:30:40.000Z
include/string_algorithm_impl.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
5
2021-07-16T19:05:28.000Z
2021-12-22T11:46:42.000Z
#pragma once #include <algorithm.hpp> namespace ktl { namespace str::details { template <class Traits, class CharT, class SizeType> constexpr SizeType find_ch(const CharT* str, CharT ch, SizeType length, SizeType start_pos, ...
33.425926
80
0.556233
Shtan7
bc3e67071673456f2ff996ca5248a914ba86b0a6
983
hpp
C++
include/tools/StringTools.hpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
2
2020-09-21T12:30:05.000Z
2020-10-14T19:43:51.000Z
include/tools/StringTools.hpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
null
null
null
include/tools/StringTools.hpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
null
null
null
#ifndef STRING_TOOLS_HPP #define STRING_TOOLS_HPP #include <string> namespace APAL { /** * @brief Replaces all occurences of an itemToReplace in the given strToChange * @param strToChange string to replaces stuff in. * @param itemToReplace String value, which should be replaces * @param substitute Text to replace...
33.896552
78
0.722279
CapRat
bc3ec80aab2aafa2db45125a14f98e557efaa48a
4,217
hpp
C++
data_structure/set_managed_by_interval.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
data_structure/set_managed_by_interval.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
data_structure/set_managed_by_interval.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
#pragma once #include <cassert> #include <iostream> #include <iterator> #include <limits> #include <set> #include <tuple> #include <utility> template <typename T> struct SetManagedByInterval { using IntervalType = std::set<std::pair<T, T>>; IntervalType interval{ {std::numeric_limits<T>::lowest(),...
32.438462
92
0.549917
emthrm
bc432cc1d963bf3c64b4b54ba0a67bf1b82144d7
18,897
cpp
C++
src/simulation/dynamics/dualHingedRigidBodies/dualHingedRigidBodyStateEffector.cpp
ian-cooke/basilisk_mag
a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14
[ "0BSD" ]
null
null
null
src/simulation/dynamics/dualHingedRigidBodies/dualHingedRigidBodyStateEffector.cpp
ian-cooke/basilisk_mag
a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14
[ "0BSD" ]
1
2019-03-13T20:52:22.000Z
2019-03-13T20:52:22.000Z
src/simulation/dynamics/dualHingedRigidBodies/dualHingedRigidBodyStateEffector.cpp
ian-cooke/basilisk_mag
a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14
[ "0BSD" ]
null
null
null
/* ISC License Copyright (c) 2016, Autonomous Vehicle Systems Lab, University of Colorado at Boulder Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. ...
62.161184
389
0.702598
ian-cooke
bc43ddd9bd88a47b21799d3839ef60f62e13b2b3
4,262
cpp
C++
src/Lexer/LexerGenerator.cpp
AlexRoar/SxTree
7d37ed0ff5c5bdd3c497c070825ca4ebe10eab0e
[ "MIT" ]
null
null
null
src/Lexer/LexerGenerator.cpp
AlexRoar/SxTree
7d37ed0ff5c5bdd3c497c070825ca4ebe10eab0e
[ "MIT" ]
null
null
null
src/Lexer/LexerGenerator.cpp
AlexRoar/SxTree
7d37ed0ff5c5bdd3c497c070825ca4ebe10eab0e
[ "MIT" ]
null
null
null
/* * ================================================= * Copyright © 2021 * Aleksandr Dremov * * This code has been written by Aleksandr Dremov * Check license agreement of this project to evade * possible illegal use. * ================================================= */ #include "Lexer/LexerGenerator.h" #...
34.934426
116
0.601361
AlexRoar
a4bae2b46f729cf5e390dec87ea27ca6e79be0d4
462
cc
C++
src/base/Exception.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
2
2019-07-15T08:34:38.000Z
2019-08-07T12:27:23.000Z
src/base/Exception.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
null
null
null
src/base/Exception.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
null
null
null
/* * @Author: py.wang * @Date: 2019-05-04 09:08:42 * @Last Modified by: py.wang * @Last Modified time: 2019-06-06 18:26:02 */ #include "src/base/Exception.h" #include "src/base/CurrentThread.h" #include <iostream> #include <cxxabi.h> #include <execinfo.h> #include <stdlib.h> #include <stdio.h> namespace slack...
17.111111
44
0.67316
plantree
a4bb20896fd90541883eaa179780cb85402ae1ed
2,078
cpp
C++
dali/public-api/signals/signal-slot-connections.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
1
2016-08-05T09:58:38.000Z
2016-08-05T09:58:38.000Z
dali/public-api/signals/signal-slot-connections.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
dali/public-api/signals/signal-slot-connections.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * 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...
23.613636
147
0.751203
vcebollada
a4be20b3add2814e1866e728892150ded1e63d33
1,406
cpp
C++
BOJ_solve/8143.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/8143.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/8143.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 2e18; const long long ...
24.666667
72
0.555477
python-programmer1512
a4c0b3a4a0bd799c0bf2bcb12e8d575c70435f37
3,177
hpp
C++
compile_time_sha1.hpp
bb1950328/Compile-time-hash-functions
f0da28457eec122901c90849e544d488009de36a
[ "MIT" ]
26
2021-07-21T18:25:38.000Z
2021-07-29T18:25:06.000Z
compile_time_sha1.hpp
bb1950328/Compile-time-hash-functions
f0da28457eec122901c90849e544d488009de36a
[ "MIT" ]
2
2021-07-22T13:52:51.000Z
2021-07-28T08:21:47.000Z
compile_time_sha1.hpp
bb1950328/Compile-time-hash-functions
f0da28457eec122901c90849e544d488009de36a
[ "MIT" ]
1
2021-07-27T15:28:32.000Z
2021-07-27T15:28:32.000Z
#ifndef COMPILE_TIME_SHA1_H #define COMPILE_TIME_SHA1_H #include "crypto_hash.hpp" #define MASK 0xffffffff #define SHA1_HASH_SIZE 5 template<typename H=const char *> class SHA1 : public CryptoHash<SHA1_HASH_SIZE> { private: constexpr static uint32_t scheduled(CircularQueue<uint32_t,16> queue) { return ...
30.257143
117
0.585143
bb1950328
a4c81611a034d29574d4a0c23b6a8d8a3cc54020
80
cpp
C++
test/com/facebook/buck/cxx/testdata/prebuilt_cxx_from_genrule/core/binary.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
8,027
2015-01-02T05:31:44.000Z
2022-03-31T07:08:09.000Z
test/com/facebook/buck/cxx/testdata/prebuilt_cxx_from_genrule/core/binary.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
2,355
2015-01-01T15:30:53.000Z
2022-03-30T20:21:16.000Z
test/com/facebook/buck/cxx/testdata/prebuilt_cxx_from_genrule/core/binary.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
1,280
2015-01-09T03:29:04.000Z
2022-03-30T15:14:14.000Z
#include <stdio.h> extern int bar(); int main() { printf("%d\n", bar()); }
11.428571
26
0.5375
Unknoob
a4c94d3d806817f4a090267b313f86629a684465
685
cpp
C++
M1ProgramDesign-PYQ/2013/FormulaOne/Car.cpp
chowder/Imperial-PYQs
76edf454c5cd96a70a78698d61f3f3cf742d83ea
[ "MIT" ]
2
2020-03-06T20:16:52.000Z
2020-05-03T19:56:47.000Z
M1ProgramDesign-PYQ/2013/FormulaOne/Car.cpp
chowder/Imperial-PYQs
76edf454c5cd96a70a78698d61f3f3cf742d83ea
[ "MIT" ]
null
null
null
M1ProgramDesign-PYQ/2013/FormulaOne/Car.cpp
chowder/Imperial-PYQs
76edf454c5cd96a70a78698d61f3f3cf742d83ea
[ "MIT" ]
1
2020-01-29T09:57:16.000Z
2020-01-29T09:57:16.000Z
#include <iostream> #include "Car.h" #include "Engine.h" #include "Driver.h" using namespace std; Car::Car(string name, float chassisMass, Engine* engine, float* min_mass): name(name), chassisMass(chassisMass), engine(engine), min_mass(min_mass) {} float Car::getRacingMass() { if (!driver) { ...
24.464286
74
0.649635
chowder
a4ca45395f05e3ef2572bee0e71b5c1fae4f3446
21,929
cpp
C++
hplip-3.20.3/prnt/hpijs/ljzjs.cpp
Deril-Pana/wikiBlackcoinNL
9633307f0b485c27feae5da242944adf450e8963
[ "MIT" ]
null
null
null
hplip-3.20.3/prnt/hpijs/ljzjs.cpp
Deril-Pana/wikiBlackcoinNL
9633307f0b485c27feae5da242944adf450e8963
[ "MIT" ]
1
2021-11-20T16:33:39.000Z
2021-11-20T16:33:39.000Z
hplip-3.20.3/prnt/hpijs/ljzjs.cpp
Deril-Pana/wikiBlackcoinNL
9633307f0b485c27feae5da242944adf450e8963
[ "MIT" ]
null
null
null
/*****************************************************************************\ ljzjs.cpp : Implementation for the LJZjs class Copyright (c) 1996 - 2007, HP Co. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following con...
33.326748
119
0.568197
Deril-Pana
a4cb1a5d435016656fc91cf343305e09509455d6
178
cpp
C++
src/imgui_runner_demos/imgui_runner_demo_glfw.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/imgui_runner_demos/imgui_runner_demo_glfw.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/imgui_runner_demos/imgui_runner_demo_glfw.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include "imgui_utils/imgui_runner/runner_glfw.h" #include "example_gui.h" int main() { ImGui::ImGuiRunner::RunnerGlfw runner; runner.ShowGui = ExampleGui; runner.Run(); }
19.777778
49
0.741573
sacceus
a4d27e88f279061cc7a40d1d6ebd9b9c5eaf786f
1,352
cpp
C++
c++/solution393.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
c++/solution393.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
c++/solution393.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
#include "afx.h" using namespace std; class Solution { public: bool validUtf8(vector<int> &data) { /* state: 0: end of byte sequence; >0: in byte sequence, state = bytes remaining */ int state = 0; int result = true; for (auto &i : data) {...
19.882353
53
0.293639
imafish
a4d62c89fa73afb1f5bf984935a6c1d5b4af7106
216
cpp
C++
PhoneCall/Source.cpp
TanyaZheleva/OOP
f44c67e5df69a91a77d35668f0709954546f210d
[ "MIT" ]
null
null
null
PhoneCall/Source.cpp
TanyaZheleva/OOP
f44c67e5df69a91a77d35668f0709954546f210d
[ "MIT" ]
null
null
null
PhoneCall/Source.cpp
TanyaZheleva/OOP
f44c67e5df69a91a77d35668f0709954546f210d
[ "MIT" ]
null
null
null
#include <iostream> #include "PhoneCall.h" int main() { PhoneCall p; p.setLength(50); p.getPrice(); p.setNumber(9002121004); std::cout << p.getPrice() << "\n"; std::cout << p.getNumber() << "\n"; return 0; }
15.428571
36
0.611111
TanyaZheleva
a4d6b2036dc04896d24c0fc37c83ed1b3050c521
886
hpp
C++
kfr/include/kfr/dsp/state_holder.hpp
yekm/gate_recorder
e76fda4a6d67672c0c2d7802417116ac3c1a1896
[ "MIT" ]
null
null
null
kfr/include/kfr/dsp/state_holder.hpp
yekm/gate_recorder
e76fda4a6d67672c0c2d7802417116ac3c1a1896
[ "MIT" ]
1
2021-02-25T14:20:19.000Z
2021-02-25T14:24:03.000Z
kfr/include/kfr/dsp/state_holder.hpp
For-The-Birds/gate_recorder
e76fda4a6d67672c0c2d7802417116ac3c1a1896
[ "MIT" ]
null
null
null
/** @addtogroup fir * @{ */ /** * KFR (http://kfrlib.com) * Copyright (C) 2016 D Levin * See LICENSE.txt for details */ #pragma once #include "../cident.h" namespace kfr { inline namespace CMT_ARCH_NAME { namespace internal { template <typename T, bool stateless> struct state_holder { state_holder() ...
21.095238
69
0.64447
yekm
a4d78e42defc0e2e6777080f89c9d2bd19032f53
17,080
cpp
C++
Sources/Elastos/LibCore/src/elastos/io/CRandomAccessFile.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastos/io/CRandomAccessFile.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastos/io/CRandomAccessFile.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
25.228951
103
0.617213
jingcao80
a4de8c9b2755d2990eb30107d52f4125dabf7653
876
cc
C++
sdk/lib/fit/test/thread_checker_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
sdk/lib/fit/test/thread_checker_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
sdk/lib/fit/test/thread_checker_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/fit/thread_checker.h> #include <thread> #include <zxtest/zxtest.h> namespace { TEST(ThreadCheckerTest, SameThread) { fit::thread_checke...
23.052632
77
0.718037
allansrc
a4e4907df8f1e31eadadea20bc86b9db5e0c481d
2,880
cpp
C++
test/qupzilla-master/src/lib/webengine/webscrollbar.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/qupzilla-master/src/lib/webengine/webscrollbar.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/qupzilla-master/src/lib/webengine/webscrollbar.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
/* ============================================================ * QupZilla - Qt web browser * Copyright (C) 2016-2017 David Rosca <nowrep@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 Foundat...
30.638298
104
0.632986
JamesMBallard
a4e5652802e3e3b819aee3fee6a1d00aed609bb8
77,150
cpp
C++
mozilla/gfx/layers/Layers.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
5
2016-12-20T15:48:05.000Z
2020-05-01T20:12:09.000Z
mozilla/gfx/layers/Layers.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
null
null
null
mozilla/gfx/layers/Layers.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
2
2016-12-20T15:48:13.000Z
2019-12-10T15:15:05.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: sw=2 ts=8 et : */ /* 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/. */ #include "...
31.209547
139
0.675515
naver
a4e65fccd156afa3f1979ebcfb7e5032c5337d12
1,755
cc
C++
cmd/cmd_wall.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
cmd/cmd_wall.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
cmd/cmd_wall.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
#include <system.hh> #include <process.hh> #include <server.hh> #include <agent.hh> #include <wall.hh> namespace makemore { using namespace makemore; using namespace std; extern "C" void mainmore(Process *); void mainmore( Process *process ) { Session *session = process->session; Server *server = process->sys...
18.092784
64
0.589744
jdb19937
a4eecc261bca4120181f3044c4e7d60bf9a737cd
5,104
cpp
C++
src/main.cpp
tue-robotics/human_intention_prediction
e04f530f87cd06033d11f58f844cb7000a2a5bf5
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
tue-robotics/human_intention_prediction
e04f530f87cd06033d11f58f844cb7000a2a5bf5
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
tue-robotics/human_intention_prediction
e04f530f87cd06033d11f58f844cb7000a2a5bf5
[ "BSD-2-Clause" ]
null
null
null
#include <ros/ros.h> #include <ros/callback_queue.h> #include "geometry_msgs/TransformStamped.h" #include "geometry_msgs/Pose.h" #include <visualization_msgs/MarkerArray.h> #include "tf/transform_listener.h" #include <tf2/LinearMath/Quaternion.h> #include <hip_msgs/walls.h> #include <hip_msgs/wall.h> #include <hip_msg...
36.457143
199
0.586403
tue-robotics
a4f19349fe7dc82703e99a7e577de29c5ccc593e
352
hpp
C++
src/stan/math/rev/mat/fun/stan_print.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/math/rev/mat/fun/stan_print.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/math/rev/mat/fun/stan_print.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_REV_MAT_FUN_STAN_PRINT_HPP #define STAN_MATH_REV_MAT_FUN_STAN_PRINT_HPP #include <stan/math/rev/meta.hpp> #include <stan/math/rev/core.hpp> #include <ostream> namespace stan { namespace math { inline void stan_print(std::ostream* o, const var& x) { *o << x.val(); } } // namespace math...
22
73
0.710227
alashworth
a4f2c13fecd26e86d0e6b784ff7717469f188faa
195
cpp
C++
src/common/platform/string_windows.cpp
mpbarnwell/lightstep-tracer-cpp
4f8f110e7b69d1b8d24c9ea130cd560295e479b6
[ "MIT" ]
47
2016-05-23T10:39:50.000Z
2022-03-08T08:46:25.000Z
src/common/platform/string_windows.cpp
mpbarnwell/lightstep-tracer-cpp
4f8f110e7b69d1b8d24c9ea130cd560295e479b6
[ "MIT" ]
63
2016-07-26T00:02:09.000Z
2022-03-11T07:20:44.000Z
src/common/platform/string_windows.cpp
mpbarnwell/lightstep-tracer-cpp
4f8f110e7b69d1b8d24c9ea130cd560295e479b6
[ "MIT" ]
19
2016-09-21T17:59:03.000Z
2021-09-16T06:42:40.000Z
#include "common/platform/string.h" #include <string.h> namespace lightstep { int StrCaseCmp(const char* s1, const char* s2) noexcept { return ::_stricmp(s1, s2); } } // namespace lightstep
19.5
57
0.712821
mpbarnwell
a4f492123ab4389cb45af95571e0c276e03b262d
3,579
hh
C++
core/test/UtGunnsBasicNode.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
core/test/UtGunnsBasicNode.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
core/test/UtGunnsBasicNode.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
#ifndef UtGunnsBasicNode_EXISTS #define UtGunnsBasicNode_EXISTS //////////////////////////////////////////////////////////////////////////////////////////////////// /// @defgroup UT_GUNNS_BASIC_NODE Gunns Basic Node Unit Test /// @ingroup UT_GUNNS /// /// @copyright Copyright 2019 United States Government as repre...
39.766667
100
0.425258
nasa
a4ffbecd8a6b47e6681d075332d09fc43f2204b2
1,016
cpp
C++
001-050/027/c++/code.cpp
Shivam010/daily-coding-problem
679376a7b0f5f9bccdd261a1a660e951a1142174
[ "MIT" ]
9
2020-09-13T12:48:35.000Z
2022-03-02T06:25:06.000Z
001-050/027/c++/code.cpp
Shivam010/daily-coding-problem
679376a7b0f5f9bccdd261a1a660e951a1142174
[ "MIT" ]
9
2020-09-11T21:19:27.000Z
2020-09-14T20:18:02.000Z
001-050/027/c++/code.cpp
Shivam010/daily-coding-problem
679376a7b0f5f9bccdd261a1a660e951a1142174
[ "MIT" ]
1
2020-09-11T22:03:29.000Z
2020-09-11T22:03:29.000Z
// Copyright (c) 2020 Shivam Rathore. All rights reserved. // Use of this source code is governed by MIT License that // can be found in the LICENSE file. // This file contains Solution to Challenge #027, run using // g++ 001-050/027/c++/code.cpp -o bin/out // ./bin/out < 001-050/027/c++/in.txt > 001-050/027/c++/out.t...
22.577778
63
0.463583
Shivam010
35004e8b0f304cb3be7537d86b554dd6674a220e
6,436
cpp
C++
source/gcore/gtime.cpp
birderyu/CSystem
c7c9034b7eb660c0dcd17d51002f4d83080b88b4
[ "Apache-2.0" ]
2
2016-07-30T04:55:39.000Z
2016-08-02T08:18:46.000Z
source/gcore/gtime.cpp
birderyu/gsystem
c7c9034b7eb660c0dcd17d51002f4d83080b88b4
[ "Apache-2.0" ]
null
null
null
source/gcore/gtime.cpp
birderyu/gsystem
c7c9034b7eb660c0dcd17d51002f4d83080b88b4
[ "Apache-2.0" ]
null
null
null
#include "gtime.h" #include "gutility.h" #include "gdatetime.h" #include "gbytes.h" #include "gstring.h" #ifdef G_SYSTEM_WINDOWS # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif #include <windows.h> #include <time.h> #else // !G_SYSTEM_WINDOWS #endif // G_SYSTEM_WINDOWS #define G_TIME_OFFSET_HOUR ...
18.8739
79
0.71675
birderyu
3502aa9f31e55bbf70d08439c09590dd8a56d7e9
588
cpp
C++
Codeforces/Contests/Wunder_Fund_Round_2016(Div.1+Div.2combined)/PA.cpp
calee0219/CP
911ac3671881f6b80ca5a06b7d4f97a3ccc96e50
[ "MIT" ]
null
null
null
Codeforces/Contests/Wunder_Fund_Round_2016(Div.1+Div.2combined)/PA.cpp
calee0219/CP
911ac3671881f6b80ca5a06b7d4f97a3ccc96e50
[ "MIT" ]
null
null
null
Codeforces/Contests/Wunder_Fund_Round_2016(Div.1+Div.2combined)/PA.cpp
calee0219/CP
911ac3671881f6b80ca5a06b7d4f97a3ccc96e50
[ "MIT" ]
null
null
null
/************************************************************************* > File Name: PA.cpp > Author: Gavin Lee > Mail: sz110010@gmail.com > Created Time: 西元2016年01月30日 (週六) 00時45分08秒 ************************************************************************/ #include <bits/stdc++.h> using namespace std; int sv...
18.967742
74
0.340136
calee0219
3503ad6ded863d307e6a0c7b412333db0a909996
26,120
cc
C++
src/object/datatype/bytes.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
13
2021-06-24T17:50:20.000Z
2022-03-13T23:00:16.000Z
src/object/datatype/bytes.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
null
null
null
src/object/datatype/bytes.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
1
2022-03-31T22:58:42.000Z
2022-03-31T22:58:42.000Z
// This source file is part of the Argon project. // // Licensed under the Apache License v2.0 #include <memory/memory.h> #include <vm/runtime.h> #include "bool.h" #include "bounds.h" #include "error.h" #include "integer.h" #include "iterator.h" #include "hash_magic.h" #include "bytes.h" #define BUFFER_GET(bs) ...
27.728238
130
0.580283
ArgonLang
350513dd2d806fa3ce14db73d79f36710bdbc344
7,976
cpp
C++
Desktop/FOSSA-GroundStationControlPanel/FOSSAGSCP/3rdparty/FOSSACommsInterpreter/src/Message/FOSSASAT2/FOSSASAT2_Statistics.cpp
FOSSASystems/FOSSA-GroundStationControlPanel
af83a09619239abe9fca09e073ab41c68bfd4822
[ "MIT" ]
2
2021-11-07T16:26:46.000Z
2022-03-20T10:14:41.000Z
Desktop/FOSSA-GroundStationControlPanel/FOSSAGSCP/3rdparty/FOSSACommsInterpreter/src/Message/FOSSASAT2/FOSSASAT2_Statistics.cpp
FOSSASystems/FOSSA-GroundStationControlPanel
af83a09619239abe9fca09e073ab41c68bfd4822
[ "MIT" ]
18
2020-08-28T13:38:36.000Z
2020-09-30T11:08:42.000Z
Desktop/FOSSA-GroundStationControlPanel/FOSSAGSCP/3rdparty/FOSSACommsInterpreter/src/Message/FOSSASAT2/FOSSASAT2_Statistics.cpp
FOSSASystems/FOSSA-GroundStationControlPanel
af83a09619239abe9fca09e073ab41c68bfd4822
[ "MIT" ]
2
2020-07-29T21:19:28.000Z
2021-08-16T03:58:14.000Z
// MIT LICENSE // // Copyright (c) 2020 FOSSA Systems // // 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, modif...
30.676923
84
0.572342
FOSSASystems
35062bf4f84f1a2eee4898af77ad9d1364a24cca
808
cpp
C++
CD6/The K Weakest Rows in a Matrix.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
CD6/The K Weakest Rows in a Matrix.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
CD6/The K Weakest Rows in a Matrix.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/ class Solution { public: vector<int> kWeakestRows(vector<vector<int>>& mat, int k) { vector<int> res; multimap<int, int> soldierRow; // {soldier, row} int M = mat.size(); int N = mat[0].size()...
33.666667
85
0.423267
shtanriverdi
3509e4223ac907ba34c262a651bf33350adfac20
3,167
cpp
C++
Xilinx_Reference_Platforms/zcu102_pl_ddr_stream/samples/pl_to_ps/host.cpp
streamblocks/Vitis_Embedded_Platform_Source
4f99d486681fd175b970a73f1d577ef0cdc7c688
[ "Apache-2.0" ]
5
2020-11-18T11:02:33.000Z
2021-07-29T06:26:51.000Z
Xilinx_Reference_Platforms/zcu102_pl_ddr_stream/samples/pl_to_ps/host.cpp
xiekailiang/Vitis_Embedded_Platform_Source
4f99d486681fd175b970a73f1d577ef0cdc7c688
[ "Apache-2.0" ]
null
null
null
Xilinx_Reference_Platforms/zcu102_pl_ddr_stream/samples/pl_to_ps/host.cpp
xiekailiang/Vitis_Embedded_Platform_Source
4f99d486681fd175b970a73f1d577ef0cdc7c688
[ "Apache-2.0" ]
1
2021-05-05T12:25:41.000Z
2021-05-05T12:25:41.000Z
/* * Copyright 2019 Xilinx, 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 ...
32.989583
82
0.503631
streamblocks
350a46e5e7cfc9bef25eda4f7dc0cbc960c30320
6,210
hpp
C++
sprout/darkroom/renderers/whitted_style.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
1
2018-09-21T23:50:44.000Z
2018-09-21T23:50:44.000Z
sprout/darkroom/renderers/whitted_style.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/darkroom/renderers/whitted_style.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_DARKROOM_RENDERERS_WHITTED_STYLE_HPP #define SPROUT_DARKROOM_RENDERERS_WHITTED_STYLE_HPP #include <cstddef> #include <limits> #include <type_traits> #include <sprout/config.hpp> #include <sprout/tuple/functions.hpp> #include <sprout/darkroom/access/access.hpp> #include <sprout/darkroom/colors/r...
26.092437
106
0.597101
jwakely
350dd3935eb89bd0718345919593ae59d7f97d31
856
cpp
C++
nodes/BlackAndWhiteNode.cpp
zhyvchyky/filters
7158aa8a05fb004cdea63fdbd7d31111a1f4c796
[ "MIT" ]
null
null
null
nodes/BlackAndWhiteNode.cpp
zhyvchyky/filters
7158aa8a05fb004cdea63fdbd7d31111a1f4c796
[ "MIT" ]
2
2020-11-26T21:08:23.000Z
2020-12-03T15:22:09.000Z
nodes/BlackAndWhiteNode.cpp
zhyvchyky/filters
7158aa8a05fb004cdea63fdbd7d31111a1f4c796
[ "MIT" ]
null
null
null
// // Created by makstar on 01.12.2020. // #include "BlackAndWhiteNode.h" void BlackAndWhiteNode::process() { this->outputPtr = applyTransform(this->inputs[0]->getOutputPtr()); } std::shared_ptr<Image> BlackAndWhiteNode::applyTransform(const std::shared_ptr<Image>& img) { int width = img->getWidth(); i...
25.176471
93
0.616822
zhyvchyky
350e25163ccba22d6848044a577366933e4aa0ac
11,962
cpp
C++
Analysis/Separator/SeparatorCmp.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
125
2015-01-22T05:43:23.000Z
2022-03-22T17:15:59.000Z
Analysis/Separator/SeparatorCmp.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
59
2015-02-10T09:13:06.000Z
2021-11-11T02:32:38.000Z
Analysis/Separator/SeparatorCmp.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
98
2015-01-17T01:25:10.000Z
2022-03-18T17:29:42.000Z
/* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */ #include <string> #include <vector> #include "OptArgs.h" #include "Mask.h" #include "NumericalComparison.h" #include "Utils.h" #include "IonH5File.h" #include "IonH5Arma.h" using namespace std; using namespace arma; /** * Options about the two be...
41.391003
189
0.65265
konradotto
350e96dc5fbc370274c3005bb8d70ee22c033f4a
1,317
cpp
C++
Projects/CoX/Common/AuthProtocol/Events/ServerListResponse.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Common/AuthProtocol/Events/ServerListResponse.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Common/AuthProtocol/Events/ServerListResponse.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
#include "ServerListResponse.h" #ifdef _MSC_VER #include <ciso646> #endif void ServerListResponse::serializeto( GrowingBuffer &buf ) const { assert(not m_serv_list.empty()); buf.uPut((uint8_t)4); buf.uPut((uint8_t)m_serv_list.size()); buf.uPut((uint8_t)1); //preferred server number for(const GameSe...
28.021277
76
0.63022
teronis84
3510a2eabe92b719c86ea523f2c6683f3aae2a66
1,118
cpp
C++
alignment/distance/levenshtein.cpp
TianyiShi2001/bio-algorithms-cpp-edu
8f1ea4de0a2ed302f8bb1416d8c3afc9492cfdbb
[ "Apache-2.0" ]
null
null
null
alignment/distance/levenshtein.cpp
TianyiShi2001/bio-algorithms-cpp-edu
8f1ea4de0a2ed302f8bb1416d8c3afc9492cfdbb
[ "Apache-2.0" ]
null
null
null
alignment/distance/levenshtein.cpp
TianyiShi2001/bio-algorithms-cpp-edu
8f1ea4de0a2ed302f8bb1416d8c3afc9492cfdbb
[ "Apache-2.0" ]
null
null
null
/* Levenshtein distance # Examples $ ./levenshtein ABCDEFG ACEG Levenshtein Distance: 3 $ ./levenshtein ABCDEFG AZCPEGM Levenshtein Distance: 4 */ #include<iostream> #include<vector> #include<algorithm> using namespace std; size_t levenshtein(const string& x, const string...
18.633333
80
0.457066
TianyiShi2001
351588f0ee7e13e664928b9cf2fc4949825c4512
17,987
cc
C++
ana/TTrackSeedAnaModule.cc
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
null
null
null
ana/TTrackSeedAnaModule.cc
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
null
null
null
ana/TTrackSeedAnaModule.cc
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
6
2019-11-21T15:27:27.000Z
2022-02-28T20:57:13.000Z
////////////////////////////////////////////////////////////////////////////// // use of tmp: // // Tmp(0) : nax seg // Tmp(1) : nst seg // // use of debug bits: bits 0-2 are reserved // 0 : all events // 1 : passed events // 2 : rejected events // // 3 : events with N(track seeds) = 0 ///////////////////////...
40.329596
123
0.503364
macndev
351cab46d129ddc96f83eb09c2af0bf60c0e6794
2,671
hpp
C++
src/common/backtrace/backtrace.hpp
acezen/libvineyard
eda51c5d858c7d0456aa871610355556ed0f4835
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/common/backtrace/backtrace.hpp
acezen/libvineyard
eda51c5d858c7d0456aa871610355556ed0f4835
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/common/backtrace/backtrace.hpp
acezen/libvineyard
eda51c5d858c7d0456aa871610355556ed0f4835
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
/** Copyright 2020 Alibaba Group Holding 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
29.677778
80
0.643205
acezen
3524ea825467f5174db113c933daa1dfe9c0ffb3
15,546
cc
C++
src/database-server/data-source/sqlitewrapper.cc
denisacostaq/DAQs
9c767562e91dc8532272492ef5bff6dcf9f7e7d4
[ "MIT" ]
2
2019-07-15T02:10:17.000Z
2019-07-23T14:27:20.000Z
src/database-server/data-source/sqlitewrapper.cc
denisacostaq/DAQs
9c767562e91dc8532272492ef5bff6dcf9f7e7d4
[ "MIT" ]
42
2019-06-21T13:26:27.000Z
2020-03-27T02:02:55.000Z
src/database-server/data-source/sqlitewrapper.cc
denisacostaq/DAQs
9c767562e91dc8532272492ef5bff6dcf9f7e7d4
[ "MIT" ]
null
null
null
/*! \brief This file have the implementation for SQLiteWrapper class. \file sqlitewrapper.cc \author Alvaro Denis <denisacostaq@gmail.com> \date 6/19/2019 \copyright \attention <h1><center><strong>COPYRIGHT &copy; 2019 </strong> [<strong>denisacostaq</strong>][denisacostaq-URL]. All rights ...
39.96401
95
0.538209
denisacostaq
352eb217fc7fec112baba5f6eaa82a3af6913fc4
17,529
cpp
C++
VTK_Operation.cpp
jhpark16/PHT3D-Viewer-3D
2f62d95364b664f3cc50af2d77f280c2fb62b543
[ "MIT" ]
null
null
null
VTK_Operation.cpp
jhpark16/PHT3D-Viewer-3D
2f62d95364b664f3cc50af2d77f280c2fb62b543
[ "MIT" ]
null
null
null
VTK_Operation.cpp
jhpark16/PHT3D-Viewer-3D
2f62d95364b664f3cc50af2d77f280c2fb62b543
[ "MIT" ]
null
null
null
// VTK_Operation.cpp : implmentation of VTK operations to visualize a 3D model // // Author: Jungho Park (jhpark16@gmail.com) // Date: May 2015 // Description: // ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "resource.h" VTK_Operation::VTK_Operation(HWND ...
33.011299
127
0.641223
jhpark16
352ee369a17dd68ee11d4caa98cd63e6c8139c18
128
hpp
C++
libraries/hayai/src/hayai-fixture.hpp
nuernber/Theia
4bac771b09458a46c44619afa89498a13cd39999
[ "BSD-3-Clause" ]
1
2021-02-02T13:30:52.000Z
2021-02-02T13:30:52.000Z
libraries/hayai/src/hayai-fixture.hpp
nuernber/Theia
4bac771b09458a46c44619afa89498a13cd39999
[ "BSD-3-Clause" ]
null
null
null
libraries/hayai/src/hayai-fixture.hpp
nuernber/Theia
4bac771b09458a46c44619afa89498a13cd39999
[ "BSD-3-Clause" ]
1
2020-09-28T08:43:13.000Z
2020-09-28T08:43:13.000Z
#include "hayai-test.hpp" #ifndef __HAYAI_FIXTURE #define __HAYAI_FIXTURE namespace Hayai { typedef Test Fixture; } #endif
12.8
25
0.765625
nuernber
3530a42f19105f68de15729c843f332ac5da3526
1,361
cpp
C++
1052/Seminar3/Seminar3/Source.cpp
catalinboja/cpp_2018
e4525fa48bc4a42ce84e4b9320c90761dde2ba93
[ "Apache-2.0" ]
null
null
null
1052/Seminar3/Seminar3/Source.cpp
catalinboja/cpp_2018
e4525fa48bc4a42ce84e4b9320c90761dde2ba93
[ "Apache-2.0" ]
null
null
null
1052/Seminar3/Seminar3/Source.cpp
catalinboja/cpp_2018
e4525fa48bc4a42ce84e4b9320c90761dde2ba93
[ "Apache-2.0" ]
2
2018-11-21T16:43:45.000Z
2019-06-30T08:44:11.000Z
#include <iostream> using namespace std; void printArray(int* array, int n, const char* message); //a function that inits an array void initArray(int* array, int n, int value) { for (int i = 0; i < n; i++) { array[i] = value; } } //IT'S WRONG //DON'T USE IT int resizeArray(int* array, int n) { int newSize; cou...
18.391892
57
0.58266
catalinboja
35316c5c53df9191da565bef5f333ee9e71b0e3f
1,070
cpp
C++
POO 2 - Survival Game/Map.cpp
xaddee/Survival-Game
633beb24f93e313a0764521625c1d45d64875ba9
[ "MIT" ]
1
2018-12-13T19:31:29.000Z
2018-12-13T19:31:29.000Z
POO 2 - Survival Game/Map.cpp
xaddee/Survival-Game
633beb24f93e313a0764521625c1d45d64875ba9
[ "MIT" ]
null
null
null
POO 2 - Survival Game/Map.cpp
xaddee/Survival-Game
633beb24f93e313a0764521625c1d45d64875ba9
[ "MIT" ]
null
null
null
#include "Map.h" Map::Map() { _size = 0; } Map::~Map() { for (int i = 0; i < _size; i++) { delete[] _map_matrix[i]; } delete[] _map_matrix; } void Map::resize(int size) { _size = size; _map_matrix = new char*[size]; for (int i = 0; i < size; i++) { _map_matrix[i] = new char[size]; for (int j = 0; ...
15.507246
90
0.55514
xaddee
35321a538499b25e6b808f7ffead51b6339a414c
450
hpp
C++
Util/timer.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
Util/timer.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
Util/timer.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
#pragma once #include <chrono> /** * @brief Timer (実行時間計測) */ class Timer { std::chrono::system_clock::time_point m_start; public: Timer() = default; inline void start() { m_start = std::chrono::system_clock::now(); } inline uint64_t elapsedMilli() const { using namespace std::...
19.565217
66
0.617778
arumakan1727
35326c829dc6ab9ccfadeb519a0ecc1242f9474d
446
cpp
C++
1301/1301A Three Strings/1301A Three Strings.cpp
Poohdxx/codeforces
e0d95eba325d5e720e5589798c7c06894de882f4
[ "MIT" ]
null
null
null
1301/1301A Three Strings/1301A Three Strings.cpp
Poohdxx/codeforces
e0d95eba325d5e720e5589798c7c06894de882f4
[ "MIT" ]
null
null
null
1301/1301A Three Strings/1301A Three Strings.cpp
Poohdxx/codeforces
e0d95eba325d5e720e5589798c7c06894de882f4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { ios_base::sync_with_stdio(false); int t; cin >> t; for (int i = 0; i < t; i++) { string a, b, c; cin >> a >> b >> c; int n = a.size(); bool pass = true; for (int j = 0; j < n; j++) { if (c[j] != a[j] && c[j] != b[j]) { pass =...
14.387097
38
0.466368
Poohdxx