hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
57ef763974c198b833edce7ec7756b37273588dc
533
hpp
C++
ccore/include/pyclustering/differential/equation.hpp
JosephChataignon/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
1,013
2015-01-26T19:50:14.000Z
2022-03-31T07:38:48.000Z
ccore/include/pyclustering/differential/equation.hpp
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
542
2015-01-20T16:44:32.000Z
2022-01-29T14:57:20.000Z
ccore/include/pyclustering/differential/equation.hpp
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
262
2015-03-19T07:28:12.000Z
2022-03-30T07:28:24.000Z
/*! @authors Andrei Novikov (pyclustering@yandex.ru) @date 2014-2020 @copyright BSD-3-Clause */ #pragma once #include <functional> #include <pyclustering/differential/differ_state.hpp> #include <pyclustering/differential/solve_type.hpp> namespace pyclustering { namespace differential { ...
17.766667
144
0.716698
JosephChataignon
57f3c03fc5ddc707c1aec4b9ddec71cd50503ead
8,879
inl
C++
Synergy/src/Synergy/System/System.inl
nmrsmn/synergy
7f77c70c131debe66d2e91e00827fd30e736cf81
[ "MIT" ]
null
null
null
Synergy/src/Synergy/System/System.inl
nmrsmn/synergy
7f77c70c131debe66d2e91e00827fd30e736cf81
[ "MIT" ]
25
2020-04-05T11:05:08.000Z
2020-06-07T12:48:58.000Z
Synergy/src/Synergy/System/System.inl
nmrsmn/synergy
7f77c70c131debe66d2e91e00827fd30e736cf81
[ "MIT" ]
null
null
null
// Created by Niels Marsman on 15-05-2020. // Copyright © 2020 Niels Marsman. All rights reserved. #ifndef SYNERGY_SYSTEM_SYSTEM_INLINE #define SYNERGY_SYSTEM_SYSTEM_INLINE template <typename T> template <typename... Args> inline Synergy::System<T>::System(Synergy::Scene& scene, const std::string& name, Args&&... arg...
25.368571
110
0.718212
nmrsmn
57f9db00d28f16b0c941d0263caa49e29c65dc9f
1,065
cpp
C++
src/Network/Nodes/CallbackNode.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
1
2019-04-29T05:31:32.000Z
2019-04-29T05:31:32.000Z
src/Network/Nodes/CallbackNode.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
null
null
null
src/Network/Nodes/CallbackNode.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
null
null
null
/* * CallbackNode.cpp * * Created on: Aug 24, 2013 * Author: Darius Malysiak */ #include "CallbackNode.h" namespace Lazarus { CallbackNode::CallbackNode(unsigned int nodeID, Frame* frame) { m_communication_in_progress = false; mp_frame = frame; mp_com_callback = NULL; pthread_mutex_init(&m_mutex,NULL...
14.391892
69
0.749296
dmalysiak
57fe0e840b0d57f682a7a81320a4a8437b8c5cec
2,008
cpp
C++
SimpleCalculator/GlobalMgr.cpp
KeNorizon/SimpleCalculator
3e0cdc9b96d9474f4ff0279612fbd7bbb933306a
[ "BSD-2-Clause" ]
1
2019-10-30T16:16:50.000Z
2019-10-30T16:16:50.000Z
SimpleCalculator/GlobalMgr.cpp
KeNorizon/SimpleCalculator
3e0cdc9b96d9474f4ff0279612fbd7bbb933306a
[ "BSD-2-Clause" ]
null
null
null
SimpleCalculator/GlobalMgr.cpp
KeNorizon/SimpleCalculator
3e0cdc9b96d9474f4ff0279612fbd7bbb933306a
[ "BSD-2-Clause" ]
null
null
null
#include "GlobalMgr.h" #include <iostream> #include "ResultPanel.h" #include <QPoint> GlobalMgr *g_Data = nullptr; GlobalMgr::GlobalMgr() { g_Data = this; Visual.updateParamCache(); RootExpr = new HorizontalExpression(nullptr); Cursor.setWithoutBrighten(RootExpr, 0); Config.readFromFile(); markExprDirty(); ...
16.325203
55
0.725598
KeNorizon
57fff938372a00d8ffcd417e27f78b46016b987b
711
cpp
C++
core/geometry/GpuProgramManager.cpp
billhj/Etoile2015
c9311fc2a901cd60b2aeead5462ca8d6f7c5aa3a
[ "Apache-2.0" ]
null
null
null
core/geometry/GpuProgramManager.cpp
billhj/Etoile2015
c9311fc2a901cd60b2aeead5462ca8d6f7c5aa3a
[ "Apache-2.0" ]
null
null
null
core/geometry/GpuProgramManager.cpp
billhj/Etoile2015
c9311fc2a901cd60b2aeead5462ca8d6f7c5aa3a
[ "Apache-2.0" ]
null
null
null
/** * Copyright(C) 2009-2012 * @author Jing HUANG * @file GpuProgramManager.cpp * @brief * @date 1/2/2011 */ #include "GpuProgramManager.h" #include "GpuProgram.h" #include <assert.h> /** * @brief For tracking memory leaks under windows using the crtdbg */ #if ( defined( _DEBUG ) || defined( DEBUG ) ...
18.230769
78
0.700422
billhj
52010ee08cdf00de841ef03ff0037aca5ac9db02
646
cpp
C++
src/main.cpp
MartinTschechne/ASL-hdbscan
6f43062902c5f8be4497253935a9a7bbc3954d97
[ "MIT" ]
1
2022-01-02T12:39:25.000Z
2022-01-02T12:39:25.000Z
src/main.cpp
MartinTschechne/ASL-hdbscan
6f43062902c5f8be4497253935a9a7bbc3954d97
[ "MIT" ]
null
null
null
src/main.cpp
MartinTschechne/ASL-hdbscan
6f43062902c5f8be4497253935a9a7bbc3954d97
[ "MIT" ]
null
null
null
#include <hdbscan/HDBSCAN_star_runner.h> #include <gflags/gflags.h> #include <iostream> #include <fstream> #include <benchmark/tsc_x86.h> int main(int argc, char** argv) { if (argc == 1) { gflags::ShowUsageWithFlags(argv[0]); exit(1); } gflags::ParseCommandLineFlags(&argc, &argv, true); ...
24.846154
73
0.664087
MartinTschechne
5204b80bbd7f0f5d2e6165e56866d28c617d7b03
666
cpp
C++
C++/TheFirst/CODE FILES/Numbers/simpleCalculator.cpp
Lakshmivallala/CPP
374bcdedd15a76fc4fa7b9d6c9dd3a140db859f1
[ "MIT" ]
null
null
null
C++/TheFirst/CODE FILES/Numbers/simpleCalculator.cpp
Lakshmivallala/CPP
374bcdedd15a76fc4fa7b9d6c9dd3a140db859f1
[ "MIT" ]
null
null
null
C++/TheFirst/CODE FILES/Numbers/simpleCalculator.cpp
Lakshmivallala/CPP
374bcdedd15a76fc4fa7b9d6c9dd3a140db859f1
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() //function { int a,b; cout<<"Enter two integer numbers: "<<endl; cin>>a>>b; cout<<a+b<<endl; //try inputing float numbers cout<<a-b<<endl; cout<<a*b<<endl; cout<<a/b<<endl; cout<<a%b<<endl; //observe: give the inputs...
20.181818
168
0.585586
Lakshmivallala
5206a7139fc7f3909706486f779e0f73c5b40118
3,804
cpp
C++
cachelib/allocator/PoolResizer.cpp
GerHobbelt/CacheLib
580bf6950aad89cf86dbc153f12dada79b71eaf7
[ "Apache-2.0" ]
578
2021-09-01T14:19:55.000Z
2022-03-29T12:22:46.000Z
cachelib/allocator/PoolResizer.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
61
2021-09-02T18:48:06.000Z
2022-03-31T01:56:00.000Z
cachelib/allocator/PoolResizer.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
88
2021-09-02T21:22:19.000Z
2022-03-27T07:40:27.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
37.663366
80
0.65326
GerHobbelt
5209275a8a103556ebdfbab109b834e49e3bd8b5
53
cpp
C++
Code/EditorPlugins/PhysX/EnginePluginPhysX/EnginePluginPhysX.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/EditorPlugins/PhysX/EnginePluginPhysX/EnginePluginPhysX.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/EditorPlugins/PhysX/EnginePluginPhysX/EnginePluginPhysX.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <EnginePluginPhysX/EnginePluginPhysXPCH.h>
17.666667
51
0.849057
Tekh-ops
520c12bbeb830c25bcb727fb4c5275901b6acc88
249
hpp
C++
src/Camera/Camera2D.hpp
fqhd/Sokuban
1b41fb6c6e7c865447824eaffce0dff8c7efafa4
[ "MIT" ]
1
2021-11-17T07:52:45.000Z
2021-11-17T07:52:45.000Z
src/Camera/Camera2D.hpp
fqhd/Sokuban
1b41fb6c6e7c865447824eaffce0dff8c7efafa4
[ "MIT" ]
null
null
null
src/Camera/Camera2D.hpp
fqhd/Sokuban
1b41fb6c6e7c865447824eaffce0dff8c7efafa4
[ "MIT" ]
null
null
null
#ifndef CAMERA2D_H #define CAMERA2D_H #include <glm/gtc/matrix_transform.hpp> class Camera2D { public: void init(unsigned int width, unsigned int height); const glm::mat4& getMatrix(); private: glm::mat4 m_matrix; }; #endif
11.318182
56
0.690763
fqhd
648f699375d91de2bb01c878a24392fb07b2a727
1,828
cpp
C++
Dll/Monoblock/Monoblock.cpp
buzyaba/SimEngine
e5469f927154de43ea52ad74c0ca4a0af9a7b721
[ "MIT" ]
5
2019-10-21T11:38:56.000Z
2020-05-30T04:50:50.000Z
Dll/Monoblock/Monoblock.cpp
buzyaba/SimEngine
e5469f927154de43ea52ad74c0ca4a0af9a7b721
[ "MIT" ]
2
2020-03-16T13:16:27.000Z
2020-10-10T07:35:15.000Z
Dll/Monoblock/Monoblock.cpp
buzyaba/SimEngine
e5469f927154de43ea52ad74c0ca4a0af9a7b721
[ "MIT" ]
3
2019-10-10T15:10:57.000Z
2020-02-14T13:11:50.000Z
#include "Monoblock.h" #include <random> // static std::random_device rd; // static std::mt19937 gen(rd()); // static std::bernoulli_distribution d(0.02); TMonoblock::TMonoblock(std::string _name) : TObjectOfObservation(_name) { properties.insert( {"IsWork", new TProperties({{"IsWork", 2}}, true, "IsWork")});...
29.967213
80
0.603392
buzyaba
64942fb5d9162df6456c0e6a21199f8274a974e3
6,637
cc
C++
node_modules/aerospike/src/main/client.cc
EnriqueSampaio/aero-livechat
29af57560e022a5958379445852def2cab94aca0
[ "MIT" ]
null
null
null
node_modules/aerospike/src/main/client.cc
EnriqueSampaio/aero-livechat
29af57560e022a5958379445852def2cab94aca0
[ "MIT" ]
null
null
null
node_modules/aerospike/src/main/client.cc
EnriqueSampaio/aero-livechat
29af57560e022a5958379445852def2cab94aca0
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright 2013-2014 Aerospike, 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://ww...
33.862245
95
0.612024
EnriqueSampaio
6494e492f5b3394e590f477d025203a1a6d06a84
1,772
cpp
C++
src/devices/bus/msx_cart/crossblaim.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/bus/msx_cart/crossblaim.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/bus/msx_cart/crossblaim.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Wilbert Pol #include "emu.h" #include "crossblaim.h" DEFINE_DEVICE_TYPE(MSX_CART_CROSSBLAIM, msx_cart_crossblaim_device, "msx_cart_crossblaim", "MSX Cartridge Cross Blaim") msx_cart_crossblaim_device::msx_cart_crossblaim_device(const machine_config &mconfig, const char *t...
20.367816
135
0.735892
Robbbert
64950f83d9ab2c5f8100334531b94a1ed23587fc
10,757
cpp
C++
src/image.cpp
boberfly/bakec
4563441ab26b857de6b2e9e6f24b6a965aebccfc
[ "MIT" ]
3
2018-09-07T03:44:08.000Z
2019-02-19T15:20:26.000Z
src/image.cpp
boberfly/bakec
4563441ab26b857de6b2e9e6f24b6a965aebccfc
[ "MIT" ]
null
null
null
src/image.cpp
boberfly/bakec
4563441ab26b857de6b2e9e6f24b6a965aebccfc
[ "MIT" ]
null
null
null
/* Copyright 2018 Oscar Sebio Cajaraville Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
26.365196
133
0.627591
boberfly
6495723b7e66913921e9e390dec342a7f8cd962c
14,381
cpp
C++
lib/ModbusAPI.cpp
mensinda/modbusSMA
0c2ddd28123ee6a3032fc82d5be8e9c6cfd9a979
[ "Apache-2.0" ]
1
2020-03-15T18:53:26.000Z
2020-03-15T18:53:26.000Z
lib/ModbusAPI.cpp
mensinda/modbusSMA
0c2ddd28123ee6a3032fc82d5be8e9c6cfd9a979
[ "Apache-2.0" ]
null
null
null
lib/ModbusAPI.cpp
mensinda/modbusSMA
0c2ddd28123ee6a3032fc82d5be8e9c6cfd9a979
[ "Apache-2.0" ]
1
2022-03-14T11:06:26.000Z
2022-03-14T11:06:26.000Z
/* * Copyright (C) 2018 Daniel Mensinger * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
31.331155
120
0.655448
mensinda
649bc7b9df2db5fa10326e05554f6e567ae63f55
741
hh
C++
sw/admin-cli/commands/admin-apply.hh
magetron/cpu-fpga-nwofle
47fb011a1b70a95f18676dc7d51d9b5223c2d4e3
[ "Apache-2.0" ]
44
2021-03-11T18:07:05.000Z
2021-04-15T20:53:21.000Z
sw/admin-cli/commands/admin-apply.hh
magetron/cpu-fpga-nwofle
47fb011a1b70a95f18676dc7d51d9b5223c2d4e3
[ "Apache-2.0" ]
29
2021-01-25T01:41:15.000Z
2021-04-21T14:35:59.000Z
sw/admin-cli/commands/admin-apply.hh
magetron/cpu-fpga-nwofle
47fb011a1b70a95f18676dc7d51d9b5223c2d4e3
[ "Apache-2.0" ]
2
2021-07-27T21:49:42.000Z
2022-01-14T23:37:09.000Z
#pragma once int com_admin_apply (char* arg) { printf("writing admin pkt to %s...\n", ADMIN_PKT_TMP_FILENAME); write_to_admin_pkt(f_curr, ADMIN_PKT_TMP_FILENAME); mac_addr_t srcmac = random_mac(); ip_addr_t srcip = random_local_ip(); ip_addr_t dstip = random_local_ip(); udp_port_t srcport = random_unused_...
29.64
68
0.739541
magetron
649c19757cdfa81157581520e6f501a82479ee44
911
cpp
C++
cpp/src/network/broker-add.cpp
zlnov/quick-pack
4fffcc56045852b034b60a1185901a001eff87a7
[ "MIT" ]
null
null
null
cpp/src/network/broker-add.cpp
zlnov/quick-pack
4fffcc56045852b034b60a1185901a001eff87a7
[ "MIT" ]
null
null
null
cpp/src/network/broker-add.cpp
zlnov/quick-pack
4fffcc56045852b034b60a1185901a001eff87a7
[ "MIT" ]
null
null
null
#include "broker.hpp" namespace quick_pack{ uint32_t Broker::add_internal_socket(const std::string &p_host, const std::string &p_port, bool p_is_ipv6){ auto sock = new SocketDetail(); sock->bind(p_host, p_port, p_is_ipv6); return this->m_internal_socket_detail_manager.add_socket(sock); } uint32_t Broker::add_ex...
35.038462
107
0.782656
zlnov
64a12540259cae2d8ccbd0733f9f922d530d0f46
1,069
hpp
C++
include/bglgen_app.hpp
magicmoremagic/bglgen
aa47b41a2212d7af9c7121ca036dc87389e10e6d
[ "MIT" ]
null
null
null
include/bglgen_app.hpp
magicmoremagic/bglgen
aa47b41a2212d7af9c7121ca036dc87389e10e6d
[ "MIT" ]
null
null
null
include/bglgen_app.hpp
magicmoremagic/bglgen
aa47b41a2212d7af9c7121ca036dc87389e10e6d
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_BGLGEN_BGLGEN_APP_HPP_ #define BE_BGLGEN_BGLGEN_APP_HPP_ #include "lexer.hpp" #include <be/core/lifecycle.hpp> #include <be/core/filesystem.hpp> #include <be/belua/context.hpp> #include <be/sqlite/db.hpp> #include <be/sqlite/static_stmt_cache.hpp> namespace be::bglgen { //////////////////////...
20.960784
79
0.664172
magicmoremagic
64a179c03a46437a203c78593d8711ecf0484346
819
cpp
C++
engine/entity.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
12
2017-02-09T21:03:41.000Z
2021-04-26T14:50:20.000Z
engine/entity.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
engine/entity.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
#include "entity.h" Entity::Entity() {} Entity::~Entity() {} void Entity::damage(double d) { health -= d; if(health >= 0) { health = 0; kill(); } } void Entity::heal(double h) { health += h; if(h > maxHealth) { health = maxHealth; } } void Entity::kill() { setHealth(0); deactivate(); } v...
16.058824
46
0.608059
jarreed0
64a402fb135380ba4476648e6f73fbaabbad02e7
1,871
cpp
C++
src/lab_m1/Tema3/SpotLight.cpp
octaviantorcea/EGC
55dfe03a5be17de1853803a9fde19db7929fdf93
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/Tema3/SpotLight.cpp
octaviantorcea/EGC
55dfe03a5be17de1853803a9fde19db7929fdf93
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/Tema3/SpotLight.cpp
octaviantorcea/EGC
55dfe03a5be17de1853803a9fde19db7929fdf93
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "SpotLight.h" tema3::SpotLight::SpotLight(glm::vec3 position) { this->position = position; this->direction = glm::vec3(0, -1, 0); this->cutoffAngle = 14.03f; this->color = glm::vec3((float)(rand() % 256) / 256, (float)(rand() % 256) / 256, (float)(rand() % 256) / 256); this->intensity = 3.5f; th...
25.630137
113
0.652592
octaviantorcea
64a9f168137c20294775fc2738c7de796044e0fc
1,222
hpp
C++
share/device_code.hpp
venovako/GPUJACHx
dc3cddf7a113d03d2f12b262d3970bf13751ef51
[ "MIT" ]
10
2016-10-19T09:35:22.000Z
2021-06-06T05:50:12.000Z
share/device_code.hpp
venovako/GPUJACHx
dc3cddf7a113d03d2f12b262d3970bf13751ef51
[ "MIT" ]
null
null
null
share/device_code.hpp
venovako/GPUJACHx
dc3cddf7a113d03d2f12b262d3970bf13751ef51
[ "MIT" ]
2
2016-10-10T11:47:17.000Z
2016-10-19T09:35:23.000Z
#ifndef DEVICE_CODE_HPP #define DEVICE_CODE_HPP #include "cuda_helper.hpp" EXTERN_C void defJacL1(const unsigned step, const int definite /* unused */) throw(); EXTERN_C void hypJacL1(const unsigned step, const unsigned npos) throw(); EXTERN_C void defJacL1v(const unsigned step, const int definite /* unused */) thro...
50.916667
211
0.779051
venovako
64aa3c32e332ace5f6889bb4d95a5223c541cbe5
3,826
cpp
C++
trace_server/dock/dockmanagermodel.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
trace_server/dock/dockmanagermodel.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
trace_server/dock/dockmanagermodel.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
#include "dockmanagermodel.h" #include <QString> #include <QMainWindow> #include "dockmanager.h" #include "dock.h" DockManagerModel::DockManagerModel (DockManager & mgr, QObject * parent, tree_data_t * data) : TreeModel<DockedInfo>(parent, data) , m_manager(mgr) { qDebug("%s", __FUNCTION__); } DockManagerModel::~D...
27.724638
97
0.717721
mojmir-svoboda
64aa58f0e9b0cf64f0a7e6731fdf27a85ec896ef
1,672
cxx
C++
Applications/SlicerApp/Testing/Cpp/qSlicerAppMainWindowTest1.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
6
2018-10-02T23:52:49.000Z
2019-11-14T08:24:55.000Z
Applications/SlicerApp/Testing/Cpp/qSlicerAppMainWindowTest1.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Applications/SlicerApp/Testing/Cpp/qSlicerAppMainWindowTest1.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
26.125
80
0.679426
TheInterventionCentre
64ada9f5bf1aa8d6fec746777a690e6c0365a5e2
354
cpp
C++
system/apps_usb/test64_remote/terminal.cpp
tomwei7/LA104
fdf04061f37693d37e2812ed6074348e65d7e5f9
[ "MIT" ]
336
2018-11-23T23:54:15.000Z
2022-03-21T03:47:05.000Z
system/apps_usb/test64_remote/terminal.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
56
2019-02-01T05:01:07.000Z
2022-03-26T16:00:24.000Z
system/apps_usb/test64_remote/terminal.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
52
2019-02-06T17:05:04.000Z
2022-03-04T12:30:53.000Z
#include "terminal.h" char* pLastChar = nullptr; void CTerminal::begin() { pLastChar = (char*)BIOS::SYS::GetAttribute(BIOS::SYS::EAttribute::LastChar); } void CTerminal::end() { } void CTerminal::write(uint8_t b) { if (pLastChar) *pLastChar = b; } bool CTerminal::available() { return false; } uint8_t CT...
11.419355
78
0.661017
tomwei7
64ae7431f0bf9829ea4253d65250409a2a86523d
3,797
cpp
C++
Engine/Source/Developer/StandaloneRenderer/Private/Windows/OpenGL/SlateOpenGLContext.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Developer/StandaloneRenderer/Private/Windows/OpenGL/SlateOpenGLContext.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Developer/StandaloneRenderer/Private/Windows/OpenGL/SlateOpenGLContext.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "StandaloneRendererPrivate.h" #include "OpenGL/SlateOpenGLRenderer.h" /** * A dummy wndproc. */ static LRESULT CALLBACK DummyGLWndproc(HWND hWnd, uint32 Message, WPARAM wParam, LPARAM lParam) { return DefWindowProc(hWnd, Message, wParam, lParam...
24.496774
117
0.748222
PopCap
64b24a31db88050645d1dc6aec0a59e2900e0c97
1,227
hh
C++
CommTrackingObjects/coordination/src-gen/TrackerCoordinateService/TrackerCoordinateServiceCore.hh
Servicerobotics-Ulm/DomainModelsRepositories
7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b
[ "BSD-3-Clause" ]
null
null
null
CommTrackingObjects/coordination/src-gen/TrackerCoordinateService/TrackerCoordinateServiceCore.hh
Servicerobotics-Ulm/DomainModelsRepositories
7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommTrackingObjects/coordination/src-gen/TrackerCoordinateService/TrackerCoordinateServiceCore.hh
Servicerobotics-Ulm/DomainModelsRepositories
7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
#ifndef TRACKERCOORDINATESERVICECORE_H_ #define TRACKERCOORDINATESERVICECORE_H_ #include "aceSmartSoft.hh" #include "runTimeInterface.hh" #include <string> #include <map> #include <iostream> #include "TrackerCoordinateService.hh" class TrackerCoordinateServiceCore { friend class ACE_Singleton<TrackerCoordinateSer...
39.580645
221
0.792991
Servicerobotics-Ulm
64b2ee47e183ef510bfa1b03149072d61a16d279
2,118
cpp
C++
AnimationEditor/Model.cpp
RavioliFinoli/AnimationEditor
d106371c1307661611d6783d8891e9ac52ffd1a9
[ "MIT" ]
null
null
null
AnimationEditor/Model.cpp
RavioliFinoli/AnimationEditor
d106371c1307661611d6783d8891e9ac52ffd1a9
[ "MIT" ]
null
null
null
AnimationEditor/Model.cpp
RavioliFinoli/AnimationEditor
d106371c1307661611d6783d8891e9ac52ffd1a9
[ "MIT" ]
null
null
null
#include "Model.h" #define CLIP(x) (x.clip) namespace AE { Model::Model() { using namespace DirectX; m_InputLayout->Release(); m_VertexBuffer->Release(); m_Translation = { 0.0f, 0.0f, 0.0f, 1.0f }; m_RotationQuaternion = { 0.0f, 0.0f, 0.0f, 1.0f }; m_Scale = { 1.0f, 1.0f, 1.0f, 0.0f }; XMStoreFl...
19.611111
188
0.695467
RavioliFinoli
64bed4d325d43fbf2738fc9ffefed2f7c30bcc82
3,711
cc
C++
connectivity/shill/eap_listener.cc
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
connectivity/shill/eap_listener.cc
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
connectivity/shill/eap_listener.cc
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
// // Copyright (C) 2013 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...
28.113636
76
0.696308
Keneral
64c903dfe153efa5eeb4d0fc68aaaab237c92159
8,060
cpp
C++
src/cpp/SPL/Core/TupleTypeModelImpl.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
10
2021-02-19T20:19:24.000Z
2021-09-16T05:11:50.000Z
src/cpp/SPL/Core/TupleTypeModelImpl.cpp
xguerin/openstreams
7000370b81a7f8778db283b2ba9f9ead984b7439
[ "Apache-2.0" ]
7
2021-02-20T01:17:12.000Z
2021-06-08T14:56:34.000Z
src/cpp/SPL/Core/TupleTypeModelImpl.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
4
2021-02-19T18:43:10.000Z
2022-02-23T14:18:16.000Z
/* * Copyright 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
31
82
0.585608
IBMStreams
64cbbd932adae5e4ba8c99bedcf37305053e919f
1,129
hpp
C++
ch12/Queue.hpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
ch12/Queue.hpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
ch12/Queue.hpp
bashell/CppStandardLibrary
2aae03019288132c911036aeb9ba36edc56e510b
[ "MIT" ]
null
null
null
#ifndef QUEUE_HPP #define QUEUE_HPP #include <deque> #include <exception> template <typename T> class Queue { protected: std::deque<T> c; // container for the elements public: // exception class for pop() and front() with empty queue class ReadEmptyQueue : public std::exception { public: ...
20.160714
62
0.545616
bashell
64cbf46dc282a5b8b420948d0cb48f6f1718aa3b
5,764
cpp
C++
src/Broadcaster2006/Manager/HDView.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Manager/HDView.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Manager/HDView.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
// HDView.cpp : implementation file // #include "stdafx.h" #include "Manager.h" #include "HDView.h" #include "Folder.h" #include "..\include\rspath.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif extern CString g_strMainConnect; extern CImageList *g_ilTree; ///////...
21.669173
135
0.6466
pedroroque
64ce8846ecf5e0b61a7aced169974e31679ab830
533
hpp
C++
include/ampi/coro/stdcoro.hpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
null
null
null
include/ampi/coro/stdcoro.hpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
null
null
null
include/ampi/coro/stdcoro.hpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
1
2021-03-30T15:49:55.000Z
2021-03-30T15:49:55.000Z
// Copyright 2021 Pavel A. Lebedev // Licensed under the Apache License, Version 2.0. // (See accompanying file LICENSE.txt or copy at // http://www.apache.org/licenses/LICENSE-2.0) // SPDX-License-Identifier: Apache-2.0 #ifndef UUID_2B9E0A06_885B_41B9_B4DB_2D184249766E #define UUID_2B9E0A06_885B_41B9_B4DB_2D18424976...
28.052632
57
0.778612
palebedev
64d050a7a7f0368e37d4ca709d81ce13dd4557c3
995
cpp
C++
lang/C++/99-bottles-of-beer-5.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
25
2015-07-31T18:40:20.000Z
2020-01-29T20:06:35.000Z
lang/C++/99-bottles-of-beer-5.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
2
2015-08-20T13:35:01.000Z
2016-05-23T07:06:38.000Z
lang/C++/99-bottles-of-beer-5.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
21
2015-07-31T23:38:47.000Z
2020-10-02T06:57:15.000Z
//>,_ //Beer Song>,_ #include <iostream> using namespace std; int main(){ for( int b=-1; b<99; cout << '\n') for ( int w=0; w<3; cout << ".\n"){ ...
26.184211
42
0.300503
ethansaxenian
64d87c98347348152c2e9be766e005bdba090924
4,085
cpp
C++
rai/GeoOptim/geoOptim.cpp
bgheneti/rai
4ac7c8444da0c30b141cf40ffed4414ef1ca3e81
[ "MIT" ]
null
null
null
rai/GeoOptim/geoOptim.cpp
bgheneti/rai
4ac7c8444da0c30b141cf40ffed4414ef1ca3e81
[ "MIT" ]
null
null
null
rai/GeoOptim/geoOptim.cpp
bgheneti/rai
4ac7c8444da0c30b141cf40ffed4414ef1ca3e81
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------ Copyright (c) 2017 Marc Toussaint email: marc.toussaint@informatik.uni-stuttgart.de This code is distributed under the MIT License. Please see <root-path>/LICENSE for details. ----------------------------------------------------...
27.979452
123
0.4541
bgheneti
64d961d79117258ad340e6a55884c46984947de7
8,002
cpp
C++
src/function/stutter.cpp
Eve-ning/reamber
bf5736915ef12c836ec8aa9d6ecb33fd1b7a04b8
[ "MIT" ]
8
2019-02-15T12:27:22.000Z
2021-10-07T08:08:20.000Z
src/function/stutter.cpp
Eve-ning/maniaMultiTool
bf5736915ef12c836ec8aa9d6ecb33fd1b7a04b8
[ "MIT" ]
31
2019-01-25T10:06:43.000Z
2021-10-05T04:47:25.000Z
src/function/stutter.cpp
Eve-ning/amber
bf5736915ef12c836ec8aa9d6ecb33fd1b7a04b8
[ "MIT" ]
3
2019-01-24T14:49:39.000Z
2021-08-10T14:40:03.000Z
#include "function/stutter.h" #include "ui_stutter.h" #include "algorithm/algorithm.h" #include "common.h" Stutter::Stutter(QWidget *parent) : QWidget(parent), ui(new Ui::Stutter) { ui->setupUi(this); ui->input->hideKeyWidget(); ui->input->setTitle("Input"); ui->input->setPlaceholderText("Varia...
35.883408
128
0.554486
Eve-ning
64db3a57e57ff0f5e78c5cec2c324e672ce06a6d
1,172
cpp
C++
Helios/src/Window.cpp
rgracari/helio_test
2d516d16da4252c8f92f5c265b6151c6e87bc907
[ "Apache-2.0" ]
null
null
null
Helios/src/Window.cpp
rgracari/helio_test
2d516d16da4252c8f92f5c265b6151c6e87bc907
[ "Apache-2.0" ]
null
null
null
Helios/src/Window.cpp
rgracari/helio_test
2d516d16da4252c8f92f5c265b6151c6e87bc907
[ "Apache-2.0" ]
null
null
null
#include "Window.hpp" namespace Helio { Window::Window(const std::string& windowName) { Init(); std::cout << "Window Created" << std::endl; window = SDL_CreateWindow( windowName.c_str(), SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE); ...
20.561404
99
0.617747
rgracari
64df3d32373bac26a2b6d6041b2f18c095654c81
781
hpp
C++
test/mock/core/runtime/binaryen_wasm_memory_factory_mock.hpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
110
2019-04-03T13:39:39.000Z
2022-03-09T11:54:42.000Z
test/mock/core/runtime/binaryen_wasm_memory_factory_mock.hpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
890
2019-03-22T21:33:30.000Z
2022-03-31T14:31:22.000Z
test/mock/core/runtime/binaryen_wasm_memory_factory_mock.hpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
27
2019-06-25T06:21:47.000Z
2021-11-01T14:12:10.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_BINARYEN_WASM_MEMORY_FACTORY_MOCK_HPP #define KAGOME_BINARYEN_WASM_MEMORY_FACTORY_MOCK_HPP #include "runtime/binaryen/binaryen_memory_factory.hpp" #include <gmock/gmock.h> namespace kagome::runtime::b...
26.931034
70
0.71831
soramitsu
64e2ebd1dd0bb416a05e399cfdd7962ad294a613
193
cpp
C++
Chapter11/chapter11gt_05/main.cpp
PacktPublishing/Modern-C-Cookbook-Second-Edition
2b6aceba0f6dbd0607286315cb8c282500e68046
[ "MIT" ]
104
2017-05-10T17:13:11.000Z
2021-11-13T19:58:08.000Z
Chapter11/chapter11gt_05/main.cpp
maurodelazeri/Modern-Cpp-Programming-Cookbook
141d327169e12fc30fe09de0cd041057b00fe4b8
[ "MIT" ]
2
2020-09-21T13:42:35.000Z
2020-12-07T08:06:39.000Z
Chapter11/chapter11gt_05/main.cpp
maurodelazeri/Modern-Cpp-Programming-Cookbook
141d327169e12fc30fe09de0cd041057b00fe4b8
[ "MIT" ]
51
2017-05-12T09:05:41.000Z
2022-02-17T14:30:51.000Z
#include <gtest/gtest.h> TEST(Sample, Test) { auto a = 42; ASSERT_EQ(a, 0); } int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
12.866667
42
0.621762
PacktPublishing
64e59e601ecc79a53e407c06f521aeee35395376
180
cpp
C++
src/sfHelperControl.cpp
ArthurClemens/SoundField
645f0a421ba719f253938c030dd1b4feb7ee6097
[ "MIT" ]
2
2018-07-02T04:00:02.000Z
2020-02-19T09:04:40.000Z
src/sfHelperControl.cpp
ArthurClemens/SoundField
645f0a421ba719f253938c030dd1b4feb7ee6097
[ "MIT" ]
null
null
null
src/sfHelperControl.cpp
ArthurClemens/SoundField
645f0a421ba719f253938c030dd1b4feb7ee6097
[ "MIT" ]
null
null
null
#include "sfHelperControl.h" void sfHelperControl::setLoc(ofPoint inLoc) { loc = inLoc; } void sfHelperControl::setClickLoc(ofPoint inClickLoc) { offset = inClickLoc - loc; }
16.363636
55
0.744444
ArthurClemens
64ea55e5413c2e13c5b5b3f2e74ef2b1600eddef
3,326
cpp
C++
demos/unassigned_or_unused/soft_to_hard_masking.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
409
2015-01-12T22:02:01.000Z
2022-03-29T06:17:05.000Z
demos/unassigned_or_unused/soft_to_hard_masking.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
1,269
2015-01-02T22:42:25.000Z
2022-03-08T13:31:46.000Z
demos/unassigned_or_unused/soft_to_hard_masking.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
193
2015-01-14T16:21:27.000Z
2022-03-19T22:47:02.000Z
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2018, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use...
38.229885
78
0.596512
JensUweUlrich
64eeba2ce8634682e7641d4ff6b31d4344365df0
362
cpp
C++
src/Functions/subtractMonths.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
15,577
2019-09-23T11:57:53.000Z
2022-03-31T18:21:48.000Z
src/Functions/subtractMonths.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
16,476
2019-09-23T11:47:00.000Z
2022-03-31T23:06:01.000Z
src/Functions/subtractMonths.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
3,633
2019-09-23T12:18:28.000Z
2022-03-31T15:55:48.000Z
#include <Functions/IFunction.h> #include <Functions/FunctionFactory.h> #include <Functions/FunctionDateOrDateTimeAddInterval.h> namespace DB { using FunctionSubtractMonths = FunctionDateOrDateTimeAddInterval<SubtractMonthsImpl>; void registerFunctionSubtractMonths(FunctionFactory & factory) { factory.registerF...
19.052632
85
0.823204
pdv-ru
64f7eacbbc11c51ce0ad8e5a65c1d1dc7792210b
19,166
cpp
C++
OREAnalytics/orea/aggregation/xvacalculator.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
335
2016-10-07T16:31:10.000Z
2022-03-02T07:12:03.000Z
OREAnalytics/orea/aggregation/xvacalculator.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
59
2016-10-31T04:20:24.000Z
2022-01-03T16:39:57.000Z
OREAnalytics/orea/aggregation/xvacalculator.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
180
2016-10-08T14:23:50.000Z
2022-03-28T10:43:05.000Z
/* Copyright (C) 2020 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
43.757991
133
0.656058
mrslezak
64f98d0fa33a59839306941618e3547b1c8a5b20
1,263
hpp
C++
topbar.hpp
mehhdiii/OOP-Game-City-Builder-CS-224-Spring-2020
91d74519505cb39b551a6fd18485516dbac2ec9c
[ "FTL" ]
1
2022-01-14T01:31:33.000Z
2022-01-14T01:31:33.000Z
topbar.hpp
mehhdiii/OOP-Game-City-Builder-CS-224-Spring-2020
91d74519505cb39b551a6fd18485516dbac2ec9c
[ "FTL" ]
null
null
null
topbar.hpp
mehhdiii/OOP-Game-City-Builder-CS-224-Spring-2020
91d74519505cb39b551a6fd18485516dbac2ec9c
[ "FTL" ]
2
2020-07-25T07:59:54.000Z
2022-03-29T02:35:51.000Z
#include "SDL.h" #include "unit.hpp" #include<string> #include<iostream> #include<vector> #include"draw_text.hpp" #pragma once class Topbar: public Unit{ private: int number_of_bars=4; // different number of sliders we can have int transition_in_stat_sprite =5; // indicates the number of stat...
34.135135
95
0.669834
mehhdiii
64fca62f0f95a23f120ea08345b41b27d5bd8740
11,127
cpp
C++
flashlight/fl/autograd/backend/cuda/RNN.cpp
imaginary-person/flashlight
30d45c1c8c0fbe335a2a9d1e4bab57847316b157
[ "BSD-3-Clause" ]
1
2021-09-29T06:24:41.000Z
2021-09-29T06:24:41.000Z
flashlight/fl/autograd/backend/cuda/RNN.cpp
pkassotis/flashlight
1061e1727c77fac644713047be4c2fb95c02fd55
[ "BSD-3-Clause" ]
5
2021-06-20T23:58:27.000Z
2021-07-09T17:45:07.000Z
flashlight/fl/autograd/backend/cuda/RNN.cpp
pkassotis/flashlight
1061e1727c77fac644713047be4c2fb95c02fd55
[ "BSD-3-Clause" ]
1
2022-01-12T06:48:28.000Z
2022-01-12T06:48:28.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "flashlight/fl/autograd/Functions.h" #include <cudnn.h> #include "flashlight/fl/autograd/Variable.h" #include "fla...
27.74813
80
0.626764
imaginary-person
64fd80b16b5d0947804a07a2b45459fd4fc0f35a
534
cpp
C++
C++/SubsetsofArray.cpp
codedoc7/hacktoberfest2021-3
ddf4e173b10d32332b3c6699de70d1e7bee73a68
[ "MIT" ]
2
2021-12-01T03:35:20.000Z
2022-02-11T01:10:22.000Z
C++/SubsetsofArray.cpp
codedoc7/hacktoberfest2021-3
ddf4e173b10d32332b3c6699de70d1e7bee73a68
[ "MIT" ]
null
null
null
C++/SubsetsofArray.cpp
codedoc7/hacktoberfest2021-3
ddf4e173b10d32332b3c6699de70d1e7bee73a68
[ "MIT" ]
1
2021-10-17T16:24:21.000Z
2021-10-17T16:24:21.000Z
#include<iostream> #include<math.h> using namespace std; int main(){ int n; cin >> n; int* arr = new int[n]; for(int i = 0 ; i < n; i++){ cin>>arr[i]; } int limit = pow(2, n); for (int i = 0; i < limit; i++) { for (int j = n-1; j >= 0; j--) { in...
14.833333
38
0.29588
codedoc7
8f01886c94162a358ee1a2c2033f824f111a561f
701
cpp
C++
tests/src/ScopedTimerTests.cpp
TemporalResearch/trlang
3bfb98e074cfcfd7f3f3dfe49afc7931f2366405
[ "MIT" ]
null
null
null
tests/src/ScopedTimerTests.cpp
TemporalResearch/trlang
3bfb98e074cfcfd7f3f3dfe49afc7931f2366405
[ "MIT" ]
null
null
null
tests/src/ScopedTimerTests.cpp
TemporalResearch/trlang
3bfb98e074cfcfd7f3f3dfe49afc7931f2366405
[ "MIT" ]
null
null
null
// // Created by Michael Lynch on 21/06/2021. // #include <trlang/timers/ScopedTimer.hpp> #include <auto_test.hpp> #include <catch2/catch.hpp> TRL_TIMER_GROUP( TEST_1, TEST_2); TEST_CASE("shouldDoSomething", "[ManualTest]") { trl::ScopedTimer<>::initTimers(); { trl::ScopedTimer<> tim...
18.447368
59
0.584879
TemporalResearch
8f073cce18390294b03a1273079cbf3e2c7745b1
1,505
cc
C++
src/abc181/e.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc181/e.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc181/e.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#ifdef _debug #define _GLIBCXX_DEBUG #endif #include <bits/stdc++.h> typedef long long ll; using namespace std; ll calc_diff(ll v, vector<ll> &w) { auto iter = lower_bound(w.begin(), w.end(), v); int i = distance(w.begin(), iter); vector<ll> cands; if(i == (int)w.size()) cands.push_back(w[i - 1...
25.508475
58
0.485714
nryotaro
8f09e9b0635be12ac9421df7c5e8dc6a531570c3
4,418
hpp
C++
Test/Service/Memory/Memory/Test/PoolShared.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Test/Service/Memory/Memory/Test/PoolShared.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Test/Service/Memory/Memory/Test/PoolShared.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <Testing/Testing.hpp> namespace Emergence::Memory::Test::Pool { struct TestItem { uint64_t integer; float floating; bool flag; }; template <typename Pool> struct FullPoolContext { static constexpr std::size_t PAGE_CAPACITY = 8u; static constexpr std::size_t PAGES_TO_FIL...
33.984615
120
0.585785
KonstantinTomashevich
557ce8f8b281fcc504e999b28331a0bac59a68a2
1,653
cpp
C++
thirdparty/AngelCode/sdk/tests/test_build_performance/source/test_basic.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
1
2021-07-25T15:10:39.000Z
2021-07-25T15:10:39.000Z
thirdparty/AngelCode/sdk/tests/test_build_performance/source/test_basic.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
thirdparty/AngelCode/sdk/tests/test_build_performance/source/test_basic.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
// // Test author: Andreas Jonsson // #include "utils.h" #include <string> using std::string; namespace TestBasic { #define TESTNAME "TestBasic" static const char *scriptBegin = "void main() \n" "{ ...
23.956522
83
0.506352
kcat
557d938411061f2c63c83ad3947f837a7524e3d8
1,302
cpp
C++
main.cpp
scottcrossen/datalog
0bc02da43ef1b993a660a82702b97c81c829e79c
[ "MIT" ]
null
null
null
main.cpp
scottcrossen/datalog
0bc02da43ef1b993a660a82702b97c81c829e79c
[ "MIT" ]
null
null
null
main.cpp
scottcrossen/datalog
0bc02da43ef1b993a660a82702b97c81c829e79c
[ "MIT" ]
null
null
null
#include "scanner.h" #include "parser.h" #include "parserclasses.h" #include "database.h" #include <iostream> using namespace std; int main(int argc, char* argv[]){ cout << "Program Compiled Successfully." << endl; string input_file; string output_file; if (argc>3 || argc <3){ cout << "Only " << argc-1 <...
27.702128
94
0.6851
scottcrossen
55810a306a81788a9d34a42415dc8e159aa8e62c
23,640
cpp
C++
thirdparty/geogram/src/lib/exploragram/hexdom/polygon.cpp
AmericaMakes/OASIS-marcwang
7aa10040251d7a1b807a773a45d123e1a52faac5
[ "BSD-2-Clause" ]
1
2021-03-07T14:47:09.000Z
2021-03-07T14:47:09.000Z
thirdparty/geogram/src/lib/exploragram/hexdom/polygon.cpp
AmericaMakes/OASIS-marcwang
7aa10040251d7a1b807a773a45d123e1a52faac5
[ "BSD-2-Clause" ]
null
null
null
thirdparty/geogram/src/lib/exploragram/hexdom/polygon.cpp
AmericaMakes/OASIS-marcwang
7aa10040251d7a1b807a773a45d123e1a52faac5
[ "BSD-2-Clause" ]
1
2021-03-07T00:24:57.000Z
2021-03-07T00:24:57.000Z
/* * OGF/Graphite: Geometry and Graphics Programming Library + Utilities * Copyright (C) 2000-2015 INRIA - Project ALICE * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either...
31.562083
166
0.572589
AmericaMakes
55888732f06171bdbcd4fcf63b7c1339a50da931
6,727
hpp
C++
cmake-build-debug/test/unit/mechanisms/test_kinlva.hpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/test/unit/mechanisms/test_kinlva.hpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/test/unit/mechanisms/test_kinlva.hpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cmath> #include <arbor/mechanism_abi.h> extern "C" { arb_mechanism_type make_testing_test_kinlva() { // Tables static arb_field_info globals[] = { { "gbar", "S / cm2", 0.0002, -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458...
149.488889
707
0.888658
anstaf
558d0896af3642b5812bf4a837d85454e1ac0dcd
675
cpp
C++
Part6/listing28_1/Listing28_1.cpp
erikyuzwa/learn-cpp-by-making-games
1ab87e2395245edc8f7bedab9f6afc5dadaedcaf
[ "Unlicense" ]
2
2020-04-24T08:26:09.000Z
2020-11-17T15:18:12.000Z
Part6/listing28_1/Listing28_1.cpp
erikyuzwa/learn-cpp-by-making-games
1ab87e2395245edc8f7bedab9f6afc5dadaedcaf
[ "Unlicense" ]
1
2020-11-22T19:40:08.000Z
2020-11-22T19:40:08.000Z
Part6/listing28_1/Listing28_1.cpp
erikyuzwa/learn-cpp-by-making-games
1ab87e2395245edc8f7bedab9f6afc5dadaedcaf
[ "Unlicense" ]
1
2021-07-28T16:05:20.000Z
2021-07-28T16:05:20.000Z
#include <iostream> using namespace std; class Airplane { public: int wheels; public: Airplane() { cout << "Airplane::Constructor()" << endl; wheels = 4; } void setWheels(int new_wheels) { wheels = new_wheels; } }; int main(int argc, cha...
16.875
72
0.551111
erikyuzwa
558e904f7e480afd16c57fd0a4d8b66fa36e151d
539
cpp
C++
Learning/Negative numbers shifting/Negative numbers shifting.cpp
LightTab2/Cpp-programs-archive
8ea128b199ff9b3a59f8309ebecc8759923f6de7
[ "CC0-1.0" ]
null
null
null
Learning/Negative numbers shifting/Negative numbers shifting.cpp
LightTab2/Cpp-programs-archive
8ea128b199ff9b3a59f8309ebecc8759923f6de7
[ "CC0-1.0" ]
null
null
null
Learning/Negative numbers shifting/Negative numbers shifting.cpp
LightTab2/Cpp-programs-archive
8ea128b199ff9b3a59f8309ebecc8759923f6de7
[ "CC0-1.0" ]
null
null
null
#include <iostream> bool nolog = false, nopause = false; int main(int argc, char *args[]) { for (int x = 0; x != argc; ++x) { if (args[x] == "-nolog") nolog = true; else if (args[x] == "-nopause") nopause = true; } int i = 0; std::cin >> i; for (int n = 0; n != 33; ++n) ...
22.458333
55
0.465677
LightTab2
5590315c8aed4ad3dabd3235a27ebefa642d52a0
1,361
cpp
C++
libs/ms/src/container/sv_db/pool_container.cpp
ITBE-Lab/ma
039e2833dd2e50df9285f183ff774bd87bbae710
[ "MIT" ]
40
2019-04-28T21:16:45.000Z
2022-02-05T05:54:47.000Z
libs/ms/src/container/sv_db/pool_container.cpp
ITBE-Lab/ma
039e2833dd2e50df9285f183ff774bd87bbae710
[ "MIT" ]
11
2019-04-28T22:29:12.000Z
2022-02-21T14:07:10.000Z
libs/ms/src/container/sv_db/pool_container.cpp
ITBE-Lab/ma
039e2833dd2e50df9285f183ff774bd87bbae710
[ "MIT" ]
2
2019-05-06T15:29:23.000Z
2021-01-08T13:22:17.000Z
#include "ms/container/sv_db/pool_container.h" #ifdef WITH_DB using namespace libMS; #ifdef WITH_PYTHON #include "ms/container/sv_db/py_db_conf.h" #include "pybind11_json/pybind11_json.hpp" void exportPoolContainer( SubmoduleOrganizer& xOrganizer ) { py::class_<PoolContainer<DBCon>, Container, std::shared_ptr<...
41.242424
115
0.640705
ITBE-Lab
55959369f97f125187ae85b7f187fa7af918a52e
1,681
cpp
C++
src/shared/engine/Check_Win_Command.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/shared/engine/Check_Win_Command.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/shared/engine/Check_Win_Command.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
#include "Check_Win_Command.h" // to use console #include <iostream> using namespace engine; using namespace state; using namespace std; Check_Win_Command::Check_Win_Command() { Id = CHECK_WIN; } Check_Win_Command::~Check_Win_Command() { } void Check_Win_Command::exec(state::State &state) { int winnedID...
25.089552
80
0.618679
Kuga23
559627849abb1ac1d1cbe07b22feb3443a6085a6
11,204
cpp
C++
source/compiler/transform.cpp
ChillMagic/ICM
a0ee83e5bbd2aef216cc28faa5d5dad36c99d606
[ "Apache-2.0" ]
9
2016-06-14T15:38:42.000Z
2017-09-03T09:08:17.000Z
source/compiler/transform.cpp
ChillMagic/ICM
a0ee83e5bbd2aef216cc28faa5d5dad36c99d606
[ "Apache-2.0" ]
1
2018-01-17T09:22:30.000Z
2018-01-17T10:10:42.000Z
source/compiler/transform.cpp
ChillMagic/ICM
a0ee83e5bbd2aef216cc28faa5d5dad36c99d606
[ "Apache-2.0" ]
null
null
null
#include "basic.h" #include "compiler/transform.h" #include "compiler/analysisbase.h" //#include "runtime/objectdef.h" #include "temp-getelement.h" namespace ICM { namespace Compiler { bool PrintCompilingProcess = false; class PreliminaryCompile : private AnalysisBase { public: PreliminaryCompile(NodeTa...
27.94015
86
0.598447
ChillMagic
559ded1f9e1faf8f48a170eb7c05c811071902f5
5,215
cpp
C++
libraries/animationHelper/handleScript.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
libraries/animationHelper/handleScript.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
libraries/animationHelper/handleScript.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************* * * * Vega FEM Simulation Library Version 4.0 * * * * "animationHelper"...
28.037634
86
0.437967
dyollb
559e18fcbd587c713d5bafd32b8bafa73cdafe63
1,372
cpp
C++
src/runtime_src/core/pcie/linux/plugin/xdp/hal_device_offload.cpp
Pratyushxilinx/XRT
3f5d02ce9fed8d75ff5135f27a82522e7ab3d388
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/pcie/linux/plugin/xdp/hal_device_offload.cpp
Pratyushxilinx/XRT
3f5d02ce9fed8d75ff5135f27a82522e7ab3d388
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/pcie/linux/plugin/xdp/hal_device_offload.cpp
Pratyushxilinx/XRT
3f5d02ce9fed8d75ff5135f27a82522e7ab3d388
[ "Apache-2.0" ]
null
null
null
#include <functional> #include "hal_device_offload.h" #include "core/common/module_loader.h" #include "core/common/dlfcn.h" namespace xdphaldeviceoffload { void load_xdp_hal_device_offload() { static xrt_core::module_loader xdp_hal_device_offload_loader("xdp_hal_device_offload_plugin", registe...
24.5
76
0.710641
Pratyushxilinx
55a42bf90acf08dc219bfa06b3639b32556b04d0
897
cpp
C++
Chapter9_Polymorphism1/9-1-2.cpp
estela19/CPP_Study
291d3a5f20b4d24e25f34d08f9a672985a66c092
[ "MIT" ]
null
null
null
Chapter9_Polymorphism1/9-1-2.cpp
estela19/CPP_Study
291d3a5f20b4d24e25f34d08f9a672985a66c092
[ "MIT" ]
null
null
null
Chapter9_Polymorphism1/9-1-2.cpp
estela19/CPP_Study
291d3a5f20b4d24e25f34d08f9a672985a66c092
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> class A { public: virtual std::string getTypeInfo() { std::string str = "This is an instance of class A"; return str; } }; class B : public A { public: virtual std::string getTypeInfo() { std::string str = "This is an instance of class B"; return str; } ...
18.6875
54
0.606466
estela19
55a8ae5d1a353ea57a86451bb1d7f7c1bd0e0c5f
1,696
cpp
C++
Tehnici Avansate de Programare (TAP)/Laborator/L3/3 (v1).cpp
DLarisa/FMI-Materials-BachelorDegree
138e1a20bc33617772e9cd9e4432fbae99c0250c
[ "W3C" ]
4
2022-02-12T02:05:36.000Z
2022-03-26T14:44:43.000Z
Tehnici Avansate de Programare (TAP)/Laborator/L3/3 (v1).cpp
DLarisa/FMI-Materials-BachelorDegree-UniBuc
138e1a20bc33617772e9cd9e4432fbae99c0250c
[ "W3C" ]
null
null
null
Tehnici Avansate de Programare (TAP)/Laborator/L3/3 (v1).cpp
DLarisa/FMI-Materials-BachelorDegree-UniBuc
138e1a20bc33617772e9cd9e4432fbae99c0250c
[ "W3C" ]
null
null
null
#include <iostream> //O(log(min(n, m))) #include <algorithm> using namespace std; //Mediana dintre 2 vectori (n=lungime a <= m=lungime b) double mediana(int a[], int b[], int n, int m) //O(log(n)) { int a_min=0, a_max=n, l=(n+m+1)/2, i, j; while(a_min<=a_max) //mereu se va injumatati vectorul cu lungime ...
32
120
0.48467
DLarisa
55acc3d36186c74d1d9667fa4eca2e53abba5d4f
468
cpp
C++
src/brew/math/Math.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
1
2018-02-09T16:20:50.000Z
2018-02-09T16:20:50.000Z
src/brew/math/Math.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
null
null
null
src/brew/math/Math.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
null
null
null
/** * * |_ _ _ * |_)| (/_VV * * Copyright 2015-2018 Marcus v. Keil * * Created on: Feb 11, 2016 * */ #include <brew/math/Math.h> namespace brew { namespace math { const Real EPSILON = std::numeric_limits<Real>::epsilon(); const Real PI = 3.1415926535897932f; const Real HALF_PI = PI * 0.5f; const Real T...
16.137931
58
0.619658
grrrrunz
55aec24ae07d08e6bb68efa367b9513e9ea6d164
9,205
cpp
C++
profiler/src/ProfilerEngine/Datadog.Profiler.Native/StackFramesCollectorBase.cpp
cwe1ss/dd-trace-dotnet
ed74cf794cb02fb698567052caae973870b82428
[ "Apache-2.0" ]
null
null
null
profiler/src/ProfilerEngine/Datadog.Profiler.Native/StackFramesCollectorBase.cpp
cwe1ss/dd-trace-dotnet
ed74cf794cb02fb698567052caae973870b82428
[ "Apache-2.0" ]
2
2022-02-10T06:13:13.000Z
2022-02-17T01:31:15.000Z
profiler/src/ProfilerEngine/Datadog.Profiler.Native/StackFramesCollectorBase.cpp
Kielek/signalfx-dotnet-tracing
80c65ca936748788629287472401fa9f31b79410
[ "Apache-2.0" ]
null
null
null
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2022 Datadog, Inc. #include "StackFramesCollectorBase.h" #include <assert.h> #include <chrono> #include <condition_...
41.463964
145
0.726996
cwe1ss
55b4cd2297148e74b96786957b29bd4b7116e404
378
hpp
C++
include/ActionControlsListener.hpp
InversePalindrome/Rampancy
e228f8c16f0608b9f20a3904f4c5f19aa2076934
[ "MIT" ]
1
2018-03-23T02:25:24.000Z
2018-03-23T02:25:24.000Z
include/ActionControlsListener.hpp
InversePalindrome/Rampancy
e228f8c16f0608b9f20a3904f4c5f19aa2076934
[ "MIT" ]
null
null
null
include/ActionControlsListener.hpp
InversePalindrome/Rampancy
e228f8c16f0608b9f20a3904f4c5f19aa2076934
[ "MIT" ]
null
null
null
/* Copyright (c) 2017 InversePalindrome Rampancy - SettingsState.cpp InversePalindrome.com */ #pragma once #include "Events.hpp" #include "InputManager.hpp" struct ActionControlsListener { ActionControlsListener(InputManager* inputManager); void receive(const KeyPressed& event); In...
16.434783
56
0.716931
InversePalindrome
55b7c3784608f6aeaf7d8b56eb84d0f77f3d4d4b
387
cpp
C++
alert_in_Cocoa.cpp
agancsos/cpp
08ad758f71d899027d6891dca5bed24bf02bbc81
[ "MIT" ]
null
null
null
alert_in_Cocoa.cpp
agancsos/cpp
08ad758f71d899027d6891dca5bed24bf02bbc81
[ "MIT" ]
null
null
null
alert_in_Cocoa.cpp
agancsos/cpp
08ad758f71d899027d6891dca5bed24bf02bbc81
[ "MIT" ]
null
null
null
- (void) alert:(NSString*)message{ NSAlert *alert = [[[NSAlert alloc] init] autorelease]; [alert addButtonWithTitle:@\"OK\"]; [alert setMessageText:@\"Error....\"]; [alert setInformativeText:message]; [alert setAlertStyle:NSWarningAlertStyle]; [alert beginSheetModalForWindow:_window modalD...
35.181818
106
0.684755
agancsos
55b9edc87798a7028096212e073eaf233408fc4b
285
cpp
C++
src/fem/maplocal.cpp
XiaoMaResearch/hybrid_tsunamic_plane_stress
574988edfcd4839f680b85cde2bf818936e86b78
[ "MIT" ]
6
2019-04-12T19:51:23.000Z
2021-09-16T07:12:57.000Z
src/fem/maplocal.cpp
XiaoMaResearch/hybrid_tsunamic_plane_stress
574988edfcd4839f680b85cde2bf818936e86b78
[ "MIT" ]
null
null
null
src/fem/maplocal.cpp
XiaoMaResearch/hybrid_tsunamic_plane_stress
574988edfcd4839f680b85cde2bf818936e86b78
[ "MIT" ]
1
2019-07-07T07:23:58.000Z
2019-07-07T07:23:58.000Z
// // maplocal.cpp // hybrid_fem_bie // // Created by Max on 2/6/18. // // #include "maplocal.hpp" void maplocal(const ArrayXi &index, const VectorXd &u_global , VectorXd & u_local) { for (int i=0;i<u_local.size();i++) { u_local(i)=u_global(index(i)); } }
15.833333
82
0.592982
XiaoMaResearch
55bc13b31463ccc08047dbe384fb2d272c8e33da
8,156
cpp
C++
RT/RT/Impl/JsonSerialization.cpp
heyx3/heyx3RT
4dd476a33e658bc19fde239f2c6e22bdcd598e27
[ "Unlicense", "MIT" ]
null
null
null
RT/RT/Impl/JsonSerialization.cpp
heyx3/heyx3RT
4dd476a33e658bc19fde239f2c6e22bdcd598e27
[ "Unlicense", "MIT" ]
null
null
null
RT/RT/Impl/JsonSerialization.cpp
heyx3/heyx3RT
4dd476a33e658bc19fde239f2c6e22bdcd598e27
[ "Unlicense", "MIT" ]
null
null
null
#include "../Headers/JsonSerialization.h" #include "../Headers/ThirdParty/base64.h" #include <fstream> using namespace RT; #pragma warning( disable : 4996 ) bool RT_API JsonSerialization::ToJSONFile(const String& filePath, const IWritable& toWrite, bool compact, String& o...
27.461279
101
0.611574
heyx3
55bcc14b851caec9910c7842d229687cbc189cee
2,802
cpp
C++
examples/client/qtest1.cpp
pauldotknopf/grpc-qt
c6e0e38ea4130ac2b8ae5f441bd78dd7ead274e4
[ "MIT" ]
null
null
null
examples/client/qtest1.cpp
pauldotknopf/grpc-qt
c6e0e38ea4130ac2b8ae5f441bd78dd7ead274e4
[ "MIT" ]
null
null
null
examples/client/qtest1.cpp
pauldotknopf/grpc-qt
c6e0e38ea4130ac2b8ae5f441bd78dd7ead274e4
[ "MIT" ]
null
null
null
#include "qtest1.h" #include "proto/gen.grpc.pb.h" #include <grpc++/grpc++.h> #include <QDebug> class QTest1Private { public: QTest1Private() : objectId(0) { } std::unique_ptr<Tests::Test1ObjectService::Stub> test1ObjectService; grpc::ClientContext objectRequestContext; std::unique_ptr<grpc::Clien...
31.133333
106
0.662384
pauldotknopf
55be13fd0b9eff80a6b947e9c507e0ae15e695ce
5,258
cc
C++
src/filesystem.cc
V-FEXrt/fexware
3dabd7a161a103710482a0d89e594c665cf8c2fc
[ "MIT" ]
1
2022-01-22T20:26:10.000Z
2022-01-22T20:26:10.000Z
src/filesystem.cc
V-FEXrt/fexware
3dabd7a161a103710482a0d89e594c665cf8c2fc
[ "MIT" ]
null
null
null
src/filesystem.cc
V-FEXrt/fexware
3dabd7a161a103710482a0d89e594c665cf8c2fc
[ "MIT" ]
null
null
null
#include "filesystem.h" #include <stdio.h> #include <string> #include <string.h> #include <vector> #include "ff.h" #include "flash.h" #define DRIVE_NAME "MiRage" namespace fex { bool Filesystem::Initialize() { FRESULT fr; if (!Mount()) { printf("Initialzing filesystem.\n...
25.157895
104
0.471092
V-FEXrt
55be8c3075caa2afc85c290ec5c232c092b2dfea
682
cpp
C++
Chapter7-Quicksort/quicksort.cpp
wr47h/CLRS_Algorithms
91193e8382cd54398ab1ca397ef72069754a1dc6
[ "MIT" ]
null
null
null
Chapter7-Quicksort/quicksort.cpp
wr47h/CLRS_Algorithms
91193e8382cd54398ab1ca397ef72069754a1dc6
[ "MIT" ]
null
null
null
Chapter7-Quicksort/quicksort.cpp
wr47h/CLRS_Algorithms
91193e8382cd54398ab1ca397ef72069754a1dc6
[ "MIT" ]
1
2019-10-05T08:07:06.000Z
2019-10-05T08:07:06.000Z
#include <iostream> using namespace std; int partitionAr(int a[], int p, int r) { int x = a[r-1]; int i = p-1; for(int j=p; j<r-1; j++) { if(a[j]<x) { i = i+1; swap(a[i], a[j]); } } swap(a[i+1], a[r-1]); return i+1; } void quicksort(int a[], int p, int ...
17.487179
40
0.422287
wr47h
55c259700f72ab9818969086f7640bcd55729c9c
723
cpp
C++
ACM-ICPC/9095.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/9095.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/9095.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> int t, n; int dp[101]; // 1, 2, 3을 더해서 n을 표현하는 방법의 가지수를 d[n] // dp[x를 1로 만드는 경우의 수] // dp[x를 2로 만드는 경우의 수] // dp[x를 3로 만드는 경우의 수] // 전부 더 하면 된다 int topDown(int x) { if (x == 0) { dp[x] = 1; } if (x == 1) { dp[x] = 1; } if (x == 2) { dp[x] = 2; } if (x >= 3) { ...
15.717391
60
0.427386
KimBoWoon
55c7914ac972ba20c5722877f6435b4433fa2088
4,244
hpp
C++
src/operators/math/common.hpp
LLNL/LBANN
8bcc5d461e52de70e329d73081ca7eee3e5c580a
[ "Apache-2.0" ]
null
null
null
src/operators/math/common.hpp
LLNL/LBANN
8bcc5d461e52de70e329d73081ca7eee3e5c580a
[ "Apache-2.0" ]
null
null
null
src/operators/math/common.hpp
LLNL/LBANN
8bcc5d461e52de70e329d73081ca7eee3e5c580a
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2022, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
34.504065
80
0.622526
LLNL
55ca097a2cb125bcf15c83e8dc1898eb75d759a3
12,111
cpp
C++
tests/ship_log.cpp
abitmore/mandel
dfa3c92a713e7a093fc671fefa453a3033e27b0a
[ "MIT" ]
60
2022-01-03T18:41:12.000Z
2022-03-25T07:08:19.000Z
tests/ship_log.cpp
abitmore/mandel
dfa3c92a713e7a093fc671fefa453a3033e27b0a
[ "MIT" ]
37
2022-01-13T22:23:58.000Z
2022-03-31T13:32:38.000Z
tests/ship_log.cpp
abitmore/mandel
dfa3c92a713e7a093fc671fefa453a3033e27b0a
[ "MIT" ]
11
2022-01-14T21:14:11.000Z
2022-03-25T07:08:29.000Z
#include <boost/test/unit_test.hpp> #include <boost/test/data/test_case.hpp> #include <boost/test/data/monomorphic.hpp> #include <boost/test/data/monomorphic/generators/xrange.hpp> #include <fc/io/raw.hpp> #include <fc/bitutil.hpp> #include <eosio/state_history/log.hpp> namespace bdata = boost::unit_test::data; str...
31.787402
200
0.645199
abitmore
55ccb4ada59dd2d371ffe65fbd7676ba1663dd12
4,503
cpp
C++
third_party/libosmium/test/t/geom/test_wkt.cpp
peterkist-tinker/osrm-backend-appveyor-test
1891d7379c1d524ea6dc5a8d95e93f4023481a07
[ "BSD-2-Clause" ]
1
2017-04-15T22:58:23.000Z
2017-04-15T22:58:23.000Z
third_party/libosmium/test/t/geom/test_wkt.cpp
peterkist-tinker/osrm-backend-appveyor-test
1891d7379c1d524ea6dc5a8d95e93f4023481a07
[ "BSD-2-Clause" ]
1
2019-11-21T09:59:27.000Z
2019-11-21T09:59:27.000Z
osrm-ch/third_party/libosmium/test/t/geom/test_wkt.cpp
dingchunda/osrm-backend
8750749b83bd9193ca3481c630eefda689ecb73c
[ "BSD-2-Clause" ]
1
2021-08-04T02:32:10.000Z
2021-08-04T02:32:10.000Z
#include "catch.hpp" #include <osmium/geom/wkt.hpp> #include "area_helper.hpp" #include "wnl_helper.hpp" TEST_CASE("WKT_Geometry") { SECTION("point") { osmium::geom::WKTFactory<> factory; std::string wkt {factory.create_point(osmium::Location(3.2, 4.2))}; REQUIRE(std::string{"POINT(3.2 4.2)"} == wkt); ...
32.868613
171
0.663113
peterkist-tinker
55d7dd7bfc763cff9b055f61848c80a1df1c274c
55,452
cc
C++
src/main/log/log0ddl.cc
xiaoma20082008/innodb
62f1cf0a1e249fbd867fbdc2f09816aa8cef4acd
[ "Apache-2.0" ]
null
null
null
src/main/log/log0ddl.cc
xiaoma20082008/innodb
62f1cf0a1e249fbd867fbdc2f09816aa8cef4acd
[ "Apache-2.0" ]
null
null
null
src/main/log/log0ddl.cc
xiaoma20082008/innodb
62f1cf0a1e249fbd867fbdc2f09816aa8cef4acd
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** Copyright (c) 2017, 2021, Oracle and/or its affiliates. Portions of this file contain modifications contributed and copyrighted by Google, Inc. Those modifications are gratefully acknowledged and are described briefly in the InnoDB documen...
28.291837
80
0.670995
xiaoma20082008
55d8dc189146a8414e2bd3eef0c7c58e4c2fa6bd
821
cc
C++
vendor/chromium/base/profiler/profile_builder.cc
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
5,411
2017-04-14T08:57:56.000Z
2022-03-30T19:35:15.000Z
vendor/chromium/base/profiler/profile_builder.cc
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
802
2017-04-21T14:18:36.000Z
2022-03-31T21:20:48.000Z
vendor/chromium/base/profiler/profile_builder.cc
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
2,011
2017-04-14T09:44:15.000Z
2022-03-31T15:40:39.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/profiler/profile_builder.h" namespace base { const size_t ProfileBuilder::MAX_METADATA_COUNT; ProfileBuilder::MetadataItem::MetadataItem...
34.208333
80
0.694275
thorium-cfx
55d92902035bee0e07c3f8779565175d56239f57
752
hpp
C++
boost/network/protocol/http/traits/connection_keepalive.hpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
3
2015-02-10T22:08:08.000Z
2021-11-13T20:59:25.000Z
include/boost/network/protocol/http/traits/connection_keepalive.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
include/boost/network/protocol/http/traits/connection_keepalive.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
// Copyright (c) Dean Michael Berris 2010. // 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 BOOST_NETWORK_PROTOCOL_HTTP_TRAITS_CONECTION_KEEPALIVE_20091218 #define BOOST_NETWORK_PRO...
30.08
73
0.74734
antoinelefloch
55da0c41e5c7d7bfafb4e9ad99bc5234ce32a6d8
1,433
cpp
C++
generated/src/ModuleInterface.cpp
MMX-World/vnx-base
c806599e630e17928e8c2d9271e896797a069ba2
[ "Apache-2.0" ]
null
null
null
generated/src/ModuleInterface.cpp
MMX-World/vnx-base
c806599e630e17928e8c2d9271e896797a069ba2
[ "Apache-2.0" ]
2
2022-02-07T05:19:09.000Z
2022-03-24T18:44:37.000Z
generated/src/ModuleInterface.cpp
MMX-World/vnx-base
c806599e630e17928e8c2d9271e896797a069ba2
[ "Apache-2.0" ]
1
2022-01-22T21:30:26.000Z
2022-01-22T21:30:26.000Z
// AUTO GENERATED by vnxcppcodegen #include <vnx/package.hxx> #include <vnx/ModuleInterface.hxx> #include <vnx/ModuleInfo.hxx> #include <vnx/ModuleInterface_vnx_get_config.hxx> #include <vnx/ModuleInterface_vnx_get_config_return.hxx> #include <vnx/ModuleInterface_vnx_get_config_object.hxx> #include <vnx/ModuleInterfa...
32.568182
72
0.836706
MMX-World
55dae1a01cdd017f36227863375e21aff2332ee6
482
hpp
C++
include/Thread.hpp
Kiloris/Complot_Game
81247c6c13d7921a9cc01b765ab3a4a5924c2391
[ "MIT" ]
null
null
null
include/Thread.hpp
Kiloris/Complot_Game
81247c6c13d7921a9cc01b765ab3a4a5924c2391
[ "MIT" ]
null
null
null
include/Thread.hpp
Kiloris/Complot_Game
81247c6c13d7921a9cc01b765ab3a4a5924c2391
[ "MIT" ]
null
null
null
/* ** COMPLOT PROJECT ** AUTHOR: ** Zacharie ABIDAT */ #ifndef THREAD_HPP_ #define THREAD_HPP_ #include <pthread.h> class IThread { public: virtual ~IThread() {} virtual void run() = 0; }; class Thread : public IThread{ public: Thread(); ~Thread(); virtual void launchThread...
15.548387
44
0.60166
Kiloris
55dbc9b949953d785ad81490982842118873a7e2
1,802
hpp
C++
libraries/chain/include/blurt/chain/steem_evaluator.hpp
Blurt-Blockchain/steem
fbffd373cdb0f6192aa8806d07e8671e219c3767
[ "MIT" ]
2
2020-04-21T03:10:06.000Z
2020-04-21T05:49:46.000Z
libraries/chain/include/blurt/chain/steem_evaluator.hpp
Blurt-Blockchain/steem
fbffd373cdb0f6192aa8806d07e8671e219c3767
[ "MIT" ]
4
2020-04-22T05:14:18.000Z
2020-04-22T07:59:20.000Z
libraries/chain/include/blurt/chain/steem_evaluator.hpp
Blurt-Blockchain/steem
fbffd373cdb0f6192aa8806d07e8671e219c3767
[ "MIT" ]
2
2020-04-22T05:04:29.000Z
2020-10-23T13:58:19.000Z
#pragma once #include <blurt/protocol/blurt_operations.hpp> #include <blurt/chain/evaluator.hpp> namespace blurt { namespace chain { using namespace blurt::protocol; BLURT_DEFINE_EVALUATOR( account_create ) BLURT_DEFINE_EVALUATOR( account_update ) BLURT_DEFINE_EVALUATOR( transfer ) BLURT_DEFINE_EVALUATOR( transfer...
36.04
54
0.870144
Blurt-Blockchain
55dbcf7336d1b63c59e5a4a5caca1dca31f253f4
5,482
cpp
C++
src/low-level/syscall/syscall.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
5
2021-12-21T19:17:00.000Z
2022-03-10T17:56:59.000Z
src/low-level/syscall/syscall.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
src/low-level/syscall/syscall.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
#include "syscall.hpp" #include "process/Process.hpp" #include "registers/Registers.hpp" #include "gdt/gdt.hpp" #include "debug.hpp" #include "threading/lock.hpp" typedef int64_t (*SyscallPointer)(InterruptStack *stack); int64_t KNotImplemented(InterruptStack *stack); int64_t SyscallWrite(InterruptStack *stack); int6...
42.828125
109
0.78931
LittleCodingFox
55ddbd54e78e8734201e4035a2672efa301a7b0f
4,420
cpp
C++
test/vector3d_unittest.cpp
sslnjz/geodesy
c7acc47903a22b12c0fca65fd0e7e8fea122af25
[ "MIT" ]
2
2021-11-23T05:39:48.000Z
2021-12-06T02:53:53.000Z
test/vector3d_unittest.cpp
sslnjz/geodesy
c7acc47903a22b12c0fca65fd0e7e8fea122af25
[ "MIT" ]
null
null
null
test/vector3d_unittest.cpp
sslnjz/geodesy
c7acc47903a22b12c0fca65fd0e7e8fea122af25
[ "MIT" ]
null
null
null
/********************************************************************************** * MIT License * * * * Copyright (c) 2021 Binbin Song <ssln.jzs@gmail.com> ...
58.933333
104
0.53371
sslnjz
55de142e845e9442ba0fb0f5ec164f7c8184479c
559
cpp
C++
Leetcode/0649. Dota2 Senate/0649.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0649. Dota2 Senate/0649.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0649. Dota2 Senate/0649.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: string predictPartyVictory(string senate) { const int n = senate.length(); queue<int> qR; queue<int> qD; for (int i = 0; i < n; ++i) if (senate[i] == 'R') qR.push(i); else qD.push(i); while (!qR.empty() && !qD.empty()) { const int index...
19.964286
45
0.49195
Next-Gen-UI
55e11381a3a3893852125e31bfc28f51128c99c1
2,856
cpp
C++
problemsets/SPOJ/SPOJ - BR/FAZENDMG.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/SPOJ/SPOJ - BR/FAZENDMG.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/SPOJ/SPOJ - BR/FAZENDMG.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> using namespace std; short M[1510][1510]; int X[30], Y[30], L[30], C[30]; int id = 1; int dx[] = { -1, 0, 1, 0}; int dy[] = { 0, -1, 0, 1}; int get_int() { int ch, i, s; while (((ch = getchar()) == ' ')...
29.443299
89
0.272409
juarezpaulino
55e7a3f929e1be27d2d46879189b9939b1b1937a
4,381
cpp
C++
Vic2ToHoI4Tests/HoI4WorldTests/Diplomacy/Hoi4WarTests.cpp
gawquon/Vic2ToHoI4
8371cfb1fd57cf81d854077963135d8037e754eb
[ "MIT" ]
25
2018-12-10T03:41:49.000Z
2021-10-04T10:42:36.000Z
Vic2ToHoI4Tests/HoI4WorldTests/Diplomacy/Hoi4WarTests.cpp
gawquon/Vic2ToHoI4
8371cfb1fd57cf81d854077963135d8037e754eb
[ "MIT" ]
739
2018-12-13T02:01:20.000Z
2022-03-28T02:57:13.000Z
Vic2ToHoI4Tests/HoI4WorldTests/Diplomacy/Hoi4WarTests.cpp
Osariusz/Vic2ToHoI4
9738b52c7602b1fe187c3820660c58a8d010d87e
[ "MIT" ]
43
2018-12-10T03:41:58.000Z
2022-03-22T23:55:41.000Z
#include "HOI4World/Diplomacy/HoI4War.h" #include "Mappers/Country/CountryMapperBuilder.h" #include "Mappers/Provinces/ProvinceMapperBuilder.h" #include "gtest/gtest.h" #include <sstream> TEST(HoI4World_Diplomacy_WarTests, allItemsDefaultToEmpty) { const HoI4::War war(Vic2::War({}), *Mappers::CountryMapper::Buil...
29.402685
104
0.681123
gawquon
55ec3815bfbac09f5c488feb8a4071b06ee75204
191
cpp
C++
src/LevelSetSeg.cpp
Bas94/SegmentationMethodsForMedicalImageAnalysis
c14514e76ca89eb6fc08374177809518d7762d64
[ "MIT" ]
1
2020-12-14T07:52:10.000Z
2020-12-14T07:52:10.000Z
src/LevelSetSeg.cpp
Bas94/SegmentationMethodsForMedicalImageAnalysis
c14514e76ca89eb6fc08374177809518d7762d64
[ "MIT" ]
10
2017-10-18T14:27:29.000Z
2017-11-29T15:18:30.000Z
src/LevelSetSeg.cpp
Bas94/SegmentationMethodsForMedicalImageAnalysis
c14514e76ca89eb6fc08374177809518d7762d64
[ "MIT" ]
null
null
null
#include "LevelSetSeg.h" #include "itkGeodesicActiveContourLevelSetImageFilter.h" #include "itkSigmoidImageFilter.h" #include "itkBinaryThresholdImageFilter.h" namespace LevelSetSeg { }
17.363636
56
0.816754
Bas94
55ee723a422e0db480a58c922697178bd51523bb
970
cpp
C++
atcoder/others/code_festival/2017/final/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/others/code_festival/2017/final/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/others/code_festival/2017/final/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1}; int main() { s...
18.301887
58
0.380412
yu3mars
55ef18a71e9fbb2aadafc4d81253e75721ea77d6
6,460
cpp
C++
Source/Memory.cpp
EzraIII/witness-randomizer
8f3973faf182edc90c88a9e76b8bf3cf158819cf
[ "MIT" ]
null
null
null
Source/Memory.cpp
EzraIII/witness-randomizer
8f3973faf182edc90c88a9e76b8bf3cf158819cf
[ "MIT" ]
null
null
null
Source/Memory.cpp
EzraIII/witness-randomizer
8f3973faf182edc90c88a9e76b8bf3cf158819cf
[ "MIT" ]
null
null
null
#include "Memory.h" #include <psapi.h> #include <tlhelp32.h> #include <iostream> #include <string> #include <cassert> #undef PROCESSENTRY32 #undef Process32Next Memory::Memory(const std::wstring& processName) : _processName(processName) {} Memory::~Memory() { if (_threadActive) { _threadAct...
33.128205
149
0.606811
EzraIII
55f0ac2acb4d8bb638cdcbb11613c91d8837daae
328
cpp
C++
lib/qos/qos_one_handler.cpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
2
2019-09-08T11:59:05.000Z
2019-12-04T09:29:43.000Z
lib/qos/qos_one_handler.cpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
11
2019-06-08T20:13:58.000Z
2019-12-17T12:03:01.000Z
lib/qos/qos_one_handler.cpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
2
2019-12-04T08:06:27.000Z
2021-06-03T21:24:40.000Z
// // Created by pmqtt on 2019-07-06. // #include <lib/mqtt/mqtt_static_package.hpp> #include "qos_one_handler.hpp" void pmq::qos_one_handler::handle(std::shared_ptr<pmq::storage> & storage,pmq::mqtt_publish *msg) { auto socket = msg->get_socket(); pmq::mqtt_puback ack(socket); ack.send(msg->get_message_i...
25.230769
99
0.704268
pmqtt
55f24d1462553c75a09cc9f8dfa2e3082db86827
596
cpp
C++
labs/3/lab2/CodeFromLab/PlanetStruct.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
labs/3/lab2/CodeFromLab/PlanetStruct.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
labs/3/lab2/CodeFromLab/PlanetStruct.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include "PlanetStruct.h" #include <string.h> #include <iostream> PlanetStruct getPlanet(const char *name, unsigned long long dist, unsigned long long diam, unsigned long long mass) { PlanetStruct result; strcpy(result.name, name); result.distan...
22.923077
42
0.525168
triffon
55f49bfdd43d444243420011315fb771d9d44c87
492
cpp
C++
LeetCode/C++/58. Length of Last Word.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/58. Length of Last Word.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/58. Length of Last Word.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 4 ms, faster than 92.11% of C++ online submissions for Length of Last Word. //Memory Usage: 6.4 MB, less than 92.88% of C++ online submissions for Length of Last Word. class Solution { public: int lengthOfLastWord(string s) { int ans = 0; int n = s.size(); int i = n-1; ...
24.6
91
0.45935
shreejitverma
55f92b7b8fe7e0c134cc7035905d65c5d8cbdc73
1,158
cc
C++
lib/src/test_connection_parameters.cc
MikaelSmith/pcp-test
7f830e0dc0d7128a5db3c660503f719cf80a5345
[ "Apache-2.0" ]
null
null
null
lib/src/test_connection_parameters.cc
MikaelSmith/pcp-test
7f830e0dc0d7128a5db3c660503f719cf80a5345
[ "Apache-2.0" ]
1
2016-09-09T10:56:21.000Z
2016-09-09T13:43:24.000Z
lib/src/test_connection_parameters.cc
MikaelSmith/pcp-test
7f830e0dc0d7128a5db3c660503f719cf80a5345
[ "Apache-2.0" ]
4
2016-08-25T10:18:46.000Z
2021-03-26T11:47:21.000Z
#include <pcp-test/test_connection_parameters.hpp> namespace pcp_test{ namespace connection_test_parameters { const std::string NUM_RUNS {"num-runs"}; const std::string INTER_RUN_PAUSE_MS {"inter-run-pause-ms"}; const std::string NUM_ENDPOINTS {"num-endpoints"}; const std::string INTER_ENDPOINT_PAUSE_MS {"inter-endpo...
48.25
84
0.801382
MikaelSmith
55f9445367efcad1e4fab55eb10bbb687ea4f603
26,477
cpp
C++
asteria/src/library/filesystem.cpp
usama-makhzoum/asteria
ea4c893a038e0c5bef14d4d9f6723124a0cbb30f
[ "BSD-3-Clause" ]
null
null
null
asteria/src/library/filesystem.cpp
usama-makhzoum/asteria
ea4c893a038e0c5bef14d4d9f6723124a0cbb30f
[ "BSD-3-Clause" ]
null
null
null
asteria/src/library/filesystem.cpp
usama-makhzoum/asteria
ea4c893a038e0c5bef14d4d9f6723124a0cbb30f
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018 - 2021, LH_Mouse. All wrongs reserved. #include "../precompiled.hpp" #include "filesystem.hpp" #include "../runtime/argument_reader.hpp" #include "../runtime/global_context.hpp" #include "../llds/reference_stack.hpp" #include "../utils.hpp" #include <sys/stat.h> // ::...
31.823317
96
0.573252
usama-makhzoum
55fb962e26ea473cdcfb19eec98b40f639cd3a49
1,223
hpp
C++
Dev/stringbuilder.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
Dev/stringbuilder.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
Dev/stringbuilder.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "string.hpp" namespace jht { /// @brief Provides functionality to conveniently and efficiently chain strings together class StringBuilder { private: static const size_t BUFFERSIZE = 128; static const size_t SINGLETHRESHHOLD = BUFFERSIZE / 4; std::vector<String> m_Sect...
26.021277
114
0.713818
Joseph-Heetel
55fd7fff99597802703d07d285d62db43afca695
5,961
cc
C++
pentago/base/superscore.cc
girving/pentago-learn
b28399aed8a77152786e97e62ee3e3a8c384af2a
[ "BSD-3-Clause" ]
41
2015-01-25T14:37:39.000Z
2022-02-23T16:29:18.000Z
pentago/base/superscore.cc
girving/pentago-learn
b28399aed8a77152786e97e62ee3e3a8c384af2a
[ "BSD-3-Clause" ]
1
2019-07-12T22:35:53.000Z
2019-07-12T22:35:53.000Z
pentago/base/superscore.cc
girving/pentago-learn
b28399aed8a77152786e97e62ee3e3a8c384af2a
[ "BSD-3-Clause" ]
2
2015-05-06T11:04:40.000Z
2017-04-18T00:22:11.000Z
// Operations on functions from rotations to scores #include "pentago/base/superscore.h" #include "pentago/base/score.h" #include "pentago/utility/array.h" #include "pentago/utility/debug.h" #include "pentago/utility/range.h" #include <numeric> #include "pentago/utility/random.h" #include <cmath> namespace pentago { ...
35.694611
123
0.630767
girving
55fe1a21fdf4657aa0ea6064b0c3a3502809458a
9,966
hpp
C++
include/geometry/visualizeRviz.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
include/geometry/visualizeRviz.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
include/geometry/visualizeRviz.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
#ifndef _VISUALIZE_RVIZ_HPP_ #define _VISUALIZE_RVIZ_HPP_ #ifdef __cplusplus #include <string> #include <visualization_msgs/Marker.h> #include <visualization_msgs/MarkerArray.h> namespace lsfm { template < class MyLine3Dsegment, class FT> void visualizeLinesRviz(const std::vector<MyLine3Dsegment> line3Se...
32.462541
200
0.536825
waterben
360a4e0c443d4b1e1bed41cd51426a1b6a4a762a
4,134
cpp
C++
ige/src/asset/Texture.cpp
Arcahub/ige
b9f61209c924c7b683d2429a07e76251e6eb7b1b
[ "MIT" ]
3
2021-06-05T00:36:50.000Z
2022-02-27T10:23:53.000Z
ige/src/asset/Texture.cpp
Arcahub/ige
b9f61209c924c7b683d2429a07e76251e6eb7b1b
[ "MIT" ]
11
2021-05-08T22:00:24.000Z
2021-11-11T22:33:43.000Z
ige/src/asset/Texture.cpp
Arcahub/ige
b9f61209c924c7b683d2429a07e76251e6eb7b1b
[ "MIT" ]
4
2021-05-20T12:41:23.000Z
2021-11-09T14:19:18.000Z
#include "igepch.hpp" #include "ige/asset/Texture.hpp" #define STB_IMAGE_IMPLEMENTATION #define STBI_FAILURE_USERMSG #include "stb_image.h" #include <cerrno> #include <cstddef> #include <cstring> #include <filesystem> #include <fstream> using ige::asset::Texture; Texture::Texture(Format format, std::size_t width, st...
19.971014
78
0.619981
Arcahub
361029e1cb1172698f778e4766c21af6648e6cae
4,000
cc
C++
lib/jflags_deprecated.cc
jaydee-io/jflags
2c4e6387345faf502f8048f749d0c850276ec1a7
[ "BSD-3-Clause" ]
null
null
null
lib/jflags_deprecated.cc
jaydee-io/jflags
2c4e6387345faf502f8048f749d0c850276ec1a7
[ "BSD-3-Clause" ]
null
null
null
lib/jflags_deprecated.cc
jaydee-io/jflags
2c4e6387345faf502f8048f749d0c850276ec1a7
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // jflags // // This file is distributed under the 3-clause Berkeley Software Distribution // License. See LICENSE.txt for details. ////////////////////////////////////////////////////////////////////////...
32.258065
98
0.612
jaydee-io
36102aa5d7c9d850aeb968ee6cd9769e1853c043
2,488
cpp
C++
C++/QuickSort.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
C++/QuickSort.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
175
2021-10-03T10:47:31.000Z
2021-10-20T11:55:32.000Z
C++/QuickSort.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
// Introduction to Quick Sort // QuickSort is a Divide and Conquer algorithm // We take an element as pivot and we use partition() function to sort the before and after elemets of the pivot. // Following are the ways in which you can take a pivot element : // 1) Pick first element as pivot // 2) Pick last element as...
34.082192
168
0.661977
OluSure
3610661d48e0e9a68747c83923327db3e5d7de84
1,031
cpp
C++
server/Server/Packets/WGRetSceneDataHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Server/Packets/WGRetSceneDataHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Server/Packets/WGRetSceneDataHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" #include "WGRetSceneData.h" #include "Log.h" #include "ServerManager.h" #include "Scene.h" #include "SceneManager.h" UINT WGRetSceneDataHandler::Execute( WGRetSceneData* pPacket, Player* pPlayer ) { __ENTER_FUNCTION if( pPlayer->IsServerPlayer() ) {//服务器收到世界服务器发来的数据 Assert( MyG...
21.93617
79
0.632396
viticm