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
58978d72f770e83000d1e64da5889556715c6722
1,438
cpp
C++
WxHook/HookPort/NativeAPI_NTDLL.cpp
ac-km/MicroMsg
62532e184ae2fdc34ba0f711bcc4487e4d591676
[ "MIT" ]
2
2020-03-03T09:50:34.000Z
2020-04-06T13:41:01.000Z
WxHook/HookPort/NativeAPI_NTDLL.cpp
ac-km/MicroMsg
62532e184ae2fdc34ba0f711bcc4487e4d591676
[ "MIT" ]
null
null
null
WxHook/HookPort/NativeAPI_NTDLL.cpp
ac-km/MicroMsg
62532e184ae2fdc34ba0f711bcc4487e4d591676
[ "MIT" ]
3
2019-11-20T05:52:59.000Z
2020-03-03T09:50:33.000Z
#include <windows.h> #include <ntsecapi.h> #include "NativeAPI_NTDLL.h" // //NativeAPI_NTDLL Functions // NTSTATUS NTAPI RtlInitUnicodeString( PUNICODE_STRING DestinationString, PCWSTR SourceString ) { NTSTATUS ret = NULL; typedef NTSTATUS (WINAPI *lpAddFun)(PUNICODE_STRING,PCWSTR); HINSTAN...
22.46875
82
0.723227
ac-km
589aca653d9e9089414bc18f7f96e6cf51a7e013
3,083
cpp
C++
src/interface/c_fortran/wrapResourceManager.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
src/interface/c_fortran/wrapResourceManager.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
src/interface/c_fortran/wrapResourceManager.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // Created by David Beckingsale, david@llnl.gov // LLNL-CODE-747640 // // All rights reserved. // // This file is ...
37.597561
128
0.73143
nanzifan
589d44e3c6dfb3803e28c630ed848845cafbf452
8,543
cc
C++
src/drivers/devices/cuda/flowunit/normalize_v2/normalize_flowunit_test.cc
fujl/modelbox
390541a87318bb6f8a37163668b439e5387f5d9a
[ "Apache-2.0" ]
1
2021-12-16T06:53:00.000Z
2021-12-16T06:53:00.000Z
src/drivers/devices/cuda/flowunit/normalize_v2/normalize_flowunit_test.cc
fujl/modelbox
390541a87318bb6f8a37163668b439e5387f5d9a
[ "Apache-2.0" ]
null
null
null
src/drivers/devices/cuda/flowunit/normalize_v2/normalize_flowunit_test.cc
fujl/modelbox
390541a87318bb6f8a37163668b439e5387f5d9a
[ "Apache-2.0" ]
1
2021-12-03T06:19:09.000Z
2021-12-03T06:19:09.000Z
/* * Copyright 2021 The Modelbox Project Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
36.046414
213
0.648484
fujl
58a271f9275e3f6b982ab216d7fa657c2b9ff260
6,113
cpp
C++
android-31/android/net/sip/SipManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/net/sip/SipManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/net/sip/SipManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../app/PendingIntent.hpp" #include "../../content/Context.hpp" #include "../../content/Intent.hpp" #include "./SipAudioCall.hpp" #include "./SipAudioCall_Listener.hpp" #include "./SipProfile.hpp" #include "./SipSession.hpp" #include "./SipSession_Listener.hpp" #include "../../../JString.hpp" #include "./Si...
26.811404
194
0.707836
YJBeetle
58a5a73b37d63a3a39785b2a41d16047d83472c5
5,646
hh
C++
dune/gdt/local/fluxes/interfaces.hh
TiKeil/dune-gdt
25c8b987cc07a4b8b966c1a07ea21b78dba7852f
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/local/fluxes/interfaces.hh
TiKeil/dune-gdt
25c8b987cc07a4b8b966c1a07ea21b78dba7852f
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/local/fluxes/interfaces.hh
TiKeil/dune-gdt
25c8b987cc07a4b8b966c1a07ea21b78dba7852f
[ "BSD-2-Clause" ]
null
null
null
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
42.451128
119
0.712894
TiKeil
58a690aac4e2789ffa80ba900995aa0f238ec038
5,397
cp
C++
Sources_Common/i18n/IDN/CPunyCode.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Sources_Common/i18n/IDN/CPunyCode.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Sources_Common/i18n/IDN/CPunyCode.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
20.213483
76
0.575505
mulberry-mail
58a8f8ad0061350194ddbfd0437593a3d27eedd6
2,164
cpp
C++
tool_kits/ui_component/ui_kit/gui/plugins/session/session_plugin_icon.cpp
stephenzhj/NIM_PC_Demo
0d2933955e079afa5c9e4df196ee017fad6c79af
[ "BSD-2-Clause", "OpenSSL" ]
161
2016-01-24T13:55:15.000Z
2021-06-01T03:48:56.000Z
tool_kits/ui_component/ui_kit/gui/plugins/session/session_plugin_icon.cpp
stephenzhj/NIM_PC_Demo
0d2933955e079afa5c9e4df196ee017fad6c79af
[ "BSD-2-Clause", "OpenSSL" ]
49
2016-01-24T14:06:52.000Z
2021-06-01T07:14:53.000Z
tool_kits/ui_component/ui_kit/gui/plugins/session/session_plugin_icon.cpp
xiejiulong/NIM_PC_Demo
47f74270b200bb365035209c9734723f1cb7efea
[ "BSD-2-Clause", "OpenSSL" ]
140
2016-02-22T09:42:07.000Z
2021-05-26T01:15:12.000Z
#include "stdafx.h" #include "stdafx.h" #include "session_plugin_icon.h" #include "export\nim_ui_session_list_manager.h" #include "gui\main\control\custom_button_box.h" #include "module\session\session_manager.h" using namespace nim_comp; SessionPluginIcon::SessionPluginIcon() : real_option_(nullptr), label_unread_(n...
28.853333
147
0.733826
stephenzhj
58aa5d0fd55d1241d7f626d7bd9b5bd178de4535
3,713
cpp
C++
cpu_general/test.cpp
111116/shfft
e7ad335ddb36ee60b251b74c6a4c707a009bef7d
[ "MIT" ]
12
2021-12-15T14:19:06.000Z
2022-03-08T07:31:12.000Z
cpu_general/test.cpp
111116/shfft
e7ad335ddb36ee60b251b74c6a4c707a009bef7d
[ "MIT" ]
2
2021-12-15T14:17:55.000Z
2021-12-15T14:18:23.000Z
cpu_general/test.cpp
111116/shfft
e7ad335ddb36ee60b251b74c6a4c707a009bef7d
[ "MIT" ]
1
2021-12-31T16:26:31.000Z
2021-12-31T16:26:31.000Z
// Note: performance of this demo may be sub-optimal. // This program is a demonstration of computing SH products // with arbitary k value, using the divide-and-conquer strategy. To obtain // better performance, order of computation may be arranged with care, // especially for small fixed k value. #include <iostream...
29.007813
80
0.558039
111116
58aae1e3dd9a3c5d980b8936222a6f4c642cf688
3,596
hpp
C++
Server/include/rhio_server/ServerPub.hpp
ipab-slmc/RhIO
45f5440a745d5ae9b256335a78ded799d3a02d4d
[ "MIT" ]
null
null
null
Server/include/rhio_server/ServerPub.hpp
ipab-slmc/RhIO
45f5440a745d5ae9b256335a78ded799d3a02d4d
[ "MIT" ]
1
2018-12-11T18:36:07.000Z
2018-12-11T18:36:07.000Z
Server/include/rhio_server/ServerPub.hpp
ipab-slmc/RhIO
45f5440a745d5ae9b256335a78ded799d3a02d4d
[ "MIT" ]
null
null
null
#ifndef RHIO_SERVERPUB_HPP #define RHIO_SERVERPUB_HPP #include <string> #include <list> #include <mutex> #include <zmq.hpp> #include "RhIO.hpp" #include "rhio_common/LockFreeDoubleQueue.hpp" namespace RhIO { /** * ServerPub * * Implement Streaming publisher * using ZMQ network library */ class ServerPub { p...
25.503546
62
0.562848
ipab-slmc
58b406c67517d4d944aa8b8653a8a4367537a192
526
hpp
C++
experimental/Pomdog.Experimental/Particle2D/BeamBranching.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Particle2D/BeamBranching.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Particle2D/BeamBranching.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_BEAMBRANCHING_1888F4E0_HPP #define POMDOG_BEAMBRANCHING_1888F4E0_HPP #include <cstdint> #include <random> namespace Pomdog { class BeamBranching { public: std::uniform_real_distribution<flo...
20.230769
70
0.750951
bis83
58b50d96f4c43fbb3d948a9cdb59b2cd755b1e3d
44,327
cxx
C++
osprey/crayf90/sgi/cwh_expr.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/crayf90/sgi/cwh_expr.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/crayf90/sgi/cwh_expr.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2006. QLogic Corporation. All Rights Reserved. */ /* * Copyright 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of...
23.59074
112
0.588332
sharugupta
58b5fcf7ca64b4c3bbabc5434907d73f32c6a9bb
492
hpp
C++
libs/font/include/sge/font/optional_index_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/font/include/sge/font/optional_index_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/font/include/sge/font/optional_index_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_FONT_OPTIONAL_INDEX_FWD_HPP_INCLUDED #define SGE_FONT_OPTIONAL_INDEX_FWD_HPP_INCLUDED ...
24.6
65
0.745935
cpreh
58b8ad1d9513b8852205252eea4a7c3e4389899b
79,884
cpp
C++
src/game/client/tf/vgui/tf_clientscoreboard.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/tf/vgui/tf_clientscoreboard.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/tf/vgui/tf_clientscoreboard.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 <tier1/fmtstr.h> #include <vgui_controls/Label.h> #include <vgui_controls/Button.h> #include ...
33.009917
408
0.658592
cstom4994
58bf9c0faf5c6679a7b619279cd3def888b27bbb
442
hpp
C++
libs/libvodka/include/vodka/utility/move.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
1
2022-02-11T21:25:53.000Z
2022-02-11T21:25:53.000Z
libs/libvodka/include/vodka/utility/move.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
15
2021-08-21T13:41:29.000Z
2022-03-08T14:13:43.000Z
libs/libvodka/include/vodka/utility/move.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
null
null
null
// License: The Unlicense (https://unlicense.org) #pragma once #ifndef TYBL_VODKA_UTILITY_MOVE_HPP #define TYBL_VODKA_UTILITY_MOVE_HPP #include "vodka/type_traits/remove_reference.hpp" // remove_reference namespace tybl::vodka { template <typename T> constexpr auto move(T&& obj) noexcept -> remove_reference_t<T>&& {...
23.263158
69
0.773756
tybl
58c10b2a6f5f78dcad4464b1c0cc84317440f2ec
264
cpp
C++
src/main.cpp
darkwood101/snake_game
8d768ae8fd7b461f3a82c697f375de711ef7269a
[ "MIT" ]
null
null
null
src/main.cpp
darkwood101/snake_game
8d768ae8fd7b461f3a82c697f375de711ef7269a
[ "MIT" ]
3
2020-12-14T17:16:32.000Z
2020-12-25T23:43:30.000Z
src/main.cpp
darkwood101/snake_game
8d768ae8fd7b461f3a82c697f375de711ef7269a
[ "MIT" ]
1
2021-04-24T05:33:32.000Z
2021-04-24T05:33:32.000Z
#include "globals.hpp" #include "game.hpp" int main(int argc, char* argv[]) { (void) argc; (void) argv; Game game; if (game.startScreen() == globals::userExit) return 0; if (game.run() == globals::playerDead) game.gameOverScreen(); return 0; }
26.4
65
0.632576
darkwood101
58c7409d3cbfbaf7452b8a22729bce7c026dc7a9
18,344
cpp
C++
src/search_cautious.cpp
ThetaOmega01/tetris_ai_runner
4a73124c861382f5722eacbe0c7b59289b3bc8ac
[ "MIT" ]
25
2015-01-06T06:08:36.000Z
2021-12-07T13:04:13.000Z
src/search_cautious.cpp
ThetaOmega01/tetris_ai_runner
4a73124c861382f5722eacbe0c7b59289b3bc8ac
[ "MIT" ]
null
null
null
src/search_cautious.cpp
ThetaOmega01/tetris_ai_runner
4a73124c861382f5722eacbe0c7b59289b3bc8ac
[ "MIT" ]
15
2015-01-06T07:25:02.000Z
2022-01-10T07:00:11.000Z
#include "search_cautious.h" using namespace m_tetris; namespace search_cautious { void Search::init(m_tetris::TetrisContext const *context, Config const *config) { config_ = config; node_mark_.init(context->node_max()); node_mark_filtered_.init(context->node_max()); } std::v...
38.700422
158
0.350469
ThetaOmega01
58c7484f769d1e830beba56d5229665ca57f2c95
3,609
hpp
C++
libraries/client/lib.hpp
utevo/Multiprocess-filesystem
38ce2c53bd18a8946c1d01c071e5d1c0b6c1f348
[ "MIT" ]
null
null
null
libraries/client/lib.hpp
utevo/Multiprocess-filesystem
38ce2c53bd18a8946c1d01c071e5d1c0b6c1f348
[ "MIT" ]
null
null
null
libraries/client/lib.hpp
utevo/Multiprocess-filesystem
38ce2c53bd18a8946c1d01c071e5d1c0b6c1f348
[ "MIT" ]
null
null
null
#ifndef CLIENT_LIB_HPP #define CLIENT_LIB_HPP #include <map> #include "../core/utils.hpp" #include "../core/sync.hpp" #include "Handler.h" extern int test_client_lib(int x); class MFSClient { public: int error; MFSClient(); void mfs_mount(const char *path); int mfs_open(const char *name, int mode); int m...
35.732673
125
0.764755
utevo
58ce019d6e71da6563dfd3d198eae2342bfbdd2a
309
hpp
C++
include/pathfinding/MovementRequestState.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/pathfinding/MovementRequestState.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/pathfinding/MovementRequestState.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef MOVEMENTREQUESTSTATE_H_ #define MOVEMENTREQUESTSTATE_H_ #include "Types.hpp" namespace ice_engine { namespace pathfinding { enum MovementRequestState : uint32 { NONE = 0, FAILED, VALID, REQUESTING, WAITING_FOR_QUEUE, WAITING_FOR_PATH, VELOCITY, }; } } #endif /* MOVEMENTREQUESTSTATE_H_ */
11.884615
36
0.76699
icebreakersentertainment
58cf8d113bd949ed2e1863a0645a6b3ab46dccc6
738
cpp
C++
luogu/P1085.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
luogu/P1085.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
luogu/P1085.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <ctime> using namespace std; //========================================== const int maxn = 1e5+5; signed main(signed argc, char const *argv[]) { #ifdef LOCAL freopen("in.in", "r", stdin); freopen("out.out", "w", stdout); clock_t c1 = clock(); #endif ios::sync_with_stdio(fals...
21.705882
57
0.411924
StableAgOH
58d3740afaf64e9fefab4abc7aeaa106a53e7660
5,914
cpp
C++
Examples/DNSResolver/main.cpp
NUS-SNL/PcapPlusPlus
79ce861c373e7f4e029552fe8df52f2663c879f0
[ "Unlicense" ]
1,856
2015-01-08T21:43:04.000Z
2022-03-30T05:36:25.000Z
Examples/DNSResolver/main.cpp
NUS-SNL/PcapPlusPlus
79ce861c373e7f4e029552fe8df52f2663c879f0
[ "Unlicense" ]
604
2015-01-05T22:31:11.000Z
2022-03-31T16:22:39.000Z
Examples/DNSResolver/main.cpp
NUS-SNL/PcapPlusPlus
79ce861c373e7f4e029552fe8df52f2663c879f0
[ "Unlicense" ]
537
2015-06-27T09:14:39.000Z
2022-03-25T15:35:30.000Z
#include <stdlib.h> #include <iostream> #include "PcapPlusPlusVersion.h" #include "PcapLiveDevice.h" #include "PcapLiveDeviceList.h" #include "NetworkUtils.h" #include "SystemUtils.h" #include <getopt.h> #define EXIT_WITH_ERROR(reason) do { \ printUsage(); \ std::cout << std::endl << "ERROR: " << reason...
28.432692
164
0.603652
NUS-SNL
58d8a79da13c5ec0220aaac699c146ab9d5c75cb
31,289
cpp
C++
fpdfsdk/src/pdfwindow/PWL_Edit.cpp
chenjian-rits/pdfium
aafeff816e22c1333c17d8a0eb4fe8927c28142d
[ "BSD-3-Clause" ]
44
2016-03-10T11:51:17.000Z
2022-03-07T07:46:09.000Z
fpdfsdk/src/pdfwindow/PWL_Edit.cpp
chenjian-rits/pdfium
aafeff816e22c1333c17d8a0eb4fe8927c28142d
[ "BSD-3-Clause" ]
3
2015-09-04T14:35:49.000Z
2019-10-29T19:00:30.000Z
fpdfsdk/src/pdfwindow/PWL_Edit.cpp
chenjian-rits/pdfium
aafeff816e22c1333c17d8a0eb4fe8927c28142d
[ "BSD-3-Clause" ]
40
2016-04-15T01:49:35.000Z
2022-02-25T01:36:34.000Z
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../../core/include/fxcrt/fx_safe_types.h" #include "../../../core...
23.739757
149
0.704561
chenjian-rits
58d8f647e41f93976a4ff62938e18e0ab2c85b31
1,711
hh
C++
src/mmutil_python_index.hh
YPARK/mmutil
21729fc50ac4cefff58c1b71e8c5740d2045b111
[ "MIT" ]
null
null
null
src/mmutil_python_index.hh
YPARK/mmutil
21729fc50ac4cefff58c1b71e8c5740d2045b111
[ "MIT" ]
null
null
null
src/mmutil_python_index.hh
YPARK/mmutil
21729fc50ac4cefff58c1b71e8c5740d2045b111
[ "MIT" ]
null
null
null
#include "mmutil.hh" #include "mmutil_util.hh" #include "mmutil_index.hh" #include "utils/bgzstream.hh" #include "mmutil_python.hh" #ifndef MMUTIL_PYTHON_INDEX_HH_ #define MMUTIL_PYTHON_INDEX_HH_ const char *_build_index_desc = "Build an auxiliary column indexing file for fast access for .mtx.gz\n" "\n" "...
26.323077
77
0.524255
YPARK
58dc9e2f02a5eb6ac3d530df7916882663e0b1e7
3,333
cpp
C++
def/Seasonal/Animation_Seasonal_Weather.cpp
MikaylaFischler/dorm-leds
d5edd7b1d8ba1bc76e13c2ee37cb4f9b1d272d9b
[ "MIT" ]
2
2018-10-03T05:40:00.000Z
2018-12-07T00:39:03.000Z
def/Seasonal/Animation_Seasonal_Weather.cpp
MikaylaFischler/dorm-leds
d5edd7b1d8ba1bc76e13c2ee37cb4f9b1d272d9b
[ "MIT" ]
5
2017-09-02T03:57:24.000Z
2018-01-14T17:52:15.000Z
def/Seasonal/Animation_Seasonal_Weather.cpp
MikaylaFischler/dorm-leds
d5edd7b1d8ba1bc76e13c2ee37cb4f9b1d272d9b
[ "MIT" ]
null
null
null
#include "Animation_Seasonal.hpp" /* ~~~~~ PRECIPITATION ~~~~~ */ void Animation_Seasonal_Indiv_Weather::precipitation_init(int update_rate) { Animation_Seasonal_Indiv::init(); this->update_rate = update_rate; i = 0; randomized_spacing = false; left_spacing = 0; right_spacing = 0; } void Animation_Seasonal_I...
25.837209
118
0.727573
MikaylaFischler
58dd5d4a09ae227d7352ac02427355dc04625df2
2,439
cpp
C++
Dynamic Programming/221. Maximal Square/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Dynamic Programming/221. Maximal Square/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Dynamic Programming/221. Maximal Square/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 221. Maximal Square // // Created by 边俊林 on 2019/8/26. // Copyright © 2019 Minecode.Link. All rights reserved. // /* ------------------------------------------------------ *\ https://leetcode.com/problems/maximal-square/ \* ------------------------------------------------------ */ #include <map...
27.715909
84
0.430914
Minecodecraft
58ddff17a3b61750e7e6cdf7a6fe63d82c45eea8
1,721
cpp
C++
tests/pipeline_compiler/Test_ComputeLocalSize1.cpp
ayberkgerey5/FrameGraphx
cefc587529305ffdba35a4faa06a9e7c10accbe2
[ "BSD-2-Clause" ]
362
2018-10-14T04:03:50.000Z
2022-03-26T23:45:06.000Z
tests/pipeline_compiler/Test_ComputeLocalSize1.cpp
loopunit/FrameGraph
1359143284a135542ace8b851db78521f2800cc3
[ "BSD-2-Clause" ]
18
2019-05-25T13:43:53.000Z
2021-03-22T18:12:18.000Z
tests/pipeline_compiler/Test_ComputeLocalSize1.cpp
loopunit/FrameGraph
1359143284a135542ace8b851db78521f2800cc3
[ "BSD-2-Clause" ]
39
2019-03-04T05:47:11.000Z
2022-02-04T14:32:39.000Z
// Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE' #include "Utils.h" extern void Test_ComputeLocalSize1 (VPipelineCompiler* compiler) { ComputePipelineDesc ppln; ppln.AddShader( EShaderLangFormat::GLSL_450, "main", R"#( #pragma shader_stage(compute) #extension GL_ARB_separate_shader_...
30.192982
178
0.732132
ayberkgerey5
58e7898083ebd61cc89744be82a0b8e97f4bc4cc
2,133
cpp
C++
src/reflection/runner.cpp
maxdebayser/SelfPortra
f2817e19d4e00d7a18075b8d876fc710390821eb
[ "MIT" ]
5
2015-03-27T15:57:19.000Z
2021-02-07T23:42:45.000Z
src/reflection/runner.cpp
maxdebayser/SelfPortra
f2817e19d4e00d7a18075b8d876fc710390821eb
[ "MIT" ]
null
null
null
src/reflection/runner.cpp
maxdebayser/SelfPortra
f2817e19d4e00d7a18075b8d876fc710390821eb
[ "MIT" ]
2
2015-04-27T04:19:42.000Z
2016-11-25T18:36:59.000Z
/* Generated file, do not edit */ #ifndef CXXTEST_RUNNING #define CXXTEST_RUNNING #endif #define _CXXTEST_HAVE_STD #define _CXXTEST_HAVE_EH #include <cxxtest/TestListener.h> #include <cxxtest/TestTracker.h> #include <cxxtest/TestRunner.h> #include <cxxtest/RealDescriptions.h> #include <cxxtest/TestMain.h> #include <c...
42.66
175
0.823722
maxdebayser
58e9c2fcacff9332941bf3737d1989210f27160a
9,005
cpp
C++
camera/QCamera2/HAL3/test/QCameraHAL3VideoTest.cpp
derp-sdm660-common/device_asus_sdm660-common
f3106f346f4362859ab24d73428131ff916741e0
[ "Apache-2.0" ]
2
2021-06-12T11:18:28.000Z
2021-06-22T20:53:12.000Z
camera/QCamera2/HAL3/test/QCameraHAL3VideoTest.cpp
derp-sdm660-common/device_asus_sdm660-common
f3106f346f4362859ab24d73428131ff916741e0
[ "Apache-2.0" ]
null
null
null
camera/QCamera2/HAL3/test/QCameraHAL3VideoTest.cpp
derp-sdm660-common/device_asus_sdm660-common
f3106f346f4362859ab24d73428131ff916741e0
[ "Apache-2.0" ]
5
2020-09-29T14:15:31.000Z
2021-11-06T23:21:39.000Z
/* Copyright (c) 2016, The Linux Foundation. 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 con...
38.319149
97
0.687396
derp-sdm660-common
58ec3ab0db0df64cc3e6121ec015507661a09c8b
2,043
cpp
C++
cs224/prog1/bridgesim.cpp
sankalpgambhir/fall2021
955bbe47e547860219920e8090076b2b4bdc3a58
[ "WTFPL" ]
null
null
null
cs224/prog1/bridgesim.cpp
sankalpgambhir/fall2021
955bbe47e547860219920e8090076b2b4bdc3a58
[ "WTFPL" ]
null
null
null
cs224/prog1/bridgesim.cpp
sankalpgambhir/fall2021
955bbe47e547860219920e8090076b2b4bdc3a58
[ "WTFPL" ]
null
null
null
// bridgesim.cpp // function definitions for the network #include "bridgesim.h" // construction // constructor Network::Network(std::ostream& inlog = std::clog) : log (inlog){ // initialise nodes for(int i = 0; i < 26; i++){ nodes.emplace_back(i); } return; } // access and...
19.273585
83
0.545277
sankalpgambhir
58ed0421a1ccc3bfbdb42b9991f4c83d4bcb0ca7
1,255
cpp
C++
Upsolving/URI/2486.cpp
rodrigoAMF7/Notebook---Maratonas
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
4
2019-01-25T21:22:55.000Z
2019-03-20T18:04:01.000Z
Upsolving/URI/2486.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
Upsolving/URI/2486.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF 0x3F3F3F3F #define LINF 0x3F3F3F3F3F3F3F3FLL #define DINF (double)1e+30 #define forn(i, n) for ( int i = 0; i < (n); ++i ) #define forxn(i, x, n) for ( int i = (x); i < (n); ++i ) #define forr(i, a, b) for ( int i = (a); i <= (b); ++i ) #define ford(i, a, b) for ( int i = (a); i >...
22.017544
56
0.549004
rodrigoAMF7
58edd9fc431c5f3b2bc5c43bfe51090b6d2f78dd
4,446
cpp
C++
src/timelineDecoder/TimelineCaptureCommandHandler.cpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
src/timelineDecoder/TimelineCaptureCommandHandler.cpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
src/timelineDecoder/TimelineCaptureCommandHandler.cpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
// // Copyright © 2019 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "TimelineCaptureCommandHandler.hpp" #include <string> #include <armnn/Logging.hpp> namespace armnn { namespace timelinedecoder { //Array of member functions, the array index matches the decl_id const TimelineCaptureComm...
29.838926
105
0.710301
muthukumaravel7
58f14bf464dd9ce725b30a2ae86fe65f6f636d1f
1,678
cpp
C++
mod.cpp
johnb432/TFAR-ACE-Setter-Extended
dc91aac52eab33411d575a4a2447306f6ac5defe
[ "MIT" ]
null
null
null
mod.cpp
johnb432/TFAR-ACE-Setter-Extended
dc91aac52eab33411d575a4a2447306f6ac5defe
[ "MIT" ]
null
null
null
mod.cpp
johnb432/TFAR-ACE-Setter-Extended
dc91aac52eab33411d575a4a2447306f6ac5defe
[ "MIT" ]
null
null
null
// Name name = "TFAR - ACE Radio Setter - Extended"; // Author author = "johnb43"; // Tool tip on mouse hover tooltip = "TFAR - ACE Radio Setter - Extended"; // Tool tip displayed when the mouse is left over, in the main menu tooltipOwned = "TFAR - ACE Radio Setter - Extended"; // Hide the extension name hideName = 0; ...
54.129032
165
0.771752
johnb432
58f555ed05a6cb6a088a791bcbcd5b13fd13c733
7,056
cpp
C++
src/lic.cpp
rubenvanstaden/Magix
0b45955d98a57b15b021e3d2e99698972f874a2d
[ "CECILL-B" ]
null
null
null
src/lic.cpp
rubenvanstaden/Magix
0b45955d98a57b15b021e3d2e99698972f874a2d
[ "CECILL-B" ]
null
null
null
src/lic.cpp
rubenvanstaden/Magix
0b45955d98a57b15b021e3d2e99698972f874a2d
[ "CECILL-B" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <iostream> #include "sys.h" #include <time.h> #include "grid.h" #include <armadillo> using namespace std; double compute_convolution_normal(System *sys, double *pNoise, Node *C) { double sum = 0; for (int i = 1; i < 2 * sys->len; i++) { ...
24.5
94
0.447279
rubenvanstaden
58f86bb53b9367be29ef0d369222fdb5611a35c9
177
cpp
C++
src/solutions/48.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
src/solutions/48.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
src/solutions/48.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> typedef short s; typedef unsigned short us; typedef unsigned int ui; typedef unsigned long ul; using namespace std; int main() { }
12.642857
26
0.723164
bshankar
58f881a44f05bfdbed968b962659ca2ac3563922
3,580
cpp
C++
sources/lowlevelcom/transport_i2c.cpp
lukier/misccpp
bf557404be271b83310d636ce8ac9f5747e50fc7
[ "BSD-3-Clause" ]
1
2017-06-01T09:18:19.000Z
2017-06-01T09:18:19.000Z
sources/lowlevelcom/transport_i2c.cpp
lukier/misccpp
bf557404be271b83310d636ce8ac9f5747e50fc7
[ "BSD-3-Clause" ]
null
null
null
sources/lowlevelcom/transport_i2c.cpp
lukier/misccpp
bf557404be271b83310d636ce8ac9f5747e50fc7
[ "BSD-3-Clause" ]
null
null
null
/** * **************************************************************************** * Copyright (c) 2017, Robert Lukierski. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributi...
35.8
124
0.681285
lukier
58f8c273b4f96a22b5a617c1d24dc3dfaa5c22b5
567
cpp
C++
cph/examples/uart_async.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
cph/examples/uart_async.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
cph/examples/uart_async.cpp
Loggi-pro/cph-lib
4109dd1d3cc780c9f76aa54c2322bbdcbfdfea67
[ "MIT" ]
null
null
null
#include <cph/basic_usart.h> #include <void/interrupt.h> typedef cph::UsartAsync<cph::Usart0> Usart; extern "C" { VOID_ISR(CPH_INT_USART0_RXC) { Usart::Hardware::IntRxHandler(); } VOID_ISR(CPH_INT_USART0_TXE) { Usart::Hardware::IntTxEmptyHandler(); } } int main(void) { Usart::init<19200>(); Usart::setOnR...
17.181818
53
0.663139
Loggi-pro
58ff6618024fd9b8cd7c72bcae3120514be8512d
7,775
cpp
C++
source/sema/overload_resolution.cpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
51
2019-05-06T01:33:34.000Z
2021-11-17T11:44:54.000Z
source/sema/overload_resolution.cpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
191
2019-05-06T18:31:24.000Z
2020-06-19T06:48:06.000Z
source/sema/overload_resolution.cpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
3
2019-10-12T21:03:29.000Z
2020-06-19T06:22:25.000Z
#include "sema/overload_resolution.hpp" #include "common/overloaded.hpp" #include "errors/error.hpp" #include "errors/errors_observer.hpp" #include "overload_resolution.hpp" #include "sema/failed_initialization_errors_reporters.hpp" #include "sema/sema_function.hpp" #include "sema/sema_nodes.hpp" #include "sema/variabl...
31.734694
79
0.715498
stryku
450020d8ab50f1587afd6c825baa15c4feb3be48
278
cpp
C++
src/gameworld/gameworld/global/randactivity/impl/randactivitysinglecharge.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/global/randactivity/impl/randactivitysinglecharge.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/global/randactivity/impl/randactivitysinglecharge.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "randactivitysinglecharge.hpp" RandActivitySingleCharge::RandActivitySingleCharge(RandActivityManager *rand_activity_manager) : RandActivity(rand_activity_manager, RAND_ACTIVITY_TYPE_SINGLE_CHARGE) { } RandActivitySingleCharge::~RandActivitySingleCharge() { }
15.444444
94
0.845324
mage-game
45044bc7a1972b638fa351a36004ec18579eb82a
4,812
cc
C++
Simulation/OMNeT++/inet/src/inet/common/geometry/common/CoordinateSystem.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
1
2017-03-13T15:51:22.000Z
2017-03-13T15:51:22.000Z
Simulation/OMNeT++/inet/src/inet/common/geometry/common/CoordinateSystem.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
null
null
null
Simulation/OMNeT++/inet/src/inet/common/geometry/common/CoordinateSystem.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
null
null
null
// // Copyright (C) 2013 OpenSim Ltd. // // This program 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 version 2 // of the License, or (at your option) any later version. // // This program i...
46.718447
183
0.764131
StarStuffSteve
450b166cf90e2b1949aefc914880034459f7f1fe
643
cpp
C++
mp_intro/cs225/HSLAPixel.cpp
keelimepi/CS225
a98871095cc2d488c646a72acd2c28aceb2b3ae7
[ "AFL-1.1" ]
null
null
null
mp_intro/cs225/HSLAPixel.cpp
keelimepi/CS225
a98871095cc2d488c646a72acd2c28aceb2b3ae7
[ "AFL-1.1" ]
null
null
null
mp_intro/cs225/HSLAPixel.cpp
keelimepi/CS225
a98871095cc2d488c646a72acd2c28aceb2b3ae7
[ "AFL-1.1" ]
null
null
null
/** * @file HSLAPixel.cpp * Implementation of the HSLAPixel class for use in with the PNG library. * * @author CS 225: Data Structures * @version 2018r1-lab1 */ #include "HSLAPixel.h" #include <cmath> #include <iostream> using namespace std; namespace cs225 { HSLAPixel::HSLAPixel(){ h = 0; l = 1; ...
18.911765
87
0.625194
keelimepi
45130662f9cba5a329e71c7b0d40202f24cf49e4
1,227
hpp
C++
source/plc/include/document/BINARY_ARITHMETIC_OP.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/BINARY_ARITHMETIC_OP.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/BINARY_ARITHMETIC_OP.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #ifndef INCLUDED_BINARY_ARITHMETIC_OP_HPP #define INCLUDED_BINARY_ARITHMETIC_OP_HPP #include <optional> #include <variant> #include <vector> #include "erased.hpp" #include "parlex/detail/abstract_syntax_tree.hpp" #include "parlex/detail/builtins.hpp" #include...
22.722222
109
0.804401
dlin172
451627b81473489b5c8e9bf72a7fd7d0ddc69ae6
155
cpp
C++
Source/VRCode/VRCodeGameModeBase.cpp
sclark39/UE-Virtual-Reality-Code-Sample
a4c6a4b414cf0649c445e0ba53778ea8a776820c
[ "MIT" ]
32
2017-05-03T05:33:31.000Z
2020-11-07T17:46:13.000Z
Source/VRCode/VRCodeGameModeBase.cpp
sclark39/UE-Virtual-Reality-Code-Sample
a4c6a4b414cf0649c445e0ba53778ea8a776820c
[ "MIT" ]
7
2017-05-03T17:26:54.000Z
2018-03-25T23:02:02.000Z
Source/VRCode/VRCodeGameModeBase.cpp
sclark39/UE-Virtual-Reality-Code-Sample
a4c6a4b414cf0649c445e0ba53778ea8a776820c
[ "MIT" ]
9
2017-05-03T06:12:58.000Z
2022-01-22T18:00:35.000Z
/* * Author: Skyler Clark (@sclark39) * Website: http://skylerclark.com * License: MIT License */ #include "VRCode.h" #include "VRCodeGameModeBase.h"
11.923077
34
0.690323
sclark39
93251fe2f445ac805be3454f514f7283cb729983
8,551
cpp
C++
lib/src/MOLAMRTimeDependent/AMRLevelConsFactory.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/MOLAMRTimeDependent/AMRLevelConsFactory.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/MOLAMRTimeDependent/AMRLevelConsFactory.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T19:06:43.000Z
2021-04-13T19:06:43.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "AMRLevel.H" #include "AMRLevelCons.H" #include "AMRLevelConsFactory...
27.407051
79
0.561689
rmrsk
932a023700420b9dde9e593e73469422d9f64e43
13,732
cpp
C++
src/ORB_feature.cpp
Bonoy0328/robot_description
288af718fecf7122e35eb0cb8fead15fa72ca5e3
[ "Apache-2.0" ]
null
null
null
src/ORB_feature.cpp
Bonoy0328/robot_description
288af718fecf7122e35eb0cb8fead15fa72ca5e3
[ "Apache-2.0" ]
null
null
null
src/ORB_feature.cpp
Bonoy0328/robot_description
288af718fecf7122e35eb0cb8fead15fa72ca5e3
[ "Apache-2.0" ]
null
null
null
#include "ros/ros.h" // 话题同步处理 #include "message_filters/subscriber.h" #include "message_filters/synchronizer.h" #include "message_filters/sync_policies/approximate_time.h" // opencv接口 #include "cv_bridge/cv_bridge.h" #include "image_transport/image_transport.h" #include "opencv2/highgui/highgui.hpp" #include "opencv...
37.519126
129
0.627585
Bonoy0328
932bed2ac49b9b94d4292ffefbac823692b46436
12,561
cpp
C++
src/core/ItemModelLeftovers_forFuture.cpp
varunamachi/tanyatu
ce055e0fb0b688054fe19ef39b09a6ca655e2457
[ "MIT" ]
1
2018-01-07T18:11:04.000Z
2018-01-07T18:11:04.000Z
src/core/ItemModelLeftovers_forFuture.cpp
varunamachi/tanyatu
ce055e0fb0b688054fe19ef39b09a6ca655e2457
[ "MIT" ]
null
null
null
src/core/ItemModelLeftovers_forFuture.cpp
varunamachi/tanyatu
ce055e0fb0b688054fe19ef39b09a6ca655e2457
[ "MIT" ]
null
null
null
// __START__( IAudioLibrary ) int StandardAudioLibrary::rowCount( const QModelIndex &parent ) const { Q_UNUSED( parent ); return m_itemList->size(); } int StandardAudioLibrary::columnCount( const QModelIndex &parent ) const { Q_UNUSED( parent ); return 5; } QVariant StandardAudioLibrary::data( co...
27.667401
80
0.537616
varunamachi
932d4d99a4ff68d871ba1aa7c6a279d610f38b9f
5,956
cpp
C++
cpp/src/tests/nvgraph_plugin/nvgraph_gdf_louvain.cpp
rgsl888prabhu/cugraph
e030a2fe22ad308fba05d6146765a3c9aa865e5b
[ "Apache-2.0" ]
null
null
null
cpp/src/tests/nvgraph_plugin/nvgraph_gdf_louvain.cpp
rgsl888prabhu/cugraph
e030a2fe22ad308fba05d6146765a3c9aa865e5b
[ "Apache-2.0" ]
null
null
null
cpp/src/tests/nvgraph_plugin/nvgraph_gdf_louvain.cpp
rgsl888prabhu/cugraph
e030a2fe22ad308fba05d6146765a3c9aa865e5b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this softwar...
42.542857
280
0.62861
rgsl888prabhu
932f81318ce3f932974860c14b7dc9a2e378e310
979
cpp
C++
server/Common/Packets/GCExchangeSynchLock.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Common/Packets/GCExchangeSynchLock.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Common/Packets/GCExchangeSynchLock.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" // GCExchangeSynchLock.cpp // ///////////////////////////////////////////////////// #include "GCExchangeSynchLock.h" BOOL GCExchangeSynchLock::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_IsBoth), sizeof(BYTE)); iStream.Read( (CHAR*)(&m_IsMyself), s...
19.979592
69
0.636364
viticm
9333a36a47e1f07b434bdf818712e6c7d76e51a8
970
cpp
C++
DECypher_app/file_io.cpp
RealKC/HN_DECutils
d4baa7c66b4ad4810a18858ff45d8d5c4f6b94fb
[ "MIT" ]
null
null
null
DECypher_app/file_io.cpp
RealKC/HN_DECutils
d4baa7c66b4ad4810a18858ff45d8d5c4f6b94fb
[ "MIT" ]
1
2019-02-09T19:28:00.000Z
2019-02-09T19:29:35.000Z
DECypher_app/file_io.cpp
RealKC/HN_DECutils
d4baa7c66b4ad4810a18858ff45d8d5c4f6b94fb
[ "MIT" ]
1
2019-02-06T19:22:05.000Z
2019-02-06T19:22:05.000Z
#include <numeric> #include <string> #include "file_io.hpp" namespace DECypher { // This function was created using a bunch of stackoverflow posts // Please help improve it // Some of the SO posts I used are // https://stackoverflow.com/questions/116038/what-is-the-best-way-to-read-an-entire-file-into-a-stdstring-in...
28.529412
111
0.66701
RealKC
9335ba90bd5153ac4ee7261ae3a47225aeb4653b
1,237
hpp
C++
Pods/Realm/include/core/realm/util/misc_errors.hpp
Jethro87/DevSwitch
0ff977fb0e1225b58304e2b46ddb129abc5b9fbe
[ "MIT" ]
1,562
2020-08-19T00:30:37.000Z
2022-03-31T15:15:22.000Z
Pods/Realm/include/core/realm/util/misc_errors.hpp
Jethro87/DevSwitch
0ff977fb0e1225b58304e2b46ddb129abc5b9fbe
[ "MIT" ]
2,265
2016-09-27T13:01:26.000Z
2022-03-31T17:55:37.000Z
Pods/Realm/include/core/realm/util/misc_errors.hpp
Jethro87/DevSwitch
0ff977fb0e1225b58304e2b46ddb129abc5b9fbe
[ "MIT" ]
330
2015-04-18T07:35:28.000Z
2022-01-05T07:26:10.000Z
/************************************************************************* * * Copyright 2016 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
24.74
76
0.650768
Jethro87
93378fb8ae4fb83dff0f6d027a152ecdb2d0a69e
279
hpp
C++
APairOfSquares.hpp
ThePythonator/A-Pair-Of-Squares-32blit
d49866575c8b2a619ed0db07d09a538c10f76a4b
[ "MIT" ]
null
null
null
APairOfSquares.hpp
ThePythonator/A-Pair-Of-Squares-32blit
d49866575c8b2a619ed0db07d09a538c10f76a4b
[ "MIT" ]
null
null
null
APairOfSquares.hpp
ThePythonator/A-Pair-Of-Squares-32blit
d49866575c8b2a619ed0db07d09a538c10f76a4b
[ "MIT" ]
null
null
null
#pragma once #include "engine/api.hpp" //#include "engine/engine.hpp" //#include "engine/input.hpp" //#include "engine/save.hpp" //#include "engine/version.hpp" //#include "graphics/sprite.hpp" //#include "graphics/color.hpp" #include "Game.hpp" //#include "InputManager.hpp"
19.928571
32
0.709677
ThePythonator
933a87887f64e5c02346fa3b08f4a88c3599d938
17,961
cpp
C++
engine/source/core/memory/details/memory.cpp
JasonYui/PolarisEngine
5c96b8171fb1e7d07e6a68058664467940af4558
[ "MIT" ]
null
null
null
engine/source/core/memory/details/memory.cpp
JasonYui/PolarisEngine
5c96b8171fb1e7d07e6a68058664467940af4558
[ "MIT" ]
null
null
null
engine/source/core/memory/details/memory.cpp
JasonYui/PolarisEngine
5c96b8171fb1e7d07e6a68058664467940af4558
[ "MIT" ]
null
null
null
//#include "precompiled_core.hpp" #include "core_minimal_private.hpp" #include "memory/memory.hpp" #include "memory/malloc_interface.hpp" #include "math/limit.hpp" namespace Engine { IMalloc* GMalloc = nullptr; void* Memory::Malloc(size_t size) { return Malloc(size, PlatformMemory::GetDefaultAlign...
55.953271
304
0.641668
JasonYui
933e7c8d7b43f911ce23c789087716dc49a63d19
2,276
cpp
C++
Tree/ConstructBinaryTreeFromPreorderAndInorderTraversal/ConstructBinaryTreeFromPreorderAndInorderTraversal.cpp
yijingbai/LeetCode
6ae6dbdf3a720b4206323401a0ed16ac2066031e
[ "MIT" ]
2
2015-08-28T03:52:05.000Z
2015-09-03T09:54:40.000Z
Tree/ConstructBinaryTreeFromPreorderAndInorderTraversal/ConstructBinaryTreeFromPreorderAndInorderTraversal.cpp
yijingbai/LeetCode
6ae6dbdf3a720b4206323401a0ed16ac2066031e
[ "MIT" ]
null
null
null
Tree/ConstructBinaryTreeFromPreorderAndInorderTraversal/ConstructBinaryTreeFromPreorderAndInorderTraversal.cpp
yijingbai/LeetCode
6ae6dbdf3a720b4206323401a0ed16ac2066031e
[ "MIT" ]
null
null
null
// Source : https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ // Author : Yijing Bai // Date : 2016-01-01 /********************************************************************************** * * Given preorder and inorder traversal of a tree, construct the binary tree. * * N...
26.16092
119
0.585677
yijingbai
93410172157ce99aa4b604bb0640d9811cf8ae6a
1,516
cc
C++
build/x86/cpu/DummyChecker.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/cpu/DummyChecker.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/cpu/DummyChecker.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_DummyChecker[] = { 120,156,181,80,77,75,196,48,16,157,180,107,209,197,131,7, 127,128,39,169,66,27,191,122,16,68,196,21,188,137,180,122, 112,47,161,38,217,166,216,116,75,63,96,123,214,255,173,51, 237,22,253,3,14,201,227,101,50,153,247,50,...
42.111111
78
0.677441
billionshang
9344e65bdf387620b1774ab4f4974511557a71c9
1,473
cpp
C++
Codeforces/1000~1999/1196/F.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1000~1999/1196/F.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1000~1999/1196/F.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> #include <queue> #include <unordered_map> typedef long long ll; typedef std::pair<int, int> pii; const int N = 2e3 + 32, M = 1e6 + 64; struct ed { int x, y, z; bool operator<(const ed& r) const { return z < r.z; } } e2[M << 1]; struct edge { int to, next, ...
23.380952
76
0.508486
tiger0132
9346b731299c8033c88f03cf38fff58aec75ceb8
4,074
cpp
C++
geometry/StarOBJ.cpp
sunglab/StarEngine
fa14be7c74ef09d4ffbc2c31b5790befd414f2d6
[ "MIT", "Unlicense" ]
32
2016-12-29T22:32:40.000Z
2021-07-09T01:59:19.000Z
geometry/StarOBJ.cpp
sunglab/StarEngine
fa14be7c74ef09d4ffbc2c31b5790befd414f2d6
[ "MIT", "Unlicense" ]
1
2018-03-15T09:09:16.000Z
2019-02-12T02:13:55.000Z
geometry/StarOBJ.cpp
sunglab/StarEngine
fa14be7c74ef09d4ffbc2c31b5790befd414f2d6
[ "MIT", "Unlicense" ]
11
2016-12-29T22:36:30.000Z
2022-01-25T11:30:22.000Z
// // StarOBJ.cpp // // Created by Sungwoo Choi on 7/30/15. // Copyright (c) 2015 SungLab. All rights reserved. // #include "StarOBJ.h" // //#include <boost/tokenizer.hpp> #include <string> #include "../StarMain.h" using namespace std; //using namespace boost; StarOBJ::StarOBJ(const string& path, vector<Vec3>& po...
28.096552
162
0.485027
sunglab
93482637ad784c79b112e7afa699eba44519fa07
916
cpp
C++
GeoWars/Battery.cpp
ShaunKarran/PEESSP-Game1
997e53580aff680263fe15152f1dd8ea0538d663
[ "MIT" ]
null
null
null
GeoWars/Battery.cpp
ShaunKarran/PEESSP-Game1
997e53580aff680263fe15152f1dd8ea0538d663
[ "MIT" ]
null
null
null
GeoWars/Battery.cpp
ShaunKarran/PEESSP-Game1
997e53580aff680263fe15152f1dd8ea0538d663
[ "MIT" ]
null
null
null
#include <WProgram.h> #include "Battery.h" #include "sprites.h" Battery::Battery() { this->pin = A3; lcd = new LCD_HY28B(LCD_RST, LCD_BL_CTRL); } Battery::Battery(uint8_t pin) { this->pin = pin; } double Battery::MilliVoltage() { uint16_t analogResult = analogRead(pin); double voltage = ((analogResult * VREF) /...
19.913043
95
0.689956
ShaunKarran
934a8508a5f8aed0ed69b449660d306725483f5b
2,615
cpp
C++
Source/moja.flint/src/operationstockublas.cpp
moja-global/flint
2c65c5808d908247ce8ee4d9f87f11c7dd57794e
[ "BSL-1.0" ]
null
null
null
Source/moja.flint/src/operationstockublas.cpp
moja-global/flint
2c65c5808d908247ce8ee4d9f87f11c7dd57794e
[ "BSL-1.0" ]
1
2020-07-12T11:30:00.000Z
2020-07-18T14:50:16.000Z
Source/moja.flint/src/operationstockublas.cpp
moja-global/flint
2c65c5808d908247ce8ee4d9f87f11c7dd57794e
[ "BSL-1.0" ]
null
null
null
#include "moja/flint/operationstockublas.h" #include "moja/flint/ipool.h" #include "moja/flint/operationmanagerublas.h" #include "moja/flint/operationresultublas.h" namespace moja { namespace flint { // -------------------------------------------------------------------------------------------- StockOperat...
36.830986
117
0.547228
moja-global
93590b3d613fd2490653ab134b87763d07a653e9
594
hpp
C++
Glitter/Headers/SpriteRenderer.hpp
haolly/Breakout
19606c2c0308d87833c40e87b62fa350d716660f
[ "MIT", "Unlicense" ]
null
null
null
Glitter/Headers/SpriteRenderer.hpp
haolly/Breakout
19606c2c0308d87833c40e87b62fa350d716660f
[ "MIT", "Unlicense" ]
null
null
null
Glitter/Headers/SpriteRenderer.hpp
haolly/Breakout
19606c2c0308d87833c40e87b62fa350d716660f
[ "MIT", "Unlicense" ]
null
null
null
// // Created by liuhao on 2018/9/28. // #ifndef GLITTER_SPRITERENDERER_HPP #define GLITTER_SPRITERENDERER_HPP #include <glm/vec2.hpp> #include <glad/glad.h> #include <glm/vec3.hpp> #include "Shader.hpp" #include "Texture2D.hpp" class SpriteRenderer { public: SpriteRenderer(const Shader& shader); ~SpriteRenderer(...
18
121
0.73064
haolly
935a6f0307f5d876da5cac3610ac2d33a5638f9b
4,200
hpp
C++
stdlib/Core/Int.hpp
Oj18/Ethereal
16a0a167693c27615e5c63044f1c38b5c8d863b2
[ "BSD-3-Clause" ]
null
null
null
stdlib/Core/Int.hpp
Oj18/Ethereal
16a0a167693c27615e5c63044f1c38b5c8d863b2
[ "BSD-3-Clause" ]
null
null
null
stdlib/Core/Int.hpp
Oj18/Ethereal
16a0a167693c27615e5c63044f1c38b5c8d863b2
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2019, Electrux All rights reserved. Using the BSD 3-Clause license for the project, main LICENSE file resides in project's root directory. Please read that file and understand the license terms before using or altering the project. */ #ifndef VM_MODULES_CORE_INT_HPP #define VM_MODULES_CORE_INT_H...
30.882353
72
0.651667
Oj18
935d1dfaeaef0f40aa62f8c4ea3ca163b1c2c8e8
272
cpp
C++
examples/hello_world.cpp
ClausKlein/observer
1d6957385ba912d190a792dbb031b762e419d785
[ "MIT" ]
8
2018-03-23T14:29:17.000Z
2021-12-26T01:18:22.000Z
examples/hello_world.cpp
ClausKlein/observer
1d6957385ba912d190a792dbb031b762e419d785
[ "MIT" ]
1
2020-04-11T07:52:47.000Z
2020-04-11T07:52:47.000Z
examples/hello_world.cpp
ClausKlein/observer
1d6957385ba912d190a792dbb031b762e419d785
[ "MIT" ]
5
2018-03-23T14:29:22.000Z
2022-02-27T16:46:47.000Z
#include <observer.h> #include <iostream> void hello_world() { std::cout << "Hello World!" << std::endl; } int main( int /* argc */, char * /* argv */[] ) { pg::subject<> s; auto connection = pg::connect( s, hello_world ); s.notify(); return 0; }
14.315789
52
0.555147
ClausKlein
93635f37e2b52d57bc97b81c1d568b7fbd156630
17,426
hpp
C++
Library/Private/Galleon/Galleon/LongTermContainer.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Library/Private/Galleon/Galleon/LongTermContainer.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Library/Private/Galleon/Galleon/LongTermContainer.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cassert> #include <API/Common/Cursor.hpp> #include <API/Common/Shortcuts.hpp> #include <Galleon/ContainerBase.hpp> #include <RecordCollection/Collection.hpp> #include <RecordCollection/LinearRepresentation.hpp> #include <RecordCollection/PointRepresentation.hpp> #include <RecordCollection/Vol...
44.116456
120
0.732067
KonstantinTomashevich
936400196798f8b11e80880018d5739eeb3932b8
1,595
cpp
C++
src/Cube.cpp
Jaclav/wolf3d
d98574acf9e4e389258450bdc20ed216369558dd
[ "MIT" ]
null
null
null
src/Cube.cpp
Jaclav/wolf3d
d98574acf9e4e389258450bdc20ed216369558dd
[ "MIT" ]
null
null
null
src/Cube.cpp
Jaclav/wolf3d
d98574acf9e4e389258450bdc20ed216369558dd
[ "MIT" ]
null
null
null
#include "Cube.hpp" #include <iostream> Cube::Cube() { glGenBuffers(1, &pointsVbo); glBindBuffer(GL_ARRAY_BUFFER, pointsVbo); glBufferData(GL_ARRAY_BUFFER, sizeof(points), points, GL_STATIC_DRAW); glGenBuffers(1, &texturePositionVbo); glBindBuffer(GL_ARRAY_BUFFER, texturePositionVbo); glBuffer...
30.673077
115
0.717241
Jaclav
93677059cc90285eb713a62b8a2f3d9d8a826715
321
hpp
C++
include/PiObjectRepresentation.hpp
echo-Mike/SARW-UEFITreeBuilder
e4ab988b1dedf6dce20341ff80f3c6bbdc83e7e6
[ "MIT" ]
null
null
null
include/PiObjectRepresentation.hpp
echo-Mike/SARW-UEFITreeBuilder
e4ab988b1dedf6dce20341ff80f3c6bbdc83e7e6
[ "MIT" ]
null
null
null
include/PiObjectRepresentation.hpp
echo-Mike/SARW-UEFITreeBuilder
e4ab988b1dedf6dce20341ff80f3c6bbdc83e7e6
[ "MIT" ]
null
null
null
#pragma once #ifndef PI_OBJECT_REPRESENTATION_HPP__ #define PI_OBJECT_REPRESENTATION_HPP__ "0.0.0@PiObjectRepresentation.hpp" /// PROJECT #include "PiObject.hpp" #include "PiSimpleObjects.hpp" #include "PiComplexObject.hpp" #include "PiSectionObject.hpp" #include "PiFileObject.hpp" #include "PiVolumeObject.hpp" #endi...
24.692308
73
0.813084
echo-Mike
937120a50d327941bd2deb2848a2af52ffc6d4f0
5,080
cpp
C++
app/Limits.cpp
SantoshKesani/ackermann-controller
afee2cd94884c6b392643f83c0e9bda11dd37acd
[ "MIT" ]
null
null
null
app/Limits.cpp
SantoshKesani/ackermann-controller
afee2cd94884c6b392643f83c0e9bda11dd37acd
[ "MIT" ]
5
2020-10-24T12:22:22.000Z
2020-11-10T21:29:35.000Z
app/Limits.cpp
SantoshKesani/ackermann-controller
afee2cd94884c6b392643f83c0e9bda11dd37acd
[ "MIT" ]
4
2020-09-29T23:06:12.000Z
2021-11-19T23:33:14.000Z
/** * @file Limits.cpp * * @author Spencer Elyard * @author Daniel M. Sahu * @author Santosh Kesani * * @copyright [2020] */ #include <Limits.hpp> #include <cmath> namespace ackermann { Limits::Limits(const std::shared_ptr<const Params>& params) : params_(params) { } double Limits::throttleToSpeed(double t...
33.202614
79
0.691339
SantoshKesani
937d07668508428b61878833cc6dc1e955ebd21c
26,094
cc
C++
src/util/tbl/_tt.cc
mansour2014/ATSP2K_plus
30842b9f086d1e497aeb778e2a352d1e8e520ec3
[ "BSD-4-Clause-UC" ]
1
2019-07-21T14:03:39.000Z
2019-07-21T14:03:39.000Z
src/util/tbl/_tt.cc
mzmansour/ATSP2K_plus
30842b9f086d1e497aeb778e2a352d1e8e520ec3
[ "BSD-4-Clause-UC" ]
null
null
null
src/util/tbl/_tt.cc
mzmansour/ATSP2K_plus
30842b9f086d1e497aeb778e2a352d1e8e520ec3
[ "BSD-4-Clause-UC" ]
null
null
null
#include "_tt.hh" #include "_prn.hh" #include "_inp.hh" #include <iostream> #include <string> #include <vector> #include <list> #include <fstream> #include <map> #include <strstream> #include <cstring> #include <iomanip> #include <iterator> #include <algorithm> #include <functional> #include <cmath> #include <sstream> ...
27.554382
80
0.484058
mansour2014
937f946d739cf99e35e03d6d5b2597457a9ddf41
6,266
cc
C++
dcmdata/libsrc/dcvrds.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
10
2016-07-03T12:16:58.000Z
2021-12-18T06:15:50.000Z
dcmdata/libsrc/dcvrds.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
1
2020-04-30T07:55:55.000Z
2020-04-30T07:55:55.000Z
dcmdata/libsrc/dcvrds.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
9
2017-02-09T02:16:39.000Z
2021-01-06T02:49:24.000Z
/* * * Copyright (C) 1994-2011, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Gerd Ehl...
27.482456
97
0.544845
trice-imaging
938170688cde2d88af3a3a9d0769ed1b138ce018
21,382
hpp
C++
src/search/tb2solver.hpp
Pierre-Mont/toulbar2
623b92d593eab2dc1e21df9f853c28cc84626ed6
[ "MIT" ]
null
null
null
src/search/tb2solver.hpp
Pierre-Mont/toulbar2
623b92d593eab2dc1e21df9f853c28cc84626ed6
[ "MIT" ]
null
null
null
src/search/tb2solver.hpp
Pierre-Mont/toulbar2
623b92d593eab2dc1e21df9f853c28cc84626ed6
[ "MIT" ]
null
null
null
/** \file tb2solver.hpp * \brief Generic solver. * */ #ifndef TB2SOLVER_HPP_ #define TB2SOLVER_HPP_ #include "toulbar2lib.hpp" #include "utils/tb2store.hpp" template <class T> class DLink; template <class T> class BTList; class NeighborhoodStructure; class RandomNeighborhoodChoice; class ClustersNeighborhoodStr...
37.710758
365
0.637592
Pierre-Mont
9383fb7c456ca6b9e333b347b17c8d78ea68ba56
629
cpp
C++
TargetFileReader.cpp
pderocco/digital-chroma-toolkit
7db00bff7baa28b08a1b929c67c40e97c2b5b121
[ "MIT" ]
null
null
null
TargetFileReader.cpp
pderocco/digital-chroma-toolkit
7db00bff7baa28b08a1b929c67c40e97c2b5b121
[ "MIT" ]
null
null
null
TargetFileReader.cpp
pderocco/digital-chroma-toolkit
7db00bff7baa28b08a1b929c67c40e97c2b5b121
[ "MIT" ]
null
null
null
// TargetFileReader.cpp #include <QByteArray> #include <QResource> #include "TargetFileReader.h" QVariant TargetFileReader::read(QString p) { QResource f(p); // If no resource, return null. if (!f.isValid()) return QVariant(); // Create array large enough for Sysex header, file contents, EOX...
20.290323
70
0.556439
pderocco
93883b79554159839da6b0573079798ea537c072
3,204
cpp
C++
developments/kernel/test/utkernel/one_shot_timer_test.cpp
kokabe2/surfes
7c93fc08e74973cef53cf4a5859767201d457134
[ "MIT" ]
null
null
null
developments/kernel/test/utkernel/one_shot_timer_test.cpp
kokabe2/surfes
7c93fc08e74973cef53cf4a5859767201d457134
[ "MIT" ]
null
null
null
developments/kernel/test/utkernel/one_shot_timer_test.cpp
kokabe2/surfes
7c93fc08e74973cef53cf4a5859767201d457134
[ "MIT" ]
null
null
null
// Copyright(c) 2019 Ken Okabe // This software is released under the MIT License, see LICENSE. #include "gtest/gtest.h" extern "C" { #include "impl/fake_alarmhandler.h" #include "one_shot_timer.h" } namespace { const int kDummyParameter = 1234; void* given_parameter; bool was_ran; void FakeFunction(voi...
23.733333
79
0.726592
kokabe2
938ced3bc6080f3dfacb6333f27bed33084423ba
6,333
cpp
C++
src/Core/Serialization/Deserializer.cpp
JijaLoqie/MxEngine
b82dbeefac416c15d44bf134058f668eb071078e
[ "BSD-3-Clause" ]
null
null
null
src/Core/Serialization/Deserializer.cpp
JijaLoqie/MxEngine
b82dbeefac416c15d44bf134058f668eb071078e
[ "BSD-3-Clause" ]
null
null
null
src/Core/Serialization/Deserializer.cpp
JijaLoqie/MxEngine
b82dbeefac416c15d44bf134058f668eb071078e
[ "BSD-3-Clause" ]
null
null
null
// Copyright(c) 2019 - 2020, #Momo // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met : // // 1. Redistributions of source code must retain the above copyright notice, this // list of conditions...
39.58125
131
0.647718
JijaLoqie
938e06315aa64c257b95429338443a2ff93dcca5
20,395
cc
C++
examples/bouncingBall/src/bouncingBallBenchmark.cc
ju6ge/rbdl-orb
321e20e80e2859a3a2ab43629c7c26c1020cb6f6
[ "Zlib" ]
12
2020-04-30T19:32:18.000Z
2021-07-13T11:30:23.000Z
examples/bouncingBall/src/bouncingBallBenchmark.cc
ju6ge/rbdl-orb
321e20e80e2859a3a2ab43629c7c26c1020cb6f6
[ "Zlib" ]
2
2020-06-04T23:16:07.000Z
2022-03-19T23:37:28.000Z
examples/bouncingBall/src/bouncingBallBenchmark.cc
ju6ge/rbdl-orb
321e20e80e2859a3a2ab43629c7c26c1020cb6f6
[ "Zlib" ]
10
2020-02-01T20:38:18.000Z
2021-06-01T22:28:24.000Z
/*==================================================================== bouncingBallBenchmark.cc Copyright (c) 2019 Matthew Millard <matthew.millard@iwr.uni-heidelberg.de> Licensed under the zlib license. See LICENSE for more details. *///================================================================= #inc...
36.419643
113
0.593185
ju6ge
93982c8aa16d2f59d5f1c59b1462e37374ae75c9
856
hpp
C++
include/Awl/boost/detail/win/timers.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
4
2016-07-01T02:33:28.000Z
2020-03-03T17:52:54.000Z
include/Awl/boost/detail/win/timers.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
include/Awl/boost/detail/win/timers.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
// timers.hpp --------------------------------------------------------------// // Copyright 2010 Vicente J. Botet Escriba // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt #ifndef BOOST_DETAIL_WIN_TIMERS_HPP #define BOOST_DETAIL_WIN_TIMERS_HPP #include <...
20.380952
80
0.663551
Yalir
939933fe1d61326c92c882ddf2e5eb8729613421
24,568
cpp
C++
tests/messaging/test_send_object.cpp
yumilceh/libqi
f094bcad506bcfd5a8dcfa7688cbcce864b0765b
[ "BSD-3-Clause" ]
null
null
null
tests/messaging/test_send_object.cpp
yumilceh/libqi
f094bcad506bcfd5a8dcfa7688cbcce864b0765b
[ "BSD-3-Clause" ]
null
null
null
tests/messaging/test_send_object.cpp
yumilceh/libqi
f094bcad506bcfd5a8dcfa7688cbcce864b0765b
[ "BSD-3-Clause" ]
null
null
null
/* ** ** Copyright (C) 2018 Softbank Robotics Europe */ #include <gtest/gtest.h> #include <qi/application.hpp> #include <qi/anyobject.hpp> #include <qi/session.hpp> #include <qi/signalspy.hpp> #include <qi/anymodule.hpp> #include <testsession/testsessionpair.hpp> #include <qi/testutils/testutils.hpp> #include <conditi...
32.540397
108
0.721263
yumilceh
939d069d5d40282f777481d328cac8fb2eee70f3
827
cpp
C++
URI/URI-CPP/BEGINNER/1038.cpp
tareqmahmud/Competitive-Programming
ad5e53300d70280bccbd5046ca01278fb246f314
[ "MIT" ]
2
2020-11-19T19:03:28.000Z
2021-01-04T19:52:11.000Z
URI/URI-CPP/BEGINNER/1038.cpp
tareqmahmud/Competitive-Programming
ad5e53300d70280bccbd5046ca01278fb246f314
[ "MIT" ]
null
null
null
URI/URI-CPP/BEGINNER/1038.cpp
tareqmahmud/Competitive-Programming
ad5e53300d70280bccbd5046ca01278fb246f314
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(void){ // Initialize variable int productCode, productQuantity; double actualPrice; // Take input cin >> productCode >> productQuantity; // Calculate price based on productCode and productQuantity switch(productCode){ case 1: ...
22.972222
63
0.561064
tareqmahmud
4d34c3e96a5c8614d3935fac0161f39a84657dc3
23,249
cpp
C++
software/atmega328p_u1/ev-charge-control/src/mon.cpp
greenenergyprojects/electro-vehicle-charger-met16
cf8c274da60ee8c340915f377c3b352e3ed3e552
[ "MIT" ]
1
2022-03-18T18:49:50.000Z
2022-03-18T18:49:50.000Z
software/atmega328p_u1/ev-charge-control/src/mon.cpp
greenenergyprojects/electro-vehicle-charger-met16
cf8c274da60ee8c340915f377c3b352e3ed3e552
[ "MIT" ]
null
null
null
software/atmega328p_u1/ev-charge-control/src/mon.cpp
greenenergyprojects/electro-vehicle-charger-met16
cf8c274da60ee8c340915f377c3b352e3ed3e552
[ "MIT" ]
null
null
null
#include "global.h" #include "mon.hpp" #include "sys.hpp" #include "app.hpp" #ifdef GLOBAL_MONITOR namespace u1_mon { // declarations and definitions int8_t cmd_info (uint8_t argc, const char **argv); int8_t cmd_test (uint8_t argc, const char **argv); int8_t cmd_set (uint8_t argc, const char **argv...
38.491722
174
0.44832
greenenergyprojects
4d3584bbd966987ad0514c516250619669ad0f0a
17,740
cpp
C++
Medusa/Medusa/Resource/Font/BMPFont.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
143
2015-11-18T01:06:03.000Z
2022-03-30T03:08:54.000Z
Medusa/Medusa/Resource/Font/BMPFont.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
1
2019-10-23T13:00:40.000Z
2019-10-23T13:00:40.000Z
Medusa/Medusa/Resource/Font/BMPFont.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
45
2015-11-18T01:17:59.000Z
2022-03-05T12:29:45.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "BMPFont.h" #include "Resource/Material/MaterialFactory.h" #include "Core/IO/File.h" #include "Resource/ResourceNames.h...
31.122807
139
0.689797
tony2u
4d361a898955248f0ce9f06edbe87b5c8b1355e8
2,782
cpp
C++
KsiazkaAdresowa.cpp
pieterkycia/KsiazkaAdresowaObiektowo
05e4bf8c2114d69d15a6cc3372cb808c147080f0
[ "Unlicense" ]
null
null
null
KsiazkaAdresowa.cpp
pieterkycia/KsiazkaAdresowaObiektowo
05e4bf8c2114d69d15a6cc3372cb808c147080f0
[ "Unlicense" ]
null
null
null
KsiazkaAdresowa.cpp
pieterkycia/KsiazkaAdresowaObiektowo
05e4bf8c2114d69d15a6cc3372cb808c147080f0
[ "Unlicense" ]
null
null
null
#include "KsiazkaAdresowa.h" void KsiazkaAdresowa::rejestracjaUzytkownika() { uzytkownikMenedzer.rejestracjaUzytkownika(); } void KsiazkaAdresowa::logowanieUzytkownika() { uzytkownikMenedzer.logowanieUzytkownika(); if (czyUzytkownikJestZalogowany()) adresatMenedzer = new AdresatMenedzer(NAZWA_PLIK...
28.979167
127
0.650252
pieterkycia
4d39049392f857e813ce0056dad91c2c022f496f
3,183
cpp
C++
src/ms-gui/main.cpp
Arisien/minesweeper
5b4eab7800fde35d73ad8b004a0f89b0dbacc2f9
[ "MIT" ]
3
2020-08-31T20:23:42.000Z
2021-06-26T21:26:16.000Z
src/ms-gui/main.cpp
Arisien/minesweeper
5b4eab7800fde35d73ad8b004a0f89b0dbacc2f9
[ "MIT" ]
1
2021-04-27T07:54:02.000Z
2021-04-27T07:54:02.000Z
src/ms-gui/main.cpp
Arisien/minesweeper
5b4eab7800fde35d73ad8b004a0f89b0dbacc2f9
[ "MIT" ]
null
null
null
/* * ms-gui.cpp * * This is a GUI implementation of Minesweeper. SFML is used for the graphics. * * Author: Arisien @ 26.6.2021 * */ #include <SFML/Graphics.hpp> #include <ctime> #include "../minesweeper.hpp" using namespace Minesweeper; class GuiGame: public Game { public: sf::RenderWindow app; sf::Te...
20.14557
109
0.531574
Arisien
4d3ad678d0f7ce53b040d0bec76d3ccc55404c10
28,816
cpp
C++
src/core/resolution_statistics.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
7
2020-09-09T10:59:59.000Z
2020-11-19T15:26:53.000Z
src/core/resolution_statistics.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
85
2020-09-11T15:07:02.000Z
2021-02-08T20:38:13.000Z
src/core/resolution_statistics.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
6
2021-03-26T13:04:10.000Z
2021-11-18T19:28:16.000Z
#include "core_headers.h" ResolutionStatistics::ResolutionStatistics() { pixel_size = 0.0; number_of_bins = -1; number_of_bins_extended = 0; } ResolutionStatistics::ResolutionStatistics(float wanted_pixel_size, int box_size) { Init(wanted_pixel_size, box_size); } ResolutionStatistics::ResolutionStatistics( const...
33.742389
220
0.710543
ngrigorieff
4d3b353b10cac4ae699c60d62bc1e2301a2ce0b6
11,752
cpp
C++
test_conformance/gles/main.cpp
svenvh/OpenCL-CTS
509172b7805aca2514081e259b6f26cb74a3445a
[ "Apache-2.0" ]
null
null
null
test_conformance/gles/main.cpp
svenvh/OpenCL-CTS
509172b7805aca2514081e259b6f26cb74a3445a
[ "Apache-2.0" ]
null
null
null
test_conformance/gles/main.cpp
svenvh/OpenCL-CTS
509172b7805aca2514081e259b6f26cb74a3445a
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2017 The Khronos Group Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
31.007916
120
0.624319
svenvh
4d3d4268156b9cb81dba38fd3e56fa62af60cc7d
626
cpp
C++
roguelike/health_drop.cpp
LoginLEE/HKUST-COMP2012h-2D-Shooting-Game
d03812a4a8cba8d31873157d71818b8c67d495fd
[ "MIT" ]
null
null
null
roguelike/health_drop.cpp
LoginLEE/HKUST-COMP2012h-2D-Shooting-Game
d03812a4a8cba8d31873157d71818b8c67d495fd
[ "MIT" ]
null
null
null
roguelike/health_drop.cpp
LoginLEE/HKUST-COMP2012h-2D-Shooting-Game
d03812a4a8cba8d31873157d71818b8c67d495fd
[ "MIT" ]
null
null
null
#include "health_drop.hpp" #include "utils.hpp" #include "game_manager.hpp" #include "player.hpp" HealthDrop::HealthDrop(GameManager *_manager, GameEntity *parent, sf::Vector2f pos, float powerLevel) : Collectible(_manager, parent, pos) { health = powerLevel * 20; } void HealthDrop::draw(sf::RenderTarget ...
28.454545
141
0.717252
LoginLEE
4d40dd82435dbcd8527a4bc65cc46bbe618dd4db
18,387
hpp
C++
tutorials/SkipGram/text8.hpp
ChanhyoLee/TextDataset
397571f476a89ad42ef3ed77b82c76fc19ac3e33
[ "Apache-2.0" ]
null
null
null
tutorials/SkipGram/text8.hpp
ChanhyoLee/TextDataset
397571f476a89ad42ef3ed77b82c76fc19ac3e33
[ "Apache-2.0" ]
null
null
null
tutorials/SkipGram/text8.hpp
ChanhyoLee/TextDataset
397571f476a89ad42ef3ed77b82c76fc19ac3e33
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <algorithm> #include <cstring> #include <string.h> #include <time.h> //난수 생성위해 추가! #include "../../WICWIU_src/Tensor.hpp" #include "../../WICWIU_src/DataLoader.hpp" #include "Langs.hpp" //여기에 선언해주는 숫자는!!! 이제 파일에 있는 단어의 개수임!!! //text8꺼 다시 확인해보고 사용하기! /...
31.270408
256
0.494589
ChanhyoLee
4d44a810d2e1f8fb7c4869d423eb3f937472fe57
1,641
cpp
C++
Source/modio/Private/BlueprintCallbackProxies/CallbackProxy_GetUserModfiles.cpp
Turupawn/UE4Plugin
f01de1609aedb95f7733924f64bd59a4770bf2d1
[ "MIT" ]
3
2020-01-15T02:05:12.000Z
2021-08-30T08:14:29.000Z
Source/modio/Private/BlueprintCallbackProxies/CallbackProxy_GetUserModfiles.cpp
Turupawn/UE4Plugin
f01de1609aedb95f7733924f64bd59a4770bf2d1
[ "MIT" ]
null
null
null
Source/modio/Private/BlueprintCallbackProxies/CallbackProxy_GetUserModfiles.cpp
Turupawn/UE4Plugin
f01de1609aedb95f7733924f64bd59a4770bf2d1
[ "MIT" ]
2
2020-06-29T23:40:08.000Z
2021-03-05T07:47:27.000Z
// Copyright 2019 modio. All Rights Reserved. // Released under MIT. #include "BlueprintCallbackProxies/CallbackProxy_GetUserModfiles.h" #include "ModioUE4Utility.h" #include "ModioSubsystem.h" #include "Engine/Engine.h" UCallbackProxy_GetUserModfiles::UCallbackProxy_GetUserModfiles(const FObjectInitializer &ObjectIn...
32.176471
167
0.776356
Turupawn
4d46c66cfac159216b85c05ecc73e0c9a3e756f1
1,820
cpp
C++
Graph/Adjacency-matrix/Graph.cpp
shoukailiang/PAT
30b766e52da7b978bb174cefa03c72ab23ce7ee0
[ "MIT" ]
1
2019-08-16T14:00:29.000Z
2019-08-16T14:00:29.000Z
Graph/Adjacency-matrix/Graph.cpp
shoukailiang/PAT
30b766e52da7b978bb174cefa03c72ab23ce7ee0
[ "MIT" ]
null
null
null
Graph/Adjacency-matrix/Graph.cpp
shoukailiang/PAT
30b766e52da7b978bb174cefa03c72ab23ce7ee0
[ "MIT" ]
null
null
null
// // Created by liang on 2019/10/21. // #include<stdio.h> #include<stdlib.h> #define MaxVertexNum 100 typedef int weightType; typedef int Vertex; typedef int DataType; typedef struct GNode *ptrToGNode; struct GNode{ // 图 int Nv; // 顶点数 int Ne; // 边数 weightType G[MaxVertexNum][MaxVertexNum]; DataType Data...
17.009346
62
0.575824
shoukailiang
4d4cc791580f546ceb05392ed4c78cacb156015b
329
cpp
C++
monisai_2/problem_6.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
1
2020-10-07T12:03:12.000Z
2020-10-07T12:03:12.000Z
monisai_2/problem_6.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
monisai_2/problem_6.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(int argc, char const *argv[]) { string str; cin >> str; for (int i = 0; i < str.length(); i++) { str[i] = str[i] + 3; if (str[i] > 'z') { str[i] = str[i] - 26; } } cout << str; ret...
17.315789
42
0.443769
Leon-Francis
4d4f62afb9cbcc3ed6e602da11ec3e35162ef5db
24,793
cp
C++
Plug-ins/GPG/sources/GPGTest.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Plug-ins/GPG/sources/GPGTest.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Plug-ins/GPG/sources/GPGTest.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
29.340828
274
0.713306
mulberry-mail
4d5e9ccaceebba1bf9eacc85f946fa87df8c5f66
1,130
cpp
C++
projects/realtimeCamera/realtimeCamera.cpp
lucasbrsa/OpenCV3.2
b6db40bd43dce7847dce1a808fd29bb1b140dea3
[ "MIT" ]
null
null
null
projects/realtimeCamera/realtimeCamera.cpp
lucasbrsa/OpenCV3.2
b6db40bd43dce7847dce1a808fd29bb1b140dea3
[ "MIT" ]
null
null
null
projects/realtimeCamera/realtimeCamera.cpp
lucasbrsa/OpenCV3.2
b6db40bd43dce7847dce1a808fd29bb1b140dea3
[ "MIT" ]
null
null
null
/* * Displaying realtime footage with first available camera * * 19.04.17 | Lucas Barbosa | Open source software */ #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> using namespace std; using namespace cv; #define ESC_ASCII 27 #define DEFAULT_CAMERA 0 // ...
20.178571
59
0.661947
lucasbrsa
4d605d9f87e382354cffe5fcc062b36a0e931116
8,708
hpp
C++
include/VROSC/AdjustableMeshTransformUVEffect.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/AdjustableMeshTransformUVEffect.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/AdjustableMeshTransformUVEffect.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.AdjustableMeshEffect #include...
54.086957
197
0.73932
v0idp
4d66241c4dea2ada15d366790b78d5106449fb72
320
cpp
C++
interview_questions/pointers_trap.cpp
ppinko/cpp_knowledge_library
7a57acde533c1b4a3d74b12cb05b33ef6fadb957
[ "Apache-2.0" ]
null
null
null
interview_questions/pointers_trap.cpp
ppinko/cpp_knowledge_library
7a57acde533c1b4a3d74b12cb05b33ef6fadb957
[ "Apache-2.0" ]
null
null
null
interview_questions/pointers_trap.cpp
ppinko/cpp_knowledge_library
7a57acde533c1b4a3d74b12cb05b33ef6fadb957
[ "Apache-2.0" ]
null
null
null
#include <iostream> int main(){ int *p = nullptr; /* It's possible to get address of nullptr */ std::cout << p << std::endl; // out: 0 /* Dereferencing a null pointer cause a segmentation error. */ // std::cout << *p << std::endl; // segmentation error delete p; return 0; }
20
66
0.55625
ppinko
4d669095d83ca556a0a2a6ec29464f021ea944f9
1,441
cpp
C++
test/lib/Shell.cpp
topilski/libmemcached
7a10166fbc4e718a3392ff744eb5bc499defd952
[ "BSD-3-Clause" ]
18
2021-06-23T15:20:25.000Z
2022-03-25T22:51:09.000Z
test/lib/Shell.cpp
topilski/libmemcached
7a10166fbc4e718a3392ff744eb5bc499defd952
[ "BSD-3-Clause" ]
108
2020-01-20T09:25:47.000Z
2021-05-18T06:45:30.000Z
test/lib/Shell.cpp
topilski/libmemcached
7a10166fbc4e718a3392ff744eb5bc499defd952
[ "BSD-3-Clause" ]
4
2021-06-25T07:49:31.000Z
2022-02-07T21:30:45.000Z
#include "Shell.hpp" #include <cstdlib> bool Shell::run(const string &command_, string &output) { auto command = prepareCommand(command_); auto *file = popen(command.c_str(), "r"); if (!file) { perror("Shell::run popen()"); return false; } do { char data[1U<<12U]; auto read = fread(data, 1...
20.295775
62
0.62526
topilski
4d672d36190cf30b0fb826cb3665e9672c6fca2b
13,238
cpp
C++
src/test/cpp/test3.cpp
chetmurthy/thrift-nicejson
3ce7a84af55591be4388f93c095032d739ee3917
[ "Apache-2.0" ]
8
2017-11-14T13:22:09.000Z
2020-07-30T02:33:18.000Z
src/test/cpp/test3.cpp
chetmurthy/thrift-nicejson
3ce7a84af55591be4388f93c095032d739ee3917
[ "Apache-2.0" ]
null
null
null
src/test/cpp/test3.cpp
chetmurthy/thrift-nicejson
3ce7a84af55591be4388f93c095032d739ee3917
[ "Apache-2.0" ]
3
2017-11-18T10:53:10.000Z
2018-01-16T20:11:28.000Z
#include <exception> #include <fstream> #include <iostream> #include <iostream> #include <streambuf> #include <string> #include <tuple> #include "gtest/gtest.h" #include <boost/smart_ptr.hpp> #include <boost/thread.hpp> #include <thrift/concurrency/Monitor.h> #include <thrift/protocol/TDebugProtocol.h> #include <thri...
28.967177
116
0.692476
chetmurthy
4d68a5c1abb47b5a3ddee7d2356c5cb780c6fbdd
13,076
cpp
C++
src/footstepAffordance.cpp
RajPShinde/footstep_affordance
6e8863c098fc4f6e789e0eee56adcee5df061454
[ "Unlicense" ]
4
2021-11-23T04:44:06.000Z
2022-03-26T11:39:30.000Z
src/footstepAffordance.cpp
RajPShinde/footstep_affordance
6e8863c098fc4f6e789e0eee56adcee5df061454
[ "Unlicense" ]
null
null
null
src/footstepAffordance.cpp
RajPShinde/footstep_affordance
6e8863c098fc4f6e789e0eee56adcee5df061454
[ "Unlicense" ]
2
2020-12-21T13:43:56.000Z
2021-12-10T06:13:57.000Z
#include <footstepAffordance.hpp> namespace costmap { FootstepAffordance::FootstepAffordance() { } FootstepAffordance::~FootstepAffordance() { } unsigned int FootstepAffordance::computeMeanAndCovariance(Eigen::Vector3d& meanPosition, Eigen::Matrix3d& covarianceMatrix, const std::vector<Eigen::Vector3d>& cloud) { ...
38.011628
168
0.658458
RajPShinde
4d69e28ebe9f973ea99c0be5d884e6267bdfbf6f
392
cpp
C++
HRank/Hill.cpp
SeekerNik/code
e36105361daffac2b6e48ab63f3b9d79120f6310
[ "MIT" ]
null
null
null
HRank/Hill.cpp
SeekerNik/code
e36105361daffac2b6e48ab63f3b9d79120f6310
[ "MIT" ]
null
null
null
HRank/Hill.cpp
SeekerNik/code
e36105361daffac2b6e48ab63f3b9d79120f6310
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string s = "DDUUUUDD"; int Position = 0; int valley = 0; for (int i = 0; i < s.size() - 1; i++) { s[i] == 'U' ? Position++ : Position--; if (Position < 0 && s[i + 1] == 'U' && 0 == Position + 1) { ...
20.631579
66
0.408163
SeekerNik
4d6de70dedddefcb6c1f6b3b1f6cea26faf03aa3
3,975
cc
C++
syslog-cat/syslogcat.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
syslog-cat/syslogcat.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
syslog-cat/syslogcat.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium OS 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 "syslog-cat/syslogcat.h" #include <sys/socket.h> #include <sys/un.h> #include <base/files/file_path.h> #include <base/files/file_util.h> #in...
34.565217
79
0.627925
dgreid
4d6e70a215b4efb2593cc59b4b3da25ddfe22a54
5,453
cpp
C++
gwen/src/Gwen/Skins/Texturing.cpp
CristianoBeato/SDLGwen
c2440f256d87c472f8e1b7b3d680521b2c0c0837
[ "MIT" ]
1
2019-02-18T09:11:10.000Z
2019-02-18T09:11:10.000Z
gwen/src/Gwen/Skins/Texturing.cpp
CristianoBeato/SDLGwen
c2440f256d87c472f8e1b7b3d680521b2c0c0837
[ "MIT" ]
null
null
null
gwen/src/Gwen/Skins/Texturing.cpp
CristianoBeato/SDLGwen
c2440f256d87c472f8e1b7b3d680521b2c0c0837
[ "MIT" ]
null
null
null
/* =========================================================================== GWEN Copyright (c) 2010 Facepunch Studios Copyright (c) 2017-2019 Cristiano Beato MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
33.25
199
0.653402
CristianoBeato
4d6f8b373d7c89efcef9efbed51300ec684dd9f5
1,151
hpp
C++
include/licon/nn/node/elt_wise_sum.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
93
2017-10-25T07:48:42.000Z
2022-02-02T15:18:11.000Z
include/licon/nn/node/elt_wise_sum.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
null
null
null
include/licon/nn/node/elt_wise_sum.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
20
2018-02-06T10:01:36.000Z
2019-07-07T09:26:40.000Z
#ifndef LICON_NN_NODE_ELT_WISE_SUM_HPP #define LICON_NN_NODE_ELT_WISE_SUM_HPP /** * the container of hstack some opnode together then element wise sum into one tensor */ #include "licon/nn/node/neuron_stack.hpp" namespace licon { namespace nn { class EltWiseSum : public Stack<F> { public: // the heap creat...
23.02
89
0.711555
wzppengpeng
4d73799fb2053463efade6cfdf9d1e90879c1802
11,459
cc
C++
src/utils/bitcoin_random.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/utils/bitcoin_random.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/utils/bitcoin_random.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // bitcoin/src/support/cleanse.cpp // bitcoin/src/random.cpp #include "utils/bit...
29.382051
123
0.641504
pengdu
4d75bf01f7abe593b44d5fe7193fe6747ebbf5ab
1,527
hpp
C++
include/bsoid/operators/ImplicitOperator.hpp
yaoyao0821/bsoid_test
6222653652cf29cc09c1bb2435874573f31a6369
[ "MIT" ]
null
null
null
include/bsoid/operators/ImplicitOperator.hpp
yaoyao0821/bsoid_test
6222653652cf29cc09c1bb2435874573f31a6369
[ "MIT" ]
2
2019-03-13T23:07:52.000Z
2019-04-29T22:23:25.000Z
include/bsoid/operators/ImplicitOperator.hpp
yaoyao0821/bsoid_test
6222653652cf29cc09c1bb2435874573f31a6369
[ "MIT" ]
1
2019-03-15T00:05:54.000Z
2019-03-15T00:05:54.000Z
#ifndef BSOID_INCLUDE_BSOID_OPERATORS_IMPLICIT_OPERATOR_HPP #define BSOID_INCLUDE_BSOID_OPERATORS_IMPLICIT_OPERATOR_HPP #pragma once #include "Operators.hpp" #include "bsoid/fields/ImplicitField.hpp" #include <vector> namespace bsoid { namespace operators { class ImplicitOperator : public fields::Im...
23.859375
80
0.525868
yaoyao0821
4d7a56485ae89b97e994beaa97107e7e3b54a0f5
1,860
cpp
C++
LeetCode/Problems/Algorithms/#1763_LongestNiceSubstring_sol2_divide_and_conquer_with_sliding_window_O(N^2)_time_O(N+52)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#1763_LongestNiceSubstring_sol2_divide_and_conquer_with_sliding_window_O(N^2)_time_O(N+52)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#1763_LongestNiceSubstring_sol2_divide_and_conquer_with_sliding_window_O(N^2)_time_O(N+52)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { private: int computeMaxLen(const string& S, int startPos, int endPos){ if(startPos >= endPos){ return 0; } int lowMask = 0; int upMask = 0; for(int i = startPos; i <= endPos; ++i){ if(islower(S[i])){ ...
29.0625
107
0.355914
Tudor67
4d7bd77449443210324ab9043d27ef0ef5a83bd5
6,002
cpp
C++
src/memorylayout.cpp
consultorio-molinari/splintermind-attributes
4dd0a65d1af68c8ee7e7b76d8e52efda22411147
[ "MIT" ]
null
null
null
src/memorylayout.cpp
consultorio-molinari/splintermind-attributes
4dd0a65d1af68c8ee7e7b76d8e52efda22411147
[ "MIT" ]
null
null
null
src/memorylayout.cpp
consultorio-molinari/splintermind-attributes
4dd0a65d1af68c8ee7e7b76d8e52efda22411147
[ "MIT" ]
null
null
null
#include <QtCore> #include "memorylayout.h" #include "gamedatareader.h" #include "utils.h" #include "truncatingfilelogger.h" #include "dfinstance.h" MemoryLayout::MemoryLayout(const QString &filename) : m_filename(filename) , m_checksum(QString::null) , m_data(0) , m_complete(true) { T...
32.619565
87
0.656281
consultorio-molinari
4d7d66c6ff3c229ab2263cd57b62255907751b1c
4,942
cpp
C++
lesson_5/RC4.cpp
FilippoNevi/Advanced-Computer-Architectures
9d03ea9491df99d863c2e9777ed04a68df2cfd40
[ "BSD-3-Clause" ]
null
null
null
lesson_5/RC4.cpp
FilippoNevi/Advanced-Computer-Architectures
9d03ea9491df99d863c2e9777ed04a68df2cfd40
[ "BSD-3-Clause" ]
null
null
null
lesson_5/RC4.cpp
FilippoNevi/Advanced-Computer-Architectures
9d03ea9491df99d863c2e9777ed04a68df2cfd40
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> #include <omp.h> #include <unistd.h> #include "Timer.hpp" void key_scheduling_alg(unsigned char* S, const unsigned char* key, const int key_length) { fo...
27.764045
124
0.486443
FilippoNevi