hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
a974fd2a5ff7953db3aa6a8a06e269fb54a05563
205
cpp
C++
src/events/set_event_response.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/events/set_event_response.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/events/set_event_response.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Lapin library #include "lapin_private.h" void bunny_set_event_response(t_bunny_event_response evt) { gl_callback.event = evt; }
15.769231
59
0.741463
Damdoshi
a977ee807107715855f024ff7e5a2abfde23d867
1,187
cpp
C++
StringPractice1.cpp
jonaprojects/CppSmallProjects
6d34c40516b6dfd8117eef95e4bd11d9d812c18b
[ "MIT" ]
null
null
null
StringPractice1.cpp
jonaprojects/CppSmallProjects
6d34c40516b6dfd8117eef95e4bd11d9d812c18b
[ "MIT" ]
null
null
null
StringPractice1.cpp
jonaprojects/CppSmallProjects
6d34c40516b6dfd8117eef95e4bd11d9d812c18b
[ "MIT" ]
null
null
null
#include <cstring> #include <iomanip> int main() { // Working with strings in C++ - Practice // Creating an std::string std::string first_string = "first string"; const char* c_string{"c string"}; std::string second_string{c_string}; // length of the c string std::cout << "length with strle...
37.09375
82
0.620051
jonaprojects
a9794c7f0b46038312f21c7cb9d09393599e836d
19,115
hpp
C++
RX72T/port_map_mtu.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
RX72T/port_map_mtu.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
RX72T/port_map_mtu.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
#pragma once //=====================================================================// /*! @file @brief RX72T グループ・ポート・マッピング (MTU) @n ・MTU 型に従って、タイマー用ポートを設定 @n MTU0, MTU1, MTU2, MTU3, MTU4, MTU5, MTU6, MTU7, MTU8, MTU9 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2020, 2021 Kunihito Hira...
22.226744
99
0.475386
hirakuni45
a979d53d4a1d94ca8adaea59c71e092f40abd1f8
3,235
cpp
C++
Dina/src/Dina/Levels/MapGenerator.cpp
Asthegor/Dina_SDL
78da464d8d139812fbcb72a58a54db1ecc966833
[ "Apache-2.0" ]
1
2022-03-25T14:24:56.000Z
2022-03-25T14:24:56.000Z
Dina/src/Dina/Levels/MapGenerator.cpp
Asthegor/Dina_SDL
78da464d8d139812fbcb72a58a54db1ecc966833
[ "Apache-2.0" ]
null
null
null
Dina/src/Dina/Levels/MapGenerator.cpp
Asthegor/Dina_SDL
78da464d8d139812fbcb72a58a54db1ecc966833
[ "Apache-2.0" ]
null
null
null
#include "dinapch.h" #include "MapGenerator.h" namespace Dina { MapGenerator::~MapGenerator() { delete m_SurfaceOrigin; delete m_NoisePoints; } void MapGenerator::Load() { Quad* screen = Graphic::GetDimensions(); m_LargeurIle = screen->width * 2; m_HauteurIle = screen->height * 2; m_S...
25.674603
117
0.614529
Asthegor
a97a60c90fb4c894da17aa7ea6f24d92366e2aea
26,709
cpp
C++
toonz/sources/toonz/canvassizepopup.cpp
jcome/opentoonz
b660920f35ce279526fd7e7ca7ff600adfe5c28b
[ "BSD-3-Clause" ]
6
2017-02-22T22:40:52.000Z
2018-01-27T18:27:21.000Z
toonz/sources/toonz/canvassizepopup.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
22
2017-03-16T18:52:36.000Z
2019-09-09T06:02:53.000Z
toonz/sources/toonz/canvassizepopup.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
1
2021-08-07T00:16:58.000Z
2021-08-07T00:16:58.000Z
#include "canvassizepopup.h" // Tnz6 includes #include "menubarcommandids.h" #include "tapp.h" // TnzQt includes #include "toonzqt/menubarcommand.h" #include "toonzqt/doublefield.h" #include "toonzqt/checkbox.h" #include "toonzqt/icongenerator.h" // TnzLib includes #include "toonz/txshlevelhandle.h" #include "toon...
34.463226
80
0.578831
jcome
a97b02ec673be1acc1d6f347e97b53f0220d98d6
4,116
cpp
C++
OpenLive-Windows-MFC/OpenLive/AgoraAudInputManager.cpp
shima11/Basic-Video-Broadcasting
af7b808eb24de60997ded3f569e1c5b2dd84172a
[ "MIT" ]
264
2018-10-05T15:36:18.000Z
2022-03-30T08:55:16.000Z
OpenLive-Windows-MFC/OpenLive/AgoraAudInputManager.cpp
shima11/Basic-Video-Broadcasting
af7b808eb24de60997ded3f569e1c5b2dd84172a
[ "MIT" ]
76
2019-01-16T11:54:15.000Z
2022-02-28T20:21:24.000Z
OpenLive-Windows-MFC/OpenLive/AgoraAudInputManager.cpp
shima11/Basic-Video-Broadcasting
af7b808eb24de60997ded3f569e1c5b2dd84172a
[ "MIT" ]
321
2018-10-01T03:04:01.000Z
2022-03-18T18:02:06.000Z
#include "stdafx.h" #include "AgoraAudInputManager.h" CAgoraAudInputManager::CAgoraAudInputManager() : m_ptrDeviceManager(NULL) , m_lpCollection(NULL) , m_bTestingOn(FALSE) { } CAgoraAudInputManager::~CAgoraAudInputManager() { Close(); } BOOL CAgoraAudInputManager::Create(IRtcEngine *lpRtcEngine) { m_ptrDevic...
23.386364
120
0.748785
shima11
a97b35644868d3777adeb52082e6aa2d3c53e2a7
4,179
cpp
C++
Plugins/UtilityCombatPlugin/Source/UtilityCombatPlugin/Private/UtilityCombatTaskComponent.cpp
ZacharyDK/ALSUtilityCombine
e770d39b65c488558ccfc90246ea50f31fa83239
[ "MIT" ]
4
2021-11-23T14:12:04.000Z
2022-03-21T02:23:37.000Z
Plugins/UtilityCombatPlugin/Source/UtilityCombatPlugin/Private/UtilityCombatTaskComponent.cpp
ZacharyDK/ALSUtilityCombine
e770d39b65c488558ccfc90246ea50f31fa83239
[ "MIT" ]
1
2022-03-24T21:12:31.000Z
2022-03-24T21:12:31.000Z
Plugins/UtilityCombatPlugin/Source/UtilityCombatPlugin/Private/UtilityCombatTaskComponent.cpp
ZacharyDK/ALSUtilityCombine
e770d39b65c488558ccfc90246ea50f31fa83239
[ "MIT" ]
4
2021-09-13T03:15:48.000Z
2022-03-22T03:12:35.000Z
// Copyright Zachary Kolansky, 2020 #include "UtilityCombatTaskComponent.h" #include "UtilityAIManagerComponent.h" #include "Math/UnrealMathUtility.h" #include "AIController.h" // Sets default values for this component's properties UUtilityCombatTaskComponent::UUtilityCombatTaskComponent() { // Set this component ...
23.088398
132
0.760948
ZacharyDK
a97f6c707d57cf072f61b7078c8de3208804d490
4,162
cpp
C++
src/control/ros/RosPositionCommandExecutor.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/control/ros/RosPositionCommandExecutor.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/control/ros/RosPositionCommandExecutor.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#include "aikido/control/ros/RosPositionCommandExecutor.hpp" #include "aikido/control/ros/Conversions.hpp" #include "aikido/control/ros/util.hpp" namespace aikido { namespace control { namespace ros { using std::chrono::milliseconds; //============================================================================== Ro...
29.942446
80
0.617251
usc-csci-545
a9800c4cb3151596afc800f76357fd65dfa5c247
28,211
cpp
C++
source/app/app.cpp
LavenSun/LSRViewer
615dcb63ec913c40bdfba6b1096365c6a0391206
[ "MIT" ]
1
2021-05-18T01:38:52.000Z
2021-05-18T01:38:52.000Z
source/app/app.cpp
LavenSun/LSRViewer
615dcb63ec913c40bdfba6b1096365c6a0391206
[ "MIT" ]
null
null
null
source/app/app.cpp
LavenSun/LSRViewer
615dcb63ec913c40bdfba6b1096365c6a0391206
[ "MIT" ]
null
null
null
#define VMA_IMPLEMENTATION #include <app/app.h> #include <iostream> #ifdef _DEBUG #define ENABLE_VALIDATION true #else #define ENABLE_VALIDATION false #endif //#define ENABLE_FULLSCREEN Application::Application() : VulkanExampleBase(ENABLE_VALIDATION) { title = "LSRViewer"; camera.type = Camera::CameraType::first...
34.153753
183
0.748183
LavenSun
a983d97c669abdec4ff66e16a2d79fc6ece1de3a
234
cpp
C++
Database/Profiler/PhaseProfiler.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
109
2015-11-28T11:51:35.000Z
2022-03-24T05:14:57.000Z
Database/Profiler/PhaseProfiler.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
2
2019-12-03T17:37:00.000Z
2019-12-04T19:00:51.000Z
Database/Profiler/PhaseProfiler.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
25
2015-12-09T09:21:40.000Z
2021-09-24T14:17:26.000Z
#include "PhaseProfiler.h" namespace Cavalia{ namespace Database{ std::unordered_map<size_t, long long> *phase_stat_; #if defined(PRECISE_TIMER) PreciseTimeMeasurer *phase_timer_; #else TimeMeasurer *phase_timer_; #endif } }
18
53
0.773504
gunaprsd
a9884089336d009e25c084ad0c408d5a10b0f258
1,089
cpp
C++
C++ codes/Edit Distance.cpp
NavalMahajan/Hacktoberfest-21
195aee1b008fde14fc8fce755bc32e4bb27ddd44
[ "MIT" ]
2
2021-10-05T09:21:25.000Z
2022-01-12T18:40:30.000Z
C++ codes/Edit Distance.cpp
NavalMahajan/Hacktoberfest-21
195aee1b008fde14fc8fce755bc32e4bb27ddd44
[ "MIT" ]
1
2021-10-03T03:56:44.000Z
2021-10-03T03:56:44.000Z
C++ codes/Edit Distance.cpp
NavalMahajan/Hacktoberfest-21
195aee1b008fde14fc8fce755bc32e4bb27ddd44
[ "MIT" ]
1
2021-10-07T06:59:52.000Z
2021-10-07T06:59:52.000Z
/* Given two strings A and B, Find the minimum number of steps required to convert A to B. (each operation is counted as 1 step.) You have the following 3 operations permitted on a word: Insert a character Delete a character Replace a character Examples: Input 1: A = "abad" B = "abac" Output 1: 1 Explanat...
23.170213
99
0.519743
NavalMahajan
a988ea353c062c861105902cbd6bb20c88a317b9
1,305
cpp
C++
codeforces/332div2/B/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
codeforces/332div2/B/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
codeforces/332div2/B/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 <<...
22.894737
56
0.499617
Johniel
a98b03ae86ab6d74795a97bab1ac32b7bbb34720
26,699
cpp
C++
src/servers/app/font/FontManager.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/servers/app/font/FontManager.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/servers/app/font/FontManager.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2001-2016, Haiku. * Distributed under the terms of the MIT License. * * Authors: * DarkWyrm <bpmagic@columbus.rr.com> * Axel Dörfler, axeld@pinc-software.de */ /*! Manages font families and styles */ #include "FontManager.h" #include <new> #include <Autolock.h> #include <Directory.h> #incl...
22.839179
79
0.694932
Yn0ga
a98c0b8f044bbdf968ec56f48e8c556154985e9a
2,481
hpp
C++
src/private/pending.hpp
xaya/xayax
d3dc4f81a209c1f461217d0d5ea0640804b50100
[ "MIT" ]
null
null
null
src/private/pending.hpp
xaya/xayax
d3dc4f81a209c1f461217d0d5ea0640804b50100
[ "MIT" ]
3
2021-08-28T07:59:19.000Z
2022-01-11T09:42:44.000Z
src/private/pending.hpp
xaya/xayax
d3dc4f81a209c1f461217d0d5ea0640804b50100
[ "MIT" ]
2
2021-12-28T16:22:57.000Z
2022-03-16T13:59:50.000Z
// Copyright (C) 2021 The Xaya developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef XAYAX_PENDING_HPP #define XAYAX_PENDING_HPP #include "blockdata.hpp" #include "private/zmqpub.hpp" #include <mutex> #include <st...
28.517241
76
0.725917
xaya
a98c5675a97b30236879189557ee3bd9aee0211c
13,722
cpp
C++
src/astro/low_thrust/hybridMethod.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
src/astro/low_thrust/hybridMethod.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
src/astro/low_thrust/hybridMethod.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2018, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
43.561905
160
0.723655
kimonito98
817ae88190d13e3d663a0221da7b797b58bd2c28
401
cpp
C++
test/detail/erase_signature.fail.1.cpp
BRevzin/dyno
76dcd0cc29cfa0e48f893e1ac32b6380b35437e0
[ "BSL-1.0" ]
739
2017-03-17T15:02:08.000Z
2022-03-29T03:25:32.000Z
test/detail/erase_signature.fail.1.cpp
BRevzin/dyno
76dcd0cc29cfa0e48f893e1ac32b6380b35437e0
[ "BSL-1.0" ]
41
2017-03-09T07:04:13.000Z
2021-05-27T20:05:24.000Z
test/detail/erase_signature.fail.1.cpp
BRevzin/dyno
76dcd0cc29cfa0e48f893e1ac32b6380b35437e0
[ "BSL-1.0" ]
43
2017-04-08T07:23:33.000Z
2021-08-20T14:20:49.000Z
// Copyright Louis Dionne 2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <dyno/concept.hpp> #include <dyno/detail/erase_signature.hpp> // MESSAGE[dyno::T may not be passed by value; it is only a placeholder...
30.846154
81
0.733167
BRevzin
817be932ab5800ec1e43657231a1bbe89fd99802
1,125
cpp
C++
src/ui/ScanTreeEventListener.cpp
OmniNegro123/med
48b00bfb9319f735a2406ff2efe7253c46007236
[ "BSD-3-Clause" ]
37
2015-10-05T17:44:20.000Z
2022-03-24T02:55:04.000Z
src/ui/ScanTreeEventListener.cpp
OmniNegro123/med
48b00bfb9319f735a2406ff2efe7253c46007236
[ "BSD-3-Clause" ]
6
2017-04-01T02:26:22.000Z
2022-02-19T07:46:29.000Z
src/ui/ScanTreeEventListener.cpp
OmniNegro123/med
48b00bfb9319f735a2406ff2efe7253c46007236
[ "BSD-3-Clause" ]
4
2020-07-23T17:27:36.000Z
2021-12-25T20:29:56.000Z
#include "med/MedCommon.hpp" #include "ui/ScanTreeEventListener.hpp" ScanTreeEventListener::ScanTreeEventListener(QTreeView* treeView, MedUi* mainUi) { this->mainUi = mainUi; this->treeView = treeView; } bool ScanTreeEventListener::eventFilter(QObject*, QEvent* ev) { if (ev->type() == QEvent::KeyRelease) { ...
34.090909
188
0.651556
OmniNegro123
818274bb1cda4ef29b46bcf5a5b4d8d52e1c1b74
1,852
hpp
C++
src/Debayer/CUVI/include/cuvicv.hpp
Obaid51/Debayer.Obaid
742d2fb25046e682bb0260c1df30f411bff0d258
[ "Linux-OpenIB" ]
null
null
null
src/Debayer/CUVI/include/cuvicv.hpp
Obaid51/Debayer.Obaid
742d2fb25046e682bb0260c1df30f411bff0d258
[ "Linux-OpenIB" ]
null
null
null
src/Debayer/CUVI/include/cuvicv.hpp
Obaid51/Debayer.Obaid
742d2fb25046e682bb0260c1df30f411bff0d258
[ "Linux-OpenIB" ]
null
null
null
#ifndef CUVICV_HPP #define CUVICV_HPP #ifndef __cplusplus #error This Header Requires A C++ Compiler #endif #include "cuviCore.hpp" namespace cuvi { namespace computerVision { CUVI_EXPORTS CuviStatus goodFeaturesToTrack(const CuviImage& src, const CuviRect& roi, CuviPointValue2D<float, float>*& output, Cuvi32s& max...
66.142857
300
0.807775
Obaid51
818503b48d04f47c71a72108e9fdd20b8755732b
4,673
hpp
C++
src/dtl/bitmap/util/bitmap_writer.hpp
harald-lang/tree-encoded-bitmaps
a4ab056f2cefa7843b27c736833b08977b56649c
[ "Apache-2.0" ]
29
2020-06-18T12:51:42.000Z
2022-02-22T07:38:24.000Z
src/dtl/bitmap/util/bitmap_writer.hpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
null
null
null
src/dtl/bitmap/util/bitmap_writer.hpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
2
2021-04-07T13:43:34.000Z
2021-06-09T04:49:39.000Z
#pragma once //===----------------------------------------------------------------------===// #include "bitmap_fun.hpp" #include <dtl/dtl.hpp> #include <cassert> #include <cstddef> #include <memory> #include <type_traits> //===----------------------------------------------------------------------===// namespace dtl {...
30.148387
81
0.603253
harald-lang
8186f835adc3962fe138af8445440effbe4c2750
19,815
cpp
C++
src/search-engine.cpp
operutka/alzw
117fa7ae065ace7c5d35d90a0e9b3d2c8ed61a24
[ "MIT" ]
null
null
null
src/search-engine.cpp
operutka/alzw
117fa7ae065ace7c5d35d90a0e9b3d2c8ed61a24
[ "MIT" ]
null
null
null
src/search-engine.cpp
operutka/alzw
117fa7ae065ace7c5d35d90a0e9b3d2c8ed61a24
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 Perutka, Ondrej Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
26.740891
122
0.56654
operutka
818ae9d7ad1383f90e7f9d51c645cc77d2c27ec0
98
cpp
C++
exercise-1/tests/exercise-1-test.cpp
kobi-ca/57-exercises
73793207c3d5e687f4b1241cb348f55177ae3751
[ "MIT" ]
null
null
null
exercise-1/tests/exercise-1-test.cpp
kobi-ca/57-exercises
73793207c3d5e687f4b1241cb348f55177ae3751
[ "MIT" ]
null
null
null
exercise-1/tests/exercise-1-test.cpp
kobi-ca/57-exercises
73793207c3d5e687f4b1241cb348f55177ae3751
[ "MIT" ]
null
null
null
// // Created by kobi on 3/20/21. // #include "gtest/gtest.h" TEST(exercise_1_test, basic) { }
9.8
30
0.632653
kobi-ca
818c3f96091ee261ced99f5cd63b49e829fe8ae0
8,806
cpp
C++
hindsight/ModuleCollection.cpp
Imagine-Programming/hindsight
720813cd3598378662d5798cf7a5036703a148b3
[ "MIT" ]
null
null
null
hindsight/ModuleCollection.cpp
Imagine-Programming/hindsight
720813cd3598378662d5798cf7a5036703a148b3
[ "MIT" ]
3
2020-06-27T09:58:43.000Z
2020-06-27T10:03:25.000Z
hindsight/ModuleCollection.cpp
Imagine-Programming/hindsight
720813cd3598378662d5798cf7a5036703a148b3
[ "MIT" ]
null
null
null
#include "ModuleCollection.hpp" using namespace Hindsight::Debugger; /// <summary> /// Construct a new Module instance with the base address, module size and path known. No information /// has to be obtained from the remote process. /// </summary> /// <param name="base">Module base address.</param> /// <param name="...
39.666667
157
0.724847
Imagine-Programming
818d61c6e812cd579c477d78384639773818f3d0
706
cpp
C++
Router/Data/Route_Stop_Data.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
Router/Data/Route_Stop_Data.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
Router/Data/Route_Stop_Data.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Route_Stop_Data.cpp - transit route stop data classes //********************************************************* #include "Route_Stop_Data.hpp" //--------------------------------------------------------- // Route_Stop_Data constructor //-----------------...
27.153846
59
0.369688
kravitz
818e9ca88218580ea9d950a657f9cb080ef039da
2,973
cpp
C++
plt/src/alloc.cpp
acplt/acplt-ks
9c1acdeeabd93d1627a0fe4c5ac7888144c950fe
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
plt/src/alloc.cpp
acplt/acplt-ks
9c1acdeeabd93d1627a0fe4c5ac7888144c950fe
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
plt/src/alloc.cpp
acplt/acplt-ks
9c1acdeeabd93d1627a0fe4c5ac7888144c950fe
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
/* -*-plt-c++-*- */ /* $Header: /home/david/cvs/acplt/plt/src/alloc.cpp,v 1.7 2007-04-25 12:57:21 martin Exp $ */ /* * Copyright (c) 1996, 1997, 1998, 1999 * Lehrstuhl fuer Prozessleittechnik, RWTH Aachen * D-52064 Aachen, Germany. * All rights reserved. * * This file is part of the ACPLT/KS Package which is lice...
26.309735
93
0.529768
acplt
81960c25788fd902bb36e5069c33957ef1cd7ae5
4,843
cpp
C++
SOUI/src/control/SHotKeyCtrl.cpp
JeanPenty/soui
09af4cf02d3e3c0a04f97d96b210747efb38d35b
[ "MIT" ]
4
2018-01-06T13:16:50.000Z
2018-05-14T01:20:00.000Z
SOUI/src/control/SHotKeyCtrl.cpp
JeanPenty/soui
09af4cf02d3e3c0a04f97d96b210747efb38d35b
[ "MIT" ]
null
null
null
SOUI/src/control/SHotKeyCtrl.cpp
JeanPenty/soui
09af4cf02d3e3c0a04f97d96b210747efb38d35b
[ "MIT" ]
3
2017-10-12T05:50:15.000Z
2018-08-14T03:32:06.000Z
#include "souistd.h" #include "control/SHotKeyCtrl.h" #include <CommCtrl.h> namespace SOUI { SHotKeyCtrl::SHotKeyCtrl(void) { m_wInvalidModifier=0; m_wInvalidComb=HKCOMB_NONE; m_bInSetting=FALSE; m_bFocusable=TRUE; m_evtSet.addEvent(EVENTID(EventSetHotKey)); } SHotKeyCtrl::~SHotKeyCtrl(void) { } i...
25.489474
133
0.690688
JeanPenty
819908ddc599856608438add09fd2a8e26154aca
6,260
cpp
C++
tc 160+/FastPostman.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/FastPostman.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/FastPostman.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 <cstring> #include <queue> #include <set> using namespace std; struct state { int left, right, pos, t; state(int left_, int right_, int pos_, int t_): left(lef...
37.261905
321
0.535463
ibudiselic
8199eb9a0e2e7f98a3441ce7e07c269b68e14cc7
1,472
cpp
C++
DLE/DataTypes/PolyModel.cpp
overload-development-community/DLE.NET
fe422895a91a28fdee7f980f7613bb4c8c047bb0
[ "MIT" ]
2
2020-07-08T22:07:55.000Z
2020-08-21T05:42:34.000Z
DLE/DataTypes/PolyModel.cpp
overload-development-community/DLE.NET
fe422895a91a28fdee7f980f7613bb4c8c047bb0
[ "MIT" ]
2
2020-09-11T01:01:00.000Z
2020-12-07T23:09:35.000Z
DLE/DataTypes/PolyModel.cpp
overload-development-community/DLE.NET
fe422895a91a28fdee7f980f7613bb4c8c047bb0
[ "MIT" ]
1
2021-09-28T16:39:30.000Z
2021-09-28T16:39:30.000Z
// Copyright (c) 1997 Bryan Aamot #include "stdafx.h" #include "PolyModel.h" //------------------------------------------------------------------------------ void CPolyModel::Read (IFileManager* fp, bool bRenderData) { if (bRenderData) { Release (); if ((m_info.renderData = new ubyte [m_info.dataSize])) fp->Read...
31.319149
80
0.569293
overload-development-community
819e01137d9947dbc318975f37e809f1fe5a5348
1,438
cpp
C++
src/web_wifiaplist.cpp
spmrider/ESP32-WiFiMon
82bba58f7a35676eb7bf09c60e79f5e1cf95967c
[ "BSD-2-Clause" ]
2
2019-03-18T14:56:10.000Z
2020-02-11T12:57:23.000Z
src/web_wifiaplist.cpp
spmrider/ESP32-WiFiMon
82bba58f7a35676eb7bf09c60e79f5e1cf95967c
[ "BSD-2-Clause" ]
null
null
null
src/web_wifiaplist.cpp
spmrider/ESP32-WiFiMon
82bba58f7a35676eb7bf09c60e79f5e1cf95967c
[ "BSD-2-Clause" ]
null
null
null
#include "main.h" #if(WEBSERVER) // external void append_HTML_header(); void append_HTML_footer(); void append_short_HTML_header(); String GetTime(); String translateEncryptionType(wifi_auth_mode_t encryptionType); void wifiaplist() { append_short_HTML_header(); webpage += "<br><h2>Time of AP Scan: " + GetTime()...
26.145455
105
0.557719
spmrider
81a15afb50383db670cc407bd8c720bdfc720481
17,249
cpp
C++
tests/amqpprox_types.t.cpp
Chinmay1412/amqpprox
6ff384731c847d9cf4e158da8dac431a1eeff526
[ "ECL-2.0", "Apache-2.0" ]
49
2021-07-07T08:31:31.000Z
2022-03-24T04:17:01.000Z
tests/amqpprox_types.t.cpp
Chinmay1412/amqpprox
6ff384731c847d9cf4e158da8dac431a1eeff526
[ "ECL-2.0", "Apache-2.0" ]
12
2021-07-07T09:49:17.000Z
2022-03-23T13:20:57.000Z
tests/amqpprox_types.t.cpp
Chinmay1412/amqpprox
6ff384731c847d9cf4e158da8dac431a1eeff526
[ "ECL-2.0", "Apache-2.0" ]
12
2021-07-06T21:09:30.000Z
2022-01-15T20:44:27.000Z
/* ** Copyright 2020 Bloomberg Finance L.P. ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or...
35.63843
79
0.65656
Chinmay1412
81a1bc54dfc0cb673058c9352280650ddd7a01db
13,411
cpp
C++
games/butano-fighter/src/bf_game_enemy.cpp
foopod/butano
185be8ffb496cfc8b8be9fc8a518eceb31c711f8
[ "Zlib" ]
null
null
null
games/butano-fighter/src/bf_game_enemy.cpp
foopod/butano
185be8ffb496cfc8b8be9fc8a518eceb31c711f8
[ "Zlib" ]
null
null
null
games/butano-fighter/src/bf_game_enemy.cpp
foopod/butano
185be8ffb496cfc8b8be9fc8a518eceb31c711f8
[ "Zlib" ]
null
null
null
/* * Copyright (c) 2020-2021 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ #include "bf_game_enemy.h" #include "bn_sprite_builder.h" #include "bn_sprite_affine_mats.h" #include "bn_sprite_items_mini_explosion.h" #include "bn_sprite_items_enemy_explosion.h" #include "bf_game_...
33.69598
123
0.601297
foopod
81a1ff490026671f17051dbc90717eb94b954aa8
27,779
cpp
C++
src/launcher/launcher.cpp
GEEKiDoS/cso2-launcher
7735016be8df408b7d3236afe63e531de6fb13dc
[ "MIT" ]
null
null
null
src/launcher/launcher.cpp
GEEKiDoS/cso2-launcher
7735016be8df408b7d3236afe63e531de6fb13dc
[ "MIT" ]
null
null
null
src/launcher/launcher.cpp
GEEKiDoS/cso2-launcher
7735016be8df408b7d3236afe63e531de6fb13dc
[ "MIT" ]
null
null
null
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // // Defines the entry point for the application. // //===========================================================================// #if defined( _WIN32 ) && !defined( _X360 ) #include <windows.h> #include "shlwapi.h" // ...
26.305871
261
0.610209
GEEKiDoS
81a33bd2708c0871c4f23c12fdd29fc8d35682e3
1,707
hpp
C++
3rdparty/stout/include/stout/os/windows/realpath.hpp
j143/mesos
a85a22baa32f66ecaa13c4602a195d57f6abf9be
[ "Apache-2.0" ]
null
null
null
3rdparty/stout/include/stout/os/windows/realpath.hpp
j143/mesos
a85a22baa32f66ecaa13c4602a195d57f6abf9be
[ "Apache-2.0" ]
null
null
null
3rdparty/stout/include/stout/os/windows/realpath.hpp
j143/mesos
a85a22baa32f66ecaa13c4602a195d57f6abf9be
[ "Apache-2.0" ]
null
null
null
// 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 writing, software // distributed und...
28.932203
77
0.725835
j143
81adba68314d61075cdf26cabef8e63be6a6dab0
3,965
cpp
C++
controller/test/units/units_test.cpp
burnhamd/VentilatorSoftware
7e1d1ba02b28a617d0baedaff3ab409cba3f9819
[ "Apache-2.0" ]
null
null
null
controller/test/units/units_test.cpp
burnhamd/VentilatorSoftware
7e1d1ba02b28a617d0baedaff3ab409cba3f9819
[ "Apache-2.0" ]
null
null
null
controller/test/units/units_test.cpp
burnhamd/VentilatorSoftware
7e1d1ba02b28a617d0baedaff3ab409cba3f9819
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020, RespiraWorks 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 writing, software d...
35.401786
79
0.708701
burnhamd
81adde71d290aa3256b91f10e1a474fbab1e9291
4,673
cpp
C++
samples/remote_attestation/common/dispatcher.cpp
ichetty/openenclave
1b67d4272ed8ba00ccc367c3e7ce80373db45a36
[ "MIT" ]
1
2021-06-15T11:05:55.000Z
2021-06-15T11:05:55.000Z
samples/remote_attestation/common/dispatcher.cpp
ichetty/openenclave
1b67d4272ed8ba00ccc367c3e7ce80373db45a36
[ "MIT" ]
1
2020-01-27T14:43:41.000Z
2020-01-27T14:43:41.000Z
samples/remote_attestation/common/dispatcher.cpp
ichetty/openenclave
1b67d4272ed8ba00ccc367c3e7ce80373db45a36
[ "MIT" ]
4
2019-09-14T07:58:58.000Z
2020-03-03T15:55:28.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "dispatcher.h" #include <openenclave/enclave.h> ecall_dispatcher::ecall_dispatcher( const char* name, enclave_config_data_t* enclave_config) : m_crypto(NULL), m_attestation(NULL) { m_enclave_config...
25.396739
80
0.636208
ichetty
81ae4dd76681943a1caa0c7f2c3bd3e81718ba4d
1,046
cpp
C++
src/frontends/lean/begin_end_annotation.cpp
javra/lean
cc70845332e63a1f1be21dc1f96d17269fc85909
[ "Apache-2.0" ]
130
2016-12-02T22:46:10.000Z
2022-03-22T01:09:48.000Z
src/frontends/lean/begin_end_annotation.cpp
soonhokong/lean
38607e3eb57f57f77c0ac114ad169e9e4262e24f
[ "Apache-2.0" ]
8
2017-05-03T01:21:08.000Z
2020-02-25T11:38:05.000Z
src/frontends/lean/begin_end_annotation.cpp
soonhokong/lean
38607e3eb57f57f77c0ac114ad169e9e4262e24f
[ "Apache-2.0" ]
28
2016-12-02T22:46:20.000Z
2022-03-18T21:28:20.000Z
/* Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <string> #include "library/annotation.h" namespace lean { static name * g_begin_end = nullptr; static name * g_begin_end_element = nullptr; expr ...
33.741935
112
0.772467
javra
81af96b96bf5a4724d1fe842b17bffb2cfcdb7ae
25,810
cpp
C++
src/qt/qtbase/src/corelib/io/qdebug.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/corelib/io/qdebug.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/corelib/io/qdebug.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Copyright (C) 2014 Intel Corporation. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial Licens...
29.735023
133
0.618791
power-electro
81b64e288ca833516fcba8d6c0aed822d72568f4
961
cpp
C++
Trig.cpp
dcmcilrath/AtomView
0f0e005a02f0776746e80d914c2890c079e1ffef
[ "MIT" ]
null
null
null
Trig.cpp
dcmcilrath/AtomView
0f0e005a02f0776746e80d914c2890c079e1ffef
[ "MIT" ]
null
null
null
Trig.cpp
dcmcilrath/AtomView
0f0e005a02f0776746e80d914c2890c079e1ffef
[ "MIT" ]
null
null
null
/* File: Trig.cpp Project: AtomView Author: Douglas C. McIlrath Date: December 2013 Contents: Math functions used by multiple different parts of program: radians getDistance getAngle */ #include "AVHeaders.hpp" double radians(double degrees) { return degrees * M_PI / 180; } double degrees(double r...
18.480769
63
0.639958
dcmcilrath
81b98e02938008cb68cb78e4b7b87e6937f08903
217,901
cpp
C++
groups/bdl/bdlcc/bdlcc_deque.t.cpp
hughesr/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
1
2019-01-22T19:44:05.000Z
2019-01-22T19:44:05.000Z
groups/bdl/bdlcc/bdlcc_deque.t.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
groups/bdl/bdlcc/bdlcc_deque.t.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
// bdlcc_deque.t.cpp -*-C++-*- #include <bdlcc_deque.h> #include <bslim_testutil.h> #include <bslmt_barrier.h> #include <bslmt_configuration.h> #include <bslmt_lockguard.h> #include <bslmt_semaphore.h> #include <bslmt_threadutil.h> #include <bslmt_threadgroup.h> #inc...
34.478006
79
0.473591
hughesr
81be851c69047de2817ee0a96c7850c97a07a7a4
2,465
cpp
C++
PRACTICE/StackPrac.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/StackPrac.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/StackPrac.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #define MAX_SIZE 3 struct StackPrac { char arr[MAX_SIZE]; int size; }; typedef StackPrac STACK; //INIT STACK void stackInit(STACK *s) { s->size=0; } //CHECK FOR EMPTY STACK bool stackEmpty(STACK *s) { return(s->size == 0); } //CHECK IF STACK IS FULL bool stack...
22.614679
76
0.487627
prasantmahato
81c1ef0453ad132629c2fd0e6f687c4bffceb4ff
2,072
cpp
C++
Tabula Rasa Engine/3D_Engine/trTimeManager.cpp
Wilhelman/GameEngine
bdfb635f5f33c7748828bdb415e79cedda509982
[ "MIT" ]
2
2018-09-18T22:33:32.000Z
2019-02-24T23:32:05.000Z
Tabula Rasa Engine/3D_Engine/trTimeManager.cpp
rohomedesrius/Tabula-Rasa-Engine
eed3e85b297d80f3299a769a92a746ba022e4fb7
[ "MIT" ]
null
null
null
Tabula Rasa Engine/3D_Engine/trTimeManager.cpp
rohomedesrius/Tabula-Rasa-Engine
eed3e85b297d80f3299a769a92a746ba022e4fb7
[ "MIT" ]
3
2018-12-03T15:00:13.000Z
2020-03-24T10:10:44.000Z
#include "trTimeManager.h" trTimeManager::trTimeManager() { this->name = "TimeManager"; } trTimeManager::~trTimeManager() { } bool trTimeManager::Start() { return true; } // ---------- Getters ---------- double trTimeManager::ReadGameClockSec() const { return game_sec_time; } double trTimeManager::ReadRealTime...
17.709402
71
0.718629
Wilhelman
81c242563d1845428e920616e9d0ddca51d17c6a
715
cpp
C++
LibSharpPhysX/Generated/PxPlaneGeometry.cpp
Alan-FGR/SharpPhysX
9b6b49d34c94e2fd165ff50795ae36b32149751b
[ "MIT" ]
23
2019-03-17T17:35:06.000Z
2022-01-12T01:54:43.000Z
LibSharpPhysX/Generated/PxPlaneGeometry.cpp
Alan-FGR/SharpPhysX
9b6b49d34c94e2fd165ff50795ae36b32149751b
[ "MIT" ]
1
2019-05-10T22:14:33.000Z
2019-05-10T22:48:29.000Z
LibSharpPhysX/Generated/PxPlaneGeometry.cpp
Alan-FGR/SharpPhysX
9b6b49d34c94e2fd165ff50795ae36b32149751b
[ "MIT" ]
5
2019-03-17T17:36:03.000Z
2021-08-06T06:42:58.000Z
// Generated by minBND 5.1.94.90 - © github.com/Alan-FGR ES void PxTransform_PxTransformFromPlaneEquationPtr_PxPlane_(physx::PxTransform* nRetRef, physx::PxPlane* wrp_plane){ *nRetRef = ::physx::PxTransformFromPlaneEquation(*wrp_plane); } ES void PxPlane_PxPlaneEquationFromTransformPtr_PxTransform_(physx::PxPlane...
37.631579
121
0.791608
Alan-FGR
81c7fd964ba6ad89dabf42e6e90c0be3e4a2a672
683
cpp
C++
src/mathematics/equality-and-inequality/quadric-residue.cpp
Nisiyama-Suzune/LMR
16325b9efcb71240111ac12ea55c0cb45b0c5834
[ "MIT" ]
48
2018-08-15T11:58:28.000Z
2022-02-08T23:38:29.000Z
src/mathematics/equality-and-inequality/quadric-residue.cpp
Nisiyama-Suzune/LMR
16325b9efcb71240111ac12ea55c0cb45b0c5834
[ "MIT" ]
null
null
null
src/mathematics/equality-and-inequality/quadric-residue.cpp
Nisiyama-Suzune/LMR
16325b9efcb71240111ac12ea55c0cb45b0c5834
[ "MIT" ]
8
2019-07-18T10:27:50.000Z
2021-06-08T13:03:47.000Z
struct quadric { void multiply(long long &c, long long &d, long long a, long long b, long long w, long long p) { int cc = (a * c + b * d % p * w) % p; int dd = (a * d + b * c) % p; c = cc, d = dd; } bool solve(int n, int p, int &x) { if (n == 0) return x = 0, true; if (p == 2) return x = 1, true; if (power (n...
40.176471
96
0.467057
Nisiyama-Suzune
81c920a7436d26e617978780c18b12c2696a4a67
4,647
cpp
C++
Vic2ToHoI4/Source/HOI4World/Event.cpp
Johuotar/Vic2ToHoI4
9d32ee10d2687041612428bbd93a9187de05009e
[ "MIT" ]
2
2019-09-05T15:09:29.000Z
2020-01-15T15:01:09.000Z
Vic2ToHoI4/Source/HOI4World/Event.cpp
Johuotar/Vic2ToHoI4
9d32ee10d2687041612428bbd93a9187de05009e
[ "MIT" ]
null
null
null
Vic2ToHoI4/Source/HOI4World/Event.cpp
Johuotar/Vic2ToHoI4
9d32ee10d2687041612428bbd93a9187de05009e
[ "MIT" ]
null
null
null
/*Copyright (c) 2018 The Paradox Game Converters Project 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, p...
29.980645
110
0.692705
Johuotar
81cb79d253d4c8a6cc9cd6110653845871d87bdd
34,068
cpp
C++
inference-engine/thirdparty/clDNN/tests/test_cases/mem_perf_test.cpp
evgeniya-egupova/openvino
4b8d6c59e3444ecdc549bfdf357d19d625479b89
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/clDNN/tests/test_cases/mem_perf_test.cpp
evgeniya-egupova/openvino
4b8d6c59e3444ecdc549bfdf357d19d625479b89
[ "Apache-2.0" ]
44
2020-12-09T12:38:22.000Z
2022-03-28T13:18:29.000Z
inference-engine/thirdparty/clDNN/tests/test_cases/mem_perf_test.cpp
rkazants/openvino
a9a583eb42d43322b39b95b164b5b22c4f341111
[ "Apache-2.0" ]
2
2021-11-18T06:09:04.000Z
2021-11-30T07:39:47.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "test_utils.h" #include "opencl_helper_instance.hpp" #include <cldnn/primitives/input_layout.hpp> #include <cldnn/primitives/activation.hpp> #include <cldnn/primitives/data.hpp> #include <cldnn/runtime/device_query.hpp> static...
44.41721
176
0.664671
evgeniya-egupova
81cbbc2d47814eb182b7c31aa091bf0c26301f8f
15,868
cxx
C++
TRD/TRDbase/AliTRDarrayADC.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TRD/TRDbase/AliTRDarrayADC.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TRD/TRDbase/AliTRDarrayADC.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************* * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors a...
24.949686
86
0.538631
AllaMaevskaya
81d47b0ace1a269fb93f44b6ad05f68c8648248f
9,108
cpp
C++
src/hir/serialise_lowlevel.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
1,706
2015-01-18T11:01:10.000Z
2022-03-31T00:31:54.000Z
src/hir/serialise_lowlevel.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
215
2015-03-26T10:31:36.000Z
2022-03-13T02:04:13.000Z
src/hir/serialise_lowlevel.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
114
2015-03-26T10:29:02.000Z
2022-03-21T20:59:37.000Z
/* * MRustC - Rust Compiler * - By John Hodge (Mutabah/thePowersGang) * * hir/serialise_lowlevel.cpp * - HIR (De)Serialisation low-level "protocol" */ #include <debug.hpp> #include "serialise_lowlevel.hpp" #include <zlib.h> #include <fstream> #include <string.h> // memcpy #include <common.hpp> #include <algorit...
26.788235
120
0.594093
bjorn3
81d5ecb11a8c2b999d4004fe0e9ccdbc120f0e8e
1,735
cc
C++
experimental/eigen_blas.cc
mayah/base
aec046929938d2aaebaadce5c5abb58b5cf342b4
[ "MIT" ]
null
null
null
experimental/eigen_blas.cc
mayah/base
aec046929938d2aaebaadce5c5abb58b5cf342b4
[ "MIT" ]
null
null
null
experimental/eigen_blas.cc
mayah/base
aec046929938d2aaebaadce5c5abb58b5cf342b4
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <eigen3/Eigen/Core> #include <cblas.h> #include "base/time/current_time.h" using namespace std; using namespace Eigen; const int N = 1024; void run_eigen() { double t1 = base::current_time(); MatrixXf m1(N, N), m2(N, N); for (int i = 0; i < N; ++i) { ...
20.903614
58
0.470893
mayah
81d8bd9b07f983c7a2606bf91674f56e1fc5578f
4,475
cpp
C++
nntrainer/layers/tflite_layer.cpp
meteozay/nntrainer
09282b903ed5e3c149844a370305fa594a64e513
[ "Apache-2.0" ]
1
2022-03-27T18:56:11.000Z
2022-03-27T18:56:11.000Z
nntrainer/layers/tflite_layer.cpp
meteozay/nntrainer
09282b903ed5e3c149844a370305fa594a64e513
[ "Apache-2.0" ]
null
null
null
nntrainer/layers/tflite_layer.cpp
meteozay/nntrainer
09282b903ed5e3c149844a370305fa594a64e513
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2020 Parichay Kapoor <pk.kapoor@samsung.com> * * @file tflite_layer.cpp * @date 26 October 2020 * @brief This is class to encapsulate tflite as a layer of Neural Network * @see https://github.com/nnstreamer/nntrainer * @author Parichay Kapoor <pk.kapoor...
30.862069
80
0.673743
meteozay
81d96f560e629735e74e3774da07f25e6e523b5f
7,830
cpp
C++
examples_oldgl_glfw/605_FemClothInternal/main.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
1
2020-07-18T17:03:36.000Z
2020-07-18T17:03:36.000Z
examples_oldgl_glfw/605_FemClothInternal/main.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
null
null
null
examples_oldgl_glfw/605_FemClothInternal/main.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Nobuyuki Umetani * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <vector> #if defined(_WIN32) // windows # define NOMINMAX // to remove min,max macro # include <windows.h> // this should come bef...
32.489627
104
0.624777
mmer547
81de5374238c06483de04626eb4148bdec7c0a1c
2,017
cpp
C++
demo/marquee.cpp
Zoomulator/Terminate
e83ca39ea2690fbf8d3e68a7b6a2eef11a17eed3
[ "Zlib" ]
18
2015-01-15T03:59:27.000Z
2021-03-31T12:37:14.000Z
demo/marquee.cpp
Zoomulator/Terminate
e83ca39ea2690fbf8d3e68a7b6a2eef11a17eed3
[ "Zlib" ]
2
2017-10-31T01:15:20.000Z
2018-01-13T17:50:24.000Z
demo/marquee.cpp
Zoomulator/Terminate
e83ca39ea2690fbf8d3e68a7b6a2eef11a17eed3
[ "Zlib" ]
5
2017-11-07T14:40:49.000Z
2018-08-10T21:48:19.000Z
#include <cstdlib> #include <SDL/SDL.h> #include <SDL/SDL_image.h> #include <Terminate/terminate.hpp> #include <Terminate/sdl/context.hpp> Term::Color RandomColor() { return Term::Color ( static_cast<Uint8>(rand()%255), static_cast<Uint8>(rand()%255), static_cast<Uint8>(rand()%255) ); ...
26.539474
92
0.583044
Zoomulator
81de9ab48b24137ae355a2627eaae91b7be5bc79
2,006
cpp
C++
OpenGL/Fill Algorithm/Floodfill.cpp
amrii1/Computer-Graphics
597b4ab061b57d222e54c01a7adf2799cb889f3a
[ "MIT" ]
1
2020-02-15T03:56:40.000Z
2020-02-15T03:56:40.000Z
OpenGL/Fill Algorithm/Floodfill.cpp
KINGRANDOLPH/Computer-Graphics
509d2b06a34d9988e6c866eb6f900a56167f78ac
[ "MIT" ]
null
null
null
OpenGL/Fill Algorithm/Floodfill.cpp
KINGRANDOLPH/Computer-Graphics
509d2b06a34d9988e6c866eb6f900a56167f78ac
[ "MIT" ]
null
null
null
#include <math.h> #include <GL/glut.h> #include<GL/gl.h> struct Color { GLfloat r; GLfloat g; GLfloat b; }; void init() { glClearColor(1.0, 1.0, 1.0, 0.0); glColor3f(0.0, 0.0, 0.0); glPointSize(1.0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0, 700, 0, 700); } Color getPixelColor(GLint x, GL...
18.236364
72
0.662014
amrii1
81e110d583c3abe0854de056f4ebc39fe5736131
3,458
cpp
C++
src/ui/SciControl/SQLScintillaController.cpp
masmullin2000/codeassistor
82389e16dda7be522ee5370aae441724da2e9cf2
[ "BSD-4-Clause" ]
null
null
null
src/ui/SciControl/SQLScintillaController.cpp
masmullin2000/codeassistor
82389e16dda7be522ee5370aae441724da2e9cf2
[ "BSD-4-Clause" ]
null
null
null
src/ui/SciControl/SQLScintillaController.cpp
masmullin2000/codeassistor
82389e16dda7be522ee5370aae441724da2e9cf2
[ "BSD-4-Clause" ]
null
null
null
/** title info */ #include "SQLScintillaController.h" #include "ScintillaSend.h" /* colourizing defines */ #define DEF_KEYW_1 "#FF627E" #define DEF_KEYW_2 "#FF00FF" #define DEF_NUM "#FF0000" #define DEF_OP "#0000FF" #define DEF_STRING "#EE9A4D" #define DEF_CHAR "#0022FF" #define DEF_PREPR...
36.4
84
0.762001
masmullin2000
81e480473b928413921325814a656953cb9119e9
344
cpp
C++
Userland/Libraries/LibWeb/Layout/SVGBox.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/Layout/SVGBox.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/Layout/SVGBox.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibWeb/Layout/SVGBox.h> namespace Web::Layout { SVGBox::SVGBox(DOM::Document& document, SVG::SVGElement& element, NonnullRefPtr<CSS::StyleProperties> style) : BlockContainer(document, &eleme...
20.235294
108
0.715116
xspager
81e73e880a1480b7ed8c4ac44e89fe447341bce1
12,521
hpp
C++
include/GlobalNamespace/LevelBar.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/LevelBar.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/LevelBar.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
54.916667
869
0.744509
marksteward
81ef472d449f433f01851cd830a21d8c01d9f7a6
5,482
hpp
C++
ql/ext/pricingengines/discountingcurrencyswapengine.hpp
andreasf-ki/QuantLib
1cf6bdcf2b5efef1ca0fcd81f9aba663e507c269
[ "BSD-3-Clause" ]
null
null
null
ql/ext/pricingengines/discountingcurrencyswapengine.hpp
andreasf-ki/QuantLib
1cf6bdcf2b5efef1ca0fcd81f9aba663e507c269
[ "BSD-3-Clause" ]
2
2021-09-03T05:20:53.000Z
2021-11-03T02:08:29.000Z
ql/ext/pricingengines/discountingcurrencyswapengine.hpp
andreasf-ki/QuantLib
1cf6bdcf2b5efef1ca0fcd81f9aba663e507c269
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
44.569106
119
0.684787
andreasf-ki
81efb559fac5c851edd6133fc4e671b5f884a745
1,170
cpp
C++
src/lib/senet_us915_netbeginregioninit.cpp
olicooper/arduino-lorawan
caceeb49b1f5520d11668aeb7c587ef1a96ca9ad
[ "MIT" ]
198
2016-11-04T13:49:53.000Z
2022-03-30T13:25:51.000Z
src/lib/senet_us915_netbeginregioninit.cpp
olicooper/arduino-lorawan
caceeb49b1f5520d11668aeb7c587ef1a96ca9ad
[ "MIT" ]
134
2017-03-02T05:25:20.000Z
2022-03-31T19:26:33.000Z
src/lib/senet_us915_netbeginregioninit.cpp
olicooper/arduino-lorawan
caceeb49b1f5520d11668aeb7c587ef1a96ca9ad
[ "MIT" ]
51
2017-11-16T15:14:38.000Z
2022-03-09T09:41:43.000Z
/* Module: senet_us915_netbegin.cpp Function: Arduino_LoRaWAN_Senet_us915::NetBeginRegionInit() Copyright notice: See LICENSE file accompanying this project. Author: Terry Moore, MCCI Corporation February 2020 */ #include <Arduino_LoRaWAN_Senet.h> #include <Arduino_LoRaWAN_lmic.h> /****************...
22.941176
78
0.42735
olicooper
81f16c1bf8b939527dbb831a240d5a64918eac1f
1,572
cpp
C++
Data_Structures/heap.cpp
Kartik17/Cpp-Data-Structures-Algorithms
ae8b55c3ccb899d3652e0da4c7deebf8751f8f57
[ "MIT" ]
1
2021-12-29T02:48:07.000Z
2021-12-29T02:48:07.000Z
Data_Structures/heap.cpp
Kartik17/Cpp-Data-Structures-Algorithms
ae8b55c3ccb899d3652e0da4c7deebf8751f8f57
[ "MIT" ]
null
null
null
Data_Structures/heap.cpp
Kartik17/Cpp-Data-Structures-Algorithms
ae8b55c3ccb899d3652e0da4c7deebf8751f8f57
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include<climits> void swap(int*, int*); class MinHeap{ private: int* harr; int capacity = 0; int heap_size = 0; public: MinHeap(int size){ harr = new int[size]; capacity = size; heap_size = 0; } void display_heap(){ for(int i=0;i<heap_size;i++){ ...
14.830189
48
0.603053
Kartik17
81f516216b4f1a7104137d80197a50147b53b02a
32,215
cpp
C++
src/Modules/Renderer/Renderer.cpp
Noctonyx/RxEngine
fbf797926aa1fad53b6914b1a34df3cb829df2f5
[ "MIT" ]
null
null
null
src/Modules/Renderer/Renderer.cpp
Noctonyx/RxEngine
fbf797926aa1fad53b6914b1a34df3cb829df2f5
[ "MIT" ]
null
null
null
src/Modules/Renderer/Renderer.cpp
Noctonyx/RxEngine
fbf797926aa1fad53b6914b1a34df3cb829df2f5
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // MIT License // // Copyright (c) 2021-2021. Shane Hyde (shane@noctonyx.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
35.362239
115
0.555859
Noctonyx
81fa48327361a8d3677700dac8b88c3df9403e16
596
cpp
C++
面试题16.20.T9键盘/getValidT9Words_AC解法.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2019-10-21T14:40:39.000Z
2019-10-21T14:40:39.000Z
面试题16.20.T9键盘/getValidT9Words_AC解法.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
null
null
null
面试题16.20.T9键盘/getValidT9Words_AC解法.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2020-11-04T07:33:34.000Z
2020-11-04T07:33:34.000Z
class Solution { public: vector<string> getValidT9Words(string num, vector<string>& words) { string dig_num[26]={"2","2","2","3","3","3","4","4","4","5","5","5","6","6","6","7","7","7","7","8","8","8","9","9","9","9"}; vector<string>out; for(int i=0;i<words.size();++i) { ...
24.833333
133
0.389262
YichengZhong
3b488b1fb9c1714609cfd632f54a15f7387d226c
1,396
cpp
C++
src/stereo/utils.cpp
jeremypbrowne/tansa
e6044af397f99b9b985ed56015e9e0be13d4b026
[ "MIT" ]
38
2017-01-18T17:17:33.000Z
2022-01-04T17:24:08.000Z
src/stereo/utils.cpp
jeremypbrowne/tansa
e6044af397f99b9b985ed56015e9e0be13d4b026
[ "MIT" ]
61
2016-12-04T13:26:48.000Z
2020-04-29T22:49:13.000Z
src/stereo/utils.cpp
jeremypbrowne/tansa
e6044af397f99b9b985ed56015e9e0be13d4b026
[ "MIT" ]
21
2017-03-11T01:53:43.000Z
2019-12-09T07:53:57.000Z
#include "utils.h" #include <stdlib.h> #include <string.h> #include <limits.h> #include <ctype.h> bool parse_int(char *str, int *val){ char *endptr; long int v = strtol(str, &endptr, 10); if(endptr == str || *endptr != '\0') return false; if(v > INT_MAX || v < INT_MIN ) return false; *val = (int) v; ...
13.96
73
0.581662
jeremypbrowne
3b4a05491009578c875ade1d827548585ec4e907
5,646
cpp
C++
pbdata/FASTASequence.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
pbdata/FASTASequence.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
pbdata/FASTASequence.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <pbdata/FASTASequence.hpp> #include <cstdlib> FASTASequence::FASTASequence() : DNASequence() { title = NULL; titleLength = 0; deleteTitleOnExit = false; // If deleteTitleOnExist is false, whether to delete title // or not should depend on deleteOnExit; otherwise, delete title // regar...
25.663636
90
0.649309
ggraham
3b51f7bb77aa1e86e173f124b8f0d639b5c04f07
2,001
cpp
C++
src/util.cpp
mdolgich/ShapeFromFocus
51a6af76dfc3d89ff4db9c439ada87f9c52c6ad0
[ "MIT" ]
10
2019-03-05T18:52:18.000Z
2021-03-20T19:17:52.000Z
src/util.cpp
mdolgich/ShapeFromFocus
51a6af76dfc3d89ff4db9c439ada87f9c52c6ad0
[ "MIT" ]
null
null
null
src/util.cpp
mdolgich/ShapeFromFocus
51a6af76dfc3d89ff4db9c439ada87f9c52c6ad0
[ "MIT" ]
1
2021-03-26T10:15:48.000Z
2021-03-26T10:15:48.000Z
// // util.cpp // ShapeFromFocus // // Created by Maxim Dolgich on 26.02.19. // #include "util.hpp" using namespace cv; using namespace pcl; using namespace std; void triangulate(const string& fName,const Mat& textureImage, Mat& depthMap) { PointCloud<PointXYZRGB>::Ptr cloud (new PointCloud<PointXYZRGB>); ...
34.5
98
0.665167
mdolgich
3b52344fd073caa83d83202f4c90ae6f0f1a86f6
436
cpp
C++
NativeScript/Source/Simulation/Systems/RemoveEntity.cpp
tongtunggiang/unity-entt
d582a26e8447c52c122178c39c87fa926d979ec6
[ "MIT" ]
10
2021-06-18T15:58:38.000Z
2022-01-30T05:59:43.000Z
NativeScript/Source/Simulation/Systems/RemoveEntity.cpp
tongtunggiang/unity-entt
d582a26e8447c52c122178c39c87fa926d979ec6
[ "MIT" ]
null
null
null
NativeScript/Source/Simulation/Systems/RemoveEntity.cpp
tongtunggiang/unity-entt
d582a26e8447c52c122178c39c87fa926d979ec6
[ "MIT" ]
1
2021-11-24T22:12:24.000Z
2021-11-24T22:12:24.000Z
#include "Universal.h" #include "All.h" #include "Game.h" #include "Components/RemoveMe.h" void SUpdateRemoveEntity(Registry& registry, float dt) { PROFILER_FUNCTION(); auto toRemoveView = registry.view<CRemoveMe>(); for (auto toRemoveEntity : toRemoveView) { #if UNITY_NATIVE_DLL Game::Get()->GetEventHub().I...
16.769231
77
0.743119
tongtunggiang
3b52f9560d12dceea84e12183ea2bb55cd0ed482
888
cpp
C++
lib/Framework/Builtin/TestGenericBufferManager.cpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
180
2017-09-11T00:44:36.000Z
2022-03-25T09:23:47.000Z
lib/Framework/Builtin/TestGenericBufferManager.cpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
109
2015-01-19T07:33:38.000Z
2017-08-12T00:29:13.000Z
lib/Framework/Builtin/TestGenericBufferManager.cpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
32
2017-09-20T10:47:29.000Z
2022-03-24T06:13:03.000Z
// Copyright (c) 2013-2014 Josh Blum // 2020 Nicholas Corgan // SPDX-License-Identifier: BSL-1.0 #include <Pothos/Testing.hpp> #include <Pothos/Framework/BufferManager.hpp> #include <Pothos/Framework/BufferChunk.hpp> #include <Pothos/Framework/Exception.hpp> POTHOS_TEST_BLOCK("/framework/tests", te...
31.714286
84
0.697072
lsbharadwaj
3b53b28665cf855cd03b8ce8e4a3472df30e775b
1,819
cpp
C++
201509/5.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
23
2021-03-01T07:07:48.000Z
2022-03-19T12:49:14.000Z
201509/5.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
null
null
null
201509/5.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
2
2021-08-30T09:35:17.000Z
2021-09-10T12:26:13.000Z
// AC 自动机 #include <iostream> #include <cstring> #include <algorithm> using namespace std; typedef long long LL; const int N = 110; const LL INF = 1e18; int n; LL m; int tr[N][26], cnt[N], ne[N], idx; int q[N]; LL ans[N][N], w[N][N]; void insert(char* str) { int p = 0; for (int i = 0; str[i]; i ++ ) { ...
21.654762
63
0.372732
qzylalala
3b583b68324999187212c2601a753422dee15f1f
5,856
cpp
C++
CPP/main.cpp
ProbShin/MGKit
6997419e47e994101c4153e863a5f25a1740aa85
[ "BSD-2-Clause" ]
null
null
null
CPP/main.cpp
ProbShin/MGKit
6997419e47e994101c4153e863a5f25a1740aa85
[ "BSD-2-Clause" ]
null
null
null
CPP/main.cpp
ProbShin/MGKit
6997419e47e994101c4153e863a5f25a1740aa85
[ "BSD-2-Clause" ]
null
null
null
/************************************************************************* File Name: main.cpp Author: Xin Cheng Descriptions: Created Time: Mon 17 Oct 2016 11:41:53 PM EDT *********************************************************************/ #include <sstream> /*istringstream*/ #include <fstream> /...
31.483871
101
0.507343
ProbShin
3b585c8bc5fc32f72bfc47e6617df8623b0ccef9
2,830
cpp
C++
Common/Packets/GCCharEquipment.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Common/Packets/GCCharEquipment.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Common/Packets/GCCharEquipment.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "stdafx.h" #include "GCCharEquipment.h" BOOL GCCharEquipment::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t)); iStream.Read( (CHAR*)(&m_wFlags), sizeof(WORD)); if ( m_wFlags & (1 << HEQUIP_WEAPON) ) { iStream.Read( (CHAR*)(&m_WeaponID), sizeof(...
21.937984
65
0.664311
hackerlank
3b591e27dea72f82be59a4609151d4ed36d7be3e
697
cpp
C++
derecho/experiments/block_size.cpp
scottslewis/derecho-unified
cc2e23547b09386d18cb01de9221035e5fa70006
[ "BSD-3-Clause" ]
null
null
null
derecho/experiments/block_size.cpp
scottslewis/derecho-unified
cc2e23547b09386d18cb01de9221035e5fa70006
[ "BSD-3-Clause" ]
null
null
null
derecho/experiments/block_size.cpp
scottslewis/derecho-unified
cc2e23547b09386d18cb01de9221035e5fa70006
[ "BSD-3-Clause" ]
1
2018-10-26T09:02:47.000Z
2018-10-26T09:02:47.000Z
#include "block_size.h" #include <cstdlib> size_t get_block_size(long long int msg_size) { switch(msg_size) { case 10: case 100: case 1000: return msg_size; case 10000: return 5000; case 100000: case 1000000: return 100000; ...
25.814815
85
0.533716
scottslewis
3b5e7228b1aaa24955c068476672f17c434513ee
2,064
hpp
C++
src/twod/geom/turtle.hpp
billyquith/bq-twod
81d5d35cf3db22145fb4dd14cfe6b8dd927373b6
[ "MIT" ]
null
null
null
src/twod/geom/turtle.hpp
billyquith/bq-twod
81d5d35cf3db22145fb4dd14cfe6b8dd927373b6
[ "MIT" ]
null
null
null
src/twod/geom/turtle.hpp
billyquith/bq-twod
81d5d35cf3db22145fb4dd14cfe6b8dd927373b6
[ "MIT" ]
null
null
null
#pragma once #include <twod/geom/mesh.hpp> #include <twod/types/vector.hpp> #include <functional> namespace twod { class TurtlePen { public: virtual void drawBegin() {} virtual void drawEnd() {} virtual void moveTo(const Vec2f& p) {} }; class Turtle ...
24.571429
83
0.47093
billyquith
3b5efd6912dc0a134fc0f9538afccd8e29c1f224
3,303
cpp
C++
Source/Object/SelectOption/SelectOption.cpp
Crazykingjammy/bkbotz
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
[ "Unlicense" ]
null
null
null
Source/Object/SelectOption/SelectOption.cpp
Crazykingjammy/bkbotz
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
[ "Unlicense" ]
null
null
null
Source/Object/SelectOption/SelectOption.cpp
Crazykingjammy/bkbotz
6cdaa4164ff02e40f2909982f6dacad161c7d6cf
[ "Unlicense" ]
null
null
null
#include "SelectOption.h" CSelectOption::CSelectOption(void) { m_NumSelected = 0; m_isSelected = false; m_isSelectable = true; m_selectionID = -1; m_IconLabelIndex = -1; } CSelectOption::~CSelectOption(void) { } CSelectIterator::CSelectIterator(void) { memset(m_CurrentSelectedOption, 0, sizeof(m_CurrentSel...
19.429412
92
0.749924
Crazykingjammy
3b600ac22508861c8160f5feedfd1ddb9b281395
1,480
cpp
C++
linkitetty_tietorakenne_nopeus/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
linkitetty_tietorakenne_nopeus/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
linkitetty_tietorakenne_nopeus/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <ctime> #include <stdio.h> #include <list> using namespace std; template <class T> void poista_kopiot( T& sailio){ typename T::iterator s1,s2; s1 = sailio.begin(); while( s1 != sailio.end() ){ s2 = s1; ++s2; if( s2 != sailio.end() && *s1 == *s2 ){ sa...
15.744681
68
0.517568
saarioka
3b637fddf0bc759ea54257d871cf92ce0cbf16f6
4,249
cpp
C++
libcommon/src/config.cpp
enriquefynn/ethereum-partitioning
0a667f857de3e23ffaae54d6d98e4f2b8dee291f
[ "BSD-3-Clause" ]
4
2018-09-03T19:05:46.000Z
2021-08-10T12:06:11.000Z
libcommon/src/config.cpp
enriquefynn/ethereum-partitioning
0a667f857de3e23ffaae54d6d98e4f2b8dee291f
[ "BSD-3-Clause" ]
null
null
null
libcommon/src/config.cpp
enriquefynn/ethereum-partitioning
0a667f857de3e23ffaae54d6d98e4f2b8dee291f
[ "BSD-3-Clause" ]
1
2019-01-02T02:53:37.000Z
2019-01-02T02:53:37.000Z
#include <fstream> #include <iomanip> #include <sstream> #include <config.h> #include <log.h> Config::Config(const std::string &input_config) { std::ifstream config_file(input_config); std::string key, value; while (config_file >> key >> value) { if (key[0] == '#') continue; if (key == "PARTITIONI...
36.947826
76
0.631207
enriquefynn
3b66ca6e5f96247743a4e491109f798353c8fba3
3,401
inl
C++
tests/test_screenspaceimage.inl
nbartzokas/OpenSpace
9df1e9b4821fade185b6e0a31b7cce1e67752a44
[ "MIT" ]
null
null
null
tests/test_screenspaceimage.inl
nbartzokas/OpenSpace
9df1e9b4821fade185b6e0a31b7cce1e67752a44
[ "MIT" ]
null
null
null
tests/test_screenspaceimage.inl
nbartzokas/OpenSpace
9df1e9b4821fade185b6e0a31b7cce1e67752a44
[ "MIT" ]
null
null
null
/***************************************************************************************** * * * OpenSpace * * ...
48.585714
96
0.510438
nbartzokas
3b6807dd548c48b03f0721fb48865189f4e0261a
7,021
cpp
C++
ibtk/src/refine_ops/CartCellDoubleQuadraticRefine.cpp
hongk45/IBAMR
698d419fc6688470a8b9400822ba893da9d07ae2
[ "BSD-3-Clause" ]
null
null
null
ibtk/src/refine_ops/CartCellDoubleQuadraticRefine.cpp
hongk45/IBAMR
698d419fc6688470a8b9400822ba893da9d07ae2
[ "BSD-3-Clause" ]
1
2020-11-30T14:22:45.000Z
2020-12-01T21:28:24.000Z
ibtk/src/refine_ops/CartCellDoubleQuadraticRefine.cpp
hongk45/IBAMR
698d419fc6688470a8b9400822ba893da9d07ae2
[ "BSD-3-Clause" ]
null
null
null
// --------------------------------------------------------------------- // // Copyright (c) 2014 - 2019 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
34.24878
120
0.539097
hongk45
3b6dc2c70dcace628ad3b2395786e3e6b8edb764
1,070
hxx
C++
ATK/EQ/FourthOrderFilter.hxx
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
23
2021-02-04T10:47:46.000Z
2022-03-25T03:45:00.000Z
ATK/EQ/FourthOrderFilter.hxx
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-02-01T15:45:06.000Z
2021-09-13T19:39:05.000Z
ATK/EQ/FourthOrderFilter.hxx
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-04-12T03:28:12.000Z
2021-12-17T00:47:11.000Z
/** * \file FourthOrderFilter.hxx */ #include "FourthOrderFilter.h" #include <ATK/EQ/IIRFilter.h> #include <boost/math/constants/constants.hpp> #include <cassert> #include <cmath> namespace ATK { template <typename DataType_> FourthOrderBaseCoefficients<DataType_>::FourthOrderBaseCoefficients(gsl::index nb_ch...
22.765957
130
0.734579
AudioTK
3b6e04e6a90f46a925d403dbeb596e33e98d63ca
101,781
cpp
C++
src/server/game/Chat/Chat.cpp
FrenchCORE/OLD_FrenchCORE
edf1a2859246493c0667b44497c4bbb0fe718cbd
[ "OpenSSL" ]
1
2019-12-03T18:41:39.000Z
2019-12-03T18:41:39.000Z
src/server/game/Chat/Chat.cpp
FrenchCORE/OLD_FrenchCORE
edf1a2859246493c0667b44497c4bbb0fe718cbd
[ "OpenSSL" ]
null
null
null
src/server/game/Chat/Chat.cpp
FrenchCORE/OLD_FrenchCORE
edf1a2859246493c0667b44497c4bbb0fe718cbd
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2012 FrenchCORE <http://www.frcore.com/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General...
44.484703
185
0.517405
FrenchCORE
3b70733ed21182ad0a8ac4c6c8bdf2ee5a2470d1
1,208
cpp
C++
tests/cbor-cpp-tests.cpp
Manuvr/ManuvrOS
e3a812c9b609ad69670ff2f8050a07bd423ebc78
[ "Apache-2.0" ]
5
2015-03-26T22:58:58.000Z
2021-06-15T05:36:57.000Z
tests/cbor-cpp-tests.cpp
Manuvr/ManuvrOS
e3a812c9b609ad69670ff2f8050a07bd423ebc78
[ "Apache-2.0" ]
2
2016-09-26T09:25:58.000Z
2017-08-03T05:27:24.000Z
tests/cbor-cpp-tests.cpp
Manuvr/ManuvrOS
e3a812c9b609ad69670ff2f8050a07bd423ebc78
[ "Apache-2.0" ]
2
2016-04-29T07:43:32.000Z
2020-02-07T06:43:01.000Z
/* Copyright 2014-2015 Stanislav Ovsyannikov 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 ...
26.844444
76
0.643212
Manuvr
3b70b1fa9df7ba8e4d1556b17dfd1e8299e08cd2
10,419
hpp
C++
include/xlnt/worksheet/header_footer.hpp
haquocviet/xlnt
8f39375f4c29e7f7590efaeb6ce8c56490560c1f
[ "Unlicense" ]
8
2019-02-28T14:49:56.000Z
2022-03-29T06:32:09.000Z
include/xlnt/worksheet/header_footer.hpp
haquocviet/xlnt
8f39375f4c29e7f7590efaeb6ce8c56490560c1f
[ "Unlicense" ]
2
2021-04-09T15:36:05.000Z
2021-11-17T22:38:10.000Z
include/xlnt/worksheet/header_footer.hpp
haquocviet/xlnt
8f39375f4c29e7f7590efaeb6ce8c56490560c1f
[ "Unlicense" ]
3
2019-12-31T14:04:17.000Z
2022-03-18T11:44:49.000Z
// Copyright (c) 2014-2018 Thomas Fussell // Copyright (c) 2010-2015 openpyxl // // 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 right...
31.288288
96
0.659852
haquocviet
3b70bc5cd7003ab08e2f7e3f481b318128ee6b53
11,277
cpp
C++
src/cudaoptflow.cpp
manuelvolk/torch-opencv
edcaa452c9698fc0b113d0e0ffbeaa55c18db5c3
[ "MIT" ]
239
2015-10-13T17:19:40.000Z
2021-11-30T11:30:26.000Z
src/cudaoptflow.cpp
manuelvolk/torch-opencv
edcaa452c9698fc0b113d0e0ffbeaa55c18db5c3
[ "MIT" ]
202
2015-10-24T09:01:57.000Z
2020-07-28T17:20:12.000Z
src/cudaoptflow.cpp
manuelvolk/torch-opencv
edcaa452c9698fc0b113d0e0ffbeaa55c18db5c3
[ "MIT" ]
69
2015-11-15T15:02:27.000Z
2022-02-12T16:14:52.000Z
#include <cudaoptflow.hpp> extern "C" struct TensorWrapper DenseOpticalFlow_calcCuda(struct cutorchInfo info, struct DenseOpticalFlowPtr ptr, struct TensorWrapper I0, struct TensorWrapper I1, struct TensorWrapper flow) { GpuMatT flowMat = flow.toGpuMatT(); ptr->calc(I0.toGpuMat(), I1.toGpuMat(), flowMa...
24.568627
104
0.781147
manuelvolk
3b70fc0a7e2818c32b321698e283b38720e68630
1,089
cpp
C++
Asebin/Main.cpp
Shmizmin/ECICC
adb275fda85bee4cbe99a42c5a1e8949e4a893ea
[ "MIT" ]
null
null
null
Asebin/Main.cpp
Shmizmin/ECICC
adb275fda85bee4cbe99a42c5a1e8949e4a893ea
[ "MIT" ]
null
null
null
Asebin/Main.cpp
Shmizmin/ECICC
adb275fda85bee4cbe99a42c5a1e8949e4a893ea
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <fstream> #include <sstream> #include <tuple> #include <cstdint> #include <unordered_map> #include <iostream> #include "..\Common\Literals.hpp" #include "..\Common\Enums.hpp" #include "DataMap.hpp" #include "..\Common\Parser.hpp" #include "Assembler.hpp" int main(int argc,...
22.22449
87
0.678604
Shmizmin
3b7436b7ff5411a1d0204c2dc07cba66b6dad890
369
hpp
C++
Libraries/DemoUtilities/Helpers.hpp
jodavis42/ZilchShadersSamples
3c94d295b68ae2e81ece3b12f3a17fe7d59566de
[ "MIT" ]
1
2019-08-31T00:45:44.000Z
2019-08-31T00:45:44.000Z
Libraries/DemoUtilities/Helpers.hpp
jodavis42/ZilchShadersSamples
3c94d295b68ae2e81ece3b12f3a17fe7d59566de
[ "MIT" ]
2
2019-09-08T16:06:05.000Z
2019-09-08T16:06:58.000Z
Libraries/DemoUtilities/Helpers.hpp
jodavis42/ZilchShadersSamples
3c94d295b68ae2e81ece3b12f3a17fe7d59566de
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// Authors: Joshua Davis /////////////////////////////////////////////////////////////////////////////// #pragma once #include "DemoUtilitiesStandard.hpp" namespace Demo { void LoadShaderDef(const String& filePath, String& shaderName, A...
26.357143
93
0.436314
jodavis42
3b7887ab42a580f2e7037927d93875542f22541c
3,177
cpp
C++
tests/src/TestBoostComputedProperty.cpp
daball/props
6d416984c14bef68bd39e323e029f8879e9cf45f
[ "BSL-1.0" ]
null
null
null
tests/src/TestBoostComputedProperty.cpp
daball/props
6d416984c14bef68bd39e323e029f8879e9cf45f
[ "BSL-1.0" ]
null
null
null
tests/src/TestBoostComputedProperty.cpp
daball/props
6d416984c14bef68bd39e323e029f8879e9cf45f
[ "BSL-1.0" ]
null
null
null
//Link to Boost //#define BOOST_TEST_DYN_LINK //Define our Module name (prints at testing) #include <string> #include "utils/ObservableProperty.hpp" #include "utils/ObservableObject.hpp" #include "utils/ComputedProperty.hpp" #define BOOST_TEST_MODULE TestBoostComputedProperty //VERY IMPORTANT - include this last #incl...
41.25974
103
0.6695
daball
3b7b426762003e5aec80395faaf75e9fa5ef2e6f
43,451
cpp
C++
core/stickers/stickers.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
1
2021-03-18T20:00:07.000Z
2021-03-18T20:00:07.000Z
core/stickers/stickers.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
null
null
null
core/stickers/stickers.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "stickers.h" #include "../../../corelib/enumerations.h" #include "../tools/system.h" #include "../async_task.h" #include "../../common.shared/loader_errors.h" namespace core { namespace stickers { sticker_size string_size_2_size(const std::string& _size) ...
33.449577
165
0.495248
Vavilon3000
3b7cb6ee4998f89959a736933eb1546c4e6b2cd9
1,457
cpp
C++
libraries/EduIntro/src/EduIntro.cpp
MilanZZZ/Arduino-code-comp
2bdfdd7e9943326d81330876eb5e0db31d146757
[ "MIT" ]
null
null
null
libraries/EduIntro/src/EduIntro.cpp
MilanZZZ/Arduino-code-comp
2bdfdd7e9943326d81330876eb5e0db31d146757
[ "MIT" ]
null
null
null
libraries/EduIntro/src/EduIntro.cpp
MilanZZZ/Arduino-code-comp
2bdfdd7e9943326d81330876eb5e0db31d146757
[ "MIT" ]
null
null
null
#include "EduIntro.h" /* ----------------------------------------------------------------------------- Classes: Generals ----------------------------------------------------------------------------- Digital Input Analog Input Analog Input with two connectors Output...
37.358974
78
0.228552
MilanZZZ
3b8623e39dc40e6f63380eef6b8b53436f72e734
22,776
cpp
C++
source/housys/test/hou/sys/test_image.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/housys/test/hou/sys/test_image.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/housys/test/hou/sys/test_image.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/test.hpp" #include "hou/sys/image.hpp" using namespace hou; using namespace testing; namespace { template <typename ImageT> class test_image : public Test { public: static typename ImageT::size_type gener...
27.049881
80
0.745785
DavideCorradiDev
3b870b3b90d386677db574aa00d5a35f35b1b087
8,529
cpp
C++
hackathon/Sumit/multi_channel_swc/multi_channel_swc_plugin.cpp
RivuletStudio/vaa3d_tools
58c267d4731df9a71e596200c45e9634aea8491c
[ "MIT" ]
null
null
null
hackathon/Sumit/multi_channel_swc/multi_channel_swc_plugin.cpp
RivuletStudio/vaa3d_tools
58c267d4731df9a71e596200c45e9634aea8491c
[ "MIT" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
hackathon/Sumit/multi_channel_swc/multi_channel_swc_plugin.cpp
RivuletStudio/vaa3d_tools
58c267d4731df9a71e596200c45e9634aea8491c
[ "MIT" ]
null
null
null
/* multi_channel_swc_plugin.cpp * This plugin will creat swc files based on multiple channel information in the neuron image. * 2015-6-18 : by Sumit and Hanbo */ #include "v3d_message.h" #include <vector> #include <iostream> #include "multi_channel_swc_plugin.h" #include "multi_channel_swc_dialog.h" #inc...
36.922078
201
0.565717
RivuletStudio
3b88a6488e032b1b83378408d3ef8639a23c2ad9
11,113
cpp
C++
releasedExamples/EBAMRCNS/src/EBCNSVortexIBC.cpp
boywert/chombo
e06f9f5d23125c7759be33430f57a5beb1112f8d
[ "BSD-3-Clause-LBNL" ]
4
2019-09-05T01:15:10.000Z
2021-08-06T13:26:21.000Z
releasedExamples/EBAMRCNS/src/EBCNSVortexIBC.cpp
boywert/chombo
e06f9f5d23125c7759be33430f57a5beb1112f8d
[ "BSD-3-Clause-LBNL" ]
null
null
null
releasedExamples/EBAMRCNS/src/EBCNSVortexIBC.cpp
boywert/chombo
e06f9f5d23125c7759be33430f57a5beb1112f8d
[ "BSD-3-Clause-LBNL" ]
2
2018-12-02T14:02:34.000Z
2020-12-07T14:22:17.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <cmath> #include "EBCNSVortexIBC.H" #include "EBISLayout.H" #include "EBL...
32.976261
82
0.520382
boywert
3b8d35741f9cca9fd4417a35d5cd88a2d3272c5c
592
cpp
C++
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva465.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva465.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva465.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include <stdio.h> const int MINT = 0x7fffffff; int main() { char str1[1000], str2[1000], ch; while (scanf("%s %c %s", str1, &ch, str2) != EOF) { printf("%s %c %s\n", str1, ch, str2); double a, b; sscanf(str1, "%lf", &a); sscanf(str2, "%lf", &b); if (a > MINT) ...
28.190476
55
0.459459
bilibiliShen
3b9074339e4ec084d2d16e26ff36985040b37791
2,669
cpp
C++
src/alert_manager.cpp
Tau-Coin/libTAU
2e8cace4195faa75b6a75c0ce02496346936bc79
[ "BSL-1.0", "BSD-3-Clause" ]
6
2021-08-16T17:27:10.000Z
2022-01-12T09:18:02.000Z
src/alert_manager.cpp
Tau-Coin/libTAU
2e8cace4195faa75b6a75c0ce02496346936bc79
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/alert_manager.cpp
Tau-Coin/libTAU
2e8cace4195faa75b6a75c0ce02496346936bc79
[ "BSL-1.0", "BSD-3-Clause" ]
3
2022-01-03T03:06:54.000Z
2022-03-11T03:15:32.000Z
/* Copyright (c) 2003-2013, Daniel Wallin Copyright (c) 2013-2020, Arvid Norberg Copyright (c) 2015, Steven Siloti Copyright (c) 2016, 2020, Alden Torres All rights reserved. You may use, distribute and modify this code under the terms of the BSD license, see LICENSE file. */ #include "libTAU/config.hpp" #include "l...
24.486239
87
0.720869
Tau-Coin
3b95cd181b2658cb5ff0e1da9c7f0c8639ea5b01
13,625
cpp
C++
source/rs-io/uri.cpp
CaptainCrowbar/rs-io
24858486efec125da73a89e18ceefbd4fcf77ae8
[ "BSL-1.0" ]
null
null
null
source/rs-io/uri.cpp
CaptainCrowbar/rs-io
24858486efec125da73a89e18ceefbd4fcf77ae8
[ "BSL-1.0" ]
null
null
null
source/rs-io/uri.cpp
CaptainCrowbar/rs-io
24858486efec125da73a89e18ceefbd4fcf77ae8
[ "BSL-1.0" ]
null
null
null
#include "rs-io/uri.hpp" #include "rs-format/format.hpp" #include "rs-regex/regex.hpp" #include <algorithm> #include <stdexcept> #include <stdexcept> using namespace RS::Format; using namespace RS::Format::Literals; using namespace RS::RE; namespace RS::IO { namespace { template <typename T, typename......
28.267635
134
0.508917
CaptainCrowbar
3b995ade83432741c2e1342861a4de2ada490e13
17,548
cc
C++
engine/source/console/consoleTypes.cc
Jozor/Torque2D
be8ca31307eac572077b28e546b31c84dd9bdb11
[ "MIT" ]
412
2020-06-01T14:41:18.000Z
2022-03-31T01:48:15.000Z
engine/source/console/consoleTypes.cc
Jozor/Torque2D
be8ca31307eac572077b28e546b31c84dd9bdb11
[ "MIT" ]
20
2020-06-16T03:17:16.000Z
2022-02-06T21:29:11.000Z
engine/source/console/consoleTypes.cc
Jozor/Torque2D
be8ca31307eac572077b28e546b31c84dd9bdb11
[ "MIT" ]
64
2020-06-01T06:00:38.000Z
2022-03-12T15:47:42.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restr...
31.113475
118
0.50416
Jozor
3b9d674f1f517eed0633001bd9b585bfb3c92819
1,978
cxx
C++
plugins/geometry/modules/point_cells/point_cells.cxx
moritz-h/ParaView-Plugins
b32e5dc4e710b25dc3f00b87a616e954d8549002
[ "MIT" ]
null
null
null
plugins/geometry/modules/point_cells/point_cells.cxx
moritz-h/ParaView-Plugins
b32e5dc4e710b25dc3f00b87a616e954d8549002
[ "MIT" ]
null
null
null
plugins/geometry/modules/point_cells/point_cells.cxx
moritz-h/ParaView-Plugins
b32e5dc4e710b25dc3f00b87a616e954d8549002
[ "MIT" ]
1
2021-02-22T16:27:28.000Z
2021-02-22T16:27:28.000Z
#include "point_cells.h" #include "vtkCellArray.h" #include "vtkDataObject.h" #include "vtkIdTypeArray.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkObjectFactory.h" #include "vtkPointData.h" #include "vtkPoints.h" #include "vtkPointSet.h" #include "vtkPolyData.h" #include "vtkSmartPoin...
27.859155
119
0.723964
moritz-h
3b9e37bb2cb312e278f72ee7ef557c8655b4a828
13,625
cpp
C++
src/listener_agent.cpp
cognicept-admin/rosrect_listener_Agent
d1fdc435e28d413379f6e7dd98fca4e72cf853f1
[ "BSD-3-Clause" ]
6
2020-05-07T14:26:23.000Z
2021-05-03T01:02:35.000Z
src/listener_agent.cpp
cognicept-admin/error_resolution_diagnoser
6666b0597904a005ef90d0d82463544c88e6068c
[ "BSD-3-Clause" ]
1
2020-05-18T04:41:00.000Z
2020-06-04T07:03:17.000Z
src/listener_agent.cpp
cognicept-admin/error_resolution_diagnoser
6666b0597904a005ef90d0d82463544c88e6068c
[ "BSD-3-Clause" ]
3
2020-09-23T03:54:39.000Z
2021-09-29T12:10:07.000Z
#include <error_resolution_diagnoser/listener_agent.h> using namespace web::json; // JSON features using namespace web; // Common features like URIs. enum class RobotStatus { INIT, RUNNING, MASTER_DISCONNECTED }; cs_listener::cs_listener() { // Constructor // Pulling environment variables // AGENT...
31.759907
121
0.669138
cognicept-admin
3ba14d95fdb4d908f1aa06af6e28087e0a24407b
1,404
cpp
C++
graph-source-code/237-D/2431248.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/237-D/2431248.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/237-D/2431248.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ // AntiFate #include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <ctime> #include <algorithm> #include <cstring> #include <vector> #include <string> #include <set> #include <map> #include <iomanip> using namespace std; typedef long long ll; #define rep(i,n) for(int i=...
16.915663
71
0.532051
AmrARaouf
3ba1f7a5f681c289d0a2bd8414d41cabf9ca6959
1,080
cpp
C++
programas c++/Factura exenta.cpp
oplopez/cpp
6a68235e606866376ad843a35a04ca0c7c37e5b1
[ "MIT" ]
null
null
null
programas c++/Factura exenta.cpp
oplopez/cpp
6a68235e606866376ad843a35a04ca0c7c37e5b1
[ "MIT" ]
null
null
null
programas c++/Factura exenta.cpp
oplopez/cpp
6a68235e606866376ad843a35a04ca0c7c37e5b1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> using namespace std; int main(int argc, char* argv[]) { cout << "\n\n Calculo del total de una factura con descuento e impuesto :\n"; cout << "-----------------------------------------------------------\n"; char exentoFact; float subtotal; int descu...
22.978723
82
0.592593
oplopez
3ba3a4d8219a553c7b3074263207c168ed6abc96
788
cpp
C++
multiprecision/MPSecKey.cpp
fionser/MDLHElib
3c686ab35d7b26a893213a6e9d4249cd46c2969d
[ "MIT" ]
5
2017-01-16T06:20:07.000Z
2018-05-17T12:36:34.000Z
multiprecision/MPSecKey.cpp
fionser/MDLHElib
3c686ab35d7b26a893213a6e9d4249cd46c2969d
[ "MIT" ]
null
null
null
multiprecision/MPSecKey.cpp
fionser/MDLHElib
3c686ab35d7b26a893213a6e9d4249cd46c2969d
[ "MIT" ]
2
2017-08-26T13:16:35.000Z
2019-03-15T02:08:20.000Z
#include "MPContext.hpp" #include "MPSecKey.hpp" #include <vector> #include <thread> #ifdef FHE_THREADS const long WORKER_NR = 8; #else const long WORKER_NR = 1; #endif MPSecKey::MPSecKey(const MPContext &context) { std::vector<std::thread> worker; std::atomic<size_t> counter(0); const size_t num = context...
25.419355
79
0.60533
fionser
3ba56b9fcd60b83429305fa291f4a54c53b39b86
2,616
cpp
C++
aws-cpp-sdk-ssm/source/model/ModifyDocumentPermissionRequest.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-ssm/source/model/ModifyDocumentPermissionRequest.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-ssm/source/model/ModifyDocumentPermissionRequest.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2019-10-31T11:19:50.000Z
2019-10-31T11:19:50.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
30.776471
137
0.782492
woohoou
3ba6f1cfff2a52ee354e19dfc0af5bfbf1942d00
17,690
cc
C++
test/ranges.cc
varqox/simlib
7830472019f88aa0e35dbfa1119b62b5f9dd4b9d
[ "MIT" ]
null
null
null
test/ranges.cc
varqox/simlib
7830472019f88aa0e35dbfa1119b62b5f9dd4b9d
[ "MIT" ]
1
2017-01-05T17:50:32.000Z
2017-01-05T17:50:32.000Z
test/ranges.cc
varqox/simlib
7830472019f88aa0e35dbfa1119b62b5f9dd4b9d
[ "MIT" ]
1
2017-01-05T15:26:48.000Z
2017-01-05T15:26:48.000Z
#include "simlib/ranges.hh" #include <gtest/gtest.h> #include <memory> using std::array; using std::is_same_v; using std::make_shared; using std::pair; using std::shared_ptr; using std::string; using std::vector; // NOLINTNEXTLINE TEST(ranges, reverse_view_empty) { vector<int> a; vector<int> b; for (int ...
28.532258
92
0.592595
varqox
3ba9092c2eea40e582383ad1a67192b977731957
854
cpp
C++
source/vapid_python.cpp
clevijoki/vapid
e4927a2474dcb3cd458fd6399445c725b0fe624d
[ "MIT" ]
null
null
null
source/vapid_python.cpp
clevijoki/vapid
e4927a2474dcb3cd458fd6399445c725b0fe624d
[ "MIT" ]
null
null
null
source/vapid_python.cpp
clevijoki/vapid
e4927a2474dcb3cd458fd6399445c725b0fe624d
[ "MIT" ]
null
null
null
#include <Python.h> static PyObject* vapid_compile(PyObject *self, PyObject *args) { Py_RETURN_NONE; } static PyObject* vapid_link(PyObject *self, PyObject *args) { Py_RETURN_NONE; } static PyMethodDef VapidMethods[] = { {"compile", vapid_compile, METH_VARARGS, "Performs a compile step (many to many)"}, ...
25.878788
88
0.67096
clevijoki
3bab01d67d03aa6a30145f64e2934aeb9ef2738b
164
cpp
C++
CToC++/CToC++/Leetcode/LeetcodeSolution113.cpp
UCliwenbin/AlgorithmCPP
3cb4a6a9510682b5d4dc956826d263ab778a2a00
[ "MIT" ]
1
2021-02-25T08:00:43.000Z
2021-02-25T08:00:43.000Z
CToC++/CToC++/Leetcode/LeetcodeSolution113.cpp
UCliwenbin/AlgorithmCPP
3cb4a6a9510682b5d4dc956826d263ab778a2a00
[ "MIT" ]
null
null
null
CToC++/CToC++/Leetcode/LeetcodeSolution113.cpp
UCliwenbin/AlgorithmCPP
3cb4a6a9510682b5d4dc956826d263ab778a2a00
[ "MIT" ]
null
null
null
// // LeetcodeSolution113.cpp // CToC++ // // Created by mac on 2020/7/17. // Copyright © 2020 lwb. All rights reserved. // #include "LeetcodeSolution113.hpp"
16.4
46
0.664634
UCliwenbin