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
46c76b6eedfed9174c71e25aa43e4f37fef0fa21
11,955
cpp
C++
src/sources/BuiltinSubroutines.cpp
pointbazaar/dracovm-compiler
47eaf0bd049b205cc17fefcb7448a088b55d7d83
[ "MIT" ]
5
2019-11-30T23:42:03.000Z
2020-08-12T07:47:00.000Z
src/sources/BuiltinSubroutines.cpp
pointbazaar/dracovm-compiler
47eaf0bd049b205cc17fefcb7448a088b55d7d83
[ "MIT" ]
4
2019-10-17T22:18:46.000Z
2020-01-02T18:32:19.000Z
src/sources/BuiltinSubroutines.cpp
pointbazaar/dracovm-compiler
47eaf0bd049b205cc17fefcb7448a088b55d7d83
[ "MIT" ]
null
null
null
#include <map> #include <iostream> #include <vector> #include <numeric> #include <iterator> #include <sstream> #include "BuiltinSubroutines.hpp" #include "AssemblyCodeGen.hpp" #include "VMInstr.hpp" using namespace std; //https://www.informatik.htw-dresden.de/~beck/ASM/syscall_list.html //eax values (syscall num...
24.90625
102
0.630197
pointbazaar
46ca869966228d4e917463de197101f169fc9f20
1,021
cpp
C++
src/hobbits-plugins/displays/Hex/hexform.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
304
2020-02-07T21:05:22.000Z
2022-03-24T05:30:37.000Z
src/hobbits-plugins/displays/Hex/hexform.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
135
2020-02-11T22:52:47.000Z
2022-03-17T11:42:17.000Z
src/hobbits-plugins/displays/Hex/hexform.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
30
2020-03-11T14:36:43.000Z
2022-03-07T04:45:17.000Z
#include "hexform.h" #include "ui_hexform.h" HexForm::HexForm(QSharedPointer<ParameterDelegate> delegate): ui(new Ui::HexForm()), m_paramHelper(new ParameterHelper(delegate)) { ui->setupUi(this); connect(ui->sb_columnGrouping, SIGNAL(valueChanged(int)), this, SIGNAL(changed())); connect(ui->hs_fon...
26.868421
87
0.737512
SabheeR
46cc906b6f4a8c15c2c5fe5d3f2b15c3941dfee5
2,076
cc
C++
chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/services/gcm/push_messaging_infobar_delegate.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.000Z
// Copyright 2014 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/browser/services/gcm/push_messaging_infobar_delegate.h" #include "chrome/grit/generated_resources.h" #include "components/infobars/core/...
35.186441
75
0.759152
Fusion-Rom
46cfdade48ef91f8149033f6657c4de6a9a31d48
1,244
cpp
C++
tests/unittests/HttpsExceptionUnitTest.cpp
commshare/easyhttpcpp
757ec75679c1cbc5f04c81a30133f4bcd3e780f4
[ "MIT" ]
147
2017-10-05T01:42:02.000Z
2022-01-21T08:15:05.000Z
tests/unittests/HttpsExceptionUnitTest.cpp
commshare/easyhttpcpp
757ec75679c1cbc5f04c81a30133f4bcd3e780f4
[ "MIT" ]
20
2018-05-17T01:55:16.000Z
2021-04-20T07:27:00.000Z
tests/unittests/HttpsExceptionUnitTest.cpp
commshare/easyhttpcpp
757ec75679c1cbc5f04c81a30133f4bcd3e780f4
[ "MIT" ]
32
2018-05-05T13:04:34.000Z
2022-03-25T16:57:11.000Z
/* * Copyright 2017 Sony Corporation */ #include "gtest/gtest.h" #include "easyhttpcpp/HttpException.h" #include "ExceptionTestUtil.h" namespace easyhttpcpp { namespace test { using easyhttpcpp::common::CoreException; static const unsigned int HttpIllegalArgumentExceptedtedCode = 100700; static const unsigned in...
41.466667
127
0.860129
commshare
46d738e7861d6eed620f1a291614ade62be7213d
1,178
hpp
C++
routing/routing_quality/routing_quality_tool/error_type_counter.hpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
routing/routing_quality/routing_quality_tool/error_type_counter.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
routing/routing_quality/routing_quality_tool/error_type_counter.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #include "routing/routing_quality/api/api.hpp" #include "routing/routing_callbacks.hpp" #include <cstddef> #include <map> #include <string> namespace routing_quality::routing_quality_tool { class ErrorTypeCounter { public: void PushError(routing::RouterResultCode code); void PushError(api::ResultCo...
34.647059
98
0.652801
kudlav
46daa6f4bf5fd5e1023e5c1d69bdba58845a9ddb
5,750
cpp
C++
src/config_parser.cpp
corvette-berkeley/precimonious
5ac56e145379bc059d686af10c62c3750224edd3
[ "BSD-3-Clause" ]
22
2015-08-13T12:57:50.000Z
2021-12-29T13:02:07.000Z
src/config_parser.cpp
huiguoo/precimonious
5bc4c7fb522859cddb58743c9a14fab69b3ed8f6
[ "BSD-3-Clause" ]
2
2018-05-19T15:09:24.000Z
2021-11-23T00:54:21.000Z
src/config_parser.cpp
huiguoo/precimonious
5bc4c7fb522859cddb58743c9a14fab69b3ed8f6
[ "BSD-3-Clause" ]
13
2015-10-16T11:06:37.000Z
2022-03-28T07:54:26.000Z
#include "config_parser.hpp" #include "vjson/json.h" #include "vjson/block_allocator.h" #include <llvm/Support/CommandLine.h> #include <llvm/Support/raw_ostream.h> #include <map> #include <utility> #include <string.h> #include <stdio.h> #include <stdlib.h> using namespace std; using namespace llvm; void parse_array(c...
27.644231
87
0.623478
corvette-berkeley
46dcce3972d5abc524f646628c2e30b8ae1f1452
4,302
cpp
C++
TicTacToe/src/UI/BoardDisplay.cpp
mitos-drg/VoiceTicTacToe
8d0a26d00f6185c5743a00373c6a50d7322b8db1
[ "BSD-2-Clause" ]
null
null
null
TicTacToe/src/UI/BoardDisplay.cpp
mitos-drg/VoiceTicTacToe
8d0a26d00f6185c5743a00373c6a50d7322b8db1
[ "BSD-2-Clause" ]
null
null
null
TicTacToe/src/UI/BoardDisplay.cpp
mitos-drg/VoiceTicTacToe
8d0a26d00f6185c5743a00373c6a50d7322b8db1
[ "BSD-2-Clause" ]
null
null
null
#include "BoardDisplay.h" #include <SFML/Graphics/RenderWindow.hpp> #include "Application/GameStack.h" #include "Application/GlobalResources.h" BoardDisplay::BoardDisplay(int posx, int posy, int sizex, int sizey, TTTBoard* board) : m_positions(), m_rect(posx, posy, sizex, sizey), m_board(board) { m_boardColor = { ...
33.348837
101
0.658298
mitos-drg
46de28fe832564296f08b7b82df4191ebf12496f
282
cpp
C++
epikjjh/baekjoon/2133.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
3
2019-05-19T13:44:39.000Z
2019-07-03T11:15:20.000Z
epikjjh/baekjoon/2133.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
7
2019-05-06T02:37:26.000Z
2019-06-29T07:28:02.000Z
epikjjh/baekjoon/2133.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
1
2019-07-28T06:24:54.000Z
2019-07-28T06:24:54.000Z
#include <bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(0),cin.tie(0); int n; cin >> n; vector<int> dp(n+1); dp[0] = 1; for(int i=2;i<=n;i+=2){ dp[i] = dp[i-2]*3; for(int j=4;j<=i;j+=2) dp[i] += dp[i-j]*2; } cout << dp[n] << endl; return 0; }
15.666667
44
0.528369
15ers
46e10895fdf12679cd4fdda7311083690c5fb36a
117
cxx
C++
TestPrograms/test_x86_avx2.cxx
bobsayshilol/cryptopp
fc1e98e70d425bc8fd3780c237a43f2facfc1460
[ "BSL-1.0" ]
null
null
null
TestPrograms/test_x86_avx2.cxx
bobsayshilol/cryptopp
fc1e98e70d425bc8fd3780c237a43f2facfc1460
[ "BSL-1.0" ]
null
null
null
TestPrograms/test_x86_avx2.cxx
bobsayshilol/cryptopp
fc1e98e70d425bc8fd3780c237a43f2facfc1460
[ "BSL-1.0" ]
null
null
null
#include <immintrin.h> int main(int argc, char* argv[]) { __m256i x; x=_mm256_add_epi64 (x,x); return 0; }
14.625
33
0.623932
bobsayshilol
46e459aa69d1cf5f1c374dec3b7d13fe22bedf93
634
cpp
C++
src/AudioLevelAnnotationView.cpp
newdigate/teensy-audio-display-components
f10280027017cb2a00eb52b69e6e3be8165e678c
[ "MIT" ]
3
2021-02-02T17:33:52.000Z
2022-02-13T10:46:54.000Z
src/AudioLevelAnnotationView.cpp
newdigate/teensy-audio-display-components
f10280027017cb2a00eb52b69e6e3be8165e678c
[ "MIT" ]
null
null
null
src/AudioLevelAnnotationView.cpp
newdigate/teensy-audio-display-components
f10280027017cb2a00eb52b69e6e3be8165e678c
[ "MIT" ]
1
2021-02-02T17:33:54.000Z
2021-02-02T17:33:54.000Z
#include "AudioLevelAnnotationView.h" void AudioLevelAnnotationView::draw() { _tft->drawFastHLine(_xOffset, _yOffset, _width, _color); _tft->drawFastHLine(_xOffset, _yOffset+(_height/8), _width, _color); _tft->drawFastHLine(_xOffset, _yOffset+(_height/4), _width, _color); _tft->drawFastHLine(_xOffset, ...
45.285714
76
0.708202
newdigate
46e6edb09461b8c4ea51fe5d7a8d8e7edc28407f
17,020
cpp
C++
src/syntax_eval.cpp
codefionn/functional-lang
71de89f03efcca712e8ddb460e59b72e5da1f7fa
[ "Zlib" ]
null
null
null
src/syntax_eval.cpp
codefionn/functional-lang
71de89f03efcca712e8ddb460e59b72e5da1f7fa
[ "Zlib" ]
1
2019-03-09T13:59:55.000Z
2019-03-10T11:34:45.000Z
src/syntax_eval.cpp
codefionn/functional-lang
71de89f03efcca712e8ddb460e59b72e5da1f7fa
[ "Zlib" ]
null
null
null
#include "func/syntax.hpp" // interpreter stuff static std::string boolToAtom(bool b) { return b ? "true" : "false"; } const Expr *assignAtomExpressions(GCMain &gc, Environment &env, const Expr *thisExpr, const Expr *lhs, const Expr *rhs) { // Atom constructor (pattern matching) // Evaluate rhs and check ...
35.311203
124
0.632197
codefionn
46ea1e10e03fac29295ff9a71db16c8bf0e91e51
3,001
cpp
C++
tests/test_barriers.cpp
648trindade/adaptive
3cf234ae66167df6ce2b068c4b92765fe47ba148
[ "MIT" ]
1
2020-05-06T20:22:58.000Z
2020-05-06T20:22:58.000Z
tests/test_barriers.cpp
648trindade/adaptive
3cf234ae66167df6ce2b068c4b92765fe47ba148
[ "MIT" ]
5
2020-04-20T02:06:09.000Z
2020-05-12T00:26:38.000Z
tests/test_barriers.cpp
648trindade/adaptive
3cf234ae66167df6ce2b068c4b92765fe47ba148
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #define CATCH_CONFIG_CONSOLE_WIDTH 120 #include "../adaptive/adaptive.hpp" #include "Catch2/catch.hpp" #include <chrono> #include <thread> using namespace adapt; void barrier_loop(AtomicBarrier &barrier, size_t iters) { ...
36.156627
112
0.691103
648trindade
46ee746c5cb8e0a91ea5284fcd798ea21e085964
2,734
cpp
C++
bin/libs/systemc-2.3.1/examples/sysc/risc_cpu/paging.cpp
buaawj/Research
23bf0d0df67f80b7a860f9d2dc3f30b60554c26d
[ "OML" ]
9
2019-07-15T10:05:29.000Z
2022-03-14T12:55:19.000Z
bin/libs/systemc-2.3.1/examples/sysc/risc_cpu/paging.cpp
buaawj/Research
23bf0d0df67f80b7a860f9d2dc3f30b60554c26d
[ "OML" ]
2
2019-11-30T23:27:47.000Z
2021-11-02T12:01:05.000Z
systemc-2.3.1/examples/sysc/risc_cpu/paging.cpp
tianzhuqiao/bsmedit
3e443ed6db7b44b3b0da0e4bc024b65dcfe8e7a4
[ "MIT" ]
null
null
null
/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2014 by all Contributors. All Rights reserved. The contents of this file are subject to the restrictions and limitations set f...
31.068182
79
0.539503
buaawj
46f4781e1791baf5cf26239d869faafd3071463f
2,773
cpp
C++
BusBar-Qt/net/tcp/server/tcpserver.cpp
ChinaClever/BusBar
5205ece3396aea3d3cfbdf7107cee73c30a4d47c
[ "Apache-2.0" ]
null
null
null
BusBar-Qt/net/tcp/server/tcpserver.cpp
ChinaClever/BusBar
5205ece3396aea3d3cfbdf7107cee73c30a4d47c
[ "Apache-2.0" ]
null
null
null
BusBar-Qt/net/tcp/server/tcpserver.cpp
ChinaClever/BusBar
5205ece3396aea3d3cfbdf7107cee73c30a4d47c
[ "Apache-2.0" ]
null
null
null
#include "tcpserver.h" #define ANDROID_TCP_PORT 11283 // 案桌TCP端口号 TcpServer::TcpServer(QObject *parent) : QObject(parent) { m_tcpServer = new QTcpServer(); //设置最大允许连接数,不设置的话默认为30 m_tcpServer->setMaxPendingConnections(2000); connect(m_tcpServer,SIGNAL(newConnection()),this,SLOT(newConnectSlot())); } ...
24.324561
102
0.633249
ChinaClever
46f870a5ccfe3c9e560ab0b5a011273393cd1b42
492
cpp
C++
Camp_1-2563/Problems/Anyway.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2563/Problems/Anyway.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2563/Problems/Anyway.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define endl '\n' int dp[1010][1010]; int main (){ ios::sync_with_stdio(0); cin.tie(0); int x, y, k; cin >> x >> y >> k; while(k--){ int a, b; cin >> a >> b; dp[a+1][b+1] = -1; } x++, y++; dp[1][0] = 1; for(int i=1; i<=x; ++i){ for(int j=1; j<=y; ++j){ ...
14.057143
39
0.434959
MasterIceZ
46f8fbab5debad8fa10da294d08eb9fe2e0b7413
366
cpp
C++
CodeChef/Easy/MARCHA2.cpp
nsudhanva/Competetive
d9e93fdeefaa4e422a2101db41a7ab0a5676e9da
[ "Unlicense" ]
null
null
null
CodeChef/Easy/MARCHA2.cpp
nsudhanva/Competetive
d9e93fdeefaa4e422a2101db41a7ab0a5676e9da
[ "Unlicense" ]
null
null
null
CodeChef/Easy/MARCHA2.cpp
nsudhanva/Competetive
d9e93fdeefaa4e422a2101db41a7ab0a5676e9da
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while(t--){ long k; cin >> k; int flag = 0; int b = 1; long a; for (int i = 0; i < k; ++i) { cin >> a; if(a <= b){ flag++; b = (b - a) * 2; } } if(b == 0 && flag == k){ cout << "Yes" << endl; } ...
9.384615
29
0.387978
nsudhanva
46fc372a48840546fae2a5dc74795e817650969f
238
cpp
C++
In-Class Excercise/170319/Program 3/Program-3.cpp
skyclasher/Teknik-Pengaturcaraan-2
4895824d8c1a70654c312fd793c860cb8f05f12c
[ "Apache-2.0" ]
null
null
null
In-Class Excercise/170319/Program 3/Program-3.cpp
skyclasher/Teknik-Pengaturcaraan-2
4895824d8c1a70654c312fd793c860cb8f05f12c
[ "Apache-2.0" ]
null
null
null
In-Class Excercise/170319/Program 3/Program-3.cpp
skyclasher/Teknik-Pengaturcaraan-2
4895824d8c1a70654c312fd793c860cb8f05f12c
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int numbers[] = { 10,20,30,40,50 }; int *valnumbers = numbers; for(int i = 0; i < 5; i++){ cout << "Element-" << i << " : " << *(valnumbers+i) << endl; } return 0; }
14
63
0.521008
skyclasher
46fc92fd56f9898ada602873d273e0825eef3f4e
4,147
cpp
C++
src/add-ons/translators/psd/PSDTranslator.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/translators/psd/PSDTranslator.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/translators/psd/PSDTranslator.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2013, Gerasim Troeglazov, 3dEyes@gmail.com. All rights reserved. * Distributed under the terms of the MIT License. */ #include "PSDTranslator.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <Catalog.h> #include "ConfigView.h" #include "PSDLoader.h" #include "PSDWriter.h" #...
21.158163
77
0.751145
Kirishikesan
2002db07866b5602c33bc55e45fc9687c838a743
4,975
cpp
C++
distributed-implementation/source/tree/Merger.cpp
AleksanderGondek/GUT_Manycore_Architectures_MCTS
43607dff9cee76f9a686c56e481ce1a70ad831b7
[ "Apache-2.0" ]
2
2016-12-29T22:58:49.000Z
2018-09-17T17:15:06.000Z
distributed-implementation/source/tree/Merger.cpp
AleksanderGondek/GUT_Manycore_Architectures_MCTS
43607dff9cee76f9a686c56e481ce1a70ad831b7
[ "Apache-2.0" ]
null
null
null
distributed-implementation/source/tree/Merger.cpp
AleksanderGondek/GUT_Manycore_Architectures_MCTS
43607dff9cee76f9a686c56e481ce1a70ad831b7
[ "Apache-2.0" ]
null
null
null
// // Created by agondek on 12/12/15. // #include "Merger.h" namespace Mcts { namespace Tree { namespace Merger { void IncorporateRemoteNodeToLocal(Mcts::Tree::Node* local, Mcts::Tree::Node* remote) { local->adjustWins(remote->getWins()); ...
45.227273
100
0.422312
AleksanderGondek
2002de30a313f7d7db009663b8c1816227167e62
7,594
cpp
C++
Src/oDLNode.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-08-09T23:44:54.000Z
2018-08-09T23:44:54.000Z
Src/oDLNode.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
2
2015-01-20T03:51:53.000Z
2020-03-27T04:45:38.000Z
Src/oDLNode.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-09-13T05:07:08.000Z
2018-09-13T05:07:08.000Z
/* * omnis.xcomp.widget * =================== * * oDLNode.cpp * Implementation of our datalist node object * * Bastiaan Olij */ #include "oDLNode.h" oDLNode::oDLNode(void) { mTouched = true; mExpanded = true; mLineNo = 0; mValue = QTEXT(""); mDescription = QTEXT(""); mTop = 0; mBottom = ...
22.204678
144
0.628523
BastiaanOlij
200785b3c06f7560ce9fe52f56e1ee08a28ef401
52
cpp
C++
Xlet.Wallet/lib/Xlet.Crypto.Base/src/ICrypto.cpp
MattPearce/xlet
e0f64f231e627d0cc52f3c032e66f59a63b2942f
[ "MIT" ]
3
2020-11-29T03:14:36.000Z
2021-04-14T16:45:46.000Z
Xlet.Wallet/lib/Xlet.Crypto.Base/src/ICrypto.cpp
MattPearce/xlet
e0f64f231e627d0cc52f3c032e66f59a63b2942f
[ "MIT" ]
2
2020-06-18T18:45:00.000Z
2020-06-26T08:04:43.000Z
Xlet.Wallet/lib/Xlet.Crypto.Base/src/ICrypto.cpp
MattPearce/xlet
e0f64f231e627d0cc52f3c032e66f59a63b2942f
[ "MIT" ]
3
2020-11-30T21:04:50.000Z
2021-05-04T18:14:39.000Z
#include "ICrypto.h" // Dummy file to trigger build
17.333333
30
0.730769
MattPearce
2007d5f8480343b29a44f164ffe86abf8f193587
18,302
cpp
C++
Algorithm/cloth/graph/Graph2Mesh.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
32
2016-12-13T05:49:12.000Z
2022-02-04T06:15:47.000Z
Algorithm/cloth/graph/Graph2Mesh.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
2
2019-07-30T02:01:16.000Z
2020-03-12T15:06:51.000Z
Algorithm/cloth/graph/Graph2Mesh.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
18
2017-11-16T13:37:06.000Z
2022-03-11T08:13:46.000Z
#include "Graph2Mesh.h" #include "ldpMat\ldp_basic_mat.h" #include "cloth\clothPiece.h" #include "cloth\graph\Graph.h" #include "cloth\graph\GraphsSewing.h" #include "cloth\graph\AbstractGraphCurve.h" #include "cloth\graph\GraphLoop.h" #include "cloth\TransformInfo.h" #include "Renderable\ObjMesh.h" #include "kdtree\Po...
29.75935
114
0.616217
dolphin-li
200dc3387f322df61f2b5272720bb37f471f3f6f
898
cpp
C++
master/geometrize-master/geometrize-master/geometrize/common/formatsupport.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/geometrize-master/geometrize-master/geometrize/common/formatsupport.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/geometrize-master/geometrize-master/geometrize/common/formatsupport.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
#include "formatsupport.h" #include <QImageReader> namespace geometrize { namespace format { std::vector<std::string> getReadableImageFileExtensions(const bool includeDotPrefix) { std::vector<std::string> extensions; const QList<QByteArray> supportedImageFormats{QImageReader::supportedImageFormats()}; ...
20.883721
94
0.681514
AlexRogalskiy
20114f1841275e0a483482039adcf422ed3b05df
4,990
cc
C++
bindings/name_parser/src/wrapper.cc
MannPE/KawAnime
1829b94752a3cf01773d7d360adb2c18e528fcc8
[ "MIT" ]
611
2016-11-21T19:56:50.000Z
2022-03-29T11:17:41.000Z
bindings/name_parser/src/wrapper.cc
MannPE/KawAnime
1829b94752a3cf01773d7d360adb2c18e528fcc8
[ "MIT" ]
83
2017-03-14T13:41:17.000Z
2021-12-31T00:35:24.000Z
bindings/name_parser/src/wrapper.cc
MannPE/KawAnime
1829b94752a3cf01773d7d360adb2c18e528fcc8
[ "MIT" ]
88
2016-11-23T18:55:49.000Z
2022-03-20T21:52:53.000Z
/** * Copyright (c) 2019 Kylart <kylart.dev@gmail.com> * * 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, mod...
38.091603
109
0.732465
MannPE
201365bb54c96707e73182e1b032f8ec7a0bf4ad
859
cpp
C++
GeneralLambda/main.cpp
colorhistory/cplusplus-general-programming
3ece924a2ab34711a55a45bc41e2b74384956204
[ "MIT" ]
1
2019-09-28T09:40:08.000Z
2019-09-28T09:40:08.000Z
GeneralLambda/main.cpp
colorhistory/cplusplus-general-programming
3ece924a2ab34711a55a45bc41e2b74384956204
[ "MIT" ]
null
null
null
GeneralLambda/main.cpp
colorhistory/cplusplus-general-programming
3ece924a2ab34711a55a45bc41e2b74384956204
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2019 Xiaohai <xiaohaidotpro@outlook.com>. ** Contact: http://xiaohai.pro ** ** This file is part of cplusplus-general-programming ** ** ****************************************************************************/ #inclu...
26.84375
78
0.472643
colorhistory
20136fd33f8a6de8aa469ce2b8381ec120ea1036
1,873
cpp
C++
examples/src/jmespath_examples.cpp
stac47/jsoncons
b9e95d6a0bcb2dc8a821d33f98a530f10cfe1bc0
[ "BSL-1.0" ]
507
2015-01-05T18:50:55.000Z
2022-03-30T16:50:10.000Z
examples/src/jmespath_examples.cpp
stac47/jsoncons
b9e95d6a0bcb2dc8a821d33f98a530f10cfe1bc0
[ "BSL-1.0" ]
272
2015-01-20T13:09:19.000Z
2022-03-28T18:00:37.000Z
examples/src/jmespath_examples.cpp
stac47/jsoncons
b9e95d6a0bcb2dc8a821d33f98a530f10cfe1bc0
[ "BSL-1.0" ]
140
2015-01-14T01:11:37.000Z
2022-03-29T08:35:35.000Z
// Copyright 2013 Daniel Parker // Distributed under Boost license #include <string> #include <fstream> #include <cassert> #include <jsoncons/json.hpp> #include <jsoncons_ext/jmespath/jmespath.hpp> // for brevity using jsoncons::json; namespace jmespath = jsoncons::jmespath; namespace { void search_example() ...
22.841463
106
0.444207
stac47
2015342d012b4d4225138d767087faaeb1a7e43f
5,813
cpp
C++
source/Game/GameStateMachine.cpp
GrimshawA/Nephilim
1e69df544078b55fdaf58a04db963e20094f27a9
[ "Zlib" ]
19
2015-12-19T11:15:57.000Z
2022-03-09T11:22:11.000Z
source/Game/GameStateMachine.cpp
DevilWithin/Nephilim
1e69df544078b55fdaf58a04db963e20094f27a9
[ "Zlib" ]
1
2017-05-17T09:31:10.000Z
2017-05-19T17:01:31.000Z
source/Game/GameStateMachine.cpp
GrimshawA/Nephilim
1e69df544078b55fdaf58a04db963e20094f27a9
[ "Zlib" ]
3
2015-12-14T17:40:26.000Z
2021-02-25T00:42:42.000Z
#include <Nephilim/Game/GameStateMachine.h> #include <Nephilim/Foundation/String.h> #include <Nephilim/Animation/StateTransition.h> #include <Nephilim/Game/GameState.h> #include <Nephilim/Foundation/Time.h> #include <Nephilim/Foundation/Logging.h> #include <algorithm> NEPHILIM_NS_BEGIN GameStateMachine::GameStateM...
19.705085
100
0.678995
GrimshawA
2015c23fe86c2fb2998619c0d2c83f594aa2cc1d
3,917
cpp
C++
Jx3Full/Source/Source/Tools/SceneEditor/MeshButton.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
2
2021-07-31T15:35:01.000Z
2022-02-28T05:54:54.000Z
Jx3Full/Source/Source/Tools/SceneEditor/MeshButton.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
null
null
null
Jx3Full/Source/Source/Tools/SceneEditor/MeshButton.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
5
2021-02-03T10:25:39.000Z
2022-02-23T07:08:37.000Z
// MeshButton.cpp: implementation of the KModelUIButton class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "sceneeditor.h" #include "MeshButton.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ///...
26.288591
90
0.612459
RivenZoo
2016a7caab731eb69a5a9e8c8e4fe423ee941fd4
938
hpp
C++
src/cuda/api/miscellany.hpp
xandox/cuda-api-wrappers
6c9a02302c1cbd8c6832bf7ca342d83bd951e10e
[ "BSD-3-Clause" ]
1
2020-09-16T10:28:06.000Z
2020-09-16T10:28:06.000Z
src/cuda/api/miscellany.hpp
xandox/cuda-api-wrappers
6c9a02302c1cbd8c6832bf7ca342d83bd951e10e
[ "BSD-3-Clause" ]
null
null
null
src/cuda/api/miscellany.hpp
xandox/cuda-api-wrappers
6c9a02302c1cbd8c6832bf7ca342d83bd951e10e
[ "BSD-3-Clause" ]
1
2020-11-17T19:49:06.000Z
2020-11-17T19:49:06.000Z
/** * @file miscellany.hpp * * @brief Miscellaneous functionality which does not fit in another file * */ #ifndef CUDA_API_WRAPPERS_MISCELLANY_HPP_ #define CUDA_API_WRAPPERS_MISCELLANY_HPP_ #include "error.hpp" #include <cuda_runtime_api.h> namespace cuda { /** * @brief Ensures the CUDA runtime has fully init...
26.055556
77
0.759062
xandox
20196c10e5889ab91bd757ec4b47ad4a794fd8a7
3,861
cpp
C++
data-structures/SkipList.cpp
Tumilok/algorithms-and-data-structures
c4d774ecb867a8cd130da8370ec4d782b698ecef
[ "MIT" ]
null
null
null
data-structures/SkipList.cpp
Tumilok/algorithms-and-data-structures
c4d774ecb867a8cd130da8370ec4d782b698ecef
[ "MIT" ]
null
null
null
data-structures/SkipList.cpp
Tumilok/algorithms-and-data-structures
c4d774ecb867a8cd130da8370ec4d782b698ecef
[ "MIT" ]
null
null
null
// // created by Uladzislau Tumilovich // #include "SkipList.h" // Function checks whether skiplist is empty or not bool is_SkipListEmpty(SkipList skiplist) { return skiplist.first == NULL || skiplist.first->next[0] == skiplist.last ? true : false; } // Function gives a random integer - 0 or 1 int randomiser() {...
23.4
93
0.61927
Tumilok
201b1957cad8c7e2a53ced79a9f75ae004469b38
7,352
cpp
C++
Tools/ArcaneLab/Src/UI/AssetBrowserPanel.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
Tools/ArcaneLab/Src/UI/AssetBrowserPanel.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
Tools/ArcaneLab/Src/UI/AssetBrowserPanel.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
#include "AssetBrowserPanel.h" #include "../OutlineLayer.h" namespace ArcanaTools { void AssetBrowserPanel::OnAttach() { //m_path = s_AssetPath; icons["back_arrow"] = reinterpret_cast<ImTextureID>(Texture2D::Create("resources/icons/back_arrow.png", false)->GetTextureID()); icons["forward_arrow"] = reinterpr...
29.059289
136
0.637922
AustinLynes
201e0a90da45209ff1eb8a0c8615ad46e527de93
1,014
hxx
C++
src/tiles/tile-view.hxx
moskupols/mipt-parallel-labs
4762733d50f7e1dd46f7cdd13c4861b9f9f73e37
[ "MIT" ]
null
null
null
src/tiles/tile-view.hxx
moskupols/mipt-parallel-labs
4762733d50f7e1dd46f7cdd13c4861b9f9f73e37
[ "MIT" ]
null
null
null
src/tiles/tile-view.hxx
moskupols/mipt-parallel-labs
4762733d50f7e1dd46f7cdd13c4861b9f9f73e37
[ "MIT" ]
null
null
null
#ifndef TILE_VIEW_HXX_INCLUDED #define TILE_VIEW_HXX_INCLUDED #include "abstract-tile.hxx" namespace game_of_life { class TileView : public AbstractTile { public: TileView(); explicit TileView(AbstractTile& viewed); TileView(const TileView& viewed); TileView(AbstractTile& viewed, const CoordRect& r);...
19.132075
60
0.712032
moskupols
2021310bc4fd1755d21121b5300f04498547b32f
1,329
cpp
C++
solutions/house_robber.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/house_robber.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/house_robber.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
// You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into...
37.971429
339
0.620767
kmykoh97
20215f10714a759a3e9200baab61f7193fa89364
5,758
hpp
C++
Source/numerical_mathematics_methods/control_unit.hpp
Vasar007/numerical_mathematics_methods
cca8d94057f684c70fbd0093ae56881d9d165aa0
[ "Apache-2.0" ]
null
null
null
Source/numerical_mathematics_methods/control_unit.hpp
Vasar007/numerical_mathematics_methods
cca8d94057f684c70fbd0093ae56881d9d165aa0
[ "Apache-2.0" ]
3
2018-10-12T21:46:34.000Z
2019-01-31T11:40:33.000Z
Source/numerical_mathematics_methods/control_unit.hpp
Vasar007/numerical_mathematics_methods
cca8d94057f684c70fbd0093ae56881d9d165aa0
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018 Vasily Vasilyev (vasar007@yandex.ru) #pragma once #include <iostream> #include <stdexcept> namespace vv { /// ===== MACROS SECTION ===== #define TRY_BLOCK(expr) try { expr } \ catch(std::exception& ex) { std::cout << ex.what() << "\n\n"; } \ cat...
26.781395
111
0.746613
Vasar007
2021ddbdbf375c4a7bfe9bc8746f7e3758f60769
7,673
cpp
C++
src/nodes/matrixNodes/packMatrixArrayNode.cpp
yantor3d/xformArrayNodes
2affb8c1818255c3e86d766a91a978bcdca819b9
[ "MIT" ]
27
2017-11-13T04:01:41.000Z
2021-12-21T06:38:29.000Z
src/nodes/matrixNodes/packMatrixArrayNode.cpp
yantor3d/xformArrayNodes
2affb8c1818255c3e86d766a91a978bcdca819b9
[ "MIT" ]
null
null
null
src/nodes/matrixNodes/packMatrixArrayNode.cpp
yantor3d/xformArrayNodes
2affb8c1818255c3e86d766a91a978bcdca819b9
[ "MIT" ]
4
2017-11-14T05:14:00.000Z
2020-02-14T07:50:38.000Z
/** Copyright (c) 2017 Ryan Porter You may use, distribute, or modify this code under the terms of the MIT license. */ /** packMatrixArray node This node outputs an array of 4x4 matrices based on the input values. inputMatrix (im) matrix[] List of 4x4 matrices. inputRows (ir) compound in...
32.651064
105
0.690212
yantor3d
20234bd8f905ce05e34c3a56762159c51e90db31
1,491
cc
C++
leetcode/HashTable/4sum.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/HashTable/4sum.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/HashTable/4sum.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> #include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" using namespace std; class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, int target) { vec...
24.442623
70
0.439302
LIZHICHAOUNICORN
202361e7f8ea6c2f8b548584612b495d9f5e8dee
1,730
cc
C++
src/monitoring/graphiteMetricsCollector.cc
onedata/helpers
bf14082d5a8de384c1f126b2fa522c3b360ad500
[ "MIT" ]
1
2018-06-04T08:08:11.000Z
2018-06-04T08:08:11.000Z
src/monitoring/graphiteMetricsCollector.cc
onedata/helpers
bf14082d5a8de384c1f126b2fa522c3b360ad500
[ "MIT" ]
1
2019-03-26T11:15:13.000Z
2019-03-26T11:15:13.000Z
src/monitoring/graphiteMetricsCollector.cc
onedata/helpers
bf14082d5a8de384c1f126b2fa522c3b360ad500
[ "MIT" ]
1
2018-02-05T09:19:45.000Z
2018-02-05T09:19:45.000Z
/** * @file graphiteMetricsCollector.cc * @author Bartek Kryza * @copyright (C) 2017 ACK CYFRONET AGH * @copyright This software is released under the MIT license cited in * 'LICENSE.txt' */ #include <memory> #include "cppmetrics/cppmetrics.h" #include "helpers/logging.h" #include "monitoring/graphiteMetricsCol...
30.350877
75
0.691908
onedata
2023773b422a320e4f7fff6f533ed59361b201eb
1,392
cpp
C++
src/plugins/evis/databaseconnection/evisquerydefinition.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/plugins/evis/databaseconnection/evisquerydefinition.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/plugins/evis/databaseconnection/evisquerydefinition.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/* ** File: evisquerydefinition.cpp ** Author: Peter J. Ersts ( ersts at amnh.org ) ** Creation Date: 2007-04-12 ** ** Copyright ( c ) 2007, American Museum of Natural History. All rights reserved. ** ** This library/program is free software; you can redistribute it ** and/or modify it under the terms of the GNU Librar...
40.941176
81
0.757902
dyna-mis
2023ea5767968ee25084d5ac7a932ef63c47dd20
702
hpp
C++
include/memory/hadesmem/detail/last_error_preserver.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
24
2018-08-18T18:05:37.000Z
2021-09-28T00:26:35.000Z
include/memory/hadesmem/detail/last_error_preserver.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
null
null
null
include/memory/hadesmem/detail/last_error_preserver.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
9
2018-04-16T09:53:09.000Z
2021-02-26T05:04:49.000Z
// Copyright (C) 2010-2014 Joshua Boyce. // See the file COPYING for copying permission. #pragma once #include <windows.h> #include <hadesmem/config.hpp> namespace hadesmem { namespace detail { class LastErrorPreserver { public: LastErrorPreserver() HADESMEM_DETAIL_NOEXCEPT : last_error_(::GetLastError()) { }...
15.6
79
0.717949
CvX
20288356961c2e2b05b4297ee8b08cf3e2e71520
7,228
cpp
C++
source/DCHTTPConnection.cpp
HaikuArchives/BeDC
cf2f67fba574e934a06026c66b4f4298470716c8
[ "BSD-3-Clause" ]
null
null
null
source/DCHTTPConnection.cpp
HaikuArchives/BeDC
cf2f67fba574e934a06026c66b4f4298470716c8
[ "BSD-3-Clause" ]
null
null
null
source/DCHTTPConnection.cpp
HaikuArchives/BeDC
cf2f67fba574e934a06026c66b4f4298470716c8
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------- BeDC License ---------------------- Copyright 2002, The BeDC team. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copy...
23.543974
100
0.68622
HaikuArchives
202a531ae2d065264efac61f259af74cec73ebaa
1,970
cpp
C++
src/SolarChargeSystem/lib/AsyncLTE/AsyncLTEResult.cpp
jack96013/Solar-Charge-System
e64c5fece5bff9b7a7f1c7d9b92235ed9e391812
[ "MIT" ]
null
null
null
src/SolarChargeSystem/lib/AsyncLTE/AsyncLTEResult.cpp
jack96013/Solar-Charge-System
e64c5fece5bff9b7a7f1c7d9b92235ed9e391812
[ "MIT" ]
null
null
null
src/SolarChargeSystem/lib/AsyncLTE/AsyncLTEResult.cpp
jack96013/Solar-Charge-System
e64c5fece5bff9b7a7f1c7d9b92235ed9e391812
[ "MIT" ]
null
null
null
#include "AsyncLTEResult.h" AsyncLTEResultBase::AsyncLTEResultBase() { } void AsyncLTEResultBase::start() { status = WAIT; } void AsyncLTEResultBase::setOnReceived(Handler handler, void *arg) { this->handler = handler; this->arg = arg; } bool AsyncLTEResultBase::isReceived() { return status == R...
15.634921
66
0.66802
jack96013
202a568d022e7f9eebfa682d1f0d4ae9ebbc7966
7,306
hpp
C++
include/rendering/Render.hpp
Heliot7/render
c8a320c64c3fee03d91e2d11dd7d5a151661132a
[ "BSD-3-Clause" ]
2
2019-12-17T11:27:09.000Z
2020-03-02T07:18:12.000Z
include/rendering/Render.hpp
Heliot7/render
c8a320c64c3fee03d91e2d11dd7d5a151661132a
[ "BSD-3-Clause" ]
null
null
null
include/rendering/Render.hpp
Heliot7/render
c8a320c64c3fee03d91e2d11dd7d5a151661132a
[ "BSD-3-Clause" ]
null
null
null
#ifndef RENDER_HPP #define RENDER_HPP #include <vector> #include <string> #include <math.h> #include <fstream> #include <QGLWidget> #include <QTimer> // Arithmetic operations #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "modelling/Model.hpp" #include "rend...
29.578947
140
0.698741
Heliot7
202bec087b184bc36d58987e5e2310aa1ef770d3
294
cpp
C++
src/solutions/28.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
src/solutions/28.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
src/solutions/28.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int inc = 2, sum = 1, k = 1; int mod = 0; while (k < 1001*1001) { k += inc; sum += k; ++mod; if (mod == 4) { mod = 0; inc += 2; } } cout << sum << endl; }
16.333333
32
0.370748
bshankar
45c9e12fc1a33442d25ac7ea5b13844f0bedd487
2,222
hpp
C++
include/sql/fusion/create_table_stmt.hpp
cviebig/lib-sql
fed42f80b5866503c5f5710d791feec213c051a1
[ "MIT" ]
4
2017-09-25T00:03:31.000Z
2020-04-02T07:06:24.000Z
include/sql/fusion/create_table_stmt.hpp
cviebig/lib-sql
fed42f80b5866503c5f5710d791feec213c051a1
[ "MIT" ]
1
2018-05-16T20:00:42.000Z
2018-05-30T13:21:20.000Z
include/sql/fusion/create_table_stmt.hpp
cviebig/lib-sql
fed42f80b5866503c5f5710d791feec213c051a1
[ "MIT" ]
1
2022-01-05T20:49:47.000Z
2022-01-05T20:49:47.000Z
#ifndef SQL_PARSER_FUSION_CREATE_TABLE_STMT_HPP #define SQL_PARSER_FUSION_CREATE_TABLE_STMT_HPP #include "sql/ast/create_table_stmt.hpp" #include <boost/fusion/include/adapt_struct.hpp> BOOST_FUSION_ADAPT_STRUCT(sql::ast::type_name, (std::string, name) (boost::option...
36.42623
88
0.60171
cviebig
45ca2a05da87fca129e113e5729df71b6c3d126b
739
c++
C++
GeeksForGeeks/Array/Easy/WaveArray.c++
Chirag-Juneja/Algo
5006332e9ea1f77f941e3fa45962813dbe9399a6
[ "MIT" ]
1
2021-08-13T21:54:40.000Z
2021-08-13T21:54:40.000Z
GeeksForGeeks/Array/Easy/WaveArray.c++
Chirag-Juneja/Algo
5006332e9ea1f77f941e3fa45962813dbe9399a6
[ "MIT" ]
null
null
null
GeeksForGeeks/Array/Easy/WaveArray.c++
Chirag-Juneja/Algo
5006332e9ea1f77f941e3fa45962813dbe9399a6
[ "MIT" ]
null
null
null
/* Given a sorted array arr[] of distinct integers. Sort the array into a wave-like array and return it In other words, arrange the elements into a sequence such that arr[1] >= arr[2] <= arr[3] >= arr[4] <= arr[5]..... Example 1: Input: n = 5 arr[] = {1,2,3,4,5} Output: 2 1 4 3 5 Explanation: Array elements after so...
20.527778
114
0.584574
Chirag-Juneja
45cb59a69e420a979aa3e13e0e3d031d70aea5e8
2,525
cpp
C++
AkameCore/Source Files/Rendering/System/BuiltInShaderPipelines/DeferredPipeline.cpp
SudharsanZen/Akame
376efe3929e4426e6dc01440ab9f6aa3e8dcb2bf
[ "Apache-2.0" ]
2
2022-03-30T20:58:58.000Z
2022-03-31T02:06:17.000Z
AkameCore/Source Files/Rendering/System/BuiltInShaderPipelines/DeferredPipeline.cpp
SudharsanZen/Akame
376efe3929e4426e6dc01440ab9f6aa3e8dcb2bf
[ "Apache-2.0" ]
null
null
null
AkameCore/Source Files/Rendering/System/BuiltInShaderPipelines/DeferredPipeline.cpp
SudharsanZen/Akame
376efe3929e4426e6dc01440ab9f6aa3e8dcb2bf
[ "Apache-2.0" ]
null
null
null
#include<sstream> #include "Rendering/System/DeferredPipeline.h" #pragma warning(push, 0) #include<glad/glad.h> #include<GLFW/glfw3.h> #pragma warning(pop) DeferredPipeline::DeferredPipeline(int height, int width) { drfb.updateBufferSize(height, width); } void DeferredPipeline::WindowsResizeCallBacks(int height, i...
31.5625
131
0.739406
SudharsanZen
45d2f25b6dbcea645a1fe0cea3265b8589bf917e
6,922
c++
C++
map/hidimMapActor.c++
camilleg/vss
27f1c8f73f8d7ef2d4e5de077e4b2ed7e4f72803
[ "MIT" ]
null
null
null
map/hidimMapActor.c++
camilleg/vss
27f1c8f73f8d7ef2d4e5de077e4b2ed7e4f72803
[ "MIT" ]
null
null
null
map/hidimMapActor.c++
camilleg/vss
27f1c8f73f8d7ef2d4e5de077e4b2ed7e4f72803
[ "MIT" ]
null
null
null
#include "mapActor.h" HidimMapActor::HidimMapActor() : dimLo(0), dimHi(0), cpt(0), rgzLo(NULL), rgzHi(NULL) { } HidimMapActor::~HidimMapActor() { if (rgzLo) delete [] rgzLo; if (rgzHi) delete [] rgzHi; } // LoadFile // // Read a map file with the following format: // # of dimensions of low space // # of d...
21.039514
111
0.636232
camilleg
45da991d2633875e338bf2442d9dc452935ddf79
1,298
cpp
C++
codeforces/G1 - Playlist for Polycarp (easy version)/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/G1 - Playlist for Polycarp (easy version)/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/G1 - Playlist for Polycarp (easy version)/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jul/08/2019 02:16 * solution_verdict: Accepted language: GNU C++14 * run...
35.081081
111
0.430663
kzvd4729
45dc021ef9732c9f79d722e9acd25ff0a3bf6ddc
1,643
cpp
C++
src/model/opengl/VertexArray.cpp
XantNero/Courseproject-Modelling-road-traffic-
f0aae780935d4ac9ed30d8b50b965813b6a60632
[ "MIT" ]
null
null
null
src/model/opengl/VertexArray.cpp
XantNero/Courseproject-Modelling-road-traffic-
f0aae780935d4ac9ed30d8b50b965813b6a60632
[ "MIT" ]
null
null
null
src/model/opengl/VertexArray.cpp
XantNero/Courseproject-Modelling-road-traffic-
f0aae780935d4ac9ed30d8b50b965813b6a60632
[ "MIT" ]
null
null
null
#include "VertexArray.h" #include <GL/glew.h> #include "debug.h" VertexArray::VertexArray() { GLCall(glGenVertexArrays(1, &m_RendererID)); } VertexArray::~VertexArray() { GLCall(glDeleteVertexArrays(1, &m_RendererID)); } void VertexArray::bind() const { GLCall(glBindVertexArray(m_RendererID)); } void Ve...
29.339286
155
0.678028
XantNero
45dc1acf36d067e88b1ba7f3e4afde9bc478d1f4
732
cpp
C++
lib/Frontend/CXTextDiagnosticPrinter.cpp
Gnimuc/libclangex
3d519fba37210d06578b10ea9bdb1d496be0e9d0
[ "Apache-2.0", "MIT-0", "MIT" ]
1
2022-01-11T00:49:42.000Z
2022-01-11T00:49:42.000Z
lib/Frontend/CXTextDiagnosticPrinter.cpp
Gnimuc/libclangex
3d519fba37210d06578b10ea9bdb1d496be0e9d0
[ "Apache-2.0", "MIT-0", "MIT" ]
4
2021-08-01T06:07:06.000Z
2022-02-04T14:14:15.000Z
lib/Frontend/CXTextDiagnosticPrinter.cpp
Gnimuc/libclangex
3d519fba37210d06578b10ea9bdb1d496be0e9d0
[ "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
#include "clang-ex/Frontend/CXTextDiagnosticPrinter.h" #include "clang/Frontend/TextDiagnosticPrinter.h" #include "llvm/Support/raw_ostream.h" CXDiagnosticConsumer clang_TextDiagnosticPrinter_create(CXDiagnosticOptions Opts, CXInit_Error *ErrorCode) { CXInit_Er...
33.272727
91
0.688525
Gnimuc
45de033480806775b469af602da24c8cd68fbc41
616
cpp
C++
ObserverV3/main.cpp
JuanPoli/EDI-III
55afb509aa74d81b366c276de54802d55648b238
[ "MIT" ]
null
null
null
ObserverV3/main.cpp
JuanPoli/EDI-III
55afb509aa74d81b366c276de54802d55648b238
[ "MIT" ]
null
null
null
ObserverV3/main.cpp
JuanPoli/EDI-III
55afb509aa74d81b366c276de54802d55648b238
[ "MIT" ]
null
null
null
#include "src/AnalogClock.cpp" #include "src/ClockTimer.cpp" #include "src/DigitalClock.cpp" #include "src/Subscriber.cpp" #include "include/SmartPointer.h" int main() { Smart_ptr<ISubscriber> subscriber = new Subscriber(); Smart_ptr<IClockTimer> clockTimer (new ClockTimer(&*subscriber)); Smart_ptr<Analog...
24.64
74
0.696429
JuanPoli
45dee87dcf3529cb2500058cb997d8ffef5b655a
403
cpp
C++
Network_dll/src/Network.cpp
BenjaminViranin/Network-Library
0c5c05d8d8f050facf4a6a34bfdc9882477fb8ee
[ "MIT" ]
null
null
null
Network_dll/src/Network.cpp
BenjaminViranin/Network-Library
0c5c05d8d8f050facf4a6a34bfdc9882477fb8ee
[ "MIT" ]
null
null
null
Network_dll/src/Network.cpp
BenjaminViranin/Network-Library
0c5c05d8d8f050facf4a6a34bfdc9882477fb8ee
[ "MIT" ]
null
null
null
#include "../include/Network.h" Network::Network() { Init(); } Network::~Network() { Destroy(); } int Network::Init() { int err = WSAStartup(MAKEWORD(2, 2), &m_wsa); if (err < 0) { std::cout << "WSAStartup failed !" << std::endl; std::cin.get(); return EXIT_FAILURE; } std::cout << ":: Init Network :: ";...
13.896552
50
0.585608
BenjaminViranin
45df42aaf2c4e4af4f61d0f63a52dd70de033cb8
3,179
hpp
C++
include/ripple/arch/topology.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
4
2021-04-25T16:38:12.000Z
2021-12-23T08:32:15.000Z
include/ripple/arch/topology.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
include/ripple/arch/topology.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
/**==--- ripple/arch/topology.hpp -------------------------- -*- C++ -*- ---==** * * Ripple * * Copyright (c) 2019 - 2021 Rob Clucas. * * This file is distributed under the MIT License. See LICENSE for details. * *==------------------------------------------------...
29.435185
80
0.634476
robclu
45dfacd03bb18689548bf9e7b3e6473738583a7c
1,233
cpp
C++
src/ui/page.cpp
demisardonic/battletested
89f502a721f4d7056a74acd22af9d79c8e3f0dba
[ "MIT" ]
null
null
null
src/ui/page.cpp
demisardonic/battletested
89f502a721f4d7056a74acd22af9d79c8e3f0dba
[ "MIT" ]
null
null
null
src/ui/page.cpp
demisardonic/battletested
89f502a721f4d7056a74acd22af9d79c8e3f0dba
[ "MIT" ]
null
null
null
#include <ncurses.h> #include "ui/page.h" #include "ui/page_game.h" #include "ui/ui.h" Page::Page(UI *ui){ this->parent = ui; } AnyKeyPage::AnyKeyPage(UI *ui, Page *next):Page(ui){ nextPage = next; } void AnyKeyPage::input(){ getch(); this->parent->change_page(nextPage); } void AnyKeyPage::e...
20.898305
98
0.459854
demisardonic
45e1be73786f8dcdc337593940a7bb3b2e4e407e
1,696
cc
C++
ns-3-dev/src/template/test/sample-test-suite.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
11
2015-11-24T11:07:28.000Z
2021-12-23T04:10:29.000Z
ns-3-dev/src/template/test/sample-test-suite.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
null
null
null
ns-3-dev/src/template/test/sample-test-suite.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
6
2016-03-01T06:32:21.000Z
2022-03-24T19:31:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // An essential include is test.h #include "ns3/test.h" // Do not put your test classes in namespace ns3. You may find it useful // to use the using directive to access the ns3 namespace directly using namespace ns3; // This is an example TestCase. c...
26.5
90
0.736439
maxvonhippel
45e2c9896ed64d297bec34ed7d9c90ed3471c5db
26,183
cc
C++
FELICITY/Static_Codes/AHF/src_code/Mesh.cc
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
FELICITY/Static_Codes/AHF/src_code/Mesh.cc
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
FELICITY/Static_Codes/AHF/src_code/Mesh.cc
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
/* ============================================================================================ Class for array based half-facet (AHF) data structure. This is a sub-class of BaseMesh which stores a *pointer* to a BasePtCoord object. This way, many different meshes, of varying topological dimension, can share...
38.847181
199
0.612917
brianchowlab
45e61a32ceeb77e71341412ab0708f3a04aa3abd
1,341
cpp
C++
CppSTL/Chapter1/operators/op_une.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
CppSTL/Chapter1/operators/op_une.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
CppSTL/Chapter1/operators/op_une.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
#include <iostream> #include <vector> using std::vector; using std::endl; using std::ostream; template<class T1, class T2> class A { template<class t1, class t2> friend ostream& operator<<( ostream& , const A<t1, t2>& ); public: explicit A() : a(2.0), b(2.0) {}; A(T1 aa, T2 bb) : a(aa), b(bb) {}; A<...
22.728814
86
0.51827
SebastianTirado
45e9515b0ecd34be341439bb585bddefce957435
383
cpp
C++
platforms/gfg/0377_gcd_two_array_numbers.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/gfg/0377_gcd_two_array_numbers.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/gfg/0377_gcd_two_array_numbers.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" int GCDOfArray(vi arr) { int n = arr.size(); int ans = arr[0]; for (int i = 1; i < n; ++i) { if (ans == 1) { return 1; } ans = std::gcd(ans, arr[i]); } return ans; } int main() { TimeMeasure _; cout << GCDOfArray({1, 2, 3}) << e...
20.157895
50
0.443864
idfumg
45ea6a214560d1758947730f90e7327200ebd181
1,691
hpp
C++
meta/symboltable.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
meta/symboltable.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
meta/symboltable.hpp
tamim-asif/lgraph-private
733bbcd9e14a9850580b51c011e33785ab758b9d
[ "BSD-3-Clause" ]
null
null
null
#ifndef LGRAPH_SYMBOL_TABLE_H_ #define LGRAPH_SYMBOL_TABLE_H_ #include "lgraphbase.hpp" #include "integer.hpp" #include "pyrope_type.hpp" #include <sparsehash/dense_hash_map> #include <string> using Symbol_Mapping = Char_Array<Index_ID>; // maps Index_ID (of node) => Char_Array_ID (of variable cast from Index_I...
35.229167
127
0.717918
tamim-asif
45eb26741075e63e772f9d51273ccd651456f72b
608
hpp
C++
sprout/rational/values.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/rational/values.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/rational/values.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_RATIONAL_VALUES_HPP #define SPROUT_RATIONAL_VALUES_HPP #include <sprout/config.hpp> #include <sprout/rational/rational.hpp> #include <sprout/cstdlib/abs.hpp> namespace sprout { // // abs // template<typename IntType> inline SPROUT_CONSTEXPR sprout::rational<IntType> abs(sprout::ratio...
24.32
55
0.702303
osyo-manga
45eb6a7e47c044c70b8c05a3e2f78a3735462eab
515
hpp
C++
webserv/Abstract&Interfaces/AServer.hpp
sfcdota/mini-web-server
69be414a8824570a8f0b85d3eb567614ed54892b
[ "BSD-3-Clause" ]
null
null
null
webserv/Abstract&Interfaces/AServer.hpp
sfcdota/mini-web-server
69be414a8824570a8f0b85d3eb567614ed54892b
[ "BSD-3-Clause" ]
null
null
null
webserv/Abstract&Interfaces/AServer.hpp
sfcdota/mini-web-server
69be414a8824570a8f0b85d3eb567614ed54892b
[ "BSD-3-Clause" ]
null
null
null
// // Created by sfcdo on 20.07.2021. // #ifndef WEBSERV_ASERVER_HPP_ #define WEBSERV_ASERVER_HPP_ #include <vector> #include "parser.hpp" #include "../BufferReader.hpp" class AServer { protected: AServer(const std::vector<ServerConfig>& config, const ssize_t & INPUT_BUFFER_SIZE); virtual ~AServer(); fd_set mas...
23.409091
86
0.751456
sfcdota
45eb77bbe5759fcff4d8862832d9a3debedb5cca
288
cpp
C++
AcWing/LeetCode究极班/58-1.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
AcWing/LeetCode究极班/58-1.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
AcWing/LeetCode究极班/58-1.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: int lengthOfLastWord(string s) { int r = s.size() - 1; while (r >= 0 && s[r] == ' ') r --; if (r < 0) return 0; int l = r - 1; while (l >= 0 && s[l] != ' ') l --; return r - l; } };
19.2
37
0.347222
LauZyHou
45eb89d594e84151bd1dd181295def7229f4f633
2,110
cpp
C++
tests/test-graph.cpp
inetic/club
1fa777beaf8ddf9cf6817dea08dbca579113a989
[ "Apache-2.0" ]
122
2016-06-23T12:27:24.000Z
2016-08-01T06:11:55.000Z
tests/test-graph.cpp
inetic/libclub
1fa777beaf8ddf9cf6817dea08dbca579113a989
[ "Apache-2.0" ]
2
2019-09-03T17:44:48.000Z
2019-09-03T17:48:27.000Z
tests/test-graph.cpp
inetic/libclub
1fa777beaf8ddf9cf6817dea08dbca579113a989
[ "Apache-2.0" ]
15
2016-11-03T10:10:56.000Z
2021-03-19T06:05:03.000Z
// Copyright 2016 Peter Jankuliak // // 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...
21.752577
75
0.57109
inetic
45ed137ed2821e3beceffda7c8c819c48429256a
25,238
cpp
C++
net/config/shell/advcfg/aclist.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/config/shell/advcfg/aclist.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/config/shell/advcfg/aclist.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997. // // File: A C L I S T . C P P // // Contents: Functions related to listview control in adavnced // configuration dialog. // // Notes:...
28.485327
108
0.477257
npocmaka
45ef0cbddcdd3dd22152e0625391c756d95522bb
8,623
cpp
C++
Src/ArmorPose.cpp
Cure20001019/BJUT_InfantryVision
cca72626095d54f3198aee2c1b6dba9de5afcfbc
[ "Apache-2.0" ]
null
null
null
Src/ArmorPose.cpp
Cure20001019/BJUT_InfantryVision
cca72626095d54f3198aee2c1b6dba9de5afcfbc
[ "Apache-2.0" ]
null
null
null
Src/ArmorPose.cpp
Cure20001019/BJUT_InfantryVision
cca72626095d54f3198aee2c1b6dba9de5afcfbc
[ "Apache-2.0" ]
null
null
null
/** *********************************************************************************** * @file :ArmorPose.cpp * @author :Tinker.Jia * @version:1.0 * @date :2019.6.28 * @brief :Use the P4P method to obtain the armor pose in the world. *****************************************************************...
42.688119
152
0.639569
Cure20001019
45efa2f82f1804d2c6d7370eb03e236cdc081c4c
8,883
cpp
C++
Src/Client/ClientControl.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/Client/ClientControl.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/Client/ClientControl.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
/*********************************************************************** * AUTHOR: <Stavros Bizelis> * FILE: ClientControl.cpp * DATE: Wed Jun 20 20:04:02 2018 * DESCR: ***********************************************************************/ #include "Client/ClientControl.h" #include "Common/Core/MyUtilitie...
38.288793
213
0.535405
StavrosBizelis
45f2e999d15501fadaa45ef9c0ace330a70e9c92
1,582
cpp
C++
src/leader_local.cpp
logpicker/prototype
0a25fccc24a8e298dee9bae240fcd73a4e5d185e
[ "MIT" ]
null
null
null
src/leader_local.cpp
logpicker/prototype
0a25fccc24a8e298dee9bae240fcd73a4e5d185e
[ "MIT" ]
null
null
null
src/leader_local.cpp
logpicker/prototype
0a25fccc24a8e298dee9bae240fcd73a4e5d185e
[ "MIT" ]
null
null
null
#include "leader.h" #include "log.hpp" #include "logpicker_leader.h" #include <rpc/client.h> #include "rpc/server.h" #include "error_out.hpp" #include "utils.hpp" #include "cert.hpp" #include <thread> int main(int argc, char **argv) { std::string arg = argv[1]; int cnt = std::stoi(arg); std::string config...
30.423077
107
0.62579
logpicker
45f5ba962b9812851ddf2324319d84be97b07978
2,455
cc
C++
wasp_exec/src/executors/inairtest.cc
tuloski/wasp_exec
00ac1e3d00e974c380a9d498a346b50996bee2e7
[ "MIT" ]
null
null
null
wasp_exec/src/executors/inairtest.cc
tuloski/wasp_exec
00ac1e3d00e974c380a9d498a346b50996bee2e7
[ "MIT" ]
null
null
null
wasp_exec/src/executors/inairtest.cc
tuloski/wasp_exec
00ac1e3d00e974c380a9d498a346b50996bee2e7
[ "MIT" ]
null
null
null
#include "inairtest.h" #include "executil.h" #include "tstutil.h" #include <iostream> #include <boost/lexical_cast.hpp> extern ros::NodeHandle * global_nh; using namespace std; Exec::InAirTest::InAirTest (std::string ns, int id) : Executor (ns, id), received_mms_state(false) { lrs_msgs_tst::TSTExecInfo einfo; ...
25.842105
112
0.684318
tuloski
45f770fd5de73b5bee28e85fe7c380fa60cdc74e
10,305
cpp
C++
src/platform/cm_utils_linux.cpp
colormotor/colormotor
645ba3e173cd001e5be60ff5cca86ecc73131fc1
[ "MIT" ]
5
2016-02-01T13:01:38.000Z
2020-10-26T11:55:38.000Z
src/platform/cm_utils_linux.cpp
colormotor/colormotor
645ba3e173cd001e5be60ff5cca86ecc73131fc1
[ "MIT" ]
null
null
null
src/platform/cm_utils_linux.cpp
colormotor/colormotor
645ba3e173cd001e5be60ff5cca86ecc73131fc1
[ "MIT" ]
1
2020-10-27T04:06:52.000Z
2020-10-27T04:06:52.000Z
#include "cm_utils.h" #include <gtk/gtk.h> #include <sys/types.h> #include <sys/inotify.h> #include <poll.h> namespace cm { static void SetDefaultPath( GtkWidget *dialog, const char *defaultPath ) { if ( !defaultPath || strlen(defaultPath) == 0 ) return; /* GTK+ manual recommends not specifically set...
25.634328
101
0.57312
colormotor
45f90d0193d17bcca649a0fd0f6369bc5dece996
3,692
hpp
C++
include/robot_faces/entities/proxy-entity.hpp
AndrewMurtagh/robot_faces
54408875584cb84beb70f090a2de3d26b781de03
[ "MIT" ]
1
2021-08-17T15:15:33.000Z
2021-08-17T15:15:33.000Z
include/robot_faces/entities/proxy-entity.hpp
AndrewMurtagh/robot_faces
54408875584cb84beb70f090a2de3d26b781de03
[ "MIT" ]
null
null
null
include/robot_faces/entities/proxy-entity.hpp
AndrewMurtagh/robot_faces
54408875584cb84beb70f090a2de3d26b781de03
[ "MIT" ]
1
2020-08-27T02:23:18.000Z
2020-08-27T02:23:18.000Z
#ifndef PROXY_ENTITY_H #define PROXY_ENTITY_H #include <SFML/Graphics.hpp> #include <robot_faces/entities/ientity.hpp> #include <robot_faces/entities/entity.hpp> #include <robot_faces/consts.hpp> #include <robot_faces/utils.hpp> template <typename T> class ProxyEntity : public IEntity { protected: // defined abov...
29.774194
110
0.702059
AndrewMurtagh
45fc2391c3045e3f754b8ea2009474e1521fd7ed
1,010
cpp
C++
plugins/libsharingserviceplugin/sharingservice.cpp
meego-tablet-ux/meego-ux-sharing
e6b87c520b5f5b49a399b87c68def4ec84d6a81e
[ "Apache-2.0" ]
null
null
null
plugins/libsharingserviceplugin/sharingservice.cpp
meego-tablet-ux/meego-ux-sharing
e6b87c520b5f5b49a399b87c68def4ec84d6a81e
[ "Apache-2.0" ]
null
null
null
plugins/libsharingserviceplugin/sharingservice.cpp
meego-tablet-ux/meego-ux-sharing
e6b87c520b5f5b49a399b87c68def4ec84d6a81e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011 Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 */ #include "sharingservice.h" #define DBUSINTFNAME QString("com.intel.sharing") #def...
28.857143
76
0.721782
meego-tablet-ux
45fce2aac33e94b504439048aa4ec3c9d19d99bc
6,959
cc
C++
kaldi_native_io/csrc/posterior.cc
csukuangfj/kaldi-native-io
7c6616092829efb21f2a3d77fe44617b68fccd9b
[ "Apache-2.0" ]
8
2022-02-01T05:36:04.000Z
2022-03-14T06:11:44.000Z
kaldi_native_io/csrc/posterior.cc
csukuangfj/kaldi-native-io
7c6616092829efb21f2a3d77fe44617b68fccd9b
[ "Apache-2.0" ]
3
2022-03-10T15:42:00.000Z
2022-03-25T18:59:34.000Z
kaldi_native_io/csrc/posterior.cc
csukuangfj/kaldi-native-io
7c6616092829efb21f2a3d77fe44617b68fccd9b
[ "Apache-2.0" ]
null
null
null
// kaldi_native_io/csrc/posterior.cc // // This file is copied/modified from // https://github.com/kaldi-asr/kaldi/blob/master/src/hmm/posterior.cc // Copyright 2009-2011 Microsoft Corporation // 2013-2014 Johns Hopkins University (author: Daniel Povey) // 2014 Guoguo Chen // ...
32.825472
80
0.575514
csukuangfj
45fe1c05afcd93c26bf3e3290dd73880379ddb9d
6,565
cpp
C++
src/plugins/win32/drawdeviceIrrlicht/irrlicht/source/Irrlicht/os.cpp
miahmie/krkrz
e4948f61393ca4a2acac0301a975165dd4efc643
[ "Unlicense", "Apache-2.0", "Libpng", "FTL", "IJG" ]
2
2020-02-25T15:18:53.000Z
2020-08-24T13:30:34.000Z
src/plugins/win32/drawdeviceIrrlicht/irrlicht/source/Irrlicht/os.cpp
miahmie/krkrz
e4948f61393ca4a2acac0301a975165dd4efc643
[ "Unlicense", "Apache-2.0", "Libpng", "FTL", "IJG" ]
null
null
null
src/plugins/win32/drawdeviceIrrlicht/irrlicht/source/Irrlicht/os.cpp
miahmie/krkrz
e4948f61393ca4a2acac0301a975165dd4efc643
[ "Unlicense", "Apache-2.0", "Libpng", "FTL", "IJG" ]
1
2019-11-25T05:29:30.000Z
2019-11-25T05:29:30.000Z
// Copyright (C) 2002-2008 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "os.h" #include "irrString.h" #include "IrrCompileConfig.h" #include "irrMath.h" #if defined(_IRR_USE_SDL_DEVICE_) #include <SDL/SDL_endia...
21.810631
127
0.642346
miahmie
45ff9ab1ff61f3bf9dac7f4918c28f7ef0628764
2,214
cpp
C++
2019/cpp/1906.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
1
2021-12-04T20:55:02.000Z
2021-12-04T20:55:02.000Z
2019/cpp/1906.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
null
null
null
2019/cpp/1906.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <unordered_map> #include <algorithm> #include "utils.hpp" using Object_map = std::unordered_map<std::string,std::string>; const std::string SENTINEL = "COM"; const std::string START = "YOU"; const std::string GOAL = "SAN"; int count_orbits(const Objec...
26.674699
79
0.531165
Chrinkus
45ffcf253ed25fd6793fc8a13fa5c2dabab6d305
2,827
cpp
C++
internal/files/configs/theme_config/theme_config.cpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
internal/files/configs/theme_config/theme_config.cpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
internal/files/configs/theme_config/theme_config.cpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
#include <tuple> #include <cstring> #include <string> #include <yaml-cpp/yaml.h> #include "theme_config.hpp" #include "./../helper/helper.hpp" #include "./../../../files/exec/exec.hpp" #ifdef __APPLE__ #include <filesystem> namespace fs = std::filesystem; #elif defined(__linux__) #include <experimental/filesystem> nam...
26.92381
110
0.605235
YarikRevich
45ffd20b3fa0b8e9830ce722a5f7b7fde5f78c82
1,725
hpp
C++
src/gameworld/gameworld/other/discountbuy/discountbuyconfig.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/other/discountbuy/discountbuyconfig.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/other/discountbuy/discountbuyconfig.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __DISCOUNT_BUY_CONFIG_HPP__ #define __DISCOUNT_BUY_CONFIG_HPP__ #include "servercommon/struct/discountbuyparam.hpp" #include "servercommon/struct/itemlistparam.h" #include "servercommon/configbase.h" #include "servercommon/pugixml/pugixml_adapter.hpp" struct DiscountBuyPhaseConfig { struct ConfigItem { Co...
23.310811
105
0.781449
mage-game
45ffef52338f5f0df00c4e1e5bbc05d9793727cb
723
hpp
C++
tests/fonts_for_tests/include/fonts_for_tests/freetype.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
4
2021-04-02T02:52:05.000Z
2021-12-11T00:42:35.000Z
tests/fonts_for_tests/include/fonts_for_tests/freetype.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
tests/fonts_for_tests/include/fonts_for_tests/freetype.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
#pragma once #include "mfl/font_family.hpp" #include "mfl/units.hpp" #include <ft2build.h> #include FT_FREETYPE_H #include <memory> namespace mfl::fft { class freetype { public: freetype(); [[nodiscard]] FT_Face face(const font_family family) const; private: using library_p...
22.59375
108
0.677732
cpp-niel
34051de0e6bbe0dbf72bc4e053b0304e33c17cd8
598
cpp
C++
Game/Formula.cpp
Thendplayer/MagicIdle
e1da124eeab95cf7e3010ee2773cef9e8d80b097
[ "MIT" ]
1
2021-02-06T04:28:39.000Z
2021-02-06T04:28:39.000Z
Game/Formula.cpp
Thendplayer/MagicIdle
e1da124eeab95cf7e3010ee2773cef9e8d80b097
[ "MIT" ]
null
null
null
Game/Formula.cpp
Thendplayer/MagicIdle
e1da124eeab95cf7e3010ee2773cef9e8d80b097
[ "MIT" ]
null
null
null
#include "Formula.h" namespace MagicIdle { Formula::Formula() : _initialValue(0), _multiplier(0), _exponent(0) { } Formula::Formula( KmbNumber initialValue, KmbNumber multiplier, float exponent ) : _initialValue(initialValue), _multiplier(multiplier), _exponent(exponent) { } KmbNumber Fo...
17.085714
74
0.704013
Thendplayer
34064a4ebd4cb298e968579d87a0931e52b9643d
1,104
cpp
C++
Examples/FavorPolicy.cpp
krzysztof-jusiak/qfsm
b339f8bdb7f4d2c65dc943cc84e0e0038552190c
[ "BSL-1.0" ]
1
2020-12-18T20:43:20.000Z
2020-12-18T20:43:20.000Z
Examples/FavorPolicy.cpp
krzysztof-jusiak/qfsm
b339f8bdb7f4d2c65dc943cc84e0e0038552190c
[ "BSL-1.0" ]
null
null
null
Examples/FavorPolicy.cpp
krzysztof-jusiak/qfsm
b339f8bdb7f4d2c65dc943cc84e0e0038552190c
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2011-2012 Krzysztof Jusiak (krzysztof at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <QFsm/QFsm.hpp> #include "Utility.hpp" class FavorPolicy : public QFsm::Fs...
22.530612
90
0.632246
krzysztof-jusiak
340abf84ca72dc3116a404e8148196dc045aaefb
4,361
hpp
C++
ros_stairsdetection/src/step.hpp
ne0h/hmmwv_stairsdetection
f07a0ac1b0063df0057d806a95cc02a7dad5cb04
[ "MIT" ]
null
null
null
ros_stairsdetection/src/step.hpp
ne0h/hmmwv_stairsdetection
f07a0ac1b0063df0057d806a95cc02a7dad5cb04
[ "MIT" ]
null
null
null
ros_stairsdetection/src/step.hpp
ne0h/hmmwv_stairsdetection
f07a0ac1b0063df0057d806a95cc02a7dad5cb04
[ "MIT" ]
null
null
null
#pragma once #include <sstream> #include <cmath> #include <geometry_msgs/Point.h> #define PI 3.14159265 /** * \brief Represents a single Step. * \author Maximilian Hess <mail@ne0h.de> */ class Step { public: /** * Default constructor that generates a Step with empty coordinates. */ Step() { m_min.x = m...
23.446237
116
0.63701
ne0h
340c93500132b2edb63a775261fe8e41be61a8a4
3,027
cpp
C++
src/uploader_util.cpp
turutosiya/mod_uploader24
7c95ee7ae7e10465cbb26ae3025036b917c5fd38
[ "Zlib" ]
null
null
null
src/uploader_util.cpp
turutosiya/mod_uploader24
7c95ee7ae7e10465cbb26ae3025036b917c5fd38
[ "Zlib" ]
null
null
null
src/uploader_util.cpp
turutosiya/mod_uploader24
7c95ee7ae7e10465cbb26ae3025036b917c5fd38
[ "Zlib" ]
null
null
null
/****************************************************************************** * Copyright (C) 2007 Tetsuya Kimata <kimata@acapulco.dyndns.org> * * All rights reserved. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any * damage...
27.026786
79
0.626693
turutosiya
340e73a06501d95e5be0c5605136975b6d80335f
2,487
cxx
C++
main/ucb/workben/cachemap/cachemapobject1.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/ucb/workben/cachemap/cachemapobject1.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/ucb/workben/cachemap/cachemapobject1.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
28.586207
75
0.663852
Grosskopf
34165f86f52d2a5977b46abfb185dad1443d3835
365
cpp
C++
Codeforces Online Judge Solve/Tanya-and-stairways.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/Tanya-and-stairways.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/Tanya-and-stairways.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define pb push_back int main () { int n; cin>>n; vector<int>a; int p=-1; for(int i=0;i<n;i++){ int x; cin>>x; if(x==1 && p!= -1) a.pb(p); p=x; } a.pb(p); cout << a.size()<< endl; ...
16.590909
29
0.386301
Remonhasan
341b248d58f23ce4253596d838e81b04c4c0542a
2,099
cpp
C++
cpp/cpp_tests/expression_templates.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
cpp/cpp_tests/expression_templates.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
cpp/cpp_tests/expression_templates.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
// Expression templates are a C++ template metaprogramming technique that builds // structures representing a computation at compile time, where expressions are // evaluated only as needed to produce efficient code for the entire computation // Expression templates thus allow programmers to bypass the normal order of /...
30.42029
80
0.679371
shadialameddin
341dd7bd451c1855ebe391af323a9ba22b7e3d9d
4,915
cpp
C++
GlobalIllumination/SceneMaterialManager.cpp
wzchua/graphic
71d154b56a268cce6a1b06e275083210e205aa60
[ "Apache-2.0" ]
null
null
null
GlobalIllumination/SceneMaterialManager.cpp
wzchua/graphic
71d154b56a268cce6a1b06e275083210e205aa60
[ "Apache-2.0" ]
null
null
null
GlobalIllumination/SceneMaterialManager.cpp
wzchua/graphic
71d154b56a268cce6a1b06e275083210e205aa60
[ "Apache-2.0" ]
null
null
null
#include "SceneMaterialManager.h" void SceneMaterialManager::addMaterialShapeGroup(const tinyobj::shape_t & shape, const tinyobj::attrib_t & attrib, const tinyobj::material_t & material, const GLuint64 textureIds[4]) { auto const & result = mMatGroupMap.find(material.name); GLuint index = -1; if (result ...
31.915584
182
0.663886
wzchua
341e6e488261d8872d6bf3e6a693542d944ece71
20,079
hpp
C++
include/scran/quality_control/PerCellQCFilters.hpp
LTLA/libscran
12faf62c42c388f26db3b03d322c5f430e2c5080
[ "MIT" ]
4
2021-06-16T10:08:04.000Z
2022-02-23T14:03:41.000Z
include/scran/quality_control/PerCellQCFilters.hpp
LTLA/libscran
12faf62c42c388f26db3b03d322c5f430e2c5080
[ "MIT" ]
3
2021-10-16T23:14:47.000Z
2021-12-23T07:51:54.000Z
include/scran/quality_control/PerCellQCFilters.hpp
LTLA/libscran
12faf62c42c388f26db3b03d322c5f430e2c5080
[ "MIT" ]
null
null
null
#ifndef SCRAN_PER_CELL_QC_FILTERS_H #define SCRAN_PER_CELL_QC_FILTERS_H #include <vector> #include <cstdint> #include "../utils/vector_to_pointers.hpp" #include "PerCellQCMetrics.hpp" #include "IsOutlier.hpp" /** * @file PerCellQCFilters.hpp * * @brief Create filters to identify low-quality cells. */ namespace...
50.072319
216
0.644554
LTLA
34218751873b8b49f12bcc12e66aee4cc7835ce1
255
cpp
C++
Raven.CppClient/SecurityException.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient/SecurityException.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient/SecurityException.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
#include "stdafx.h" #include "SecurityException.h" namespace ravendb::client::exceptions::security { SecurityException::SecurityException() = default; SecurityException::SecurityException(const std::string& message) : RavenException(message) {} }
21.25
65
0.768627
mlawsonca
34236195e8e1235d60be03bdc07a19a8ddd6772e
2,225
cpp
C++
android/android_9/device/google/cuttlefish_common/common/libs/fs/shared_fd_test.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/device/google/cuttlefish_common/common/libs/fs/shared_fd_test.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/device/google/cuttlefish_common/common/libs/fs/shared_fd_test.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31.338028
85
0.68809
yakuizhao
342530a70e80e04bf75b6ab21cfe0dcf5b929481
492
cpp
C++
codeforces/edu/ITMO Academy: pilot course/Disjoint Sets Union/step 2/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/edu/ITMO Academy: pilot course/Disjoint Sets Union/step 2/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/edu/ITMO Academy: pilot course/Disjoint Sets Union/step 2/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> #include <cpplib/adt/dsu.hpp> int32_t main(){ desync(); int n; cin >> n; vi ans(n); iota(all(ans), 0); DSU dsu(n+1); vi out; for(int i=0; i<n; ++i){ int pos; cin >> pos; pos--; int res = ans[dsu.find(pos)]; out.eb(r...
16.965517
45
0.463415
tysm
3427a2fac8769a71418ca5bb8e56ce9ec36c52fb
1,308
cpp
C++
cpp/libs/src/opendnp3/gen/FlowControl.cpp
Kisensum/dnp3
0b525927562eb052e9406075811b283d80975bf8
[ "Apache-2.0" ]
1
2021-06-25T07:22:24.000Z
2021-06-25T07:22:24.000Z
deps/dnp3/cpp/libs/src/opendnp3/gen/FlowControl.cpp
danilob2/pyopendnp3_mac
c6b8297f6817555ebff28293bef82e9bffddc1fd
[ "Apache-2.0" ]
null
null
null
deps/dnp3/cpp/libs/src/opendnp3/gen/FlowControl.cpp
danilob2/pyopendnp3_mac
c6b8297f6817555ebff28293bef82e9bffddc1fd
[ "Apache-2.0" ]
1
2021-07-21T03:15:18.000Z
2021-07-21T03:15:18.000Z
// // _ _ ______ _ _ _ _ _ _ _ // | \ | | | ____| | (_) | (_) | | | | // | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | | // | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | | // | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_| // |_| \_|\___/ |______\__,_|_|\...
23.781818
67
0.509174
Kisensum
3429c561c95f5356ca35dfae687cbca046f045c4
6,782
hpp
C++
agario/core/types.hpp
jondeaton/AgarLE
f3e956109a245f1297b152cb71d25f9446880f6e
[ "MIT" ]
6
2020-01-16T14:31:18.000Z
2022-03-08T15:22:32.000Z
agario/core/types.hpp
jondeaton/AgarLE
f3e956109a245f1297b152cb71d25f9446880f6e
[ "MIT" ]
null
null
null
agario/core/types.hpp
jondeaton/AgarLE
f3e956109a245f1297b152cb71d25f9446880f6e
[ "MIT" ]
2
2020-04-26T02:01:33.000Z
2021-12-14T11:51:34.000Z
#pragma once #include <cmath> #include <iostream> #include <chrono> #include "agario/core/num_wrapper.hpp" namespace agario { /** * All of the game types (renderable or not) need to be * forward-declared right here because we need to be able to * compile the non-renderable targets without any references ...
25.02583
85
0.60985
jondeaton
3429e4a18e9e9f0a9121f79e7cd3cc139464cf9b
1,840
cpp
C++
src/test/compacttxfinder_tests.cpp
WestonReed/bitcoinxt
ac5b611797cb83226b7abce53cc50d48cb2a0c16
[ "MIT" ]
515
2015-01-03T03:44:52.000Z
2022-02-11T18:37:43.000Z
src/test/compacttxfinder_tests.cpp
WestonReed/bitcoinxt
ac5b611797cb83226b7abce53cc50d48cb2a0c16
[ "MIT" ]
427
2015-01-20T15:15:26.000Z
2020-08-31T10:48:30.000Z
src/test/compacttxfinder_tests.cpp
WestonReed/bitcoinxt
ac5b611797cb83226b7abce53cc50d48cb2a0c16
[ "MIT" ]
192
2015-02-15T01:23:16.000Z
2021-11-04T16:42:20.000Z
// Copyright (c) 2016 The Bitcoin XT developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/test/unit_test_suite.hpp> #include <boost/test/test_tools.hpp> #include "blockencodings.h" #include "compactprefiller...
32.280702
75
0.694022
WestonReed
342fb1fb962582e097bc3884a3c5631796c62b79
3,146
cpp
C++
src/io/file_parser.cpp
kaiyuhou/nprint-wlan
d8ded24a1f08087b8484f652215354f0202227f3
[ "Apache-2.0" ]
null
null
null
src/io/file_parser.cpp
kaiyuhou/nprint-wlan
d8ded24a1f08087b8484f652215354f0202227f3
[ "Apache-2.0" ]
null
null
null
src/io/file_parser.cpp
kaiyuhou/nprint-wlan
d8ded24a1f08087b8484f652215354f0202227f3
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 nPrint * 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 https://www.apache.org/licenses/LICENSE-2.0 */ #include "file_parser.hpp" #define CUSTOM_OUTPUT_RESERVE_SIZE...
23.654135
99
0.618245
kaiyuhou
34329bdaac7e37881e159a5b85cdd2241e8b0cf0
2,011
cpp
C++
sourceCode/application/ui/project/dialog_selectoneoflayers.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
2
2022-02-27T20:08:04.000Z
2022-03-03T13:45:40.000Z
sourceCode/application/ui/project/dialog_selectoneoflayers.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
1
2021-06-07T17:09:04.000Z
2021-06-11T11:48:23.000Z
sourceCode/application/ui/project/dialog_selectoneoflayers.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
1
2021-06-03T21:06:55.000Z
2021-06-03T21:06:55.000Z
#include <QVector> #include <QDebug> #include "dialog_selectoneoflayers.h" #include "ui_dialog_selectoneoflayers.h" Dialog_selectOneOfLayers::Dialog_selectOneOfLayers(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog_selectOneOfLayers), _tRadioButtonPtr {nullptr, nullptr, nullptr}, _selected_iLayer(-1...
28.728571
119
0.669816
lp-rep
3434c95eca8494631784e41d96583fabc8c23f07
809
hpp
C++
src/procman/exec_string_utils.hpp
ashuang/procman
0ba4409878117c727b3c59ab4fac800bdc9ee1b1
[ "BSD-3-Clause" ]
9
2019-01-04T09:52:06.000Z
2022-01-13T09:20:57.000Z
include/procman/exec_string_utils.hpp
ori-drs/procman_ros
769354bd45fab0653c2537c857431553a08b0a5e
[ "BSD-3-Clause" ]
32
2020-05-11T13:32:30.000Z
2022-02-22T09:39:28.000Z
src/procman/exec_string_utils.hpp
ashuang/procman
0ba4409878117c727b3c59ab4fac800bdc9ee1b1
[ "BSD-3-Clause" ]
12
2016-11-19T18:15:56.000Z
2021-09-27T00:04:49.000Z
#ifndef PROCMAN_EXEC_STRING_UTILS_HPP__ #define PROCMAN_EXEC_STRING_UTILS_HPP__ #include <map> #include <string> #include <vector> #include "procman.hpp" namespace procman { /** * Do variable expansion on a command argument. This searches the argument for * text of the form $VARNAME and ${VARNAME}. For each dis...
26.096774
79
0.752781
ashuang
3436e7ad4fdca95ae34addb8b907bc9c8fff5d65
8,739
cc
C++
coela_core/src/implementation/pixel_array_routines.cc
timstaley/coelacanth
d8adc49bac5dac54fdce600ea0260c526ce361af
[ "BSD-2-Clause" ]
1
2020-10-22T03:08:45.000Z
2020-10-22T03:08:45.000Z
coela_core/src/implementation/pixel_array_routines.cc
timstaley/coelacanth
d8adc49bac5dac54fdce600ea0260c526ce361af
[ "BSD-2-Clause" ]
null
null
null
coela_core/src/implementation/pixel_array_routines.cc
timstaley/coelacanth
d8adc49bac5dac54fdce600ea0260c526ce361af
[ "BSD-2-Clause" ]
null
null
null
/* * File: pixel_array_routines.cc * Author: ts337 * * Created on 26 August 2011, 17:06 */ #include "../pixel_array_routines.h" #include "coela_utility/src/microstats.h" #include <stdexcept> using std::pair; namespace coela { namespace pixel_array_routines { template<typename T> PixelPosition centroid(const P...
37.506438
139
0.580501
timstaley
3439607697e5e8c1e6579a95521eb6dbbd337fef
1,757
cpp
C++
Faciles/ASCII Art.cpp
informaticienzero/CodinGame
c6aac236b1929be0a0c254c7bf92adf7c5ead5cd
[ "MIT" ]
2
2019-08-22T07:12:24.000Z
2019-12-03T21:12:09.000Z
Faciles/ASCII Art.cpp
informaticienzero/CodinGame
c6aac236b1929be0a0c254c7bf92adf7c5ead5cd
[ "MIT" ]
null
null
null
Faciles/ASCII Art.cpp
informaticienzero/CodinGame
c6aac236b1929be0a0c254c7bf92adf7c5ead5cd
[ "MIT" ]
7
2019-03-18T00:47:14.000Z
2021-07-12T08:41:42.000Z
#include <array> #include <cctype> #include <iostream> #include <string> #include <vector> struct Letter { char associated_char; std::vector<std::string> parts; }; int main() { int L; std::cin >> L; std::cin.ignore(); int H; std::cin >> H; std::cin.ignore(); std::string T; std::ge...
21.168675
65
0.467843
informaticienzero
3439f2921d7cdb9e032ed289151e9ee4e823baaf
273
cpp
C++
Upsolving/Codeforces/1107B.cpp
rodrigoAMF7/Notebook---Maratonas
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
4
2019-01-25T21:22:55.000Z
2019-03-20T18:04:01.000Z
Upsolving/Codeforces/1107B.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
Upsolving/Codeforces/1107B.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int main(){ /* freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); */ ll n, k, x; cin >> n; while(n--){ cin >> k >> x; cout << ((k - 1)*9) + x << "\n"; } return 0; }
10.92
36
0.498168
rodrigoAMF7
343bddfdcce0329ae08d2b1d34f6169deb8253ff
320
cpp
C++
source/chapter_05/listings/listing_05_01_forloop.cpp
ShinyGreenRobot/CPP-Primer-Plus-Sixth-Edition
ce2c8fca379508929dfd24dce10eff2c09117999
[ "MIT" ]
null
null
null
source/chapter_05/listings/listing_05_01_forloop.cpp
ShinyGreenRobot/CPP-Primer-Plus-Sixth-Edition
ce2c8fca379508929dfd24dce10eff2c09117999
[ "MIT" ]
null
null
null
source/chapter_05/listings/listing_05_01_forloop.cpp
ShinyGreenRobot/CPP-Primer-Plus-Sixth-Edition
ce2c8fca379508929dfd24dce10eff2c09117999
[ "MIT" ]
null
null
null
/** * \file * listing_05_01_forloop.cpp * * \brief * Introducing the for loop. */ #include <iostream> int main() { using namespace std; int i; // create a counter // initialize; test ; update for (i = 0; i < 5; i++) { cout << "C++ knows loops.\n"; } cout << "C++ knows when to stop.\n"; return 0; }
12.307692
37
0.571875
ShinyGreenRobot
34409e545ddc67c337a3a2684c66f9182c837c27
3,803
cpp
C++
src/socket.cpp
unitedtimur/POP3Client
d1aacb67dd31f0042a3f7a1c7ef71a276c6db262
[ "MIT" ]
1
2021-10-17T12:46:05.000Z
2021-10-17T12:46:05.000Z
src/socket.cpp
unitedtimur/POP3Client
d1aacb67dd31f0042a3f7a1c7ef71a276c6db262
[ "MIT" ]
null
null
null
src/socket.cpp
unitedtimur/POP3Client
d1aacb67dd31f0042a3f7a1c7ef71a276c6db262
[ "MIT" ]
null
null
null
#include "../include/socket.h" #include "../include/configuration.h" #include "../include/functionality.h" #include "WS2tcpip.h" Socket::Socket(const std::wstring& host, const std::wstring& port) : host(host), port(port), clientSocket(-1), addr(nullptr) { } Socket::~Socket() { // Закрываем сокет closesocket(th...
21.01105
124
0.707073
unitedtimur