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
ed7b0576bda202465cadb697b22a494c2857d554
735
cpp
C++
aoj/aoj_1147.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
icpc/icpc_2007_d_a.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
icpc/icpc_2007_d_a.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, const char * argv[]) { int n, p; int max, min, sum, avg; while (cin >> n, n) { //初期化 sum = 0; for (int i = 0; i < n; i++) { //入力 cin >> p; sum += p; ...
18.375
42
0.280272
Doarakko
ed7c46d25402b96e26ac7d1eff52663acb8ce51a
784
hh
C++
Mu2eUtilities/inc/particleEnteringG4Volume.hh
AndrewEdmonds11/Offline
99d525aa55a477fb3f21826ac817224c25cda040
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
Mu2eUtilities/inc/particleEnteringG4Volume.hh
AndrewEdmonds11/Offline
99d525aa55a477fb3f21826ac817224c25cda040
[ "Apache-2.0" ]
null
null
null
Mu2eUtilities/inc/particleEnteringG4Volume.hh
AndrewEdmonds11/Offline
99d525aa55a477fb3f21826ac817224c25cda040
[ "Apache-2.0" ]
1
2020-05-27T22:33:52.000Z
2020-05-27T22:33:52.000Z
// A function to find the SimParticle that entered the volume // (e.g. the gas in the straw) and is "responsible" for making a // StepPointMC. This aggregates showers inside a volume back to the // particle that caused it. // // Andrei Gaponenko, 2014 #ifndef Mu2eUtilities_inc_particleEnteringG4Volume_hh #define Mu2e...
35.636364
81
0.80102
AndrewEdmonds11
142e5c13f24aa664a9fe0e76c1db039b80f80f62
690
hpp
C++
include/RED4ext/Types/generated/cp/TestPlatformController.hpp
Sombra0xCC/RED4ext.SDK
218b411991ed0b7cb7acd5efdddd784f31c66f20
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/cp/TestPlatformController.hpp
Sombra0xCC/RED4ext.SDK
218b411991ed0b7cb7acd5efdddd784f31c66f20
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/cp/TestPlatformController.hpp
Sombra0xCC/RED4ext.SDK
218b411991ed0b7cb7acd5efdddd784f31c66f20
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/SimpleTypes.hpp> #include <RED4ext/Types/generated/game/Object.hpp> namespace RED4ext { namespace cp { struct TestPlatformController : game::...
24.642857
67
0.727536
Sombra0xCC
1430c63236d13f48e1932ed4c536f565db1eb44a
1,261
cpp
C++
Source/Cross/Feature/MoFeatureResource/FLoaderMonitor.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
3
2016-10-26T11:48:58.000Z
2017-10-24T18:35:17.000Z
Source/Cross/Feature/MoFeatureResource/FLoaderMonitor.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
null
null
null
Source/Cross/Feature/MoFeatureResource/FLoaderMonitor.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
6
2015-03-24T06:40:20.000Z
2019-03-18T13:56:13.000Z
#include "MoFrLoader.h" MO_NAMESPACE_BEGIN MO_CLASS_IMPLEMENT_INHERITS(FLoaderMonitor, FMonitor); //============================================================ // <T>构造加载器工作器。</T> //============================================================ FLoaderMonitor::FLoaderMonitor(){ } //==================================...
28.022222
74
0.38065
favedit
1433101dfa119a0fd1c5153c2160e76782e16cc2
811
hpp
C++
v3/include/AsyncSetAction.hpp
iwillusethenameaslongasican/etcd-cpp-apiv3-lua
f425578d59d66c124f8b946f49e0d17e7a79e287
[ "BSD-3-Clause" ]
null
null
null
v3/include/AsyncSetAction.hpp
iwillusethenameaslongasican/etcd-cpp-apiv3-lua
f425578d59d66c124f8b946f49e0d17e7a79e287
[ "BSD-3-Clause" ]
null
null
null
v3/include/AsyncSetAction.hpp
iwillusethenameaslongasican/etcd-cpp-apiv3-lua
f425578d59d66c124f8b946f49e0d17e7a79e287
[ "BSD-3-Clause" ]
null
null
null
#ifndef __ASYNC_SET_HPP__ #define __ASYNC_SET_HPP__ #include <grpc++/grpc++.h> #include "proto/rpc.grpc.pb.h" #include "v3/include/Action.hpp" #include "v3/include/AsyncTxnResponse.hpp" #include "etcd/Response.hpp" #include <unordered_map> #include <vector> using grpc::ClientAsyncResponseReader; using etcdserverpb::...
24.575758
114
0.747226
iwillusethenameaslongasican
14377e76afafbd2398bb7eedfd56b12927d1b436
13,656
cpp
C++
src/glhelper/glhelper_glfw.cpp
louishobson/GLHelper
2a914dd90eeb96797e3963f94d39b25625d47054
[ "Apache-2.0" ]
null
null
null
src/glhelper/glhelper_glfw.cpp
louishobson/GLHelper
2a914dd90eeb96797e3963f94d39b25625d47054
[ "Apache-2.0" ]
null
null
null
src/glhelper/glhelper_glfw.cpp
louishobson/GLHelper
2a914dd90eeb96797e3963f94d39b25625d47054
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 Louis Hobson <louis-hobson@hotmail.co.uk>. All Rights Reserved. * * Distributed under MIT licence as a part of the GLHelper C++ library. * For details, see: https://github.com/louishobson/GLHelper/blob/master/LICENSE * * src/glhelper/glhelper_glfw.cpp * * implementation of src/glhelpe...
28.810127
128
0.661614
louishobson
143b590253685c14ba29c01f828c560643885f3b
7,076
cpp
C++
kortex_driver/src/generated/robot/deviceconfig_proto_converter.cpp
OLdGuann/ros_kortex
a334ce2a9fcbec12b27012f77183a81a75ec6e6e
[ "BSD-3-Clause" ]
89
2018-12-07T20:39:29.000Z
2022-03-18T18:13:31.000Z
kortex_driver/src/generated/robot/deviceconfig_proto_converter.cpp
OLdGuann/ros_kortex
a334ce2a9fcbec12b27012f77183a81a75ec6e6e
[ "BSD-3-Clause" ]
164
2019-01-25T21:43:16.000Z
2022-03-31T03:56:54.000Z
kortex_driver/src/generated/robot/deviceconfig_proto_converter.cpp
OLdGuann/ros_kortex
a334ce2a9fcbec12b27012f77183a81a75ec6e6e
[ "BSD-3-Clause" ]
102
2019-01-25T21:49:05.000Z
2022-03-28T17:20:16.000Z
/* * KINOVA (R) KORTEX (TM) * * Copyright (c) 2019 Kinova inc. All rights reserved. * * This software may be modified and distributed under the * terms of the BSD 3-Clause license. * * Refer to the LICENSE file for details. * */ /* * This file has been auto-generated and should not be modified. */ #include "kortex...
29.483333
121
0.782504
OLdGuann
143cc1932328fbca0b1487b2660ecd3f651c10d8
2,122
cpp
C++
src/movemanager.cpp
RCP1/evidence-navigation
e2a0e71537bf5b81bbd89855c71ea767bde4ca00
[ "MIT" ]
null
null
null
src/movemanager.cpp
RCP1/evidence-navigation
e2a0e71537bf5b81bbd89855c71ea767bde4ca00
[ "MIT" ]
null
null
null
src/movemanager.cpp
RCP1/evidence-navigation
e2a0e71537bf5b81bbd89855c71ea767bde4ca00
[ "MIT" ]
null
null
null
#include "movemanager.h" using namespace std; MoveManager::MoveManager() { // port "/dev/ttyUSB0", 38400 (standard of RP6), timeout in milliseconds serialhandler_ = new serial::Serial("/dev/ttyUSB0", 38400, serial::Timeout::simpleTimeout(1000)); // Set RTS pin on low for not resetting RP6 serialhandler_->setR...
19.831776
99
0.636192
RCP1
14409125b86dc0c0bd66197efd1baa8cb7903b7b
1,214
cpp
C++
msg_oob/msg_oob_send.cpp
Shannon1/LinuxBasicSkillPractice
f7fe3bcc1bb7c7207ec5d93f1cb73353c4a36a30
[ "MIT" ]
null
null
null
msg_oob/msg_oob_send.cpp
Shannon1/LinuxBasicSkillPractice
f7fe3bcc1bb7c7207ec5d93f1cb73353c4a36a30
[ "MIT" ]
null
null
null
msg_oob/msg_oob_send.cpp
Shannon1/LinuxBasicSkillPractice
f7fe3bcc1bb7c7207ec5d93f1cb73353c4a36a30
[ "MIT" ]
null
null
null
// // Created by lee on 17-7-22. // #include <iostream> #include <sys/socket.h> #include <csignal> #include <cassert> #include <cstring> #include <unistd.h> #include <netinet/in.h> #include <arpa/inet.h> int main(int argc, char* argv[]) { if (argc <= 2) { std::cout << "Usage:\n" << std::string(argv[0]...
23.803922
72
0.581549
Shannon1
14413b5bee8dbe9255694dfc9eacd0b5d58cb569
772
cpp
C++
lib/cache/src/Request/Delete.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/cache/src/Request/Delete.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/cache/src/Request/Delete.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "Request/Delete.hpp" namespace astateful { namespace cache { RequestDelete::RequestDelete( const std::string& key, bool reply ) { m_buffer.push_back('d'); m_buffer.push_back('e'); m_buffer.push_back('l'); m_buffer.push_back('e'); m_buffer.push_back('t'); m_buffer.push_back('e'); ...
24.903226
70
0.591969
astateful
14452f672a7eb5827d7b3d7c6834afdc20aaca0e
2,309
cpp
C++
source/screens/Screen_TimerRechargeMenu.cpp
rbultman/tv-timer
29b0fc9f9d96fc8b1c294d21a51505a1fd2ed9ff
[ "MIT" ]
null
null
null
source/screens/Screen_TimerRechargeMenu.cpp
rbultman/tv-timer
29b0fc9f9d96fc8b1c294d21a51505a1fd2ed9ff
[ "MIT" ]
null
null
null
source/screens/Screen_TimerRechargeMenu.cpp
rbultman/tv-timer
29b0fc9f9d96fc8b1c294d21a51505a1fd2ed9ff
[ "MIT" ]
null
null
null
/* Screen_TimerRechargeMenu.h Author: Rob Bultman License: MIT */ #include <stdio.h> #include "Screen_TimerRechargeMenu.h" #define VSPACING 1 void Screen_TimerRechargeMenu::ButtonEventHandler(lv_obj_t *obj, lv_event_t event) { Screen_TimerRechargeMenu *pScreen = (Screen_TimerRechargeMenu *)lv_obj_ge...
30.786667
118
0.727155
rbultman
1449c4966a69734fe17abe949386362511bb5c78
4,951
cpp
C++
src/allCellsDistOrder.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/allCellsDistOrder.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/allCellsDistOrder.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
/** 1030. Matrix Cells in Distance Order We are given a matrix with R rows and C columns has cells with integer coordinates (r, c), where 0 <= r < R and 0 <= c < C. Additionally, we are given a cell in that matrix with coordinates (r0, c0). Return the coordinates of all cells in the matrix, sorted by their distance...
32.359477
120
0.508584
guitargeek
144e37fe70d8c71812eb63c6491fb5b45e27cc56
4,813
hpp
C++
include/seqan3/range/views/get.hpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-03-01T11:12:56.000Z
2021-03-01T11:12:56.000Z
include/seqan3/range/views/get.hpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
2
2017-05-17T07:16:19.000Z
2020-02-13T16:10:10.000Z
include/seqan3/range/views/get.hpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
58.695122
137
0.450862
marehr
144e447ff6f96c1a3e922d742abb38b929e5b31b
6,099
cpp
C++
Userland/Applications/Calculator/KeypadValue.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Userland/Applications/Calculator/KeypadValue.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
Userland/Applications/Calculator/KeypadValue.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include "KeypadValue.h" #include <AK/IntegralMath.h> #include <AK/Math.h> #include <AK/String.h> KeypadValue::KeypadValue(i64 value, u8 decimal_places) : m_value(value) , m_decimal_places(value == 0 ? 0 : dec...
37.417178
207
0.70159
densogiaichned
1450443059c8695c0bb0ec98e504c1a1f77a5cc0
23,039
cpp
C++
Plugins/DisguiseUERenderStream/Source/RenderStream/Private/RenderStream.cpp
realtimeninja/RenderStreamNinja
7c78a04b9f090445c4daa2f0238e979c73a7f6a2
[ "BSD-3-Clause" ]
4
2020-10-07T00:25:40.000Z
2022-02-04T19:12:30.000Z
Plugins/DisguiseUERenderStream/Source/RenderStream/Private/RenderStream.cpp
realtimeninja/RenderStreamNinja
7c78a04b9f090445c4daa2f0238e979c73a7f6a2
[ "BSD-3-Clause" ]
null
null
null
Plugins/DisguiseUERenderStream/Source/RenderStream/Private/RenderStream.cpp
realtimeninja/RenderStreamNinja
7c78a04b9f090445c4daa2f0238e979c73a7f6a2
[ "BSD-3-Clause" ]
1
2020-10-07T18:15:09.000Z
2020-10-07T18:15:09.000Z
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "RenderStream.h" #include "RenderStreamSettings.h" #include "RenderStreamMediaCapture.h" #include "Core/Public/Modules/ModuleManager.h" #include "CoreUObject/Public/Misc/PackageName.h" #include "Misc/CoreDelegates.h" #include "Json/Public/Serializ...
41.586643
226
0.635097
realtimeninja
1454787751afabaf3ef73838b47916f1bb4e1dc3
2,564
hpp
C++
ports/linux/WebServer.linux.hpp
Draegerwerk/SDCesp
ea3da666b18a3a3b273add398fd49cc78d6fa94c
[ "BSD-3-Clause" ]
3
2020-04-10T05:41:42.000Z
2022-03-21T11:51:53.000Z
ports/linux/WebServer.linux.hpp
Draegerwerk/SDCesp
ea3da666b18a3a3b273add398fd49cc78d6fa94c
[ "BSD-3-Clause" ]
3
2020-03-31T08:57:56.000Z
2021-03-17T09:06:36.000Z
ports/linux/WebServer.linux.hpp
Draegerwerk/SDCesp
ea3da666b18a3a3b273add398fd49cc78d6fa94c
[ "BSD-3-Clause" ]
3
2020-03-30T07:40:36.000Z
2021-05-21T10:11:59.000Z
#pragma once #include "Log.hpp" #include "Request.linux.hpp" #include "WebServer/WebServer.hpp" #include "rapidxml.hpp" #include "server_https.hpp" #include "services/ServiceInterface.hpp" #include <future> class ServiceInterface; template <class SocketType> class WebServerSimple : public WebServerInterface { public...
30.164706
98
0.684477
Draegerwerk
14550fdd9a0de037ff1fe6d2b46aaaf75d988977
1,423
hpp
C++
gui/include/interfaces/GuiCaptureInterface.hpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
1
2021-12-10T06:27:47.000Z
2021-12-10T06:27:47.000Z
gui/include/interfaces/GuiCaptureInterface.hpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
null
null
null
gui/include/interfaces/GuiCaptureInterface.hpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "ICaptureGui.hpp" namespace gui { /** \ingroup gui * @class GuiCaptureInterface * @author Julian Massing (julimassing@gmail.com) * @brief Implements communication interface between capture and GUI module. * * @version 1.0 * @date 2020-11-21 * * @copyright Co...
22.587302
82
0.692902
JMassing
14552e71661c65d0879270ceff1f32e7ca60d0b5
2,477
cpp
C++
src/clotho/classifiers/classifier_toolkit.cpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:27:57.000Z
2022-01-25T23:26:54.000Z
src/clotho/classifiers/classifier_toolkit.cpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:12:42.000Z
2015-06-23T12:41:00.000Z
src/clotho/classifiers/classifier_toolkit.cpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2015 Patrick Putnam // // 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 o...
36.970149
117
0.672184
putnampp
145751f593d445bcdb0296a63d669c65098d293a
1,932
cpp
C++
devtools/lit/tests/Inputs/shtest-timeout/litcfg.cpp
PHP-OPEN-HUB/polarphp
70ff4046e280fd99d718d4761686168fa8012aa5
[ "PHP-3.01" ]
null
null
null
devtools/lit/tests/Inputs/shtest-timeout/litcfg.cpp
PHP-OPEN-HUB/polarphp
70ff4046e280fd99d718d4761686168fa8012aa5
[ "PHP-3.01" ]
null
null
null
devtools/lit/tests/Inputs/shtest-timeout/litcfg.cpp
PHP-OPEN-HUB/polarphp
70ff4046e280fd99d718d4761686168fa8012aa5
[ "PHP-3.01" ]
null
null
null
// This source file is part of the polarphp.org open source project // // Copyright (c) 2017 - 2019 polarphp software foundation // Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com> // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://polarphp.org/LICENSE.txt for license info...
33.894737
85
0.715839
PHP-OPEN-HUB
14589f985cdd71c0b688c752efcf239b9785a5be
167
cpp
C++
docs/mfc/codesnippet/CPP/activex-control-containers-handling-events-from-an-activex-control_4.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/activex-control-containers-handling-events-from-an-activex-control_4.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/activex-control-containers-handling-events-from-an-activex-control_4.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
BOOL CContainerDlg::OnClickInCircctrl1(OLE_XPOS_PIXELS nX, OLE_YPOS_PIXELS nY) { // use nX and nY here TRACE(_T("nX = %d, nY = %d\n"), nX, nY); return TRUE; }
27.833333
78
0.664671
bobbrow
1459d18912bb342a208380270566a881f96bfdb8
11,370
hpp
C++
include/clotho/data_spaces/offspring_generator/offspring_generator_population_space_row_alignment.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:27:57.000Z
2022-01-25T23:26:54.000Z
include/clotho/data_spaces/offspring_generator/offspring_generator_population_space_row_alignment.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:12:42.000Z
2015-06-23T12:41:00.000Z
include/clotho/data_spaces/offspring_generator/offspring_generator_population_space_row_alignment.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2015 Patrick Putnam // // 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 o...
39.206897
231
0.644151
putnampp
145a53bb5498d508a2ddec4438917c24531d6e0f
4,029
hpp
C++
src/Evolution/DgSubcell/Actions/TakeTimeStep.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Evolution/DgSubcell/Actions/TakeTimeStep.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Evolution/DgSubcell/Actions/TakeTimeStep.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <optional> #include <tuple> #include <utility> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/EagerMath/Determinant.hpp" #include "DataStructures/Tensor/...
39.116505
79
0.694217
nilsvu
146304c24dd602e421b4b10a425dd16233a5178b
7,576
cpp
C++
glfw/src/Simulation/Systems/WindowSystem.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
glfw/src/Simulation/Systems/WindowSystem.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
glfw/src/Simulation/Systems/WindowSystem.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
#include "WindowSystem.hpp" #include <Concurrency/Async.hpp> #include <Foundation/Profiler.hpp> #include <Simulation/Simulation.hpp> #include <Simulation/Systems/RenderSystem.hpp> #include <Rendering/FrameBufferObject.hpp> #ifdef CRIMILD_PLATFORM_EMSCRIPTEN #include <emscripten.h> #include <emscripten/html5.h...
32.655172
125
0.699446
hhsaez
14653b4874e9d18b6a8db04bca66c6e9b21bb73c
4,817
cpp
C++
snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
//<Snippet1> #using <System.Windows.Forms.dll> #using <System.Drawing.dll> #using <System.dll> using namespace System; using namespace System::ComponentModel; using namespace System::ComponentModel::Design; using namespace System::Drawing; using namespace System::Drawing::Design; using namespace System::Windows::Forms...
28.502959
98
0.599543
BohdanMosiyuk
1469780fc0d5d5e0e0d1909b33ae4af3590af9f3
372
cpp
C++
CodeChef DSA Learning/Week 1/ZCO14003.cpp
mishrraG/100DaysOfCode
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
13
2020-08-10T14:06:37.000Z
2020-09-24T14:21:33.000Z
CodeChef DSA Learning/Week 1/ZCO14003.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
null
null
null
CodeChef DSA Learning/Week 1/ZCO14003.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
1
2020-09-05T12:56:22.000Z
2020-09-05T12:56:22.000Z
#include<bits/stdc++.h> using namespace std; int main() { long long int N,x,maxx; cin>>N; int A[N]; for(long long int i=0;i<N;i++) { cin>>A[i]; } sort(A,A+N); maxx=A[0]*(N-0); for(long long int i=1;i<N;i++) { x=A[i]*(N-i); if(x>=maxx) { ...
15.5
34
0.419355
mishrraG
146c7f41d74c1071c46f79c497b8b2b56487b703
11,752
cpp
C++
Samples/CameraResolution/cpp/Scenario3_AspectRatio.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/CameraResolution/cpp/Scenario3_AspectRatio.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/CameraResolution/cpp/Scenario3_AspectRatio.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS F...
37.909677
172
0.656654
dujianxin
14715c0d230539b642a3bffb6554833885758722
2,883
cpp
C++
archives/code_snippet/lru_cache.cpp
NopSmile/Blog
4e7d9eb7ced038781179b6db1c0fada73c353071
[ "MIT" ]
1
2019-05-25T03:07:07.000Z
2019-05-25T03:07:07.000Z
archives/code_snippet/lru_cache.cpp
NopSmile/Blog
4e7d9eb7ced038781179b6db1c0fada73c353071
[ "MIT" ]
1
2018-03-29T01:55:21.000Z
2018-03-29T01:55:21.000Z
archives/code_snippet/lru_cache.cpp
NopSmile/blog
4e7d9eb7ced038781179b6db1c0fada73c353071
[ "MIT" ]
2
2019-04-24T08:21:49.000Z
2021-01-15T06:49:47.000Z
#include <iostream> #include <unordered_map> #include <vector> using namespace std; template <class K, class T> struct LRUCacheEntry { K key; T data; LRUCacheEntry *prev; LRUCacheEntry *next; }; template <class K, class T> class LRUCache { private: unordered_map<K, LRUCacheEntry<K, T> *> mappi...
24.853448
61
0.479015
NopSmile
147640ac9e9acbe98a5f1c527b48731746ee0e73
2,223
cpp
C++
Fedoraware/TeamFortress2/TeamFortress2/Features/Aimbot/Aimbot.cpp
FilippoFerarri/Fedoraware
94f6c18de53e0e5cc15dd4aeadb9e68143c765df
[ "WTFPL" ]
1
2022-03-06T06:21:04.000Z
2022-03-06T06:21:04.000Z
Fedoraware/TeamFortress2/TeamFortress2/Features/Aimbot/Aimbot.cpp
raspimana/Fedoraware
910bbbe0fc3cb335468f9005846a408c599ef9aa
[ "WTFPL" ]
1
2021-12-29T12:44:59.000Z
2022-01-05T14:28:59.000Z
Fedoraware/TeamFortress2/TeamFortress2/Features/Aimbot/Aimbot.cpp
raspimana/Fedoraware
910bbbe0fc3cb335468f9005846a408c599ef9aa
[ "WTFPL" ]
2
2022-03-03T02:25:56.000Z
2022-03-03T17:12:42.000Z
#include "Aimbot.h" #include "../Vars.h" #include "AimbotHitscan/AimbotHitscan.h" #include "AimbotProjectile/AimbotProjectile.h" #include "AimbotMelee/AimbotMelee.h" bool CAimbot::ShouldRun(CBaseEntity* pLocal, CBaseCombatWeapon* pWeapon) { if (g_GlobalInfo.m_bFreecamActive) return false; if (!Vars::Aimbot::Glob...
20.394495
95
0.727845
FilippoFerarri
147cad9b079ea385ab91f530e3b0945e55e14dad
1,226
hpp
C++
hls/params/w0.hpp
ninfueng/mpwn
9931b98c9e1096214ce757ca1efdd1b1165a2057
[ "MIT" ]
2
2021-09-24T07:57:11.000Z
2021-09-24T13:25:58.000Z
hls/params/w0.hpp
ninfueng/mpwn
9931b98c9e1096214ce757ca1efdd1b1165a2057
[ "MIT" ]
null
null
null
hls/params/w0.hpp
ninfueng/mpwn
9931b98c9e1096214ce757ca1efdd1b1165a2057
[ "MIT" ]
null
null
null
half w0[6][1][25] {{{-0.001442,-0.328,0.4973,-0.2595,0.01351,-0.1135,0.1498,0.3096,-0.406,0.1106,0.09283,0.1658,-0.09814,-0.2242,0.2142,0.02885,0.0949,-0.2009,-0.1613,0.282,-0.004322,-0.07214,-0.03928,-0.02211,0.06995,},},{{0.02261,0.0647,-0.02469,-0.04752,-0.01765,0.03223,0.0477,0.04922,-0.1432,0.012245,-0.1173,0.166...
613
1,225
0.651713
ninfueng
1484e2176b5768001e8057687103ca5090cdd844
816
cpp
C++
dianliwangguomanyouji/cocos2d/tools/simulator/libsimulator/proj.win32/Runtime_win32.cpp
lrmssc/dlwghyj
107f77cde9f3ed3e0ccaf05649481c6eaf81939c
[ "MIT" ]
20
2015-01-23T09:03:56.000Z
2021-08-28T17:19:38.000Z
dianliwangguomanyouji/cocos2d/tools/simulator/libsimulator/proj.win32/Runtime_win32.cpp
lrmssc/dlwghyj
107f77cde9f3ed3e0ccaf05649481c6eaf81939c
[ "MIT" ]
3
2015-03-31T06:13:40.000Z
2017-10-04T12:30:29.000Z
dianliwangguomanyouji/cocos2d/tools/simulator/libsimulator/proj.win32/Runtime_win32.cpp
lrmssc/dlwghyj
107f77cde9f3ed3e0ccaf05649481c6eaf81939c
[ "MIT" ]
16
2015-06-08T04:10:12.000Z
2021-08-28T17:19:38.000Z
#include <io.h> #include <direct.h> #include <stdio.h> #include <vector> #include <string> #include "cocos2d.h" #include "runtime/ConfigParser.h" using namespace std; string getIPAddress() { WSADATA wsaData; char name[155]={0}; char *ip=nullptr; PHOSTENT hostinfo; // customized by user aut...
20.923077
75
0.54902
lrmssc
14860a9c838150c9c097a0b0cf09fe4cd12356e2
5,326
cpp
C++
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0033.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-09-17T06:53:47.000Z
2021-08-09T03:41:21.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0033.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0033.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
18
2015-12-09T21:27:41.000Z
2020-11-27T11:38:49.000Z
/***************************************************************** | | Neptune - Trust Anchors | | This file is automatically generated by a script, do not edit! | | Copyright (c) 2002-2010, Axiomatic Systems, LLC. | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modif...
44.383333
79
0.756102
Dschee
148dcb479dd24e71423dbf1afe5f7108364acfa3
1,266
cpp
C++
test/node_test/fasta_ops.cpp
danielsundfeld/astar_msa
f4f5c90c9c8b1da76eee2229657427cd4db632a7
[ "MIT" ]
2
2019-04-13T23:31:06.000Z
2020-12-21T15:33:55.000Z
test/node_test/fasta_ops.cpp
danielsundfeld/astar_msa
f4f5c90c9c8b1da76eee2229657427cd4db632a7
[ "MIT" ]
null
null
null
test/node_test/fasta_ops.cpp
danielsundfeld/astar_msa
f4f5c90c9c8b1da76eee2229657427cd4db632a7
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include "backtrace.h" #include "HeuristicHPair.h" #include "read_fasta.h" using namespace std; #define N_SEQ 4 void test_backtrace(bool add_dumb = false) { Node<N_SEQ> n = Sequences::get_initial_node<N_SEQ>(); std::map< Coord<N_SEQ>, Node<N_SEQ> > ClosedList; ClosedL...
19.181818
88
0.560032
danielsundfeld
14914f9ad0fb8aee7826dd233c109057a134d9ec
16,474
cpp
C++
tcltk/tcltk.cpp
AmziLS/interfaces
d96e3d9f42bfd25c28348a3f22163582c1867b3d
[ "MIT" ]
10
2016-04-16T23:15:29.000Z
2022-02-28T21:56:48.000Z
tcltk/tcltk.cpp
AmziLS/interfaces
d96e3d9f42bfd25c28348a3f22163582c1867b3d
[ "MIT" ]
8
2016-04-16T15:29:15.000Z
2021-05-09T20:53:22.000Z
tcltk/tcltk.cpp
AmziLS/interfaces
d96e3d9f42bfd25c28348a3f22163582c1867b3d
[ "MIT" ]
7
2016-04-18T04:03:36.000Z
2021-05-07T00:54:05.000Z
// tcltk.cpp : Defines the entry point for the DLL application. // #ifdef _UNICODE #ifndef UNICODE #define UNICODE #endif #endif #include "stdafx.h" #include "stdio.h" #include "amzi.h" #include <tchar.h> #include "tcl.h" #include "tk.h" #include <vector> TF EXPFUNC p_tcl_main(ENGid); TF EXPFUNC p_...
27.140033
131
0.596698
AmziLS
14927b706a1076e80750788c83f9b1a0186efd28
448
cpp
C++
codes/ZOJ/zoj3819.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/ZOJ/zoj3819.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/ZOJ/zoj3819.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; int N, M, A, B; int main () { int cas; scanf("%d", &cas); while (cas--) { int x; scanf("%d%d", &N, &M); A = B = 0; for (int i = 1; i < N; i++) { scanf("%d", &x); A += x; } for (int i = 0; i < M; i++) { scanf("%d", ...
14.933333
43
0.424107
JeraKrs
1495d1290cb6b621306cfdae87ff1345e269c2b8
26,033
cpp
C++
applications/mne_scan/plugins/neuromag/neuromag.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
applications/mne_scan/plugins/neuromag/neuromag.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
applications/mne_scan/plugins/neuromag/neuromag.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file neuromag.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1....
32.828499
240
0.529021
MagCPP
149615a9e12e70d87e9a90b214a1835100b8f7e5
6,271
cpp
C++
2006 - Task1 {12 of 14} [a]/src/particles.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2006 - Task1 {12 of 14} [a]/src/particles.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2006 - Task1 {12 of 14} [a]/src/particles.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
#include <stdio.h> #include <gl\glut.h> #include <windows.h> #define N 10000 typedef struct { float x,y; float x1,y1; float randomx,randomy; float x2,y2; float r,g,b; float s; float s1; float l; float l1; bool living; bool update; } TParticle; TParticle System[N]; int SystemType; fl...
20.294498
80
0.580928
retgone
1499a3ec7e786ff93a5109b744596e59a10baf58
3,849
hpp
C++
examples/sill/vr-puzzle/objects/panel.hpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
15
2018-02-26T08:20:03.000Z
2022-03-06T03:25:46.000Z
examples/sill/vr-puzzle/objects/panel.hpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
32
2018-02-26T08:26:38.000Z
2020-09-12T17:09:38.000Z
examples/sill/vr-puzzle/objects/panel.hpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
null
null
null
#pragma once #include "./object.hpp" #include <cstdint> #include <glm/glm.hpp> #include <lava/core/ray.hpp> #include <vector> class Brick; class Barrier; class Panel : public Object { public: using SolvedChangedCallback = std::function<void(bool)>; struct SnappingPoint { lava::Transform worldTransf...
34.061947
137
0.725383
Breush
149fb188dbbeb85ee898b8261a0697093f0bdcd6
620
cpp
C++
sort/insertSort.cpp
ctrlzhang/algorithm
4db12ea6246b7bd6ac4ab9296de4e736f73a0bf0
[ "Apache-2.0" ]
1
2017-05-08T15:41:17.000Z
2017-05-08T15:41:17.000Z
sort/insertSort.cpp
ctrlzhang/algorithm
4db12ea6246b7bd6ac4ab9296de4e736f73a0bf0
[ "Apache-2.0" ]
null
null
null
sort/insertSort.cpp
ctrlzhang/algorithm
4db12ea6246b7bd6ac4ab9296de4e736f73a0bf0
[ "Apache-2.0" ]
2
2016-09-05T17:12:08.000Z
2021-11-21T11:29:42.000Z
#include <iostream> #include <vector> using namespace std; void output(vector<int>& v) { for(vector<int>::iterator it = v.begin(); it != v.end(); it++) { cout<<*it<<" "; } } //递增排序 //排序第i个元素时, 判断前i-1个数是否大于它,如果大于则进行移位,直到找到比它小的数为止. void insertSort(vector<int>& v) { int len = v.size(); if(0 == len) return; for(i...
17.714286
65
0.548387
ctrlzhang
14a044d7937bb9f54c50ac95a5cbb2f6ca6e9f9c
1,553
cpp
C++
code-forces/631 Div 2/C.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
1
2020-04-23T00:35:38.000Z
2020-04-23T00:35:38.000Z
code-forces/631 Div 2/C.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
null
null
null
code-forces/631 Div 2/C.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ENDL '\n' #define deb(u) cout << #u " : " << (u) << ENDL; #define deba(alias, u) cout << alias << ": " << (u) << ENDL; #define debp(u, v) cout << u << " : " << v << ENDL; #define pb push_back #define F first #define S second #define lli long long #define pii pair<int, int> #define pll p...
21.273973
60
0.479717
ErickJoestar
14a070e817b850c2a7f9f7088589aadf5f2da3cd
27
cpp
C++
modules/stitching/test/test_precomp.cpp
emaknyus/OpenCV-2.4.3-custom
a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7
[ "MIT" ]
3
2015-08-29T06:56:58.000Z
2016-11-15T10:35:59.000Z
modules/stitching/test/test_precomp.cpp
emaknyus/OpenCV-2.4.3-custom
a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7
[ "MIT" ]
null
null
null
modules/stitching/test/test_precomp.cpp
emaknyus/OpenCV-2.4.3-custom
a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7
[ "MIT" ]
null
null
null
#include "test_precomp.hpp"
27
27
0.814815
emaknyus
14a15b05801440ee3bdbcbc407921b544dbac3d1
3,413
cpp
C++
lib/ast/expression/identifier.cpp
Shachar/practical-sa
01ad8a5d60d2cb09760a38acf229331885dae538
[ "BSL-1.0" ]
1
2020-02-01T18:05:43.000Z
2020-02-01T18:05:43.000Z
lib/ast/expression/identifier.cpp
Shachar/practical-sa
01ad8a5d60d2cb09760a38acf229331885dae538
[ "BSL-1.0" ]
17
2019-03-13T08:51:37.000Z
2020-12-05T18:18:44.000Z
lib/ast/expression/identifier.cpp
Shachar/practical
01ad8a5d60d2cb09760a38acf229331885dae538
[ "BSL-1.0" ]
1
2018-09-25T15:30:50.000Z
2018-09-25T15:30:50.000Z
/* This file is part of the Practical programming langauge. https://github.com/Practical/practical-sa * * To the extent header files enjoy copyright protection, this file is file is copyright (C) 2018-2019 by its authors * You can see the file's authors in the AUTHORS file in the project's home repository. * * Thi...
34.826531
117
0.660123
Shachar
14a198806ac7d6336ad6b324700767668772d933
4,494
cpp
C++
src/utilities/optimization.cpp
cmccomb/CISAT
45b6864fc8c83eb1b8eee56f0f74912fecd3973d
[ "MIT" ]
1
2021-08-30T23:06:03.000Z
2021-08-30T23:06:03.000Z
src/utilities/optimization.cpp
THREDgroup/CISAT-cpp
45b6864fc8c83eb1b8eee56f0f74912fecd3973d
[ "MIT" ]
2
2021-11-21T18:02:11.000Z
2022-03-28T20:51:58.000Z
src/utilities/optimization.cpp
THREDgroup/CISAT-cpp
45b6864fc8c83eb1b8eee56f0f74912fecd3973d
[ "MIT" ]
null
null
null
#include "../../include/utilities/optimization.hpp" // Compute the x value fo the optimum of a linear regression std::vector<long double> quad_max(std::vector<long double> x, std::vector<long double> y){ // Initialize things std::vector< std::vector<long double> > A(3, std::vector<long double>(4, 0.0)); s...
27.402439
99
0.515354
cmccomb
14a261a651c714cd1411c26155d2b273271b5ce5
2,109
cpp
C++
Greedy/minnoofjumps.cpp
UltraProton/Placement-Prepration
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
null
null
null
Greedy/minnoofjumps.cpp
UltraProton/Placement-Prepration
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
3
2020-05-08T18:02:51.000Z
2020-05-09T08:37:35.000Z
Greedy/minnoofjumps.cpp
UltraProton/PlacementPrep
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
null
null
null
/* https://www.youtube.com/watch?v=vBdo7wtwlXs https://www.geeksforgeeks.org/minimum-number-jumps-reach-endset-2on-solution/ : Good Explanation. */ #include<bits/stdc++.h> using namespace std; int min_jumps(vector<int> &V); int main(int argc, char const *argv[]) { /* code */ vector<int> V; int t=0...
22.43617
121
0.528687
UltraProton
14a29a020d6cf0293e7e4e5f233bddd86703de7d
329
hpp
C++
src/widgets/accountswitchwidget.hpp
alexandera3/chatterino2
41fbcc738b34a19f66eef3cca8d5dea0b89e07a3
[ "MIT" ]
1
2018-03-24T18:40:00.000Z
2018-03-24T18:40:00.000Z
src/widgets/accountswitchwidget.hpp
alexandera3/chatterino2
41fbcc738b34a19f66eef3cca8d5dea0b89e07a3
[ "MIT" ]
null
null
null
src/widgets/accountswitchwidget.hpp
alexandera3/chatterino2
41fbcc738b34a19f66eef3cca8d5dea0b89e07a3
[ "MIT" ]
null
null
null
#pragma once #include <QListWidget> namespace chatterino { namespace widgets { class AccountSwitchWidget : public QListWidget { Q_OBJECT public: explicit AccountSwitchWidget(QWidget *parent = nullptr); void refresh(); private: void refreshSelection(); }; } // namespace widgets } // namespace ch...
14.304348
60
0.723404
alexandera3
14a570a607a83734c6186e19afcd3d3e18f4beff
22,587
cc
C++
test/src/unit-dimension.cc
upj977155/TileDB
1c96c6a0c030e058930ff9d47409865fbfe2178f
[ "MIT" ]
1,478
2017-06-15T13:58:50.000Z
2022-03-30T13:46:00.000Z
test/src/unit-dimension.cc
upj977155/TileDB
1c96c6a0c030e058930ff9d47409865fbfe2178f
[ "MIT" ]
1,435
2017-05-25T01:16:18.000Z
2022-03-31T21:57:06.000Z
test/src/unit-dimension.cc
upj977155/TileDB
1c96c6a0c030e058930ff9d47409865fbfe2178f
[ "MIT" ]
169
2017-06-09T18:35:45.000Z
2022-03-13T01:11:18.000Z
/** * @file unit-dimension.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2020-2021 TileDB, 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...
30.075899
80
0.655067
upj977155
14a58602f94849d1dd58e119706d3cad7d6d97db
1,219
hpp
C++
android-31/android/widget/PopupMenu.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-30/android/widget/PopupMenu.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/widget/PopupMenu.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" namespace android::content { class Context; } namespace android::view { class MenuInflater; } namespace android::view { class View; } namespace android::widget { class PopupMenu : public JObject { public: // Fields // QJniObject forward template<typename ...Ts...
24.877551
150
0.722724
YJBeetle
14a9fc4a6d57febc22fff3c5fddc3a34c43aa414
2,440
hpp
C++
src/mlpack/core/data/detect_file_type.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/data/detect_file_type.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/data/detect_file_type.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file core/data/detect_file_type.hpp * @author Conrad Sanderson * @author Ryan Curtin * * Functionality to guess the type of a file by inspecting it. Parts of the * implementation are adapted from the Armadillo sources and relicensed to be a * part of mlpack with permission from Conrad. * * mlpack is fr...
34.366197
80
0.732787
florian-rosenthal
14ab8f8117b58d88bd17a201b705485e4db16e65
1,288
cpp
C++
luogu/codes/P2257.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2021-02-22T03:39:24.000Z
2021-02-22T03:39:24.000Z
luogu/codes/P2257.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P2257.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P2257.cpp * > Author : Tony * > Created Time : 2019/05/12 16:30:54 **************************************************************/ #include <bits/stdc++.h> using namespace std; const int maxn = 10000010; bool vi...
26.285714
67
0.373447
Tony031218
14b207650eb27bb54fc06198c3e103cc38f0205e
1,172
cpp
C++
2.5/The_Castle.cpp
tangxiangru/NOIP
6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4
[ "MIT" ]
1
2020-10-12T12:00:08.000Z
2020-10-12T12:00:08.000Z
2.5/The_Castle.cpp
tangxiangru/NOIP
6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4
[ "MIT" ]
null
null
null
2.5/The_Castle.cpp
tangxiangru/NOIP
6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdlib> #include <cstring> #include <cstdio> #include <queue> using namespace std; const int X[] = {0,-1,0,1}; const int Y[] = {-1,0,1,0}; bool a[51][51][4],vis[51][51]; int n,m,ans = 0,Max = -999999; struct Queue { int x,y; }; queue<Queue> Q; inline void bfs(int x,int y) { bool cnt[51][...
19.213115
92
0.533276
tangxiangru
14b4597bd451cfac22908ca005596b2b7439e30f
2,340
hxx
C++
Legolas/BlockMatrix/Structures/Diagonal/DiagonalScalarParallelMultOperator.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/Structures/Diagonal/DiagonalScalarParallelMultOperator.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/Structures/Diagonal/DiagonalScalarParallelMultOperator.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
#ifndef __DIAGONALSCALARPARALLELMULTOPERATOR_HXX__ #define __DIAGONALSCALARPARALLELMULTOPERATOR_HXX__ #include "Legolas/Vector/Vector.hxx" #include "Legolas/BlockMatrix/ScalarMatrixMultOperator.hxx" namespace Legolas{ template <class SCALAR_MATRIX, class V1D> class AddMultLineOperator{ const SCALAR_MATRIX & ...
25.434783
115
0.626068
LaurentPlagne
14b522395448cf47de148b9af2a1c0c2aad1fb4a
918
cpp
C++
src/RenderHandler.cpp
dfrancio/cef-pdf
a382911640d55d1f82ff1999d668fc519c54bfb8
[ "MIT" ]
71
2016-08-24T18:17:30.000Z
2022-03-31T06:09:18.000Z
src/RenderHandler.cpp
dfrancio/cef-pdf
a382911640d55d1f82ff1999d668fc519c54bfb8
[ "MIT" ]
34
2017-03-14T05:10:28.000Z
2021-06-09T10:19:46.000Z
src/RenderHandler.cpp
dfrancio/cef-pdf
a382911640d55d1f82ff1999d668fc519c54bfb8
[ "MIT" ]
34
2016-12-20T10:15:10.000Z
2022-03-31T06:09:21.000Z
#include "RenderHandler.h" namespace cefpdf { RenderHandler::RenderHandler() { m_viewWidth = 128; m_viewHeight = 128; } void RenderHandler::SetViewWidth(int viewWidth) { m_viewWidth = viewWidth; DLOG(INFO) << "View width: " << m_viewWidth; } void RenderHandler::SetViewHeight(int viewHeight) { m...
21.348837
77
0.641612
dfrancio
14b61556befaa28ce8995c44aa3556a7df239f75
16,740
cpp
C++
src/kits/tracker/TextWidget.cpp
chamalwr/haiku
b2bf76c43decc3fc2de50c4750f830b16807ddef
[ "MIT" ]
2
2020-02-02T06:48:30.000Z
2020-04-05T13:58:32.000Z
src/kits/tracker/TextWidget.cpp
honza1a/haiku
3959883f5047e803205668d4eb7d083b2d81e2da
[ "MIT" ]
null
null
null
src/kits/tracker/TextWidget.cpp
honza1a/haiku
3959883f5047e803205668d4eb7d083b2d81e2da
[ "MIT" ]
1
2019-01-15T10:32:43.000Z
2019-01-15T10:32:43.000Z
/* Open Tracker License Terms and Conditions Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 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...
25.833333
81
0.715352
chamalwr
14bd38aa46db310723c4430892aeb68defd03777
4,619
cpp
C++
tests/Switch.Core.UnitTests/Switch/System/Globalization/NumberStylesTest.cpp
victor-timoshin/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
4
2020-02-11T13:22:58.000Z
2022-02-24T00:37:43.000Z
tests/Switch.Core.UnitTests/Switch/System/Globalization/NumberStylesTest.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
tests/Switch.Core.UnitTests/Switch/System/Globalization/NumberStylesTest.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
#include <Switch/System/Enum.hpp> #include <Switch/System/Globalization/NumberStyles.hpp> #include <Switch/System/String.hpp> #include <gtest/gtest.h> using namespace System; namespace SwitchUnitTests { TEST(NumberStylesTest, None) { ASSERT_EQ(0, (int32)System::Globalization::NumberStyles::None); ASSERT_EQ(...
49.138298
149
0.766183
victor-timoshin
14bdbaec9186b1069678dce4f7cc0bcfa3b1260d
852
cpp
C++
Modules/QtWidgetsExt/src/QmitkBasePropertyView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Modules/QtWidgetsExt/src/QmitkBasePropertyView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Modules/QtWidgetsExt/src/QmitkBasePropertyView.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
24.342857
97
0.625587
zhaomengxiao
14c2de86fec62941afab35329bd60105459b236d
5,674
cpp
C++
Source/Tools/MeshGenerators.cpp
enci/Osmium
48d8b78ed31ffa532e05dc8c06b644f6f5791814
[ "MIT" ]
6
2017-05-28T18:26:35.000Z
2019-12-09T15:28:37.000Z
Source/Tools/MeshGenerators.cpp
enci/Osmium
48d8b78ed31ffa532e05dc8c06b644f6f5791814
[ "MIT" ]
null
null
null
Source/Tools/MeshGenerators.cpp
enci/Osmium
48d8b78ed31ffa532e05dc8c06b644f6f5791814
[ "MIT" ]
5
2018-03-09T09:02:57.000Z
2020-07-31T23:34:26.000Z
#include <Tools/MeshGenerators.h> #include <cstdint> #include <unordered_map> #include <vector> using namespace Osm; using namespace std; ////////////////////////////////////////////////////////////////////////////////////////// /// Generate Icosphere /// Based on code Written by Frank McCoy for Seed of Andromeda /...
22.515873
95
0.626013
enci
14c3c1b6adbfada42dd9740c7832189b98e97fd6
2,256
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/CPP/cfromdouble.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/CPP/cfromdouble.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/CPP/cfromdouble.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
//<Snippet2> // Example of the explicit conversion from double to Decimal. using namespace System; #define formatter "{0,25:E16}{1,33}" // Get the exception type name; remove the namespace prefix. String^ GetExceptionType( Exception^ ex ) { String^ exceptionType = ex->GetType()->ToString(); return exc...
33.671642
78
0.651152
hamarb123
14c67907fc2d20f44c22ce15f73b414fa95903bb
1,609
hpp
C++
src/state_machine/BeagleBone_black/src/sensors/fake_batteries.hpp
Hyp-ed/testing-proto-2018
d283de2e6e1257de6fa7718ee67240e2179c73b6
[ "Apache-2.0" ]
null
null
null
src/state_machine/BeagleBone_black/src/sensors/fake_batteries.hpp
Hyp-ed/testing-proto-2018
d283de2e6e1257de6fa7718ee67240e2179c73b6
[ "Apache-2.0" ]
1
2018-11-12T17:59:29.000Z
2018-11-12T18:37:08.000Z
src/state_machine/BeagleBone_black/src/sensors/fake_batteries.hpp
Hyp-ed/testing-proto-2018
d283de2e6e1257de6fa7718ee67240e2179c73b6
[ "Apache-2.0" ]
null
null
null
/* * Author: Jack Horsburgh * Organisation: HYPED * Date: 17/07/18 * Description: Main class for fake IMUs. * * Copyright 2018 HYPED * 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 Li...
25.140625
78
0.742076
Hyp-ed
14c84882dc4e333afeb410379a70f4b7f15fccf0
13,556
cpp
C++
NE/HyperNEAT/NEAT/src/NEAT_CoEvoGeneticGeneration.cpp
LMBernardo/HyperNEAT
8ebee6fda17dcf20dd0c6c081dc8681557c1faad
[ "BSD-3-Clause" ]
null
null
null
NE/HyperNEAT/NEAT/src/NEAT_CoEvoGeneticGeneration.cpp
LMBernardo/HyperNEAT
8ebee6fda17dcf20dd0c6c081dc8681557c1faad
[ "BSD-3-Clause" ]
null
null
null
NE/HyperNEAT/NEAT/src/NEAT_CoEvoGeneticGeneration.cpp
LMBernardo/HyperNEAT
8ebee6fda17dcf20dd0c6c081dc8681557c1faad
[ "BSD-3-Clause" ]
null
null
null
#include "NEAT_Defines.h" #include "NEAT_CoEvoGeneticGeneration.h" #include "NEAT_GeneticLinkGene.h" #include "NEAT_Globals.h" #ifdef EPLEX_INTERNAL #define DEBUG_REMOVE_STALE_TESTS (1) //Because you need to recompute fitnesses every time a test is deleted, delete a bunch at a time. #define DEBUG_MIN_TEST_ALERT_SI...
29.793407
120
0.516377
LMBernardo
14c863c239a2f8f64e038c34f13b47fc25fc2656
15,202
cc
C++
src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
billchen1977/fuchsia
d443f9c7b03ad317d1700c2c9457be8ed1147b86
[ "BSD-2-Clause" ]
null
null
null
src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
billchen1977/fuchsia
d443f9c7b03ad317d1700c2c9457be8ed1147b86
[ "BSD-2-Clause" ]
null
null
null
src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
billchen1977/fuchsia
d443f9c7b03ad317d1700c2c9457be8ed1147b86
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2020 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 "src/ui/scenic/lib/flatland/renderer/vk_renderer.h" #include <zircon/pixelformat.h> #include "src/ui/lib/escher/escher.h" #include "src/ui/lib/e...
43.065156
100
0.732667
billchen1977
14c950d0b8ce318cf5c83c58303cff74797b0106
40,974
cpp
C++
src/ossim/support_data/ossimRpfFrame.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/support_data/ossimRpfFrame.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/support_data/ossimRpfFrame.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
1
2019-09-25T00:43:35.000Z
2019-09-25T00:43:35.000Z
//******************************************************************* // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // // Author: Garrett Potts // // Description: This class give the capability to access tiles from an // rpf file. // //**************************...
36.228117
150
0.540611
rkanavath
14cb0d85e26db90a55d88bcb36144c08a0c9b3a5
3,270
cpp
C++
3rd/loguru/loguru_bench/loguru_bench.cpp
akirallL/TurboTransformers
7ca851947b1ae3b08122c45cea0ceac48ee04c3b
[ "BSD-3-Clause" ]
null
null
null
3rd/loguru/loguru_bench/loguru_bench.cpp
akirallL/TurboTransformers
7ca851947b1ae3b08122c45cea0ceac48ee04c3b
[ "BSD-3-Clause" ]
72
2020-09-15T13:32:02.000Z
2021-01-01T08:06:16.000Z
3rd/loguru/loguru_bench/loguru_bench.cpp
akirallL/TurboTransformers
7ca851947b1ae3b08122c45cea0ceac48ee04c3b
[ "BSD-3-Clause" ]
1
2020-11-16T16:06:15.000Z
2020-11-16T16:06:15.000Z
#include <chrono> #include <cmath> #include <iomanip> #include <iostream> #include <vector> #define LOGURU_WITH_STREAMS 1 #define LOGURU_REDEFINE_ASSERT 1 #include "../loguru.cpp" const size_t kNumRuns = 10; const double kPi = 3.1415926535897932384626433; static long long now_ns() { using namespace std::chrono; re...
26.803279
92
0.677676
akirallL
14ce62707fa849a51a268bc0db58153035cb6613
606
hpp
C++
include/GameCoreData.hpp
Ghabriel/CppGameArchitecture
1212cf1e140ba78d72f2aea2aff56ec8c3e23293
[ "Apache-2.0" ]
null
null
null
include/GameCoreData.hpp
Ghabriel/CppGameArchitecture
1212cf1e140ba78d72f2aea2aff56ec8c3e23293
[ "Apache-2.0" ]
null
null
null
include/GameCoreData.hpp
Ghabriel/CppGameArchitecture
1212cf1e140ba78d72f2aea2aff56ec8c3e23293
[ "Apache-2.0" ]
null
null
null
#ifndef GAME_CORE_DATA_HPP #define GAME_CORE_DATA_HPP #include "engine/entity-system/forward-declarations.hpp" #include "engine/input-system/forward-declarations.hpp" #include "engine/resource-system/forward-declarations.hpp" #include "engine/state-system/forward-declarations.hpp" struct GameCoreData { engine::en...
33.666667
61
0.805281
Ghabriel
14cebcd9b5cbcf2149bacc0e74f635c031f6c7b2
5,630
hpp
C++
libs/http/include/http/json_client.hpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/http/include/http/json_client.hpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/http/include/http/json_client.hpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
2
2019-11-13T10:55:24.000Z
2019-11-13T11:37:09.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
31.988636
98
0.698757
jinmannwong
14ced231dfbe72e0886d3ee40c261afe9e568401
20,004
cpp
C++
plugins/INPUT/inputdriverXWINMSG/src/inputdriverXWINMSG_CEventListner.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
plugins/INPUT/inputdriverXWINMSG/src/inputdriverXWINMSG_CEventListner.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
plugins/INPUT/inputdriverXWINMSG/src/inputdriverXWINMSG_CEventListner.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * inputdriverXWINMSG: GUCEF input driver module for X11 * Copyright (C) 2002 - 2012. Dinand Vanvelzen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ve...
47.29078
122
0.575685
amvb
14cf3c9cae5008c9ac61d5ac9691d2cca0f4ff19
8,437
cpp
C++
src/VboRectangleRenderer.cpp
fataris/ofxVboRenderer
30223cae622a9609a98c1d7c06ec3b93a0aba135
[ "MIT" ]
6
2018-04-24T03:37:13.000Z
2022-03-17T17:14:24.000Z
src/VboRectangleRenderer.cpp
fataris/ofxVboRenderer
30223cae622a9609a98c1d7c06ec3b93a0aba135
[ "MIT" ]
9
2018-04-16T14:20:57.000Z
2020-06-08T13:51:17.000Z
src/VboRectangleRenderer.cpp
fataris/ofxVboRenderer
30223cae622a9609a98c1d7c06ec3b93a0aba135
[ "MIT" ]
1
2019-05-09T11:04:00.000Z
2019-05-09T11:04:00.000Z
// // VboRectangleRenderer.cpp // example-simple // // Created by Hana on 2018/04/25. // // #include "VboRectangleRenderer.hpp" VboRectangleRenderer::VboRectangleRenderer() { initVbo(); initCount(); thick = 1.0; } void VboRectangleRenderer::setup() { setScreenSize(); initVbo(); } void Vb...
29.5
105
0.679388
fataris
14d46fec7a9586b08ecd3f1f66a225c5bad3cfae
2,456
cpp
C++
day-04-puzzle-1/src/main.cpp
Nexxxy/advent2020-challenge
419fff10c35ba15d0d6b9d86974260ecc38ab5f8
[ "MIT" ]
null
null
null
day-04-puzzle-1/src/main.cpp
Nexxxy/advent2020-challenge
419fff10c35ba15d0d6b9d86974260ecc38ab5f8
[ "MIT" ]
null
null
null
day-04-puzzle-1/src/main.cpp
Nexxxy/advent2020-challenge
419fff10c35ba15d0d6b9d86974260ecc38ab5f8
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <list> #include <utilslib/Fileloader.h> #include <utilslib/StringHelper.h> #include <unordered_map> #define debug(x) using namespace std; int main() { cout << "Day 04 Puzzle 1" << std::endl; auto retList = FileLoader::ReadRecordFromFileWithBlankSpaceSeparator("i...
31.088608
102
0.528094
Nexxxy
14ddfdc6b16b1a3eae546df4640fe4eab2672445
1,464
cpp
C++
StudentLoginDialog.cpp
WT-Project-Library/-
e20dbde7f205d5afe6c3588b81338c791ac9d1a3
[ "Apache-2.0" ]
null
null
null
StudentLoginDialog.cpp
WT-Project-Library/-
e20dbde7f205d5afe6c3588b81338c791ac9d1a3
[ "Apache-2.0" ]
null
null
null
StudentLoginDialog.cpp
WT-Project-Library/-
e20dbde7f205d5afe6c3588b81338c791ac9d1a3
[ "Apache-2.0" ]
null
null
null
#include "StudentLoginDialog.h" #include "ui_StudentLoginDialog.h" #include "UserSelectionDialog.h" #include <QDebug> #include <QMessageBox> #include <QtSql> StudentLoginDialog::StudentLoginDialog(QWidget *parent) : QDialog(parent), ui(new Ui::StudentLoginDialog) { ui->setupUi(this); } StudentLoginDialog...
26.142857
124
0.659836
WT-Project-Library
14df86b6626733915fcd0edc1732694df91316a8
4,977
cpp
C++
Source/demos.cpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
Source/demos.cpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
Source/demos.cpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
// // demos.cpp // Fracturing // // Created by Clayton Anderson on 6/4/17. // Copyright © 2017 Clayton Anderson. All rights reserved. // #include "demos.hpp" void init(int demo, TetraGroupInits &inits) { switch (demo) { // Half broken fry case 0: inits.x_width = 40.0f; ...
36.595588
92
0.514366
claytonkanderson
14e4de99d662fdc480ee455e16333f4d86e65b0b
9,083
cpp
C++
c++/src/objtools/blast/seqdb_writer/writedb_gimask.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/objtools/blast/seqdb_writer/writedb_gimask.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/objtools/blast/seqdb_writer/writedb_gimask.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: writedb_gimask.cpp 177347 2009-11-30 18:43:57Z maning $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Governmen...
30.076159
97
0.58648
OpenHero
14e6bbe3312fbce04a09fc46ba4853c8a5b6fa39
4,910
cpp
C++
src/slg/textures/densitygrid.cpp
LuxRender/LuxRays
edb001ddeb744b534f6fe98c7b789d4635196718
[ "Apache-2.0" ]
null
null
null
src/slg/textures/densitygrid.cpp
LuxRender/LuxRays
edb001ddeb744b534f6fe98c7b789d4635196718
[ "Apache-2.0" ]
null
null
null
src/slg/textures/densitygrid.cpp
LuxRender/LuxRays
edb001ddeb744b534f6fe98c7b789d4635196718
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright 1998-2013 by authors (see AUTHORS.txt) * * * * This file is part of LuxRender. * * ...
33.401361
148
0.504277
LuxRender
14e8c15a409c955d43e54ecb387ca1e958012c3a
536
cpp
C++
runtime/gen9/windows/command_stream_receiver_gen9.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
3
2019-09-20T23:26:36.000Z
2019-10-03T17:44:12.000Z
runtime/gen9/windows/command_stream_receiver_gen9.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
1
2019-09-17T08:06:24.000Z
2019-09-17T08:06:24.000Z
runtime/gen9/windows/command_stream_receiver_gen9.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
3
2019-05-16T07:22:51.000Z
2019-11-11T03:05:32.000Z
/* * Copyright (C) 2017-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/command_stream/command_stream_receiver_with_aub_dump.inl" #include "runtime/os_interface/windows/device_command_stream.inl" #include "runtime/os_interface/windows/wddm_device_command_stream.inl" namespace NEO {...
29.777778
86
0.828358
FelipeMLopez
14e8c38a3a573ca9e4496c00194d04a7328c9e04
500
cpp
C++
GameEngine/GameEngineRendererTileMap.cpp
AnWooJin/Portfolio
612c1b9d29f552d1bba586f461babf7dff3a1e4e
[ "MIT" ]
null
null
null
GameEngine/GameEngineRendererTileMap.cpp
AnWooJin/Portfolio
612c1b9d29f552d1bba586f461babf7dff3a1e4e
[ "MIT" ]
null
null
null
GameEngine/GameEngineRendererTileMap.cpp
AnWooJin/Portfolio
612c1b9d29f552d1bba586f461babf7dff3a1e4e
[ "MIT" ]
null
null
null
#include "GameEngineRendererTileMap.h" float4 GameEngineRendererTileMap::GetWorldPosition(int _X, int _Y) { float4 ReturnPos = TileSize_; ReturnPos.x = static_cast<float>(_X); ReturnPos.y = static_cast<float>(_Y); ReturnPos += TileSizeHalf_; return ReturnPos; } TileIndex GameEngineRendererTileMap::GetTileIndex...
23.809524
91
0.762
AnWooJin
14f7a7bd37c60ef554110a65a077cefb846bf3ee
4,463
cpp
C++
3rdparty/bgfx/3rdparty/glslang/hlsl/hlslAttributes.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
3rdparty/bgfx/3rdparty/glslang/hlsl/hlslAttributes.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
3rdparty/bgfx/3rdparty/glslang/hlsl/hlslAttributes.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// // Copyright (C) 2016 LunarG, Inc. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // Redistributions of source code must retain the above copyright // notice, this list of c...
37.504202
93
0.661887
Pength-TH
14f87362d74b39aaa3988c8a920f3757daee774e
1,650
cpp
C++
DataStructure2/Wk3SortII/peanuts.cpp
pmdiano/Coursera
37c29c88200facc157613dc9722d4ffb61716eb6
[ "MIT" ]
2
2016-03-07T04:56:30.000Z
2016-03-13T09:27:49.000Z
DataStructure2/Wk3SortII/peanuts.cpp
pmdiano/Coursera
37c29c88200facc157613dc9722d4ffb61716eb6
[ "MIT" ]
null
null
null
DataStructure2/Wk3SortII/peanuts.cpp
pmdiano/Coursera
37c29c88200facc157613dc9722d4ffb61716eb6
[ "MIT" ]
null
null
null
//+----------------------------------------------------------------------------- // // File: peanuts.cpp // // Synopsis: Sort II, problem 2. Also POJ 1928 // // Author: Qirong Ma, 10/23/2015 // //------------------------------------------------------------------------------ #include <cstdio> #include ".....
22
80
0.461818
pmdiano
14ffb8ceb61d5c90bc7a061fdcc54684f2948d23
2,080
hpp
C++
include/util/logsafely.hpp
BaroboRobotics/cxx-util
624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd
[ "BSL-1.0" ]
null
null
null
include/util/logsafely.hpp
BaroboRobotics/cxx-util
624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd
[ "BSL-1.0" ]
null
null
null
include/util/logsafely.hpp
BaroboRobotics/cxx-util
624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd
[ "BSL-1.0" ]
1
2018-11-13T15:02:23.000Z
2018-11-13T15:02:23.000Z
// Copyright (c) 2014-2016 Barobo, Inc. // // 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) #ifndef UTIL_LOGSAFELY_HPP #define UTIL_LOGSAFELY_HPP #include <boost/log/attributes/clock.hpp> #include <boost/log/attrib...
34.666667
90
0.692788
BaroboRobotics
0901209d8a26340698eca08d2acbfcc1c4fb30d3
599
cpp
C++
src/core/Command.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
7
2018-06-09T05:55:59.000Z
2021-01-05T05:19:02.000Z
src/core/Command.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
1
2019-12-25T10:39:06.000Z
2020-01-03T08:35:29.000Z
src/core/Command.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
11
2018-05-10T08:29:05.000Z
2020-01-22T20:49:32.000Z
#include "core/Command.h" #include "core/CommandSender.h" #include "util/ClassInfo.h" using namespace BeeeOn; using namespace std; Command::Command(): m_sendingHandler(NULL) { } string Command::name() const { return ClassInfo::forPointer(this).name(); } Command::~Command() { } void Command::setSendingHandler(Com...
14.609756
59
0.737896
jalowiczor
0905a471db81d446dd3904a71a8f82efc028fe4f
10,028
hpp
C++
Lodestar/blocks/std/SumBlock.hpp
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
4
2020-06-05T14:08:23.000Z
2021-06-26T22:15:31.000Z
Lodestar/blocks/std/SumBlock.hpp
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
2
2021-06-25T15:14:01.000Z
2021-07-01T17:43:20.000Z
Lodestar/blocks/std/SumBlock.hpp
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
1
2021-06-16T03:15:23.000Z
2021-06-16T03:15:23.000Z
// // Created by Hamza El-Kebir on 12/23/21. // #ifndef LODESTAR_SUMBLOCK_HPP #define LODESTAR_SUMBLOCK_HPP #include "Lodestar/blocks/Block.hpp" #include "Lodestar/aux/TemplateTools.hpp" namespace ls { namespace blocks { namespace std { enum class SumBlockOperator { Plus, ...
38.129278
135
0.425608
helkebir
0908867f775345b4e3166649ba72f743eaad37af
8,481
cpp
C++
src/ripple/app/paths/cursor/DeliverNodeReverse.cpp
DEEPSPACE007/DsDeFi-Exchange
777486b799bae42a4297f9524f3ff30e0b149ef7
[ "Unlicense" ]
null
null
null
src/ripple/app/paths/cursor/DeliverNodeReverse.cpp
DEEPSPACE007/DsDeFi-Exchange
777486b799bae42a4297f9524f3ff30e0b149ef7
[ "Unlicense" ]
null
null
null
src/ripple/app/paths/cursor/DeliverNodeReverse.cpp
DEEPSPACE007/DsDeFi-Exchange
777486b799bae42a4297f9524f3ff30e0b149ef7
[ "Unlicense" ]
null
null
null
#include <ripple/app/paths/cursor/EffectiveRate.h> #include <ripple/app/paths/cursor/RippleLiquidity.h> #include <ripple/basics/Log.h> namespace ripple { namespace path { TER PathCursor::deliverNodeReverseImpl ( AccountID const& uOutAccountID, STAmount const& saOutReq, STAmount& saOutAct, ...
27.625407
83
0.507605
DEEPSPACE007
090a56c8f9757ef3572a33b3fc745852b5bf2c80
3,071
cc
C++
common_video/vplib/main/test/tester_main.cc
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
1
2017-02-08T09:47:04.000Z
2017-02-08T09:47:04.000Z
common_video/vplib/main/test/tester_main.cc
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
null
null
null
common_video/vplib/main/test/tester_main.cc
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
5
2015-10-30T17:35:19.000Z
2021-06-04T01:39:27.000Z
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
22.91791
74
0.426571
stoiczek
090ddea4a0bf2ef240c18645dfec0add11327364
3,071
hpp
C++
openvxpp/fixed_reference.hpp
Gooeen/openvxpp
699f10531fb3c98ec271cde76abb90e1affbe324
[ "Apache-2.0" ]
null
null
null
openvxpp/fixed_reference.hpp
Gooeen/openvxpp
699f10531fb3c98ec271cde76abb90e1affbe324
[ "Apache-2.0" ]
null
null
null
openvxpp/fixed_reference.hpp
Gooeen/openvxpp
699f10531fb3c98ec271cde76abb90e1affbe324
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (c) 2016, Gooeen. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
24.96748
104
0.702377
Gooeen
091267cf9d8abfbb5c084d94d6e12323bdef8b36
448
cpp
C++
code/error_messages.cpp
ldionne/cppcon-2015-hana
f917c492ff14953bad8d08bd43d53e907ccfb2ee
[ "MIT" ]
5
2015-09-24T15:43:27.000Z
2017-04-15T20:39:35.000Z
code/error_messages.cpp
ldionne/hana-cppcon-2015
f917c492ff14953bad8d08bd43d53e907ccfb2ee
[ "MIT" ]
null
null
null
code/error_messages.cpp
ldionne/hana-cppcon-2015
f917c492ff14953bad8d08bd43d53e907ccfb2ee
[ "MIT" ]
null
null
null
// Copyright Louis Dionne 2015 // Distributed under the Boost Software License, Version 1.0. #include <boost/hana.hpp> #include <boost/mpl/int.hpp> #include <boost/mpl/reverse.hpp> namespace hana = boost::hana; namespace mpl = boost::mpl; #if 0 // sample(error_messages-then) using xs = mpl::reverse<mpl::int_<1>>::ty...
17.92
61
0.700893
ldionne
0913d9a9dff27eb13f3f5b7d9f778012f13aa351
2,160
cpp
C++
settings.cpp
appetizerteam/SayCheesePhotoManager
f7871c1fb79f7519662f06223be822992f21363a
[ "Apache-2.0" ]
null
null
null
settings.cpp
appetizerteam/SayCheesePhotoManager
f7871c1fb79f7519662f06223be822992f21363a
[ "Apache-2.0" ]
null
null
null
settings.cpp
appetizerteam/SayCheesePhotoManager
f7871c1fb79f7519662f06223be822992f21363a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Team APPetizer * Author: Jesse Alas * * 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 applica...
36.610169
120
0.724537
appetizerteam
0913fc3173bec626b6d857c244b97c6af53c38e6
39,042
cpp
C++
src/untrusted/enclave/performance/Measurements.cpp
Artraxon/sgx-radix-hash-join
e23247fb985f621752bb8247874ca0c9f1cce0bc
[ "MIT" ]
null
null
null
src/untrusted/enclave/performance/Measurements.cpp
Artraxon/sgx-radix-hash-join
e23247fb985f621752bb8247874ca0c9f1cce0bc
[ "MIT" ]
null
null
null
src/untrusted/enclave/performance/Measurements.cpp
Artraxon/sgx-radix-hash-join
e23247fb985f621752bb8247874ca0c9f1cce0bc
[ "MIT" ]
null
null
null
/** * @author Claude Barthels <claudeb@inf.ethz.ch> * (c) 2016, ETH Zurich, Systems Group * */ #include "Measurements.h" #include "Enclave_u.h" #include <app/App.h> #define MSG_TAG_RESULTS 154895 #include <core/Configuration.h> #include <utils/Debug.h> #include <data/Tuple.h> #include <stdlib.h> #include <stdio...
41.845659
156
0.796194
Artraxon
0916667834fac18c62e03b33a201fbbb9de34f2b
4,281
cpp
C++
src/lang/Argument.cpp
qcoreteam/zendAPI
b73fed92c2327d965bd545d5e34f8157e4389a6b
[ "Apache-2.0" ]
207
2017-09-15T03:06:08.000Z
2021-12-04T10:31:45.000Z
src/lang/Argument.cpp
zzusoftboy/zendAPI
b73fed92c2327d965bd545d5e34f8157e4389a6b
[ "Apache-2.0" ]
6
2017-09-11T05:34:21.000Z
2018-03-26T13:44:00.000Z
src/lang/Argument.cpp
zzusoftboy/zendAPI
b73fed92c2327d965bd545d5e34f8157e4389a6b
[ "Apache-2.0" ]
33
2017-09-15T06:47:01.000Z
2020-07-26T02:17:21.000Z
// @copyright 2017-2018 zzu_softboy <zzu_softboy@163.com> // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE ...
25.945455
97
0.703107
qcoreteam
0920f7f128826c943e9e01c403dde27a32dbe9b7
1,229
hpp
C++
include/sprout/complex/log10.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/complex/log10.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/complex/log10.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
31.512821
79
0.637103
thinkoid
092252e814bd7a555f0215601ce80919563630bd
11,235
cpp
C++
modules/PhysiCell_various_outputs.cpp
matt-stack/PhysiCell_GPU
e1e07680b99f5c624448f2dfa607cfdbf0176c2f
[ "MIT" ]
3
2019-08-21T18:20:08.000Z
2019-09-06T18:18:54.000Z
modules/PhysiCell_various_outputs.cpp
matt-stack/PhysiCell_GPU
e1e07680b99f5c624448f2dfa607cfdbf0176c2f
[ "MIT" ]
null
null
null
modules/PhysiCell_various_outputs.cpp
matt-stack/PhysiCell_GPU
e1e07680b99f5c624448f2dfa607cfdbf0176c2f
[ "MIT" ]
2
2019-04-12T19:24:01.000Z
2020-03-14T22:53:17.000Z
/* ############################################################################### # If you use PhysiCell in your project, please cite PhysiCell and the version # # number, such as below: # # ...
55.073529
239
0.579973
matt-stack
09241b471e4dd9dc4786bd4b41f6809c68b3931a
774
hpp
C++
include/sprout/array.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/array.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/array.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
36.857143
79
0.621447
thinkoid
09249e72722845b4da44def8048b3c6fe5173a7e
759
cpp
C++
WordGenerator/main.cpp
Spheya/WordGenerator
92d992d3f1dbb230e609ce67b534aa71728c8227
[ "MIT" ]
21
2019-06-19T09:40:17.000Z
2021-09-22T10:11:50.000Z
WordGenerator/main.cpp
thobbs/WordGenerator
477c2e8a2e386be29c0832f504ceaec7ba6cba9f
[ "MIT" ]
2
2019-06-19T18:27:48.000Z
2019-06-19T23:23:31.000Z
WordGenerator/main.cpp
Spheya/WordGenerator
92d992d3f1dbb230e609ce67b534aa71728c8227
[ "MIT" ]
3
2019-06-19T16:19:28.000Z
2021-04-14T19:35:23.000Z
#include <string> #include <vector> #include <fstream> #include <iostream> #include "Generator.h" #include <iterator> #include <ctime> int main(int argc, char **argv) { Generator gen(7); std::ifstream myfile("trainingData.txt"); std::vector<std::string> names; std::copy(std::istream_iterator<std::s...
23
69
0.629776
Spheya
0925bf782849b0b04ec19881148dc3901763df6f
2,672
cpp
C++
src/libs/qlib/qdlgprog.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qdlgprog.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qdlgprog.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
1
2021-01-03T16:16:47.000Z
2021-01-03T16:16:47.000Z
/* * QProgressDialog - useful during lengthy operations * 07-01-01: Created! (based on qstrdlg.cpp) * BUGS: * (C) MarketGraph/RvG */ #include <qlib/dialog.h> #include <qlib/app.h> #include <qlib/button.h> #include <qlib/keys.h> #pragma hdrstop #include <qlib/debug.h> DEBUG_ENABLE #define BUTTON_WID 100 // Cancel...
20.875
73
0.636976
3dhater
0925dfad211ec13d7fa9a69669e13fbb332daca6
12,300
cc
C++
psdaq/psdaq/hsd/PVCtrls.cc
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/hsd/PVCtrls.cc
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/hsd/PVCtrls.cc
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "psdaq/hsd/PVCtrls.hh" #include "psdaq/hsd/Module.hh" #include "psdaq/hsd/FexCfg.hh" #include "psdaq/hsd/QABase.hh" #include "psdaq/hsd/Pgp.hh" #include "psdaq/epicstools/EpicsPVA.hh" #include "psdaq/epicstools/PvServer.hh" #include "psdaq/service/Task.hh" #include "psdaq/service/Routine.hh" #include <algorit...
33.333333
83
0.480894
AntoineDujardin
092a46829cd8d4514e055e391b3239c407c6f278
1,405
cpp
C++
HackerRankEulerProblems/20/P014_LongestCollatzSequence.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
HackerRankEulerProblems/20/P014_LongestCollatzSequence.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
HackerRankEulerProblems/20/P014_LongestCollatzSequence.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
#include "P014_LongestCollatzSequence.h" #include <iostream> uint64_t P014_LongestCollatzSequence::GetTermStep(uint64_t term) { if (term == 1) return 0; if (term_steps[term]) return term_steps[term]; uint64_t step = 0; uint64_t next_term = term; do { if (next_term & 1) next_term = next_term * 3 + 1; e...
20.362319
64
0.646975
wingkinl
092d671615dcfd45c8f15ad401beff88fe6e6332
4,868
cpp
C++
mge_v18_student_version/src/mge/scenes/TristanScene.cpp
TristanSmeets/Agent-OwO
9ee94c8fd605cdf2b2274624ef55f83e527ee472
[ "MIT" ]
null
null
null
mge_v18_student_version/src/mge/scenes/TristanScene.cpp
TristanSmeets/Agent-OwO
9ee94c8fd605cdf2b2274624ef55f83e527ee472
[ "MIT" ]
null
null
null
mge_v18_student_version/src/mge/scenes/TristanScene.cpp
TristanSmeets/Agent-OwO
9ee94c8fd605cdf2b2274624ef55f83e527ee472
[ "MIT" ]
null
null
null
#include <string> #include "glm.hpp" //Core #include "mge/core/Renderer.hpp" #include "mge/core/Mesh.hpp" #include "mge/core/World.hpp" #include "mge/core/Texture.hpp" #include "mge/core/Light.hpp" #include "mge/core/Camera.hpp" #include "mge/core/GameObject.hpp" #include "mge/core/Light.hpp" //Materials #include "mge...
32.891892
120
0.713846
TristanSmeets
09300d293fec7813e5eee7e55f9e9e4fccadfb7e
6,319
cc
C++
src/trace_processor/storage_table.cc
zakerinasab/perfetto
7f86589d1522ce8bfc59f6b569ca52496a53eb79
[ "Apache-2.0" ]
null
null
null
src/trace_processor/storage_table.cc
zakerinasab/perfetto
7f86589d1522ce8bfc59f6b569ca52496a53eb79
[ "Apache-2.0" ]
null
null
null
src/trace_processor/storage_table.cc
zakerinasab/perfetto
7f86589d1522ce8bfc59f6b569ca52496a53eb79
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31.753769
78
0.69109
zakerinasab
093171954b1a43d655f4c9fb1aacc32cdacae34b
1,073
cpp
C++
Source/Core/AS_SFML/Font.cpp
ace13/LD34
82ecda6bdd69208be1ec6d03c3eb250313c4b7d1
[ "MIT" ]
1
2017-01-05T01:55:16.000Z
2017-01-05T01:55:16.000Z
Source/Core/AS_SFML/Font.cpp
ace13/AngelscriptMP
583d481fdbef75e4d96a45eb2942a21189087c77
[ "MIT" ]
null
null
null
Source/Core/AS_SFML/Font.cpp
ace13/AngelscriptMP
583d481fdbef75e4d96a45eb2942a21189087c77
[ "MIT" ]
null
null
null
#include "Shared.hpp" #include <SFML/Graphics/Font.hpp> #if SFML_VERSION_MINOR > 1 namespace { void getFamily(asIScriptGeneric* gen) { sf::Font* font = (sf::Font*)gen->GetObject(); new (gen->GetAddressOfReturnLocation()) std::string(font->getInfo().family); } } #endif void as::priv::RegFont(asIScriptEngine* ...
33.53125
148
0.755825
ace13
0931eaca86882560b2c9af9b38227cd11a9e52ff
1,008
cpp
C++
Fields (0432).cpp
michaelarakel/acmp-solutions
56b853805854d0f0c0131c59c7a48e207c35b15f
[ "Unlicense" ]
1
2021-09-22T12:14:59.000Z
2021-09-22T12:14:59.000Z
Fields (0432).cpp
michaelarakel/acmp-solutions
56b853805854d0f0c0131c59c7a48e207c35b15f
[ "Unlicense" ]
null
null
null
Fields (0432).cpp
michaelarakel/acmp-solutions
56b853805854d0f0c0131c59c7a48e207c35b15f
[ "Unlicense" ]
null
null
null
#include <fstream> #include <deque> #include <vector> using namespace std; void bfs (vector <vector <char> >& v, int row, int col) { deque <pair <int, int> > d; d.push_back(make_pair(row, col)); while (!d.empty()) { pair <int, int> node = d[0]; d.pop_front(); const int a[] = {1, -1, 0, 0}, ...
20.16
56
0.436508
michaelarakel
09324ac0f058f1d213b1bd73a06074821bdc7495
390
cpp
C++
src/cpp_tester.cpp
kyoustat/SHT
0858531ab8b9a7a2faf5b581919a3fa38afd33af
[ "MIT" ]
3
2020-09-30T23:17:33.000Z
2021-06-06T16:19:32.000Z
src/cpp_tester.cpp
vishalbelsare/SHT
0858531ab8b9a7a2faf5b581919a3fa38afd33af
[ "MIT" ]
null
null
null
src/cpp_tester.cpp
vishalbelsare/SHT
0858531ab8b9a7a2faf5b581919a3fa38afd33af
[ "MIT" ]
2
2019-03-06T12:03:56.000Z
2021-08-11T14:45:18.000Z
#include "RcppArmadillo.h" // [[Rcpp::depends(RcppArmadillo)]] using namespace Rcpp; using namespace arma; //////////////////////////////////////// test 1. lgamma of arma : works fine // [[Rcpp::export]] arma::vec testcpp_lgamma(arma::vec x){ int n = x.n_elem; arma::vec output(n, fill::zeros); for (int i=0...
19.5
76
0.571795
kyoustat
09337a1660e953aa597aa1d29d05cbb9cbc864d8
1,182
hpp
C++
ultra/not_released/dark/cfgparser.hpp
badryasuo/UltraDark
c9f60e3a754b051db33c29129f943807c6010b9e
[ "MIT" ]
null
null
null
ultra/not_released/dark/cfgparser.hpp
badryasuo/UltraDark
c9f60e3a754b051db33c29129f943807c6010b9e
[ "MIT" ]
null
null
null
ultra/not_released/dark/cfgparser.hpp
badryasuo/UltraDark
c9f60e3a754b051db33c29129f943807c6010b9e
[ "MIT" ]
null
null
null
#ifndef DARK_PARSER #define DARK_PARSER #include "std.hpp" #include <stdlib.h> #include <fstream> #include <sstream> namespace dark { class cfgparser { private: std::ifstream file; const wchar_t * path; std::stringstream datastream; dark::str data; protected: public: cfgparser(const wchar_t * name) : pat...
20.033898
72
0.558376
badryasuo
093418209c98da3ac71566c02d72d267b745b077
16,379
cc
C++
ORC_app/jni-build/jni/include/google/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc
luoabd/EMNIST-ORC
8c2d633a9b4d5214e908550812f6a2489ba9eb72
[ "MIT" ]
42
2016-08-22T03:49:32.000Z
2020-06-29T14:00:27.000Z
ORC_app/jni-build/jni/include/google/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc
luoabd/EMNIST-ORC
8c2d633a9b4d5214e908550812f6a2489ba9eb72
[ "MIT" ]
6
2016-09-02T03:44:35.000Z
2018-11-27T13:20:36.000Z
ORC_app/jni-build/jni/include/google/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc
luoabd/EMNIST-ORC
8c2d633a9b4d5214e908550812f6a2489ba9eb72
[ "MIT" ]
12
2017-03-18T22:22:28.000Z
2020-06-19T20:54:53.000Z
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
36.972912
137
0.702546
luoabd
093474972d62594d339a7d76b21f7c90757ac57f
33,150
cpp
C++
daemon/SecretsImpl/metadatadb.cpp
mkenttala/sailfish-secrets
600ca62f76a0d537e4fefa80b6e69b77f0b3dac5
[ "BSD-3-Clause" ]
27
2017-11-02T11:18:47.000Z
2021-06-29T10:40:34.000Z
daemon/SecretsImpl/metadatadb.cpp
mkenttala/sailfish-secrets
600ca62f76a0d537e4fefa80b6e69b77f0b3dac5
[ "BSD-3-Clause" ]
149
2017-11-09T09:31:52.000Z
2021-12-24T09:27:19.000Z
daemon/SecretsImpl/metadatadb.cpp
mkenttala/sailfish-secrets
600ca62f76a0d537e4fefa80b6e69b77f0b3dac5
[ "BSD-3-Clause" ]
16
2017-11-09T08:23:22.000Z
2021-06-18T06:15:48.000Z
/* * Copyright (C) 2018 Jolla Ltd. * Contact: Chris Adams <chris.adams@jollamobile.com> * All rights reserved. * BSD 3-Clause License, see LICENSE. */ #include "metadatadb_p.h" #include "controller_p.h" using namespace Sailfish::Secrets; // arg %1 must be a 64-character hex string = 32 byte key. static const ch...
36.792453
125
0.615445
mkenttala
0936fbf8756708dd76c6540036e7e3e99a495e70
3,044
cpp
C++
src/game/client/hud_vguiscreencursor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/hud_vguiscreencursor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/hud_vguiscreencursor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "hud.h" #include "iclientmode.h" #include "hudelement.h" //#include "view.h" //#include "vgui_...
26.701754
85
0.578515
cstom4994