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
ed724099132854471ee753c2bb369480825b053c
2,616
cc
C++
mediapipe/calculators/core/concatenate_normalized_landmark_list_calculator_v2.cc
mrliuzhao/mediapipe
6b9745891769c98e913e14dac49443b66b73bcd1
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/core/concatenate_normalized_landmark_list_calculator_v2.cc
mrliuzhao/mediapipe
6b9745891769c98e913e14dac49443b66b73bcd1
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/core/concatenate_normalized_landmark_list_calculator_v2.cc
mrliuzhao/mediapipe
6b9745891769c98e913e14dac49443b66b73bcd1
[ "Apache-2.0" ]
null
null
null
// Modified from concatenate_normalized_landmark_list_calculator.cc. output an empty list when there is no body detected. #ifndef MEDIAPIPE_CALCULATORS_CORE_CONCATENATE_NORMALIZED_LIST_CALCULATOR_H_ // NOLINT #define MEDIAPIPE_CALCULATORS_CORE_CONCATENATE_NORMALIZED_LIST_CALCULATOR_H_ // NOLINT #include "mediapipe/...
34.421053
121
0.734709
mrliuzhao
ed7c5772f12d3aa878f08ad49ce3a9fb269a88ce
14,354
cpp
C++
test/test.cpp
Malibushko/fixed_string
7ef1131568eade730a6d153a843680b96098294a
[ "MIT" ]
null
null
null
test/test.cpp
Malibushko/fixed_string
7ef1131568eade730a6d153a843680b96098294a
[ "MIT" ]
null
null
null
test/test.cpp
Malibushko/fixed_string
7ef1131568eade730a6d153a843680b96098294a
[ "MIT" ]
null
null
null
/* Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2020 - 2020 Daniil Dudkin. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
29.353783
128
0.666783
Malibushko
ed7e3984f5c1eb1b9f8e01e24c09b2b321aed4b6
540
hpp
C++
libraries/fc/src/crypto/_elliptic_impl_priv.hpp
techsharesteam/techshares
47c58630a578204147057b7504e571e19546444f
[ "MIT" ]
6
2018-08-08T06:10:45.000Z
2019-06-23T13:45:08.000Z
libraries/fc/src/crypto/_elliptic_impl_priv.hpp
techsharesteam/techshares
47c58630a578204147057b7504e571e19546444f
[ "MIT" ]
null
null
null
libraries/fc/src/crypto/_elliptic_impl_priv.hpp
techsharesteam/techshares
47c58630a578204147057b7504e571e19546444f
[ "MIT" ]
2
2018-08-06T06:50:46.000Z
2019-01-03T09:48:54.000Z
#pragma once #include <fc/crypto/elliptic.hpp> /* private_key_impl based on libsecp256k1 * used by mixed + secp256k1 */ namespace fc { namespace ecc { namespace detail { const secp256k1_context_t* _get_context(); void _init_lib(); class private_key_impl { public: private_key_impl() BO...
20.769231
82
0.688889
techsharesteam
1437c946935574b130bcb851292d601b6fbca916
155
cpp
C++
src/al_wrap/objects/al_Object.cpp
inobelar/al_wrap
7643d6d5cf47bd23adb8342bbe62af7b69aabc94
[ "MIT" ]
null
null
null
src/al_wrap/objects/al_Object.cpp
inobelar/al_wrap
7643d6d5cf47bd23adb8342bbe62af7b69aabc94
[ "MIT" ]
null
null
null
src/al_wrap/objects/al_Object.cpp
inobelar/al_wrap
7643d6d5cf47bd23adb8342bbe62af7b69aabc94
[ "MIT" ]
null
null
null
#include "al_Object.hpp" al::Object::Object() : _id(0) { } al::Object::~Object() { } al::Object::id_t al::Object::getId() const { return _id; }
11.923077
44
0.580645
inobelar
143d54666e6324c2dd81966b8b900a962e51b015
7,502
cpp
C++
ROBOT_MAIN/ROBOT_MAIN.cpp
sjentzsch/intel-iot-robotino
edd7340b739456a96eaf839809c68f17031a0aa1
[ "MIT" ]
null
null
null
ROBOT_MAIN/ROBOT_MAIN.cpp
sjentzsch/intel-iot-robotino
edd7340b739456a96eaf839809c68f17031a0aa1
[ "MIT" ]
null
null
null
ROBOT_MAIN/ROBOT_MAIN.cpp
sjentzsch/intel-iot-robotino
edd7340b739456a96eaf839809c68f17031a0aa1
[ "MIT" ]
null
null
null
// // ROBOT_MAIN.cpp // // Authors: // Sören Jentzsch <soren.jentzsch@gmail.com> // // Copyright (c) 2014 Sören Jentzsch // // 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 restri...
37.51
118
0.683418
sjentzsch
143ef34ab092e65f63c3909f341fc731dd7532ad
26,791
hh
C++
dune/ax1/common/membranefluxgridfunction.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/common/membranefluxgridfunction.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/common/membranefluxgridfunction.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
/* * membranepotentialgridfunction.hh * * Created on: Feb 17, 2012 * Author: jpods */ #ifndef DUNE_AX1_MEMBRANEFLUXGRIDFUNCTION_HH #define DUNE_AX1_MEMBRANEFLUXGRIDFUNCTION_HH #include <dune/ax1/common/intersectiongridfunction.hh> #include <dune/ax1/common/constants.hh> #include <dune/ax1/common/charge_lay...
37.31337
129
0.607517
pederpansen
1441ce621ce2b0c205901a55fec3382e2c42377a
1,701
hpp
C++
obj-x86_64-linux-gnu/src/server/interface/generated-cpp/OpencvPluginSampleInternal.hpp
ProvMichaelcao/pulsemodule
9a543ccab6af0e620b5d1d0bc060f375581fcb02
[ "Apache-2.0" ]
null
null
null
obj-x86_64-linux-gnu/src/server/interface/generated-cpp/OpencvPluginSampleInternal.hpp
ProvMichaelcao/pulsemodule
9a543ccab6af0e620b5d1d0bc060f375581fcb02
[ "Apache-2.0" ]
null
null
null
obj-x86_64-linux-gnu/src/server/interface/generated-cpp/OpencvPluginSampleInternal.hpp
ProvMichaelcao/pulsemodule
9a543ccab6af0e620b5d1d0bc060f375581fcb02
[ "Apache-2.0" ]
null
null
null
/* Autogenerated with kurento-module-creator */ #ifndef __OPENCV_PLUGIN_SAMPLE_INTERNAL_HPP__ #define __OPENCV_PLUGIN_SAMPLE_INTERNAL_HPP__ #include "OpencvPluginSample.hpp" namespace kurento { class JsonSerializer; } namespace kurento { class MediaPipeline; } /* kurento */ namespace kurento { namespace module { n...
18.9
72
0.758377
ProvMichaelcao
14436e31fc277fb3307b18cd7cf69937ab37453c
156
hpp
C++
addons/glock/script_component.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
2
2020-02-11T08:08:00.000Z
2020-11-06T13:51:29.000Z
addons/glock/script_component.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
13
2020-02-10T19:04:32.000Z
2021-05-25T14:38:30.000Z
addons/glock/script_component.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
1
2021-04-24T20:40:31.000Z
2021-04-24T20:40:31.000Z
#define COMPONENT glock #define COMPONENT_BEAUTIFIED Glock #include "\x\tacgt\addons\main\script_mod.hpp" #include "\x\tacgt\addons\main\script_macros.hpp"
31.2
49
0.807692
SynixeContractors
1445f6a995d95320f0bcf1fe225f3b9af76ff274
22,176
cpp
C++
source/lib/ExerciseLauncher.cpp
rdholder/FeetWetCoding
c0106009eae0ff0fadd7e96b8adfe3a815d5dcfb
[ "BSD-2-Clause-FreeBSD" ]
2
2016-04-28T19:31:51.000Z
2016-05-22T06:57:47.000Z
source/lib/ExerciseLauncher.cpp
rdholder/FeetWetCoding
c0106009eae0ff0fadd7e96b8adfe3a815d5dcfb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
source/lib/ExerciseLauncher.cpp
rdholder/FeetWetCoding
c0106009eae0ff0fadd7e96b8adfe3a815d5dcfb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <ExerciseLauncher.h> #include <SeeOut.h> #include <QDialog> #include <QTextEdit> #include <QTime> #include <QTransform> #include <utility> #include <float.h> #include <math.h> std::deque< std::pair< SeeOut::RequestType, QString > > SeeOut::exerciseOutMsgQueue; std::deque< std::pair< SeeOut::RequestType, QStri...
29.178947
139
0.582657
rdholder
144b66c5e9c0f0b52f4ae143dbc89140b0aeabe5
941
hpp
C++
src/ECS/Components/particleComponents.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/Components/particleComponents.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/Components/particleComponents.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#pragma once #include "Renderer/API/texture.hpp" #include <SFML/System/Vector2.hpp> #include <SFML/Graphics/Color.hpp> #include <vector> namespace ph { struct Particle { Vec2 position; Vec2 velocity; float lifetime = 0.f; }; namespace component { struct ParticleEmitter { std::vector<Particle> particles; Text...
20.021277
47
0.717322
SPC-Some-Polish-Coders
144bdb0fa42780af27e4d7a139103ad49e63aa4b
998
cpp
C++
hooks.cpp
zanzo420/Universal-Dear-ImGui-Hook
e0b8bb64e96778d6a4b8ee6e56add15fa89cd391
[ "MIT" ]
210
2020-01-22T13:18:36.000Z
2022-03-29T00:38:23.000Z
hooks.cpp
zanzo420/Universal-Dear-ImGui-Hook
e0b8bb64e96778d6a4b8ee6e56add15fa89cd391
[ "MIT" ]
18
2020-01-30T20:56:22.000Z
2022-03-19T15:28:09.000Z
hooks.cpp
zanzo420/Universal-Dear-ImGui-Hook
e0b8bb64e96778d6a4b8ee6e56add15fa89cd391
[ "MIT" ]
53
2020-01-14T01:36:38.000Z
2022-03-28T02:06:57.000Z
#include "stdafx.h" #include "imgui/imgui.h" #include "imgui/imgui_impl_dx12.h" #include "imgui/imgui_impl_win32.h" namespace hooks { void Init() { if (kiero::init(kiero::RenderType::D3D12) == kiero::Status::Success) { kiero::bind(54, (void**)&d3d12hook::oExecuteCommandListsD3D12, d3d12hook::hookExecuteC...
32.193548
110
0.698397
zanzo420
144e6a0e5d5fcfbea7deb3953707127810111358
1,409
cc
C++
leet_code/Task_Scheduler/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Task_Scheduler/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Task_Scheduler/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
static vector<int> g_taskCount; struct cmp { bool operator()(char a, char b) { return g_taskCount[a] < g_taskCount[b]; } }; class Solution { private : const int maxSize = 256; const int invalid = -1; public: int leastInterval(vector<char>& tasks, int n) { priority_queue<char, vecto...
24.293103
81
0.423705
ldy121
1457bf3b19b9e3325b37acffa83954ca24099eba
5,154
cc
C++
modules/desktop_capture/mouse_cursor_monitor_win.cc
SlimXperiments/external_chromium_org_third_party_webrtc
14c8d0b9402c3eaa282f34f7652c08a5b624279e
[ "DOC", "BSD-3-Clause" ]
1
2019-02-22T05:37:43.000Z
2019-02-22T05:37:43.000Z
modules/desktop_capture/mouse_cursor_monitor_win.cc
SlimXperiments/external_chromium_org_third_party_webrtc
14c8d0b9402c3eaa282f34f7652c08a5b624279e
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/desktop_capture/mouse_cursor_monitor_win.cc
SlimXperiments/external_chromium_org_third_party_webrtc
14c8d0b9402c3eaa282f34f7652c08a5b624279e
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
29.965116
80
0.717113
SlimXperiments
145eb2aac7bfade1bbfd04e1e2534fdcf9805c0d
1,567
cpp
C++
UVa Online Judge/00983. Localized Summing for Blurring.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/00983. Localized Summing for Blurring.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/00983. Localized Summing for Blurring.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; int main() { int n, m; bool first = true; while (scanf("%d %d", &n, &m) == 2) { long long dp[n][n]; if (first) first = false; else printf("\n"); for (int i = 0; i < n; i++) { for ...
27.982143
99
0.308232
nicoelayda
145febbd432e684f4811259e02918dce1bb77682
10,373
cpp
C++
media_driver/agnostic/gen12/codec/hal/codechal_mmc_g12.cpp
Guangyao-Bai/media-driver
5ecdfb2a7aea5645f271def3a5209e1fac88ad43
[ "MIT", "Intel", "BSD-3-Clause" ]
4
2019-06-20T15:43:05.000Z
2020-05-15T09:02:47.000Z
media_driver/agnostic/gen12/codec/hal/codechal_mmc_g12.cpp
Guangyao-Bai/media-driver
5ecdfb2a7aea5645f271def3a5209e1fac88ad43
[ "MIT", "Intel", "BSD-3-Clause" ]
null
null
null
media_driver/agnostic/gen12/codec/hal/codechal_mmc_g12.cpp
Guangyao-Bai/media-driver
5ecdfb2a7aea5645f271def3a5209e1fac88ad43
[ "MIT", "Intel", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017-2019, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, p...
43.041494
107
0.723899
Guangyao-Bai
1462d05d692fb3937bf6b3e930ad9321f4d6daa2
705
cpp
C++
src/uhunt/usersubmission.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
1
2020-03-02T09:25:44.000Z
2020-03-02T09:25:44.000Z
src/uhunt/usersubmission.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
null
null
null
src/uhunt/usersubmission.cpp
jgcoded/UVA-Arena-Qt
084cb5031e5faa8a9bfe5256959584a9cb0cf82b
[ "MIT" ]
null
null
null
#include "usersubmission.h" using namespace uva; UserSubmission UserSubmission::fromJsonObject(const QJsonObject& data) { UserSubmission userSubmission; //name: full name of the user userSubmission.FullName = data["name"].toString(); //uname: user name userSubmission.UserName = data["uname"].toSt...
28.2
70
0.69078
jgcoded
146371f1f1b9f0d6ac7f849b8f809485b57f9f02
1,157
hpp
C++
addons/recoils/recoils/762R.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/recoils/recoils/762R.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/recoils/recoils/762R.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
// 7.62x39 Russian // Long barreled variant of a 7.62 rifle (16"-18") class CLASS(762R_LongBarrel): CLASS(Recoil_Default) { muzzleOuter[] = {0.245, 0.63, 0.33, 0.33}; permanent = 0.15; }; // Medium barreled variant of a 7.62 rifle (14"-16") class CLASS(762R_MediumBarrel): CLASS(762R_LongBarrel) { muzzleOu...
29.666667
60
0.66465
Theseus-Aegis
1464c194efb6d47fc8c6a3db186a849829b92330
12,150
hpp
C++
source/Kai/Unicode/utf8/checked.hpp
ioquatix/kai
4f8d00cd05b4123b6389f8dc3187ec1421b4f2da
[ "Unlicense", "MIT" ]
4
2016-07-19T08:53:09.000Z
2021-08-03T10:06:41.000Z
source/Kai/Unicode/utf8/checked.hpp
ioquatix/kai
4f8d00cd05b4123b6389f8dc3187ec1421b4f2da
[ "Unlicense", "MIT" ]
null
null
null
source/Kai/Unicode/utf8/checked.hpp
ioquatix/kai
4f8d00cd05b4123b6389f8dc3187ec1421b4f2da
[ "Unlicense", "MIT" ]
null
null
null
// Copyright 2006 Nemanja Trifunovic /* Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivat...
37.155963
120
0.596049
ioquatix
14652fcf15f4b28ee9b7ce1f0c1659f392339069
538
cpp
C++
EngineCore/CoreCode/Utils.cpp
UnionCommunity/UC-Engine
b6603e87fccf20acd877306e8b65513715c3c1ba
[ "MIT" ]
1
2018-12-26T03:52:54.000Z
2018-12-26T03:52:54.000Z
EngineCore/CoreCode/Utils.cpp
UnionCommunity/UC-Engine
b6603e87fccf20acd877306e8b65513715c3c1ba
[ "MIT" ]
1
2019-01-10T08:36:55.000Z
2019-01-10T23:03:20.000Z
EngineCore/CoreCode/Utils.cpp
UnionCommunity/UC-Engine
b6603e87fccf20acd877306e8b65513715c3c1ba
[ "MIT" ]
null
null
null
#include "Utils.h" #include "GameMaster.h" using namespace eng; sf::Vector2f GetMouseCoordinates() { if (auto window = GameMaster::Get().GetWindow().lock()) { return window->mapPixelToCoords(sf::Mouse::getPosition(*window)); } else return sf::Vector2f(0,0); } sf::Vector2f GetCenterScreenCoordinates() { ...
31.647059
96
0.669145
UnionCommunity
14682fc09e09ae9b159e660bbf3f46f20b0bc62c
11,406
cpp
C++
desktop_simple/ebuilds/v1.12.0-noetic/libqicore-1.12.0-noetic/libqicore/tests/test_file.cpp
Maelic/ros_overlay_on_gentoo_prefix_32b
a2c9b217d66f4d29b087741e7e7da22ce6f58492
[ "BSD-2-Clause" ]
null
null
null
desktop_simple/ebuilds/v1.12.0-noetic/libqicore-1.12.0-noetic/libqicore/tests/test_file.cpp
Maelic/ros_overlay_on_gentoo_prefix_32b
a2c9b217d66f4d29b087741e7e7da22ce6f58492
[ "BSD-2-Clause" ]
null
null
null
desktop_simple/ebuilds/v1.12.0-noetic/libqicore-1.12.0-noetic/libqicore/tests/test_file.cpp
Maelic/ros_overlay_on_gentoo_prefix_32b
a2c9b217d66f4d29b087741e7e7da22ce6f58492
[ "BSD-2-Clause" ]
null
null
null
/* * Author(s): * - Joël Lamotte <jlamotte@aldebaran.com> * * Copyright (c) 2014 Aldebaran. All rights reserved. */ #include <gtest/gtest.h> #include <boost/filesystem/fstream.hpp> #include <boost/filesystem.hpp> #include <atomic> #include <qicore/file.hpp> #include <qi/path.hpp> #include <qi/application.hpp>...
29.858639
109
0.735227
Maelic
1468cf79e20401fbfd9fdb85c7e5d4a59c6a520d
2,379
cpp
C++
tests/mif/test_mif_array_ptr.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
null
null
null
tests/mif/test_mif_array_ptr.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
null
null
null
tests/mif/test_mif_array_ptr.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include <systemc.h> // Constant...
20.868421
79
0.43884
hachetman
146e22d22bd905f60e979d2b0e15448f90b4e539
2,457
hpp
C++
library/text/cpp/include/tetengo/text/encoder.hpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
null
null
null
library/text/cpp/include/tetengo/text/encoder.hpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
41
2021-06-25T14:20:29.000Z
2022-01-16T02:50:50.000Z
library/text/cpp/include/tetengo/text/encoder.hpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
null
null
null
/*! \file \brief An encoder. Copyright (C) 2019-2022 kaoru https://www.tetengo.org/ */ #if !defined(TETENGO_TEXT_ENCODER_HPP) #define TETENGO_TEXT_ENCODER_HPP #include <boost/core/noncopyable.hpp> namespace tetengo::text { /*! \brief An encoder base. */ class encoder_b...
22.135135
95
0.549044
tetengo
146ff1f0940289a621f8835de055c152aaa58438
107
cpp
C++
lua/refactoring/tests/debug/printf/cpp/multiple-statements/printf.expected.cpp
MarkTuddenham/refactoring.nvim
93967110eb45d7234802c0c0e2ef909968e8461e
[ "MIT" ]
null
null
null
lua/refactoring/tests/debug/printf/cpp/multiple-statements/printf.expected.cpp
MarkTuddenham/refactoring.nvim
93967110eb45d7234802c0c0e2ef909968e8461e
[ "MIT" ]
null
null
null
lua/refactoring/tests/debug/printf/cpp/multiple-statements/printf.expected.cpp
MarkTuddenham/refactoring.nvim
93967110eb45d7234802c0c0e2ef909968e8461e
[ "MIT" ]
null
null
null
int main (int argc, char *argv[]) { printf("debug path main");// __AUTO_GENERATED_PRINTF__ return 0; }
17.833333
54
0.682243
MarkTuddenham
147fba0e8402d4690f6a354429c745435b1539a4
19,023
cpp
C++
KLEE/klee/lib/Encode/Encode.cpp
YizhuoZhai/UBITect
525866d8ca24e03cb9ddd805c4dd0d789c33cff8
[ "MIT" ]
26
2020-06-20T15:13:14.000Z
2022-03-30T12:49:51.000Z
KLEE/klee/lib/Encode/Encode.cpp
YizhuoZhai/UBITect
525866d8ca24e03cb9ddd805c4dd0d789c33cff8
[ "MIT" ]
null
null
null
KLEE/klee/lib/Encode/Encode.cpp
YizhuoZhai/UBITect
525866d8ca24e03cb9ddd805c4dd0d789c33cff8
[ "MIT" ]
8
2020-07-09T23:39:23.000Z
2021-04-21T20:21:20.000Z
/* * Encode.cpp * * Created on: Oct 22, 2018 * Author: klee */ #include "Encode.h" #include <llvm/Support/CommandLine.h> #include <llvm/Support/raw_ostream.h> #include <fstream> #include <iostream> #include "json11.hpp" #include "json.hpp" using namespace llvm; using namespace klee; namespace klee { ...
33.669027
116
0.430006
YizhuoZhai
147fbb82347a3a5d3c399579b6a575cc8cc8103a
917
cpp
C++
DatCC/src/ini_processors/IniReader.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
8
2015-04-03T16:50:59.000Z
2021-01-06T17:12:29.000Z
DatCC/src/ini_processors/IniReader.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-03T18:10:56.000Z
2016-02-18T05:04:21.000Z
DatCC/src/ini_processors/IniReader.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-04T04:37:33.000Z
2018-04-09T09:03:50.000Z
#include "IniReader.h" #include <sstream> namespace datcc { int IniReader::setSection(const std::string &section, const std::string &comment) { currentSection = section; return 0; //No need to do anything else here } int IniReader::loadFrom(const std::string &fileName) { return ini.LoadFile(fileNam...
24.131579
84
0.624864
idmontie
148231a537694a1c17a111daa97fc1ff203640ac
1,165
cpp
C++
Educative/pattern-subsets/sub-with-duplicates.cpp
shashankkmciv18/dsa
6feba269292d95d36e84f1adb910fe2ed5467f71
[ "MIT" ]
54
2020-07-31T14:50:23.000Z
2022-03-14T11:03:02.000Z
Educative/pattern-subsets/sub-with-duplicates.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
null
null
null
Educative/pattern-subsets/sub-with-duplicates.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
30
2020-08-15T17:39:02.000Z
2022-03-10T06:50:18.000Z
#pragma GCC optimize("Ofast") #include <algorithm> #include <bitset> #include <deque> #include <iostream> #include <iterator> #include <string> #include <map> #include <queue> #include <set> #include <stack> #include <vector> #include <unordered_map> #include <unordered_set> using namespace std; void abhisheknaiidu()...
19.416667
74
0.638627
shashankkmciv18
1484ec9a89ef2b70132ee44a904ef84ec99cdcee
2,832
cpp
C++
src/shaders/tangent_normal_tex_shader.cpp
TomSavas/simpletons-renderer
688499f64cb03bdb373b8b674bb90114a4a2e1f7
[ "MIT" ]
2
2021-09-25T17:17:22.000Z
2021-09-26T21:47:53.000Z
src/shaders/tangent_normal_tex_shader.cpp
TomSavas/simpletons-renderer
688499f64cb03bdb373b8b674bb90114a4a2e1f7
[ "MIT" ]
null
null
null
src/shaders/tangent_normal_tex_shader.cpp
TomSavas/simpletons-renderer
688499f64cb03bdb373b8b674bb90114a4a2e1f7
[ "MIT" ]
1
2022-02-03T23:06:45.000Z
2022-02-03T23:06:45.000Z
#include "shaders/tangent_normal_tex_shader.h" TangentNormalTexShader::TangentNormalTexShader(TGAImage &tex, const Mat4f &mvp, const Mat4f &camera_viewport_to_shadow_viewport, const Vec3f &light_dir, const IFramebuf &framebuf, const std::vector<float> &shadow_buf, TGAImage &normal_tex) : NormalTexShader(t...
40.457143
113
0.67726
TomSavas
14892a331db62ed4bf23eea704ff2045ad954dde
16,416
cpp
C++
libeasyice/src/EasyICEDLL/MpegDec.cpp
codetalks-new/libeasyice
56781ff4a1c5a070526c87790fc34594c25a5846
[ "MIT" ]
45
2019-07-22T02:43:47.000Z
2021-08-02T01:53:43.000Z
libeasyice/src/EasyICEDLL/MpegDec.cpp
codetalks-new/libeasyice
56781ff4a1c5a070526c87790fc34594c25a5846
[ "MIT" ]
null
null
null
libeasyice/src/EasyICEDLL/MpegDec.cpp
codetalks-new/libeasyice
56781ff4a1c5a070526c87790fc34594c25a5846
[ "MIT" ]
19
2019-09-04T01:31:18.000Z
2021-11-03T05:32:14.000Z
/* MIT License Copyright (c) 2009-2019 easyice 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, publ...
27.543624
461
0.673794
codetalks-new
1489fa80acda422233f42d9324a777572ab7bc7f
84
cpp
C++
nano/lib/plat/default/debugging.cpp
ez-lol/nano-node
53873a4a907e3be8b1e06f0e2e9ee59c1c81ba04
[ "BSD-2-Clause" ]
1,228
2019-01-03T07:09:36.000Z
2022-03-31T23:29:22.000Z
nano/lib/plat/default/debugging.cpp
ez-lol/nano-node
53873a4a907e3be8b1e06f0e2e9ee59c1c81ba04
[ "BSD-2-Clause" ]
965
2019-01-02T22:52:13.000Z
2022-03-31T11:05:56.000Z
nano/lib/plat/default/debugging.cpp
ez-lol/nano-node
53873a4a907e3be8b1e06f0e2e9ee59c1c81ba04
[ "BSD-2-Clause" ]
393
2019-01-03T11:03:09.000Z
2022-03-31T02:01:15.000Z
#include <nano/lib/utility.hpp> void nano::create_load_memory_address_files () { }
14
46
0.761905
ez-lol
149995820eba7fe2b653e94c3756c0a207988225
980
cpp
C++
Ivor_Horton_Beginning_Visual_C++_2010/Ch07/Ex7_17.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
7
2018-07-22T14:29:58.000Z
2021-05-03T04:40:13.000Z
Ivor_Horton_Beginning_Visual_C++_2010/Ch07/Ex7_17.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
null
null
null
Ivor_Horton_Beginning_Visual_C++_2010/Ch07/Ex7_17.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
5
2019-02-13T14:50:51.000Z
2020-07-24T09:05:22.000Z
// Ex7_17.cpp : main project file. // Defining and using default indexed properties #include "stdafx.h" using namespace System; ref class Name { private: array<String^>^ Names; public: Name(...array<String^>^ names) : Names(names) {} // Scalar property specifying number of names property ...
22.272727
81
0.563265
hyller
14a030417a8666cb3cbcb88cf4e1a1e97fe25f35
1,778
cpp
C++
modficacion_ejercicio_1/modificación_ejercicio_1.cpp.cpp
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-alsalo67
ea16e1315999dff814845ed4e4aa2682f649b26c
[ "MIT" ]
null
null
null
modficacion_ejercicio_1/modificación_ejercicio_1.cpp.cpp
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-alsalo67
ea16e1315999dff814845ed4e4aa2682f649b26c
[ "MIT" ]
null
null
null
modficacion_ejercicio_1/modificación_ejercicio_1.cpp.cpp
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-alsalo67
ea16e1315999dff814845ed4e4aa2682f649b26c
[ "MIT" ]
null
null
null
#include <iostream> #include <limits> #include <math.h> #include <cassert> #include <stdlib.h> class Date{ private: int day_, month_, year_; public: Date(int arg1, int arg2, int arg3){ day_ = arg3; month_ = arg2; year_ = arg1; } void setDay(int input){ day_ = input; ...
27.353846
116
0.507874
ULL-ESIT-IB-2020-2021
14a40bf738d4b0727aa97a6a1a76c3d60b818db9
2,041
cpp
C++
alica_engine/src/engine/model/Plan.cpp
hendrik-skubch/alica
fe82928edf3a36df5f07a2258ff21d17ca8fa6d9
[ "MIT" ]
12
2015-06-09T07:19:50.000Z
2018-11-20T10:40:08.000Z
alica_engine/src/engine/model/Plan.cpp
hendrik-skubch/alica
fe82928edf3a36df5f07a2258ff21d17ca8fa6d9
[ "MIT" ]
4
2015-09-10T10:23:33.000Z
2018-04-20T12:07:34.000Z
alica_engine/src/engine/model/Plan.cpp
hendrik-skubch/alica
fe82928edf3a36df5f07a2258ff21d17ca8fa6d9
[ "MIT" ]
4
2016-06-13T12:04:57.000Z
2018-07-04T08:11:35.000Z
/* * Plan.cpp * * Created on: Mar 5, 2014 * Author: Stephan Opfer */ #include "engine/model/Plan.h" #include <assert.h> #include "engine/model/EntryPoint.h" #include "engine/model/State.h" #include "engine/model/Task.h" namespace alica { Plan::Plan(int64_t id) : AbstractPlan(id) , _postCo...
19.074766
71
0.66193
hendrik-skubch
14a8e833c7925f6ab226618839f4fd966cf443af
3,671
cpp
C++
Game/Source/GuiCheckBox.cpp
AMADE128/PlatformerGame
f81b25505781ef82171984e95f2a8b675767a715
[ "MIT" ]
null
null
null
Game/Source/GuiCheckBox.cpp
AMADE128/PlatformerGame
f81b25505781ef82171984e95f2a8b675767a715
[ "MIT" ]
null
null
null
Game/Source/GuiCheckBox.cpp
AMADE128/PlatformerGame
f81b25505781ef82171984e95f2a8b675767a715
[ "MIT" ]
null
null
null
#include "GuiCheckBox.h" #include "Window.h" GuiCheckBox::GuiCheckBox(uint32 id, SDL_Rect bounds) : GuiControl(GuiControlType::CHECKBOX, id) { this->bounds = bounds; } GuiCheckBox::~GuiCheckBox() { } bool GuiCheckBox::Update(Input* input, float dt) { if (state != GuiControlState::DISABLED) { int mouseX, mouseY;...
27.192593
95
0.663307
AMADE128
14a9906c7cded2367c2313f85bb4e5c548f5b2da
2,794
cpp
C++
source/octf/interface/InterfaceIdentificationImpl.cpp
mmkayPL/open-cas-telemetry-framework
8acfff375948375dee212170257870c681a49604
[ "BSD-3-Clause-Clear" ]
null
null
null
source/octf/interface/InterfaceIdentificationImpl.cpp
mmkayPL/open-cas-telemetry-framework
8acfff375948375dee212170257870c681a49604
[ "BSD-3-Clause-Clear" ]
null
null
null
source/octf/interface/InterfaceIdentificationImpl.cpp
mmkayPL/open-cas-telemetry-framework
8acfff375948375dee212170257870c681a49604
[ "BSD-3-Clause-Clear" ]
null
null
null
/* * Copyright(c) 2012-2018 Intel Corporation * SPDX-License-Identifier: BSD-3-Clause-Clear */ #include <octf/interface/InterfaceIdentificationImpl.h> #include <octf/utils/Exception.h> #include <octf/utils/ProtoConverter.h> namespace octf { void InterfaceIdentificationImpl::getNodeId( ::google::protobuf:...
29.104167
73
0.62849
mmkayPL
14a9d125da86f73d6c347e6645182634dceb66c8
312
cpp
C++
viewer/FFTScaleDraw.cpp
hmasterwang/dsp-viewer
58af3e576f9f8b6f7c675339a6e26713e28deb31
[ "MIT" ]
2
2015-10-15T04:12:11.000Z
2016-05-23T17:23:08.000Z
viewer/FFTScaleDraw.cpp
hmasterwang/dsp-viewer
58af3e576f9f8b6f7c675339a6e26713e28deb31
[ "MIT" ]
null
null
null
viewer/FFTScaleDraw.cpp
hmasterwang/dsp-viewer
58af3e576f9f8b6f7c675339a6e26713e28deb31
[ "MIT" ]
null
null
null
#include "FFTScaleDraw.h" FFTScaleDraw::FFTScaleDraw(int sampleRate, int fftWindow) : _fftWindow(fftWindow), _sampleRate(sampleRate) { } QwtText FFTScaleDraw::label(double value) const { return QString("%1 kHz (%2)").arg(QString::number(value * _sampleRate / _fftWindow / 1000, 'g', 3)).arg(value); }
24
115
0.714744
hmasterwang
14b2163a7a9af9e1fa66781705a0973e06c3b96f
913
hpp
C++
src/texture.hpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
9
2020-04-03T21:20:02.000Z
2021-08-23T19:57:57.000Z
src/texture.hpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
2
2020-12-05T01:05:58.000Z
2021-01-23T04:41:24.000Z
src/texture.hpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
4
2020-07-04T13:47:33.000Z
2021-09-11T15:29:08.000Z
#pragma once #include <iostream> #include <string> #include "../include/glad/glad.h" #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_ttf.h> struct texcoord_info { unsigned width; unsigned height; unsigned tileSizeW; unsigned tileSizeH; }; struct tex...
18.26
117
0.690033
nek0bit
14b6434fe2e3314c2ac45bd9e7cf5c33d65ca84c
1,017
hpp
C++
Tugas6_FinalProject/include/InputParser.hpp
anggaranothing/matakuliah-strukturdata
992feb4e77f2cf4f1fb835dca8225e16be93c5a6
[ "MIT" ]
null
null
null
Tugas6_FinalProject/include/InputParser.hpp
anggaranothing/matakuliah-strukturdata
992feb4e77f2cf4f1fb835dca8225e16be93c5a6
[ "MIT" ]
null
null
null
Tugas6_FinalProject/include/InputParser.hpp
anggaranothing/matakuliah-strukturdata
992feb4e77f2cf4f1fb835dca8225e16be93c5a6
[ "MIT" ]
null
null
null
#pragma once #ifndef AN_INPTPRSR_H #define AN_INPTPRSR_H #include <iostream> #include <string> namespace AN { const char ASCII_LF = 10; const char ASCII_CR = 13; void getInput( std::string& output ) { output.clear(); char input; while( true ) { input = ...
16.95
68
0.506391
anggaranothing
14b880d06421dafe8f2e1a07c11c9935f319bee3
2,095
cpp
C++
ex02/main.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
1
2021-11-28T14:16:09.000Z
2021-11-28T14:16:09.000Z
ex02/main.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
null
null
null
ex02/main.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
21.161616
80
0.360382
Igors78
14b8c821655f600368fba5f451d37e684a6b9067
679
hpp
C++
src/applications/archive/timing.hpp
xinzheyang/derecho-unified
b5e79638fcf667cdba42a78fe1404db4235cd462
[ "BSD-3-Clause" ]
50
2016-12-15T19:36:52.000Z
2019-03-27T21:21:10.000Z
src/applications/archive/timing.hpp
xinzheyang/derecho-unified
b5e79638fcf667cdba42a78fe1404db4235cd462
[ "BSD-3-Clause" ]
111
2017-07-21T17:16:26.000Z
2019-04-02T19:40:14.000Z
src/applications/archive/timing.hpp
xinzheyang/derecho-unified
b5e79638fcf667cdba42a78fe1404db4235cd462
[ "BSD-3-Clause" ]
26
2017-01-26T14:36:06.000Z
2019-02-01T16:36:57.000Z
/* * timing.h * * Created on: Jan 26, 2016 */ #ifndef EXPERIMENTS_TIMING_H_ #define EXPERIMENTS_TIMING_H_ static const long long int SECONDS_TO_NS = 1000000000LL; static const long long int MILLIS_TO_NS = 1000000LL; namespace sst { /** * Utility functions and objects related to running experiments with SST. ...
24.25
114
0.746686
xinzheyang
14b95a8152bb58f577a849445a1efd7e78caa3d4
728
cpp
C++
qpScene.cpp
pauldotknopf/quickPatterns
d6809c8d50e26bd88dad6088bc1b8430dd217b3f
[ "MIT" ]
null
null
null
qpScene.cpp
pauldotknopf/quickPatterns
d6809c8d50e26bd88dad6088bc1b8430dd217b3f
[ "MIT" ]
null
null
null
qpScene.cpp
pauldotknopf/quickPatterns
d6809c8d50e26bd88dad6088bc1b8430dd217b3f
[ "MIT" ]
null
null
null
#include <qpScene.h> void qpScene::draw(CRGB *targetLeds, int numLeds) { while(qpLayer *currentLayer = this->layers.fetch()) currentLayer->draw(targetLeds, numLeds); } qpPattern &qpScene::addPattern(qpPattern *pattern) { return this->newLayer().addPattern(pattern); } qpLayer &qpScene::newLayer() { thi...
22.060606
157
0.723901
pauldotknopf
14bd069efeddf239f809cbfee7f70dbbc05f136d
317
hpp
C++
TopGraph/extendedpersistence/utils/macros.hpp
mityanony404/TopGraph
23595ca5d3dfcd5bc5ebb771800e3fbe9a0d5eed
[ "MIT" ]
55
2018-01-11T02:20:02.000Z
2022-03-24T06:18:54.000Z
TopGraph/extendedpersistence/utils/macros.hpp
mityanony404/TopGraph
23595ca5d3dfcd5bc5ebb771800e3fbe9a0d5eed
[ "MIT" ]
10
2016-10-29T08:20:04.000Z
2021-02-27T13:14:53.000Z
TopGraph/extendedpersistence/utils/macros.hpp
mityanony404/TopGraph
23595ca5d3dfcd5bc5ebb771800e3fbe9a0d5eed
[ "MIT" ]
11
2016-10-29T06:00:53.000Z
2021-06-16T14:32:43.000Z
#pragma once #define REP(i, n) for (int i = 0; (i) < (int)(n); ++ (i)) #define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++ (i)) #define REP_R(i, n) for (int i = (int)(n) - 1; (i) >= 0; -- (i)) #define REP3R(i, m, n) for (int i = (int)(n) - 1; (i) >= (int)(m); -- (i)) #define ALL(x) std::begin(x), std::end(x)
45.285714
74
0.466877
mityanony404
14c4a3282c25cc8ce2f73b70fbae92fa8cfad0a7
5,488
cpp
C++
test/any_container.cpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
13
2017-10-24T07:13:28.000Z
2020-10-07T02:51:31.000Z
test/any_container.cpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
1
2019-10-30T21:50:44.000Z
2019-11-06T19:35:23.000Z
test/any_container.cpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
5
2018-09-19T20:29:07.000Z
2020-03-20T18:12:09.000Z
// Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <coruja/container/view/any_container.hpp> #include <coruja/container/vector.hpp> #include <coruja/container/map.hpp> #include <coruja/container/view/filter.hpp>...
28.732984
97
0.559949
romariorios
14c78ce4a3c623bfe866ff9f41a4db2c10678d07
6,467
cpp
C++
src/tmcwood/tmclsp_matrix.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
src/tmcwood/tmclsp_matrix.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
src/tmcwood/tmclsp_matrix.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
// File: tmclsp_marix.cpp /****************************************************************************** * Copyright (c) 2009-2015 by Shmuel Safonov. * All rights are reserved. * The TMC software is covered under GPL license. Other usage possibilities * are also available under commercial license terms. *...
21.273026
82
0.616979
flyingbluefish
14cbe063a8d5e13464f427400bb7dec516ff52b7
7,807
hpp
C++
src/Xi-Blockchain/include/Xi/Blockchain/Explorer/CoreExplorer.hpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/Xi-Blockchain/include/Xi/Blockchain/Explorer/CoreExplorer.hpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/Xi-Blockchain/include/Xi/Blockchain/Explorer/CoreExplorer.hpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
/* ============================================================================================== * * * * Galaxia Blockchain * * ...
53.108844
118
0.621237
ElSamaritan
14ce0254dcf4279c6849757cd33d9ed36efb40e2
3,039
cpp
C++
Polymorphism/main.cpp
diammen/CDDS
827e7b9fe872ead24542e329902dcbaf1d520017
[ "MIT" ]
null
null
null
Polymorphism/main.cpp
diammen/CDDS
827e7b9fe872ead24542e329902dcbaf1d520017
[ "MIT" ]
null
null
null
Polymorphism/main.cpp
diammen/CDDS
827e7b9fe872ead24542e329902dcbaf1d520017
[ "MIT" ]
null
null
null
#include "raylib.h" #include "player.h" #include "wizard.h" #include "barbarian.h" #include "enemy.h" #include "evilEnt.h" #include "necromancer.h" #include <iostream> #include <string> #include <vector> using std::string; using std::vector; int main() { // Initialization //------------------------------------------...
25.754237
152
0.477789
diammen
14cf32f05bb26e7667667f9a35460bf4c9ed9549
203
cpp
C++
Source/Quadditch/ENUMS_dummy_class.cpp
Quadditch/quadditch-unreal
e8948c2a93d2de67dbec25309e25f1f27a8c95c4
[ "CC-BY-4.0" ]
null
null
null
Source/Quadditch/ENUMS_dummy_class.cpp
Quadditch/quadditch-unreal
e8948c2a93d2de67dbec25309e25f1f27a8c95c4
[ "CC-BY-4.0" ]
null
null
null
Source/Quadditch/ENUMS_dummy_class.cpp
Quadditch/quadditch-unreal
e8948c2a93d2de67dbec25309e25f1f27a8c95c4
[ "CC-BY-4.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ENUMS_dummy_class.h" ENUMS_dummy_class::ENUMS_dummy_class() { } ENUMS_dummy_class::~ENUMS_dummy_class() { }
13.533333
78
0.768473
Quadditch
14db18b81a9845e741eda4f5a7d5b6ec440cfad9
680
cpp
C++
CPlusPlus-Class/06 - Program structure - Exercice - Function pointer/06 - Program structure - Exercice - Function pointer.cpp
StudioAlbert/SAE921-GRP4100-CPlusPlus-Class
f90b82ab625d5d59201be5240fd02141badeae76
[ "MIT" ]
null
null
null
CPlusPlus-Class/06 - Program structure - Exercice - Function pointer/06 - Program structure - Exercice - Function pointer.cpp
StudioAlbert/SAE921-GRP4100-CPlusPlus-Class
f90b82ab625d5d59201be5240fd02141badeae76
[ "MIT" ]
null
null
null
CPlusPlus-Class/06 - Program structure - Exercice - Function pointer/06 - Program structure - Exercice - Function pointer.cpp
StudioAlbert/SAE921-GRP4100-CPlusPlus-Class
f90b82ab625d5d59201be5240fd02141badeae76
[ "MIT" ]
null
null
null
// 06 - Program structure - Exercice - Function pointer.cpp : Ce fichier contient la fonction 'main'. L'exécution du programme commence et se termine à cet endroit. // #include <iostream> #include <vector> int displayInt(int result) { // Fill the function to display an int std::cout << result << std::endl; ...
22.666667
164
0.648529
StudioAlbert
14dfc5bce6629fc2e046df14c0452d5ac33b9255
5,474
cpp
C++
src/metro/MetroBinArchive.cpp
ivorob/MetroEx-Tools
04ab6b1cc6f0693d69b2fd1274598c836b5ee1e9
[ "MIT" ]
null
null
null
src/metro/MetroBinArchive.cpp
ivorob/MetroEx-Tools
04ab6b1cc6f0693d69b2fd1274598c836b5ee1e9
[ "MIT" ]
null
null
null
src/metro/MetroBinArchive.cpp
ivorob/MetroEx-Tools
04ab6b1cc6f0693d69b2fd1274598c836b5ee1e9
[ "MIT" ]
null
null
null
#include "MetroBinArchive.h" #include "reflection/MetroReflection.h" MetroBinArchive::MetroBinArchive(const CharString& name, const MemStream& stream, const size_t headerSize) : mOutputStream(nullptr) { // Get raw memory stream mFileName = name; mFileStream = stream; // Search for header mHeaderSi...
34.866242
133
0.630983
ivorob
14dfeaa8b8dd032edf11e9246c90833d870fe81f
448
cpp
C++
code/components/extra-natives-five/src/EntityExtraNatives.cpp
JamesEU/fivem
3baeddfd6550635774f8138d71067682e6ab97f7
[ "MIT" ]
12
2019-11-11T02:28:59.000Z
2022-03-08T14:47:35.000Z
code/components/extra-natives-five/src/EntityExtraNatives.cpp
FirstWiseman/fivem
5ebb6dfe826667c841027d6dbc7390e42abfb196
[ "MIT" ]
4
2022-02-14T13:27:41.000Z
2022-03-24T14:06:54.000Z
code/components/extra-natives-five/src/EntityExtraNatives.cpp
FirstWiseman/fivem
5ebb6dfe826667c841027d6dbc7390e42abfb196
[ "MIT" ]
3
2021-02-15T16:38:50.000Z
2021-12-09T08:54:34.000Z
#include <StdInc.h> #include <ScriptEngine.h> #include <scrBind.h> #include <Streaming.h> static std::string GetEntityArchetypeName(int entityHandle) { if (auto entity = rage::fwScriptGuid::GetBaseFromGuid(entityHandle)) { return streaming::GetStreamingBaseNameForHash(entity->GetArchetype()->hash); } re...
20.363636
78
0.743304
JamesEU
14e20c1b4f504335ba424b9e60d61fa63f70e1cb
3,676
cpp
C++
App/QueryBasicEncryptedIndex.cpp
shao158/Masked-Inverted-Index
3b0724a1488f94c627258a6070425a40c8a309e9
[ "MIT" ]
null
null
null
App/QueryBasicEncryptedIndex.cpp
shao158/Masked-Inverted-Index
3b0724a1488f94c627258a6070425a40c8a309e9
[ "MIT" ]
null
null
null
App/QueryBasicEncryptedIndex.cpp
shao158/Masked-Inverted-Index
3b0724a1488f94c627258a6070425a40c8a309e9
[ "MIT" ]
null
null
null
#include <chrono> #include <math.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <algorithm> #include <iostream> #include <iterator> #include <fstream> #include <map> #include <sstream> #include <string> #include <vector> #include "App.h" #include "Enclave_u.h" void...
33.418182
101
0.567193
shao158
14e248f0e6e9201fc1fcd3ac1f2f19305ca6babc
3,277
cpp
C++
leetcode.001-050/036.valid-sudoku/main.cpp
cloudy064/leetcode
b85ec4aed57542247ac4762883bd7fe80b3cfbab
[ "MIT" ]
null
null
null
leetcode.001-050/036.valid-sudoku/main.cpp
cloudy064/leetcode
b85ec4aed57542247ac4762883bd7fe80b3cfbab
[ "MIT" ]
null
null
null
leetcode.001-050/036.valid-sudoku/main.cpp
cloudy064/leetcode
b85ec4aed57542247ac4762883bd7fe80b3cfbab
[ "MIT" ]
null
null
null
// // Created by 常永耘 on 2019/2/14. // #include <vector> #include <unordered_set> #include "common.h" using namespace std; /// Solution for https://leetcode-cn.com/problems/valid-sudoku/ class Solution { public: bool isValidRow(vector<vector<char>>& board, int row) { unordered_set<char> occurs; ...
25.80315
64
0.384498
cloudy064
14ef152c977b8e6f30e9c08c1105ea7370fb3408
480
cpp
C++
pieces/Exception.cpp
ismo-karkkainen/specificjson
e948881dad57d79908a31c73f92ed4a34f2f026b
[ "UPL-1.0" ]
null
null
null
pieces/Exception.cpp
ismo-karkkainen/specificjson
e948881dad57d79908a31c73f92ed4a34f2f026b
[ "UPL-1.0" ]
null
null
null
pieces/Exception.cpp
ismo-karkkainen/specificjson
e948881dad57d79908a31c73f92ed4a34f2f026b
[ "UPL-1.0" ]
null
null
null
ContextException::ContextException(const Exception& E, const char* Begin, const char* Current, const char* End) : Exception(context), context("") { std::strncpy(context, E.what(), 42); context[41] = '\0'; size_t space = (63 - strlen(context)) / 2; size_t before = (space < Current - Begin) ? spac...
40
74
0.629167
ismo-karkkainen
14f1f9e07d49cbc66579fda8aa0863570861b7c4
3,571
hpp
C++
PXG3D/PXG3D/PathFinder.hpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
null
null
null
PXG3D/PXG3D/PathFinder.hpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
null
null
null
PXG3D/PXG3D/PathFinder.hpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include "memory" #include "PXGNode.h" #include "pfinder/AStar.h" #include "pfinder/PathFinder.h" #define MAX_GRAPH_PATH 1024 #define PATH_REALM(X) (X) #define BLOCKED_REALM(X) (MAX_GRAPH_PATH + (X)) #define IMPOSSIBLE_REALM(X) (INT_MAX - MAX_GRAPH_PATH + (X)) namespace PXG { inlin...
22.180124
169
0.687482
Developer-The-Great
14fc857f636f94dc8ede6a4993c635c34b672ce4
13,363
cpp
C++
Robotron/Source/Heightmap/MainMenuView.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Robotron/Source/Heightmap/MainMenuView.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Robotron/Source/Heightmap/MainMenuView.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2005 - 2015 Media Design School // // File Name : MainMenuView.cpp // Description : CMainMenuView implementation file. // Author : Hayden Asplet. // Mail : hayden.asplet@mediadesignschool.com // // PCH #include "Robo...
29.564159
162
0.693707
ThatBeanBag
0904e36d7bc3ed165906a6d587a7245fc5d95c35
7,677
cpp
C++
Immortal/Scene/Scene.cpp
QSXW/Immortal
bac85fa526b77ed8cf49954f66ad3e9a165348e6
[ "Apache-2.0" ]
6
2021-09-15T08:56:28.000Z
2022-03-29T15:55:02.000Z
Immortal/Scene/Scene.cpp
QSXW/Immortal
bac85fa526b77ed8cf49954f66ad3e9a165348e6
[ "Apache-2.0" ]
null
null
null
Immortal/Scene/Scene.cpp
QSXW/Immortal
bac85fa526b77ed8cf49954f66ad3e9a165348e6
[ "Apache-2.0" ]
4
2021-12-05T17:28:57.000Z
2022-03-29T15:55:05.000Z
#include "impch.h" #include "Scene.h" #include "Framework/Application.h" #include "Render/Render.h" #include "Render/Render2D.h" #include "Object.h" #include "Component.h" #include "GameObject.h" #include <glad/glad.h> #include <GLFW/glfw3.h> namespace Immortal { namespace UniformBuffer { struct Transform { ...
27.615108
132
0.621206
QSXW
0908a2f397bd6b09a1657961e211792e94cd2113
22,248
cpp
C++
src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/InteropAttributeValueDictionary.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
5,937
2018-12-04T16:32:50.000Z
2022-03-31T09:48:37.000Z
src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/InteropAttributeValueDictionary.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
4,151
2018-12-04T16:38:19.000Z
2022-03-31T18:41:14.000Z
src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/InteropAttributeValueDictionary.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
1,084
2018-12-04T16:24:21.000Z
2022-03-30T13:52:03.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "win32inc.hpp" using namespace System; using namespace System::IO; using namespace System::Collections; us...
35.314286
191
0.646935
txlos
090a450c00713ecd9ba432b800dc42bbdd21006f
179
cpp
C++
Engine/Dependences/Framework/Graphics/src/Lighting/PointLight.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
7
2020-10-16T11:34:27.000Z
2022-03-12T17:53:15.000Z
Engine/Dependences/Framework/Graphics/src/Lighting/PointLight.cpp
Kiper220/SREngine
f1fa36b5ded1f489a9fdb59d8d4b40eb294ba9ec
[ "MIT" ]
1
2022-03-07T14:42:22.000Z
2022-03-07T14:42:22.000Z
Engine/Dependences/Framework/Graphics/src/Lighting/PointLight.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
6
2021-05-06T15:09:52.000Z
2022-03-12T17:57:14.000Z
// // Created by Nikita on 13.12.2020. // #include "Lighting/PointLight.h" Framework::Graphics::PointLight::PointLight(Framework::Graphics::Render *render) : Light(render) { }
17.9
98
0.715084
GlebShikovec
0910a62b24a185f41b761aef8ca46803834cc538
15,514
cpp
C++
src/ace/ACE_wrappers/tests/INET_Addr_Test.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/tests/INET_Addr_Test.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/tests/INET_Addr_Test.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
//============================================================================= /** * @file INET_Addr_Test.cpp * * Performs several tests on the ACE_INET_Addr class. It creates several * IPv4 and IPv6 addresses and checks that the address formed by the * class is valid. * * @author John Aughey (jha@...
30.479371
89
0.518048
wfnex
0910ce9896c5cf4bf0fd0d4c92d7a3b11b6579c3
225
cpp
C++
Expression.cpp
mantal/AVM
0eb0eb177c01bd670d3b2a1a55f5633427560f23
[ "Apache-2.0" ]
null
null
null
Expression.cpp
mantal/AVM
0eb0eb177c01bd670d3b2a1a55f5633427560f23
[ "Apache-2.0" ]
null
null
null
Expression.cpp
mantal/AVM
0eb0eb177c01bd670d3b2a1a55f5633427560f23
[ "Apache-2.0" ]
null
null
null
#include "Expression.hpp" Expression::Expression(Operator const& pop, std::vector<IOperand const*> const *poperands) : op(pop), operands(poperands) { } void Expression::execute(VM &vm) const { op.execute(vm, *operands); }
25
125
0.724444
mantal
09128077fe265b0d64f4a3f6faaa8e1a6bc4d8c8
29,758
hpp
C++
morphs/morph_opensimplex/source/OpenSimplexNoise.hpp
syntheticmagus/polymorph_proto_simplex_mountains
1a11c5e1d4cdefd652bd64166a261fbdfa4f2b89
[ "MIT" ]
null
null
null
morphs/morph_opensimplex/source/OpenSimplexNoise.hpp
syntheticmagus/polymorph_proto_simplex_mountains
1a11c5e1d4cdefd652bd64166a261fbdfa4f2b89
[ "MIT" ]
null
null
null
morphs/morph_opensimplex/source/OpenSimplexNoise.hpp
syntheticmagus/polymorph_proto_simplex_mountains
1a11c5e1d4cdefd652bd64166a261fbdfa4f2b89
[ "MIT" ]
1
2021-05-05T17:21:00.000Z
2021-05-05T17:21:00.000Z
// This file copied without modification from Markyparky56's gist at https://gist.github.com/Markyparky56/e0fd43e847ac53068603130df3e8e560 #pragma once /******************************************************************************* OpenSimplex Noise in C++ Ported from https://gist.github.com/digitalshadow/134a3a0...
51.218589
6,355
0.505646
syntheticmagus
0912f5d17f26a2bf2421e2f736de96dd03c454cc
460
cpp
C++
Websites/Codeforces/1A.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
Websites/Codeforces/1A.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
Websites/Codeforces/1A.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; long long theatre() { long long m, n, a, height, width, result; cin >> m >> n >> a; height = width = result = 0; if (!(m % a)) { height = m / a; } else { height = (m / a) + 1; } if (!(n % a)) { width = n / a; } ...
14.83871
45
0.430435
justaname94
091824f96e828c5c7652f785ef7155a7f3eab93d
5,440
cpp
C++
tc 160+/SweetFruits.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/SweetFruits.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/SweetFruits.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <iostream> #include <sstream> #include <string> #include <vector> #include <map> using namespace std; const long long mod = 1000000007; int msub(int a, int b) { a -= b; if...
23.859649
83
0.394669
ibudiselic
0920d9390b0af1ac1da2bdc08629857415205992
2,845
cpp
C++
app/input.cpp
smallduckinette/engine
6161c48db3de1c8562885df0041d89f83e8f5233
[ "Apache-2.0" ]
null
null
null
app/input.cpp
smallduckinette/engine
6161c48db3de1c8562885df0041d89f83e8f5233
[ "Apache-2.0" ]
null
null
null
app/input.cpp
smallduckinette/engine
6161c48db3de1c8562885df0041d89f83e8f5233
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <filesystem> #include <fstream> #include <boost/log/trivial.hpp> #include <boost/program_options.hpp> #include <SDL2/SDL.h> #include "engine/core/app.h" #include "engine/core/json_utils.h" #include "engine/controls/controls.h" namespace po = boost::program_options; /// Emulate a bunch ...
24.95614
92
0.560984
smallduckinette
0920ebb47d1f9dc30bfba4f0e5b24631caadf267
6,088
cpp
C++
shared/test/unit_test/encoders/test_command_encoder.cpp
againull/compute-runtime
3ef1ab88a4d9fad5c72e343f349365817c54da17
[ "Intel", "MIT" ]
null
null
null
shared/test/unit_test/encoders/test_command_encoder.cpp
againull/compute-runtime
3ef1ab88a4d9fad5c72e343f349365817c54da17
[ "Intel", "MIT" ]
null
null
null
shared/test/unit_test/encoders/test_command_encoder.cpp
againull/compute-runtime
3ef1ab88a4d9fad5c72e343f349365817c54da17
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_container/cmdcontainer.h" #include "shared/test/common/cmd_parse/gen_cmd_parse.h" #include "shared/test/common/fixtures/device_fixture.h" #include "shared/test/common/test_macros/test.h" using namespac...
47.937008
148
0.741294
againull
09255d506253f14de1f8f76d077f2f0332826b8a
2,213
hpp
C++
src/driver/include/driver/workload_parsers.hpp
sgolemon/genny
ea506c3d1c895ed7013ea5cbd3baf2fb4adc61d1
[ "Apache-2.0" ]
null
null
null
src/driver/include/driver/workload_parsers.hpp
sgolemon/genny
ea506c3d1c895ed7013ea5cbd3baf2fb4adc61d1
[ "Apache-2.0" ]
null
null
null
src/driver/include/driver/workload_parsers.hpp
sgolemon/genny
ea506c3d1c895ed7013ea5cbd3baf2fb4adc61d1
[ "Apache-2.0" ]
null
null
null
// Copyright 2019-present MongoDB 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 t...
32.072464
100
0.727067
sgolemon
092779cf2c224530fbced17a29e4fb8207ac9698
2,006
cpp
C++
libs/engine/src/utils/render_shapes.cpp
tiaanl/red5
ea7593b38f61f64f8aeb7d58854106bd58c05736
[ "MIT" ]
1
2020-11-24T13:26:11.000Z
2020-11-24T13:26:11.000Z
libs/engine/src/utils/render_shapes.cpp
tiaanl/red5
ea7593b38f61f64f8aeb7d58854106bd58c05736
[ "MIT" ]
null
null
null
libs/engine/src/utils/render_shapes.cpp
tiaanl/red5
ea7593b38f61f64f8aeb7d58854106bd58c05736
[ "MIT" ]
null
null
null
#include "engine/utils/render_shapes.h" #include "engine/renderer/renderer.h" namespace engine { void MeshBuilder::submit(Renderer& renderer) { assert(!m_vertices.empty()); // Submitting empty mesh. renderer.renderImmediate(RenderMode::TriangleStrip, m_vertices.data(), static_cast<U3...
29.940299
91
0.647059
tiaanl
0929979104060fe8f2dde091d3e354009398aebf
963
hpp
C++
utilities/msmonitor/data/CDataTimer.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
3
2016-01-20T13:41:52.000Z
2018-04-10T17:50:49.000Z
utilities/msmonitor/data/CDataTimer.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
utilities/msmonitor/data/CDataTimer.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
/* * CDataTimer.hpp * * Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * * encoding: UTF-8 * tab size: 4 *...
21.886364
104
0.700935
akiml
092fcaed65711655fa5812c3f9018c7546019eca
1,306
cc
C++
ui/plot/graph.cc
inet-framework/LIMoSim
d9bdcefe82d41d4c8fd665a268843763fce59363
[ "MIT" ]
7
2017-07-17T07:13:03.000Z
2021-10-12T08:39:17.000Z
ui/plot/graph.cc
tudo-cni/LIMoSim
f0e4c8d964da18dffecea040775f07da3f5a5d46
[ "MIT" ]
1
2018-03-08T10:28:01.000Z
2018-03-08T10:28:01.000Z
ui/plot/graph.cc
tudo-cni/LIMoSim
f0e4c8d964da18dffecea040775f07da3f5a5d46
[ "MIT" ]
7
2017-09-13T09:05:20.000Z
2022-01-04T17:20:20.000Z
#include "graph.h" #include <limits> #include <QDebug> namespace LIMoSim { Graph::Graph() { } /************************************* * PUBLIC METHODS * ************************************/ void Graph::add(const Point &_point) { m_points << _point; } void Graph::adjustToRange(double _max,...
15.364706
88
0.473201
inet-framework
0930c2f298f1e3efc552cf2bd443bdf7a9dfbea2
3,734
hpp
C++
Source/AliveLibAE/Psx.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
208
2018-06-06T13:14:03.000Z
2022-03-30T02:21:27.000Z
Source/AliveLibAE/Psx.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
537
2018-06-06T16:50:45.000Z
2022-03-31T16:41:15.000Z
Source/AliveLibAE/Psx.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
42
2018-06-06T00:40:08.000Z
2022-03-23T08:38:55.000Z
#pragma once #include "../AliveLibCommon/FunctionFwd.hpp" #include "FixedPoint.hpp" #include "../AliveLibCommon/Psx_common.hpp" #include "../AliveLibCommon/AddPointer.hpp" struct Bitmap; void Psx_ForceLink(); using TPsxEmuCallBack = AddPointer_t<s32(u32)>; EXPORT void CC PSX_DispEnv_Set_4ED960(s32 mode); EXPORT s3...
42.91954
127
0.827799
mouzedrift
093176f6a2d1fe5f45ee3a34497b799a7f9977ab
6,046
cpp
C++
BB10-Cordova/SystemDialog/plugin/src/blackberry10/native/src/sysDialog_ndk.cpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
37
2015-01-10T00:32:35.000Z
2020-07-17T14:10:41.000Z
BB10-Cordova/SystemDialog/plugin/src/blackberry10/native/src/sysDialog_ndk.cpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
52
2015-01-02T11:20:59.000Z
2018-09-04T09:08:09.000Z
BB10-Cordova/SystemDialog/plugin/src/blackberry10/native/src/sysDialog_ndk.cpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
46
2015-01-16T18:52:13.000Z
2020-07-01T09:03:14.000Z
/* * Copyright (c) 2013 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
29.349515
88
0.558717
stefanschielke
09320cb9bca4fad5544263190fb8ebcda84cc89c
933
cpp
C++
Modules/Utilities/src/TranslationUtilities.cpp
samsmu/MITK
c93dce6dc38d8f4c961de4440e4dd113b9841c8c
[ "BSD-3-Clause" ]
5
2015-02-05T10:58:41.000Z
2019-04-17T15:04:07.000Z
Modules/Utilities/src/TranslationUtilities.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Modules/Utilities/src/TranslationUtilities.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
#include "TranslationUtilities.h" #include <QObject> namespace mitk { std::vector<std::string> TranslationUtilities::getTranslatedTransferFunctionPresets() { std::vector<std::string> names; names.push_back(QObject::tr("choose an internal transferfunction preset").toStdString()); names.push_back(QObject::tr("CT...
33.321429
91
0.734191
samsmu
09336e96952d9a96849f8d8cee0db604787afb81
1,125
cpp
C++
src/Broadcaster2006/Config/ConfigProperty.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Config/ConfigProperty.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Config/ConfigProperty.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
// ConfigProperty.cpp : implementation file // #include "stdafx.h" #include "Config.h" #include "ConfigProperty.h" #include "ConfigDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CC...
22.959184
88
0.670222
pedroroque
093d217d9d3848b47207257b818ddbbcbbdb2c6e
4,444
cpp
C++
test/index.cpp
DeadMozay/gitahead
6c27dda42d99f794089913bc06977042a040bbf7
[ "MIT" ]
1,626
2018-12-15T12:07:00.000Z
2022-03-31T15:08:04.000Z
test/index.cpp
DeadMozay/gitahead
6c27dda42d99f794089913bc06977042a040bbf7
[ "MIT" ]
541
2018-12-10T21:33:40.000Z
2022-03-25T02:25:02.000Z
test/index.cpp
DeadMozay/gitahead
6c27dda42d99f794089913bc06977042a040bbf7
[ "MIT" ]
270
2018-12-27T21:37:26.000Z
2022-03-31T23:00:06.000Z
// // Copyright (c) 2016, Scientific Toolworks, Inc. // // This software is licensed under the MIT License. The LICENSE.md file // describes the conditions under which this software may be distributed. // // Author: Jason Haslam // #include "Test.h" #include "ui/FileList.h" #include "ui/MainWindow.h" #include...
23.638298
73
0.680243
DeadMozay
093d3cfb5f3d6faa3fa048afe28556c81c1a9232
2,093
cpp
C++
src/operators/linalg.cpp
Metadiff/metadiff-core
3b83fb033ed84827f76632c5f03d91e9b657412c
[ "Apache-2.0" ]
11
2016-12-20T07:54:12.000Z
2021-05-31T22:13:06.000Z
src/operators/linalg.cpp
Metadiff/metadiff-core
3b83fb033ed84827f76632c5f03d91e9b657412c
[ "Apache-2.0" ]
1
2016-11-22T17:53:06.000Z
2016-11-23T18:43:27.000Z
src/operators/linalg.cpp
Metadiff/metadiff-core
3b83fb033ed84827f76632c5f03d91e9b657412c
[ "Apache-2.0" ]
2
2019-06-18T22:43:35.000Z
2022-01-20T02:25:27.000Z
// // Created by alex on 19/10/16. // #include "graph_ir.h" namespace md{ namespace gir{ Node GraphInternal::gemm(NodeVec nodes, std::vector<bool> transpositions){ // TODO check if some of them is not inverse to each other for(auto i=0; i < nodes.size(); ++i){ node...
31.238806
98
0.516484
Metadiff
093f8815b984fd867dff71de16a081931d54812b
1,603
cpp
C++
Source/Riff/Riff_Chunks_.cpp
ablwr/AVIMetaEdit
72cdf628fa90ce36e17c8e8f66247e74567b41aa
[ "CC0-1.0" ]
9
2017-05-30T19:21:11.000Z
2020-03-21T03:41:08.000Z
Source/Riff/Riff_Chunks_.cpp
fooloomanzoo/AVIMetaEdit
2839eca2075ae071a59db9e7b8e0daf7287c8a2f
[ "CC0-1.0" ]
1
2020-04-08T21:43:29.000Z
2020-04-08T21:43:29.000Z
Source/Riff/Riff_Chunks_.cpp
fooloomanzoo/AVIMetaEdit
2839eca2075ae071a59db9e7b8e0daf7287c8a2f
[ "CC0-1.0" ]
11
2015-03-23T14:36:06.000Z
2021-01-11T12:30:12.000Z
// AVI MetaEdit Riff - RIFF stuff for AVI MetaEdit // // This code was created in 2010 for the Library of Congress and the // other federal government agencies participating in the Federal Agencies // Digitization Guidelines Initiative and it is in the public domain. // //+++++++++++++++++++++++++++++++++++++++++...
34.106383
92
0.326887
ablwr
09480e66e15e93c38ac83d0eb96c890520586c31
2,756
cpp
C++
dbms/src/Interpreters/InterpreterCreateRowPolicyQuery.cpp
victorcojocaru/ClickHouse
6691302e4fcb96bbf6ae794c0fdae63154b0f4f3
[ "Apache-2.0" ]
1
2020-02-28T04:08:55.000Z
2020-02-28T04:08:55.000Z
dbms/src/Interpreters/InterpreterCreateRowPolicyQuery.cpp
victorcojocaru/ClickHouse
6691302e4fcb96bbf6ae794c0fdae63154b0f4f3
[ "Apache-2.0" ]
null
null
null
dbms/src/Interpreters/InterpreterCreateRowPolicyQuery.cpp
victorcojocaru/ClickHouse
6691302e4fcb96bbf6ae794c0fdae63154b0f4f3
[ "Apache-2.0" ]
null
null
null
#include <Interpreters/InterpreterCreateRowPolicyQuery.h> #include <Parsers/ASTCreateRowPolicyQuery.h> #include <Parsers/ASTGenericRoleSet.h> #include <Parsers/formatAST.h> #include <Interpreters/Context.h> #include <Access/AccessControlManager.h> #include <Access/AccessFlags.h> #include <boost/range/algorithm/sort.hpp...
34.024691
177
0.688679
victorcojocaru
09493322b018a85ad1ad218410e6e9cac4af6d52
13,080
cpp
C++
src/tests/containerizer/linux_seccomp_parser_tests.cpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
4,537
2015-01-01T03:26:40.000Z
2022-03-31T03:07:00.000Z
src/tests/containerizer/linux_seccomp_parser_tests.cpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
227
2015-01-29T02:21:39.000Z
2022-03-29T13:35:50.000Z
src/tests/containerizer/linux_seccomp_parser_tests.cpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
1,992
2015-01-05T12:29:19.000Z
2022-03-31T03:07:07.000Z
// 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 may...
24.044118
80
0.457722
zagrev
09496dff56ec28ba706ce7caa0d6de165732aadd
18,818
cc
C++
src/player/es_dash_player/es_dash_player_controller.cc
kevinscroggins-youi/NativePlayer
8de394aeb964add1568ddcfc12216930bd895647
[ "MIT" ]
26
2017-02-24T15:17:19.000Z
2021-02-11T04:38:16.000Z
src/player/es_dash_player/es_dash_player_controller.cc
kevinscroggins-youi/NativePlayer
8de394aeb964add1568ddcfc12216930bd895647
[ "MIT" ]
8
2019-04-17T13:19:17.000Z
2021-09-21T13:49:53.000Z
src/player/es_dash_player/es_dash_player_controller.cc
kevinscroggins-youi/NativePlayer
8de394aeb964add1568ddcfc12216930bd895647
[ "MIT" ]
14
2016-08-31T08:40:36.000Z
2021-11-12T18:45:14.000Z
/*! * es_dash_player_controller.cc (https://github.com/SamsungDForum/NativePlayer) * Copyright 2016, Samsung Electronics Co., Ltd * Licensed under the MIT license * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,...
34.339416
80
0.70964
kevinscroggins-youi
094a9d041770181f892a29f8bc5e3d9ffe8c67c7
2,900
cpp
C++
mclib/src/mclib/util/Hash.cpp
EndlessArch/mclib
bba3ace1519f51e94aba9bc6d481be48aa0cd69d
[ "MIT" ]
73
2016-05-14T21:35:44.000Z
2022-03-11T15:27:02.000Z
mclib/src/mclib/util/Hash.cpp
EndlessArch/mclib
bba3ace1519f51e94aba9bc6d481be48aa0cd69d
[ "MIT" ]
9
2017-08-12T22:26:59.000Z
2021-04-19T14:27:02.000Z
mclib/src/mclib/util/Hash.cpp
EndlessArch/mclib
bba3ace1519f51e94aba9bc6d481be48aa0cd69d
[ "MIT" ]
30
2017-05-21T13:21:11.000Z
2022-03-06T00:31:33.000Z
#include <mclib/util/Hash.h> #include <vector> #include <sstream> #include <limits> #include <iostream> #include <iomanip> #include <openssl/sha.h> #include <openssl/bio.h> #include <openssl/evp.h> namespace mc { namespace util { std::string Base64Decode(const std::string& message) { BIO* bmem; BIO* b64; ...
26.126126
109
0.583448
EndlessArch
095973dc406eb8a33c6a965e9e1ccadea9750120
311
cpp
C++
src/mgos_arduino_mcp4xxx.cpp
timotto/mos-arduino-mcp4xxx
e88f445b35a425008d465dc66667a73fd7f8e10b
[ "Apache-2.0" ]
null
null
null
src/mgos_arduino_mcp4xxx.cpp
timotto/mos-arduino-mcp4xxx
e88f445b35a425008d465dc66667a73fd7f8e10b
[ "Apache-2.0" ]
null
null
null
src/mgos_arduino_mcp4xxx.cpp
timotto/mos-arduino-mcp4xxx
e88f445b35a425008d465dc66667a73fd7f8e10b
[ "Apache-2.0" ]
null
null
null
#include "mgos_arduino_mcp4xxx.h" MCP4XXX *mgos_mcp4xxx_create(int pin, int pot, int res, int config) { return new MCP4XXX(pin, pot, res, config); } int mgos_mcp4xxx_maxValue(MCP4XXX *mcp4x) { return mcp4x->max_value(); } int mgos_mcp4xxx_set(MCP4XXX *mcp4x, int value) { return mcp4x->set(value); }
19.4375
69
0.726688
timotto
095fc11a367f94e8f6f0ff832e22e5319c20dba6
10,333
cpp
C++
src/deconstructor.cpp
yhoogstrate/vg
f273f817cbf2ab01f72d1eaf89ea4259a9edd251
[ "MIT" ]
null
null
null
src/deconstructor.cpp
yhoogstrate/vg
f273f817cbf2ab01f72d1eaf89ea4259a9edd251
[ "MIT" ]
null
null
null
src/deconstructor.cpp
yhoogstrate/vg
f273f817cbf2ab01f72d1eaf89ea4259a9edd251
[ "MIT" ]
null
null
null
#include "deconstructor.hpp" #include "bubbles.hpp" using namespace std; namespace vg { Deconstructor::Deconstructor(){ } Deconstructor::Deconstructor(VG* v) { my_vg = v; init(); } Deconstructor::~Deconstructor(){ } void Deconstructor::init(){ } void Deconst...
31.407295
130
0.51321
yhoogstrate
8232ce3e1d3ddae3fa8833e8edf87754f2a903b4
2,412
cpp
C++
Sources/Target/Windows/Process.cpp
cosql/ds2
671c21cf14d4697c3b4a226cc591bd5fd9d5a3b6
[ "BSL-1.0" ]
null
null
null
Sources/Target/Windows/Process.cpp
cosql/ds2
671c21cf14d4697c3b4a226cc591bd5fd9d5a3b6
[ "BSL-1.0" ]
null
null
null
Sources/Target/Windows/Process.cpp
cosql/ds2
671c21cf14d4697c3b4a226cc591bd5fd9d5a3b6
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2014, Facebook, Inc. // All rights reserved. // // This source code is licensed under the University of Illinois/NCSA Open // Source License found in the LICENSE file in the root directory of this // source tree. An additional grant of patent rights can be found in the // PATENTS file in the same di...
23.417476
78
0.704809
cosql
82367cfec9e7b14384ae9dc0994829503e59388c
464
hpp
C++
GaiaExceptions/Utility.hpp
RoboPioneers/GaiaExceptions
ad188e37bca05d6271e2405eb9e5a5d3e381f5fb
[ "MIT" ]
null
null
null
GaiaExceptions/Utility.hpp
RoboPioneers/GaiaExceptions
ad188e37bca05d6271e2405eb9e5a5d3e381f5fb
[ "MIT" ]
null
null
null
GaiaExceptions/Utility.hpp
RoboPioneers/GaiaExceptions
ad188e37bca05d6271e2405eb9e5a5d3e381f5fb
[ "MIT" ]
1
2021-09-19T01:12:54.000Z
2021-09-19T01:12:54.000Z
#pragma once #include <string> #include <exception> #include "ExceptionBase.hpp" namespace Gaia::Exceptions { /** * @brief Save the information of an exception to a file. * @param error The exception to save. * @param file_name The name of the file to store the information; * ...
27.294118
83
0.655172
RoboPioneers
82392bbf068fcc6fc9803b903ef432775b15ecd6
6,134
cpp
C++
src/TAO/API/types/dex/sell.cpp
bibbityjibbity/LLL-TAO
4073ba412f71bf27d21fd297497a7c276ebd2d67
[ "MIT" ]
null
null
null
src/TAO/API/types/dex/sell.cpp
bibbityjibbity/LLL-TAO
4073ba412f71bf27d21fd297497a7c276ebd2d67
[ "MIT" ]
null
null
null
src/TAO/API/types/dex/sell.cpp
bibbityjibbity/LLL-TAO
4073ba412f71bf27d21fd297497a7c276ebd2d67
[ "MIT" ]
null
null
null
/*__________________________________________________________________________________________ (c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++ (c) Copyright The Nexus Developers 2014 - 2019 Distributed under the MIT software license, see the accompanying ...
39.574194
171
0.5776
bibbityjibbity
823a8857fb3f5542a12fea6207e3bb043a50f2e6
179
cc
C++
tests/types_test.cc
galeone/openat
7bac754c040c9523518662cb0c22551f6c675e2c
[ "Apache-2.0" ]
69
2017-12-29T05:16:14.000Z
2022-03-31T02:02:45.000Z
tests/types_test.cc
galeone/openat
7bac754c040c9523518662cb0c22551f6c675e2c
[ "Apache-2.0" ]
2
2018-02-08T12:00:10.000Z
2021-12-04T14:47:07.000Z
tests/types_test.cc
galeone/openat
7bac754c040c9523518662cb0c22551f6c675e2c
[ "Apache-2.0" ]
11
2017-10-23T12:15:42.000Z
2021-02-01T19:55:38.000Z
#include <at/types.hpp> #include <gtest/gtest.h> TEST(CurrencyPair, ShouldPrintCorrectly) { auto p = at::currency_pair_t("USD", "BTC"); ASSERT_EQ("USD_BTC", p.str()); }
19.888889
47
0.664804
galeone
823d2257b2ef224bd7fa18bd248fce17818db0be
9,311
cc
C++
src/dev/arm/css/scmi_platform.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
2
2021-01-15T17:32:18.000Z
2021-12-21T02:53:58.000Z
src/dev/arm/css/scmi_platform.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
3
2021-03-26T20:33:59.000Z
2022-01-24T22:54:03.000Z
src/dev/arm/css/scmi_platform.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
3
2021-03-27T16:36:19.000Z
2022-03-28T18:32:57.000Z
/* * Copyright (c) 2020 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
30.428105
78
0.660079
fei-shan
823f89de0349b34236f18ea1193da1bcc71c5593
14,261
cpp
C++
visen/animated_texture.cpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
visen/animated_texture.cpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
visen/animated_texture.cpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
/** * * animated_texture.cpp * * methods assume that GL_TEXTURE_2D is enabled; any class which changes this * state should thus restore it before continuing. * * should be changed to analyse wether blending is needed and allow a change **/ #include"animated_texture.hpp" //#include"../time/time_reporter.hpp"...
25.196113
129
0.639997
MrTAB
8248e091fe176baff3c565531a5d5cc750a7b8ee
4,933
cpp
C++
Testing/VisualPipes/albaPipeVectorTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/VisualPipes/albaPipeVectorTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/VisualPipes/albaPipeVectorTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaPipeVectorTest Authors: Roberto Mucci Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without even ...
30.83125
89
0.56416
IOR-BIC
824a9e8c409a5253501e4222875bda2a13f85a87
442
hpp
C++
src/collisionObject/collisionObject.hpp
kvchen/snowsim
09a75f24e86cc340ed327074904255fb08a3e7eb
[ "MIT" ]
null
null
null
src/collisionObject/collisionObject.hpp
kvchen/snowsim
09a75f24e86cc340ed327074904255fb08a3e7eb
[ "MIT" ]
1
2017-08-14T16:38:11.000Z
2017-08-14T16:38:11.000Z
src/collisionObject/collisionObject.hpp
kvchen/snowsim
09a75f24e86cc340ed327074904255fb08a3e7eb
[ "MIT" ]
null
null
null
#ifndef SNOWSIM_COLLISIONOBJECT_H #define SNOWSIM_COLLISIONOBJECT_H #include <Eigen/Dense> using namespace Eigen; namespace SnowSimulator { class CollisionObject { public: virtual double phi(const Vector3f &x) = 0; virtual Vector3f normal(const Vector3f &x) = 0; virtual Vector3f velocity() = 0; virtual d...
17
49
0.744344
kvchen
824b0386bc3f081bbe3a35401bbc7a71dae506ed
97
cpp
C++
local_addons/ofxCv/example-empty/src/main.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
446
2015-01-08T00:14:06.000Z
2022-03-16T13:08:03.000Z
local_addons/ofxCv/example-empty/src/main.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
139
2015-01-02T19:20:53.000Z
2021-05-03T16:54:45.000Z
local_addons/ofxCv/example-empty/src/main.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
195
2015-01-18T05:13:39.000Z
2022-03-21T08:24:37.000Z
#include "ofApp.h" int main() { ofSetupOpenGL(1025, 512, OF_WINDOW); ofRunApp(new ofApp()); }
13.857143
37
0.670103
yxcde
824ed717dc8727c8aa7b985c799ac3f117c7df3a
8,291
cpp
C++
src/app_framework/Linux/GLFWNativeWindowManager.cpp
Rasterer/glSoftPipe
5bd7598eba038485749b529e73f7452942623b7b
[ "MIT" ]
9
2015-11-06T02:50:02.000Z
2021-04-05T07:20:57.000Z
src/app_framework/Linux/GLFWNativeWindowManager.cpp
Rasterer/glSoftPipe
5bd7598eba038485749b529e73f7452942623b7b
[ "MIT" ]
null
null
null
src/app_framework/Linux/GLFWNativeWindowManager.cpp
Rasterer/glSoftPipe
5bd7598eba038485749b529e73f7452942623b7b
[ "MIT" ]
2
2020-09-04T06:10:30.000Z
2021-04-05T07:20:59.000Z
#include "INativeWindowManager.h" #include <string> #include <cassert> #include <cstdio> #include <cstring> #include <GL/glew.h> #define GLFW_INCLUDE_GLCOREARB #include <GLFW/glfw3.h> #include "IAppFramework.h" #include "glsp_debug.h" namespace glsp { static void GLFWErrorCallback(int error, const char* descript...
20.779449
112
0.69099
Rasterer
824eeefc58e5d3cb2fba06386a931d3dfd6af529
1,389
cpp
C++
libvpx/test/VpxUnitTests/blockd_unittest.cpp
sipsorcery/Vp8.Net
6f0aeae489888765ea3c1121f2acf79ae9950119
[ "BSD-3-Clause" ]
8
2021-02-08T08:48:48.000Z
2022-01-26T10:37:50.000Z
libvpx/test/VpxUnitTests/blockd_unittest.cpp
gdkchan/VP8.Net
760ff06d6fe769e660bb0a32defb2debac75cc56
[ "BSD-3-Clause" ]
4
2021-09-27T21:48:01.000Z
2021-11-27T15:09:14.000Z
libvpx/test/VpxUnitTests/blockd_unittest.cpp
gdkchan/VP8.Net
760ff06d6fe769e660bb0a32defb2debac75cc56
[ "BSD-3-Clause" ]
7
2021-02-17T13:24:13.000Z
2022-03-17T20:44:47.000Z
/****************************************************************************** * Filename: blockd_unittest.cpp * * Description: Unit testes relating to macro blocks. * * Author: * Aaron Clauson (aaron@sipsorcery.com) * * History: * 11 Nov 2020 Aaron Clauson Created, Dublin, Ireland. * * License: Public Doma...
24.803571
81
0.588193
sipsorcery
8252599510452fb05b13ebbe4fd6ccfb955bd136
3,178
cpp
C++
tools/program_generator/ProgramGenerator.cpp
filipwasil/rearwing-glviewer
3d0289398367b6dc330eae18042497b8da2e77da
[ "MIT" ]
null
null
null
tools/program_generator/ProgramGenerator.cpp
filipwasil/rearwing-glviewer
3d0289398367b6dc330eae18042497b8da2e77da
[ "MIT" ]
null
null
null
tools/program_generator/ProgramGenerator.cpp
filipwasil/rearwing-glviewer
3d0289398367b6dc330eae18042497b8da2e77da
[ "MIT" ]
null
null
null
#include "ProgramGenerator.hpp" #include "Exception.hpp" #include "ConfigGL.h" #include <glad/glad.h> #include <GLFW/glfw3.h> #include <iostream> #include <string> #include <iostream> #include <fstream> #include <array> namespace rwc { ProgramGenerator::ProgramGenerator() = default; void ProgramGenerator::generat...
25.424
95
0.657332
filipwasil
825a3b7a44d04c9d1ba1d479d35b2cd7961670eb
295
hpp
C++
Code/include/OE/UI_OLD/Elements/TableView.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
21
2018-06-26T16:37:36.000Z
2022-01-11T01:19:42.000Z
Code/include/OE/UI_OLD/Elements/TableView.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
null
null
null
Code/include/OE/UI_OLD/Elements/TableView.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
3
2019-10-01T14:10:50.000Z
2021-11-19T20:30:18.000Z
#ifndef UI_TABLE_VIEW_HPP #define UI_TABLE_VIEW_HPP #include <vector> #include <string> #include "OE/UI/Elements/Element.hpp" namespace OrbitEngine { namespace UI { class TableView : public Element { public: TableView(); private: std::vector<std::string> m_Headers[2]; }; } } #endif
15.526316
40
0.725424
mlomb
825dba87ac716e39dc869a4e09682bc593090d24
2,466
cpp
C++
SRC/Number Theory/jisuanke26219.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
2
2018-07-27T08:09:48.000Z
2018-09-26T16:36:37.000Z
SRC/Number Theory/jisuanke26219.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
SRC/Number Theory/jisuanke26219.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
#include<stdio.h> #include<string.h> #include<math.h> #include<algorithm> struct complex_t{ double r,i; complex_t(){} complex_t(double r,double i):r(r),i(i){} complex_t&operator=(double x){ r=x,i=0; return *this; } complex_t conj(){return complex_t(r,-i);} #define ops(ref,op,...
30.073171
87
0.562044
YouDad
825ed96be2ae7c6687c78623d4b8f07968acc67e
22,180
cxx
C++
osprey/instrumentation/libuhinstr/profile.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/instrumentation/libuhinstr/profile.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/instrumentation/libuhinstr/profile.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
//-*-c++-*- /* * Copyright 2013 University of Houston. All Rights Reserved. */ /* * Copyright 2005, 2006 PathScale, Inc. All Rights Reserved. */ // Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. // // This program is free software; you can redistribute it and/or modify // it under the te...
30.550964
93
0.63688
sharugupta
8262521278e043271d1f92a05611dfa2955cdbb2
5,523
cpp
C++
Benchmarks/backprop/backprop_5_coalescing/back/src/backprop_kernel.cpp
LemonAndRabbit/rodinia-hls
097e8cf572a9ab04403c4eb0cfdb042f233f4aea
[ "BSD-2-Clause" ]
16
2020-12-28T15:07:53.000Z
2022-02-16T08:55:40.000Z
Benchmarks/backprop/backprop_5_coalescing/back/src/backprop_kernel.cpp
LemonAndRabbit/rodinia-hls
097e8cf572a9ab04403c4eb0cfdb042f233f4aea
[ "BSD-2-Clause" ]
null
null
null
Benchmarks/backprop/backprop_5_coalescing/back/src/backprop_kernel.cpp
LemonAndRabbit/rodinia-hls
097e8cf572a9ab04403c4eb0cfdb042f233f4aea
[ "BSD-2-Clause" ]
6
2020-12-28T07:33:08.000Z
2022-01-13T16:31:22.000Z
#define __kernel #define __global #include <math.h> #include <string.h> #ifndef LARGE_BUS #define LARGE_BUS 512 #endif #define MARS_WIDE_BUS_TYPE ap_uint<LARGE_BUS> #include "ap_int.h" #include "../../../../common/mars_wide_bus.h" #define SIZE_1 16 #include "../../../../common/mars_wide_bus_2d.h" #undef SIZ...
40.313869
150
0.636792
LemonAndRabbit
8262e9b1e9b195008614a5793c9938f9ed4654e6
410
cpp
C++
src/physics/methods.cpp
gpascualg/Shinzui
dfe36d57231d083cf191abd8c17e983aec790214
[ "Apache-2.0" ]
1
2020-01-16T13:49:57.000Z
2020-01-16T13:49:57.000Z
src/physics/methods.cpp
gpascualg/Shinzui
dfe36d57231d083cf191abd8c17e983aec790214
[ "Apache-2.0" ]
null
null
null
src/physics/methods.cpp
gpascualg/Shinzui
dfe36d57231d083cf191abd8c17e983aec790214
[ "Apache-2.0" ]
1
2020-01-16T13:49:58.000Z
2020-01-16T13:49:58.000Z
/* Copyright 2016 Guillem Pascual */ #include "physics/methods.hpp" // TODO(gpascualg): Benchmark different segment-segment intersection algos bool ccw(glm::vec2 A, glm::vec2 B, glm::vec2 C) { return (C.y - A.y) * (B.x - A.x) > (B.y - A.y) * (C.x - A.x); } bool intersects(glm::vec2 A, glm::vec2 B, glm::vec2 C, ...
25.625
74
0.590244
gpascualg
82633a29feb7b0a0056ac82b911bfaa85bc5e272
361
cpp
C++
10-arrays-and-vectors/10.34-output-values-below-an-amount/main.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
2
2020-09-04T22:06:06.000Z
2020-09-09T04:00:25.000Z
10-arrays-and-vectors/10.34-output-values-below-an-amount/main.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
14
2020-08-24T01:44:36.000Z
2021-01-01T08:44:17.000Z
10-arrays-and-vectors/10.34-output-values-below-an-amount/main.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
1
2020-09-04T22:13:13.000Z
2020-09-04T22:13:13.000Z
#include <iostream> #include <vector> using namespace std; /* Define your function here */ int main() { vector<int> userValues; int upperThreshold; int numValues; cin >> numValues; userValues = GetUserValues(userValues, numValues); cin >> upperThreshold; OutputIntsLessThanOrEqualToThreshold(use...
19
68
0.720222
trangnart
8267636d4c490ed28da73ad5b242ae51c9ea92ea
18,686
cpp
C++
Module1/Chapter03/DynamicCubemap/main.cpp
wow2006/OpenGLBuildHighPerformanceGraphics
0174af58afd8da66425f15b218b26d4f99653899
[ "MIT" ]
1
2021-11-04T05:14:01.000Z
2021-11-04T05:14:01.000Z
Module1/Chapter03/DynamicCubemap/main.cpp
wow2006/OpenGLBuildHighPerformanceGraphics
0174af58afd8da66425f15b218b26d4f99653899
[ "MIT" ]
null
null
null
Module1/Chapter03/DynamicCubemap/main.cpp
wow2006/OpenGLBuildHighPerformanceGraphics
0174af58afd8da66425f15b218b26d4f99653899
[ "MIT" ]
2
2018-11-04T15:52:10.000Z
2021-11-04T05:14:02.000Z
#include <GL/glew.h> #include <GL/freeglut.h> #include <iostream> #include <vector> #include <glm/glm.hpp> #include <glm/gtc/matrix_inverse.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "Grid.hpp" #include "UnitCube.hpp" #include "GLSLShader.hpp" #define GL_CHECK_ERRORS assert...
36.143133
126
0.69924
wow2006