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
01f64c6395833802dcec9fcd0d166fe9fa238644
7,491
cpp
C++
app/app/scene/ui_overlay_system.cpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
6
2022-02-05T23:28:12.000Z
2022-02-24T11:08:04.000Z
app/app/scene/ui_overlay_system.cpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
null
null
null
app/app/scene/ui_overlay_system.cpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
null
null
null
#include "app/scene/ui_overlay_system.hpp" #include "app/scene/physics_system.hpp" #include "app/render/render_system.hpp" #include "app/system/utils.hpp" #include "imgui/imgui.h" namespace slope::app { void UIOverlaySystem::update(float dt) { auto* ps = w().modify_singleton<PhysicsSingleton>(); if (!ps) ...
47.411392
122
0.676679
muleax
01fdec22a1d72f3eb83aa4827ffdfe5fa0957b11
1,177
cpp
C++
catkin_ws/topic_publisher_pkg/src/simple_topic_publisher.cpp
BV-Pradeep/RIA-ROS-Basics-with-CPP-in-5-days
2c33397de94a5d35cd9bb5d957fb0a15dd0b70b1
[ "MIT" ]
5
2019-08-09T03:07:30.000Z
2021-12-09T15:51:09.000Z
catkin_ws/topic_publisher_pkg/src/simple_topic_publisher.cpp
BV-Pradeep/RIA-ROS-Basics-with-CPP-in-5-days
2c33397de94a5d35cd9bb5d957fb0a15dd0b70b1
[ "MIT" ]
null
null
null
catkin_ws/topic_publisher_pkg/src/simple_topic_publisher.cpp
BV-Pradeep/RIA-ROS-Basics-with-CPP-in-5-days
2c33397de94a5d35cd9bb5d957fb0a15dd0b70b1
[ "MIT" ]
3
2019-07-22T07:43:46.000Z
2021-07-12T14:23:24.000Z
#include <ros/ros.h> #include <std_msgs/Int32.h> // Here we are including all the headers necessary to use the most common public // pieces of the ROS system. Always we create a new C++ file, we will need to // add this include. int main(int argc, char** argv) {// We start the main C++ program ros::init(argc, arg...
43.592593
161
0.694138
BV-Pradeep
01fe7d60bfde4b6e405bf68d39b2ee2133c0684c
44
hpp
C++
src/boost_compute_utility_source.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_compute_utility_source.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_compute_utility_source.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/compute/utility/source.hpp>
22
43
0.795455
miathedev
01ffdf5f4339758462412e2c3a7e8816f89191d6
13,212
hpp
C++
NMEA0183.hpp
Emandhal/NMEA0183
12d50fe84022b0e1d9c24829cea6931de33d83ca
[ "MIT" ]
null
null
null
NMEA0183.hpp
Emandhal/NMEA0183
12d50fe84022b0e1d9c24829cea6931de33d83ca
[ "MIT" ]
null
null
null
NMEA0183.hpp
Emandhal/NMEA0183
12d50fe84022b0e1d9c24829cea6931de33d83ca
[ "MIT" ]
null
null
null
/******************************************************************************* * @file NMEA0183.hpp * @author Fabien 'Emandhal' MAILLY * @version 1.0.0 * @date 13/02/2022 * @brief NMEA decoder library (C++ class wrapper header for C NMEA0183 library) * * Supports common GPS frames *******************...
40.280488
204
0.598168
Emandhal
01fff55c581b30405869552a6f7d5c90d1036b08
4,973
cpp
C++
testsuites/unittest/net/socket/net_socket_test.cpp
onattof/Cbad13i
17a25f2026802c02e7fb4876309382914cfd6c4f
[ "BSD-3-Clause" ]
null
null
null
testsuites/unittest/net/socket/net_socket_test.cpp
onattof/Cbad13i
17a25f2026802c02e7fb4876309382914cfd6c4f
[ "BSD-3-Clause" ]
null
null
null
testsuites/unittest/net/socket/net_socket_test.cpp
onattof/Cbad13i
17a25f2026802c02e7fb4876309382914cfd6c4f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist...
25.901042
95
0.72411
onattof
bf00b7aa177ab4db13b4f43fd41c9096656b6dc9
176
cpp
C++
tests/external_view_test.cpp
somefoo/game_server
9fb6b8aac8cb20f7e3cea8b74d9e9cb86324e65f
[ "Apache-2.0" ]
null
null
null
tests/external_view_test.cpp
somefoo/game_server
9fb6b8aac8cb20f7e3cea8b74d9e9cb86324e65f
[ "Apache-2.0" ]
null
null
null
tests/external_view_test.cpp
somefoo/game_server
9fb6b8aac8cb20f7e3cea8b74d9e9cb86324e65f
[ "Apache-2.0" ]
1
2022-03-05T23:03:17.000Z
2022-03-05T23:03:17.000Z
#include <iostream> #include "client.h" client c; int main(){ if(c.get_game_state().m_player_runtime_state.m_player_runtime_data[0].m_kills != 0) return 1; return 0; }
14.666667
95
0.715909
somefoo
bf03efc72d30a5bc8274bbf11e35e09b51c503ec
1,564
cpp
C++
Data_Structures/Binary_Tree/diameter.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Data_Structures/Binary_Tree/diameter.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Data_Structures/Binary_Tree/diameter.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// Diameter of Tree // Given a binary tree, you need to compute the length of the diameter of the tree. // The diameter of a binary tree is the length of the longest path between any two nodes in a tree. This path may or may not pass through the root. // Example: // Given a binary tree // 1 // / '\...
19.073171
147
0.586957
abhishekjha786
bf04062ed57cf909c2542c53f73a0e0bfb7b92ad
91
cxx
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/Fortran/mycxx.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/Fortran/mycxx.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/Fortran/mycxx.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
extern "C" int myc(void); extern "C" int mycxx(void) { delete new int; return myc(); }
13
26
0.626374
duonglvtnaist
bf06cdf38345019bff00e5e9063c9ef68122c2ce
5,673
hh
C++
include/ignition/gazebo/comms/Broker.hh
Thodoris1999/ign-gazebo
66fa61a1c2b018fa0a4d1080ef89c7cc9d321cea
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/gazebo/comms/Broker.hh
Thodoris1999/ign-gazebo
66fa61a1c2b018fa0a4d1080ef89c7cc9d321cea
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/gazebo/comms/Broker.hh
Thodoris1999/ign-gazebo
66fa61a1c2b018fa0a4d1080ef89c7cc9d321cea
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
36.6
80
0.686762
Thodoris1999
bf071154cb6fbde15128d7d0ed69e6ba4abf5f4f
348
hpp
C++
src/Entity.hpp
asalahli/jubilant-octo-invention
c04e5b3347338615935eefaeba349db538099b87
[ "MIT" ]
null
null
null
src/Entity.hpp
asalahli/jubilant-octo-invention
c04e5b3347338615935eefaeba349db538099b87
[ "MIT" ]
null
null
null
src/Entity.hpp
asalahli/jubilant-octo-invention
c04e5b3347338615935eefaeba349db538099b87
[ "MIT" ]
null
null
null
#pragma once #include <Box2D/Box2D.h> #include "Component.hpp" #include "Process.hpp" class Game; class Entity : public Process { public: Drawable *drawable; b2Body *physicalBody; Skeleton *skeleton; Animation *animation; Entity(Game *game); ~Entity(); virtual void update(float timeDelta...
15.130435
63
0.675287
asalahli
bf089e028aac68e278ca543984f30d2013d7ffd5
410
cpp
C++
source/objects/imagedata/imagedatabase.cpp
henlo-birb/lovepotion
3b7128f0683252915cd0178a3e028a553b01fdc1
[ "0BSD" ]
38
2021-11-05T10:17:28.000Z
2022-03-26T09:19:41.000Z
source/objects/imagedata/imagedatabase.cpp
henlo-birb/lovepotion
3b7128f0683252915cd0178a3e028a553b01fdc1
[ "0BSD" ]
10
2021-11-06T04:44:49.000Z
2022-03-18T17:23:09.000Z
source/objects/imagedata/imagedatabase.cpp
henlo-birb/lovepotion
3b7128f0683252915cd0178a3e028a553b01fdc1
[ "0BSD" ]
5
2022-01-04T20:38:35.000Z
2022-02-28T01:11:56.000Z
#include "objects/imagedata/imagedatabase.h" using namespace love; ImageDataBase::ImageDataBase(PixelFormat format, int width, int height) : format(format), width(width), height(height) {} PixelFormat ImageDataBase::GetFormat() const { return this->format; } int ImageDataBase::GetWidth() const { ...
16.4
73
0.714634
henlo-birb
bf0a1ef36ad3803bd5116112f7672ad20abec202
1,602
hh
C++
generator/inc/com/centreon/broker/generator/endpoint.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
generator/inc/com/centreon/broker/generator/endpoint.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
generator/inc/com/centreon/broker/generator/endpoint.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2017 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in ...
28.607143
77
0.622971
joe4568
bf0b70073be35ecebeae43370f312f7bdda4a1c9
3,941
cpp
C++
source/backend/hiai/execution/NPUPooling.cpp
WillTao-RD/MNN
48575121859093bab8468d6992596962063b7aff
[ "Apache-2.0" ]
2
2020-12-15T13:56:31.000Z
2022-01-26T03:20:28.000Z
source/backend/hiai/execution/NPUPooling.cpp
qaz734913414/MNN
a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d
[ "Apache-2.0" ]
null
null
null
source/backend/hiai/execution/NPUPooling.cpp
qaz734913414/MNN
a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d
[ "Apache-2.0" ]
1
2021-11-24T06:26:27.000Z
2021-11-24T06:26:27.000Z
// // NPUPooling.cpp // MNN // // Created by MNN on 2019/09/07. // Copyright © 2018, Alibaba Group Holding Limited // #include "NPUPooling.hpp" #include "NPUBackend.hpp" using namespace std; namespace MNN { NPUPooling::NPUPooling(MNN::Backend *b, const MNN::Op *op, const std::vector<Tensor *> &inputs, const st...
39.41
169
0.622685
WillTao-RD
bf0ff78d485d4e2c1a4c9f181941382f4affc4b7
9,795
cpp
C++
AmyEdit/src/Panels/SceneHierarchyPanel.cpp
CloseRange/AmyWare
24f19cb9c983aae318c459d3dcf47ff752824d18
[ "Apache-2.0" ]
null
null
null
AmyEdit/src/Panels/SceneHierarchyPanel.cpp
CloseRange/AmyWare
24f19cb9c983aae318c459d3dcf47ff752824d18
[ "Apache-2.0" ]
null
null
null
AmyEdit/src/Panels/SceneHierarchyPanel.cpp
CloseRange/AmyWare
24f19cb9c983aae318c459d3dcf47ff752824d18
[ "Apache-2.0" ]
null
null
null
#include "SceneHierarchyPanel.h" #include <imgui/imgui.h> #include <imgui/imgui_internal.h> #include "AmyWare/Scene/Components.h" #include <glm\gtc\type_ptr.hpp> namespace AmyWare { SceneHierarchyPanel::SceneHierarchyPanel(const Ref<Scene>& context) { SetContext(context); } void SceneHierarchyPanel::SetContext(...
33.775862
132
0.682083
CloseRange
bf11636d653416d30f32bd1dfe53771d53d06f52
2,704
cpp
C++
src/session.cpp
smr-llc/wooten-server
b6b347d3b7547e26883838f71e28726154ea6809
[ "MIT" ]
null
null
null
src/session.cpp
smr-llc/wooten-server
b6b347d3b7547e26883838f71e28726154ea6809
[ "MIT" ]
null
null
null
src/session.cpp
smr-llc/wooten-server
b6b347d3b7547e26883838f71e28726154ea6809
[ "MIT" ]
1
2021-03-29T20:19:06.000Z
2021-03-29T20:19:06.000Z
#include "session.h" #include <random> #include <iostream> #include <unistd.h> Session::Session() { static const char letters[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; std::random_device dev; std::mt19937 rng(dev()); std::uniform_int_distribution<std::mt19937::result_type> dist(0, sizeof(letters) - 2); ...
28.765957
96
0.597633
smr-llc
bf166650635a3d1e5c2fee133a70c6b6fe18e59a
7,951
cpp
C++
src/engine/core/file/platform_file.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
4
2020-08-07T02:18:13.000Z
2021-07-08T09:46:11.000Z
src/engine/core/file/platform_file.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
src/engine/core/file/platform_file.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
#include "platform_file.h" #include "core/object/object.h" #include "core/file/file_subsystem.h" #include <boost/filesystem.hpp> #include <filesystem> namespace luna { LSharedPtr<LFileStream> WindowsFileManager::OpenAsStream(const LPath &path, OpenMode mode) { LSharedPtr<LFileStream> file = MakeShared<LFileStream>()...
27.323024
165
0.729342
LunarGameTeam
bf179a406977a3402cd101f3a7692becd16fcd49
1,534
cpp
C++
Sources/Components/Image.cpp
Mikyan0207/OOP_indie_studio_2019
6b7f49346b44c8db33d75000c1603239aabdd6e0
[ "Unlicense", "MIT" ]
null
null
null
Sources/Components/Image.cpp
Mikyan0207/OOP_indie_studio_2019
6b7f49346b44c8db33d75000c1603239aabdd6e0
[ "Unlicense", "MIT" ]
null
null
null
Sources/Components/Image.cpp
Mikyan0207/OOP_indie_studio_2019
6b7f49346b44c8db33d75000c1603239aabdd6e0
[ "Unlicense", "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** OOP_indie_studio_2019 ** File description: ** Image */ #include <Components/Image.h> #include <iostream> Image::Image(GuiEnvironment *GUIEnv) { this->m_GUIEnvironment = GUIEnv; } bool Image::Initialize(void *args) { this->m_Image = m_GUIEnvironment->addImage({0, 0, 0, 0}); ...
21.013699
71
0.662321
Mikyan0207
bf258fb0e05ec9ce6872cce8fa382641e73be424
2,614
cc
C++
examples/services_example_cxx/baz/private/src/Baz.cc
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
1
2019-03-17T06:06:19.000Z
2019-03-17T06:06:19.000Z
examples/services_example_cxx/baz/private/src/Baz.cc
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
13
2019-02-21T21:27:44.000Z
2019-02-28T22:47:13.000Z
examples/services_example_cxx/baz/private/src/Baz.cc
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
31.119048
90
0.619357
rwalraven343
bf30007eee835492976ed7544372caf61250f4ad
1,299
cpp
C++
tests/core/time_stamp.cpp
jwuttke/daquiri-qpx
6606f4efca9bbe460e25e511fd94a8277c7e1fe6
[ "BSD-2-Clause" ]
1
2018-09-26T16:18:38.000Z
2018-09-26T16:18:38.000Z
tests/core/time_stamp.cpp
jwuttke/daquiri-qpx
6606f4efca9bbe460e25e511fd94a8277c7e1fe6
[ "BSD-2-Clause" ]
7
2018-09-20T08:45:34.000Z
2019-03-16T17:57:40.000Z
tests/core/time_stamp.cpp
martukas/daquiri-qpx
6606f4efca9bbe460e25e511fd94a8277c7e1fe6
[ "BSD-2-Clause" ]
null
null
null
#include <core/time_stamp.h> #include <gtest/gtest.h> TEST(TimeStamp, Init) { DAQuiri::TimeStamp t1{}; ASSERT_EQ(DAQuiri::TimeBase(), t1.base()); ASSERT_EQ(0UL, t1.native()); ASSERT_EQ(0, t1.nanosecs()); DAQuiri::TimeStamp t2{1}; ASSERT_EQ(DAQuiri::TimeBase(), t2.base()); ASSERT_EQ(1UL, t2.native()); ...
22.016949
58
0.645881
jwuttke
bf345a995862b5482174cdcd255e396688755c40
7,126
hpp
C++
include/fpt/Cell.hpp
frobnitzem/FastParticleToolkit
d5bc77f891d8aae18d777b8855ff4a6b3dd79761
[ "CC-BY-4.0" ]
null
null
null
include/fpt/Cell.hpp
frobnitzem/FastParticleToolkit
d5bc77f891d8aae18d777b8855ff4a6b3dd79761
[ "CC-BY-4.0" ]
null
null
null
include/fpt/Cell.hpp
frobnitzem/FastParticleToolkit
d5bc77f891d8aae18d777b8855ff4a6b3dd79761
[ "CC-BY-4.0" ]
null
null
null
#pragma once #include <algorithm> #include <alpaka/alpaka.hpp> #include <cassert> #include <iostream> #include <numeric> #include <vector> #include <stdint.h> #define ATOMS_PER_CELL 32 /** Round up list of CellRange to this size */ #define CELL_LIST_PAD 32 namespace fpt { struct CellEnergy { uint32_t n...
35.277228
117
0.504771
frobnitzem
bf3f14675e169e3c482ff016dfb08f6a2c5806b5
8,300
cpp
C++
src/sos_mosek.cpp
lihaokun/sparsesos
262102948ebc4253b72456d6079a2a2b4686cb58
[ "Apache-2.0" ]
2
2020-06-25T08:34:31.000Z
2020-09-16T03:58:33.000Z
src/sos_mosek.cpp
lihaokun/sparsesos
262102948ebc4253b72456d6079a2a2b4686cb58
[ "Apache-2.0" ]
null
null
null
src/sos_mosek.cpp
lihaokun/sparsesos
262102948ebc4253b72456d6079a2a2b4686cb58
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> #include <string> #include <fstream> #include <sstream> #include "fusion.h" #include "polynomial/polynomial.hpp" #include "sos_mosek.hpp" #include "sos.hpp" #ifndef mosek_v #define mosek_v 8 #endif using namespace std; using namespace polynomial; using...
36.725664
174
0.441687
lihaokun
bf3f9af36c733040ca6a9e89811a3513e7ea6273
900
cpp
C++
#0382.linked-list-random-node.cpp
hosomi/LeetCode
aba8fae8e37102b33dba8fd4adf1f018c395a4db
[ "MIT" ]
null
null
null
#0382.linked-list-random-node.cpp
hosomi/LeetCode
aba8fae8e37102b33dba8fd4adf1f018c395a4db
[ "MIT" ]
null
null
null
#0382.linked-list-random-node.cpp
hosomi/LeetCode
aba8fae8e37102b33dba8fd4adf1f018c395a4db
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: Solution(ListNode* he...
21.95122
64
0.523333
hosomi
bf41fec8ddd30780a2e009e0bae7421426052a42
2,877
hpp
C++
CreateGraph_stats.hpp
ExcitedStates/CONTACT
536704447cee2b40021c85c6c1208d94abcbff9a
[ "MIT" ]
null
null
null
CreateGraph_stats.hpp
ExcitedStates/CONTACT
536704447cee2b40021c85c6c1208d94abcbff9a
[ "MIT" ]
null
null
null
CreateGraph_stats.hpp
ExcitedStates/CONTACT
536704447cee2b40021c85c6c1208d94abcbff9a
[ "MIT" ]
null
null
null
/* CONTACT: COntact Networks Through Alternate Conformation Transitions Henry van den Bedem, Gira Bhabha, Kun Yang, Peter Wright, James S. Fraser e-mail: vdbedem@stanford.edu, james.fraser@ucsf.edu Copyright (C) 2013 Stanford University Permission is hereby granted, free of charge, to any person ...
37.363636
343
0.724713
ExcitedStates
bf433971dbb334aae3030e1fa709ae1cebae7d58
3,323
cpp
C++
Stereolabs/Source/SpatialMapping/Private/Core/SpatialMappingCubemapManager.cpp
stereolabs/zed-unreal-plugin
0fabf29edc84db1126f0c4f73b9ce501e322be96
[ "MIT" ]
38
2018-02-27T22:53:56.000Z
2022-02-10T05:46:51.000Z
Stereolabs/Source/SpatialMapping/Private/Core/SpatialMappingCubemapManager.cpp
HuangArmagh/zed-unreal-plugin
3bd8872577f49e2eb5f6cb8a6a610a4c786f6104
[ "MIT" ]
14
2018-05-26T03:15:16.000Z
2022-03-02T14:34:10.000Z
Stereolabs/Source/SpatialMapping/Private/Core/SpatialMappingCubemapManager.cpp
HuangArmagh/zed-unreal-plugin
3bd8872577f49e2eb5f6cb8a6a610a4c786f6104
[ "MIT" ]
16
2018-01-23T22:55:34.000Z
2021-12-20T18:34:08.000Z
//======= Copyright (c) Stereolabs Corporation, All rights reserved. =============== #include "SpatialMappingPrivatePCH.h" #include "SpatialMapping/Public/Core/SpatialMappingCubemapManager.h" ASpatialMappingCubemapManager::ASpatialMappingCubemapManager() : bCanUpdateTextureTarget(true), CubemapWorker(nullptr), Cu...
24.07971
118
0.778814
stereolabs
bf533ec40a115310e3f2b43e1c70310801f29de8
919
cpp
C++
qt-ts-csv/3rdParty/xlsx/OpenXLSX/@library/@openxlsx/implementation/sources/XLFont_Impl.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
2
2019-08-07T10:02:20.000Z
2021-11-03T17:09:42.000Z
@library/@openxlsx/implementation/sources/XLFont_Impl.cpp
tomay3000/OpenXLSX
a04b46e6af038b3cd1aa674839218608a1de2cdd
[ "BSD-3-Clause" ]
null
null
null
@library/@openxlsx/implementation/sources/XLFont_Impl.cpp
tomay3000/OpenXLSX
a04b46e6af038b3cd1aa674839218608a1de2cdd
[ "BSD-3-Clause" ]
null
null
null
// // Created by Kenneth Balslev on 04/06/2017. // #include "XLFont_Impl.h" #include <sstream> #include <pugixml.hpp> using namespace std; using namespace OpenXLSX; std::map<string, Impl::XLFont> Impl::XLFont::s_fonts = {}; /** * @details */ Impl::XLFont::XLFont(const string& name, unsigned int size, const XLCol...
18.755102
122
0.56148
Stivvo
bf5cca506c190d13af8fed69b02f7a07cf3f0f96
5,716
cpp
C++
src/RModelMat.cpp
chilingg/Redopera
a898eb269d5d3eba9ba5b14ef9b4209f615f4547
[ "MIT" ]
null
null
null
src/RModelMat.cpp
chilingg/Redopera
a898eb269d5d3eba9ba5b14ef9b4209f615f4547
[ "MIT" ]
null
null
null
src/RModelMat.cpp
chilingg/Redopera
a898eb269d5d3eba9ba5b14ef9b4209f615f4547
[ "MIT" ]
null
null
null
#include <RModelMat.h> using namespace Redopera; RModelMat::RModelMat(): model_(1) { model_[2].z = 0; } RModelMat::RModelMat(RModelMat &&model): model_(std::move(model.model_)) { } RModelMat &RModelMat::operator=(RModelMat &&model) { model_ = std::move(model.model_); return *this; } RModelMat::...
19.181208
113
0.592897
chilingg
bf61c2a351364c2773b6279e898147b5a48a7d60
1,553
cpp
C++
Days 021 - 030/Day 25/SimpleRegexImplementation.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 021 - 030/Day 25/SimpleRegexImplementation.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 021 - 030/Day 25/SimpleRegexImplementation.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> bool MatchSimpleRegex(const std::string& regex, const std::string& text) { std::vector<std::vector<bool>> matches(text.length() + 1, std::vector<bool>(regex.length() + 1)); matches[0][0] = true; static constexpr char SINGLE_CHARACTER = '.'; static constexpr ...
23.892308
98
0.562138
LucidSigma
bf6474174cfbf361bba5d46c7e07058d24cb3124
1,139
cpp
C++
src/Plugins/MoviePlugin/Movie2DebugRender.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Plugins/MoviePlugin/Movie2DebugRender.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Plugins/MoviePlugin/Movie2DebugRender.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "Movie2DebugRender.h" #include "Interface/RenderServiceInterface.h" #include "Kernel/RenderVertex2D.h" #include "Plugins/NodeDebugRenderPlugin/NodeDebugRenderServiceInterface.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// Movie2DebugRender::Movie2D...
39.275862
169
0.514486
irov
bf6612e45244b632fd0c9de05a9fb4400e4af6e3
918
cpp
C++
zinot-engine/zinot-engine/eng/Window.cpp
patrykbajos/zinot-project
f5ab158bce6855b25b7f23c873f64bc4a9c867ba
[ "MIT" ]
null
null
null
zinot-engine/zinot-engine/eng/Window.cpp
patrykbajos/zinot-project
f5ab158bce6855b25b7f23c873f64bc4a9c867ba
[ "MIT" ]
null
null
null
zinot-engine/zinot-engine/eng/Window.cpp
patrykbajos/zinot-project
f5ab158bce6855b25b7f23c873f64bc4a9c867ba
[ "MIT" ]
null
null
null
// // Created by patryk on 10.05.16. // #include <gl_core_3_3.hpp> #include "Window.hpp" namespace Zinot { Window::Window(Engine * enginePtr) { parentEnginePtr = enginePtr; } void Window::open() { sfWindow.reset(new sf::Window(sf::VideoMode(800, 600), "OpenGL", sf::Style::Default,...
17.653846
96
0.569717
patrykbajos
bf6b8f4b85d25a59d97526c87a274cc1aa56fa22
1,692
cpp
C++
metroid-rat-clone/metroid-rat-clone/TileMap.cpp
TiltedClone/metroid-rat-clone
41849df1b0ab6f0cf526bae23f5759e9e0eba5af
[ "MIT" ]
2
2020-03-09T09:55:24.000Z
2020-11-17T11:16:51.000Z
metroid-rat-clone/metroid-rat-clone/TileMap.cpp
TiltedClone/metroid-rat-clone
41849df1b0ab6f0cf526bae23f5759e9e0eba5af
[ "MIT" ]
null
null
null
metroid-rat-clone/metroid-rat-clone/TileMap.cpp
TiltedClone/metroid-rat-clone
41849df1b0ab6f0cf526bae23f5759e9e0eba5af
[ "MIT" ]
null
null
null
#include "TileMap.h" void TileMap::draw(sf::RenderTarget & target, sf::RenderStates states) const { states.transform *= getTransform(); states.texture = &m_tileset; target.draw(m_vertices, states); } bool TileMap::loadTexture(const std::string & tileTextFile, sf::Vector2u tileSize, std::vector<std::vector<Tile>> &...
36
149
0.667849
TiltedClone
bf6c62c4ac6a9ff3caeb246f08b278700904c341
541
cpp
C++
Algorithms/HeuristicFunctions.cpp
adar2/AI-Project
b50a096a4b35cde346ac0e45ed29a52ae27cf300
[ "MIT" ]
2
2021-06-13T13:54:34.000Z
2021-10-16T07:13:31.000Z
Algorithms/HeuristicFunctions.cpp
adar2/AI-Project
b50a096a4b35cde346ac0e45ed29a52ae27cf300
[ "MIT" ]
2
2021-08-17T11:22:20.000Z
2022-01-08T15:55:01.000Z
Algorithms/HeuristicFunctions.cpp
adar2/AI-Project
b50a096a4b35cde346ac0e45ed29a52ae27cf300
[ "MIT" ]
3
2021-03-05T19:11:05.000Z
2021-08-16T05:35:06.000Z
#include <algorithm> #include <cmath> double chebyshev_distance(const std::pair<int, int> &p1, const std::pair<int, int> &p2, double min_val) { return min_val * std::max(abs(p1.first - p2.first), abs(p1.second - p2.second)); } double normalized_euclidean_distance(const std::pair<int, int> &p1, const std::pair<i...
33.8125
116
0.669131
adar2
bf6dc06947a80e1805e4f49b9a51a8f0a1b7e510
4,321
cpp
C++
snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
#using <System.Data.dll> #using <System.dll> #using <System.Drawing.dll> #using <System.Windows.Forms.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data; /// <su...
29.195946
109
0.670215
BohdanMosiyuk
bf6dc0838311bdda88523957fc29177c2463ef49
1,999
cpp
C++
src/_leetcode/leet_124.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_124.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_124.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_124.cpp ========================== * -- tpr -- * CREATE -- 2020.06.10 * MODIFY -- * ---------------------------------------------------------- * 124. 二叉树中的最大路径和 */ #include "in...
22.977011
65
0.395198
turesnake
bf7152a455749bb6020c6d7e491cc7ab5d314b24
2,409
cpp
C++
2004/samples/editor/palettes/boltUI/CComBoltCmd.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2004/samples/editor/palettes/boltUI/CComBoltCmd.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2004/samples/editor/palettes/boltUI/CComBoltCmd.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// // // (C) Copyright 2002 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited w...
28.678571
73
0.625571
kevinzhwl
bf73cd4b852b222b69ab67ad63615b2f0dd96757
1,782
hpp
C++
engines/First OGL Engine/include/Utils/Delegate.hpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
1
2020-10-26T17:53:33.000Z
2020-10-26T17:53:33.000Z
engines/First OGL Engine/include/Utils/Delegate.hpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
engines/First OGL Engine/include/Utils/Delegate.hpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
/** * @file Delegate.hpp */ #ifndef OGL_E1_DELEGATE #define OGL_E1_DELEGATE #include <memory> namespace OGL::E1 { /** * @brief Delegate class to call member function of objects */ template<typename... Args> class Delegate { public: Delegate( ) = default; template<...
20.25
81
0.449495
sltn011
bf75dd3252eed30d0d700e27a1e273865d09f242
1,243
cpp
C++
Sankore-API/customWidgets/UBDockPaletteWidget.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-API/customWidgets/UBDockPaletteWidget.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-API/customWidgets/UBDockPaletteWidget.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
#include "UBDockPaletteWidget.h" #include "devtools/memcheck.h" /** * \brief Constructor */ UBDockPaletteWidget::UBDockPaletteWidget(QWidget *parent, const char *name):QWidget(parent) { setObjectName(name); } /** * \brief Destructor */ UBDockPaletteWidget::~UBDockPaletteWidget() { } /** * \brief Get the ic...
18.552239
108
0.71601
eaglezzb
bf7c4ffc5f6b8cf7528f1d728c0b5965a969b61b
948
cpp
C++
prj/Raytracer/EntryPoint.cpp
vicutrinu/pragma-studios
181fd14d072ccbb169fa786648dd942a3195d65a
[ "MIT" ]
null
null
null
prj/Raytracer/EntryPoint.cpp
vicutrinu/pragma-studios
181fd14d072ccbb169fa786648dd942a3195d65a
[ "MIT" ]
null
null
null
prj/Raytracer/EntryPoint.cpp
vicutrinu/pragma-studios
181fd14d072ccbb169fa786648dd942a3195d65a
[ "MIT" ]
null
null
null
#include <pragma/graphics/Mesh.h> #include <pragma/graphics/import/Parsers.h> #include <pragma/graphics/Camera.h> #include <pragma/graphics/Material.h> #include <pragma/image/Image.h> #include <pragma/image/functions.h> #include "Raytracer.h" #include <stdio.h> using namespace pragma; #define IMAGE_S...
24.307692
81
0.698312
vicutrinu
bf7ccd2553a68ba57163ad80821f6b5885db3a23
4,176
cpp
C++
src/rynx/scheduler/context.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
11
2019-08-19T08:44:14.000Z
2020-09-22T20:04:46.000Z
src/rynx/scheduler/context.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
src/rynx/scheduler/context.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
#include <rynx/scheduler/task_scheduler.hpp> #include <rynx/scheduler/context.hpp> #include <rynx/scheduler/task.hpp> #include <rynx/scheduler/barrier.hpp> #include <iostream> rynx::scheduler::context::context(context_id id, task_scheduler* scheduler) : m_id(id), m_scheduler(scheduler), m_tasks_parallel_for(rynx::sc...
24.857143
180
0.636015
Apodus
bf864a021de9a4e7c57229cfdf56bff986df13e8
7,163
cpp
C++
SuperPixel/readsuperpixeldat.cpp
netbeen/UncleZhou_UI
69ad47d1b6d41a63984e6448ef412afc1481bb89
[ "MIT" ]
1
2019-06-06T02:26:27.000Z
2019-06-06T02:26:27.000Z
SuperPixel/readsuperpixeldat.cpp
netbeen/UncleZhou_UI
69ad47d1b6d41a63984e6448ef412afc1481bb89
[ "MIT" ]
null
null
null
SuperPixel/readsuperpixeldat.cpp
netbeen/UncleZhou_UI
69ad47d1b6d41a63984e6448ef412afc1481bb89
[ "MIT" ]
null
null
null
#include "readsuperpixeldat.h" #include <cmath> #include <fstream> ReadSuperPixelDat::ReadSuperPixelDat() { } #include <string> #include "SuperPixel/SLICSuperpixels/SLIC.h" #include "util.h" void ReadSuperPixelDat::authorSegment(int superPixelCount) { const int width = this->image.cols; const int height = t...
41.404624
144
0.596817
netbeen
bf8672cfedf52fd0f733bd4a83347dfa10a4d85c
10,474
cpp
C++
kflat/flat_track_bar.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
kflat/flat_track_bar.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
kflat/flat_track_bar.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
// flat_track_bar.cpp // Created by lulimin on 2020/9/11. #include "flat_track_bar.h" #include "flat_button.h" #include "flat_ui.h" /// \file flat_track_bar.cpp /// \brief User interface track bar. /// object: FlatTrackBar /// \brief User interface track bar object. DEF_OBJECT(FlatTrackBar, FlatWidget); ...
20.864542
78
0.668608
lulimin
bf8773edc754a462a41f3add8d681bcdde481528
238
cpp
C++
Chef and Operators.cpp
dhairya2019/codechef-c-c-
4d11aa6b92c28fa69e562acd4e1f836dffe34113
[ "Apache-2.0" ]
null
null
null
Chef and Operators.cpp
dhairya2019/codechef-c-c-
4d11aa6b92c28fa69e562acd4e1f836dffe34113
[ "Apache-2.0" ]
null
null
null
Chef and Operators.cpp
dhairya2019/codechef-c-c-
4d11aa6b92c28fa69e562acd4e1f836dffe34113
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int t=0; cin>>t; int a=0,b=0; for(int i=0;i<t;i++){ cin>>a>>b; if(a==b) cout<<"="<<endl; else if(a<b) cout<<"<"<<endl; else cout<<">"<<endl; } return 0; }
12.526316
22
0.495798
dhairya2019
bf8a20e5c108af162e0fbd283c6a9b208caf6445
6,179
cpp
C++
src/particle.cpp
jwrdegoede/abuse
77a34f69569815e73b95d99268fb7ba1cd64c17b
[ "WTFPL" ]
null
null
null
src/particle.cpp
jwrdegoede/abuse
77a34f69569815e73b95d99268fb7ba1cd64c17b
[ "WTFPL" ]
null
null
null
src/particle.cpp
jwrdegoede/abuse
77a34f69569815e73b95d99268fb7ba1cd64c17b
[ "WTFPL" ]
null
null
null
/* * Abuse - dark 2D side-scrolling platform game * Copyright (c) 1995 Crack dot Com * Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net> * * This software was released into the Public Domain. As with most public * domain software, no warranty is made or implied by Crack dot Com, by * Jonathan Clark, or...
21.833922
117
0.542806
jwrdegoede
bf8f2aefa182bd47aab7b2789b0eabcabc55e67e
1,751
cpp
C++
hxemu/src/fakeslave.cpp
Frigolit/HXEmu
9764886879309d58cde125aeb0d3523a8983c17a
[ "MIT" ]
9
2015-03-07T22:45:36.000Z
2022-01-03T22:54:00.000Z
hxemu/src/fakeslave.cpp
Frigolit/HXEmu
9764886879309d58cde125aeb0d3523a8983c17a
[ "MIT" ]
null
null
null
hxemu/src/fakeslave.cpp
Frigolit/HXEmu
9764886879309d58cde125aeb0d3523a8983c17a
[ "MIT" ]
1
2018-08-23T17:55:31.000Z
2018-08-23T17:55:31.000Z
// ============================================================================= // @author Pontus Rodling <frigolit@frigolit.net> // @license MIT license - See LICENSE for more information // ============================================================================= #include <stdio.h> #include <stdlib.h> #include...
21.096386
80
0.546545
Frigolit
bf96ccd2ffb54e97b6cc84cd03c8b0765f7c9fa4
1,912
cpp
C++
chapter21/chapter21_ex06.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
170
2015-05-02T18:08:38.000Z
2018-07-31T11:35:17.000Z
chapter21/chapter21_ex06.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
7
2017-01-16T02:25:20.000Z
2018-07-20T12:57:30.000Z
chapter21/chapter21_ex06.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
105
2015-05-28T11:52:19.000Z
2018-07-17T14:11:25.000Z
// Chapter 21, Exercise 6: implement the Fruit example (set) using a // set<Fruit*,Fruit_comparison> (pointers instead of copies), i.e., define a // comparison operation for Fruit* #include "../lib_files/std_lib_facilities.h" #include<set> //----------------------------------------------------------------------------...
29.875
80
0.480649
TingeOGinge
bf974402fdcdf28cf20356cbb7ced9184965a96d
7,300
cpp
C++
RagiMagick/src/main.cpp
kuroxuta/RagiMagick
6a06bfe6fb8852dd5947e068c38b3ed1458d0b6a
[ "MIT" ]
null
null
null
RagiMagick/src/main.cpp
kuroxuta/RagiMagick
6a06bfe6fb8852dd5947e068c38b3ed1458d0b6a
[ "MIT" ]
null
null
null
RagiMagick/src/main.cpp
kuroxuta/RagiMagick
6a06bfe6fb8852dd5947e068c38b3ed1458d0b6a
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <functional> #include <iostream> #include "ragii/include/text/text.h" #include "ragii/include/hardware/cpu_info.h" #include "ragii-image/include/Bitmap.h" #include "ragii-image/include/BitmapConverter.h" #include "ragii-image/include/util.h" using namespace std; using n...
28.294574
119
0.543973
kuroxuta
bcc9e2fffe671af684848c05ceb01abcc4a20812
1,416
hpp
C++
TrainTravelling/Station.hpp
anttijuu/Graphs
0765b8e5ef4bfb7a885a0df7c70b353466c83801
[ "MIT" ]
null
null
null
TrainTravelling/Station.hpp
anttijuu/Graphs
0765b8e5ef4bfb7a885a0df7c70b353466c83801
[ "MIT" ]
null
null
null
TrainTravelling/Station.hpp
anttijuu/Graphs
0765b8e5ef4bfb7a885a0df7c70b353466c83801
[ "MIT" ]
null
null
null
// // Station.hpp // TrainTravelling // // Created by Antti Juustila on 27.11.2020. // #ifndef Station_hpp #define Station_hpp #include <ostream> #include <string> struct Station { public: Station() :name("Unknown"), phone("unknown"), opens(0), closes(0) { } Station(const std::string & aName) : na...
21.454545
86
0.608051
anttijuu
bccf512525ee5d2f5b59cb687c10811e255ef983
588
cpp
C++
login.cpp
debbech-esprit/b_fast
8497621ae2ff2fee7dd6d305a16cf1c123c9b074
[ "Unlicense" ]
1
2020-10-23T22:03:29.000Z
2020-10-23T22:03:29.000Z
login.cpp
debbech-esprit/b_fast
8497621ae2ff2fee7dd6d305a16cf1c123c9b074
[ "Unlicense" ]
null
null
null
login.cpp
debbech-esprit/b_fast
8497621ae2ff2fee7dd6d305a16cf1c123c9b074
[ "Unlicense" ]
null
null
null
#include "login.h" #include "ui_login.h" #include<QMessageBox> Login::Login(QWidget *parent) : QDialog(parent), ui(new Ui::Login) { ui->setupUi(this); } Login::~Login() { delete ui; } void Login::on_Login_2_clicked() { QString username = ui->username->text(); QString passwo...
15.891892
77
0.547619
debbech-esprit
bcd12dfeeaab197940950285e5ea7e031c02b25d
5,071
cpp
C++
test/unit/src/metal/value/fold_right.cpp
brunocodutra/MPL2
9db9b403e58e0be0bbd295ff64f01e700965f25d
[ "MIT" ]
320
2015-09-28T19:55:56.000Z
2022-03-09T03:00:23.000Z
test/unit/src/metal/value/fold_right.cpp
brunocodutra/MPL2
9db9b403e58e0be0bbd295ff64f01e700965f25d
[ "MIT" ]
80
2015-09-09T16:45:55.000Z
2021-08-08T21:06:00.000Z
test/unit/src/metal/value/fold_right.cpp
brunocodutra/MPL2
9db9b403e58e0be0bbd295ff64f01e700965f25d
[ "MIT" ]
26
2016-02-29T16:16:37.000Z
2020-12-14T05:49:24.000Z
#include <metal.hpp> #include "test.hpp" #define ENTRY(M, N, ...) EXPR(_)<ENUM(N, VALUE FIX(M)), __VA_ARGS__> #define MATRIX(M, N) \ CHECK((metal::is_invocable<metal::lambda<metal::fold_right>, VALUE(M) COMMA(N) VALUES(N)>), (FALSE)); \ CHECK((metal::is_invocable<metal::lambda<metal::fold_right>, VALUE(M) CO...
90.553571
133
0.644252
brunocodutra
bcd5bd06fd1a55cb57eaf9ff6525494682d0334c
2,044
cpp
C++
leetcode/leetcode1560.cpp
KevinYang515/C-Projects
1bf95a09a0ffc18102f12263c9163619ce6dba55
[ "MIT" ]
null
null
null
leetcode/leetcode1560.cpp
KevinYang515/C-Projects
1bf95a09a0ffc18102f12263c9163619ce6dba55
[ "MIT" ]
null
null
null
leetcode/leetcode1560.cpp
KevinYang515/C-Projects
1bf95a09a0ffc18102f12263c9163619ce6dba55
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <vector> #include <map> using namespace std; vector<int> mostVisited_1(int n, vector<int>& rounds); vector<int> mostVisited_2(int n, vector<int>& rounds); int main(){ vector<int> n_v ={4, 2, 7, 3}; vector<vector<int>> rounds_v = {{1,3,1,2}, ...
24.926829
77
0.460861
KevinYang515
bcdb2b45a4bfbc19f6425145d14cd70b8b10a915
315
cpp
C++
firstCppCourse/reversingNumberWhileLoop.cpp
Nickeron-dev/Basics-Of-CPP
84e2cd50c9bd466830054715a1cd708f87311e7b
[ "Apache-2.0" ]
1
2021-09-15T15:11:39.000Z
2021-09-15T15:11:39.000Z
firstCppCourse/reversingNumberWhileLoop.cpp
Nickeron-dev/Basics-Of-CPP
84e2cd50c9bd466830054715a1cd708f87311e7b
[ "Apache-2.0" ]
null
null
null
firstCppCourse/reversingNumberWhileLoop.cpp
Nickeron-dev/Basics-Of-CPP
84e2cd50c9bd466830054715a1cd708f87311e7b
[ "Apache-2.0" ]
null
null
null
#include<iostream> int main() { int number, reversedNumber = 0; std::cout << "Input number to reverse: " << std::endl; std::cin >> number; while (number != 0) { reversedNumber *= 10; reversedNumber += number % 10; number /= 10; } std::cout << "Answer: " << reversedNumber << std::endl; }
19.6875
57
0.584127
Nickeron-dev
bcdc4ff628e1d88215768b81d1e4651e15dc0822
1,162
cpp
C++
tests/bitonic_sort/simple_test.cpp
llpm/SpatialC
618d86fe948a7839fe4903a77da08941e169ae2e
[ "Apache-2.0" ]
null
null
null
tests/bitonic_sort/simple_test.cpp
llpm/SpatialC
618d86fe948a7839fe4903a77da08941e169ae2e
[ "Apache-2.0" ]
null
null
null
tests/bitonic_sort/simple_test.cpp
llpm/SpatialC
618d86fe948a7839fe4903a77da08941e169ae2e
[ "Apache-2.0" ]
null
null
null
#include "Simple.hpp" #include "obj/verilator_extra.h" #include <cstdio> #include <stdint.h> #include <cassert> #include <cstdlib> #define NUM 4 int main() { Simple* s = new Simple(); s->trace("debug.vcd"); s->reset(); uint32_t tmp; start_debug(fopen("debug.txt", "w")); srand(time(NULL)); ...
17.876923
54
0.471601
llpm
bcdfa3f6478b6122a5fcee0d53aef5f6a2e1732f
3,239
cpp
C++
library/log.cpp
atzom/messagesparser
13942b2d8d3ccc05f1f1e118506c113b57552b3e
[ "BSD-3-Clause" ]
1
2020-07-07T09:17:05.000Z
2020-07-07T09:17:05.000Z
library/log.cpp
atzom/messagesparser
13942b2d8d3ccc05f1f1e118506c113b57552b3e
[ "BSD-3-Clause" ]
null
null
null
library/log.cpp
atzom/messagesparser
13942b2d8d3ccc05f1f1e118506c113b57552b3e
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, Andreas Tzomakas * 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 o...
29.18018
121
0.609447
atzom
bcdfa5232d28d728127dce528f0d986149f6de51
13,976
cpp
C++
Tools/RichToolTipCtrl.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
497
2019-06-20T09:52:58.000Z
2022-03-31T12:56:49.000Z
Tools/RichToolTipCtrl.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
58
2019-06-19T10:53:49.000Z
2022-02-14T22:43:18.000Z
Tools/RichToolTipCtrl.cpp
lcsteyn/DSS
7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9
[ "BSD-3-Clause" ]
57
2019-07-08T16:08:01.000Z
2022-03-12T15:00:04.000Z
//////////////////////////////////////////////////////////////////////////// // File: RichToolTipCtrl.cpp // Version: 1.1 // Created: 22-Mar-2005 // // Author: Paul S. Vickery // E-mail: developer@vickeryhome.freeserve.co.uk // // Class to provide a means of using rich text in a tool-tip, without using // the newer sty...
30.852097
111
0.64668
lcsteyn
bce57a9f41bdc490f92c308b399eb8c8ead3d8e8
1,683
cpp
C++
src/TP1/Rectangle.cpp
PierreAlexandreGarneau/ProgAvI_H17_TP1_Vector2D3D_444
7c6978ec269ef4a3c77237dcf20602c74c0aceae
[ "MIT" ]
null
null
null
src/TP1/Rectangle.cpp
PierreAlexandreGarneau/ProgAvI_H17_TP1_Vector2D3D_444
7c6978ec269ef4a3c77237dcf20602c74c0aceae
[ "MIT" ]
null
null
null
src/TP1/Rectangle.cpp
PierreAlexandreGarneau/ProgAvI_H17_TP1_Vector2D3D_444
7c6978ec269ef4a3c77237dcf20602c74c0aceae
[ "MIT" ]
null
null
null
#include "Rectangle.h" Rectangle::Rectangle(float x, float y, float width, float height) { _x = x; _y = y; _w = width; _h = height; } Rectangle::Rectangle(Vector2D* topLeft, Vector2D* btmRight) : Rectangle::Rectangle(topLeft->x, topLeft->y, btmRight->x - topLeft->x, topLeft->y - btmRight->y) { } float Rectang...
19.344828
97
0.67855
PierreAlexandreGarneau
bce9341e9f9bc7f3bc775b751b73c9728862f71d
1,686
cpp
C++
sdk/storage/azure-storage-common/src/storage_per_retry_policy.cpp
ku-sourav/azure-sdk-for-cpp
1abb101fde485cc6a0a0a22681a5dc005db9fba6
[ "MIT" ]
1
2020-12-19T11:58:53.000Z
2020-12-19T11:58:53.000Z
sdk/storage/azure-storage-common/src/storage_per_retry_policy.cpp
ku-sourav/azure-sdk-for-cpp
1abb101fde485cc6a0a0a22681a5dc005db9fba6
[ "MIT" ]
null
null
null
sdk/storage/azure-storage-common/src/storage_per_retry_policy.cpp
ku-sourav/azure-sdk-for-cpp
1abb101fde485cc6a0a0a22681a5dc005db9fba6
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include <azure/core/platform.hpp> #include "azure/storage/common/storage_per_retry_policy.hpp" #include <ctime> namespace Azure { namespace Storage { namespace Details { std::unique_ptr<Core::Http::RawResponse> StorageP...
35.125
97
0.654804
ku-sourav
bcf2571630aec3818f72154b13ce2e9af57cd33c
577
cpp
C++
gdw_project/gdw/src/utilities/GitRevision.cpp
GDW2018/GDW
a57cff2cf49a7f052d0dac0d2b532dfb82de4d0d
[ "MIT" ]
3
2018-08-12T06:51:44.000Z
2019-05-18T04:10:33.000Z
gdw_project/gdw/src/utilities/GitRevision.cpp
GDW2018/GDW
a57cff2cf49a7f052d0dac0d2b532dfb82de4d0d
[ "MIT" ]
null
null
null
gdw_project/gdw/src/utilities/GitRevision.cpp
GDW2018/GDW
a57cff2cf49a7f052d0dac0d2b532dfb82de4d0d
[ "MIT" ]
null
null
null
#include <stdint.h> #include <utilities/GitRevision.hpp> #define GDWCORE_GIT_REVISION_SHA "7e7f255f185ffaf53397084f6ca747674088f176" #define GDWCORE_GIT_REVISION_UNIX_TIMESTAMP 1488663957 #define GDWCORE_GIT_REVISION_DESCRIPTION "GDW" namespace gdwcore { namespace utilities { const char* const git_revisi...
33.941176
89
0.809359
GDW2018
bcf366d7bb468926c741fabf08681d3696ca02b7
1,967
cpp
C++
src/database/overlay/ftgl/src/FTOutlineGlyph.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/database/overlay/ftgl/src/FTOutlineGlyph.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/database/overlay/ftgl/src/FTOutlineGlyph.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation 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....
23.987805
95
0.635994
OpenXIP
bcfa05d228e854b30acded0a2cc72dfb1793c617
745
cpp
C++
backup/2/interviewbit/c++/highest-product.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/interviewbit/c++/highest-product.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/interviewbit/c++/highest-product.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
67.727273
345
0.702013
yangyanzhan
bcfa1edb78abc60f6eb5baae1239ca2742072a28
364
cpp
C++
Long September Challenge 2021/1. Airline Restrictions.cpp
MadanParth786/Codeshef-Problems
64ec3b9849992f3350dfe67f2dbc6332a665b471
[ "MIT" ]
1
2021-07-09T16:44:41.000Z
2021-07-09T16:44:41.000Z
Long September Challenge 2021/1. Airline Restrictions.cpp
MadanParth786/Codeshef-Problems
64ec3b9849992f3350dfe67f2dbc6332a665b471
[ "MIT" ]
null
null
null
Long September Challenge 2021/1. Airline Restrictions.cpp
MadanParth786/Codeshef-Problems
64ec3b9849992f3350dfe67f2dbc6332a665b471
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(void) { int n; cin>>n; int a,b,c,d,e; while(n--){ cin>>a>>b>>c>>d>>e; if(a+b<=d and c<=e){ cout<<"YES"<<"\n"; } else if(b+c<=d and a<=e){ cout<<"YES"<<"\n"; } else if(c+a<=d and b<=e){ cout<<"YES"<<"\n"; } else{ ...
13.481481
31
0.401099
MadanParth786
4c0018f6f1219e487afa8fd12632241bd7c6e5b5
2,277
cpp
C++
src/rfx/graphics/Buffer.cpp
rfruesmer/rfx
96c15a11ee8e2192c9d2ff233924eee884835f17
[ "MIT" ]
null
null
null
src/rfx/graphics/Buffer.cpp
rfruesmer/rfx
96c15a11ee8e2192c9d2ff233924eee884835f17
[ "MIT" ]
null
null
null
src/rfx/graphics/Buffer.cpp
rfruesmer/rfx
96c15a11ee8e2192c9d2ff233924eee884835f17
[ "MIT" ]
null
null
null
#include "rfx/pch.h" #include "rfx/graphics/Buffer.h" using namespace rfx; using namespace std; // --------------------------------------------------------------------------------------------------------------------- Buffer::Buffer( VkDeviceSize size, VkDevice device, VkBuffer buffer, VkDeviceMemory...
26.788235
120
0.376812
rfruesmer
4c03fe1439c63e517d58466b9494415e15f384f6
5,443
cpp
C++
examples/text-overlap/text-overlap-example.cpp
Coquinho/dali-demo
6307bc22f92c7aaf333125282464bcb8abec3852
[ "Apache-2.0" ]
8
2016-11-18T10:26:56.000Z
2021-05-03T10:26:30.000Z
examples/text-overlap/text-overlap-example.cpp
Coquinho/dali-demo
6307bc22f92c7aaf333125282464bcb8abec3852
[ "Apache-2.0" ]
2
2020-07-26T11:54:24.000Z
2021-06-06T19:37:36.000Z
examples/text-overlap/text-overlap-example.cpp
Coquinho/dali-demo
6307bc22f92c7aaf333125282464bcb8abec3852
[ "Apache-2.0" ]
6
2019-05-24T11:59:15.000Z
2021-05-24T07:34:39.000Z
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * 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 applicabl...
33.392638
107
0.714312
Coquinho
4c04f0302d46e356038a5926b6954a3ad703d06c
555
cpp
C++
lab/Lab11/q6.cpp
B33pl0p/ioe-oop
87162561e0ced7e7e9cc7c7a8354d535de16e1f5
[ "MIT" ]
4
2021-02-19T12:19:06.000Z
2022-02-11T14:15:49.000Z
lab/Lab11/q6.cpp
B33pl0p/ioe-oop
87162561e0ced7e7e9cc7c7a8354d535de16e1f5
[ "MIT" ]
null
null
null
lab/Lab11/q6.cpp
B33pl0p/ioe-oop
87162561e0ced7e7e9cc7c7a8354d535de16e1f5
[ "MIT" ]
12
2018-01-29T15:37:51.000Z
2022-02-10T06:45:03.000Z
// Write a meaningful program that can handle multiple exceptions. #include<iostream> using namespace std; void test(int b){ if(b == 0) throw 1; if(b == 1) throw 1.0; if(b == 2) throw 'e'; cout << "Value of b is: " << b << endl; } int main(){ try{ test(3);...
15.857143
67
0.499099
B33pl0p
4c08256d2e2424a9689dd94e7348d870aea893d2
5,956
cpp
C++
src/aimp_dotnet/SDK/AimpConfig.cpp
F8ER/aimp_dotnet
2e93b9eda44cd77337b45f008d29eec574774064
[ "Apache-2.0" ]
null
null
null
src/aimp_dotnet/SDK/AimpConfig.cpp
F8ER/aimp_dotnet
2e93b9eda44cd77337b45f008d29eec574774064
[ "Apache-2.0" ]
null
null
null
src/aimp_dotnet/SDK/AimpConfig.cpp
F8ER/aimp_dotnet
2e93b9eda44cd77337b45f008d29eec574774064
[ "Apache-2.0" ]
null
null
null
// ---------------------------------------------------- // AIMP DotNet SDK // Copyright (c) 2014 - 2020 Evgeniy Bogdan // https://github.com/martin211/aimp_dotnet // Mail: mail4evgeniy@gmail.com // ---------------------------------------------------- #include "Stdafx.h" #include "AimpConfig.h" using namespa...
26.237885
110
0.572532
F8ER
4c083bc9f39e238b979f53e2af70146f24b2a948
5,007
cpp
C++
_more/case/c4rv/_more/rvcpp/riscv.cpp
al2698/sp
fceabadef49ffe6ed25dfef38e3dc418f309e128
[ "MIT" ]
null
null
null
_more/case/c4rv/_more/rvcpp/riscv.cpp
al2698/sp
fceabadef49ffe6ed25dfef38e3dc418f309e128
[ "MIT" ]
null
null
null
_more/case/c4rv/_more/rvcpp/riscv.cpp
al2698/sp
fceabadef49ffe6ed25dfef38e3dc418f309e128
[ "MIT" ]
null
null
null
#include "riscv.hpp" //================================ Op opList[] = { // 運算指令 {Sll, "sll", 'R',0x33,0x1,0x0}, {Slli, "slli", 'I',0x13,0x1,0x0}, {Srl, "srl", 'R',0x33,0x5,0x0}, {Srli, "srli", 'I',0x13,0x5,0x0}, {Sra, "sra", 'R',0x33,0x5,0x20}, {Srai, "srai", 'I',0x13,0x5,0x20}, {Add, "add", 'R',0x33,0x0,0x0}, {Addi, ...
37.931818
139
0.551827
al2698
4c157c40118fd1421c7d76190ae98fe9127e04a7
28,153
cpp
C++
Lorem Ipsum/Chinchetario.cpp
NicoPast/P2
2f68dd4d254b9d3ae096e25b0cfe2e780e9922fc
[ "MIT" ]
null
null
null
Lorem Ipsum/Chinchetario.cpp
NicoPast/P2
2f68dd4d254b9d3ae096e25b0cfe2e780e9922fc
[ "MIT" ]
null
null
null
Lorem Ipsum/Chinchetario.cpp
NicoPast/P2
2f68dd4d254b9d3ae096e25b0cfe2e780e9922fc
[ "MIT" ]
1
2021-09-30T09:56:46.000Z
2021-09-30T09:56:46.000Z
#include "Chinchetario.h" #include "LoremIpsum.h" #include "DragDrop.h" #include "ScrollerLimited.h" #include "Rectangle.h" #include "Camera.h" #include "CameraController.h" #include "Sprite.h" #include "Line.h" #include "ClueCallbacks.h" Chinchetario::Chinchetario(LoremIpsum* game) : State(game) { cam...
39.764124
196
0.657195
NicoPast
4c15c54083c0cc6a52bdf8de3b0b23d465c448d3
3,004
hpp
C++
include/gladys/point.hpp
PBechon/gladys
6a8313c33bd8cf0d73fae3d2845271039d234c91
[ "BSD-2-Clause" ]
null
null
null
include/gladys/point.hpp
PBechon/gladys
6a8313c33bd8cf0d73fae3d2845271039d234c91
[ "BSD-2-Clause" ]
null
null
null
include/gladys/point.hpp
PBechon/gladys
6a8313c33bd8cf0d73fae3d2845271039d234c91
[ "BSD-2-Clause" ]
null
null
null
/* * point.hpp * * Graph Library for Autonomous and Dynamic Systems * * author: Pierrick Koch <pierrick.koch@laas.fr> * created: 2013-07-22 * license: BSD */ #ifndef POINT_HPP #define POINT_HPP #include <cmath> #include <array> #include <vector> #include <deque> #include <ostream> #include <sstream> #ifndef ...
25.033333
78
0.631824
PBechon
4c16a41e7c4b4131ce76a82296cc87f44129dc98
5,844
cpp
C++
src/transport/udp_transport.cpp
cysme/pump
d91cfdf3e09ebca1e90f0c1395a3b3fba1158a0c
[ "Apache-2.0" ]
2
2020-07-16T04:57:40.000Z
2020-11-24T10:33:48.000Z
src/transport/udp_transport.cpp
jimi36/pump
d91cfdf3e09ebca1e90f0c1395a3b3fba1158a0c
[ "Apache-2.0" ]
2
2020-12-23T09:40:16.000Z
2021-03-03T09:49:36.000Z
src/transport/udp_transport.cpp
cysme/pump
d91cfdf3e09ebca1e90f0c1395a3b3fba1158a0c
[ "Apache-2.0" ]
3
2020-11-24T10:33:35.000Z
2021-04-19T01:53:24.000Z
/* * Copyright (C) 2015-2018 ZhengHaiTao <ming8ren@163.com> * * 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...
31.251337
94
0.596509
cysme
4c176ebbdc840d8b7d55df6f5b1892e119d865d4
1,752
ipp
C++
include/boost/mysql/detail/protocol/impl/common_messages.ipp
madmongo1/mysql-asio
26c57e92ddeebfee22e08e5ea05e7bb51248eba5
[ "BSL-1.0" ]
1
2020-03-31T11:48:12.000Z
2020-03-31T11:48:12.000Z
include/boost/mysql/detail/protocol/impl/common_messages.ipp
madmongo1/mysql-asio
26c57e92ddeebfee22e08e5ea05e7bb51248eba5
[ "BSL-1.0" ]
null
null
null
include/boost/mysql/detail/protocol/impl/common_messages.ipp
madmongo1/mysql-asio
26c57e92ddeebfee22e08e5ea05e7bb51248eba5
[ "BSL-1.0" ]
null
null
null
#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_COMMON_MESSAGES_IPP_ #define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_COMMON_MESSAGES_IPP_ inline boost::mysql::errc boost::mysql::detail::serialization_traits< boost::mysql::detail::ok_packet, boost::mysql::detail::serialization_tag::struct_with_fields >::deserialize...
24.333333
83
0.778539
madmongo1
4c18387cdf16bfe073c05b31ddb66cdc3b029f98
15,122
cpp
C++
qws/src/core/QRect.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/core/QRect.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/core/QRect.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QRect.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:01:55 // // Warning : this file is machine generated - do ...
29.19305
145
0.64707
keera-studios
4c1c987ca1d4f8ee3094a97ed139b6f6c770de0c
10,619
cpp
C++
src/game/server/swarm/asw_ranger.cpp
BenLubar/SwarmDirector2
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
[ "Apache-2.0" ]
3
2015-05-17T02:33:00.000Z
2016-10-08T07:02:40.000Z
src/game/server/swarm/asw_ranger.cpp
BenLubar/SwarmDirector2
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
[ "Apache-2.0" ]
null
null
null
src/game/server/swarm/asw_ranger.cpp
BenLubar/SwarmDirector2
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
[ "Apache-2.0" ]
1
2019-10-16T15:21:56.000Z
2019-10-16T15:21:56.000Z
#include "cbase.h" #include "asw_ranger.h" #include "npcevent.h" #include "asw_gamerules.h" #include "asw_shareddefs.h" #include "asw_fx_shared.h" #include "asw_grenade_cluster.h" #include "world.h" #include "particle_parse.h" #include "asw_util_shared.h" #include "ai_squad.h" #include "asw_marine.h" #include "gib.h" #...
29.415512
137
0.59742
BenLubar
4c2be4e9576ca2bc4669ef0074a384798ffa82d3
216
cpp
C++
Game/Client/WXClient/Network/PacketHandler/CGCharIdleHandler.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXClient/Network/PacketHandler/CGCharIdleHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXClient/Network/PacketHandler/CGCharIdleHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "StdAfx.h" #include "CGCharIdle.h" uint CGCharIdleHandler::Execute( CGCharIdle* pPacket, Player* pPlayer ) { __ENTER_FUNCTION return PACKET_EXE_CONTINUE ; __LEAVE_FUNCTION return PACKET_EXE_ERROR ; }
14.4
71
0.782407
hackerlank
4c2cd17db19478b6b12c2655c87537a49429f4f8
549
ipp
C++
include/canard/net/ofp/v10/impl/action_list.ipp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/v10/impl/action_list.ipp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/v10/impl/action_list.ipp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_V10_IMPL_ACTION_LIST_IPP #define CANARD_NET_OFP_V10_IMPL_ACTION_LIST_IPP #include <canard/net/ofp/detail/config.hpp> #include <canard/net/ofp/v10/action_list.hpp> #if !defined(CANARD_NET_OFP_HEADER_ONLY) # if defined(CANARD_NET_OFP_USE_EXPLICIT_INSTANTIATION) # include <canard/net/ofp/list.hp...
21.115385
55
0.794171
amedama41
4c2f78a49be33e62a5778dcdcffd80d8a51050a2
53,243
cpp
C++
code/source/Groups/GroupsDataModels.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
code/source/Groups/GroupsDataModels.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
1
2022-03-04T20:50:28.000Z
2022-03-04T21:02:12.000Z
code/source/Groups/GroupsDataModels.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
3
2021-12-04T20:43:04.000Z
2022-01-03T21:16:32.000Z
#include "stdafx.h" #include "GroupsDataModels.h" #include "JsonUtils.h" namespace PlayFab { namespace Groups { JsonValue AcceptGroupApplicationRequest::ToJson() const { return AcceptGroupApplicationRequest::ToJson(this->Model()); } JsonValue AcceptGroupApplicationRequest::ToJson(const PFGroupsAcceptGroupApplica...
33.570618
181
0.730406
jasonsandlin
4c334b09ff22c894f1f51cafda30f3ccb7550cbe
498
cpp
C++
C++/P9/P9.cpp
PuRgE-CoDeE/Euler-Solutions
1eaccc1c3c92b80ec5825a4b1e7aa0dcb94f1934
[ "Apache-2.0" ]
null
null
null
C++/P9/P9.cpp
PuRgE-CoDeE/Euler-Solutions
1eaccc1c3c92b80ec5825a4b1e7aa0dcb94f1934
[ "Apache-2.0" ]
null
null
null
C++/P9/P9.cpp
PuRgE-CoDeE/Euler-Solutions
1eaccc1c3c92b80ec5825a4b1e7aa0dcb94f1934
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> #include <cmath> using namespace std; int main() { int tmp,i_sqrt; double d_sqrt; for(int i=1;i<500;i++) { for(int j=i+1;j<1000-i;j++) { tmp=i*i+j*j; d_sqrt=sqrt(tmp); i_sqrt=d_sqrt; if(i_sqrt==d_s...
17.172414
43
0.407631
PuRgE-CoDeE
4c38c32465ab75e6bec98ebdc8fbc1fa76439551
14,439
cpp
C++
VGP334/17_HelloSkeletonAnimation/GameState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
VGP334/17_HelloSkeletonAnimation/GameState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
VGP334/17_HelloSkeletonAnimation/GameState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
#include "GameState.h" #include <ImGui/Inc/imgui.h> using namespace JimmyGod::Graphics; using namespace JimmyGod::Input; using namespace JimmyGod::Math; namespace { void SimpleDrawCamera(const Camera& camera) { auto defaultMatView = camera.GetViewMatrix(); Vector3 cameraPosition = camera.GetPositi...
33.735981
160
0.724219
TheJimmyGod
4c3a21d08314f472fa92af7f89c66742a349cb25
1,193
cpp
C++
vendor/cybozulib/test/base/thread_test.cpp
teamsimplepay/ooxml_crypt
8a20790b2f7ec49e98171af0c2be78e8cd241f3e
[ "MIT" ]
48
2015-02-06T12:24:25.000Z
2021-11-26T15:28:07.000Z
vendor/cybozulib/test/base/thread_test.cpp
teamsimplepay/ooxml_crypt
8a20790b2f7ec49e98171af0c2be78e8cd241f3e
[ "MIT" ]
4
2017-09-07T08:32:33.000Z
2021-11-29T01:51:41.000Z
vendor/cybozulib/test/base/thread_test.cpp
teamsimplepay/ooxml_crypt
8a20790b2f7ec49e98171af0c2be78e8cd241f3e
[ "MIT" ]
22
2015-01-26T10:44:48.000Z
2022-02-08T20:36:07.000Z
#include <stdio.h> #include <cybozu/thread.hpp> #include <cybozu/mutex.hpp> #include <cybozu/test.hpp> #include <cybozu/atomic.hpp> const int N = 1000000; int s_count = 0; class ThreadTest : public cybozu::ThreadBase { cybozu::Mutex& mutex_; int num_; public: ThreadTest(cybozu::Mutex& mutex, int num) : mutex_(mu...
18.936508
46
0.638726
teamsimplepay
4c42753e8476d34173e823f707d85e329952882e
617
hpp
C++
src/planner.hpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
1
2021-11-30T11:19:56.000Z
2021-11-30T11:19:56.000Z
src/planner.hpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
null
null
null
src/planner.hpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
null
null
null
#ifndef PLANNER_H #define PLANNER_H #include <list> #include "agent.hpp" #include "point.hpp" #include "roadmap.hpp" #include "path.hpp" #include "search.hpp" using namespace std; namespace Dodger { class Planner { public: Planner() {}; ~Planner() {}; Planner(Search ...
18.69697
57
0.564019
a20r
4c49c7d064c64dd5ef050247a0e182a7cfac2fc0
40,453
cpp
C++
src/termsupport.cpp
mseyne/craftos2
1e36191ea40864499b54760fe92764fba871eb37
[ "MIT" ]
null
null
null
src/termsupport.cpp
mseyne/craftos2
1e36191ea40864499b54760fe92764fba871eb37
[ "MIT" ]
null
null
null
src/termsupport.cpp
mseyne/craftos2
1e36191ea40864499b54760fe92764fba871eb37
[ "MIT" ]
null
null
null
/* * termsupport.cpp * CraftOS-PC 2 * * This file implements some helper functions for terminal interaction. * * This code is licensed under the MIT license. * Copyright (c) 2019-2021 JackMacWindows. */ #include <cerrno> #include <cstdio> #include <cstring> #include <chrono> #include <codecvt> #include <loca...
47.093132
470
0.567869
mseyne
4c502b8355fc913f297dd65baa15e1eeb769e001
13,337
cpp
C++
Coin3D/src/Inventor/Xt/devices/SoXtKeyboard.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/Inventor/Xt/devices/SoXtKeyboard.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/Inventor/Xt/devices/SoXtKeyboard.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
47.127208
91
0.585664
pniaz20
4c51cd05437c4d3a0f63f77658e56de5c48ba1cc
3,403
cpp
C++
ScrapEngine/ScrapEngine/Engine/LogicCore/Components/RigidBodyComponent/RigidBodyComponent.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
118
2019-10-12T01:29:07.000Z
2022-02-22T08:08:18.000Z
ScrapEngine/ScrapEngine/Engine/LogicCore/Components/RigidBodyComponent/RigidBodyComponent.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
15
2019-09-02T16:51:39.000Z
2021-02-21T20:03:58.000Z
ScrapEngine/ScrapEngine/Engine/LogicCore/Components/RigidBodyComponent/RigidBodyComponent.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
11
2019-10-21T15:53:23.000Z
2022-02-20T20:56:39.000Z
#include <Engine/LogicCore/Components/RigidBodyComponent/RigidBodyComponent.h> #include <Engine/LogicCore/Components/MeshComponent/MeshComponent.h> #include <Engine/Physics/RigidBody/RigidBody.h> #include <Engine/LogicCore/Math/Vector/SVector3.h> ScrapEngine::Core::RigidBodyComponent::RigidBodyComponent(Physics::Rigid...
28.358333
105
0.80576
alundb
4c57b2d9fa9cb59bb8da3ca54dddd31191bc2234
559
hpp
C++
king/include/king/Core/Scene.hpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
3
2017-03-10T13:57:25.000Z
2017-05-31T19:05:35.000Z
king/include/king/Core/Scene.hpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
king/include/king/Core/Scene.hpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
#ifndef KING_SCENE_HPP #define KING_SCENE_HPP #include <king\Core\Object.hpp> namespace king { class SceneManager; class Scene : public Object { friend class SceneManager; private: //App * _app; bool _isActive; bool _isLoaded; int _sceneID; Scene& operator=(const Scene&); // Intentionally und...
12.152174
60
0.661896
tobiasbu
4c5a136dfa4ba690da7a76e1cdea232b9814b9f2
2,633
cc
C++
rst/logger/logger.cc
sabbakumov/rst
c0257ab1fb17dea7b022cc4955f715d80a9b32f6
[ "BSD-2-Clause" ]
4
2016-12-15T13:06:36.000Z
2022-01-10T16:34:00.000Z
rst/logger/logger.cc
sabbakumov/rst
c0257ab1fb17dea7b022cc4955f715d80a9b32f6
[ "BSD-2-Clause" ]
103
2019-01-24T18:06:35.000Z
2021-11-02T13:33:34.000Z
rst/logger/logger.cc
sabbakumov/rst
c0257ab1fb17dea7b022cc4955f715d80a9b32f6
[ "BSD-2-Clause" ]
4
2018-04-24T06:59:59.000Z
2022-02-04T18:10:03.000Z
// Copyright (c) 2016, Sergey Abbakumov // 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 condi...
28.619565
73
0.688568
sabbakumov
4c5f36458ad0952fa9375911afd08d2677e964fa
444
cpp
C++
tests/regression/N_with_print/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
43
2020-09-04T15:21:40.000Z
2022-03-23T03:53:02.000Z
tests/regression/N_with_print/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
15
2020-09-17T18:06:15.000Z
2022-01-24T17:14:36.000Z
tests/regression/N_with_print/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
23
2020-09-04T15:50:09.000Z
2022-03-25T13:38:25.000Z
#include <stdio.h> int main (){ double v1, v2; int v3, v4; int printVar; v1 = 111.0; v2 = 3; v3 = 7; v4 = 11; printVar = 0; for (int i = 0; i < 100; ++i) { v1 -= 1; v2 += v1 - 15; v2 += 13; v2 /= 2; v3 = v2 + 17; v4 = v3 - 23; printVar += printf("Iteration\n"); } p...
15.310345
64
0.477477
SusanTan
4c6578e29557e3f3b4fa07b5e4fdfd636abd06fc
693
cpp
C++
src/c++/exercios/setw/main.cpp
PedroExpedito/learc
bf0311f23860706881f7565c9347db3e40559145
[ "MIT" ]
null
null
null
src/c++/exercios/setw/main.cpp
PedroExpedito/learc
bf0311f23860706881f7565c9347db3e40559145
[ "MIT" ]
null
null
null
src/c++/exercios/setw/main.cpp
PedroExpedito/learc
bf0311f23860706881f7565c9347db3e40559145
[ "MIT" ]
1
2020-05-18T12:20:10.000Z
2020-05-18T12:20:10.000Z
#include <iostream> #include <iomanip> #include <string> // Operador setw ele pega um fluxo e coloca dentro de um campo de N caracteres e // justifica a direita using namespace std; using std::left; class People { public: string name; int age; People(const string& name, const int& age) { this->...
20.382353
80
0.594517
PedroExpedito
4c66651c8d769a4a3403d41cc32bbb9a4eda28bb
30,629
cpp
C++
avs/vis_avs/r_colormap.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
18
2020-07-30T11:55:23.000Z
2022-02-25T02:39:15.000Z
avs/vis_avs/r_colormap.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
34
2021-01-13T02:02:12.000Z
2022-03-23T12:09:55.000Z
avs/vis_avs/r_colormap.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
3
2021-03-18T12:53:58.000Z
2021-10-02T20:24:41.000Z
/* Reconstructed by decompiling the original colormap.ape v1.3 binary. Credits: Steven Wittens (a.k.a. "Unconed" -> https://acko.net), for the original Colormap, & the Ghidra authors. Most of the code deals with handling the UI interactions (all the Win32 UI API calls were thankfully plainly visible in the decompi...
46.128012
130
0.576676
semiessessi
4c68adc5dd974c8b3bea3a17e0368e16acf8262d
598
cpp
C++
LazyFibonacci/Solution/Fibonacci.cpp
AssafTzurEl/interview-workshop
fe070eb660488723f5f6e878ac8441291bb1559e
[ "MIT" ]
null
null
null
LazyFibonacci/Solution/Fibonacci.cpp
AssafTzurEl/interview-workshop
fe070eb660488723f5f6e878ac8441291bb1559e
[ "MIT" ]
null
null
null
LazyFibonacci/Solution/Fibonacci.cpp
AssafTzurEl/interview-workshop
fe070eb660488723f5f6e878ac8441291bb1559e
[ "MIT" ]
null
null
null
#include "Fibonacci.h" Fibonacci::fsize_t Fibonacci::Get(size_t n) { if (s_cache.size() <= n) { // n hasn't been requested before, build it: auto fib_n = Get(n - 1) + Get(n - 2); // then populate the cache, to allow laziness in the future: s_cache.push_back(fib_n); } // ...
33.222222
89
0.638796
AssafTzurEl
4c69010ccad5c58056ce9790cfc9bfd73bfb7966
7,805
cpp
C++
test/test_mains/all_tests.cpp
BlaMaeda/abed
b10eebd2155d22d516ea5c6a1c31c45128a37122
[ "BSD-3-Clause" ]
null
null
null
test/test_mains/all_tests.cpp
BlaMaeda/abed
b10eebd2155d22d516ea5c6a1c31c45128a37122
[ "BSD-3-Clause" ]
null
null
null
test/test_mains/all_tests.cpp
BlaMaeda/abed
b10eebd2155d22d516ea5c6a1c31c45128a37122
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include "../include/dataset.hpp" #include "../include/mlp.hpp" #include "../include/tester.hpp" #include "../include/perceptron.hpp" #include "../include/bagging.hpp" #include "../include/svm.hpp" using namespace std; using namespace abed; void test_mlp () { const double MLP...
32.252066
70
0.594619
BlaMaeda
4c6ac57505c53becc16588dab2b3661fdcde7269
10,564
cpp
C++
src/game/shared/swarm/asw_powerup_shared.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/shared/swarm/asw_powerup_shared.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/shared/swarm/asw_powerup_shared.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
#include "cbase.h" #ifdef CLIENT_DLL #include "c_asw_player.h" #include "c_asw_marine.h" #include "c_asw_weapon.h" #include "c_asw_marine_resource.h" #define CASW_Marine C_ASW_Marine #define CASW_Weapon C_ASW_Weapon #define CASW_Pickup C_ASW_Pickup #define CASW_Powerup C_ASW_Powerup #define CASW_Powerup_B...
29.757746
112
0.763347
BlueNovember
4c6f6c5c2f73f1d53c36d6c673754ac72a8a7bca
600
cpp
C++
Class-05/Problem-23.cpp
Emrul-Hasan-Emon/Intermediate-Session-2021
188b82eb3f063a203186ebfb6b01acaa3ab12b02
[ "MIT" ]
2
2021-12-06T17:57:11.000Z
2022-01-15T14:34:00.000Z
Class-05/Problem-23.cpp
Emrul-Hasan-Emon/Intermediate-Session-2021
188b82eb3f063a203186ebfb6b01acaa3ab12b02
[ "MIT" ]
null
null
null
Class-05/Problem-23.cpp
Emrul-Hasan-Emon/Intermediate-Session-2021
188b82eb3f063a203186ebfb6b01acaa3ab12b02
[ "MIT" ]
null
null
null
You are given a number consists of n digits. Find whether the number is multiple of 3 or not. As this is a very big number this will not if into even in long long range. So, this number has to be taken also in string. And if summation of every digit in string is divisible by 3 then whole number is divisible by 3. #i...
25
158
0.621667
Emrul-Hasan-Emon
4c6ff00d5a94d6f49e5bbc083b5cf378be340821
486
cpp
C++
Naive_Chef.cpp
amit9amarwanshi/The_Quiet_Revolution
7713787ef27c0c144e4c2d852d826ee1c4176a95
[ "MIT" ]
null
null
null
Naive_Chef.cpp
amit9amarwanshi/The_Quiet_Revolution
7713787ef27c0c144e4c2d852d826ee1c4176a95
[ "MIT" ]
null
null
null
Naive_Chef.cpp
amit9amarwanshi/The_Quiet_Revolution
7713787ef27c0c144e4c2d852d826ee1c4176a95
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ASCII_SIZE 256 #define ll long long int int main(){ ll t,n,n1,a,b,c,j,temp,l,s=0; cin>>t; while(t--){ cin>>n>>a>>b; ll ca=0; ll cb=0; for(ll i=0;i<n;i++){ cin>>temp; if(temp==a) ca++; if(...
20.25
33
0.450617
amit9amarwanshi
dbcce8568ab929eb8e5f32963eb396a1ad26b60a
3,713
cc
C++
omaha/tools/MsiTagger/msi_tag_tool.cc
theroguekiller1/tablet-a
5f5207f1cb936f380368f623f2128749a289c777
[ "Apache-2.0" ]
2
2019-09-06T20:53:41.000Z
2021-03-09T08:41:24.000Z
omaha/tools/MsiTagger/msi_tag_tool.cc
theroguekiller1/tablet-a
5f5207f1cb936f380368f623f2128749a289c777
[ "Apache-2.0" ]
1
2018-12-19T12:23:39.000Z
2018-12-19T12:23:39.000Z
omaha/tools/MsiTagger/msi_tag_tool.cc
theroguekiller1/tablet-a
5f5207f1cb936f380368f623f2128749a289c777
[ "Apache-2.0" ]
1
2019-09-06T20:54:10.000Z
2019-09-06T20:54:10.000Z
// Copyright 2013 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
29.704
78
0.605171
theroguekiller1
dbd2cb2bc93c582dd30ffabab0512915516d58db
1,473
cpp
C++
srcs/Application.cpp
Globicodeur/N-Puzzle
2b6e23d509a40d1089b5212e04fb86e237519228
[ "MIT" ]
null
null
null
srcs/Application.cpp
Globicodeur/N-Puzzle
2b6e23d509a40d1089b5212e04fb86e237519228
[ "MIT" ]
null
null
null
srcs/Application.cpp
Globicodeur/N-Puzzle
2b6e23d509a40d1089b5212e04fb86e237519228
[ "MIT" ]
null
null
null
#include "Application.hpp" #include "options/Options.hpp" #include "parsing/Parser.hpp" #include "runtime/Solver.hpp" Application::Application(int argc, char **argv) { Options::parseFromCommandLine(argc, argv); } void Application::run(void) { using MaybeState = std::optional<parsing::ParsedPuzzle>; pa...
28.882353
77
0.662593
Globicodeur
dbd82a8c06408d7fe3288e805f3ad6c3ccde1eeb
883
cpp
C++
solutions/21-E-Merge-Two-Sorted-Lists/main.cpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
solutions/21-E-Merge-Two-Sorted-Lists/main.cpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
solutions/21-E-Merge-Two-Sorted-Lists/main.cpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
#include <iostream> #include "../../utilities/singly-linked-node.hpp" #include "../../utilities/print-linked-list.cpp" ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) { if (l1 != nullptr && l2 != nullptr) { if (l1->val > l2->val) { std::swap(l1, l2); } l1->next = mergeTwoLists(l1->next, l2); ...
24.527778
53
0.635334
ARW2705
dbd9433a7a45e3dba49338d7076dd9e791352da5
884
cpp
C++
HackerRankEulerProblems/60/P047_DistinctPrimesFactors.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
HackerRankEulerProblems/60/P047_DistinctPrimesFactors.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
HackerRankEulerProblems/60/P047_DistinctPrimesFactors.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
#include "P047_DistinctPrimesFactors.h" #include <iostream> #include "libs/prime.h" std::vector<unsigned int> P047_DistinctPrimesFactors::Solve(unsigned int n, unsigned int k) { unsigned int max = n + k - 1; std::vector<unsigned int> primes(max + 1, 0); for (unsigned int ii = 2; ii <= max; ++ii) { if (primes[ii]...
20.090909
91
0.61086
wingkinl
dbe2836c9846d23e0906f29af661dd4708b124e2
6,179
cpp
C++
speedcc/platform/android/speedcc/src/main/cpp/SCAndroidAppEnv.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
7
2018-03-10T02:01:49.000Z
2021-09-14T15:42:10.000Z
speedcc/platform/android/speedcc/src/main/cpp/SCAndroidAppEnv.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
null
null
null
speedcc/platform/android/speedcc/src/main/cpp/SCAndroidAppEnv.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
1
2018-03-10T02:01:58.000Z
2018-03-10T02:01:58.000Z
/**************************************************************************** Copyright (c) 2017-2020 Kevin Wu (Wu Feng) github: http://github.com/kevinwu1024 Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a...
27.833333
112
0.547014
kevinwu1024
dbe74f299aac0e18e2064c5cb03b708f6580c10d
694
ipp
C++
asteria/src/details/utils.ipp
LiXiaYu/asteria
1f715f910decb55817ce5f6a310675f9724f1b7d
[ "BSD-3-Clause" ]
null
null
null
asteria/src/details/utils.ipp
LiXiaYu/asteria
1f715f910decb55817ce5f6a310675f9724f1b7d
[ "BSD-3-Clause" ]
null
null
null
asteria/src/details/utils.ipp
LiXiaYu/asteria
1f715f910decb55817ce5f6a310675f9724f1b7d
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018 - 2022, LH_Mouse. All wrongs reserved. #ifndef ASTERIA_UTILS_HPP_ # error Please include <asteria/utils.hpp> instead. #endif namespace asteria { namespace details_utils { extern const uint8_t cctype_table[128]; struct Quote_Wrapper { const char* str; size...
16.926829
55
0.713256
LiXiaYu
dbeaf4de6922cdb4e57871e662dfc706634870ed
2,373
cpp
C++
src/lib/tools/followredirectreply.cpp
pejakm/qupzilla
c1901cd81d9d3488a7dc1f25b777fb56f67cb39e
[ "BSD-3-Clause" ]
1
2015-11-02T17:31:21.000Z
2015-11-02T17:31:21.000Z
src/lib/tools/followredirectreply.cpp
pejakm/qupzilla
c1901cd81d9d3488a7dc1f25b777fb56f67cb39e
[ "BSD-3-Clause" ]
null
null
null
src/lib/tools/followredirectreply.cpp
pejakm/qupzilla
c1901cd81d9d3488a7dc1f25b777fb56f67cb39e
[ "BSD-3-Clause" ]
null
null
null
/* ============================================================ * QupZilla - WebKit based browser * Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
27.917647
95
0.68563
pejakm
dbee9c0986427d0283ed532b8da80bd922d82a72
3,356
cpp
C++
Modules/TArc/Sources/TArc/Controls/Private/LineEdit.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Modules/TArc/Sources/TArc/Controls/Private/LineEdit.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Modules/TArc/Sources/TArc/Controls/Private/LineEdit.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "TArc/Controls/LineEdit.h" #include "TArc/Controls/Private/TextValidator.h" #include <Base/FastName.h> #include <Reflection/ReflectedMeta.h> namespace DAVA { namespace TArc { LineEdit::LineEdit(const Params& params, DataWrappersProcessor* wrappersProcessor, Reflection model, QWidget* parent) : ControlPro...
28.683761
117
0.679976
Serviak
dbf4b95d04ae70e13a8f51f20bb2923f8b84e572
4,053
cpp
C++
src/app/medInria/medExportVideoDialog.cpp
aarrieul/medInria-public
0cd113a6b41e40497f1472630e9afa8e688ba85a
[ "BSD-4-Clause", "BSD-1-Clause" ]
61
2015-04-14T13:00:50.000Z
2022-03-09T22:22:18.000Z
src/app/medInria/medExportVideoDialog.cpp
aarrieul/medInria-public
0cd113a6b41e40497f1472630e9afa8e688ba85a
[ "BSD-4-Clause", "BSD-1-Clause" ]
510
2016-02-03T13:28:18.000Z
2022-03-23T10:23:44.000Z
src/app/medInria/medExportVideoDialog.cpp
mathildemerle/medInria-public
e8c517ef6263c1d98a62b79ca7aad30a21b61094
[ "BSD-4-Clause", "BSD-1-Clause" ]
36
2015-03-03T22:58:19.000Z
2021-12-28T18:19:23.000Z
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details in the root of the sources or: https://github.com/medInria/medInria-public/blob/master/LICENSE.txt This software is distributed WITHOUT ANY WARRANTY; w...
28.744681
116
0.65211
aarrieul
dbfc683c3c8e0e9ba9a20450964146aaf5fb9807
215
cpp
C++
Youtube/Staticcpp.cpp
lance-lh/learning-c-plusplus
90342cc5d26a5adb87aa3e97795d4bbfca7bef52
[ "MIT" ]
1
2019-03-27T13:00:02.000Z
2019-03-27T13:00:02.000Z
Youtube/Staticcpp.cpp
lance-lh/learning-c-plusplus
90342cc5d26a5adb87aa3e97795d4bbfca7bef52
[ "MIT" ]
null
null
null
Youtube/Staticcpp.cpp
lance-lh/learning-c-plusplus
90342cc5d26a5adb87aa3e97795d4bbfca7bef52
[ "MIT" ]
1
2021-01-12T22:01:28.000Z
2021-01-12T22:01:28.000Z
//static int s_Variable = 5; // this variable is only linked internally inside this translation unit. if no keyword "static", the variable will have a global scope. int s_Variable = 5; static void Function() { }
23.888889
164
0.739535
lance-lh