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
50530369d56e2ea877b3ea89418a2e4191b5090d
3,357
cpp
C++
src/tts/ttsServices.cpp
3rang/TTS
5a84b49ea08af599ad553ae27efb36b2682f3f76
[ "MIT" ]
null
null
null
src/tts/ttsServices.cpp
3rang/TTS
5a84b49ea08af599ad553ae27efb36b2682f3f76
[ "MIT" ]
null
null
null
src/tts/ttsServices.cpp
3rang/TTS
5a84b49ea08af599ad553ae27efb36b2682f3f76
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2021 MBition GmbH // // SPDX-License-Identifier: Closed software #include"include/ttsService.hpp" MelGenData ttsBaseMel::interpreterBuildMel(std::vector<int32_t> &localbuf) { model = tflite::FlatBufferModel::BuildFromFile(melgenPath); TFLITE_MINIMAL_CHECK(model != nullptr); tflite::I...
25.625954
93
0.744117
3rang
505caa149e40fd4322cc25588e3349fa9cd83c1a
904
hpp
C++
src/util/cloneable.hpp
pepng-CU/pepng
6030798b6936a6f85655d5e5d1ca638be282de92
[ "MIT" ]
2
2021-04-28T20:51:25.000Z
2021-04-28T20:51:38.000Z
src/util/cloneable.hpp
pepng-CU/pepng
6030798b6936a6f85655d5e5d1ca638be282de92
[ "MIT" ]
null
null
null
src/util/cloneable.hpp
pepng-CU/pepng
6030798b6936a6f85655d5e5d1ca638be282de92
[ "MIT" ]
null
null
null
#pragma once #include <memory> /** * Utility for creating shared_ptr clones of objects. */ template<typename T> class Cloneable { public: /** * Clones this object as type T. */ std::shared_ptr<T> clone() { return std::shared_ptr<T>(this->clone_implementation()); ...
21.023256
68
0.547566
pepng-CU
505eb32be06853a94a8a97961410b3a78a4776d6
344
cpp
C++
src/HudRenderable.cpp
bernhardmgruber/hlbsp
a2144818fb6e747409dcd93cab97cea7f055dbfd
[ "BSL-1.0" ]
5
2020-04-16T19:00:09.000Z
2022-03-06T04:12:20.000Z
src/HudRenderable.cpp
bernhardmgruber/hlbsp
a2144818fb6e747409dcd93cab97cea7f055dbfd
[ "BSL-1.0" ]
null
null
null
src/HudRenderable.cpp
bernhardmgruber/hlbsp
a2144818fb6e747409dcd93cab97cea7f055dbfd
[ "BSL-1.0" ]
null
null
null
#include "HudRenderable.h" #include "Hud.h" #include "IRenderer.h" #include "global.h" HudRenderable::HudRenderable(render::IRenderer& renderer, const Hud& hud) : m_renderer(renderer), m_hud(hud) { } void HudRenderable::render(const RenderSettings& settings) { if (!global::renderHUD) return; m_renderer.renderImg...
22.933333
73
0.744186
bernhardmgruber
5063a05c7686d2d41bef51e6784055e54aecbf91
10,575
cpp
C++
src/theory/arith/linear_equality.cpp
bobot/CVC4
63811bc87a07c487c25a566fcabd38cc6d29a61c
[ "BSL-1.0" ]
null
null
null
src/theory/arith/linear_equality.cpp
bobot/CVC4
63811bc87a07c487c25a566fcabd38cc6d29a61c
[ "BSL-1.0" ]
null
null
null
src/theory/arith/linear_equality.cpp
bobot/CVC4
63811bc87a07c487c25a566fcabd38cc6d29a61c
[ "BSL-1.0" ]
null
null
null
/********************* */ /*! \file linear_equality.cpp ** \verbatim ** Original author: taking ** Major contributors: none ** Minor contributors (to current version): mdeters ** This file is part of the CVC4 prototype. ** Copyright (c) 2009-2012 New York Un...
32.943925
98
0.669598
bobot
50648c7667c4361232b77a092b49823d68c1f5df
10,522
cpp
C++
tests/Camera3D.cpp
Defalt8/axl.gl
0028bcad1a86b048831e5fd61a436663fd38a763
[ "MIT" ]
6
2020-11-20T08:29:33.000Z
2021-12-13T14:41:52.000Z
tests/Camera3D.cpp
Defalt8/axl.gl
0028bcad1a86b048831e5fd61a436663fd38a763
[ "MIT" ]
null
null
null
tests/Camera3D.cpp
Defalt8/axl.gl
0028bcad1a86b048831e5fd61a436663fd38a763
[ "MIT" ]
null
null
null
#include "common/stdafx.hpp" #include "common/MainView.hpp" #include "common/Quad.hpp" namespace GL { using namespace axl::glfl; using namespace axl::glfl::core::GL; } void onExit(int exit_code) { if (axl::Assert::NUM_FAILED_ASSERTIONS) puts("----------------------------------------"); printf("%c> %d/%d Passed!\n...
34.956811
231
0.656244
Defalt8
506ce9a3b3e070dd23dada727e5806c0b98b11c4
15,101
cpp
C++
core/PRU.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
core/PRU.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
core/PRU.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
/* * PRU.cpp * * Code for communicating with the Programmable Realtime Unit (PRU) * on the BeagleBone AM335x series processors. The PRU loads and runs * a separate code image compiled from an assembly file. Here it is * used to handle audio and SPI ADC/DAC data. * * This code is specific to the PRU code in the ...
29.15251
122
0.706973
amilo
5070ee71783694d96984d3437a7658a0726cfb75
3,275
cpp
C++
libs/libvtrutil/test/test_expr_eval.cpp
amin1377/vtr-verilog-to-routing
700be36e479442fa41d8cb3ceb86e967f4dc078a
[ "MIT" ]
682
2015-07-10T00:39:26.000Z
2022-03-30T05:24:53.000Z
libs/libvtrutil/test/test_expr_eval.cpp
nbstrong/vtr-verilog-to-routing
c91800747378df13c008f3db92df43d6c1ebe38c
[ "MIT" ]
1,399
2015-07-24T22:09:09.000Z
2022-03-29T06:22:48.000Z
libs/libvtrutil/test/test_expr_eval.cpp
nbstrong/vtr-verilog-to-routing
c91800747378df13c008f3db92df43d6c1ebe38c
[ "MIT" ]
311
2015-07-09T13:59:48.000Z
2022-03-28T00:15:20.000Z
#include <limits> #include "catch2/catch_test_macros.hpp" #include "vtr_expr_eval.h" TEST_CASE("Simple Expressions", "[vtr_expr_eval]") { vtr::FormulaParser parser; vtr::t_formula_data vars; REQUIRE(parser.parse_formula("0", vars) == 0); REQUIRE(parser.parse_formula("42", vars) == 42); REQUIRE(...
35.989011
104
0.628397
amin1377
507148f5733bd6fa6ad7bcddc9a072175abe1c65
5,600
cpp
C++
win10/edge/test/typed_array.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
12
2015-08-17T12:59:12.000Z
2021-10-10T02:54:40.000Z
win10/edge/test/typed_array.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
null
null
null
win10/edge/test/typed_array.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
5
2019-03-08T04:13:44.000Z
2019-12-17T09:51:09.000Z
// Copyright 2015 Paul Vick // // 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 writin...
38.888889
99
0.560179
panopticoncentral
50720ddc98e40e3062cc0467ea069cc0a34e35e1
2,216
cpp
C++
examples/mixed_precision.cpp
tenglongcong/amgcl
61948e1a49c1cbc9fdb68c92d532c8b70e021516
[ "MIT" ]
504
2015-03-11T13:50:39.000Z
2022-03-20T13:08:55.000Z
examples/mixed_precision.cpp
tenglongcong/amgcl
61948e1a49c1cbc9fdb68c92d532c8b70e021516
[ "MIT" ]
209
2015-01-02T19:13:22.000Z
2022-03-30T06:44:12.000Z
examples/mixed_precision.cpp
tenglongcong/amgcl
61948e1a49c1cbc9fdb68c92d532c8b70e021516
[ "MIT" ]
92
2015-01-04T06:11:22.000Z
2022-03-24T09:49:12.000Z
#include <vector> #include <tuple> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/cg.hpp> #include <amgcl/profiler.hpp> #if defined(SOLVER_BACKEND_VEXCL) ...
25.471264
65
0.631318
tenglongcong
5073cabdf06bd2c6b1fb058f09d86187a69e7d87
460
cpp
C++
xasm/main.cpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
15
2018-11-10T11:30:09.000Z
2022-02-28T06:00:57.000Z
xasm/main.cpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
null
null
null
xasm/main.cpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
10
2019-06-19T03:33:53.000Z
2021-08-20T01:24:42.000Z
#include "xasm.hpp" void PrintUsage () { printf ( "Usage:\tXASM Source.XASM [Executable.XSE]\n" ); printf ( "\n" ); printf ( "\t- File extensions are not required.\n" ); printf ( "\t- Executable name is optional; source name is used by default.\n" ); } int main(int argc, char* argv[]) { i...
19.166667
85
0.586957
kiven-li
50764aa5d14915050391a68c52defae4c4e6bf87
762
hpp
C++
resource/scene/Topology.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
resource/scene/Topology.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
resource/scene/Topology.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
1
2019-03-11T20:58:41.000Z
2019-03-11T20:58:41.000Z
#ifndef TOPOLOGY_HPP_ #define TOPOLOGY_HPP_ #include "Common.hpp" #include "Space.hpp" #include "Metric.hpp" namespace reprize { namespace res { class TpNode { public: TpNode(void) {} virtual ~TpNode(void) {} private: Vec3 pos; }; class TpFace { public: TpFace(void) {} virtual ~TpFace(void) {} ...
12.290323
60
0.607612
szk
507838f9c3c3187129caf0b87c0d44969b2581c1
548
cpp
C++
leetcode/1-two-sum.cpp
rise-worlds/algorithm
74fb83ee12725d868ce57f5969f072c593898215
[ "MIT" ]
1
2019-06-10T09:33:37.000Z
2019-06-10T09:33:37.000Z
leetcode/1-two-sum.cpp
rise-worlds/leetcode
74fb83ee12725d868ce57f5969f072c593898215
[ "MIT" ]
null
null
null
leetcode/1-two-sum.cpp
rise-worlds/leetcode
74fb83ee12725d868ce57f5969f072c593898215
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { vector<int> result; size_t i, j, length = nums.size(); for (i = 0; i < length; ++i) { for (j = i + 1; j < length; ++j) { if (nums[i] + nums[j] == ...
24.909091
55
0.410584
rise-worlds
50805f648ac56f0cb79cd6e0d877f94cc75f8b91
1,474
cc
C++
SuperReads_RNA/global-1/jellyfish/unit_tests/test_simple_circular_buffer.cc
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
255
2015-02-18T20:27:23.000Z
2022-03-18T18:55:35.000Z
SuperReads_RNA/global-1/jellyfish/unit_tests/test_simple_circular_buffer.cc
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
350
2015-03-11T14:24:06.000Z
2022-03-29T03:54:10.000Z
SuperReads_RNA/global-1/jellyfish/unit_tests/test_simple_circular_buffer.cc
wrf/stringtie
2e99dccd9a2e2ce51cfddcb3896984fa773697f7
[ "MIT" ]
66
2015-02-19T00:21:38.000Z
2022-03-30T09:52:23.000Z
#include <gtest/gtest.h> #include <jellyfish/simple_circular_buffer.hpp> namespace { static const int capa = 16; typedef jellyfish::simple_circular_buffer::pre_alloc<int, capa> test_simple_circular_buffer; TEST(SimpleCircularBufferTest, FillEmpty) { int ary[capa]; test_simple_circular_buffer buffer(ary); EXPEC...
25.859649
92
0.651289
Kuanhao-Chao
5082fbf2999dfbaaab448ecb36cabb919bd7f16c
1,095
hpp
C++
solver/include/policy/pure/PurePolicy.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
9
2020-10-24T06:14:08.000Z
2021-07-13T13:08:30.000Z
solver/include/policy/pure/PurePolicy.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
solver/include/policy/pure/PurePolicy.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
#ifndef PUREPOLICY_HPP #define PUREPOLICY_HPP #include "PurePolicyExecutionState.hpp" namespace npgi { namespace policy { template <typename LocalAction, typename LocalObservation> struct PurePolicy { public: PurePolicy() : m_() {} void set_action(const PurePolicyExecutionState<LocalObservation>& es, ...
26.707317
78
0.699543
laurimi
50835860f266eb3bcd3c53b222b1f7d038497a50
7,434
cpp
C++
src/input_handler.cpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
3
2019-09-16T01:42:10.000Z
2021-11-28T02:58:42.000Z
src/input_handler.cpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
src/input_handler.cpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
2
2020-01-28T23:33:00.000Z
2021-11-08T06:14:41.000Z
#include "input_handler.hpp" #include <iostream> #include "nameof.hpp" input_command* input_handler::keypress(SDL_Scancode code, uint16_t modifier) { if(keypress_commands[code]) keypress_commands[code]->modifier = modifier; return keypress_commands[code]; } input_command* input_handler::keyrelease(SDL_Scancode c...
37.545455
180
0.723298
Ybalrid
5083b0da307258cea057cf3faf0c97471272f1ea
691
cpp
C++
cpp/src/exercise/e0300/e0203.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0300/e0203.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0300/e0203.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
// https://leetcode-cn.com/problems/remove-linked-list-elements/ #include "extern.h" class S0203 { public: ListNode* removeElements(ListNode* head, int val) { ListNode* pre = new ListNode(-1); pre->next = head; ListNode* node = pre; while (node && node->next) { if (node->next->...
26.576923
80
0.545586
ajz34
5085681b31b439ff0f94f723c9331a7ab681249f
188
cpp
C++
applications/ObjectEditor/src/Objects/OEVisitorExtension.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
applications/ObjectEditor/src/Objects/OEVisitorExtension.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
applications/ObjectEditor/src/Objects/OEVisitorExtension.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <Objects/OEVisitorExtension.h> mtt::ObjectVisitor::ExtensionID OEVisitorExtension::extensionID = mtt::ObjectVisitor::registerExtension();
37.6
80
0.648936
AluminiumRat
508c16bfdd4299bbd1753abaeb6b92ee2480d668
614
cpp
C++
absmapalgorithms/AbsMapUnit.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
5
2020-08-03T09:43:26.000Z
2022-01-11T08:28:30.000Z
absmapalgorithms/AbsMapUnit.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
null
null
null
absmapalgorithms/AbsMapUnit.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
7
2017-07-31T13:01:28.000Z
2021-05-16T10:15:49.000Z
/* * AbsMapUnit.cpp * hog2 * * Created by Nathan Sturtevant on 4/27/07. * Copyright 2007 Nathan Sturtevant, University of Alberta. All rights reserved. * */ #include "AbsMapUnit.h" void AbsMapUnit::OpenGLDraw(const AbsMapEnvironment *me, const AbsMapSimulationInfo *) const { Map *map = me->GetMap(); GLdo...
24.56
92
0.656352
AaronTrip
5091c34223efcd389884af71c4f2f909947d2240
1,962
cpp
C++
quiz7/quiz7/quiz7.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
quiz7/quiz7/quiz7.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
quiz7/quiz7/quiz7.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
// quiz7.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <queue> #include <vector> #include <assert.h> // Given a vector of elements in any order, return the 5th smallest element // For example: // std::vector<char> chars = {'a', 'b', 'c', 'd'...
33.827586
135
0.61315
keithwj1
509574214357962c1f3f5a122c9a8e6f0be115f6
1,299
cpp
C++
WineX/Sprite.cpp
MKachi/WineX
712243b5e3819fa77c2ae7262b9a846acd9c5945
[ "MIT" ]
4
2016-01-14T06:58:32.000Z
2018-04-13T07:26:21.000Z
WineX/Sprite.cpp
MKachi/WineX
712243b5e3819fa77c2ae7262b9a846acd9c5945
[ "MIT" ]
null
null
null
WineX/Sprite.cpp
MKachi/WineX
712243b5e3819fa77c2ae7262b9a846acd9c5945
[ "MIT" ]
null
null
null
#include "Sprite.h" #include "WineObject.h" #include "Transform.h" #include "TypeHelper.h" using namespace WineX; Sprite::Sprite(const std::wstring & filename) { _filename = filename; _name = TypeHelper<Sprite>::GetType(); } Sprite::~Sprite() { SAFE_RELEASE(_texture); SAFE_RELEASE(_sprite); } void Sprite::Init(...
27.638298
180
0.756736
MKachi
509fb3626e61b0e386fdef201ed76273074babd1
13,048
cpp
C++
VoiceDialog.cpp
fioresoft/NO5
0acb1fdf191e3aa1e6f082ae996c1bf2a545e6c4
[ "MIT" ]
6
2017-06-01T01:28:11.000Z
2022-01-06T13:24:42.000Z
VoiceDialog.cpp
fioresoft/NO5
0acb1fdf191e3aa1e6f082ae996c1bf2a545e6c4
[ "MIT" ]
null
null
null
VoiceDialog.cpp
fioresoft/NO5
0acb1fdf191e3aa1e6f082ae996c1bf2a545e6c4
[ "MIT" ]
2
2021-07-05T01:17:23.000Z
2022-01-06T13:24:44.000Z
// VoiceDialog.cpp: implementation of the CVoiceDialog class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "resource.h" #include "VoiceDialog.h" #include "imainframe.h" #include "no5app.h" #include "usrmsgs.h" /////////////////////////////////////...
23.853748
112
0.664086
fioresoft
50a02a9cc221a86f0e686ab7f65508f4b3ffacc0
362
cpp
C++
Codeforces 734B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 734B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 734B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
#include <stdio.h> using namespace std; int main(){ int k2, k3, k5, k6, sum = 0; scanf("%d %d %d %d", &k2, &k3, &k5, &k6); while(k2 > 0 && k5 > 0 && k6 > 0){ k2--; k5--; k6--; sum += 256; } while(k2 > 0 && k3 > 0){ k2--; k3--; sum += 32; ...
17.238095
45
0.367403
Jvillegasd
50a2d687807090ccf6d31a66041c36df71dc46da
2,207
hpp
C++
baseclass/headers/world.hpp
HxHexa/quang-advCG-raytracer
605f7dfcc9237f331d456646b7653ad0f26c0cc4
[ "MIT" ]
null
null
null
baseclass/headers/world.hpp
HxHexa/quang-advCG-raytracer
605f7dfcc9237f331d456646b7653ad0f26c0cc4
[ "MIT" ]
null
null
null
baseclass/headers/world.hpp
HxHexa/quang-advCG-raytracer
605f7dfcc9237f331d456646b7653ad0f26c0cc4
[ "MIT" ]
null
null
null
/* world.hpp - header for world - a collection of objects and lights in scene * Quang Tran - 10/9/19 * */ #pragma once #include "object.hpp" #include "sphere.hpp" #include "arealight.hpp" #include "ray.hpp" #include "intersection.hpp" #include "comps.hpp" #include <vector> #include <memory> class World { priva...
31.084507
180
0.652469
HxHexa
50a6ec99bb741660f02ed81088141380974f29c4
669
hpp
C++
coordGraph/coordGraph.hpp
ytuza/proyecto
3ebd08518c80180063262810ed9515cb94a2b735
[ "MIT" ]
null
null
null
coordGraph/coordGraph.hpp
ytuza/proyecto
3ebd08518c80180063262810ed9515cb94a2b735
[ "MIT" ]
null
null
null
coordGraph/coordGraph.hpp
ytuza/proyecto
3ebd08518c80180063262810ed9515cb94a2b735
[ "MIT" ]
null
null
null
#pragma once #include "graph/graph.hpp" #include <QPointF> #include <deque> class CoordGraph : public Graph<QPointF, double> { private: std::deque<NodeType *> randomGenNodes(int nodesN, double limitA, double limitB); void sortNodes(); double distance(NodeType *a, NodeType *b); void randomGenEdges(unsigned ...
26.76
82
0.714499
ytuza
50a89231515514681dc6eb2c5b181d33c2497d8b
7,351
cpp
C++
project/driver/src/DbcEntries.cpp
mkhon/ezRETS
7040e80061da719b5a2d56a80431198962f57893
[ "ICU" ]
20
2015-07-11T15:54:42.000Z
2022-02-05T04:55:24.000Z
project/driver/src/DbcEntries.cpp
mkhon/ezRETS
7040e80061da719b5a2d56a80431198962f57893
[ "ICU" ]
5
2015-01-12T22:38:56.000Z
2021-01-16T01:08:18.000Z
project/driver/src/DbcEntries.cpp
NationalAssociationOfRealtors/ezRETS
7040e80061da719b5a2d56a80431198962f57893
[ "ICU" ]
13
2015-04-05T03:28:20.000Z
2021-01-13T16:52:52.000Z
/* * Copyright (C) 2005 National Association of REALTORS(R) * * All rights reserved. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitat...
33.413636
79
0.667936
mkhon
50ab105623645fd6280008abe04b2f930db659bf
4,452
cpp
C++
src/processServer.cpp
tositeru/watagashi
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
[ "MIT" ]
null
null
null
src/processServer.cpp
tositeru/watagashi
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
[ "MIT" ]
null
null
null
src/processServer.cpp
tositeru/watagashi
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
[ "MIT" ]
null
null
null
#include "processServer.h" #include <iostream> #include "utility.h" #include "builder.h" #include "data.h" using namespace std; namespace fs = boost::filesystem; namespace watagashi { //-------------------------------------------------------------------------------------- // // class Process_ // //---------------...
28.722581
128
0.598607
tositeru
27051ecab1393a3d3729e511cb242f15650485dc
538
cpp
C++
complex.cpp
dkaramit/complex
b0c65feeb420472aa79b11372e8329fb7aea8b6a
[ "MIT" ]
null
null
null
complex.cpp
dkaramit/complex
b0c65feeb420472aa79b11372e8329fb7aea8b6a
[ "MIT" ]
null
null
null
complex.cpp
dkaramit/complex
b0c65feeb420472aa79b11372e8329fb7aea8b6a
[ "MIT" ]
null
null
null
// This is an example on how to use complex. #include <iostream> #include "complex.hpp" using namespace std; int main(){ cout<<"=======Begin=======\n"<<endl; complex z=0.; z=8+3.*Imag; double n=3.; cout<<n<<"^("<<z<<") = "<<pow(n,z)<<endl; cout<<"("<<z<<")^"<<n<<" = "<<pow(z,n)<<endl; cout<<"("<<z<<")^"<<"("<<...
16.30303
51
0.451673
dkaramit
270698d319bc4a493cc63dae0feb0d3f93722e94
1,585
cpp
C++
src/test_separator.cpp
caomuqing/separator
53fbf832ce784029c8bd7e1a835acbb20d311730
[ "BSD-3-Clause" ]
8
2020-09-09T16:38:53.000Z
2021-08-19T10:40:25.000Z
submodules/separator/src/test_separator.cpp
t-thanh/mader-docker
4d0baa706d85b0b808d06a670ad6c9aa2730e05b
[ "BSD-3-Clause" ]
null
null
null
submodules/separator/src/test_separator.cpp
t-thanh/mader-docker
4d0baa706d85b0b808d06a670ad6c9aa2730e05b
[ "BSD-3-Clause" ]
2
2020-12-21T03:41:33.000Z
2021-08-21T07:45:32.000Z
/* ---------------------------------------------------------------------------- * Copyright 2020, Jesus Tordesillas Torres, Aerospace Controls Laboratory * Massachusetts Institute of Technology * All Rights Reserved * Authors: Jesus Tordesillas, et al. * See LICENSE file for the license information * ------------...
34.456522
85
0.57224
caomuqing
270769a4a238f8f618b435fec9b54e7d03e3549a
3,911
cpp
C++
Wand/Source/Utils/Serializer.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
Wand/Source/Utils/Serializer.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
Wand/Source/Utils/Serializer.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
#include "WandPCH.h" #include "Serializer.h" namespace wand { /******************************* PUBLIC METHODS **********************************/ void Serializer::Serialize(const State& state, const std::string& path) { nlohmann::json states; nlohmann::json oldStates = GetSavedStates(path); // Add the new s...
29.406015
105
0.653541
mariaviolaki
2707bd1332867eb7d11cd158fe8c9cc9fc1206cf
40,671
cpp
C++
src/limits/Shadows/StaticShadows.cpp
EightyVice/III.VC.SA.LimitAdjuster
b83062ae1bc154701012f2f870a49c4566d06dfa
[ "MIT" ]
120
2016-03-13T14:06:07.000Z
2022-02-20T17:57:10.000Z
src/limits/Shadows/StaticShadows.cpp
EightyVice/III.VC.SA.LimitAdjuster
b83062ae1bc154701012f2f870a49c4566d06dfa
[ "MIT" ]
33
2016-09-25T13:01:08.000Z
2022-03-23T19:43:06.000Z
src/limits/Shadows/StaticShadows.cpp
EightyVice/III.VC.SA.LimitAdjuster
b83062ae1bc154701012f2f870a49c4566d06dfa
[ "MIT" ]
25
2016-08-09T15:52:06.000Z
2022-02-14T11:11:27.000Z
/* * Static Shadows Limit Adjuster * Copyright (C) 2014 Wesser * http://gtaforums.com/topic/675664-staticshadow-limit/ */ #include "LimitAdjuster.h" #include "cpatch/hook.h" using namespace Hook; DWORD SSHADS_LIMIT; //#define SSHADS_LIFETIME 5000 //#define SSHADS_UPDATEFIX void patch_706ED0(); void patch_706FE...
40.752505
113
0.695926
EightyVice
270902945fbb0bafcef69d1010e7b2409904154c
884
cpp
C++
Durna/Source/Runtime/Render/Buffer.cpp
MrWpGg/Durna
62c8ca2d69623e70e2dac49a5560cd3ac2c304ed
[ "Apache-2.0" ]
null
null
null
Durna/Source/Runtime/Render/Buffer.cpp
MrWpGg/Durna
62c8ca2d69623e70e2dac49a5560cd3ac2c304ed
[ "Apache-2.0" ]
null
null
null
Durna/Source/Runtime/Render/Buffer.cpp
MrWpGg/Durna
62c8ca2d69623e70e2dac49a5560cd3ac2c304ed
[ "Apache-2.0" ]
null
null
null
#include "DurnaPCH.h" #include "Buffer.h" #include "Runtime/Render/Renderer.h" #include "Runtime/Platform/OpenGL/OpenGLBuffer.h" namespace Durna { VertexBuffer* VertexBuffer::Create(float* Vertices, uint32 Size) { switch (Renderer::GetAPI()) { case RendererAPI::API::None: DRN_ASSERT(false, "Render API 'None'...
30.482759
102
0.714932
MrWpGg
27107cb661a4eb240d9e8dc5a1e41175be0b0735
1,422
cpp
C++
2020-sp-a-hw6-tgfnzb-master/2020-sp-a-hw6-tgfnzb-master/pa06.cpp
thomasfan100/DataStructure
4a69da72b8ae12aaa18363061528094c114a324b
[ "MIT" ]
null
null
null
2020-sp-a-hw6-tgfnzb-master/2020-sp-a-hw6-tgfnzb-master/pa06.cpp
thomasfan100/DataStructure
4a69da72b8ae12aaa18363061528094c114a324b
[ "MIT" ]
null
null
null
2020-sp-a-hw6-tgfnzb-master/2020-sp-a-hw6-tgfnzb-master/pa06.cpp
thomasfan100/DataStructure
4a69da72b8ae12aaa18363061528094c114a324b
[ "MIT" ]
null
null
null
#include "MyMap.h" int main() { MyMap<int, std::string> map_obj; map_obj.insert(MyPair<int, std::string>(3, "h")); map_obj[54].push_back('w'); map_obj[34] = "x"; map_obj[54] = "x"; map_obj[154] = "p"; map_obj[73] = "w"; map_obj[5] = "a"; map_obj[36] = "x"; map_obj[32] = "x"; ...
22.21875
70
0.523207
thomasfan100
2711c3e28c8d027c23751b5c08e27d208a47c21e
1,414
cpp
C++
src/core/signalRecord.cpp
BetaRavener/BrainActivityVisualizer
baf61856d67fbe31880bc4c6610621142777ac19
[ "BSD-3-Clause" ]
null
null
null
src/core/signalRecord.cpp
BetaRavener/BrainActivityVisualizer
baf61856d67fbe31880bc4c6610621142777ac19
[ "BSD-3-Clause" ]
null
null
null
src/core/signalRecord.cpp
BetaRavener/BrainActivityVisualizer
baf61856d67fbe31880bc4c6610621142777ac19
[ "BSD-3-Clause" ]
1
2021-07-12T00:49:41.000Z
2021-07-12T00:49:41.000Z
// Author: Ivan Sevcik <ivan-sevcik@hotmail.com> // Licensed under BSD 3-Clause License (see licenses/LICENSE.txt) #include "signalRecord.h" #include <algorithm> SignalRecord::Ptr SignalRecord::create(edf_hdr_struct *header, int signalIdx) { Ptr ptr(new SignalRecord); ptr->_header = header; ptr->_signalId...
28.857143
88
0.712871
BetaRavener
271a2d5e2ee89727b2187e27ff5c0999e32bfa86
2,274
cpp
C++
MWP8_1B_Budka_Suflera/main.cpp
MichalWilczek/spoj-tasks
6d5d77d750747ecb162c76a2b7eb4b8e8f2c4fc3
[ "Unlicense" ]
null
null
null
MWP8_1B_Budka_Suflera/main.cpp
MichalWilczek/spoj-tasks
6d5d77d750747ecb162c76a2b7eb4b8e8f2c4fc3
[ "Unlicense" ]
null
null
null
MWP8_1B_Budka_Suflera/main.cpp
MichalWilczek/spoj-tasks
6d5d77d750747ecb162c76a2b7eb4b8e8f2c4fc3
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <bits/stdc++.h> // std:: istringstream using namespace std; void printWords(vector<string> &words){ int wordsLength = words.size(); for (int i=0; i<wordsLength; i++){ cout << words[i] << endl; } } void extractDataFromString(vector<string> &wordsTextOr...
27.071429
99
0.684257
MichalWilczek
271db97f6fb76016d07cdfd3ed33b056cda4ae36
2,812
hpp
C++
src/cdpi_ssl.hpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
2
2015-04-13T19:10:24.000Z
2019-04-27T02:53:49.000Z
src/cdpi_ssl.hpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
null
null
null
src/cdpi_ssl.hpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
null
null
null
#ifndef CDPI_SSL_HPP #define CDPI_SSL_HPP #include "cdpi_bytes.hpp" #include "cdpi_event.hpp" #include "cdpi_proto.hpp" #include <stdint.h> #include <list> #include <map> enum cdpi_ssl_content_type { SSL_CHANGE_CIPHER_SPEC = 20, SSL_ALERT = 21, SSL_HANDSHAKE = 22, SSL_APPLICATI...
31.595506
89
0.671053
ytakano
2720a52680042f76737d0895811a54abc6994217
6,797
cpp
C++
src/DataSetBuilder.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
src/DataSetBuilder.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
src/DataSetBuilder.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018 Daniel dos Santos Marques <danielsmarques7@gmail.com> // License: BSD 3 clause #include "DataSetBuilder.h" #include "Converter.h" #include "ErrorUtils.h" #include "Logger.h" #include "ReadCSV.h" #include <utility> #include <iostream> #include <set> DataSetBuilder::DataSetBuilder() { } DataSet...
34.328283
123
0.61895
ddsmarques
272209a3f9b28db074f6ddd67885ddb87cbbf5b4
3,828
cpp
C++
src/ngraph/op/concat.cpp
bergtholdt/ngraph
55ca8bb15488ac7a567bb420ca32fcee25e60fe6
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/concat.cpp
bergtholdt/ngraph
55ca8bb15488ac7a567bb420ca32fcee25e60fe6
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/concat.cpp
bergtholdt/ngraph
55ca8bb15488ac7a567bb420ca32fcee25e60fe6
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
33.578947
98
0.644201
bergtholdt
2728732cf362f116d480d9dc38848ecdc0111aff
2,015
cpp
C++
source/utils/Constants.cpp
sirCamp/RunEscape
ae8185c955fb8dad13e3f188828a6b7a4ebd6f9d
[ "MIT" ]
null
null
null
source/utils/Constants.cpp
sirCamp/RunEscape
ae8185c955fb8dad13e3f188828a6b7a4ebd6f9d
[ "MIT" ]
null
null
null
source/utils/Constants.cpp
sirCamp/RunEscape
ae8185c955fb8dad13e3f188828a6b7a4ebd6f9d
[ "MIT" ]
null
null
null
// // Created by stefano on 02/09/16. // class Constants{ public: static const int LOAD_RAW_TEXTURE = 1; static const int LOAD_BMP_TEXTURE = 2; static const int LOAD_JGP_TEXTURE = 3; static const int ESC_KEY = 27; static const int SPACEBAR = 32; static const char UP_KEY = 'w'; static co...
31.484375
93
0.743424
sirCamp
272b7ca0b2de1d98d1cb5d0391672e523f82afce
294
hpp
C++
library/ATF/$0BC19B3D86456E0AB84C9DE48A18D228.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$0BC19B3D86456E0AB84C9DE48A18D228.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$0BC19B3D86456E0AB84C9DE48A18D228.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE union $0BC19B3D86456E0AB84C9DE48A18D228 { wchar_t *wszArg; char *szArg; }; END_ATF_NAMESPACE
19.6
108
0.714286
lemkova
2734f6cf93207e5e09b958cb048a2b9653103461
104
hpp
C++
include/ompu/geo.hpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
4
2017-09-28T13:53:32.000Z
2018-02-14T21:29:25.000Z
include/ompu/geo.hpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
null
null
null
include/ompu/geo.hpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
null
null
null
#pragma once #include "ompu/geo/geo.hpp" #include "ompu/geo/strats.hpp" #include "ompu/geo/models.hpp"
17.333333
30
0.730769
ompu
2738410e308c848172ada9673fa45bf92d569319
2,179
cpp
C++
a2oj/Graphs/chicago.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/chicago.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/chicago.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
21.574257
106
0.565856
onexmaster
2739a7a9d82bb157c828e09447b8b7498e8ef55a
12,053
cpp
C++
xtd.forms.native.wxwidgets/src/xtd/forms/native/wxwidgets/control.cpp
lineCode/xtd.forms
53b126a41513b4009870498b9f8e522dfc94c8de
[ "MIT" ]
1
2022-02-04T08:15:31.000Z
2022-02-04T08:15:31.000Z
xtd.forms.native.wxwidgets/src/xtd/forms/native/wxwidgets/control.cpp
lineCode/xtd.forms
53b126a41513b4009870498b9f8e522dfc94c8de
[ "MIT" ]
null
null
null
xtd.forms.native.wxwidgets/src/xtd/forms/native/wxwidgets/control.cpp
lineCode/xtd.forms
53b126a41513b4009870498b9f8e522dfc94c8de
[ "MIT" ]
null
null
null
#include <map> #include <stdexcept> #include <xtd/drawing/system_colors.hpp> #include <xtd/drawing/system_fonts.hpp> #include <xtd/forms/native/application.hpp> #include <xtd/forms/native/control.hpp> #include "hdc_wrapper.hpp" #include "wx_button.hpp" #include "wx_check_box.hpp" #include "wx_control.hpp" #include "wx_...
41.136519
179
0.739318
lineCode
273ca986ebe51734419d4f96004ac7b23c6b2989
2,503
cpp
C++
regression/esbmc-cpp/cpp/ch18_9/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/cpp/ch18_9/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/cpp/ch18_9/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// Fig. 18.18: fig18_18.cpp // Using functions islower, isupper, tolower and toupper. #include <iostream> using std::cout; using std::endl; #include <cctype> // character-handling function prototypes int main() { cout << "According to islower:\n" << ( islower( 'p' ) ? "p is a" : "p is not a" ) <...
43.155172
75
0.495006
shmarovfedor
27402df1b135e669d9c38c3a3d821b6ce9354195
714
cpp
C++
12/1277. Count Square Submatrices with All Ones.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
12/1277. Count Square Submatrices with All Ones.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
12/1277. Count Square Submatrices with All Ones.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: int countSquares(vector<vector<int>>& matrix) { int m = matrix.size(), n = matrix[0].size(); int ret = accumulate(matrix[0].begin(), matrix[0].end(), 0); for(int i = 1; i < m; ++i) { ret += matrix[i][0]; for(int j = 1; j < n; ++j) { ...
32.454545
75
0.387955
eagleoflqj
27407d070f3394d3f897392e53f9776529bdbf3d
321
cpp
C++
HelloWorld/Panda3D HelloWorld/Hello World.cpp
RockRockWhite/Panda3D-learning
5752b0b437083b8d9f4d7f1b01ec0eda219f6979
[ "MIT" ]
null
null
null
HelloWorld/Panda3D HelloWorld/Hello World.cpp
RockRockWhite/Panda3D-learning
5752b0b437083b8d9f4d7f1b01ec0eda219f6979
[ "MIT" ]
null
null
null
HelloWorld/Panda3D HelloWorld/Hello World.cpp
RockRockWhite/Panda3D-learning
5752b0b437083b8d9f4d7f1b01ec0eda219f6979
[ "MIT" ]
null
null
null
#include "pandaFrameWork.h" #include "windowFrameWork.h" int main(int argc,char* argv[]) { PandaFramework framework; WindowFramework* window; framework.open_framework(argc, argv); framework.set_window_title("Hello World!"); window = framework.open_window(); framework.main_loop(); framework.close_framework(); ...
21.4
44
0.76324
RockRockWhite
27441f67cc80217ecd3973aead6ddc66b95cb8b6
1,904
cpp
C++
linked_lists/linked_list.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
linked_lists/linked_list.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
linked_lists/linked_list.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> // build the linked list class Node{ public: Node *next = NULL; int data; Node(int d){ data = d; } //included for comparisons in tests.cpp friend bool operator == (const Node lhs, const Node rhs){ return(lhs.data == rhs.data); } friend std::ostream& operator <<( std:...
16.701754
77
0.527836
agurusa
274bb8d4dac24cf0d494098d0ccd7c82538bf0ac
1,468
cpp
C++
Visual Mercutio/zDB/PSS_DatabaseManipulator.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zDB/PSS_DatabaseManipulator.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zDB/PSS_DatabaseManipulator.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_DatabaseManipulator ---------------------------------------------* **************************************************************************** * Description : Provides a database manipulator * * Devel...
38.631579
84
0.330381
Jeanmilost
274e27e5519110ecb255b595c16644c5ce072780
918
inl
C++
Source/Foundation/Time/Time.inl
yuyang158/TianEngine
59029bde8af0f45d5adc99324ca7bc38d4cb8de9
[ "MIT" ]
null
null
null
Source/Foundation/Time/Time.inl
yuyang158/TianEngine
59029bde8af0f45d5adc99324ca7bc38d4cb8de9
[ "MIT" ]
null
null
null
Source/Foundation/Time/Time.inl
yuyang158/TianEngine
59029bde8af0f45d5adc99324ca7bc38d4cb8de9
[ "MIT" ]
null
null
null
#include "Time.h" TIAN_FORCE_INLINE constexpr double Time::GetTotalNanoseconds() const { return m_fTime * 0.000000001; } TIAN_FORCE_INLINE constexpr double Time::GetTotalMicroseconds() const { return m_fTime * 0.000001; } TIAN_FORCE_INLINE constexpr double Time::GetTotalMilliseconds() const { return m_fTime * 0.0...
24.810811
71
0.764706
yuyang158
274f9df4ba6c1d2136e0afa3a8b9d99df2e4262e
25,288
inl
C++
src/fonts/stb_font_times_25_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_times_25_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_times_25_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_times_25_usascii_*,...
61.378641
117
0.762971
stetre
2751e269435c1bc0e48312261d13497f3df556a3
110
cpp
C++
openexr-c/abigen/imf_testfile.cpp
vfx-rs/openexr-bind
ee4fd6010beedb0247737a39ee61ffb87c586448
[ "BSD-3-Clause" ]
7
2021-06-04T20:59:16.000Z
2022-02-11T01:00:42.000Z
openexr-c/abigen/imf_testfile.cpp
vfx-rs/openexr-bind
ee4fd6010beedb0247737a39ee61ffb87c586448
[ "BSD-3-Clause" ]
35
2021-05-14T04:28:22.000Z
2021-12-30T12:08:40.000Z
openexr-c/abigen/imf_testfile.cpp
vfx-rs/openexr-bind
ee4fd6010beedb0247737a39ee61ffb87c586448
[ "BSD-3-Clause" ]
5
2021-05-15T04:02:56.000Z
2021-07-02T05:38:01.000Z
#include <OpenEXR/ImfTestFile.h> #include "imf_testfile.hpp" void abi_gen_imf_testfile(std::ostream& os) { }
18.333333
45
0.763636
vfx-rs
2755f82798cd92f4a023afcae3c6265e63fa4729
13,033
cpp
C++
TwoDacConsistencyLogger/WasapiInput.cpp
AVLatency/Latency-Measurement
a85b8d0dbfa7eb79a8858936f0313a272726f35c
[ "MIT" ]
4
2022-02-17T20:09:30.000Z
2022-03-28T22:34:43.000Z
TwoDacConsistencyLogger/WasapiInput.cpp
AVLatency/Latency-Measurement
a85b8d0dbfa7eb79a8858936f0313a272726f35c
[ "MIT" ]
2
2022-02-17T20:16:22.000Z
2022-02-18T15:42:28.000Z
TwoDacConsistencyLogger/WasapiInput.cpp
AVLatency/Latency-Measurement
a85b8d0dbfa7eb79a8858936f0313a272726f35c
[ "MIT" ]
1
2022-03-24T12:10:38.000Z
2022-03-24T12:10:38.000Z
#include "WasapiInput.h" #include <mmdeviceapi.h> #include <cmath> #include <cstdio> #include <Functiondiscoverykeys_devpkey.h> #include <comdef.h> #include <format> // REFERENCE_TIME time units per second and per millisecond #define REFTIMES_PER_SEC 10000000 #define REFTIMES_PER_MILLISEC 10000 #define EXIT_ON_ERRO...
33.332481
245
0.609069
AVLatency
27560e816977bb293bda88293cf0d2ff992af5e0
25,229
cpp
C++
Src/Hardware/MCU/STM32F4xx/Src/USB_MCU.cpp
ThBreuer/EmbSysLib
650122100e876a819b1b4e6d52aed24e5504e86e
[ "MIT" ]
1
2020-01-11T09:53:11.000Z
2020-01-11T09:53:11.000Z
Src/Hardware/MCU/STM32F4xx/Src/USB_MCU.cpp
ThBreuer/EmbSysLib
650122100e876a819b1b4e6d52aed24e5504e86e
[ "MIT" ]
null
null
null
Src/Hardware/MCU/STM32F4xx/Src/USB_MCU.cpp
ThBreuer/EmbSysLib
650122100e876a819b1b4e6d52aed24e5504e86e
[ "MIT" ]
1
2021-07-20T05:06:11.000Z
2021-07-20T05:06:11.000Z
//******************************************************************* /*! \file USB_MCU.cpp \author Thomas Breuer (Bonn-Rhein-Sieg University of Applied Sciences) \date 23.03.2016 This file is released under the MIT License. This implementaion is partially derived from STM32CubeF4 (see: http://www.st.com/web/en/c...
27.908186
118
0.466646
ThBreuer
2757e9c3e95659a0d405e82eaae0c3f11297d662
26,598
cpp
C++
src/gb/cpu/disass.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
20
2020-01-19T21:54:23.000Z
2021-11-28T17:27:15.000Z
src/gb/cpu/disass.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
3
2020-05-01T07:46:10.000Z
2021-09-18T13:50:18.000Z
src/gb/cpu/disass.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
null
null
null
#include <gb/gb.h> #include <destoer-emu/lib.h> namespace gameboy { Disass::Disass(GB &gb) : mem(gb.mem) { rom_sym_table.clear(); mem_sym_table.clear(); sym_file_loaded = false; } void Disass::init() noexcept { load_sym_file(remove_ext(mem.rom_info.filename) + ".sym"); } enum...
33.08209
101
0.553199
destoer
2757f4c75b2b61df4a4ea1e4138293c4af2ba56e
1,131
cpp
C++
src/peptides/InfluenceRange.cpp
csam5596/Epi
e352e766bc3b522c7a02f83b4fe480e860c0f1db
[ "MIT" ]
null
null
null
src/peptides/InfluenceRange.cpp
csam5596/Epi
e352e766bc3b522c7a02f83b4fe480e860c0f1db
[ "MIT" ]
null
null
null
src/peptides/InfluenceRange.cpp
csam5596/Epi
e352e766bc3b522c7a02f83b4fe480e860c0f1db
[ "MIT" ]
null
null
null
#include "peptides/InfluenceRange.h" #include <iostream> InfluenceRange::InfluenceRange(const CodonChange &codonChange) : variantEffectId(codonChange.variantEffectId), veType(codonChange.veType){ unsigned offset = 0; while(codonChange.codonRef.size() > offset && codonChange.codonAlt.size() > offset && cod...
25.704545
76
0.727675
csam5596
275c57923a24c3caa25c73ab25bd9d2930cf31d2
23,961
cpp
C++
src/AST.cpp
Benjins/simple-vm
ef31ea36ad698a47da81642c97d718d3415bd133
[ "CC-BY-4.0" ]
null
null
null
src/AST.cpp
Benjins/simple-vm
ef31ea36ad698a47da81642c97d718d3415bd133
[ "CC-BY-4.0" ]
null
null
null
src/AST.cpp
Benjins/simple-vm
ef31ea36ad698a47da81642c97d718d3415bd133
[ "CC-BY-4.0" ]
null
null
null
#include "../header/AST.h" #include "../header/Instruction.h" #include "../header/VM.h" #include <algorithm> #include <stdio.h> #define FIND(container, item) std::find((container).begin(), (container).end(), (item)) Statement* CompileTokenToAST(const string& token){ const string operators = "+-*><|&=/"; if(operato...
21.528302
129
0.651642
Benjins
276565448f990df77c4985fed6c468a4721dfe14
7,093
cpp
C++
src/engine/ivp/havana/havok/hk_base/memory/memory.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/ivp/havana/havok/hk_base/memory/memory.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/ivp/havana/havok/hk_base/memory/memory.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
#include <hk_base/base.h> #include <malloc.h> class hk_Memory_With_Size { public: hk_int32 m_size; enum { MAGIC_MEMORY_WITH_SIZE = 0x2345656 } m_magic; hk_int32 m_dummy[2]; }; void hk_Memory::init_memory(char *buffer, int buffer_size) { m_memory_start = buffer; m_used_end = buffer; ...
26.27037
151
0.629071
cstom4994
276c5a2a3a057c08c964e28c37d98dd6eea6646e
5,102
hpp
C++
include/System/Data/ValueType.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Data/ValueType.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Data/ValueType.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Enum #include "System/Enum.h...
48.132075
89
0.712074
v0idp
276f1f587049258200919ee6d084a75f3eb8b027
740
cpp
C++
kuangbin/hdu-1257.cpp
Broduker/oj
b114434df5627c79a646e076a034a0ecc4c7484c
[ "MIT" ]
null
null
null
kuangbin/hdu-1257.cpp
Broduker/oj
b114434df5627c79a646e076a034a0ecc4c7484c
[ "MIT" ]
null
null
null
kuangbin/hdu-1257.cpp
Broduker/oj
b114434df5627c79a646e076a034a0ecc4c7484c
[ "MIT" ]
null
null
null
/* translation: 求最长上升子序列 solution: 经典dp dp[i] = max(dp[i],dp[k]) k:1~i-1 && seq[k]<seq[i]   note: dp[i]初始化为1 date: 2019.08 */ #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> const int MAXN = 30010; int seq[MAXN],dp[MAXN]; using namespace std; int main(){ int n,ans...
17.619048
53
0.427027
Broduker
27738c3f87e4ddb9851c4797302deea0e3ad4f85
1,889
cpp
C++
test/craps_test.cpp
acc-cosc-1337-spring-2021/acc-spring-2021-final-Hannah-Kim-acc
b710e32b11c29516cbe6c1cf16f89a57bbfd62e2
[ "MIT" ]
null
null
null
test/craps_test.cpp
acc-cosc-1337-spring-2021/acc-spring-2021-final-Hannah-Kim-acc
b710e32b11c29516cbe6c1cf16f89a57bbfd62e2
[ "MIT" ]
null
null
null
test/craps_test.cpp
acc-cosc-1337-spring-2021/acc-spring-2021-final-Hannah-Kim-acc
b710e32b11c29516cbe6c1cf16f89a57bbfd62e2
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include "die.h" #include "roll.h" #include "shooter.h" #include "come_out_phase.h" #include "point_phase.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST_C...
26.236111
251
0.678666
acc-cosc-1337-spring-2021
277769b6a0c13366d0471b9ca93017811c07a88b
2,403
cpp
C++
customer.cpp
Rajasuryaa/seven
87a7e1aa801fa330deb585ba859a09da56c22e90
[ "curl" ]
null
null
null
customer.cpp
Rajasuryaa/seven
87a7e1aa801fa330deb585ba859a09da56c22e90
[ "curl" ]
null
null
null
customer.cpp
Rajasuryaa/seven
87a7e1aa801fa330deb585ba859a09da56c22e90
[ "curl" ]
null
null
null
#include <iostream> #include <string.h> #include <fstream> #include <stdlib.h> using namespace std; struct user_details { char name[30]; char email_id[30]; char mobile_no[11]; char doorno[5]; char street_name[30],dummy[2]; char area[20]; unsigned int pin_code; char username[15]; char password[...
24.773196
88
0.616313
Rajasuryaa
277a8646f5bb7b25a0b3b24f76e259207f43bbaa
312
cc
C++
C++/learncpp/Chapter_6/Unamed_inline/inline_namespace.cc
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
C++/learncpp/Chapter_6/Unamed_inline/inline_namespace.cc
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
C++/learncpp/Chapter_6/Unamed_inline/inline_namespace.cc
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
#include<iostream> inline namespace test1 { void testing() { std::cout << "From test1 namespace\n"; } } namespace test2 { void testing() { std::cout << "From test2 namespace\n"; } } int main(){ test1::testing(); test2::testing(); testing(); return 0; }
12.48
46
0.538462
MaRauder111
277aebd86305eb4880fe1f7d368991ef856b9516
553
cc
C++
test/argon/lang/compiler.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
13
2021-06-24T17:50:20.000Z
2022-03-13T23:00:16.000Z
test/argon/lang/compiler.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
null
null
null
test/argon/lang/compiler.cc
ArgonLang/Argon
462d3d8721acd5131894bcbfa0214b0cbcffdf66
[ "Apache-2.0" ]
1
2022-03-31T22:58:42.000Z
2022-03-31T22:58:42.000Z
// This source file is part of the Argon project. // // Licensed under the Apache License v2.0 #include <gtest/gtest.h> #include <codecvt> #include <lang/scanner/scanner.h> #include <lang/parser/parser.h> #include <lang/compiler/compiler.h> using namespace argon::lang::scanner; using namespace argon::lang::parser; u...
19.068966
49
0.701627
ArgonLang
277e58500532d0fcf1dfe0c8aa131be2637f7d62
2,451
cc
C++
Languages/MalbolgeInterpreter.cc
fuzziqersoftware/equinox
99efb1c5c537149b9448ced43c15ab604fb54463
[ "MIT" ]
null
null
null
Languages/MalbolgeInterpreter.cc
fuzziqersoftware/equinox
99efb1c5c537149b9448ced43c15ab604fb54463
[ "MIT" ]
null
null
null
Languages/MalbolgeInterpreter.cc
fuzziqersoftware/equinox
99efb1c5c537149b9448ced43c15ab604fb54463
[ "MIT" ]
null
null
null
#include "MalbolgeInterpreter.hh" #include <inttypes.h> #include <stdio.h> #include <phosg/Filesystem.hh> #include <phosg/Strings.hh> #include <string> using namespace std; static uint16_t crz(uint16_t x, uint16_t y) { static const uint8_t table[9] = {1, 0, 0, 1, 0, 2, 2, 2, 1}; uint16_t result = 0; for (si...
25.8
140
0.541004
fuzziqersoftware
27809e365e89699f3957d50c645b2f3a601a53d7
34,859
cpp
C++
libraries/chain/das33_evaluator.cpp
powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
1
2021-07-26T02:42:01.000Z
2021-07-26T02:42:01.000Z
libraries/chain/das33_evaluator.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
libraries/chain/das33_evaluator.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018 Tech Solutions Malta LTD * * 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 us...
39.477916
166
0.654092
powerchain-ltd
278116895e8d48381c414cebd5e2d4ca755c6b44
4,650
cpp
C++
src/caffe/layers/dice_loss_layer.cpp
superxuang/caffe_3d_crf_rnn
a99e99848156a4f3592ab58a89c9aec47dd2aacb
[ "BSD-2-Clause" ]
9
2017-12-05T06:08:31.000Z
2018-09-10T13:49:12.000Z
src/caffe/layers/dice_loss_layer.cpp
superxuang/caffe_3d_crf_rnn
a99e99848156a4f3592ab58a89c9aec47dd2aacb
[ "BSD-2-Clause" ]
3
2018-04-10T08:01:02.000Z
2019-08-21T02:25:47.000Z
src/caffe/layers/dice_loss_layer.cpp
superxuang/caffe_3d_crf_rnn
a99e99848156a4f3592ab58a89c9aec47dd2aacb
[ "BSD-2-Clause" ]
2
2018-04-08T12:28:41.000Z
2021-07-11T11:10:40.000Z
#include <algorithm> #include <vector> #include "caffe/layers/dice_loss_layer.hpp" #include "caffe/util/math_functions.hpp" #include <itkImage.h> #include <itkSmartPointer.h> #include <itkImageFileReader.h> #include <itkImageFileWriter.h> using std::floor; using std::max; using std::min; using std::pow; namespace c...
32.517483
102
0.575699
superxuang
959836b7bb5d2a6d9ef359b80cadc6dd375bc176
8,235
cpp
C++
SOURCES/f4compress/f4compress.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/f4compress/f4compress.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/f4compress/f4compress.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
// F4Compress.cpp // Miro "Jammer" Torrielli - 12May04 #include <windows.h> #include <stdio.h> #include <stdlib.h> #include "F4Compress.h" #include "F4Thread.h" #include "setup.h" #include "f4find.h" #include "dxtlib.h" #include "nvdxt.h" #include "fartex.h" #include "texbank.h" #include "terrtex.h" #include "dispcfg....
27.178218
103
0.729326
IsraelyFlightSimulator
959a5325d288d1a44510774065188038773ed876
771
hpp
C++
core/include/giygas/RenderPass.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
1
2017-08-29T17:09:30.000Z
2017-08-29T17:09:30.000Z
core/include/giygas/RenderPass.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
null
null
null
core/include/giygas/RenderPass.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstddef> #include "AttachmentPurpose.hpp" #include "RenderTarget.hpp" namespace giygas { class RenderPassAttachment { public: AttachmentPurpose purpose; const RenderTarget *target; }; class RenderPassCreateParameters { public: uint32_t attachment_co...
24.870968
74
0.670558
galaxgames
959c58d6d25c6fae6c9a78930f7371845eb3733b
270
cc
C++
string.cc
garryFromGermany/shared_with_phil
fea4b0243d3c9f559cab0b8864472743851630c5
[ "MIT" ]
null
null
null
string.cc
garryFromGermany/shared_with_phil
fea4b0243d3c9f559cab0b8864472743851630c5
[ "MIT" ]
null
null
null
string.cc
garryFromGermany/shared_with_phil
fea4b0243d3c9f559cab0b8864472743851630c5
[ "MIT" ]
null
null
null
#include<iostream> #include<string> using namespace std; //ohne das funktioniert string nicht! int main(int argc, char const *argv[]) { string hallo = "hallo"; string _welt = " Welt"; string botschaft = hallo + _welt; std::cout << botschaft << '\n'; return 0; }
18
60
0.674074
garryFromGermany
95a416c4b0b02741af8f1d632eced45893801dfe
474
cpp
C++
CAX/gm_cloudauthx/bootil/src/Bootil/File/System.cpp
kurozael/project-archive
dcac1a9a8dee65c11f4a631ec08d6eef320f5ad0
[ "MIT" ]
13
2021-06-30T15:47:33.000Z
2021-09-18T15:44:34.000Z
lib/GWEN-master/gwen/src/Bootil/File/System.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
null
null
null
lib/GWEN-master/gwen/src/Bootil/File/System.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
7
2021-06-30T17:14:41.000Z
2021-10-14T01:41:18.000Z
#include "Bootil/Bootil.h" namespace Bootil { BOOTIL_EXPORT File::System FileSystem( "" ); namespace File { System::System() { } System::System( BString strInitalPath ) { AddPath( strInitalPath ); } void System::AddPath( BString strPath ) { // Clean Path strPath = File::RelativeToAbsol...
15.290323
49
0.624473
kurozael
95a76c4340c52efd3aa26ea52e35f606abe5f3df
706
hpp
C++
meta/include/mgs/meta/concepts/equality_comparable.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
24
2020-07-01T13:45:50.000Z
2021-11-04T19:54:47.000Z
meta/include/mgs/meta/concepts/equality_comparable.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
meta/include/mgs/meta/concepts/equality_comparable.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
#pragma once #include <tuple> #include <type_traits> #include <mgs/meta/concepts/weakly_equality_comparable_with.hpp> namespace mgs { namespace meta { template <typename T> struct is_equality_comparable : is_weakly_equality_comparable_with<T, T> { using requirements = std::tuple<>; static constexpr int trigger_...
21.393939
75
0.74221
theodelrieu
95a857c5e72e53b07287cb36ae32db8f5a01a644
307
cpp
C++
aoj/volume0/n0013/Main.cpp
KoKumagai/exercises
256b226d3e094f9f67352d75619b392a168eb4d1
[ "MIT" ]
null
null
null
aoj/volume0/n0013/Main.cpp
KoKumagai/exercises
256b226d3e094f9f67352d75619b392a168eb4d1
[ "MIT" ]
null
null
null
aoj/volume0/n0013/Main.cpp
KoKumagai/exercises
256b226d3e094f9f67352d75619b392a168eb4d1
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> using namespace std; int main() { stack<int> stack; int num; while (cin >> num) { if (num == 0) { cout << stack.top() << endl; stack.pop(); } else { stack.push(num); } } return 0; }
12.28
40
0.436482
KoKumagai
95b308f9a7b9c2c544e4ee5538f492d7d5ecd25a
627
cpp
C++
src/entity.cpp
Necrys/ecs
e5805f08adf82fb716650c56a0debd035ccb9719
[ "MIT" ]
null
null
null
src/entity.cpp
Necrys/ecs
e5805f08adf82fb716650c56a0debd035ccb9719
[ "MIT" ]
null
null
null
src/entity.cpp
Necrys/ecs
e5805f08adf82fb716650c56a0debd035ccb9719
[ "MIT" ]
null
null
null
#include "entity.h" namespace ecs { entity::entity( const eid_t id, registry* owner ): m_owner( owner ), m_id( id ) { } entity::entity( const entity& e ): m_owner( e.m_owner ), m_id( e.m_id ) { } entity::entity( entity&& e ): m_owner( e.m_owner ), m_id( e.m_id ) { } entity& entity::o...
15.292683
51
0.572568
Necrys
95b774c9b5927e837ff8d4de0dff1a6289970ec2
651
hpp
C++
core/include/giygas/Vector2.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
1
2017-08-29T17:09:30.000Z
2017-08-29T17:09:30.000Z
core/include/giygas/Vector2.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
null
null
null
core/include/giygas/Vector2.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
null
null
null
#pragma once #include <giygas/export.h> namespace giygas { class GIYGAS_EXPORT Vector2 { public: float x, y; Vector2() = default; // Default in header to allow default value initialization Vector2(float x, float y); Vector2 operator+(const Vector2 &other) const; Vecto...
28.304348
88
0.634409
galaxgames
95c55c159b6f0382184069739e893e44d0bdb1e7
657
cpp
C++
luogu/1353.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
luogu/1353.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
luogu/1353.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 10020 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } int d[N], f[N][520]; int main(int argc, char const *a...
24.333333
60
0.480974
swwind
95cb4bc38f61158f67c6779d526c38da45b8ecc4
5,108
cc
C++
Sources/OpenGL sb6/Chapter12/_1214_bumpmap.cc
liliilli/SH-GraphicsStudy
314af5ad6ec04b91ec86978c60cc2f96db6a1d7c
[ "Unlicense" ]
3
2019-11-23T16:37:22.000Z
2021-05-02T20:43:27.000Z
Sources/OpenGL sb6/Chapter12/_1214_bumpmap.cc
liliilli/SH-GraphicsStudy
314af5ad6ec04b91ec86978c60cc2f96db6a1d7c
[ "Unlicense" ]
3
2018-05-01T04:52:39.000Z
2018-05-10T02:14:46.000Z
Sources/OpenGL sb6/Chapter12/_1214_bumpmap.cc
liliilli/GraphicsStudy
314af5ad6ec04b91ec86978c60cc2f96db6a1d7c
[ "Unlicense" ]
2
2019-11-23T16:37:38.000Z
2022-03-29T10:33:32.000Z
#include <sb6.h> #include <vmath.h> #include <object.h> #include <sb6ktx.h> #include <shader.h> #include <cstdio> class BumpMapping final : public sb6::application { protected: void init() override final { application::init(); constexpr char title[] = "OpenGL SuperBible - Bump Mapping"; ...
33.385621
115
0.575959
liliilli
95d10dd36caaa19a16a1b66676be84296154bb23
1,540
cpp
C++
tests/userio_vadd_prbs_test/src_pers/PersPrbsTx_prim.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
13
2015-02-26T22:46:18.000Z
2020-03-24T11:53:06.000Z
tests/userio_vadd_prbs_test/src_pers/PersPrbsTx_prim.cpp
PacificBiosciences/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
5
2016-02-25T17:08:19.000Z
2018-01-20T15:24:36.000Z
tests/userio_vadd_prbs_test/src_pers/PersPrbsTx_prim.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
12
2015-04-13T21:39:54.000Z
2021-01-15T01:00:13.000Z
#include "Ht.h" #include "PersPrbsTx_prim.h" ht_prim ht_clk("clk") void prbs_gen ( bool const & rst, bool const & i_req, bool & o_rdy, bool & o_vld, ht_uint64 & o_res_lower, ht_uint64 & o_res_upper, prbs_gen_prm_state &s) { #ifndef _HTV // NOTE! This does not accurately model the verilog. // This cheats and...
24.0625
80
0.604545
TonyBrewer
95d401c3b53c01ad8110a4d8e7d1f987e889a3b0
1,046
cpp
C++
YorozuyaGSLib/source/si_effect.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/si_effect.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/si_effect.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <si_effect.hpp> START_ATF_NAMESPACE char si_effect::GetCountOfEffect() { using org_ptr = char (WINAPIV*)(struct si_effect*); return (org_ptr(0x1402e3c90L))(this); }; char si_effect::GetCountOfItem() { using org_ptr = char (WINAPIV*)(struct si_effect*); retu...
29.055556
83
0.628107
lemkova
95eb7755a67419b34ccfc95eff5645104063a4da
5,050
cpp
C++
LibSharpPhysX/Generated/PxVec2.cpp
Alan-FGR/SharpPhysX
9b6b49d34c94e2fd165ff50795ae36b32149751b
[ "MIT" ]
23
2019-03-17T17:35:06.000Z
2022-01-12T01:54:43.000Z
LibSharpPhysX/Generated/PxVec2.cpp
Alan-FGR/SharpPhysX
9b6b49d34c94e2fd165ff50795ae36b32149751b
[ "MIT" ]
1
2019-05-10T22:14:33.000Z
2019-05-10T22:48:29.000Z
LibSharpPhysX/Generated/PxVec2.cpp
Alan-FGR/SharpPhysX
9b6b49d34c94e2fd165ff50795ae36b32149751b
[ "MIT" ]
5
2019-03-17T17:36:03.000Z
2021-08-06T06:42:58.000Z
// Generated by minBND 5.1.94.90 - © github.com/Alan-FGR ES void PxVec2_operator_Ptr_Star_float_PxVec2_(physx::PxVec2* nRetRef, float wrp_f, physx::PxVec2* wrp_v){ *nRetRef = ::physx::operator*(wrp_f, *wrp_v); } ES void void_PxVec2_PxVec2Ptr_Ctor(physx::PxVec2* wrp_this){ *wrp_this = ::physx::PxVec2::PxVec2()...
37.407407
125
0.749703
Alan-FGR
95f9155a89c822ebf1eea86e6a52bcdec8cca45f
2,007
cpp
C++
win32-OpenGL/Math/MyMath.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
win32-OpenGL/Math/MyMath.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
win32-OpenGL/Math/MyMath.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
/******************************************************************************/ /*! \file MyMath.cpp \author Oliver Ryan Chong \par email: oliver.chong\@digipen.edu \par oliver.chong 900863 \par Course: CS1250 \par Project #01 \date 12/12/2011 \brief This contains general math functions such as converting degree to ra...
23.337209
100
0.476831
Peanoquio
95fbbfdc15a491fb2611c6246bdd215a3e5bc6fe
723
hpp
C++
includes/function.hpp
ggjulio/ft_containers
77e221965e9c0813a4e20673d82eaa84814fe369
[ "MIT" ]
null
null
null
includes/function.hpp
ggjulio/ft_containers
77e221965e9c0813a4e20673d82eaa84814fe369
[ "MIT" ]
null
null
null
includes/function.hpp
ggjulio/ft_containers
77e221965e9c0813a4e20673d82eaa84814fe369
[ "MIT" ]
null
null
null
#ifndef FUNCTION_HPP #define FUNCTION_HPP namespace ft { template <typename T> struct _Identity : public std::unary_function<T, T> { T &operator()(T &__x) const { return __x; } const T &operator()(const T &__x) const { return __x; } }; // Partial specialization, avoids confusing errors in e.g. std::set<const T>....
24.1
77
0.704011
ggjulio
95fbf95f5c0018f113b5ae5e3df3964b94ed1255
3,380
cpp
C++
src/ros_node.cpp
pcdangio/ros-interface_quad_encoder
af2cc49acbde8f5684a65b16a18f50d54d0cdc87
[ "MIT" ]
null
null
null
src/ros_node.cpp
pcdangio/ros-interface_quad_encoder
af2cc49acbde8f5684a65b16a18f50d54d0cdc87
[ "MIT" ]
1
2019-05-26T18:25:43.000Z
2019-05-26T18:25:43.000Z
src/ros_node.cpp
pcdangio/ros-interface_quad_encoder
af2cc49acbde8f5684a65b16a18f50d54d0cdc87
[ "MIT" ]
null
null
null
#include "ros_node.h" #include <sensor_msgs_ext/axis_state.h> // CONSTRUCTORS ros_node::ros_node(const std::shared_ptr<driver>& device_driver) { // Store the device driver. ros_node::m_driver = device_driver; // Read parameters. ros::NodeHandle private_node("~"); int param_gpio_a = private_node.p...
34.489796
159
0.667456
pcdangio
95ff7abd8b0480ae9ce37be998e132d94adee237
149,925
cpp
C++
SU2-Quantum/Common/src/geometry/CGeometry.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/geometry/CGeometry.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/geometry/CGeometry.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CGeometry.cpp * \brief Implementation of the base geometry class. * \author F. Palacios, T. Economon * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Co...
37.565773
376
0.637786
Agony5757
95ff7e72f7b11e970e76d2b783dc427a2ee43bc7
2,409
cpp
C++
PrintMatrix.cpp
ChenliangLi205/NowCoder
44e79800b56410d1094f18fbb656fadf724b7b21
[ "MIT" ]
null
null
null
PrintMatrix.cpp
ChenliangLi205/NowCoder
44e79800b56410d1094f18fbb656fadf724b7b21
[ "MIT" ]
null
null
null
PrintMatrix.cpp
ChenliangLi205/NowCoder
44e79800b56410d1094f18fbb656fadf724b7b21
[ "MIT" ]
null
null
null
class Solution { public: vector<int> printMatrix(vector<vector<int> > matrix) { vector<int> res; int rows = matrix.size(); if(rows == 0) return res; int cols = matrix[0].size(); if(rows == 1) res = matrix[0]; else if(cols == 1) { for(vector<int> v ...
27.067416
60
0.249896
ChenliangLi205
2509df06c17514df361233d4520819d0ffde9a5d
3,833
cpp
C++
mount_player/mount_player/mount_player/coordinate_computation.cpp
lfyos/MountPlayer
0794bc24e3ff0ba1a85492708c8530b6d5fb70d2
[ "MIT" ]
3
2019-03-09T05:08:53.000Z
2019-04-01T23:37:28.000Z
mount_player/mount_player/mount_player/coordinate_computation.cpp
lfyos/MountPlayer
0794bc24e3ff0ba1a85492708c8530b6d5fb70d2
[ "MIT" ]
null
null
null
mount_player/mount_player/mount_player/coordinate_computation.cpp
lfyos/MountPlayer
0794bc24e3ff0ba1a85492708c8530b6d5fb70d2
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "coordinate_computation.h" #include "const.h" #include <math.h> coordinate_computation::coordinate_computation(void) { } coordinate_computation::~coordinate_computation(void) { } void coordinate_computation::load_identity_matrix(double a[4][4]) { int i,j; for(i=0;i<4;i++){ for(j=0;j...
19.456853
137
0.55257
lfyos
2513c6bce9ce1265c00e2b3aff8c3ca474f3801d
12,489
cpp
C++
Source/SystemQOR/MSWindows/WinCmpSupQORVC/src/ulldvrm.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinCmpSupQORVC/src/ulldvrm.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinCmpSupQORVC/src/ulldvrm.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//ulldvrm.cpp // Copyright Querysoft Limited 2013 // // 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 Softwar...
39.15047
109
0.5906
mfaithfull
2513e990c0a56640bc12914d583c06513f6e380f
446
cpp
C++
Sail/src/Sail/api/Texture.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
null
null
null
Sail/src/Sail/api/Texture.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
null
null
null
Sail/src/Sail/api/Texture.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
null
null
null
#include "pch.h" #include "Texture.h" #include "Sail/Application.h" TextureData& Texture::getTextureData(const std::string& filename) const { // Load the texture file it if is not loaded already if (!Application::getInstance()->getResourceManager().hasTextureData(filename)) { Application::getInstance()->getResourc...
37.166667
82
0.769058
h3nx
2515be69b299f6f6b98eedf7725a8f640ed4b63a
1,184
hpp
C++
src/sha2.hpp
PaulLaux/X3DH-Key-Exchange
a1ad953dc67f89e7321d790b6ea563baec0b2d7a
[ "BSD-2-Clause" ]
35
2017-03-14T09:39:18.000Z
2021-03-15T09:44:59.000Z
src/sha2.hpp
bernedogit/amber
abfa22a048571e36a68a7c3bbbabbb291a2ceb7d
[ "BSD-2-Clause" ]
null
null
null
src/sha2.hpp
bernedogit/amber
abfa22a048571e36a68a7c3bbbabbb291a2ceb7d
[ "BSD-2-Clause" ]
1
2021-12-09T08:31:07.000Z
2021-12-09T08:31:07.000Z
#ifndef AMBER_SHA2_HPP #define AMBER_SHA2_HPP #include "soname.hpp" #include <stdint.h> #include <stddef.h> namespace amber { namespace AMBER_SONAME { class EXPORTFN Sha256 { enum { blocklen1 = 64 }; size_t tot_len; size_t len; uint8_t block [2 * blocklen1]; uint32_t h[8]; void transform (...
17.671642
66
0.663851
PaulLaux
251f732c78a3f0b0a8ddc954d3a45955484a9198
1,579
cpp
C++
code07/counting-sequences.cpp
Feynman1999/Number-Theory-in-Programming-Competition
a7d48c80acb3ff916eca708e82ee7321f98a2d12
[ "MIT" ]
12
2019-09-02T06:18:23.000Z
2022-03-11T14:30:24.000Z
code07/counting-sequences.cpp
Feynman1999/Number-Theory-in-Programming-Competition
a7d48c80acb3ff916eca708e82ee7321f98a2d12
[ "MIT" ]
2
2019-09-03T06:50:53.000Z
2020-07-03T08:38:56.000Z
code07/counting-sequences.cpp
Feynman1999/Number-Theory-in-Programming-Competition
a7d48c80acb3ff916eca708e82ee7321f98a2d12
[ "MIT" ]
1
2020-07-19T11:24:44.000Z
2020-07-19T11:24:44.000Z
const int mod = 1e9+7; ll ans[3010]; ll help[3010]; ll helpni[3010]; stack<int> sta; int up = 3000; int n=3000; ll fast_exp(ll a,ll b,ll c){ ll res=1;a=a%c; while(b) { if(b&1) res=(res*a)%c; b>>=1;a=(a*a)%c; } return res; } void solve(int len) { int len2 = sta.size(); assert(...
18.576471
49
0.451552
Feynman1999
2524d56db42308ac3715616ea3b73e8cd4be9718
2,010
cpp
C++
image_manager/ImgManager.cpp
jugurthab/opensource-quest
793da3833e0a54c0ab16421e6a4f31ade1dc7b50
[ "MIT" ]
null
null
null
image_manager/ImgManager.cpp
jugurthab/opensource-quest
793da3833e0a54c0ab16421e6a4f31ade1dc7b50
[ "MIT" ]
null
null
null
image_manager/ImgManager.cpp
jugurthab/opensource-quest
793da3833e0a54c0ab16421e6a4f31ade1dc7b50
[ "MIT" ]
null
null
null
#include "ImgManager.h" ImgManager* ImgManager::imgManager = NULL; void ImgManager::loadImage(std::string imgFilename, std::string imageID){ SDL_Surface *tmpImg = NULL; SDL_Texture *ImgTexture = NULL; tmpImg = SDL_LoadBMP(imgFilename.c_str()); if(tmpImg==NULL){ fprintf(stderr, "Cannot Load Ima...
30
170
0.682587
jugurthab
25276922670d2ce93cd9700599b1f6a544dad8e6
4,893
cpp
C++
mbed-glove-firmware/drivers/dot_star_leds.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/dot_star_leds.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/dot_star_leds.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
1
2019-01-09T05:16:42.000Z
2019-01-09T05:16:42.000Z
/* * Filename: dot_star_leds.cpp * Project: EECS 473 - Team GLOVE * Date: Fall 2016 * Authors: * Nick Bertoldi * Ben Heckathorn * Ryan O’Keefe * Adrian Padin * Tim Schumacher * * Purpose: * Implementation for interface to DotStar LEDs * and some helpful functions * * Copyr...
32.838926
91
0.631719
apadin1
2528847f7bc62f3a20fddbfd3a7c403817b85348
2,644
cpp
C++
test/bitmap_font_test.cpp
razielgn/leaf-green
b37252c9167f0a4661050c835a8b6a1863fb0cd3
[ "MIT" ]
2
2015-03-02T21:50:25.000Z
2016-05-28T00:18:47.000Z
test/bitmap_font_test.cpp
razielgn/leaf-green
b37252c9167f0a4661050c835a8b6a1863fb0cd3
[ "MIT" ]
null
null
null
test/bitmap_font_test.cpp
razielgn/leaf-green
b37252c9167f0a4661050c835a8b6a1863fb0cd3
[ "MIT" ]
null
null
null
#include "bitmap_font.hpp" #include "gmock/gmock.h" #include "graphics_mock.hpp" #include "texture_mock.hpp" namespace green_leaf { using namespace ::testing; class BitmapFontTest : public Test { protected: BitmapFontTest() { } std::unique_ptr<TextureMock> texture_ = std::make_unique<TextureMock>(Vect...
43.344262
91
0.658472
razielgn
252b108f0466b90e07918f9c9b6ca055376243dc
822
cpp
C++
CS Academy/Reversed Number/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
CS Academy/Reversed Number/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
CS Academy/Reversed Number/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: * solution_verdict: Accepted language: C++ * run...
30.444444
111
0.312652
kzvd4729
252d0cbecbb3d7735adcab81ad4002672be3606f
1,309
cpp
C++
GHJKL.cpp
taareek/c-plus-plus
b9d04f710e9b2e65786618f8bbced4a56c149444
[ "Unlicense" ]
null
null
null
GHJKL.cpp
taareek/c-plus-plus
b9d04f710e9b2e65786618f8bbced4a56c149444
[ "Unlicense" ]
null
null
null
GHJKL.cpp
taareek/c-plus-plus
b9d04f710e9b2e65786618f8bbced4a56c149444
[ "Unlicense" ]
null
null
null
/* Binary tree - Level Order Traversal */ #include<iostream> #include<queue> using namespace std; struct Node { int data; Node *left; Node *right; }; // Function to print Nodes in a binary tree in Level order void LevelOrder(Node *root) { if(root == NULL) return; queue<Node*> Q; Q.push(root); /...
23.8
67
0.595875
taareek
252d983a052e75302efb7b30b8f9c996c220fffd
529
cpp
C++
343#integer-break/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
343#integer-break/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
343#integer-break/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
class Solution { public: int pow (int a, int b) { int r = 1; while (b > 0) { if (b & 1) { r *= a; } a *= a; b >>= 1; } return r; } int integerBreak(int n) { if (n <= 3) return n - 1; ...
21.16
42
0.296786
llwwns
25373e47020a4a0caf7b50957f0d8373fd03d441
2,048
cpp
C++
test/functional/gfal_test_stat.cpp
dynamic-entropy/gfal2
90bc0a58587b986a0d7335f244fd4cfe3079b72f
[ "Apache-2.0" ]
6
2018-08-28T15:20:24.000Z
2021-09-14T13:03:15.000Z
test/functional/gfal_test_stat.cpp
dynamic-entropy/gfal2
90bc0a58587b986a0d7335f244fd4cfe3079b72f
[ "Apache-2.0" ]
10
2020-06-16T09:21:04.000Z
2022-03-04T13:41:00.000Z
test/functional/gfal_test_stat.cpp
dynamic-entropy/gfal2
90bc0a58587b986a0d7335f244fd4cfe3079b72f
[ "Apache-2.0" ]
6
2020-06-13T18:06:41.000Z
2022-02-21T09:47:56.000Z
/* * Copyright (c) CERN 2013-2017 * * Copyright (c) Members of the EMI Collaboration. 2010-2013 * See http://www.eu-emi.eu/partners for details on the copyright * holders. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
26.25641
83
0.660156
dynamic-entropy
253d3dcdf1593d9217a69b9337de9505341d8796
46
hpp
C++
src/boost_type_traits_is_reference.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_type_traits_is_reference.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_type_traits_is_reference.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/type_traits/is_reference.hpp>
23
45
0.826087
miathedev
253e748aa6fc54859c97451abba22d03e6db42fb
88
hpp
C++
include/SplayLibrary/SplayLibrary.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
1
2021-12-14T21:36:39.000Z
2021-12-14T21:36:39.000Z
include/SplayLibrary/SplayLibrary.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
null
null
null
include/SplayLibrary/SplayLibrary.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
null
null
null
#pragma once #include <SplayLibrary/Core/Core.hpp> #include <SplayLibrary/3D/3D.hpp>
22
38
0.75
Reiex
2543e29cb75e56e598be004776fef44a836d1d3d
275
cpp
C++
src/modules/osgManipulator/generated_code/_osgManipulator_global_variables.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
3
2017-04-20T09:11:47.000Z
2021-04-29T19:24:03.000Z
src/modules/osgManipulator/generated_code/_osgManipulator_global_variables.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
src/modules/osgManipulator/generated_code/_osgManipulator_global_variables.pypp.cpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
null
null
null
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osgManipulator.h" #include "_osgManipulator_global_variables.pypp.hpp" namespace bp = boost::python; void register_global_variables(){ bp::scope().attr("HANDLE_ALL") = HANDLE_ALL; }
19.642857
52
0.741818
cmbruns
8585f5fb5590400408832eab47e7e524d33a076c
1,625
cc
C++
gb/commands/relation.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
5
2015-10-05T14:05:34.000Z
2020-01-21T18:52:11.000Z
gb/commands/relation.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
3
2019-09-05T13:16:58.000Z
2019-09-05T13:32:42.000Z
gb/commands/relation.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
1
2015-10-05T14:05:16.000Z
2015-10-05T14:05:16.000Z
// Copyright 2014 The Galactic Bloodshed Authors. All rights reserved. // Use of this source code is governed by a license that can be // found in the COPYING file. /* relation.c -- state relations among players */ import gblib; import std; #include "gb/commands/relation.h" #include "gb/GB_server.h" #include "gb/bu...
29.545455
80
0.56
kaladron
858b56c7d4eb686b99abbd2b8130a8ec4961c7d8
2,251
hpp
C++
src/Cpp/Learning_Cpp/Meta_Programming/Example_IV/ATM_Version_Two.hpp
Ahmopasa/TheCodes
560ed94190fd0da8cc12285e9b4b5e27b19010a5
[ "MIT" ]
null
null
null
src/Cpp/Learning_Cpp/Meta_Programming/Example_IV/ATM_Version_Two.hpp
Ahmopasa/TheCodes
560ed94190fd0da8cc12285e9b4b5e27b19010a5
[ "MIT" ]
null
null
null
src/Cpp/Learning_Cpp/Meta_Programming/Example_IV/ATM_Version_Two.hpp
Ahmopasa/TheCodes
560ed94190fd0da8cc12285e9b4b5e27b19010a5
[ "MIT" ]
null
null
null
#ifndef ATM_VERSION_TWO_HPP #define ATM_VERSION_TWO_HPP #include <iostream> #include <string> #include <memory> #include <type_traits> namespace versionTwo{ class ATM { private: std::string m_identifier{"AhmetKandemirPehlivanli"}; int m_CashAmount{100000}; public: void showMem...
23.946809
81
0.52821
Ahmopasa