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
bf48fa03fa23e6e3f4dfd281f9fd8c91bc063d73
1,871
cpp
C++
InfixPostfix_Asiign8/InfixPostfix_Asiign8.cpp
Mayuresh-Github/DSA_Programs
8880a59213ad872f153519dd8c56334f9e301e8c
[ "MIT" ]
null
null
null
InfixPostfix_Asiign8/InfixPostfix_Asiign8.cpp
Mayuresh-Github/DSA_Programs
8880a59213ad872f153519dd8c56334f9e301e8c
[ "MIT" ]
null
null
null
InfixPostfix_Asiign8/InfixPostfix_Asiign8.cpp
Mayuresh-Github/DSA_Programs
8880a59213ad872f153519dd8c56334f9e301e8c
[ "MIT" ]
null
null
null
/* Created By : Mayuresh Mitkari */ /* Purpose : DSA LAB ASSIGNMENT 8 */ /* Created on : 30 OCT 2019 */ /* Language : C++ */ /* Header files */ #include<iostream> #define max 40 /* Defining namespace */ using namespace std; int temp; /* Class Declaration */ class inxpfx { public: int top; char stk[max]; /*...
12.149351
58
0.476216
Mayuresh-Github
bf4b3b40a2cc04e69d525a0fefefcc25e3d7dc8e
5,019
hpp
C++
include/fvlam/localize_camera_interface.hpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
1
2020-12-12T16:51:58.000Z
2020-12-12T16:51:58.000Z
include/fvlam/localize_camera_interface.hpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
null
null
null
include/fvlam/localize_camera_interface.hpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
null
null
null
#pragma once #pragma ide diagnostic ignored "modernize-use-nodiscard" #pragma ide diagnostic ignored "NotImplementedFunctions" #pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection" #pragma ide diagnostic ignored "OCUnusedStructInspection" #pragma ide diagnostic ignored "OCUnusedTypeAliasInspection" #inc...
36.635036
109
0.555888
ptrmu
bf4e2cac2ec2370e1efc37ccfdf2d035b8e0d888
6,335
cpp
C++
_libs/SurfingTextEditor/TextEditorDemo.cpp
moebiussurfing/ofxSurfingImGui
d12a3f75f99c8737d956c52077b6e9f0463fe7d9
[ "MIT" ]
11
2021-06-27T09:02:07.000Z
2022-03-13T07:40:36.000Z
_libs/SurfingTextEditor/TextEditorDemo.cpp
moebiussurfing/ofxSurfingImGui
d12a3f75f99c8737d956c52077b6e9f0463fe7d9
[ "MIT" ]
null
null
null
_libs/SurfingTextEditor/TextEditorDemo.cpp
moebiussurfing/ofxSurfingImGui
d12a3f75f99c8737d956c52077b6e9f0463fe7d9
[ "MIT" ]
6
2021-06-09T08:01:36.000Z
2021-12-06T07:28:52.000Z
#pragma once #include <fstream> #include <streambuf> #include "ofMain.h" #include "imgui.h" #include "TextEditor.h" //-------------------------------------------------------------- class SurfingTextEditor { private: //std::string *textContent; //static const char* fileToEdit = "ImGuiColorTextEdit/TextEditor....
23.90566
109
0.596369
moebiussurfing
bf504373a44e1fe6251125473d9cedec12d551b8
354
cpp
C++
browser/main.cpp
dorin131/dorin-browser
0bf362482955185c590a9d82ffaeb64f0f106547
[ "MIT" ]
1
2020-08-14T09:27:27.000Z
2020-08-14T09:27:27.000Z
browser/main.cpp
dorin131/dorin-browser
0bf362482955185c590a9d82ffaeb64f0f106547
[ "MIT" ]
null
null
null
browser/main.cpp
dorin131/dorin-browser
0bf362482955185c590a9d82ffaeb64f0f106547
[ "MIT" ]
null
null
null
#include <unistd.h> #include <iostream> #include "../JS/eval.h" #include "../GUI/window.h" int main(int, char**) { js::Eval().run("var x = 1+2; x;").get_value(); auto window = gui::MainWindow(500, 500); window.show(); auto painter = gui::Painter(window.get_display(), window.get_window(), window.get_win...
27.230769
99
0.629944
dorin131
bf54f336f8508b99dbce166881dee8b5c19d2134
9,862
cpp
C++
MSCL/source/mscl/MicroStrain/Wireless/Configuration/InputRange.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
MSCL/source/mscl/MicroStrain/Wireless/Configuration/InputRange.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
MSCL/source/mscl/MicroStrain/Wireless/Configuration/InputRange.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
/******************************************************************************* Copyright(c) 2015-2018 LORD Corporation. All rights reserved. MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License. *******************************************************************************/ #include "stdafx...
35.992701
159
0.61742
HTLife
bf55f328a0cb0f52100306005649516409b00a6e
1,958
cpp
C++
libpush/src/Worker.cpp
erikgoe/push-cpp
4b08eb7e0c52f60a1366608dfd1bea58b99d6cff
[ "Apache-2.0" ]
4
2018-09-29T03:02:10.000Z
2020-03-25T16:35:58.000Z
libpush/src/Worker.cpp
erikgoe/push-cpp
4b08eb7e0c52f60a1366608dfd1bea58b99d6cff
[ "Apache-2.0" ]
null
null
null
libpush/src/Worker.cpp
erikgoe/push-cpp
4b08eb7e0c52f60a1366608dfd1bea58b99d6cff
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Erik Götzfried // Licensed under the Apache License, Version 2.0( the "License" ); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
28.794118
97
0.583248
erikgoe
bf665bda3a83f77d18b95cf915005a902c088f2b
376
cpp
C++
xmrstak/misc/utility.cpp
danyalson-py/cryptoanalyst-mining
3a0e52b329a1a80fbc7d8ad404144aafec44b722
[ "Unlicense" ]
null
null
null
xmrstak/misc/utility.cpp
danyalson-py/cryptoanalyst-mining
3a0e52b329a1a80fbc7d8ad404144aafec44b722
[ "Unlicense" ]
null
null
null
xmrstak/misc/utility.cpp
danyalson-py/cryptoanalyst-mining
3a0e52b329a1a80fbc7d8ad404144aafec44b722
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <string> namespace xmrstak { bool strcmp_i(const std::string& str1, const std::string& str2) { if(str1.size() != str2.size()) return false; else return (str1.empty() | str2.empty()) ? false : std::equal(str1.begin(), str1.end(), str2.begin(), [](char c1, char c2) { return ::tolow...
23.5
122
0.638298
danyalson-py
bf72baeb08611a372d1929d5293f8d10ed22bf6b
18,560
cpp
C++
src/CUpdateInstallDlg.cpp
adamyg/libappupdater
a9dd531499cc87046347d9710574b459e5d541f3
[ "MIT" ]
1
2021-12-22T07:52:39.000Z
2021-12-22T07:52:39.000Z
src/CUpdateInstallDlg.cpp
adamyg/libappupdater
a9dd531499cc87046347d9710574b459e5d541f3
[ "MIT" ]
null
null
null
src/CUpdateInstallDlg.cpp
adamyg/libappupdater
a9dd531499cc87046347d9710574b459e5d541f3
[ "MIT" ]
null
null
null
// $Id: CUpdateInstallDlg.cpp,v 1.18 2021/10/26 14:59:30 cvsuser Exp $ // // AutoUpdater: Install dialog. // // This file is part of libappupdater (https://github.com/adamyg/libappupdater) // // Copyright (c) 2012 - 2021 Adam Young // // Permission is hereby granted, free of charge, to any person obtaining a copy ...
30.984975
122
0.593588
adamyg
bf755f3297e6fc8a6942227c2629ed3120e3a225
4,255
cc
C++
gb/commands/enslave.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
5
2015-10-05T14:05:34.000Z
2020-01-21T18:52:11.000Z
gb/commands/enslave.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
3
2019-09-05T13:16:58.000Z
2019-09-05T13:32:42.000Z
gb/commands/enslave.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. /* enslave.c -- ENSLAVE the planet below. */ import gblib; import std; #include "gb/commands/enslave.h" #include "gb/GB_server.h" #include "gb/buffers....
30.611511
80
0.622327
kaladron
bf76482e0f4a7af39f073604e1878a2dc4837b70
1,490
hpp
C++
src/graphics/GraphicsManager.hpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
src/graphics/GraphicsManager.hpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
src/graphics/GraphicsManager.hpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
#ifndef FIRESTORM_GRAPHICSMANAGER_HPP #define FIRESTORM_GRAPHICSMANAGER_HPP #include "vulkan/Instance.hpp" #include "vulkan/Device.hpp" #include "vulkan/SwapChain.hpp" #include "vulkan/Shader.hpp" #include "vulkan/GraphicsPipeline.hpp" #include "vulkan/DepthImage.hpp" #include "vulkan/VulkanDriver.hpp" #include "...
21.911765
120
0.760403
Galhad
bf78bb577b914e6dd741963bd76cab5cb9bdfe75
3,279
c++
C++
c++/src/capnp/compat/json-rpc-test.c++
MixusMinimax/capnproto
48db1a9cda33bad8a89f8b0285a7843f19b27ee6
[ "MIT" ]
4,518
2017-06-06T15:33:15.000Z
2022-03-31T16:43:23.000Z
c++/src/capnp/compat/json-rpc-test.c++
seanwallawalla-forks/capnproto
8009588ff84cbdf233f6d23d1d507462b050b427
[ "MIT" ]
718
2017-06-05T22:58:24.000Z
2022-03-24T03:05:45.000Z
c++/src/capnp/compat/json-rpc-test.c++
seanwallawalla-forks/capnproto
8009588ff84cbdf233f6d23d1d507462b050b427
[ "MIT" ]
492
2017-06-07T08:40:53.000Z
2022-03-30T20:57:05.000Z
// Copyright (c) 2018 Kenton Varda and contributors // Licensed under the MIT License: // // 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 ...
32.465347
96
0.730101
MixusMinimax
bf7a5484f2b6120f8a0c730b0be4a83e3f72f05d
3,820
cpp
C++
test/unit/range/view/view_persist_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/unit/range/view/view_persist_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/unit/range/view/view_persist_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
36.380952
114
0.606283
Clemapfel
bf7c4ab6e3b1eaf524dc6a93dd12253af78ad64c
2,793
cpp
C++
algorithms/max_heap_sort.cpp
sylveryte/algorithms-data-structure-cpp
3fc4690972fa061851f7a46a06797bf441043eda
[ "MIT" ]
null
null
null
algorithms/max_heap_sort.cpp
sylveryte/algorithms-data-structure-cpp
3fc4690972fa061851f7a46a06797bf441043eda
[ "MIT" ]
null
null
null
algorithms/max_heap_sort.cpp
sylveryte/algorithms-data-structure-cpp
3fc4690972fa061851f7a46a06797bf441043eda
[ "MIT" ]
null
null
null
#include<iostream> #include "../sylvtools.cpp" class MaxHeap{ private: int n; //size of current heap int N; //max size of heap array a will be helpful in insertion int* a; //pointer to array public: //provided array, current size n, size of array MaxHeap(int* a,int n,int N){ //cout << "new heap with si...
21.651163
76
0.583602
sylveryte
bf7d0ec4226d8232fee7fd7f43fab1a848577ea9
287
cpp
C++
src/engine/scene/Light.cpp
PepeSegade/LittleEngine
0d8bcc1f783cfb3b8e8a1ad2456e470900ccdd1a
[ "WTFPL" ]
null
null
null
src/engine/scene/Light.cpp
PepeSegade/LittleEngine
0d8bcc1f783cfb3b8e8a1ad2456e470900ccdd1a
[ "WTFPL" ]
null
null
null
src/engine/scene/Light.cpp
PepeSegade/LittleEngine
0d8bcc1f783cfb3b8e8a1ad2456e470900ccdd1a
[ "WTFPL" ]
null
null
null
#include "Light.h" LittleEngine::Light::Light(unsigned int id, const char* name, LightType lightType): GameObject(id, name), lightType(lightType) { } LittleEngine::Light::~Light() { delete[] this; } void LittleEngine::Light::onRender(ProgramObject* program, ViewProj& viewProj) { }
17.9375
126
0.731707
PepeSegade
bf8136ad7b18e21b8c385010f0dc94357891af79
18,386
cpp
C++
external/oscpack/ip/posix/UdpSocket.cpp
ngwese/madronalib
4e9221532bb250f0c034cc9091b4be1fb4f5a572
[ "MIT" ]
214
2015-01-03T21:10:17.000Z
2022-03-21T10:10:56.000Z
external/oscpack/ip/posix/UdpSocket.cpp
ngwese/madronalib
4e9221532bb250f0c034cc9091b4be1fb4f5a572
[ "MIT" ]
38
2015-05-15T15:45:36.000Z
2021-09-13T19:37:58.000Z
external/oscpack/ip/posix/UdpSocket.cpp
ngwese/madronalib
4e9221532bb250f0c034cc9091b4be1fb4f5a572
[ "MIT" ]
24
2015-04-19T12:32:11.000Z
2022-03-08T20:50:01.000Z
/* oscpack -- Open Sound Control (OSC) packet manipulation library http://www.rossbencina.com/code/oscpack Copyright (c) 2004-2013 Ross Bencina <rossb@audiomulch.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated do...
29.323764
80
0.645546
ngwese
bf813cb80c1506a2f8445819a29d5f138fac3a63
2,371
hpp
C++
src/Landscape.hpp
christetreault/proc-lunar-surface
8911aad01148c7badaefd39d8f4b75548757bc51
[ "MIT" ]
null
null
null
src/Landscape.hpp
christetreault/proc-lunar-surface
8911aad01148c7badaefd39d8f4b75548757bc51
[ "MIT" ]
null
null
null
src/Landscape.hpp
christetreault/proc-lunar-surface
8911aad01148c7badaefd39d8f4b75548757bc51
[ "MIT" ]
null
null
null
#ifndef LANDSCAPE_H #define LANDSCAPE_H #include <glm/glm.hpp> #include <memory> #include <algorithm> #include "SceneGraph.hpp" #include "Util.hpp" #include "Doodad.hpp" #include "Texture.hpp" #include "Vertex.hpp" #include "Shader.hpp" class HeightMap; class Natural; class Buildable; class LandscapeBuilder; class La...
23.245098
77
0.688317
christetreault
bf81ea02847ab5630196289e6f80d541a7c9a7b2
827
cc
C++
range/forestqueries.cc
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
range/forestqueries.cc
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
range/forestqueries.cc
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int grid[1001][1001], dp[1001][1001]; int main() { int n, q; cin >> n >> q; for (int i = 1; i <= n; i++) { for (int j = 1; j <= n; j++) { char ch; cin >> ch; if (ch == '*') ...
22.972222
91
0.31318
ashutoshdumiyan
bf844a11733d62039e89ea7ba502e982f086f8d9
1,807
hpp
C++
module_05/ex00/Bureaucrat.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_05/ex00/Bureaucrat.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_05/ex00/Bureaucrat.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Bureaucrat.hpp :+: :+: :+: ...
30.116667
80
0.406752
paulahemsi
bf84ecf29c2cd476b7aaf05b7328ef41ae7c289f
8,482
cpp
C++
UnrealMvvm/Source/UnrealMvvmEditor/Private/BaseViewDetailCustomization.cpp
druhasu/UnrealMvvm
3ab5a2e98a36583c74c72c0a76c1669f37ff1820
[ "MIT" ]
5
2021-11-28T17:09:25.000Z
2022-03-14T08:55:03.000Z
UnrealMvvm/Source/UnrealMvvmEditor/Private/BaseViewDetailCustomization.cpp
druhasu/UnrealMvvm
3ab5a2e98a36583c74c72c0a76c1669f37ff1820
[ "MIT" ]
null
null
null
UnrealMvvm/Source/UnrealMvvmEditor/Private/BaseViewDetailCustomization.cpp
druhasu/UnrealMvvm
3ab5a2e98a36583c74c72c0a76c1669f37ff1820
[ "MIT" ]
2
2021-12-23T14:10:28.000Z
2022-03-27T15:34:10.000Z
// Copyright Andrei Sudarikov. All Rights Reserved. #include "BaseViewDetailCustomization.h" #include "ViewModelPropertyNodeHelper.h" #include "Mvvm/BaseView.h" #include "Mvvm/BaseViewModel.h" #include "DetailLayoutBuilder.h" #include "DetailCategoryBuilder.h" #include "DetailWidgetRow.h" #include "K2Node_ViewModelPr...
35.195021
171
0.63004
druhasu
bf8b574de8bfdf974e3c065593c8ef384dde03a1
9,612
cpp
C++
src/AdventOfCode2019/Day24-PlanetOfDiscord/BugCellularAutomaton.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2019/Day24-PlanetOfDiscord/BugCellularAutomaton.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2019/Day24-PlanetOfDiscord/BugCellularAutomaton.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "BugCellularAutomaton.h" #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS #include <algorithm> #include <cmath> __END_LIBRARIES_DISABLE_WARNINGS namespace AdventOfCode { namespace Year2019 { namespace Day24 { Coordinates midpoint(size_t size) { return {siz...
29.666667
150
0.671036
dbartok
bf906545cf7d14b7d2c16215f9d38f283bcd7997
799
cpp
C++
Helper/MessageFormatters/BasicMessageFormatter.cpp
Dublerq/dyalog
371db0390e14f144698a8ab501eb61497c0c3583
[ "MIT" ]
null
null
null
Helper/MessageFormatters/BasicMessageFormatter.cpp
Dublerq/dyalog
371db0390e14f144698a8ab501eb61497c0c3583
[ "MIT" ]
null
null
null
Helper/MessageFormatters/BasicMessageFormatter.cpp
Dublerq/dyalog
371db0390e14f144698a8ab501eb61497c0c3583
[ "MIT" ]
null
null
null
#include "BasicMessageFormatter.h" #include "../../lib/date.h" BasicMessageFormatter::BasicMessageFormatter(const std::shared_ptr<Configuration> &config) : MessageFormatterAbstract( config) { } std::string BasicMessageFormatter::getFormattedMessage(std::shared_ptr<MessageAbstract> message) { std::string ...
33.291667
143
0.649562
Dublerq
bf9398bea7dc9f78db63be39c588108c210ce573
3,254
cpp
C++
sgf/3.0/headers/Gamecore/environment/rain_atmosphere.cpp
rasputtim/SGPacMan
b0fd33f0951a42625a391383b4d1bd378391493c
[ "BSD-2-Clause" ]
null
null
null
sgf/3.0/headers/Gamecore/environment/rain_atmosphere.cpp
rasputtim/SGPacMan
b0fd33f0951a42625a391383b4d1bd378391493c
[ "BSD-2-Clause" ]
null
null
null
sgf/3.0/headers/Gamecore/environment/rain_atmosphere.cpp
rasputtim/SGPacMan
b0fd33f0951a42625a391383b4d1bd378391493c
[ "BSD-2-Clause" ]
null
null
null
#include "bitmap.h" #include "funcs_sal.h" #include "file-system.h" #include "rain_atmosphere.h" //#include "level/scene.h" #include "../gamecore/util/token.h" using namespace std; static int screenX(){ return 320; } static int screenY(){ return 240; } RainAtmosphere::RainAtmosphere(): Atmosphere(), playing( fals...
28.051724
138
0.554395
rasputtim
bf93d765e7138a4b6f58b3c9f11a2832175e6a26
1,988
cpp
C++
SVFEngine/SVFEngine/Font.cpp
safiar/SVFEngine
5038143a0f369e88dd4fab364a0c22f7729217b3
[ "Apache-2.0" ]
1
2018-04-26T14:27:35.000Z
2018-04-26T14:27:35.000Z
SVFEngine/SVFEngine/Font.cpp
safiar/SVFEngine
5038143a0f369e88dd4fab364a0c22f7729217b3
[ "Apache-2.0" ]
1
2018-04-29T14:45:47.000Z
2018-04-29T14:45:47.000Z
SVFEngine/SVFEngine/Font.cpp
safiar/SVFEngine
5038143a0f369e88dd4fab364a0c22f7729217b3
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------- // // // MODULE : Font.cpp // // PURPOSE : Шрифты / тексты // // CREATED : SavF. ⚡ Savenkov Filipp A. (2017) // // ----------------------------------------------------------------------- // #include "FontText.h" #include "Font.h" ...
26.506667
139
0.559356
safiar
bcc87e6ef215fe6edd070d75b2dd4d725bbf6098
871
hpp
C++
Assign2/DisplayModule/Shape.hpp
thekana/MTRN3500-Assign2
07083eb3aab3f3b061c42159d83cbe50b5f55c68
[ "OLDAP-2.5" ]
null
null
null
Assign2/DisplayModule/Shape.hpp
thekana/MTRN3500-Assign2
07083eb3aab3f3b061c42159d83cbe50b5f55c68
[ "OLDAP-2.5" ]
null
null
null
Assign2/DisplayModule/Shape.hpp
thekana/MTRN3500-Assign2
07083eb3aab3f3b061c42159d83cbe50b5f55c68
[ "OLDAP-2.5" ]
null
null
null
#ifndef MTRN3500_SHAPE_H #define MTRN3500_SHAPE_H // Abstract class class Shape { public: Shape(); Shape(double x_, double y_, double z_); Shape(double x_, double y_, double z_, double rotation_); virtual ~Shape(); virtual void draw() = 0; double getX(); double getY(); double getZ(); double getRotation();...
19.795455
89
0.684271
thekana
bccde36a9d2204cd8e703534f8bb4c592cec0343
1,278
hpp
C++
src/curl_http_client.hpp
liquidum-network/chiapos
899be669838fbe59307e37be52fdb94ecb1f121f
[ "Apache-2.0" ]
2
2021-07-15T02:32:07.000Z
2021-07-19T19:43:40.000Z
src/curl_http_client.hpp
liquidum-network/chiapos
899be669838fbe59307e37be52fdb94ecb1f121f
[ "Apache-2.0" ]
null
null
null
src/curl_http_client.hpp
liquidum-network/chiapos
899be669838fbe59307e37be52fdb94ecb1f121f
[ "Apache-2.0" ]
1
2021-07-14T20:29:32.000Z
2021-07-14T20:29:32.000Z
#pragma once #include <aws/core/Core_EXPORTS.h> #include <aws/core/client/ClientConfiguration.h> #include <aws/core/http/HttpClient.h> #include <aws/core/http/curl/CurlHandleContainer.h> #include <aws/core/http/curl/CurlHttpClient.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <atomic> #include <memory>...
33.631579
93
0.748044
liquidum-network
bcdebf24c02a2d8b86e80be3146de0513fa19bc9
2,636
cpp
C++
src/gui/widgets/controls/propertywidget.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
5
2016-03-17T07:02:11.000Z
2021-12-12T14:43:58.000Z
src/gui/widgets/controls/propertywidget.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
null
null
null
src/gui/widgets/controls/propertywidget.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
3
2015-10-29T15:21:01.000Z
2020-11-25T09:41:21.000Z
/* * propertywidget.cpp * * Created on: Aug 27, 2013 * Author: schurade */ #include "propertywidget.h" #include <QHBoxLayout> #include <QVBoxLayout> #include <QLabel> #include <QWidget> #include <QDebug> PropertyWidget::PropertyWidget( QString label, int id, QWidget* parent ) : QFrame( parent ), ...
24.407407
74
0.567527
mhough
bce0ec7404b383ea1c93305ecea9f5a4448a6161
191
cpp
C++
tests/stl-dependency-test/library/example-class.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
tests/stl-dependency-test/library/example-class.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
tests/stl-dependency-test/library/example-class.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "file-defining-class.h" ExampleClass::~ExampleClass() {} // ClassUsingVectorOfIncomplteClass::ClassUsingVectorOfIncomplteClass() // { // data.push_back(new ExampleClass); // }
21.222222
71
0.73822
satya-das
bce1c96379466fb1f5ca3a08720e284eca1cf980
332
cpp
C++
source/engine/adl_entities/adlSun_component.cpp
AtakanFire/adlGame
d617988b166c1cdd50dd7acb26507231a502a537
[ "MIT" ]
6
2018-08-28T19:52:03.000Z
2020-12-02T13:59:00.000Z
source/engine/adl_entities/adlSun_component.cpp
AtakanFire/adlGame
d617988b166c1cdd50dd7acb26507231a502a537
[ "MIT" ]
16
2019-03-01T09:37:33.000Z
2019-05-13T13:10:54.000Z
source/engine/adl_entities/adlSun_component.cpp
AtakanFire/adlGame
d617988b166c1cdd50dd7acb26507231a502a537
[ "MIT" ]
4
2018-10-29T18:04:18.000Z
2021-02-05T13:13:00.000Z
#include "adlSun_component.h" adlSun_component::adlSun_component() { REGISTER_COMPONENT(adlSun_component) engine_component_name = "adlSun_component"; light_components_.ambient = adlVec3(0.1f); light_components_.diffuse = adlVec3(0.8f); light_components_.specular = adlVec3(1.0f); } adlSun_component::~adlSun_comp...
20.75
44
0.789157
AtakanFire
bce965ebb2f95be53dcea3150849da99ad6880d3
1,203
cpp
C++
source/euclidean_vector_main.cpp
firzad/COMP6771-Euclidean-Vector
632279ed28c423596cf10501311c9202e170eb08
[ "Apache-2.0" ]
null
null
null
source/euclidean_vector_main.cpp
firzad/COMP6771-Euclidean-Vector
632279ed28c423596cf10501311c9202e170eb08
[ "Apache-2.0" ]
null
null
null
source/euclidean_vector_main.cpp
firzad/COMP6771-Euclidean-Vector
632279ed28c423596cf10501311c9202e170eb08
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "comp6771/euclidean_vector.hpp" auto main() -> int { auto const a = comp6771::euclidean_vector(3, 9.0); auto b = comp6771::euclidean_vector(1); // a Euclidean Vector in 1 dimension, with default // magnitude 0.0. auto c = comp6771::euclidean_vec...
35.382353
95
0.519534
firzad
bce9dbde4b0c20b9898423f800f3ee9c9d835233
945
cpp
C++
src/node_data.cpp
lukaspirkl/godot_modular_synthesizer
223487491afca4a9a1c236a43594cae826a47b47
[ "MIT" ]
1
2021-09-10T00:52:17.000Z
2021-09-10T00:52:17.000Z
src/node_data.cpp
lukaspirkl/godot_modular_synthesizer
223487491afca4a9a1c236a43594cae826a47b47
[ "MIT" ]
null
null
null
src/node_data.cpp
lukaspirkl/godot_modular_synthesizer
223487491afca4a9a1c236a43594cae826a47b47
[ "MIT" ]
null
null
null
#include "node_data.h" void NodeData::_bind_methods() { ClassDB::bind_method(D_METHOD("set_position"), &NodeData::set_position); ClassDB::bind_method(D_METHOD("get_position"), &NodeData::get_position); ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "position"), "set_position", "get_position"); ClassDB::bind_method(D...
41.086957
90
0.779894
lukaspirkl
bceb364f1bf3b01ec7f264decfa00749b5e64ee4
2,625
cpp
C++
RealConnectFour/Main.cpp
Chupakabra0/ConnectFour
0e99cf16942c59306969fb82c8e541064f3a5819
[ "MIT" ]
1
2021-05-07T21:04:58.000Z
2021-05-07T21:04:58.000Z
RealConnectFour/Main.cpp
Chupakabra0/ConnectFour
0e99cf16942c59306969fb82c8e541064f3a5819
[ "MIT" ]
null
null
null
RealConnectFour/Main.cpp
Chupakabra0/ConnectFour
0e99cf16942c59306969fb82c8e541064f3a5819
[ "MIT" ]
null
null
null
#define FMT_HEADER_ONLY #include <filesystem> #include <memory> #include "Game.hpp" #include "Solver.hpp" #include "Utils.hpp" #include "include/cxxopts.hpp" cxxopts::Options OptionsSetup([[maybe_unused]] const int argc, const char* argv[]) { auto options = cxxopts::Options(std::filesystem::path(std::string(argv[0]...
29.494382
150
0.630857
Chupakabra0
bced021c2f5e04419cd80224d98e7973cf8967bd
1,516
cpp
C++
src/objects/game_object.cpp
hailiang194/SekaiEngine
d1560217b328740f5126d60c1fd130a7f1bf0d5c
[ "MIT" ]
1
2022-01-21T03:44:04.000Z
2022-01-21T03:44:04.000Z
src/objects/game_object.cpp
hailiang194/SekaiEngine
d1560217b328740f5126d60c1fd130a7f1bf0d5c
[ "MIT" ]
null
null
null
src/objects/game_object.cpp
hailiang194/SekaiEngine
d1560217b328740f5126d60c1fd130a7f1bf0d5c
[ "MIT" ]
null
null
null
#include "game_object.h" namespace SekaiEngine { namespace Object { GameObject::GameObject(const int& zIndex, const bool& alive) :m_alive(alive), m_zIndex(zIndex), m_observer(nullptr) { } GameObject::GameObject(const GameObject& object) :m_zIndex(object...
19.688312
95
0.497361
hailiang194
bcf25327f6ddec21233cb2ed8bece0b3cd7f1edf
374
cpp
C++
codeforces/2019/round#603_Div.2/E.cpp
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
5
2016-04-29T07:14:23.000Z
2020-01-07T04:56:11.000Z
codeforces/2019/round#603_Div.2/E.cpp
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
null
null
null
codeforces/2019/round#603_Div.2/E.cpp
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
1
2016-04-29T07:14:32.000Z
2016-04-29T07:14:32.000Z
#include <bits/stdc++.h> using namespace std; char s[1000005]; char c[1000005]; int cx = 0; struct Segment { int l; int r; int mid; int lp; int rp; int md; } int solve(int x) { if (s[x] == 'R') { } } int main() { int n; scanf("%d", &n); scanf("%s", s); for (int i=0; ...
11
32
0.457219
plusplus7
bcf72fbde396eed55e15bb5f3cc2760498244cfc
5,199
cpp
C++
test/std_ext/valarray.cpp
forno/miki
38afee08586799422c859769b28b066335e2f534
[ "BSD-2-Clause" ]
4
2017-02-17T09:33:48.000Z
2021-04-26T04:43:41.000Z
test/std_ext/valarray.cpp
forno/miki
38afee08586799422c859769b28b066335e2f534
[ "BSD-2-Clause" ]
1
2017-03-09T01:26:02.000Z
2017-03-09T01:26:02.000Z
test/std_ext/valarray.cpp
forno/miki
38afee08586799422c859769b28b066335e2f534
[ "BSD-2-Clause" ]
1
2017-12-15T06:52:30.000Z
2017-12-15T06:52:30.000Z
/* BSD 2-Clause License Copyright (c) 2017 - 2020, FORNO All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
34.66
142
0.723985
forno
bcf7e40a78e1de029e8f40965f5bf71bca3e4799
514
cpp
C++
Contests/Atcoder/ABC163/F.cpp
pratyanshupandey/Competitive-Programming
812520afaaea48bfd3e62c286825d906a93c68d2
[ "MIT" ]
3
2020-11-11T13:45:40.000Z
2021-07-20T11:53:34.000Z
Contests/Atcoder/ABC163/F.cpp
pratyanshupandey/Competitive-Programming
812520afaaea48bfd3e62c286825d906a93c68d2
[ "MIT" ]
11
2020-10-03T14:26:35.000Z
2021-10-30T15:26:40.000Z
Contests/Atcoder/ABC163/F.cpp
pratyanshupandey/Competitive-Programming
812520afaaea48bfd3e62c286825d906a93c68d2
[ "MIT" ]
12
2020-05-12T08:39:54.000Z
2021-10-30T14:56:27.000Z
#include <bits/stdc++.h> #define ll long long int #define pr pair<ll, ll> #define tp tuple<ll, ll, ll> using namespace std; long long int mod = 1e9 + 7; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll n, a, b; cin >> n; ll c[n]; vector<pr> v[n + 1]; for (ll i = 0; i < n; i...
18.357143
37
0.478599
pratyanshupandey
bcf8e5362c8e4a973dfd7e77321527f2d30f8676
708
cpp
C++
19621.cpp
programmer-k/Baekjoon-Online-Judge-Submission
f4ea98b7e3cd101250de9e495982f218e80c37fb
[ "Apache-2.0" ]
null
null
null
19621.cpp
programmer-k/Baekjoon-Online-Judge-Submission
f4ea98b7e3cd101250de9e495982f218e80c37fb
[ "Apache-2.0" ]
null
null
null
19621.cpp
programmer-k/Baekjoon-Online-Judge-Submission
f4ea98b7e3cd101250de9e495982f218e80c37fb
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int n, maximum, currentSum; int startTime[25], endTime[25], people[25]; void GetInput() { cin.tie(NULL); ios::sync_with_stdio(false); cin >> n; for (int i = 0; i < n; i++) cin >> startTime[i] >> endTime[i] >> people[i]; } void Solve(int startIdx, ...
15.733333
49
0.634181
programmer-k
bcfd6c3a08344d4f6c8adc1e30544519b4c4ce8c
869
hpp
C++
include/Input.hpp
sio-k/Cppcamlexample
e17055d81ebb4f5f12f39587489f8511daef5dba
[ "BSD-3-Clause" ]
null
null
null
include/Input.hpp
sio-k/Cppcamlexample
e17055d81ebb4f5f12f39587489f8511daef5dba
[ "BSD-3-Clause" ]
null
null
null
include/Input.hpp
sio-k/Cppcamlexample
e17055d81ebb4f5f12f39587489f8511daef5dba
[ "BSD-3-Clause" ]
1
2020-05-23T12:41:39.000Z
2020-05-23T12:41:39.000Z
#pragma once // Copyright (C) 2017 Sio Kreuzer. All Rights Reserved. #include "base_types.h" namespace Engine { // NOTE: this struct *has* to be kept a POD and has to have a mirror type in the gameplay code. Thus, if you modify this, you break stuff. struct InputData { // we're interested only in mouse position,...
24.828571
138
0.705409
sio-k
4c0f664e8b7599f2fcf17e2643a68183af67e117
5,070
cpp
C++
MQWeb/src/QueueManagerPoolCache.cpp
hlkiltas/mqweb
9b70e0cba70050e856a9cc5a04c660df8d880d15
[ "MIT" ]
2
2018-08-22T18:46:28.000Z
2021-01-15T22:59:53.000Z
MQWeb/src/QueueManagerPoolCache.cpp
hlkiltas/mqweb
9b70e0cba70050e856a9cc5a04c660df8d880d15
[ "MIT" ]
null
null
null
MQWeb/src/QueueManagerPoolCache.cpp
hlkiltas/mqweb
9b70e0cba70050e856a9cc5a04c660df8d880d15
[ "MIT" ]
null
null
null
/* * Copyright 2017 - KBC Group NV - Franky Braem - The MIT license * 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...
28.483146
148
0.726233
hlkiltas
4c13d77e690ac1f9c9dc8db11a92033b7dd438a3
4,239
cc
C++
Blowbox/d3d11/d3d11_depth_stencil.cc
RikoOphorst/blowbox-old
2a6203dd63eaf78356f1fe3c6f133203b75fcaee
[ "MIT" ]
null
null
null
Blowbox/d3d11/d3d11_depth_stencil.cc
RikoOphorst/blowbox-old
2a6203dd63eaf78356f1fe3c6f133203b75fcaee
[ "MIT" ]
null
null
null
Blowbox/d3d11/d3d11_depth_stencil.cc
RikoOphorst/blowbox-old
2a6203dd63eaf78356f1fe3c6f133203b75fcaee
[ "MIT" ]
null
null
null
#include "../../blowbox/d3d11/d3d11_depth_stencil.h" #include "../../blowbox/d3d11/d3d11.h" #include "../../blowbox/d3d11/d3d11_render_device.h" #include "../../blowbox/d3d11/d3d11_settings.h" namespace blowbox { //------------------------------------------------------------------------------------------------------...
35.621849
105
0.649917
RikoOphorst
4c18af8896e2b1e705a606727d5ef166429cf194
1,866
cpp
C++
src/ui/compose.cpp
PaprikaX33/nanaro
8218224987894ee2ef2d83c8f42d35a5190a304f
[ "MIT" ]
null
null
null
src/ui/compose.cpp
PaprikaX33/nanaro
8218224987894ee2ef2d83c8f42d35a5190a304f
[ "MIT" ]
null
null
null
src/ui/compose.cpp
PaprikaX33/nanaro
8218224987894ee2ef2d83c8f42d35a5190a304f
[ "MIT" ]
null
null
null
#include "Ui/Compose.hpp" #include "Block/Type.hpp" #include "Grid/Wall.hpp" #include <cstddef> #include <array> static std::array<enum Block::Type, 660u> renderBuff; static void write_separator(); enum Block::Type * Ui::compose(enum Block::Type * text, enum Block::Type * stat, enum Block::Type * game) { if(text) {...
25.216216
105
0.496249
PaprikaX33
4c1ba4f6a4e6fca98bcc32cfab97ed54a2a64fdb
7,303
cxx
C++
opwig/src/opwig/json/reader.cxx
ouroboros-project/ouroboros
0edce6600f570a901a818161f77db9792f120e11
[ "Zlib" ]
1
2020-12-24T14:37:31.000Z
2020-12-24T14:37:31.000Z
opwig/src/opwig/json/reader.cxx
ouroboros-project/ouroboros
0edce6600f570a901a818161f77db9792f120e11
[ "Zlib" ]
null
null
null
opwig/src/opwig/json/reader.cxx
ouroboros-project/ouroboros
0edce6600f570a901a818161f77db9792f120e11
[ "Zlib" ]
null
null
null
#include <opwig/json/reader.h> #include <opwig/md/accessspecifier.h> #include <opwig/md/namespace.h> #include <opwig/md/function.h> #include <opwig/md/class.h> #include <opwig/md/variable.h> #include <opwig/md/enum.h> #include <opwig/json/exceptions.h> #include <libjson.h> #include <list> #include <string> #include...
33.045249
112
0.575106
ouroboros-project
4c1bfef595ea45d7401454e947a079542f9ff78e
177
hpp
C++
src/headers/main.hpp
JoelLefkowitz/snake
b5f1faaff772962af5ad89229297f5b1b9745b4a
[ "MIT" ]
1
2021-08-03T17:34:21.000Z
2021-08-03T17:34:21.000Z
src/headers/main.hpp
JoelLefkowitz/snake
b5f1faaff772962af5ad89229297f5b1b9745b4a
[ "MIT" ]
null
null
null
src/headers/main.hpp
JoelLefkowitz/snake
b5f1faaff772962af5ad89229297f5b1b9745b4a
[ "MIT" ]
null
null
null
#ifndef MAIN_H #define MAIN_H #include <SDL2/SDL.h> int step_interval = 100; Uint32 STEP = SDL_RegisterEvents(1); Uint32 push_step_event(Uint32 interval, void *param); #endif
17.7
53
0.768362
JoelLefkowitz
4c1d175b72172a300e5deb8ad0f29160659ac387
6,846
cpp
C++
samples/rayTrace/test.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
samples/rayTrace/test.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
samples/rayTrace/test.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2018-07-29T09:40:46.000Z
2018-07-29T09:40:46.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
32.6
225
0.691207
feroze
4c209708ab07520fc3801bad3a02733350868e0e
414
hpp
C++
GameEngine/Components/ButtonActionComponent.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Components/ButtonActionComponent.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
GameEngine/Components/ButtonActionComponent.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** B-CPP-501-STG-5-1-rtype-romuald1.soultan ** File description: ** ButtonActionComponent */ #ifndef BUTTONACTIONCOMPONENT_HPP_ #define BUTTONACTIONCOMPONENT_HPP_ #include "Component.hpp" #include <functional> namespace gameEngine{ class ButtonActionComponent : public Component { pub...
18.818182
48
0.746377
Epitech-Tek2
4c20d7243057e31a48ee79133704cad505e4db2b
541
cpp
C++
cmake/tests/cxx11_explicit_cvt_ops.cpp
folshost/hpx
6b3dc70c4fcade16052cc964790a98522bbfc3ec
[ "BSL-1.0" ]
null
null
null
cmake/tests/cxx11_explicit_cvt_ops.cpp
folshost/hpx
6b3dc70c4fcade16052cc964790a98522bbfc3ec
[ "BSL-1.0" ]
null
null
null
cmake/tests/cxx11_explicit_cvt_ops.cpp
folshost/hpx
6b3dc70c4fcade16052cc964790a98522bbfc3ec
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008 Beman Dawes // Copyright (c) 2015 Agustin Berge // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www...
28.473684
80
0.467652
folshost
4c21b3021ba468f46dbdc0102602afa9e92fb93c
1,135
cpp
C++
Waffle/Color.cpp
Ownfos/Waffle
a4683a4cc5b3de3546aa9e708fe4a25849f9f0a8
[ "MIT" ]
1
2020-03-01T03:04:05.000Z
2020-03-01T03:04:05.000Z
Waffle/Color.cpp
Ownfos/Waffle
a4683a4cc5b3de3546aa9e708fe4a25849f9f0a8
[ "MIT" ]
null
null
null
Waffle/Color.cpp
Ownfos/Waffle
a4683a4cc5b3de3546aa9e708fe4a25849f9f0a8
[ "MIT" ]
null
null
null
#include "Color.h" #include <algorithm> namespace waffle { Color::Color(float red, float green, float blue, float alpha) : red(std::clamp(red, 0.0f, 1.0f)), green(std::clamp(green, 0.0f, 1.0f)), blue(std::clamp(blue, 0.0f, 1.0f)), alpha(std::clamp(alpha, 0.0f, 1.0f)) { } Color::Color(unsigned int red, uns...
19.237288
90
0.610573
Ownfos
4c25b225e9710f399f722454dc5090970ee73115
1,605
cpp
C++
source/tvision/tbkgrnd.cpp
gpaulsen/tvision
638f963fe4f6c84854f60f1e9c5772bf6603e4b2
[ "MIT" ]
1,202
2020-05-10T18:43:45.000Z
2022-03-31T18:23:27.000Z
source/tvision/tbkgrnd.cpp
skywind3000/tvision
7ab5f195c572de0d496e92f4e3f7b3b0771ac699
[ "MIT" ]
54
2020-05-10T17:36:55.000Z
2022-03-15T12:22:07.000Z
source/tvision/tbkgrnd.cpp
skywind3000/tvision
7ab5f195c572de0d496e92f4e3f7b3b0771ac699
[ "MIT" ]
90
2020-06-28T13:51:47.000Z
2022-03-26T21:00:17.000Z
/*------------------------------------------------------------*/ /* filename - tbkgrnd.cpp */ /* */ /* function(s) */ /* TBackground member functions ...
22.928571
78
0.510903
gpaulsen
4c26542b1f6bf559f5ac1a91e6f939cf7daabd9d
3,005
cpp
C++
src/preprocessing/blocksplitter.cpp
jerryye/graphchi-cpp
fc617ac2ae60b3843d9e6517d0b16b6ad0693b5a
[ "Apache-2.0" ]
9
2020-09-02T08:49:17.000Z
2022-02-16T06:51:44.000Z
src/preprocessing/blocksplitter.cpp
KommuSoft/graphchi-cpp
778f8a7e61b49da26d1c8cb5eb18f2f980dc7d94
[ "Apache-2.0" ]
null
null
null
src/preprocessing/blocksplitter.cpp
KommuSoft/graphchi-cpp
778f8a7e61b49da26d1c8cb5eb18f2f980dc7d94
[ "Apache-2.0" ]
3
2021-01-02T06:17:53.000Z
2022-03-28T18:54:05.000Z
/** * @file * @author Aapo Kyrola <akyrola@cs.cmu.edu> * @version 1.0 * * @section LICENSE * * Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
32.663043
113
0.645258
jerryye
4c2d67cb8db3e624adef60c974de6394e68aa120
900
cpp
C++
Chapter8/drawpolygon.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
4
2020-03-11T13:38:25.000Z
2021-12-25T00:48:53.000Z
Chapter8/drawpolygon.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
null
null
null
Chapter8/drawpolygon.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
8
2020-07-10T22:02:05.000Z
2021-12-15T02:11:44.000Z
#include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> using namespace cv; int main() { Mat image = Mat::ones(300, 400, CV_8UC3); /* 흰색 배경의 행렬을 생성한다. */ image.setTo(cv::Scalar(255, 255, 255)); /* 흰색으로 채운다. */ Scalar color(255, 0, 255); /* 파란색(blue), 초록색(green), 빨간색(red) */ ...
29.032258
71
0.605556
valeriyvan
4c300522e00c361c06960c77b8a3ff50efcaf4eb
698
cpp
C++
spoj/PIE.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
spoj/PIE.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
spoj/PIE.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
4
2020-08-11T14:23:34.000Z
2020-11-17T10:52:31.000Z
#include <bits/stdc++.h> #define le 10004 #define pi acos(-1.0) using namespace std; double hi, n[le]; int len, f; int fnc1(double a){ int c = 0; for(int i = 0; i < len; c += (int)(n[i] / a), i++); return c; } double fnc(){ double lo = 0.0, mid; for(int i = 64; i--; ){ mid = (lo + hi) / 2.0;...
21.8125
105
0.425501
cosmicray001
4c3097be6b9df6d9fef4a46ccea348303979ce43
2,380
cpp
C++
s/basexy.cpp
hrubi/basex
ce548e9f4ea81e71e145daa9c5fb83d1bdc0f322
[ "MIT" ]
1
2017-09-06T05:04:55.000Z
2017-09-06T05:04:55.000Z
s/basexy.cpp
hrubi/basex
ce548e9f4ea81e71e145daa9c5fb83d1bdc0f322
[ "MIT" ]
5
2017-02-28T15:56:02.000Z
2017-07-22T20:46:31.000Z
s/basexy.cpp
hrubi/basex
ce548e9f4ea81e71e145daa9c5fb83d1bdc0f322
[ "MIT" ]
3
2017-02-28T16:09:48.000Z
2017-08-01T17:08:14.000Z
// vim: sw=2 sts=2 et fdm=marker cms=\ //\ %s #include <cstring> #include <iostream> #include "boost/format.hpp" #include "basexy/decoder.hpp" #include "basexy/encoder.hpp" #include "basexy/base16.hpp" #include "basexy/base32.hpp" #include "basexy/base32hex.hpp" #include "basexy/base64.hpp" #include "basexy/base64u...
20.34188
64
0.572689
hrubi
4c30b8dca7d14507f634e0dcccc78d6a5a129988
1,409
cc
C++
src/flutter/shell/platform/linux_embedded/window/native_window_wayland.cc
TomohideMorimoto/flutter-embedded-linux
e7b1e98e646e88aa52dc1abe9f14444c2b070a39
[ "BSD-3-Clause" ]
null
null
null
src/flutter/shell/platform/linux_embedded/window/native_window_wayland.cc
TomohideMorimoto/flutter-embedded-linux
e7b1e98e646e88aa52dc1abe9f14444c2b070a39
[ "BSD-3-Clause" ]
null
null
null
src/flutter/shell/platform/linux_embedded/window/native_window_wayland.cc
TomohideMorimoto/flutter-embedded-linux
e7b1e98e646e88aa52dc1abe9f14444c2b070a39
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Sony Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux_embedded/window/native_window_wayland.h" #include "flutter/shell/platform/linux_embedded/logger.h" namespace flutter ...
25.160714
79
0.672818
TomohideMorimoto
4c31de6c56d6230e197704bcfe3867605a12badb
3,895
cpp
C++
test/unittest/blas3/blas3_trsm_test.cpp
aarongreig/sycl-blas
6d2f04bd018521be8f2662556543926774a1281d
[ "Apache-2.0" ]
124
2017-05-01T18:16:15.000Z
2022-03-19T22:23:20.000Z
test/unittest/blas3/blas3_trsm_test.cpp
aarongreig/sycl-blas
6d2f04bd018521be8f2662556543926774a1281d
[ "Apache-2.0" ]
112
2017-05-22T15:34:28.000Z
2022-03-01T16:22:14.000Z
test/unittest/blas3/blas3_trsm_test.cpp
ProGTX/sycl-blas
a2291118297a6cd67ab32281a695a4503467afb1
[ "Apache-2.0" ]
37
2017-05-22T15:24:57.000Z
2021-11-16T22:19:41.000Z
/*************************************************************************** * * @license * Copyright (C) Codeplay Software 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 *...
36.064815
80
0.57484
aarongreig
4c39e4bba627a93fea56efd7b38ec1fb8ace842a
3,042
cpp
C++
src/Time/TimeSequence.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
src/Time/TimeSequence.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
src/Time/TimeSequence.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Time/TimeSequence.hpp" #include <algorithm> #include <cmath> #include <cstdint> #include <pup_stl.h> #include <utility> #include "ErrorHandling/Assert.hpp" namespace TimeSequences { template <typename T> EvenlySpaced<T>::EvenlySpaced(co...
28.971429
80
0.646614
tomwlodarczyk
4c40d25aeedce710b65002119054a201b0813f4b
715
cpp
C++
HDUOJ/2164.cpp
LzyRapx/Competitive-Programming
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
81
2018-06-03T04:27:45.000Z
2020-09-13T09:04:12.000Z
HDUOJ/2164.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
null
null
null
HDUOJ/2164.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
21
2018-07-11T04:02:38.000Z
2020-07-18T20:31:14.000Z
#include<iostream> #include<cstdlib> #include<cstdio> #include<cmath> #include<cstring> #include<string> #include<cstdlib> #include<iomanip> #include<vector> #include<list> #include<map> #include<algorithm> typedef long long LL; using namespace std; const int maxn=100; int m...
17.439024
65
0.514685
LzyRapx
4c466023246133a4677de55fabc965c57ab75432
4,333
hpp
C++
include/bgl/util/file.hpp
b-inary/bgl
75b981463953cc7d35d687aedc3d34298d66be59
[ "MIT" ]
1
2018-10-12T09:44:57.000Z
2018-10-12T09:44:57.000Z
include/bgl/util/file.hpp
b-inary/bgl
75b981463953cc7d35d687aedc3d34298d66be59
[ "MIT" ]
null
null
null
include/bgl/util/file.hpp
b-inary/bgl
75b981463953cc7d35d687aedc3d34298d66be59
[ "MIT" ]
null
null
null
#pragma once #include "lambda.hpp" #include "../extlib/apathy.hpp" #include <iostream> #include <iterator> #include <regex> #include <string> #include <vector> namespace bgl { //! a super-tiny C++17 filesystem::path like class class path { public: path(const char *str = "") : path_{str} {} path(const std::string &...
26.420732
94
0.610893
b-inary
4c4b87bcbfb5ffa714e0d616e88d576828b3af79
1,397
cpp
C++
src/nbl/video/alloc/SimpleGPUBufferAllocator.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
src/nbl/video/alloc/SimpleGPUBufferAllocator.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
src/nbl/video/alloc/SimpleGPUBufferAllocator.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O. // This file is part of the "Nabla Engine". // For conditions of distribution and use, see copyright notice in nabla.h #include "nbl/video/IPhysicalDevice.h" #include "nbl/video/ILogicalDevice.h" #include "nbl/video/alloc/SimpleGPUBufferAllocator.h" ...
42.333333
137
0.778096
deprilula28
4c50e6cb984df9be03d2f43a48f45be16e2dfff2
99
hpp
C++
docs/tests/test.hpp
nyorain/nyutil
26ad3247f909cc82f30608126659b1d6632f5a52
[ "BSL-1.0" ]
103
2016-02-08T21:04:11.000Z
2021-08-05T21:50:03.000Z
docs/tests/test.hpp
nyorain/nyutil
26ad3247f909cc82f30608126659b1d6632f5a52
[ "BSL-1.0" ]
12
2015-12-29T23:53:52.000Z
2018-01-01T16:12:28.000Z
docs/tests/test.hpp
nyorain/nyutil
26ad3247f909cc82f30608126659b1d6632f5a52
[ "BSL-1.0" ]
13
2016-02-24T12:25:31.000Z
2020-08-24T19:47:29.000Z
#pragma once namespace nytl::approxOps {} using namespace nytl::approxOps; #include "bugged.hpp"
14.142857
32
0.757576
nyorain
4c54f1cda2156a64dd546a741225ca424ddd7076
9,331
cpp
C++
source/Library.Test/BitUtils/TestBitWord.cpp
MesSer1024/UtilityLibrary
5682969114e6f98aaa2f567709dca6874b361ebe
[ "MIT" ]
null
null
null
source/Library.Test/BitUtils/TestBitWord.cpp
MesSer1024/UtilityLibrary
5682969114e6f98aaa2f567709dca6874b361ebe
[ "MIT" ]
null
null
null
source/Library.Test/BitUtils/TestBitWord.cpp
MesSer1024/UtilityLibrary
5682969114e6f98aaa2f567709dca6874b361ebe
[ "MIT" ]
null
null
null
// copyright Daniel Dahlkvist (c) 2020 [github.com/messer1024] #include <Library/BitUtils/BitSpan.h> #include <Core/Meta/Meta.h> #include <Core/Types.h> #include <gtest/gtest.h> namespace ddahlkvist { static_assert(sizeof(BitWordType) == sizeof(u64)); TEST(bitword_fixture, danglingMaskFromBitCount_validateCalculati...
27.853731
109
0.692316
MesSer1024
4c567a64b56ad6d2343569f3688dc1e993897a13
7,402
cpp
C++
gmod/features/espfeature.cpp
voidptrproject/voidhack_gmod
3915c8ceb2ee2a479a3a4669eb72806104fbe2f5
[ "MIT" ]
2
2022-02-20T09:34:47.000Z
2022-03-16T04:20:35.000Z
gmod/features/espfeature.cpp
voidptrproject/voidhack_gmod
3915c8ceb2ee2a479a3a4669eb72806104fbe2f5
[ "MIT" ]
null
null
null
gmod/features/espfeature.cpp
voidptrproject/voidhack_gmod
3915c8ceb2ee2a479a3a4669eb72806104fbe2f5
[ "MIT" ]
null
null
null
#include "features.hpp" #include <mutex> #include <optional> #include "../globals.hpp" #include "../hooks.hpp" #include <imgui_internal.h> struct esp_box_t { ImVec2 min; ImVec2 max; inline auto width() const { return max.x - min.x; } inline auto height() const { return max.y - min.y; } inline ImVec2 center()...
37.19598
147
0.709268
voidptrproject
4c573390516e3a1ee3b0519c7b6d75b609cc9a4f
1,718
cpp
C++
Dijkstra/code.cpp
MsNahid/graph-theory
fbe3696f0c65e5f39cfe5a793309bcd8ef5726ae
[ "MIT" ]
null
null
null
Dijkstra/code.cpp
MsNahid/graph-theory
fbe3696f0c65e5f39cfe5a793309bcd8ef5726ae
[ "MIT" ]
null
null
null
Dijkstra/code.cpp
MsNahid/graph-theory
fbe3696f0c65e5f39cfe5a793309bcd8ef5726ae
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define SZ 15 #define INF ((1) << (30)) struct node { int u; int cost; node(int _u, int _cost){ u = _u; cost = _cost; } bool operator < (const node &p) const{ return cost > p.cost; } }; void dijkstra(c...
22.605263
90
0.458673
MsNahid
4c5d00c7ea7f7d182a447eb87cdc8eff99516f0c
1,840
cpp
C++
BookCode/chapters/08lazzariniBOOKexamples/stft.cpp
mike-normal13/Audio_programming_book_code
3d318787d379f232a4edc113b6f7190201084674
[ "MIT" ]
9
2018-10-03T19:57:47.000Z
2022-01-08T14:37:24.000Z
BookCode/chapters/08lazzariniBOOKexamples/stft.cpp
mike-normal13/Audio_programming_book_code
3d318787d379f232a4edc113b6f7190201084674
[ "MIT" ]
null
null
null
BookCode/chapters/08lazzariniBOOKexamples/stft.cpp
mike-normal13/Audio_programming_book_code
3d318787d379f232a4edc113b6f7190201084674
[ "MIT" ]
8
2017-11-20T07:52:01.000Z
2022-03-29T02:59:10.000Z
///////////////////////////////////////////// // Spectral processing examples // // (c) V Lazzarini, 2005 ////////////////////////////////////////////// ////////////////////////////////////////////// // stft & istft functions ////////////////////////////////////////////// #include "spec.h" #include "fourie...
26.285714
61
0.583152
mike-normal13
4c5eb7450c86934186b2dc822c7db04f16bbbb2c
3,280
cpp
C++
src/Module/Adaptor/Adaptor.cpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
src/Module/Adaptor/Adaptor.cpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
src/Module/Adaptor/Adaptor.cpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
#include "Module/Adaptor/Adaptor.hpp" using namespace aff3ct; using namespace aff3ct::module; Adaptor ::~Adaptor() { for (auto b : this->buffer_to_free) delete[] b; (*this->buffer)[this->id].clear(); (*this->first)[this->id] = 0; (*this->last )[this->id] = 0; } Adaptor* Adaptor ::clone() const { throw tools:...
22.777778
93
0.623171
FredrikBlomgren
4c61f47872ad3a940978f4ad3c6925fb485b26fc
2,521
cpp
C++
BaseUtils/Buffer.cpp
dongwon00kim/BaseLib
986b9368055b58bb4fd41bf0c9e603398f9d975f
[ "Apache-2.0" ]
null
null
null
BaseUtils/Buffer.cpp
dongwon00kim/BaseLib
986b9368055b58bb4fd41bf0c9e603398f9d975f
[ "Apache-2.0" ]
null
null
null
BaseUtils/Buffer.cpp
dongwon00kim/BaseLib
986b9368055b58bb4fd41bf0c9e603398f9d975f
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
23.783019
139
0.646569
dongwon00kim
4c6338182a36a5542b44c9aa1b48935b2e22f583
2,489
cpp
C++
include/common/MavState.cpp
NicoNelli/mocap2mav
6d7ff801c00e1e96cd5f116e55b29a1520a93e83
[ "MIT" ]
3
2016-09-13T09:31:07.000Z
2018-12-15T08:58:46.000Z
include/common/MavState.cpp
NicoNelli/mocap2mav
6d7ff801c00e1e96cd5f116e55b29a1520a93e83
[ "MIT" ]
2
2017-05-02T15:02:37.000Z
2020-08-24T08:48:37.000Z
include/common/MavState.cpp
NicoNelli/mocap2mav
6d7ff801c00e1e96cd5f116e55b29a1520a93e83
[ "MIT" ]
5
2016-04-04T10:11:17.000Z
2018-05-15T13:40:14.000Z
// // Created by andreanisti on 15/11/16. // #include "common/MavState.h" MavState::MavState() : timestamp(0), _x(0.0), _y(0.0), _z(0.0), _vx(0.0), _vy(0.0), _vz(0.0), _yaw(0.0),_type(type::POSITION) { _orientation.setIdentity(); } void MavState::setPosition(double x, double y, double z) { _x = x; ...
17.405594
171
0.634793
NicoNelli
4c6459dbb96492475c59dc47d18046f0d350e78d
601
cpp
C++
Formatting/TrimStart.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Formatting/TrimStart.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Formatting/TrimStart.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include "TrimStart.h" namespace DNVS { namespace MoFa { namespace Formatting { TrimStart::TrimStart(size_t numCharacters) :...
22.259259
79
0.682196
dnv-opensource
4c64ef6054d060021c6f12ba0bf693863998a66e
2,390
cpp
C++
Project/Source/Resources/ResourceType.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
7
2021-04-26T21:32:12.000Z
2022-02-14T13:48:53.000Z
Project/Source/Resources/ResourceType.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
66
2021-04-24T10:08:07.000Z
2021-10-05T16:52:56.000Z
Project/Source/Resources/ResourceType.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
1
2021-07-13T21:26:13.000Z
2021-07-13T21:26:13.000Z
#include "ResourceType.h" #include "Utils/Logging.h" #include "Math/myassert.h" #include "Utils/Leaks.h" const char* GetResourceTypeName(ResourceType type) { switch (type) { case ResourceType::MATERIAL: return "Material"; case ResourceType::MESH: return "Mesh"; case ResourceType::PREFAB: return "Prefab"; ...
28.452381
93
0.683682
TBD-org
4c65745b9ee69c5493f6e33930130e2d9816095d
832
cpp
C++
Warenkostenrechner/Warenkostenrechner/Warenkostenrechner.cpp
PremiumChampion/CPP_Schule
9f47c146a51cd7d7c6986cb5d3f7fdf8be0c4ab7
[ "MIT" ]
null
null
null
Warenkostenrechner/Warenkostenrechner/Warenkostenrechner.cpp
PremiumChampion/CPP_Schule
9f47c146a51cd7d7c6986cb5d3f7fdf8be0c4ab7
[ "MIT" ]
null
null
null
Warenkostenrechner/Warenkostenrechner/Warenkostenrechner.cpp
PremiumChampion/CPP_Schule
9f47c146a51cd7d7c6986cb5d3f7fdf8be0c4ab7
[ "MIT" ]
null
null
null
// Warenkostenrechner.cpp : Diese Datei enthält die Funktion "main". Hier beginnt und endet die Ausführung des Programms. // #include <iostream> #include <iomanip> using namespace std; int main() { double nettopreis; double mehrwertsteuer; double bruttopreis; cout << "Bitte geben Sie den Nettopreis Ihres Art...
33.28
126
0.63101
PremiumChampion
4c66c5cce8114740d86f0d5de4212b4e316a6411
2,222
cpp
C++
FastROI/ConsoleApplication3/ConsoleApplication3.cpp
gellston/FastROI
983e939127d8b4d629db355f6614fc0a8f2a4e39
[ "MIT" ]
10
2022-01-19T02:21:51.000Z
2022-02-03T22:53:19.000Z
FastROI/ConsoleApplication3/ConsoleApplication3.cpp
gellston/FastROI
983e939127d8b4d629db355f6614fc0a8f2a4e39
[ "MIT" ]
null
null
null
FastROI/ConsoleApplication3/ConsoleApplication3.cpp
gellston/FastROI
983e939127d8b4d629db355f6614fc0a8f2a4e39
[ "MIT" ]
3
2022-01-21T02:31:01.000Z
2022-01-30T16:07:04.000Z
#include <iostream> #include <stack> #include <chrono> #include <opencv2/opencv.hpp> #include <fastBlob.h> int main() { cv::namedWindow("binary", cv::WINDOW_NORMAL); cv::namedWindow("result_image", cv::WINDOW_NORMAL); cv::namedWindow("filter", cv::WINDOW_NORMAL); cv::resizeWindow("binary", cv::Size(...
34.184615
163
0.605311
gellston
4c6c0e205d8496af27352ff5edd22fe1615c85b5
5,375
cpp
C++
src/CS1D-TMOTTBG/createuserwindow.cpp
Jayteare/TMOTTBG
2f0d22eca49a7ce12cdce553fef05ff9fbf0af68
[ "Apache-2.0" ]
null
null
null
src/CS1D-TMOTTBG/createuserwindow.cpp
Jayteare/TMOTTBG
2f0d22eca49a7ce12cdce553fef05ff9fbf0af68
[ "Apache-2.0" ]
null
null
null
src/CS1D-TMOTTBG/createuserwindow.cpp
Jayteare/TMOTTBG
2f0d22eca49a7ce12cdce553fef05ff9fbf0af68
[ "Apache-2.0" ]
null
null
null
#include "createuserwindow.h" #include "ui_createuserwindow.h" #include "QDebug" CreateUserWindow::CreateUserWindow(QWidget *parent) : QDialog(parent), ui(new Ui::CreateUserWindow) { ui->setupUi(this); setAttribute(Qt::WA_DeleteOnClose); ui->errorOutputLabel->setText(""); ui->zipCodeInputBox->...
34.018987
319
0.616558
Jayteare
4c704d29882b4083da7de95383e92ab54f7eb3dc
7,757
hpp
C++
stm32/stm32f4/include/stm32f4/dma/Engine.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
1
2022-01-31T01:59:52.000Z
2022-01-31T01:59:52.000Z
stm32/stm32f4/include/stm32f4/dma/Engine.hpp
PhischDotOrg/stm32-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
5
2020-04-13T21:55:12.000Z
2020-06-27T17:44:44.000Z
stm32/stm32f4/include/stm32f4/dma/Engine.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #ifndef _DMA_ENGINE_STM32F4_HPP_7fddc595_a3e3_4049_b535_97d908fc9b67 #define _DMA_ENGINE_STM32F4_HPP_7fddc595_a3e3_4049_b535_97d908fc9b67 #include <stdint.h> #include <stddef.h> #include <stm32/dma/Types.hpp> #include "stm32f4xx.h" /***********************************************************...
31.53252
135
0.536805
PhischDotOrg
4c70d126c2fe6c670e6464db542fe010606a9d20
3,925
hpp
C++
include/simulation/ant/worker.hpp
riscygeek/AntSimulator
b35d1b0e0a3601ec326eb2839fb7551672d036af
[ "MIT" ]
1,875
2020-06-26T04:40:40.000Z
2022-03-30T18:46:48.000Z
include/simulation/ant/worker.hpp
riscygeek/AntSimulator
b35d1b0e0a3601ec326eb2839fb7551672d036af
[ "MIT" ]
36
2021-02-23T19:06:46.000Z
2022-03-08T10:55:13.000Z
include/simulation/ant/worker.hpp
riscygeek/AntSimulator
b35d1b0e0a3601ec326eb2839fb7551672d036af
[ "MIT" ]
271
2020-06-28T03:40:06.000Z
2022-03-05T00:27:57.000Z
#pragma once #include "ant.hpp" struct WorkerUpdater { static void findMarker(Ant& ant, World& world) { // Consts constexpr float sample_angle_range = PI * 0.5f; constexpr uint32_t sample_count = 32u; constexpr float repellent_prob_factor = 0.3f; // Init SamplingResult result; result.max_dire...
32.708333
123
0.677452
riscygeek
4c717aec293156d338295611bab1ddee0366da46
1,490
cpp
C++
src/friendFunctionSwapping_Prog3.cpp
JacobMahto/IT_Programming_Programs
fc9ff4f78de4ba012ffc18abf955c25974aec458
[ "MIT" ]
null
null
null
src/friendFunctionSwapping_Prog3.cpp
JacobMahto/IT_Programming_Programs
fc9ff4f78de4ba012ffc18abf955c25974aec458
[ "MIT" ]
null
null
null
src/friendFunctionSwapping_Prog3.cpp
JacobMahto/IT_Programming_Programs
fc9ff4f78de4ba012ffc18abf955c25974aec458
[ "MIT" ]
null
null
null
/* * Problem Statement : Write a program to swap data member of two classes using * friend function * Program : Swapping using Friend function * Description : Swapping of data member using friend function * Interaction : No User Input * Author : J. Mahto (@jvm) * Date : January,15th,2019 *...
21.594203
90
0.574497
JacobMahto
4c73fec244d06733053e71547051056cde23571b
1,116
cpp
C++
DFS/Medium/lc654.cpp
ssolaric/leetcode-patterns
ff5cfc3effe060c01c294a4b2fbb14a0b8775931
[ "MIT" ]
4
2020-06-22T22:56:14.000Z
2022-01-01T19:35:48.000Z
DFS/Medium/lc654.cpp
ssolaric/leetcode-patterns
ff5cfc3effe060c01c294a4b2fbb14a0b8775931
[ "MIT" ]
null
null
null
DFS/Medium/lc654.cpp
ssolaric/leetcode-patterns
ff5cfc3effe060c01c294a4b2fbb14a0b8775931
[ "MIT" ]
1
2020-06-22T22:56:22.000Z
2020-06-22T22:56:22.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
31
93
0.539427
ssolaric
dbd12beddecdc5f3bf88179305c44dd1bf948bae
634
cpp
C++
src/SoundCommand.cpp
sgsiebers/SimpleAnimation
a1e42860fef23abf22cd998ae0ee457144b5c475
[ "MIT" ]
null
null
null
src/SoundCommand.cpp
sgsiebers/SimpleAnimation
a1e42860fef23abf22cd998ae0ee457144b5c475
[ "MIT" ]
null
null
null
src/SoundCommand.cpp
sgsiebers/SimpleAnimation
a1e42860fef23abf22cd998ae0ee457144b5c475
[ "MIT" ]
1
2018-07-17T10:52:19.000Z
2018-07-17T10:52:19.000Z
#include "SoundCommand.h" SoundCommand::SoundCommand(const uint8_t _pin, const uint16_t _duration) : pin(_pin), pinActive(false), playTimer(Timer(_duration+SOUND_PIN_HOLD_TIME)) {} void SoundCommand::begin(){ DEBUG_PRINT("Begin sound"); pinMode(pin,OUTPUT); digitalWrite(pin,LOW); playTimer.reset(); pinA...
19.8125
155
0.68612
sgsiebers
dbd24d345b7b5391a643fd8547abb538b81db0db
2,237
cpp
C++
pass/lec/boolector_test.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
1
2022-01-30T03:06:22.000Z
2022-01-30T03:06:22.000Z
pass/lec/boolector_test.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
pass/lec/boolector_test.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include <cassert> #include <stdio.h> #include <stdlib.h> #include "boolector.h" #define BV1_EXAMPLE_NUM_BITS 8 /* We verify the XOR swap algorithm. The XOR bitwise operation can * be used to swap variables without using a tempora...
26.630952
85
0.643719
milad621
dbda45e0a9a79b331b5feabb8b2d1359dddf7c90
1,561
cpp
C++
src/main.cpp
MarkMan0/SerialSender
cf4780a38c3b63d4d72c34f7cc2aaae725f4028e
[ "MIT" ]
null
null
null
src/main.cpp
MarkMan0/SerialSender
cf4780a38c3b63d4d72c34f7cc2aaae725f4028e
[ "MIT" ]
null
null
null
src/main.cpp
MarkMan0/SerialSender
cf4780a38c3b63d4d72c34f7cc2aaae725f4028e
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <memory> #include <string> #include <thread> #include <chrono> #include <windows.h> #include "Command.h" #include "CommandHandler.h" #include "SerialPort.h" #include "commands\Send.h" #include "commands\Exit.h" #include "commands\AllMsg.h" #include "SerialManager.h" #includ...
28.381818
81
0.74952
MarkMan0
dbdccb23fb7f5b65406d6189b579652d28d61f6b
1,054
hh
C++
lib/mdcomp/ignore_unused_variable_warning.hh
cuckydev/CuckyEd
f080a82bf8639e5636200b80e60b7a435d033959
[ "MIT" ]
null
null
null
lib/mdcomp/ignore_unused_variable_warning.hh
cuckydev/CuckyEd
f080a82bf8639e5636200b80e60b7a435d033959
[ "MIT" ]
null
null
null
lib/mdcomp/ignore_unused_variable_warning.hh
cuckydev/CuckyEd
f080a82bf8639e5636200b80e60b7a435d033959
[ "MIT" ]
null
null
null
/* -*- Mode: C++; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * Copyright (C) Flamewing 2016 <flamewing.sonic@gmail.com> * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foun...
40.538462
77
0.750474
cuckydev
dbdf5467c7b85a055e35a49a936ec53af165fc96
3,045
hpp
C++
include/async/oneshot-event.hpp
avdgrinten/libasync
cefe391ca5bbe109d0f03078d17eb5c763d734f8
[ "MIT" ]
9
2019-12-24T07:20:13.000Z
2021-08-19T08:21:55.000Z
include/async/oneshot-event.hpp
avdgrinten/libasync
cefe391ca5bbe109d0f03078d17eb5c763d734f8
[ "MIT" ]
8
2020-04-22T17:57:49.000Z
2022-01-27T11:12:13.000Z
include/async/oneshot-event.hpp
avdgrinten/libasync
cefe391ca5bbe109d0f03078d17eb5c763d734f8
[ "MIT" ]
2
2020-04-22T17:33:45.000Z
2021-03-11T21:45:49.000Z
#pragma once #include <async/algorithm.hpp> #include <async/cancellation.hpp> #include <frg/functional.hpp> #include <frg/list.hpp> namespace async { struct oneshot_event { private: struct node { friend struct oneshot_event; node() = default; node(const node &) = delete; node &operator= (const node &) = ...
19.519231
86
0.615764
avdgrinten
dbe1910d9d1a252a83b47e52742cd0b03c484814
6,470
cpp
C++
dali/public-api/object/type-registry.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/public-api/object/type-registry.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
dali/public-api/object/type-registry.cpp
fayhot/dali-core
a69ea317f30961164520664a645ac36c387055ef
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
36.971429
221
0.755178
vcebollada
dbe1c106e1b64e016337fc3eba85a80cbf0381a3
1,284
hpp
C++
src/Graphics/World.hpp
boudra/darkmatter
807ef3dc0d10e3ddff75fb4cf965acfa86423624
[ "MIT" ]
7
2015-07-29T15:04:56.000Z
2021-07-23T13:59:30.000Z
src/Graphics/World.hpp
boudra/darkmatter
807ef3dc0d10e3ddff75fb4cf965acfa86423624
[ "MIT" ]
null
null
null
src/Graphics/World.hpp
boudra/darkmatter
807ef3dc0d10e3ddff75fb4cf965acfa86423624
[ "MIT" ]
1
2015-08-27T14:31:22.000Z
2015-08-27T14:31:22.000Z
#ifndef WORLD_HPP #define WORLD_HPP #include "Core/System.hpp" #include "Components/BodyComponent.hpp" #include "Math/Vector4.hpp" #include "Graphics/VertexObject.hpp" namespace dm { class TileMap { public: TileMap() : TileMap(50, 50) {} TileMap(const int& width, const int& height) : m_width(widt...
20.709677
67
0.636293
boudra
dbe38026a59c4893b0266aebb3f68410e9be2fa7
3,798
cpp
C++
PBRVulkan/RayTracer/src/Vulkan/Core.cpp
dpankratz/PBRVulkan
0311e3aa706056352bbcd031936be1f9f09306db
[ "BSD-2-Clause" ]
357
2020-09-18T11:22:51.000Z
2022-03-11T05:08:54.000Z
PBRVulkan/RayTracer/src/Vulkan/Core.cpp
dpankratz/PBRVulkan
0311e3aa706056352bbcd031936be1f9f09306db
[ "BSD-2-Clause" ]
47
2020-09-29T09:53:03.000Z
2021-12-17T07:00:39.000Z
PBRVulkan/RayTracer/src/Vulkan/Core.cpp
dpankratz/PBRVulkan
0311e3aa706056352bbcd031936be1f9f09306db
[ "BSD-2-Clause" ]
29
2020-11-06T18:45:48.000Z
2022-01-27T09:16:25.000Z
#include "Core.h" #include <array> #include <iostream> #include "Vulkan.h" #include "Window.h" #include "Instance.h" #include "Device.h" #include "Surface.h" #include "SwapChain.h" #include "CommandBuffers.h" #include "Semaphore.h" #include "Fence.h" #include "Framebuffer.h" #include "Buffer.h" #include "CommandPool...
25.152318
134
0.733807
dpankratz
dbe3d6ae707995df100bd59d7f7e7afd9496c31e
3,953
cpp
C++
source/core/Device.cpp
erickjung/aika3d
16400c796e169b2c6ca84974b6536583d2d8ceec
[ "MIT" ]
1
2017-10-11T04:05:45.000Z
2017-10-11T04:05:45.000Z
source/core/Device.cpp
erickjung/aika3d
16400c796e169b2c6ca84974b6536583d2d8ceec
[ "MIT" ]
null
null
null
source/core/Device.cpp
erickjung/aika3d
16400c796e169b2c6ca84974b6536583d2d8ceec
[ "MIT" ]
null
null
null
// Copyright (c) 2007-2016 Erick Jung // // This code is distributed under the terms and conditions of the MIT license. // // 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 restricti...
24.251534
80
0.647609
erickjung
dbeba4be476b414036d0effa963818a39b0965e7
1,254
hpp
C++
core/src/higanbana/core/tools/renderdoc.hpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
15
2020-01-15T13:04:36.000Z
2022-02-18T17:08:25.000Z
core/src/higanbana/core/tools/renderdoc.hpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
3
2015-09-09T08:16:30.000Z
2015-11-24T16:22:48.000Z
core/src/higanbana/core/tools/renderdoc.hpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
1
2021-12-06T07:19:05.000Z
2021-12-06T07:19:05.000Z
#pragma once #ifdef HIGANBANA_PLATFORM_WINDOWS #include <renderdoc_app.h> #endif namespace higanbana { class RenderDocApi { #ifdef HIGANBANA_PLATFORM_WINDOWS RENDERDOC_API_1_0_0 *rdoc_api = nullptr; #else int rdoc_api = 0; #endif public: RenderDocApi() { #ifdef HIGANBANA_PLATFORM_WINDOWS if...
21.62069
105
0.644338
jgavert
dbf5795b97fd1ecd7e71527091b6afe3bedddeff
58
cpp
C++
conan/celero/test_package/example.cpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
conan/celero/test_package/example.cpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
conan/celero/test_package/example.cpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#include <celero/Celero.h> int main() { // hello(); }
9.666667
26
0.551724
icebreakersentertainment
dbfb0af9201670698b6f9d4a1b0df9d98fdf4337
456
hpp
C++
include/SAGE/Console.hpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
1
2016-05-21T12:45:20.000Z
2016-05-21T12:45:20.000Z
include/SAGE/Console.hpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
null
null
null
include/SAGE/Console.hpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
null
null
null
// Console.hpp #ifndef __SAGE_CONSOLE_HPP__ #define __SAGE_CONSOLE_HPP__ // STD Includes #include <string> namespace SAGE { class Console { public: static void Write(const char* p_Text, ...); static void WriteLine(const char* p_Text, ...); static void Write(const std::string& p_Text); static void Wri...
16.888889
52
0.684211
jasonwnorris
e00227b42c6f32e1f0451d5073fd375b86e45e2c
1,296
hpp
C++
boost/numeric/meta_math/loop2.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
lib/mtl4/boost/numeric/meta_math/loop2.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
lib/mtl4/boost/numeric/meta_math/loop2.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
27.574468
94
0.66821
lit-uriy
e00a6e0949a735eb566da65bbf2acd2cfc76dd99
3,457
cpp
C++
CoreToolkit/Stream.cpp
librory/madfish-webtoolkit
f81e2f57297dd3a5fde39a918091612f6e625679
[ "MIT" ]
2
2015-04-27T22:31:34.000Z
2017-08-18T09:22:08.000Z
CoreToolkit/Stream.cpp
librory/madfish-webtoolkit
f81e2f57297dd3a5fde39a918091612f6e625679
[ "MIT" ]
2
2016-02-04T12:47:47.000Z
2016-02-04T12:47:47.000Z
CoreToolkit/Stream.cpp
librory/madfish-webtoolkit
f81e2f57297dd3a5fde39a918091612f6e625679
[ "MIT" ]
2
2017-08-18T09:56:31.000Z
2019-08-15T08:14:11.000Z
/* This file is a part of madfish-webtoolkit project. http://code.google.com/p/madfish-webtoolkit/ (c) 2009 Alexander "Mad Fish" Chehovsky See License.txt for licensing information. */ #include "Stream.h" #include <string.h> using namespace std; namespace CoreToolkit { InputStream::InputStream():eof(false)...
17.029557
98
0.64825
librory
e00e459520add2781a63890ac0a109d73549182e
341
cpp
C++
basic/test_stack.cpp
ray2060/learn-cpp
bcf322d32574e1741a048219acff5697c99b2614
[ "MIT" ]
null
null
null
basic/test_stack.cpp
ray2060/learn-cpp
bcf322d32574e1741a048219acff5697c99b2614
[ "MIT" ]
null
null
null
basic/test_stack.cpp
ray2060/learn-cpp
bcf322d32574e1741a048219acff5697c99b2614
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> #include <string> using namespace std; int main() { stack<int> st; string s; cin >> s; for (int i = 0; i < int(s.size()); i ++) { if (s[i] == '(') st.push(i); else { cout << st.top() << ' ' << i << endl; st.pop(); } ...
17.05
49
0.422287
ray2060
e010a61936c60cc4c8ad726be9de5cb55cbdd03b
1,206
cpp
C++
PTSS/pt15-ex6/simpson/main.cpp
evtodorov/cse-eth
4c3bc843e39c01c5662fe87f992710c7f58d786a
[ "MIT" ]
null
null
null
PTSS/pt15-ex6/simpson/main.cpp
evtodorov/cse-eth
4c3bc843e39c01c5662fe87f992710c7f58d786a
[ "MIT" ]
null
null
null
PTSS/pt15-ex6/simpson/main.cpp
evtodorov/cse-eth
4c3bc843e39c01c5662fe87f992710c7f58d786a
[ "MIT" ]
null
null
null
/* Programming Techniques for Scientific Simulations, HS 2015 * Exercise 6.2 */ #include <cmath> #include <iostream> #include "simpson.hpp" const double lambda=2.; struct exp_minus_lambda_x { typedef double argument_type; typedef double result_type; exp_minus_lambda_x(const result_type lambda_value=1.0) : ...
27.409091
161
0.687396
evtodorov
e0156bdb75da120d8ca893b53ce70b3450c9f4be
1,000
cpp
C++
c++/solution2282.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
c++/solution2282.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
c++/solution2282.cpp
imafish/leetcodetests
abee2c2d6c0b25a21ef4294bceb7e069b6547b85
[ "MIT" ]
null
null
null
#include "afx.h" using namespace std; class MaxQueue { public: MaxQueue() { } int max_value() { if (_maxQueue.empty()) { return -1; } return _maxQueue.front(); } void push_back(int value) { _data.push(value); while (!_maxQue...
16.666667
64
0.5
imafish
e0159d44444571c3d38cacb263961376357d1b52
4,401
cpp
C++
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/ModuleObjet.cpp
unaidiaz/pryecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
2
2020-05-20T15:48:29.000Z
2020-08-17T03:35:56.000Z
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/ModuleObjet.cpp
unaidiaz/proyecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
null
null
null
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/ModuleObjet.cpp
unaidiaz/proyecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
null
null
null
#include "Application.h" #include"ModulePlayer.h" #include "ModuleRender.h" #include "ModuleTextures.h" #include "ModuleAudio.h" #include "SceneLevel4.h" #include"ModuleObjet.h" #include"placa.h" #include "paraguas.h" #include "tanque.h" #include "bolso.h" #include "plataforma.h" #include "martillo.h" #include "barri...
20.09589
95
0.650988
unaidiaz
e016d7c59e09c9182ab53adf2a66e54b6f87073f
11,811
cpp
C++
src/hdf5_applyFunction.cpp
isglobal-brge/BigDataStatMeth
e19ab43b052dab1a066d5adff3c6778868f247b0
[ "MIT" ]
2
2020-07-02T00:34:59.000Z
2021-02-03T11:30:31.000Z
src/hdf5_applyFunction.cpp
isglobal-brge/BigDataStatMeth
e19ab43b052dab1a066d5adff3c6778868f247b0
[ "MIT" ]
null
null
null
src/hdf5_applyFunction.cpp
isglobal-brge/BigDataStatMeth
e19ab43b052dab1a066d5adff3c6778868f247b0
[ "MIT" ]
1
2021-01-22T16:34:39.000Z
2021-01-22T16:34:39.000Z
#include "include/hdf5_applyFunction.h" // [[Rcpp::depends(RcppEigen)]] using namespace Rcpp; using namespace std; //' Apply function to different datasets inside a group //' //' Apply function to different datasets inside a group //' //' @param filename, character array indicating the name of the file...
46.136719
178
0.519431
isglobal-brge
e0173443f2a5acff09f24fbd846c59acd19779de
10,210
cpp
C++
src/lib/utils/parsing.cpp
rafalsk/botan
95185297aa91edf34c68fd56f7f095df16a7197f
[ "BSD-2-Clause" ]
1
2017-03-21T14:32:53.000Z
2017-03-21T14:32:53.000Z
benchmark/botan/src/lib/utils/parsing.cpp
JaredCJR/ThesisTools
41af365ca85da3f73f72880488477ec699b05923
[ "Apache-2.0" ]
null
null
null
benchmark/botan/src/lib/utils/parsing.cpp
JaredCJR/ThesisTools
41af365ca85da3f73f72880488477ec699b05923
[ "Apache-2.0" ]
null
null
null
/* * Various string utils and parsing functions * (C) 1999-2007,2013,2014,2015 Jack Lloyd * (C) 2015 Simon Warta (Kullo GmbH) * (C) 2017 René Korthaus, Rohde & Schwarz Cybersecurity * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/parsing.h> #include <botan/exceptn.h> #includ...
23.099548
93
0.535455
rafalsk
e0173f41002c1a8ab9d46a8a7c818d1be63da3fd
2,868
cpp
C++
test/test_tools.cpp
Sonotsugipaa/xorinator
54a9aae6c7a03445ea3a7055ba1124a43116eadf
[ "MIT" ]
null
null
null
test/test_tools.cpp
Sonotsugipaa/xorinator
54a9aae6c7a03445ea3a7055ba1124a43116eadf
[ "MIT" ]
null
null
null
test/test_tools.cpp
Sonotsugipaa/xorinator
54a9aae6c7a03445ea3a7055ba1124a43116eadf
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 Parola Marco * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, ...
28.969697
81
0.693515
Sonotsugipaa
e018b63c7328f011dd412dd213d6633f6631be44
13,888
cpp
C++
src/zk/server/configuration.cpp
vexingcodes/zookeeper-cpp
9dce1fce5370ecfdad713caf411a5ae9b851db33
[ "Apache-2.0" ]
126
2017-08-09T22:26:09.000Z
2022-01-21T22:39:46.000Z
src/zk/server/configuration.cpp
vexingcodes/zookeeper-cpp
9dce1fce5370ecfdad713caf411a5ae9b851db33
[ "Apache-2.0" ]
97
2017-08-09T23:08:41.000Z
2022-03-29T21:54:24.000Z
src/zk/server/configuration.cpp
vexingcodes/zookeeper-cpp
9dce1fce5370ecfdad713caf411a5ae9b851db33
[ "Apache-2.0" ]
38
2017-08-11T00:33:17.000Z
2021-05-13T09:19:27.000Z
#include "configuration.hpp" #include <cctype> #include <cstdlib> #include <fstream> #include <istream> #include <ostream> #include <regex> #include <sstream> #include <stdexcept> namespace zk::server { void server_id::ensure_valid() const { if (0U < value && value < 256U) return; std::ostringstream...
29.675214
120
0.585109
vexingcodes
e0191ad148d1c1e7de5278f9d3eaf613aeca3c19
347
hpp
C++
lib/NeuralNetwork/Layer/SoftmaxLayer.hpp
connorosburn/MNIST-Fashion-Classifier
0438de8ce6a8351304cfbe187e25f13e1917784e
[ "MIT" ]
4
2020-04-04T22:42:13.000Z
2020-04-07T23:20:58.000Z
lib/NeuralNetwork/Layer/SoftmaxLayer.hpp
connorosburn/MNIST-Fashion-Classifier
0438de8ce6a8351304cfbe187e25f13e1917784e
[ "MIT" ]
null
null
null
lib/NeuralNetwork/Layer/SoftmaxLayer.hpp
connorosburn/MNIST-Fashion-Classifier
0438de8ce6a8351304cfbe187e25f13e1917784e
[ "MIT" ]
null
null
null
#ifndef SOFTMAX_LAYER_HPP #define SOFTMAX_LAYER_HPP #include "Layer.hpp" class SoftmaxLayer : public Layer { public: SoftmaxLayer(std::vector<NeuronInterface> backInterfaces, int size): Layer(backInterfaces, size, false) {}; void forwardPropogate(); void backPropogate(const doubl...
24.785714
78
0.706052
connorosburn
e019f4efe027373e6279259d0bc123fd18ad22a7
6,219
hpp
C++
include/SGE/Keyboard.hpp
darwin-s/sge
20eff82f3ebedd5a7d871e0787025f03e49207d8
[ "Apache-2.0" ]
4
2020-04-07T21:00:13.000Z
2020-08-20T18:03:05.000Z
include/SGE/Keyboard.hpp
darwin-s/sge
20eff82f3ebedd5a7d871e0787025f03e49207d8
[ "Apache-2.0" ]
null
null
null
include/SGE/Keyboard.hpp
darwin-s/sge
20eff82f3ebedd5a7d871e0787025f03e49207d8
[ "Apache-2.0" ]
2
2020-05-07T23:10:16.000Z
2020-08-15T18:14:49.000Z
// Copyright 2020 Dan Sirbu // // 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 wr...
23.736641
115
0.560058
darwin-s
e026c4ecf1dc33a45bf7a07c2f0e633589f9e00d
12,947
cpp
C++
main.cpp
ProfFunami/AirplaneArrivalModel
c3b5c89a4ce98a42c5b1c89d97a386b499c524a6
[ "MIT" ]
1
2019-02-01T07:48:39.000Z
2019-02-01T07:48:39.000Z
main.cpp
ProfFunami/AirplaneArrivalModel
c3b5c89a4ce98a42c5b1c89d97a386b499c524a6
[ "MIT" ]
null
null
null
main.cpp
ProfFunami/AirplaneArrivalModel
c3b5c89a4ce98a42c5b1c89d97a386b499c524a6
[ "MIT" ]
null
null
null
#include <GLUT/glut.h> #include <cmath> #include <cstdlib> #include <cstdio> #include <algorithm> #include <vector> #include <deque> #include <string> #include <iostream> #include "main.hpp" #include "func.hpp" #include "method.hpp" #include "display.hpp" struct _State Airplane[N]; struct _Point A, ARRON, AWARD, ADDU...
47.774908
120
0.402564
ProfFunami
e029894ff1d77b95caeaf4819ec5b625bbf1b2c6
79
cpp
C++
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/PDF viewer showcase sample/C++/App/pch.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/PDF viewer showcase sample/C++/App/pch.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/PDF viewer showcase sample/C++/App/pch.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h"
19.75
60
0.734177
zzgchina888