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
a5eda7665398f3f945033b325a5aa8fcb2a15ea4
351
cpp
C++
Demo_04/main.cpp
vitahlin/VitahCmake
a5360ca9ce548fa16f40e98e2a7985d5fd6978cf
[ "MIT" ]
null
null
null
Demo_04/main.cpp
vitahlin/VitahCmake
a5360ca9ce548fa16f40e98e2a7985d5fd6978cf
[ "MIT" ]
null
null
null
Demo_04/main.cpp
vitahlin/VitahCmake
a5360ca9ce548fa16f40e98e2a7985d5fd6978cf
[ "MIT" ]
null
null
null
#include <iostream> #include "doubleNum.h" #include "powNum.h" using namespace std; #define MAX_NUM 4 int main(int argc, char *argv[]) { cout << "This is Demo_4 " << endl; cout << "Max Num is " << MAX_NUM << endl; cout << "Double is " << doubleNum(MAX_NUM) << endl; cout << "Power is " << powNum(MAX_N...
23.4
55
0.598291
vitahlin
a5edc3d70372b7962417edba21fe1dc2defc4ad1
134
cpp
C++
QtDemoApp/QtDemoApp.cpp
F474M0R64N4/license-system
982f1297948353b58d736009a08c697c3e15a41b
[ "MIT" ]
4
2020-10-13T19:57:16.000Z
2021-09-08T11:57:12.000Z
QtDemoApp/QtDemoApp.cpp
F474M0R64N4/license-system
982f1297948353b58d736009a08c697c3e15a41b
[ "MIT" ]
null
null
null
QtDemoApp/QtDemoApp.cpp
F474M0R64N4/license-system
982f1297948353b58d736009a08c697c3e15a41b
[ "MIT" ]
null
null
null
#include "QtDemoApp.h" #include "stdafx.h" QtDemoApp::QtDemoApp(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); }
14.888889
37
0.686567
F474M0R64N4
a5ee24b372e1247559f7273726575e2525659796
1,300
hpp
C++
source/common.hpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
3
2020-08-10T13:37:48.000Z
2021-07-06T10:14:39.000Z
source/common.hpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
null
null
null
source/common.hpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
null
null
null
#ifndef MASONC_COMMON_HPP #define MASONC_COMMON_HPP #include <iostream> #include <cstdint> #include <cstdlib> namespace masonc { using s8 = int8_t; using s16 = int16_t; using s32 = int32_t; using s64 = int64_t; using u8 = uint8_t; using u16 = uint16_t; using u32 = uint32_t; using u64 = uint64_t; using f32 ...
18.055556
68
0.572308
ThatGuyMike7
a5f01c982bcd6aee3293a2863608db335b73fb03
8,146
cpp
C++
src/ioManager.cpp
maxwillf/Huffman
8de0e08050b5ada24c0114b8832fca192f8abce7
[ "MIT" ]
null
null
null
src/ioManager.cpp
maxwillf/Huffman
8de0e08050b5ada24c0114b8832fca192f8abce7
[ "MIT" ]
null
null
null
src/ioManager.cpp
maxwillf/Huffman
8de0e08050b5ada24c0114b8832fca192f8abce7
[ "MIT" ]
null
null
null
#include "../include/ioManager.h" int *IOManager::countFrequencies(std::ifstream &input) { int *ascii = new int[128]; char c = '\0'; while (input.get(c)) { if ((int) c == 10) continue; ascii[(int) c] +=1; } for (int i = 0; i < 128; ++i) { if (ascii[i] != 0) { ...
23.274286
94
0.465873
maxwillf
a5f0640634f5d138d8050e6a60263d9f048cb94f
304
cpp
C++
TimerThread.cpp
xuleilx/TimerThread
74e0759f879597ac2e9a48509af72ab12bb493d8
[ "MIT" ]
null
null
null
TimerThread.cpp
xuleilx/TimerThread
74e0759f879597ac2e9a48509af72ab12bb493d8
[ "MIT" ]
null
null
null
TimerThread.cpp
xuleilx/TimerThread
74e0759f879597ac2e9a48509af72ab12bb493d8
[ "MIT" ]
null
null
null
#include "TimerThread.h" TimerThread::TimerThread(int val, int interval, Callback cb) :_timer(val, interval, std::move(cb)), _thread(std::bind(&Timer::start, &_timer)) { } void TimerThread::start() { _thread.start(); } void TimerThread::stop() { _timer.stop(); _thread.join(); }
15.2
60
0.644737
xuleilx
a5f5c2c204ac6234895f3d98507208f20884c11c
459
cc
C++
chrome/browser/policy/cloud_policy_provider.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
chrome/browser/policy/cloud_policy_provider.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
chrome/browser/policy/cloud_policy_provider.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011 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/policy/cloud_policy_provider.h" namespace policy { CloudPolicyProvider::CloudPolicyProvider( const PolicyDefinitionList...
25.5
73
0.771242
gavinp
a5f9f8ff5e5826ab9ff5edb39e4173a69d49f7d6
3,638
hxx
C++
private/inet/mshtml/dead/site/dfrm/propchg.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/dead/site/dfrm/propchg.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/dead/site/dfrm/propchg.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1994 // // File: propchg.hxx // // Contents: defines the propnotification holder class // // Classes: CPropertyChange // // Maintained by Frankman /...
31.912281
115
0.600605
King0987654
a5fbf18ca957270531a4f7c6926d659ace12a737
530
cpp
C++
components/common/tests/strlib/regexp3.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/common/tests/strlib/regexp3.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/common/tests/strlib/regexp3.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include <stdio.h> #include <common/strlib.h> using namespace stl; using namespace common; int main () { printf ("Results of regexp3_test:\n"); const char* pattern = "dynamic *\\( *([[:digit:]]*) *, *([[:digit:]]*) *, *'(.*)' *\\).*"; const char* str = "dynamic (256 , 512,'test_query')???"; StringArray ...
23.043478
92
0.567925
untgames
a5ff2dc7d7d2edf3377a16a2dd0dea6bb814a1bd
1,223
cpp
C++
src/Solver2.cpp
SanteriHetekivi/JudgmentSolver
ede2c336cbed8e595d6cf296175181725cbfab61
[ "Apache-2.0" ]
null
null
null
src/Solver2.cpp
SanteriHetekivi/JudgmentSolver
ede2c336cbed8e595d6cf296175181725cbfab61
[ "Apache-2.0" ]
null
null
null
src/Solver2.cpp
SanteriHetekivi/JudgmentSolver
ede2c336cbed8e595d6cf296175181725cbfab61
[ "Apache-2.0" ]
null
null
null
#include "Solver2.hpp" // public: /** * @brief Initialize solver with integer values for A, B, C and D. * */ Solver2::Solver2() { } /** * @brief Running solver and returning pointer to correct result. * */ int *Solver2::run() { // Running all the tests. if (!this->test(111, 2, 3)) throw TEST_...
19.412698
66
0.582175
SanteriHetekivi
570019bfd7a1ae4cb73439d908ab22dae9ef0b6f
2,864
cpp
C++
LeetCode/C++/1536. Minimum Swaps to Arrange a Binary Grid.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/1536. Minimum Swaps to Arrange a Binary Grid.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/1536. Minimum Swaps to Arrange a Binary Grid.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//WA //104 / 129 test cases passed. //[[1,0,0,0,0,0],[0,1,0,1,0,0],[1,0,0,0,0,0],[1,1,1,0,0,0],[1,1,0,1,0,0],[1,0,0,0,0,0]] class Solution { public: int minSwaps(vector<vector<int>>& grid) { int n = grid.size(); vector<pair<int, int>> maxRight(n); for(int i = 0; i < n; ++i)...
31.472527
145
0.440642
shreejitverma
570226223317993e885a3bb8083bfba067ae4628
17,223
cc
C++
src/modular/tests/module_context_test.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
src/modular/tests/module_context_test.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
src/modular/tests/module_context_test.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 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 <fuchsia/modular/testing/cpp/fidl.h> #include <lib/fsl/vmo/strings.h> #include <lib/modular_test_harness/cpp/fake_module.h> #include <lib/modular_...
41.401442
100
0.702317
zhangpf
57038c2c1e697f411729105cb1dab6214c993c82
2,758
cpp
C++
include/asioext/impl/file_handle.cpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
17
2018-04-13T00:38:55.000Z
2022-01-21T08:38:36.000Z
include/asioext/impl/file_handle.cpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
4
2017-03-16T03:34:38.000Z
2020-05-08T00:05:51.000Z
include/asioext/impl/file_handle.cpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
5
2017-09-06T15:56:04.000Z
2021-09-14T07:38:02.000Z
/// @copyright Copyright (c) 2015 Tim Niederhausen (tim@rnc-ag.de) /// 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 "asioext/file_handle.hpp" #include "asioext/detail/throw_error.hpp" ASIOEXT_NS_BEGIN ...
21.215385
91
0.694344
zweistein-frm2
5712df6e00d1ab2b785c47a085d18056c5f285e7
1,490
cc
C++
src/phy/AutoGain.cc
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
8
2020-12-05T20:30:54.000Z
2022-01-22T13:32:14.000Z
src/phy/AutoGain.cc
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
3
2020-10-28T22:15:27.000Z
2021-01-27T14:43:41.000Z
src/phy/AutoGain.cc
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
null
null
null
// Copyright 2018-2020 Drexel University // Author: Geoffrey Mainland <mainland@drexel.edu> #include "logging.hh" #include "phy/AutoGain.hh" void AutoGain::autoSoftGain0dBFS(float g, std::shared_ptr<IQBuf> buf) { { std::unique_lock<std::shared_mutex> lock(mutex_); if (nestimates_0dBFS_ > 0) ...
24.42623
81
0.58255
drexelwireless
5713256abe23bcd57036b18d9639c7a22c42922e
3,309
hpp
C++
src/common/global/global.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
src/common/global/global.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
src/common/global/global.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016-2019 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
37.602273
86
0.550922
mshiryaev
5718d406a63067946b8977563d455cf8cc504621
1,180
cpp
C++
PA1/src/Scene.cpp
dowoncha/COMP575
6e48bdd80cb1a3e677c07655640efa941325e59c
[ "MIT" ]
null
null
null
PA1/src/Scene.cpp
dowoncha/COMP575
6e48bdd80cb1a3e677c07655640efa941325e59c
[ "MIT" ]
null
null
null
PA1/src/Scene.cpp
dowoncha/COMP575
6e48bdd80cb1a3e677c07655640efa941325e59c
[ "MIT" ]
null
null
null
#include "Scene.h" Scene::Scene() { } Scene::~Scene() { for (Surface* s : Surfaces) { delete s; } for (Light* l : Lights) { delete l; } } void Scene::AddSurface(Surface* s) { Surfaces.push_back(s); } void Scene::AddLight(Light* l) { Lights.push_back(l); } bool Scene...
18.153846
86
0.545763
dowoncha
571946ce5f50cbfcefca6e36e3c4a56f6d2b1851
1,056
cpp
C++
codeforces/441div2/A/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
codeforces/441div2/A/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
codeforces/441div2/A/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first <<...
19.2
49
0.47822
Johniel
5719f56df9b589bdc681f0e94d09c6925c683e0d
2,709
cpp
C++
RemClientCPP/client_libsocket/client_libsocket.cpp
nemo9955/RespirMesh
afef38c85e5686a565d1d6b577578e1fdc426cbc
[ "Apache-2.0" ]
null
null
null
RemClientCPP/client_libsocket/client_libsocket.cpp
nemo9955/RespirMesh
afef38c85e5686a565d1d6b577578e1fdc426cbc
[ "Apache-2.0" ]
null
null
null
RemClientCPP/client_libsocket/client_libsocket.cpp
nemo9955/RespirMesh
afef38c85e5686a565d1d6b577578e1fdc426cbc
[ "Apache-2.0" ]
null
null
null
#include <pb_encode.h> #include <pb_decode.h> #include <pb.h> #include <signal.h> #include "mesh-packet.pb.h" #include "RemHeaderTypes.hpp" #include "RemChannel.hpp" #include "RemOrchestrator.hpp" #include "RemRouter.hpp" #include "RemConnectionController.hpp" #include "RemLogger.hpp" #include "TaskLooper.hpp" #inclu...
24.1875
105
0.635659
nemo9955
571eed7509330fe9237cc46a01edb5c9cc7a93a3
3,698
cpp
C++
firmware/modules/core/cRgbw.cpp
klaus-liebler/sensact
b8fc05eff67f23cf58c4fdf53e0026aab0966f6b
[ "Apache-2.0" ]
2
2021-02-09T16:17:43.000Z
2021-08-09T04:02:44.000Z
firmware/modules/core/cRgbw.cpp
klaus-liebler/sensact
b8fc05eff67f23cf58c4fdf53e0026aab0966f6b
[ "Apache-2.0" ]
2
2016-05-17T20:45:10.000Z
2020-03-10T07:03:39.000Z
firmware/modules/core/cRgbw.cpp
klaus-liebler/sensact
b8fc05eff67f23cf58c4fdf53e0026aab0966f6b
[ "Apache-2.0" ]
1
2020-05-24T13:37:55.000Z
2020-05-24T13:37:55.000Z
#include "cMaster.h" #include "cRgbw.h" #define LOGLEVEL LEVEL_INFO #define LOGNAME "RGBW " #include "cLog.h" namespace sensact { //targetValue absolut setzen oder aktuellen targetValue ver�ndern mit einem sint16_t //oder ausschalten, sonst geht der targetLevel nicht auf 0 cRgbw::cRgbw(const eApplicationID id, uint1...
26.042254
312
0.751217
klaus-liebler
57204e8a0af2a07ece27f8de81c6dacb89509453
3,714
cpp
C++
gui/dialogs/pixelize-dialog.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
gui/dialogs/pixelize-dialog.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
gui/dialogs/pixelize-dialog.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2013 Lukas Kemmer // // 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 a...
26.719424
79
0.679052
lukas-ke
5727218bb4d7c664723283b21759cb4abc996ae9
1,219
cc
C++
vendor/chromium/base/android/child_process_unittest.cc
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
vendor/chromium/base/android/child_process_unittest.cc
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
802
2017-04-21T14:18:36.000Z
2022-03-31T21:20:48.000Z
vendor/chromium/base/android/child_process_unittest.cc
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// 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 "base/android/jni_android.h" #include "base/run_loop.h" #include "base/test/multiprocess_test.h" #include "base/test/test_timeouts.h" #include "t...
28.348837
73
0.769483
thorium-cfx
5729cb383bf59af6b6ff843255dfd1cf3acd3b8e
5,258
cpp
C++
src/MultiMonteCarloTreeSearch.cpp
renewang/HexGame
21d271091c0b09dd701e1d7b61673ab944e7d45b
[ "MIT" ]
1
2015-05-05T08:35:11.000Z
2015-05-05T08:35:11.000Z
src/MultiMonteCarloTreeSearch.cpp
renewang/HexGame
21d271091c0b09dd701e1d7b61673ab944e7d45b
[ "MIT" ]
null
null
null
src/MultiMonteCarloTreeSearch.cpp
renewang/HexGame
21d271091c0b09dd701e1d7b61673ab944e7d45b
[ "MIT" ]
null
null
null
/* * MultiMonteCarloTreeSearch.cpp * This file declares a Mont Carlo Tree Search implementation for AI player * Created on: Feb 11, 2014 * Author: renewang */ #include "Global.h" #include "LockableGameTree.h" #include "MultiMonteCarloTreeSearch.h" #include <algorithm> #include <boost/thread/detail/memory.h...
42.747967
158
0.699696
renewang
572ca03d6bead26129956de432ea288566889b62
317
cpp
C++
src/lib/bios_opencv/filter/grab_frame.cpp
BioBoost/opencv_potty_detector
45700507dc491f899c8d8a2bfa5212fe4310e3e2
[ "MIT" ]
1
2018-02-21T19:00:29.000Z
2018-02-21T19:00:29.000Z
src/lib/bios_opencv/filter/grab_frame.cpp
BioBoost/opencv_potty_detector
45700507dc491f899c8d8a2bfa5212fe4310e3e2
[ "MIT" ]
null
null
null
src/lib/bios_opencv/filter/grab_frame.cpp
BioBoost/opencv_potty_detector
45700507dc491f899c8d8a2bfa5212fe4310e3e2
[ "MIT" ]
null
null
null
#include "grab_frame.h" namespace BiosOpenCV { GrabFrame::GrabFrame(cv::Mat& result, FrameGrabber * frame_grabber) : OutputFilter(result) { this->frame_grabber = frame_grabber; } void GrabFrame::execute(void) { cv::Mat frame = frame_grabber->grab_frame(); frame.copyTo(get_result()); } };
19.8125
69
0.684543
BioBoost
572dd1921403d80652dab4116fffdd442bdb8d6c
507
cpp
C++
1301-1400/1317-Convert Integer to the Sum of Two No-Zero Integers/1317-Convert Integer to the Sum of Two No-Zero Integers.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
1301-1400/1317-Convert Integer to the Sum of Two No-Zero Integers/1317-Convert Integer to the Sum of Two No-Zero Integers.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
1301-1400/1317-Convert Integer to the Sum of Two No-Zero Integers/1317-Convert Integer to the Sum of Two No-Zero Integers.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: vector<int> getNoZeroIntegers(int n) { int A = 0; bool hasZero = false; do { ++A; hasZero = false; if (to_string(A).find('0') != string::npos) { hasZero = true; } else { if (t...
24.142857
65
0.368836
jiadaizhao
572f0a71176a2bbdded6ad9534af864370daa235
5,922
hpp
C++
common/logging/include/claragenomics/logging/logging.hpp
billchenxi/ClaraGenomicsAnalysis
544effc5881560de6d316f39c47c87014da14d70
[ "Apache-2.0" ]
1
2020-01-21T09:07:02.000Z
2020-01-21T09:07:02.000Z
common/logging/include/claragenomics/logging/logging.hpp
billchenxi/ClaraGenomicsAnalysis
544effc5881560de6d316f39c47c87014da14d70
[ "Apache-2.0" ]
1
2020-12-04T06:24:05.000Z
2020-12-04T06:24:05.000Z
common/logging/include/claragenomics/logging/logging.hpp
billchenxi/ClaraGenomicsAnalysis
544effc5881560de6d316f39c47c87014da14d70
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this software and ...
32.538462
101
0.756839
billchenxi
572fad19e76a2beb0fa39b24f596ad8638156222
566
cpp
C++
myLinuxMonitor/tableview.cpp
Xiang-Pan/HUST_OS_CourseProject
c04a51dd71a30d6f3f1f760c3674ca5fabc29e5f
[ "MIT" ]
4
2020-07-22T15:25:00.000Z
2022-03-27T09:22:31.000Z
myLinuxMonitor/tableview.cpp
HoverWings/HUST_OS_CourseProject
c04a51dd71a30d6f3f1f760c3674ca5fabc29e5f
[ "MIT" ]
null
null
null
myLinuxMonitor/tableview.cpp
HoverWings/HUST_OS_CourseProject
c04a51dd71a30d6f3f1f760c3674ca5fabc29e5f
[ "MIT" ]
null
null
null
/* FileName: tableview.cpp * Author: Hover * E-Mail: hover@hust.edu.cn * GitHub: HoverWings * Description: tableview overload */ #include "tableview.h" #include "tablemodel.h" #include "progressbardelegate.h" TableView::TableView(QWidget *parent) : QTableView(parent) { iniData(); } Tab...
18.866667
58
0.683746
Xiang-Pan
5732522781098380fce8a3e94688427fd91c611f
2,847
cpp
C++
net/tapi/skywalker/apps/avdialer/avdialer/dialtoolbr.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/tapi/skywalker/apps/avdialer/avdialer/dialtoolbr.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/tapi/skywalker/apps/avdialer/avdialer/dialtoolbr.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
///////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 1997 Active Voice Corporation. All Rights Reserved. // // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation. // // Other brand and product names used herein are tr...
27.375
94
0.597471
npocmaka
5733eb52abb19370a610a08e87ee52b8a416eaf2
7,885
cpp
C++
Examen3/filosofos_camarero_ex.cpp
Cadiducho/UGR-Sistemas-Concurrentes-Distribuidos
f9d91308a2df93c4b84f630b9a146231027e35dd
[ "MIT" ]
1
2017-12-25T20:15:08.000Z
2017-12-25T20:15:08.000Z
Examen3/filosofos_camarero_ex.cpp
Cadiducho/UGR-Sistemas-Concurrentes-Distribuidos
f9d91308a2df93c4b84f630b9a146231027e35dd
[ "MIT" ]
null
null
null
Examen3/filosofos_camarero_ex.cpp
Cadiducho/UGR-Sistemas-Concurrentes-Distribuidos
f9d91308a2df93c4b84f630b9a146231027e35dd
[ "MIT" ]
null
null
null
#include <mpi.h> #include <thread> #include <random> #include <chrono> #include <iostream> using namespace std; using namespace std::this_thread ; using namespace std::chrono ; const int num_filosofos = 5 , num_procesos = 2*num_filosofos ; const int accion_soltar = 0, accion_coger = 1, accion_sentarse = 2, accion_l...
40.64433
132
0.599493
Cadiducho
5736f5d36bbfafce59a69072822e7e335c6c639a
5,251
hpp
C++
packages/monte_carlo/collision/native/src/MonteCarlo_StandardPhotoatomicReaction.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/src/MonteCarlo_StandardPhotoatomicReaction.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/src/MonteCarlo_StandardPhotoatomicReaction.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_StandardPhotoatomicReaction.hpp //! \author Alex Robinson //! \brief The standard photoatomic reaction base class declaration //! //---------------------------------------------------------------------------// #...
32.81875
82
0.689583
lkersting
573945dbbc052f7a77ec3b1a7ae29ce1374d1f64
1,841
cpp
C++
src/nodes/utility.cpp
csvance/jetson_tensorrt
a406fd4f89352742a03765c5eabc2655442b01cb
[ "MIT" ]
9
2018-10-14T12:06:29.000Z
2019-11-07T02:17:25.000Z
src/nodes/utility.cpp
csvance/jetson_tensorrt
a406fd4f89352742a03765c5eabc2655442b01cb
[ "MIT" ]
10
2018-10-11T00:18:09.000Z
2018-10-25T12:43:40.000Z
src/nodes/utility.cpp
csvance/ros_jetson_tensorrt
a406fd4f89352742a03765c5eabc2655442b01cb
[ "MIT" ]
2
2019-12-28T11:55:57.000Z
2021-02-03T11:01:35.000Z
/** * @file utility.cpp * @author Carroll Vance * @brief Node Utility Functions * * Copyright (c) 2018 Carroll Vance. * * 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 restri...
33.472727
77
0.716458
csvance
5739c1d6759bbd572e67e59cb1f4569bcd017480
7,905
cpp
C++
libClearCore/src/ShiftRegister.cpp
SSteve/ClearCore-library
5d13647aa1e8045451695bc1b26b5fd745dc16c8
[ "MIT" ]
8
2020-06-25T20:50:59.000Z
2022-02-24T18:52:32.000Z
libClearCore/src/ShiftRegister.cpp
SSteve/ClearCore-library
5d13647aa1e8045451695bc1b26b5fd745dc16c8
[ "MIT" ]
null
null
null
libClearCore/src/ShiftRegister.cpp
SSteve/ClearCore-library
5d13647aa1e8045451695bc1b26b5fd745dc16c8
[ "MIT" ]
8
2020-08-11T00:54:24.000Z
2022-03-05T22:23:24.000Z
/* * Copyright (c) 2020 Teknic, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publis...
32.665289
80
0.672486
SSteve
573f5c01356eb80f9361483fd66c7b9372074c2b
5,011
cpp
C++
src/analysis.cpp
git-steb/structural-deformable-models
4706a65e0dc031d16e259e526fd6a55e805855d1
[ "MIT" ]
2
2017-03-01T20:07:09.000Z
2020-07-12T11:02:21.000Z
src/analysis.cpp
git-steb/structural-deformable-models
4706a65e0dc031d16e259e526fd6a55e805855d1
[ "MIT" ]
null
null
null
src/analysis.cpp
git-steb/structural-deformable-models
4706a65e0dc031d16e259e526fd6a55e805855d1
[ "MIT" ]
null
null
null
//this is a dump of different analysis sources //springconst tuning evaluation { ofstream os("refinestat.txt",ios::app); os << "statistics for shape refinement" << endl; os << "model\tpoint dist\tchamfer\thausdorff" << endl; do{ loadS...
52.197917
79
0.4089
git-steb
57451206f19d3a9216145823244259ca05bad775
849
cpp
C++
Source/Testing/tests/LTextureTest.cpp
SirRamEsq/LEngine
24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c
[ "Apache-2.0" ]
1
2020-05-24T14:04:12.000Z
2020-05-24T14:04:12.000Z
Source/Testing/tests/LTextureTest.cpp
SirRamEsq/LEngine
24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c
[ "Apache-2.0" ]
21
2017-09-20T13:39:12.000Z
2018-01-27T22:21:13.000Z
Source/Testing/tests/LTextureTest.cpp
SirRamEsq/LEngine
24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c
[ "Apache-2.0" ]
null
null
null
#include "../../Engine/Kernel.h" #include "../catch.hpp" TEST_CASE("Can Load and Bind Texture", "[resources][texture]") { Kernel::Inst(); auto initialCount = Kernel::rscTexMan.GetSize(); std::string texName = "System/testImage.png"; int expectedW = 72; int expectedH = 72; auto resource = Kernel::rscTexMa...
23.583333
66
0.669022
SirRamEsq
5749fc279454bcb0b1367f1c9592be679d428efa
558
cpp
C++
Online-Judge-Solution/UVA Solutions/10282(Babelfish).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/UVA Solutions/10282(Babelfish).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/UVA Solutions/10282(Babelfish).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { map<string, string> conversion; string temp, second; getline(cin, temp); while (temp.size() !=0) { stringstream ss(temp); ss >> temp >> second; conversion[second] = temp; getline(cin, temp); } while...
19.928571
73
0.516129
arifparvez14
574c6c9afe987c406eee9a2359d1f5ce1488a479
4,740
cpp
C++
src/devices/bus/pet/user.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/bus/pet/user.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/bus/pet/user.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:smf /********************************************************************** Commodore PET User Port emulation **********************************************************************/ #include "emu.h" #include "user.h" // class pet_user_port_device DEFINE_DEVICE_TYPE(...
35.111111
125
0.741772
Robbbert
574d4b9576b1f94fa65372186f91603b835ca3a7
26,098
cpp
C++
source/script/compiler.cpp
evanbowman/skyland
a62827a0dbcab705ba8ddf75cb74e975ceadec39
[ "MIT" ]
24
2021-07-03T02:27:25.000Z
2022-03-29T05:21:32.000Z
source/script/compiler.cpp
evanbowman/skyland
a62827a0dbcab705ba8ddf75cb74e975ceadec39
[ "MIT" ]
3
2021-09-24T18:52:49.000Z
2021-11-13T00:16:47.000Z
source/script/compiler.cpp
evanbowman/skyland
a62827a0dbcab705ba8ddf75cb74e975ceadec39
[ "MIT" ]
1
2021-07-11T08:05:59.000Z
2021-07-11T08:05:59.000Z
#include "bytecode.hpp" #include "lisp.hpp" #include "number/endian.hpp" namespace lisp { Value* make_bytecode_function(Value* bytecode); u16 symbol_offset(const char* symbol); int compile_impl(ScratchBuffer& buffer, int write_pos, Value* code, int jump_offset,...
32.339529
91
0.447659
evanbowman
574e9007b67248a726cb0aa08f00be1de23401e3
993
cpp
C++
UVa Online Judge/11536.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
1
2022-02-24T12:44:30.000Z
2022-02-24T12:44:30.000Z
UVa Online Judge/11536.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
null
null
null
UVa Online Judge/11536.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; const int INF = 1e9; const long long LLINF = 4e18; const double EPS = 1e-9; const int maxn = 1e6 + 10; int a[maxn]={},f[maxn]={}; int main() { ios::sync_with_stdio(false...
19.470588
57
0.449144
xiezeju
575270c2f184dbb4b32f47c6accdf3526f8a4cd4
1,411
hpp
C++
src/nnfusion/core/operators/op_define/variable.hpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
src/nnfusion/core/operators/op_define/variable.hpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
src/nnfusion/core/operators/op_define/variable.hpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
34.414634
96
0.584692
lynex
5754e94d5e3d00b985e1da1dfba001c4f78881c6
2,201
cpp
C++
leetcode/intersection.cpp
Mantissa-23/miniprojects
552b1329cc44b5036d1bc8c12dc83b802b18da29
[ "MIT" ]
null
null
null
leetcode/intersection.cpp
Mantissa-23/miniprojects
552b1329cc44b5036d1bc8c12dc83b802b18da29
[ "MIT" ]
null
null
null
leetcode/intersection.cpp
Mantissa-23/miniprojects
552b1329cc44b5036d1bc8c12dc83b802b18da29
[ "MIT" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <unordered_map> #include "doctest.h" using namespace std; // Using hashmaps /* class Solution { */ /* public: */ /* vector<int> intersect(vector<int>& nums1, vector<int>& nums2) { */ /* unordered_map<int, int> set1, set2; */ /* for(const int& i ...
21.792079
93
0.419809
Mantissa-23
57575ee784fca90ef995e8c1c221255cbf37b42c
3,064
cpp
C++
reconstruction/gadgetron/CS_LAB_Gadget/src/RETRO/CS_Retro_ImageCombinerGadget.cpp
alwaysbefun123/CS_MoCo_LAB
a26e8e483624b2e4ee669e7a069ba9c74d2d2e4b
[ "BSD-2-Clause" ]
83
2017-08-11T09:18:17.000Z
2022-01-23T03:08:00.000Z
reconstruction/gadgetron/CS_LAB_Gadget/src/RETRO/CS_Retro_ImageCombinerGadget.cpp
MrYuwan/CS_MoCo_LAB
a26e8e483624b2e4ee669e7a069ba9c74d2d2e4b
[ "BSD-2-Clause" ]
4
2017-09-19T23:02:12.000Z
2020-11-23T11:25:18.000Z
reconstruction/gadgetron/CS_LAB_Gadget/src/RETRO/CS_Retro_ImageCombinerGadget.cpp
MrYuwan/CS_MoCo_LAB
a26e8e483624b2e4ee669e7a069ba9c74d2d2e4b
[ "BSD-2-Clause" ]
49
2017-03-19T18:41:55.000Z
2021-11-25T08:25:44.000Z
#include "CS_Retro_ImageCombinerGadget.h" #include <mri_core_data.h> using namespace Gadgetron; // class constructor CS_Retro_ImageCombinerGadget::CS_Retro_ImageCombinerGadget() { } // class destructor CS_Retro_ImageCombinerGadget::~CS_Retro_ImageCombinerGadget() { delete data_; } int CS_Retro_ImageCombinerGadget...
33.67033
185
0.756854
alwaysbefun123
5759a3e5ae1c9bdff9aa1dd6605ce1a6dea911af
3,921
hh
C++
services/arena/include/fightingPit/contender/pit_contenders.hh
FreeYourSoul/FyS
123ca6e76387125909d343c23e788aa033221db5
[ "MIT" ]
9
2019-04-13T17:11:06.000Z
2020-04-23T12:06:59.000Z
services/arena/include/fightingPit/contender/pit_contenders.hh
FreeYourSoul/FyS
123ca6e76387125909d343c23e788aa033221db5
[ "MIT" ]
null
null
null
services/arena/include/fightingPit/contender/pit_contenders.hh
FreeYourSoul/FyS
123ca6e76387125909d343c23e788aa033221db5
[ "MIT" ]
2
2020-04-07T06:05:11.000Z
2020-11-07T23:26:56.000Z
// MIT License // // Copyright (c) 2021 Quentin Balland // Repository : https://github.com/FreeYourSoul/FyS // // 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, ...
36.64486
127
0.770212
FreeYourSoul
575a1f9ea6c7ccd59fbbe26f7815cc81fc7567f8
2,948
cpp
C++
test/unit-tests/array/service/io_locker/stripe_locker_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
38
2021-04-06T03:20:55.000Z
2022-03-02T09:33:28.000Z
test/unit-tests/array/service/io_locker/stripe_locker_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
19
2021-04-08T02:27:44.000Z
2022-03-23T00:59:04.000Z
test/unit-tests/array/service/io_locker/stripe_locker_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
28
2021-04-08T04:39:18.000Z
2022-03-24T05:56:00.000Z
#include "src/array/service/io_locker/stripe_locker.h" #include <gmock/gmock.h> #include <gtest/gtest.h> using ::testing::Return; namespace pos { TEST(StripeLocker, StripeLocker_testIfTryLockInNormal) { // Given StripeLocker sl; StripeId sid = 10; // When bool ret = sl.TryLock(sid); // Then ...
19.523179
74
0.676052
so931
575d6ed1d8dd01059469bbce716f5d5ffa7918b5
2,011
cpp
C++
framework/source/wrap/descriptor_pool.cpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
framework/source/wrap/descriptor_pool.cpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
framework/source/wrap/descriptor_pool.cpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
#include "wrap/descriptor_pool.hpp" #include "wrap/descriptor_set_layout.hpp" #include "wrap/device.hpp" #include "wrap/shader.hpp" DescriptorPool::DescriptorPool() :WrapperDescriptorPool{} ,m_device{nullptr} {} DescriptorPool::DescriptorPool(DescriptorPool && DescriptorPool) :WrapperDescriptorPool{} ,m_device{...
29.573529
114
0.753357
wobakj
5762b3a443c7ff4ea8613ffe47c45b51a4fb3222
5,138
cpp
C++
src/JsonRecord.cpp
ojdkbuild/contrib_update-notifier
f462fe8378a6ec21223cb01c517d95ea19dca25e
[ "Apache-2.0" ]
2
2017-05-30T01:42:32.000Z
2020-07-25T19:17:49.000Z
src/JsonRecord.cpp
ojdkbuild/contrib_update-notifier
f462fe8378a6ec21223cb01c517d95ea19dca25e
[ "Apache-2.0" ]
null
null
null
src/JsonRecord.cpp
ojdkbuild/contrib_update-notifier
f462fe8378a6ec21223cb01c517d95ea19dca25e
[ "Apache-2.0" ]
1
2020-07-25T19:17:56.000Z
2020-07-25T19:17:56.000Z
/* * Copyright 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
30.951807
103
0.630012
ojdkbuild
57641e0ecfae90946fbcdd763683ac2e1dfa5517
2,079
cpp
C++
Level5/Level5/Section 3.5/Exercise 3.5.4/TestProgram.cpp
chunyuyuan/My-Solution-for-C-Programming-for-Financial-Engineering
478b414714edbea1ebdc2f565baad6f04f54bc70
[ "MIT" ]
1
2021-09-12T08:15:57.000Z
2021-09-12T08:15:57.000Z
Level5/Level5/Section 3.5/Exercise 3.5.4/TestProgram.cpp
chunyuyuan/My-Solution-for-C-Programming-for-Financial-Engineering
478b414714edbea1ebdc2f565baad6f04f54bc70
[ "MIT" ]
null
null
null
Level5/Level5/Section 3.5/Exercise 3.5.4/TestProgram.cpp
chunyuyuan/My-Solution-for-C-Programming-for-Financial-Engineering
478b414714edbea1ebdc2f565baad6f04f54bc70
[ "MIT" ]
null
null
null
/* * Level_5 Exercise 3.5.4: * Test program for Abstract Functions Draw() function * * * @file TestProgram.cpp * @author Chunyu Yuan * @version 1.0 02/14/2021 * */ #include "Point.hpp" // Header file for point class #include "Line.hpp" // Header file for line class #include "Circle.hpp" //header file for circle cla...
41.58
128
0.699375
chunyuyuan
576652c02a64047b6ec2175daa5912b4ae081b0b
4,853
cc
C++
common/nice_type_name.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
common/nice_type_name.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
common/nice_type_name.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
/* Portions copyright (c) 2014 Stanford University and the Authors. Authors: Chris Dembia, Michael Sherman 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...
37.914063
80
0.663301
RobotLocomotion
5766eeb52049e919ed012727d98466222aa78aac
3,550
cpp
C++
forked/macrokeyboard_by_nicaqueous.cpp
saltyfishie98/MacroPad
d90601b7795676449c7d3ddb88360516e806d4ac
[ "MIT" ]
null
null
null
forked/macrokeyboard_by_nicaqueous.cpp
saltyfishie98/MacroPad
d90601b7795676449c7d3ddb88360516e806d4ac
[ "MIT" ]
null
null
null
forked/macrokeyboard_by_nicaqueous.cpp
saltyfishie98/MacroPad
d90601b7795676449c7d3ddb88360516e806d4ac
[ "MIT" ]
null
null
null
#include <Keyboard.h> // Code by youtube.com/nicaqueous // assign each key to a digital pin const int key[16] = {6, 5, 4, 3, 2, 7, 8, 9, 10, 16, 14, 15, 18, 19, 20, 21}; uint32_t previousmillis; // used for debouncing int keypressed = 0; void setup() { for (int i = 0; i < 16; i++) { pinMode(key[i],...
33.809524
78
0.378873
saltyfishie98
576775beddf22f405f4e36cee2ec47e0a163842e
16,297
cc
C++
libgearman/add.cc
alionurdemetoglu/gearmand
dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22
[ "BSD-3-Clause" ]
712
2016-07-02T03:32:22.000Z
2022-03-23T14:23:02.000Z
libgearman/add.cc
alionurdemetoglu/gearmand
dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22
[ "BSD-3-Clause" ]
294
2016-07-03T16:17:41.000Z
2022-03-30T04:37:49.000Z
libgearman/add.cc
alionurdemetoglu/gearmand
dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22
[ "BSD-3-Clause" ]
163
2016-07-08T10:03:38.000Z
2022-01-21T05:03:48.000Z
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Gearmand client and server library. * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * Copyright (C) 2008 Brian Aker, Eric Day * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modi...
32.923232
131
0.667608
alionurdemetoglu
5768de1bae61b5928fdd1486b79ab38194e7fb7a
969
hpp
C++
crc32.hpp
salleaffaire/MP2TS
78d0b3fbfcc331157565ac5bb9cc52437c4bc3fa
[ "MIT" ]
11
2016-06-29T06:10:43.000Z
2019-05-14T14:32:31.000Z
crc32.hpp
salleaffaire/MP2TS
78d0b3fbfcc331157565ac5bb9cc52437c4bc3fa
[ "MIT" ]
2
2017-09-15T02:04:01.000Z
2019-04-27T13:11:48.000Z
crc32.hpp
salleaffaire/MP2TS
78d0b3fbfcc331157565ac5bb9cc52437c4bc3fa
[ "MIT" ]
8
2015-08-22T01:36:43.000Z
2018-11-15T07:39:59.000Z
/* * crc32.hpp * * Created on: Jul 3, 2015 * Author: luc.martel */ #ifndef CRC32_HPP_ #define CRC32_HPP_ #include <cstdint> template <int IN, int OUT> class CRC32 { public: CRC32(uint32_t poly) { mTable = new uint32_t [256]; CreateTable(poly); }; ~CRC32() { delete [] mTable; ...
17.944444
76
0.501548
salleaffaire
576a3e141b7e0513474a91390f186b503e28452c
1,680
cpp
C++
test/engine/scene/nxn_scene_graph.t.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
1
2018-10-20T22:08:59.000Z
2018-10-20T22:08:59.000Z
test/engine/scene/nxn_scene_graph.t.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
null
null
null
test/engine/scene/nxn_scene_graph.t.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
null
null
null
// nxn_scene_graph.t.cpp #include <engine/scene/nxn_scene_graph.h> #include <engine/scene/test_collider.h> #include <gtest/gtest.h> TEST( NxNSceneGraphTest, Construction ) { using namespace StevensDev::sgds; NxNSceneGraph graph; NxNSceneGraph sized( 1, 10 ); NxNSceneGraph copy( graph ); graph =...
23.013699
54
0.639286
invaderjon
576b5f4522e4061f8ef99a79f1ae993c781df238
1,757
cpp
C++
Assignment 4/Computer Graphics_assignment4/assignment4/src/base/Shader.cpp
Yanko96/CS-C3100-Computer-Graphics
83b369a6fd5723f53b6ba1c84e8e8babd750f562
[ "MIT" ]
null
null
null
Assignment 4/Computer Graphics_assignment4/assignment4/src/base/Shader.cpp
Yanko96/CS-C3100-Computer-Graphics
83b369a6fd5723f53b6ba1c84e8e8babd750f562
[ "MIT" ]
null
null
null
Assignment 4/Computer Graphics_assignment4/assignment4/src/base/Shader.cpp
Yanko96/CS-C3100-Computer-Graphics
83b369a6fd5723f53b6ba1c84e8e8babd750f562
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include "Shader.hpp" #include <fstream> #include <sstream> #include <iostream> #include <vector> using namespace FW; using namespace std; void ReadFile(string filename, string &source) { ifstream in(filename); if (in.good()) source = string((std::istreambuf_iterator<char>(in)), s...
27.453125
150
0.684121
Yanko96
576d91c6c573555234b324441177eaf73b68d3d9
4,488
cpp
C++
inference-engine/thirdparty/clDNN/src/primitive_inst.cpp
mypopydev/dldt
8cd639116b261adbbc8db860c09807c3be2cc2ca
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
inference-engine/thirdparty/clDNN/src/primitive_inst.cpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
inference-engine/thirdparty/clDNN/src/primitive_inst.cpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
1
2018-12-14T07:56:02.000Z
2018-12-14T07:56:02.000Z
/* // Copyright (c) 2016 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
33.244444
138
0.666889
mypopydev
577117501ac5044eb3128d584f6ee08d7efbb524
3,429
cpp
C++
test/poiner_variant_impl.cpp
foonathan/tiny
1fb39508d0320c61be5a0ecb670d55b889d7dc87
[ "BSL-1.0" ]
96
2018-11-09T13:29:02.000Z
2022-02-13T21:20:36.000Z
test/poiner_variant_impl.cpp
foonathan/tiny
1fb39508d0320c61be5a0ecb670d55b889d7dc87
[ "BSL-1.0" ]
1
2018-11-09T17:03:14.000Z
2018-11-09T18:12:10.000Z
test/poiner_variant_impl.cpp
foonathan/tiny
1fb39508d0320c61be5a0ecb670d55b889d7dc87
[ "BSL-1.0" ]
6
2019-01-04T13:02:27.000Z
2021-06-01T03:56:52.000Z
// Copyright (C) 2018 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #include <foonathan/tiny/pointer_variant_impl.hpp> #include <catch.hpp> using namespace foonathan::tiny; namespace { te...
28.815126
99
0.588218
foonathan
5775045ade6c2ee5adad77152f22e911d987da8d
14,156
cpp
C++
SU2-Quantum/SU2_CFD/src/output/filewriter/CParaviewXMLFileWriter.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/src/output/filewriter/CParaviewXMLFileWriter.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/src/output/filewriter/CParaviewXMLFileWriter.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CParaviewXMLFileWriter.cpp * \brief Filewriter class for Paraview binary format. * \author T. Albring * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 C...
35.837975
140
0.666502
Agony5757
5775afc3bd539cd97b23a3a15f3950aa3b600cfc
1,833
cpp
C++
src/Widget.cpp
Ingener74/Nodewitter
759e7a6c782c831c6aed3d55cfcdb71846a06708
[ "MIT" ]
null
null
null
src/Widget.cpp
Ingener74/Nodewitter
759e7a6c782c831c6aed3d55cfcdb71846a06708
[ "MIT" ]
null
null
null
src/Widget.cpp
Ingener74/Nodewitter
759e7a6c782c831c6aed3d55cfcdb71846a06708
[ "MIT" ]
null
null
null
// // Created by Pavel on 26.08.2017. // #include "Widget.h" Widget::Widget() {} Widget::Widget(std::string const &id) : id(id) { } Widget::~Widget() { } void Widget::SetId(std::string const &id) { Widget::id = id; } const std::string &Widget::GetId() const { return id; } void Widget::SetPos(float x, flo...
19.709677
70
0.665576
Ingener74
577cd9c85a3128c6ce5d217b084a1b959d75173a
2,736
hpp
C++
src/thread/ProcessingThread.hpp
tlmrgvf/drtd
bf31747b963673797239cb11cd45c1c1ee4aeaa6
[ "BSD-2-Clause" ]
6
2020-07-11T11:16:18.000Z
2021-12-17T23:30:36.000Z
src/thread/ProcessingThread.hpp
tlmrgvf/drtd
bf31747b963673797239cb11cd45c1c1ee4aeaa6
[ "BSD-2-Clause" ]
9
2020-07-03T21:23:50.000Z
2022-02-15T12:56:16.000Z
src/thread/ProcessingThread.hpp
tlmrgvf/drtd
bf31747b963673797239cb11cd45c1c1ee4aeaa6
[ "BSD-2-Clause" ]
null
null
null
/* BSD 2-Clause License Copyright (c) 2020, Till Mayer 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 copyright notice, this list of conditio...
32.963855
125
0.754751
tlmrgvf
577d41ab5891c3050a5b3bf52ce276a4fbdeb97c
510
cpp
C++
src/robot/graphical/components/lineClass.cpp
1069B/Tower_Takeover
331a323216cd006a8cc3bc7a326ebe3a463e429f
[ "MIT" ]
null
null
null
src/robot/graphical/components/lineClass.cpp
1069B/Tower_Takeover
331a323216cd006a8cc3bc7a326ebe3a463e429f
[ "MIT" ]
3
2019-07-26T15:56:19.000Z
2019-07-29T02:55:32.000Z
src/robot/graphical/components/lineClass.cpp
1069B/Tower_Takeover
331a323216cd006a8cc3bc7a326ebe3a463e429f
[ "MIT" ]
null
null
null
#include "robot/graphical/components/lineClass.hpp" #include "robot/graphical/components/passInfo.hpp" #include "robot/graphical/screenClass.hpp" Line::Line(const PassInfo& p_info, Screen& p_screen): m_screen(p_screen){ m_points = p_info.points; m_style = p_info.style1; } void Line::draw(){ m_line = lv_line_cre...
31.875
73
0.762745
1069B
578186ba2dfdc05317aed07cb344ba63bb8c927b
654
cpp
C++
firmware/ToneClass.cpp
pooyapooya/rizpardazande
818721a3daac1385daf71ac508ad00bf153cbf0b
[ "MIT" ]
1
2018-08-02T12:08:24.000Z
2018-08-02T12:08:24.000Z
firmware/ToneClass.cpp
pooyapooya/rizpardazande
818721a3daac1385daf71ac508ad00bf153cbf0b
[ "MIT" ]
null
null
null
firmware/ToneClass.cpp
pooyapooya/rizpardazande
818721a3daac1385daf71ac508ad00bf153cbf0b
[ "MIT" ]
1
2018-08-02T12:13:08.000Z
2018-08-02T12:13:08.000Z
#include <Arduino.h> #include "ToneClass.h" #include <stdlib.h> void nanpy::ToneClass::elaborate( nanpy::MethodDescriptor* m ) { if (strcmp(m->getClass(), "Tone") == 0) { ObjectsManager::elaborate(m); if (strcmp(m->getName(),"new") == 0) { v.insert(new Tone (m->getInt(0))); ...
24.222222
66
0.480122
pooyapooya
578374281864cdbbcf9947891ed79edf12d14c85
10,000
cpp
C++
WinSTDyn/OSEnvironment/OSEnvironment.cpp
chen0040/ogre-war-game-simulator
58eee268eae0612d206e7eb0b8e495708db1ef27
[ "MIT" ]
null
null
null
WinSTDyn/OSEnvironment/OSEnvironment.cpp
chen0040/ogre-war-game-simulator
58eee268eae0612d206e7eb0b8e495708db1ef27
[ "MIT" ]
null
null
null
WinSTDyn/OSEnvironment/OSEnvironment.cpp
chen0040/ogre-war-game-simulator
58eee268eae0612d206e7eb0b8e495708db1ef27
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "OSEnvironment.h" #include <sstream> #include <fstream> #include <iostream> #include <io.h> #include <vector> #include <iomanip> #include <shlobj.h> #include <boost/filesystem.hpp> #include <atlstr.h> std::string OSEnvironment::getApplicationDir() { TCHAR appPath1[_MAX_PATH]; ::GetMo...
21.367521
144
0.6831
chen0040
5789ac8b0d197f3c47ff42e1fea7e1f3b3000c4c
2,531
cpp
C++
STM32F407/Src-rtt/user_main.cpp
SuWeipeng/car_407ve_rtt
c04745c4801998e6d82db516138d6adf846e64f8
[ "Apache-2.0" ]
8
2020-01-19T00:04:35.000Z
2022-01-05T19:08:05.000Z
STM32F407/Src-rtt/user_main.cpp
SuWeipeng/car_407ve_rtt
c04745c4801998e6d82db516138d6adf846e64f8
[ "Apache-2.0" ]
null
null
null
STM32F407/Src-rtt/user_main.cpp
SuWeipeng/car_407ve_rtt
c04745c4801998e6d82db516138d6adf846e64f8
[ "Apache-2.0" ]
3
2020-02-26T01:26:22.000Z
2021-01-26T06:02:56.000Z
#include <rtthread.h> #include <rtdevice.h> #include <board.h> #include <stdlib.h> #include "rtt_interface.h" #include "AC_Base.h" #include "Logger.h" #include "AP_Buffer.h" #include "SRV_Channel.h" #include "mode.h" #if defined(__ICCARM__) || defined(__GNUC__) #include "AP_RangeFinder.h" #include "AP_KF.h" #endif usi...
23.877358
109
0.713157
SuWeipeng
578b34c0678726d348f2d7925ce7b8279b6750dc
6,888
cpp
C++
Libraries/RobsJuceModules/jura_framework/gui/panels/jura_DualWaveformDisplay.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/jura_framework/gui/panels/jura_DualWaveformDisplay.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/jura_framework/gui/panels/jura_DualWaveformDisplay.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//------------------------------------------------------------------------------------------------- // construction/destruction: DualWaveformDisplay::DualWaveformDisplay(AudioFileBuffer* newBuffer) : Component("DualWaveformDisplay"), AudioFileBufferUser(newBuffer) { //ScopedLock pointerLock(audioFileBufferPointerLoc...
31.59633
99
0.732143
RobinSchmidt
578c3fdf19ce32d93dd251eb0e9ed059b316a3f5
8,826
cpp
C++
src/common/AxisUtils.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
1
2021-11-10T19:36:30.000Z
2021-11-10T19:36:30.000Z
src/common/AxisUtils.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
null
null
null
src/common/AxisUtils.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
2
2021-11-02T13:09:57.000Z
2021-11-10T19:36:22.000Z
/* -*- C++ -*- */ /* * Copyright 2003-2004 The Apache Software Foundation. * * 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 ...
26.908537
97
0.600725
vlsinitsyn
c237f9fc1ca14be7d63ad58b08100b1c3bc23395
1,563
cpp
C++
src/modules/packet/generator/traffic/length_template.cpp
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
src/modules/packet/generator/traffic/length_template.cpp
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
src/modules/packet/generator/traffic/length_template.cpp
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
#include "packet/generator/traffic/length_template.hpp" #include "utils/overloaded_visitor.hpp" namespace openperf::packet::generator::traffic { length_container get_lengths(const length_config& config) { return (std::visit( utils::overloaded_visitor( [](const length_fixed_config& fixed) { ...
26.491525
80
0.68778
gchagnotSpt
c240626234213bf83b24e123c9ac27339c4fbc35
2,087
hpp
C++
src/algorithms/data_structures/array/array_permutations.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
src/algorithms/data_structures/array/array_permutations.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
src/algorithms/data_structures/array/array_permutations.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#ifndef ARRAY_PERMUTATIONS_HPP #define ARRAY_PERMUTATIONS_HPP /* https://leetcode.com/problems/permutations/description/ Given a collection of distinct integers, return all possible permutations. Example: Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1] ] https://leetcode.com...
22.44086
74
0.548155
iamantony
c240b6d834c87e5fd237d91a213e2771f97ed6fe
3,575
cpp
C++
Teaching/NodeEditor/ParamWidget.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
2
2020-07-21T06:08:42.000Z
2020-07-21T06:08:44.000Z
Teaching/NodeEditor/ParamWidget.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
null
null
null
Teaching/NodeEditor/ParamWidget.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
null
null
null
#include "ParamWidget.hpp" #include "../TeachingEventHandler.h" #include "../TeachingUtil.h" #include "../LoggerUtil.h" ParamWidget::ParamWidget(QWidget* parent) : QWidget(parent) { //setStyleSheet( "QWidget{ background-color : rgba( 160, 160, 160, 255); border-radius : 7px; }" ); nameEdit = new QLineEdit(t...
34.047619
148
0.67049
ryhanai
c242a8c291fe9e7a1719cd5b61b3cb9d4932244a
6,297
cpp
C++
TESTS/network/wifi/main.cpp
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
7
2017-01-15T16:37:41.000Z
2021-08-10T02:14:04.000Z
TESTS/network/wifi/main.cpp
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
1
2018-05-18T10:50:02.000Z
2018-05-18T10:50:02.000Z
TESTS/network/wifi/main.cpp
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
9
2017-04-27T07:54:26.000Z
2021-08-10T02:14:05.000Z
/* mbed Microcontroller Library * Copyright (c) 2016 ARM 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 require...
31.964467
141
0.698428
pradeep-gr
c245a47f8969f5028610449d9b98ed96fb979682
861
cpp
C++
COJ/COJ Progressive Contest #8/TobyAndGraph.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
COJ/COJ Progressive Contest #8/TobyAndGraph.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
COJ/COJ Progressive Contest #8/TobyAndGraph.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define DEB(x) cerr << "#" << (#x) << ": " << (x) << endl using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef pair<int, ii> iii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<vi> vvi; const int MAXN = 10010; vi G[MAXN]; bool vis[MAXN]; void dfs...
19.568182
57
0.497096
MartinAparicioPons
c246f747c0c221357307596931c7804f458554c0
18,730
cpp
C++
src/modules/SD2/scripts/northrend/icecrown_citadel/icecrown_citadel/instance_icecrown_citadel.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/northrend/icecrown_citadel/icecrown_citadel/instance_icecrown_citadel.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/northrend/icecrown_citadel/icecrown_citadel/instance_icecrown_citadel.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
35.339623
168
0.633316
Zilvereyes
c25162a62b9cef97e02505a748b1ff416a91629b
7,266
cpp
C++
test/connect_server_tests.cpp
brusdev/libWakaamaEmb
cfc1d4b4900fcd53d6b18bd40cca973bca2294df
[ "MIT" ]
2
2019-11-08T00:31:42.000Z
2020-03-12T14:00:57.000Z
test/connect_server_tests.cpp
brusdev/libWakaamaEmb
cfc1d4b4900fcd53d6b18bd40cca973bca2294df
[ "MIT" ]
null
null
null
test/connect_server_tests.cpp
brusdev/libWakaamaEmb
cfc1d4b4900fcd53d6b18bd40cca973bca2294df
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2016 MSc. David Graeff <david.graeff@web.de> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the So...
32.58296
98
0.661987
brusdev
c254a33094ffc58d602b462c4a936d65a0d24f73
24,501
cpp
C++
plugins/fnUsdMeshImport/GeoData.cpp
TheFoundryVisionmongers/mariusdplugins
b3ff07dade27f20426599a5a6905d3eb1182474f
[ "Apache-2.0" ]
11
2020-07-13T15:06:05.000Z
2022-03-21T09:45:50.000Z
plugins/fnUsdMeshImport/GeoData.cpp
TheFoundryVisionmongers/mariusdplugins
b3ff07dade27f20426599a5a6905d3eb1182474f
[ "Apache-2.0" ]
2
2020-09-17T01:07:14.000Z
2021-01-20T08:56:39.000Z
plugins/fnUsdMeshImport/GeoData.cpp
TheFoundryVisionmongers/mariusdplugins
b3ff07dade27f20426599a5a6905d3eb1182474f
[ "Apache-2.0" ]
1
2021-05-24T02:22:45.000Z
2021-05-24T02:22:45.000Z
// These files were initially authored by Pixar. // In 2019, Foundry and Pixar agreed Foundry should maintain and curate // these plug-ins, and they moved to // https://github.com/TheFoundryVisionmongers/mariusdplugins // under the same Modified Apache 2.0 license as the main USD library, // as shown below. // // Copyr...
36.678144
235
0.547651
TheFoundryVisionmongers
c2557edf945cc5ce276a758dd2d0feb408b1f279
3,617
cpp
C++
software/threads/CentralMain.cpp
dettus/dettusSDR
066a96ab7becdd612bab04e33ea0840234a8a6a8
[ "BSD-2-Clause" ]
null
null
null
software/threads/CentralMain.cpp
dettus/dettusSDR
066a96ab7becdd612bab04e33ea0840234a8a6a8
[ "BSD-2-Clause" ]
null
null
null
software/threads/CentralMain.cpp
dettus/dettusSDR
066a96ab7becdd612bab04e33ea0840234a8a6a8
[ "BSD-2-Clause" ]
null
null
null
#include <QApplication> #include "CentralMain.h" #include "Tuners.h" CentralMain::CentralMain(TunerMain* tunerMain,DemodMain* demodMain,AudioMain* audioMain) { int i; int fftsize; char tmp[32]; mTunerMain=tunerMain; mDemodMain=demodMain; mAudioMain=audioMain; mV1Layout=new QVBoxLayout; mV2Layout=new QVBoxLay...
22.054878
88
0.709151
dettus
c2592d0ebcdc8615edda83bba0c966ef0f02a3a7
12,460
cpp
C++
src/Needleman_Wunsch/NW_C_SSE.cpp
kugelblitz1235/TPOrga_Final
320e30f165be9c4ee0b57535c9db8d09d42ad389
[ "MIT" ]
null
null
null
src/Needleman_Wunsch/NW_C_SSE.cpp
kugelblitz1235/TPOrga_Final
320e30f165be9c4ee0b57535c9db8d09d42ad389
[ "MIT" ]
null
null
null
src/Needleman_Wunsch/NW_C_SSE.cpp
kugelblitz1235/TPOrga_Final
320e30f165be9c4ee0b57535c9db8d09d42ad389
[ "MIT" ]
2
2021-04-29T15:02:41.000Z
2021-06-15T17:31:36.000Z
#include "NW_C_SSE.hpp" namespace NW{ namespace C{ namespace SSE{ // Equivalentes a registros nombrados: __m128i constant_gap_xmm, constant_missmatch_xmm, constant_match_xmm, zeroes_xmm; __m128i str_row_xmm, str_col_xmm, left_score_xmm, up_score_xmm, diag_score_xmm; __m128i reverse_mask_xmm; _...
53.939394
180
0.646549
kugelblitz1235
c25abd0112b9255784826dce5d2720c8743d40f6
4,808
hpp
C++
src/web_server/session/handle_request/handle_request.hpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
2
2021-09-16T03:22:45.000Z
2021-11-09T11:45:07.000Z
src/web_server/session/handle_request/handle_request.hpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
src/web_server/session/handle_request/handle_request.hpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
// // Created by X-ray on 5/30/2021. // #pragma once #include <utility> #include <iostream> #include <memory> #include <boost/beast.hpp> #include "../../utility/mime.hpp" #include "../../utility/path_cat.hpp" #include "response_builder.hpp" namespace web_server { namespace session { namespace handle_reques...
45.358491
165
0.501872
X-rays5
c25afe9c6187dcf5f92becc2e151af012fecfc44
2,657
cpp
C++
samples/_opengl/TessellationBezier/src/TessellationBezierApp.cpp
migeran/Cinder
5efc6d4d33b9f1caf826058728e334108b8e905f
[ "BSD-2-Clause" ]
1
2018-03-09T18:31:25.000Z
2018-03-09T18:31:25.000Z
samples/_opengl/TessellationBezier/src/TessellationBezierApp.cpp
migeran/Cinder
5efc6d4d33b9f1caf826058728e334108b8e905f
[ "BSD-2-Clause" ]
null
null
null
samples/_opengl/TessellationBezier/src/TessellationBezierApp.cpp
migeran/Cinder
5efc6d4d33b9f1caf826058728e334108b8e905f
[ "BSD-2-Clause" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" using namespace ci; using namespace ci::app; using namespace std; const int NUM_POINTS = 4; // can't be changed const int SUBDIVISIONS = 30; // can be class TessellationBezierApp : public App { public: void setup() override; ...
29.522222
123
0.67595
migeran
c25b59c40d8d20cb19b29cade51afc9201bfb141
1,300
cpp
C++
src/prod/test/LinuxRunAsTest/FabricUnknownBase.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/test/LinuxRunAsTest/FabricUnknownBase.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/test/LinuxRunAsTest/FabricUnknownBase.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
23.636364
102
0.624615
AnthonyM
c25c2a9aaba86ea6c81a5c08f7d9815c52f9a36d
3,917
cpp
C++
tc 160+/Orchard.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/Orchard.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/Orchard.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <queue> #include <functional> using namespace std; typedef pair<int, int> PII; struct Entry { PII pos; int len; Entry(PII p, int l): pos(p), len(l) {} }; c...
38.029126
333
0.503447
ibudiselic
c261f63c268381814286dd26a32cc5ebc4cc60eb
15,353
cpp
C++
palimp-shader/src/ofApp.cpp
headrotor/ofx
ac16ebb3b5d7160faf924bb7b7181d41baae0b1a
[ "MIT" ]
null
null
null
palimp-shader/src/ofApp.cpp
headrotor/ofx
ac16ebb3b5d7160faf924bb7b7181d41baae0b1a
[ "MIT" ]
null
null
null
palimp-shader/src/ofApp.cpp
headrotor/ofx
ac16ebb3b5d7160faf924bb7b7181d41baae0b1a
[ "MIT" ]
null
null
null
#include "ofApp.h" // for time stamps #include <ctime> using namespace ofxCv; using namespace cv; void ofApp::setup() { // init shaders //shader.load("shadersES2/mix-shader"); #ifdef TARGET_OPENGLES shader.load("shadersES2/mix-shader"); #else if (ofIsGLProgrammableRenderer()) { shader.load("shadersGL3/mix-...
24.292722
112
0.628672
headrotor
c262bca714dad9e0b60929913636e2e68ebe3e48
93
cpp
C++
GameEngine/AudioEngine.cpp
BenMarshall98/Game-Engine-Uni
cb2e0a75953db0960e3d58a054eb9a6e213ae12a
[ "MIT" ]
null
null
null
GameEngine/AudioEngine.cpp
BenMarshall98/Game-Engine-Uni
cb2e0a75953db0960e3d58a054eb9a6e213ae12a
[ "MIT" ]
null
null
null
GameEngine/AudioEngine.cpp
BenMarshall98/Game-Engine-Uni
cb2e0a75953db0960e3d58a054eb9a6e213ae12a
[ "MIT" ]
null
null
null
#include "AudioEngine.h" AudioEngine::AudioEngine() { } AudioEngine::~AudioEngine() { }
7.153846
27
0.677419
BenMarshall98
c263bfb04b139469452d16ffed84546b5da382e9
931
cpp
C++
lsteamclient/cb_converters_141.cpp
neuroradiology/Proton
5aed286761234b1b362471ca5cf80d25f64cb719
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-07-05T06:40:08.000Z
2021-07-05T06:40:08.000Z
lsteamclient/cb_converters_141.cpp
neuroradiology/Proton
5aed286761234b1b362471ca5cf80d25f64cb719
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
lsteamclient/cb_converters_141.cpp
neuroradiology/Proton
5aed286761234b1b362471ca5cf80d25f64cb719
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
#include "steamclient_private.h" #include "steam_defs.h" #include "steamworks_sdk_141/steam_api.h" #include "steamworks_sdk_141/isteamgameserver.h" #include "steamworks_sdk_141/isteamgameserverstats.h" #include "steamworks_sdk_141/isteamgamecoordinator.h" extern "C" { struct winSteamUnifiedMessagesSendMethodResult_t_24...
35.807692
120
0.795918
neuroradiology
c266616a3d542e0e5896238f95e56522f30e576d
5,077
hpp
C++
modules/core/include/perf_manager.hpp
CambriconKnight/CNStream
555c4a54f4766cc7b6b230bd822c6689869fbce0
[ "Apache-2.0" ]
1
2020-04-22T08:36:51.000Z
2020-04-22T08:36:51.000Z
modules/core/include/perf_manager.hpp
CambriconKnight/CNStream
555c4a54f4766cc7b6b230bd822c6689869fbce0
[ "Apache-2.0" ]
null
null
null
modules/core/include/perf_manager.hpp
CambriconKnight/CNStream
555c4a54f4766cc7b6b230bd822c6689869fbce0
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) [2019] by Cambricon, 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 a...
30.401198
127
0.693717
CambriconKnight
c268b22af2d91e43d4394597ba70a505385f5236
5,305
cpp
C++
spoki/libspoki/src/trace/reader.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
1
2022-02-03T15:35:16.000Z
2022-02-03T15:35:16.000Z
spoki/libspoki/src/trace/reader.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
spoki/libspoki/src/trace/reader.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
/* * This file is part of the CAF spoki driver. * * Copyright (C) 2018-2021 * Authors: Raphael Hiesgen * * All rights reserved. * * Report any bugs, questions or comments to raphael.hiesgen@haw-hamburg.de * */ #include "spoki/trace/reader.hpp" #include "spoki/atoms.hpp" #include "spoki/collector.hpp" #inclu...
35.604027
80
0.540245
inetrg
c26e526cb28c62e9e57a96405ae6c167c3e28949
1,768
cpp
C++
Code/BBearEditor/Engine/Render/RayTracing/BBRayTracker.cpp
xiaoxianrouzhiyou/BBearEditor
0f1b779d87c297661f9a1e66d0613df43f5fe46b
[ "MIT" ]
26
2021-06-30T02:19:30.000Z
2021-07-23T08:38:46.000Z
Code/BBearEditor/Engine/RayTracing/BBRayTracker.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
Code/BBearEditor/Engine/RayTracing/BBRayTracker.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
3
2021-09-01T08:19:30.000Z
2021-12-28T19:06:40.000Z
#include "BBRayTracker.h" #include "Utils/BBUtils.h" #include "Scene/BBScene.h" #include "Scene/BBSceneManager.h" #include "BBScreenSpaceRayTracker.h" #include "Base/BBGameObject.h" void BBRayTracker::enable(int nAlgorithmIndex, bool bEnable) { BBScene *pScene = BBSceneManager::getScene(); if (bEnable) { ...
25.257143
95
0.639706
xiaoxianrouzhiyou
c2707f3719d52bc7279cb7503fdbc4fc00891f33
3,639
cpp
C++
dmserializers/importsfmv4.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
dmserializers/importsfmv4.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
dmserializers/importsfmv4.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//====== Copyright � 1996-2006, Valve Corporation, All rights reserved. ======= // // Purpose: // //============================================================================= #include "dmserializers.h" #include "dmebaseimporter.h" #include "datamodel/idatamodel.h" #include "datamodel/dmelement.h" #include "datamod...
29.112
116
0.565815
DannyParker0001
c27c6056ae64f5d37e7c8774e0c7948dddf668e2
3,490
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/events/SoButtonEvent.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/events/SoButtonEvent.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/events/SoButtonEvent.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
25.474453
76
0.697708
KraftOreo
c27e211f722049acc93ae5e293433f2fb5ceb56d
667
hpp
C++
tests/helper/compare.hpp
rsjtaylor/libear
40a4000296190c3f91eba79e5b92141e368bd72a
[ "Apache-2.0" ]
14
2019-07-30T17:58:00.000Z
2022-02-15T15:33:36.000Z
tests/helper/compare.hpp
rsjtaylor/libear
40a4000296190c3f91eba79e5b92141e368bd72a
[ "Apache-2.0" ]
27
2019-07-30T18:01:58.000Z
2021-12-14T10:24:52.000Z
tests/helper/compare.hpp
rsjtaylor/libear
40a4000296190c3f91eba79e5b92141e368bd72a
[ "Apache-2.0" ]
5
2019-07-30T15:12:02.000Z
2020-09-14T16:22:43.000Z
#pragma once #include "ear/common_types.hpp" namespace ear { inline bool operator==(const CartesianPosition& a, const CartesianPosition& b) { return a.X == b.X && a.Y == b.Y && a.Z == b.Z; } inline bool operator!=(const CartesianPosition& a, const CartesianP...
27.791667
74
0.589205
rsjtaylor
c281ba89e3604dbff2de3cb053699968c26adb83
42,921
inl
C++
volume/Unified2/src/Task/ElasticSystem/ElasticSystemCommon.inl
llmontoryxd/mipt_diploma
7d7d65cd619fe983736773f95ebb50b470adbed2
[ "MIT" ]
null
null
null
volume/Unified2/src/Task/ElasticSystem/ElasticSystemCommon.inl
llmontoryxd/mipt_diploma
7d7d65cd619fe983736773f95ebb50b470adbed2
[ "MIT" ]
null
null
null
volume/Unified2/src/Task/ElasticSystem/ElasticSystemCommon.inl
llmontoryxd/mipt_diploma
7d7d65cd619fe983736773f95ebb50b470adbed2
[ "MIT" ]
null
null
null
#include "../VolumeMethod/FunctionGetters/BoundaryFunctionGetter.h" template <typename Space> void ElasticSystemCommon<Space>::ValueTypeCommon::SetZeroValues() { std::fill_n(values, dimsCount, Scalar(0.0)); } template <> Space2::Vector ElasticSystemCommon<Space2>::ValueTypeCommon::GetVelocity() const { return Spa...
43.223565
332
0.562941
llmontoryxd
c281d6c35e23c92207db648e10807fda97c31be8
847
hpp
C++
c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/Args.hpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/Args.hpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/Args.hpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <cassert> #include <string> #include "GetOpt.hpp" using namespace std; //================================================================== // Class Declaration // //=================================================...
23.527778
69
0.493506
aimldl
c286523148f437f27158a97f03a733470c12de16
1,286
cpp
C++
binary-tree-level-order-traversal-II/main.cpp
rickytan/LeetCode
7df9a47928552babaf5d2abf1d153bd92d44be09
[ "MIT" ]
1
2015-04-04T18:32:31.000Z
2015-04-04T18:32:31.000Z
binary-tree-level-order-traversal-II/main.cpp
rickytan/LeetCode
7df9a47928552babaf5d2abf1d153bd92d44be09
[ "MIT" ]
null
null
null
binary-tree-level-order-traversal-II/main.cpp
rickytan/LeetCode
7df9a47928552babaf5d2abf1d153bd92d44be09
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: vector<vector<int> > levelOrderBottom(TreeNode *root) { vector<vector<in...
23.381818
63
0.51944
rickytan
c287b86aab29f4aa747149d64d45827da01a9cf3
470
cpp
C++
drazy/sparse_table.cpp
gbuenoandrade/Manual-da-Sarrada
dc44666b8f926428164447997b5ea8363ebd6fda
[ "MIT" ]
null
null
null
drazy/sparse_table.cpp
gbuenoandrade/Manual-da-Sarrada
dc44666b8f926428164447997b5ea8363ebd6fda
[ "MIT" ]
null
null
null
drazy/sparse_table.cpp
gbuenoandrade/Manual-da-Sarrada
dc44666b8f926428164447997b5ea8363ebd6fda
[ "MIT" ]
null
null
null
const int MAXN = 100010; const int MAX_LOG = 18; int v[MAXN]; int st[MAXN][MAX_LOG]; int logt[MAXN]; int n; void build() { logt[1] = 0; for (int i=2, val=1; i<=n; i*=2, ++val) { int lim = min(2*i, n+1); FOR(j,i,lim) { logt[j] = val; } } FOR0(j,MAX_LOG) FOR0(i,n) if(i + (1 << j) - 1 < n) { st[i][j] = (j...
19.583333
68
0.493617
gbuenoandrade
c29056431c86089520a9e21ee2cc507ccc5340c7
3,763
hpp
C++
src/RemotePhotoTool/TimelapseVideoOptionsDlg.hpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
16
2015-03-26T02:32:43.000Z
2021-10-18T16:34:31.000Z
src/RemotePhotoTool/TimelapseVideoOptionsDlg.hpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
7
2019-02-21T06:07:09.000Z
2022-01-01T10:00:50.000Z
src/RemotePhotoTool/TimelapseVideoOptionsDlg.hpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
6
2019-05-07T09:21:15.000Z
2021-09-01T06:36:24.000Z
// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2018 Michael Fink // /// \file TimelapseVideoOptionsDlg.hpp Settings dialog // #pragma once /// \brief timelapse video options dialog /// \details shows some common ffmpeg options for selection and returns the /// resulting command line strin...
36.892157
110
0.790858
vividos
c29342e635ddbd340f8dc0c7cfdd7f46193c695e
342
hpp
C++
phase_1/eval/york/challenge/src/http/empty_response.hpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
phase_1/eval/york/challenge/src/http/empty_response.hpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
phase_1/eval/york/challenge/src/http/empty_response.hpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
#pragma once #include "response.hpp" namespace http { class EmptyResponse : public Response { public: EmptyResponse() {}; virtual ~EmptyResponse() {}; bool has_countable_body_size() const override { return true; } int body_size() override { return 0; } void stream_body_to(int _out_fd) overri...
20.117647
66
0.675439
cromulencellc
c296ab4e3067513df354a6fc03342dea09095dcc
5,705
cc
C++
RecoTauTag/RecoTau/src/PFRecoTauTagInfoAlgorithm.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoTauTag/RecoTau/src/PFRecoTauTagInfoAlgorithm.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoTauTag/RecoTau/src/PFRecoTauTagInfoAlgorithm.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "RecoTauTag/RecoTau/interface/PFRecoTauTagInfoAlgorithm.h" #include "DataFormats/Math/interface/deltaR.h" #include "RecoTauTag/RecoTau/interface/TauTagTools.h" using namespace reco; PFRecoTauTagInfoAlgorithm::PFRecoTauTagInfoAlgorithm(const edm::ParameterSet& parameters) { // parameters of the considered ...
66.337209
330
0.6305
ckamtsikis
c298ba2ea7469e032a9c6e9566796468f41872bb
2,151
cpp
C++
src/app/clusters/power-source-server/power-source-server.cpp
hnnajh/connectedhomeip
249a6c65a820c711d23135d38eec0ab288d3f38f
[ "Apache-2.0" ]
null
null
null
src/app/clusters/power-source-server/power-source-server.cpp
hnnajh/connectedhomeip
249a6c65a820c711d23135d38eec0ab288d3f38f
[ "Apache-2.0" ]
null
null
null
src/app/clusters/power-source-server/power-source-server.cpp
hnnajh/connectedhomeip
249a6c65a820c711d23135d38eec0ab288d3f38f
[ "Apache-2.0" ]
null
null
null
/** * * Copyright (c) 2020 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
32.590909
80
0.666202
hnnajh
c29906300bed592b7d0f6125beabc3e161352bfc
1,345
cxx
C++
Packages/java/nio/file/LinkOption.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/nio/file/LinkOption.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/nio/file/LinkOption.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
// // LinkOption.cxx // Aries // // Created by Brandon on 2018-02-25. // Copyright © 2018 Brandon. All rights reserved. // #include "LinkOption.hxx" #include "Enum.hxx" #include "String.hxx" using java::nio::file::LinkOption; using java::lang::Enum; using java::lang::String; LinkOption::LinkOption(JVM* vm, jobj...
32.02381
131
0.681784
Brandon-T
c2994debdd0e9f785619897ea07406601e14677b
6,276
hh
C++
nox/src/include/expr.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
28
2015-02-04T13:59:25.000Z
2021-12-29T03:44:47.000Z
nox/src/include/expr.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
552
2015-01-05T18:25:54.000Z
2022-03-16T18:51:13.000Z
nox/src/include/expr.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
25
2015-02-04T18:48:20.000Z
2020-06-18T15:51:05.000Z
/* Copyright 2008 (C) Nicira, Inc. * * This file is part of NOX. * * NOX is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * N...
33.031579
80
0.663161
ayjazz
c2995fa5f6b0b17693dffa2e5d7303634e3b6922
1,285
cpp
C++
reading_raw_data_alsa_library.cpp
harasstheworld/network-programming
f99a8ca2e5f5aa88268ec6ac07290262e84d8b15
[ "MIT" ]
1
2022-03-25T05:41:46.000Z
2022-03-25T05:41:46.000Z
reading_raw_data_alsa_library.cpp
harasstheworld/network-programming
f99a8ca2e5f5aa88268ec6ac07290262e84d8b15
[ "MIT" ]
null
null
null
reading_raw_data_alsa_library.cpp
harasstheworld/network-programming
f99a8ca2e5f5aa88268ec6ac07290262e84d8b15
[ "MIT" ]
null
null
null
/*This program demonstrates how to read in a raw data file and write it to the sound device to be played. The program uses the ALSA library. Use option -lasound on compile line.*/ #include </usr/include/alsa/asoundlib.h> #include <math.h> #include <iostream> using namespace std; static char *device = "default...
31.341463
73
0.686381
harasstheworld
c29ba5e146d7cb6631d92e38d91bbb259dbb2a40
523
cc
C++
src/main.cc
milesdiprata/conga-minimax-alpha-beta
0080bc62a71efd77ed499c6bd605f4120ccee73a
[ "MIT" ]
null
null
null
src/main.cc
milesdiprata/conga-minimax-alpha-beta
0080bc62a71efd77ed499c6bd605f4120ccee73a
[ "MIT" ]
null
null
null
src/main.cc
milesdiprata/conga-minimax-alpha-beta
0080bc62a71efd77ed499c6bd605f4120ccee73a
[ "MIT" ]
null
null
null
#include <memory> #include "conga/board.h" #include "conga/game.h" #include "conga/minimax_agent.h" #include "conga/random_agent.h" #include "conga/stone.h" int main(const int argc, const char* const argv[]) { auto game = conga::Game( std::make_unique<conga::Board>(), std::make_unique<conga::MinimaxAgen...
27.526316
70
0.678776
milesdiprata
c2a071902edecdb9f32d1b872e898c94677a62a6
4,417
cpp
C++
exampleTranslators/graphicalUserInterfaceExamples/query/query.cpp
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
exampleTranslators/graphicalUserInterfaceExamples/query/query.cpp
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
exampleTranslators/graphicalUserInterfaceExamples/query/query.cpp
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
#include <rose.h> #include <config.h> #include <qrose.h> class QueryCollection { public: bool findPublicVarMembers (SgNode *node, string &str) { SgVariableDeclaration *decl; if (decl = isSgVariableDeclaration(node)) { SgDeclarationModifier &dfm = decl->get_declarationModifier(); if (dfm.get_access...
36.504132
129
0.576862
ouankou
c2a0b4f4ae9da49cac70b9b5302a50ed78ad8584
5,361
cpp
C++
src/storage/wasmrun.cpp
metabasenet/metabasenet
e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1
[ "MIT" ]
null
null
null
src/storage/wasmrun.cpp
metabasenet/metabasenet
e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1
[ "MIT" ]
null
null
null
src/storage/wasmrun.cpp
metabasenet/metabasenet
e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1
[ "MIT" ]
null
null
null
// Copyright (c) 2021-2022 The MetabaseNet developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wasmrun.h" #include <evmc/evmc.hpp> #include <evmc/loader.h> #include "block.h" #include "wasmhost.h" using n...
39.711111
154
0.613878
metabasenet
c2a1a601d04b8827eb1f6fb63754da2fe734d2f9
5,196
hpp
C++
include/hipipe/core/stream/rebatch.hpp
iterait/hipipe
c2a6cc13857dce93e5ae3f76a86e8f029ca3f921
[ "BSL-1.0", "MIT" ]
16
2018-10-08T09:00:14.000Z
2021-07-11T12:35:09.000Z
include/hipipe/core/stream/rebatch.hpp
iterait/hipipe
c2a6cc13857dce93e5ae3f76a86e8f029ca3f921
[ "BSL-1.0", "MIT" ]
19
2018-09-26T13:55:40.000Z
2019-08-28T13:47:04.000Z
include/hipipe/core/stream/rebatch.hpp
iterait/hipipe
c2a6cc13857dce93e5ae3f76a86e8f029ca3f921
[ "BSL-1.0", "MIT" ]
null
null
null
/**************************************************************************** * hipipe library * Copyright (c) 2017, Cognexa Solutions s.r.o. * Copyright (c) 2018, Iterait a.s. * Author(s) Filip Matzner * * This file is distributed under the MIT License. * See the accompanying file LICENSE.txt for the comp...
30.745562
94
0.572171
iterait
c2a31b8ed1ae65367c9af6077c84ca9fe8f1d39c
1,455
cpp
C++
cpp/src/Exceptions/Except.cpp
enea-scaccabarozzi/Image_to_ascii
7cb4aeb168321f23a22cc1340900f40807fb74cc
[ "MIT" ]
null
null
null
cpp/src/Exceptions/Except.cpp
enea-scaccabarozzi/Image_to_ascii
7cb4aeb168321f23a22cc1340900f40807fb74cc
[ "MIT" ]
null
null
null
cpp/src/Exceptions/Except.cpp
enea-scaccabarozzi/Image_to_ascii
7cb4aeb168321f23a22cc1340900f40807fb74cc
[ "MIT" ]
null
null
null
/** </src/Exceptions/Except.cpp> * * Written by Enea Scaccabarozzi * In date 2022-03-09 * * @description: This file rapresent the definition * of the custom Exception class for this project * * @declaration: See declarations for this file at * </src/Exceptions/Except.h> * */ #include "Except.h" using IMAGE_A...
23.467742
83
0.645361
enea-scaccabarozzi