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
7c4dacd300713e0332e3d0e768aba3ac88a59819
5,628
cpp
C++
src/specifics/playfield/AIController.cpp
LukerMaster/Grzybki-Gloniki-Bateryjki
60432acdf3c1a03561022bdb2a7f4c1f39cae4fb
[ "Apache-2.0" ]
null
null
null
src/specifics/playfield/AIController.cpp
LukerMaster/Grzybki-Gloniki-Bateryjki
60432acdf3c1a03561022bdb2a7f4c1f39cae4fb
[ "Apache-2.0" ]
null
null
null
src/specifics/playfield/AIController.cpp
LukerMaster/Grzybki-Gloniki-Bateryjki
60432acdf3c1a03561022bdb2a7f4c1f39cae4fb
[ "Apache-2.0" ]
null
null
null
#include "AIController.h" void AIController::AlgaeAI(sf::Vector2i pawn_pos, Playfield& env) { std::shared_ptr<Algae> pawn = env.GetAlgae(pawn_pos); pawn->AI_done = true; // For other classes to know that AI is done for this round. if (pawn->current_food > pawn->max_food * 0.8f && rand()%2) // DIVISION { sf::Ve...
24.363636
143
0.625444
LukerMaster
7c51f9a98a225b38af987d847be9264ebfb0018e
220
cpp
C++
src/CglModule.cpp
seanisom/flightsimlib
490c2db824edd5302fd39d4ab020759b2e01d282
[ "MIT" ]
3
2020-06-21T00:03:14.000Z
2021-09-19T15:20:48.000Z
src/CglModule.cpp
seanisom/flightsimlib
490c2db824edd5302fd39d4ab020759b2e01d282
[ "MIT" ]
1
2021-08-21T22:53:01.000Z
2021-08-24T02:13:59.000Z
src/CglModule.cpp
seanisom/flightsimlib
490c2db824edd5302fd39d4ab020759b2e01d282
[ "MIT" ]
null
null
null
#include "CglModule.h" #include "VectorTile.h" namespace flightsimlib::cgl { IVectorTile* CCglModuleV1::CreateVectorTile() const { // Simple factory - worry about wrapping another day return new VectorTile(); } }
13.75
53
0.740909
seanisom
7c619138e9e5b0fac8f438d7f503f67648034743
1,580
hpp
C++
source/gloperate/include/gloperate/resources/ResourceManager.hpp
apopiak/gloperate
b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd
[ "MIT" ]
null
null
null
source/gloperate/include/gloperate/resources/ResourceManager.hpp
apopiak/gloperate
b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd
[ "MIT" ]
null
null
null
source/gloperate/include/gloperate/resources/ResourceManager.hpp
apopiak/gloperate
b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd
[ "MIT" ]
null
null
null
#pragma once #include <gloperate/resources/ResourceManager.h> #include <gloperate/resources/Loader.h> #include <gloperate/resources/Storer.h> namespace gloperate { /** * @brief * Load resource from file */ template <typename T> T * ResourceManager::load(const std::string & filename) const { // Get file ext...
23.58209
77
0.607595
apopiak
7c61a037641f1c83d2af657e8db25257e29820a3
51,182
cpp
C++
roo_material_icons/round/48/search.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
roo_material_icons/round/48/search.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
roo_material_icons/round/48/search.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
#include "search.h" using namespace roo_display; // Image file ic_round_48_search_bathroom 48x48, 4-bit Alpha, RLE, 280 bytes. static const uint8_t ic_round_48_search_bathroom_data[] PROGMEM = { 0x80, 0xB8, 0x10, 0x81, 0x19, 0xCF, 0xFF, 0xFC, 0x81, 0xC8, 0x17, 0x20, 0x10, 0xE8, 0x0C, 0x0F, 0x0D, 0x01, 0x71, 0x0A...
75.601182
97
0.680493
dejwk
7c6b59f4376fd496e1f524b887f429a489899c19
2,585
hpp
C++
src/ObjectExplorer.hpp
muhopensores/RE2-Mod-Framework
0def991b598a83a488c0be1bcf78df81e265b8b6
[ "MIT" ]
1
2020-07-17T23:16:56.000Z
2020-07-17T23:16:56.000Z
src/ObjectExplorer.hpp
muhopensores/RE2-Mod-Framework
0def991b598a83a488c0be1bcf78df81e265b8b6
[ "MIT" ]
null
null
null
src/ObjectExplorer.hpp
muhopensores/RE2-Mod-Framework
0def991b598a83a488c0be1bcf78df81e265b8b6
[ "MIT" ]
null
null
null
#pragma once #include <unordered_set> #include <imgui/imgui.h> #include "utility/Address.hpp" #include "Mod.hpp" class ObjectExplorer : public Mod { public: ObjectExplorer(); std::string_view getName() const override { return "ObjectExplorer"; }; void onDrawUI() override; private: void handleAddr...
32.3125
113
0.706383
muhopensores
7c6f334af91369d7b421b1fef1ea6797a34c49b1
2,901
cpp
C++
dbms/src/Common/formatReadable.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Common/formatReadable.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Common/formatReadable.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, 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 law or agreed to i...
34.535714
135
0.705963
solotzg
7c7134b8c7349d5c887c889aed88a20a339efc19
8,800
cpp
C++
setsmgeo.cpp
khsa1/SETSM
c97389d04f4876e503251ad58129d9905f6cfc84
[ "Apache-2.0" ]
48
2017-02-24T15:30:08.000Z
2022-03-22T06:43:56.000Z
setsmgeo.cpp
khsa1/SETSM
c97389d04f4876e503251ad58129d9905f6cfc84
[ "Apache-2.0" ]
7
2018-01-30T18:09:34.000Z
2022-03-11T16:00:14.000Z
setsmgeo.cpp
khsa1/SETSM
c97389d04f4876e503251ad58129d9905f6cfc84
[ "Apache-2.0" ]
22
2017-03-03T02:52:40.000Z
2022-03-22T06:44:01.000Z
#include "setsmgeo.hpp" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include "math.h" #include <cmath> #define FLOAT 4 #define UCHAR 1 #define UINT16 12 #define N(a) (sizeof(a) / sizeof(a[0])) #define GDAL_NODATA 42113 static const TIFFFieldInfo xtiffFieldInfo[] = { { GDAL_NODATA, -1, -1, TIFF_ASCI...
32.835821
175
0.6175
khsa1
7c7590c3ea0025e22e22424fcbb91e0a6e3c337c
1,064
hpp
C++
include/conf.hpp
kaiyuhou/nprint-wlan
d8ded24a1f08087b8484f652215354f0202227f3
[ "Apache-2.0" ]
null
null
null
include/conf.hpp
kaiyuhou/nprint-wlan
d8ded24a1f08087b8484f652215354f0202227f3
[ "Apache-2.0" ]
null
null
null
include/conf.hpp
kaiyuhou/nprint-wlan
d8ded24a1f08087b8484f652215354f0202227f3
[ "Apache-2.0" ]
null
null
null
/* * Copyright nPrint 2020 * 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 https://www.apache.org/licenses/LICENSE-2.0 */ #ifndef CONF #define CONF #include <cstddef> #include <stdint.h>...
21.714286
78
0.601504
kaiyuhou
7c77c47fb95575942b84fb542f0969c9d79bb757
4,110
cpp
C++
test/stdgpu/contract.cpp
stotko/stdgpu
e10f6f3ccc9902d693af4380c3bcd188ec34a2e6
[ "Apache-2.0" ]
686
2019-08-18T19:31:30.000Z
2022-03-29T07:17:43.000Z
test/stdgpu/contract.cpp
intel-isl/stdgpu
0091cee675bf64eddf61523108e2e53a985e51ec
[ "Apache-2.0" ]
188
2019-10-29T09:50:38.000Z
2021-07-26T14:12:13.000Z
test/stdgpu/contract.cpp
intel-isl/stdgpu
0091cee675bf64eddf61523108e2e53a985e51ec
[ "Apache-2.0" ]
41
2019-10-29T09:56:30.000Z
2022-03-31T08:38:50.000Z
/* * Copyright 2020 Patrick Stotko * 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 agre...
26.688312
161
0.691971
stotko
75af4e8d4f1164c9d0b35ea1d1101e80fcc652eb
10,086
cpp
C++
src/generator/snippetfactory.cpp
ikitayama/cobi
e9bc4a5675ead1874ad9ffa953de8edb3a763479
[ "BSD-3-Clause" ]
null
null
null
src/generator/snippetfactory.cpp
ikitayama/cobi
e9bc4a5675ead1874ad9ffa953de8edb3a763479
[ "BSD-3-Clause" ]
null
null
null
src/generator/snippetfactory.cpp
ikitayama/cobi
e9bc4a5675ead1874ad9ffa953de8edb3a763479
[ "BSD-3-Clause" ]
1
2018-12-14T02:45:41.000Z
2018-12-14T02:45:41.000Z
/***************************************************************************** ** Cobi http://www.scalasca.org/ ** ***************************************************************************** ** Copyright (c) 2009-2010 ** ** ...
32.019048
119
0.530835
ikitayama
75b18bb321bc5d7cf9a2f30758f70c1cc65f3d41
2,251
cpp
C++
cpp/godot-cpp/src/gen/PrimitiveMesh.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/PrimitiveMesh.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/PrimitiveMesh.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "PrimitiveMesh.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "Material.hpp" namespace godot { PrimitiveMesh::___method_bindings PrimitiveMesh::___mb = {}; void PrimitiveMesh::___init_method_binding...
35.730159
115
0.791204
GDNative-Gradle
75b20b34e46ab9073ba9da9da3f6f7be5256eb99
1,165
cpp
C++
graph/src/pos.cpp
Kei18/grid-pathfinding
f444df84459258d7b4d8ceffdbbf2e201b042a68
[ "MIT" ]
2
2021-08-16T08:13:35.000Z
2022-03-11T05:52:27.000Z
graph/src/pos.cpp
Kei18/grid-pathfinding
f444df84459258d7b4d8ceffdbbf2e201b042a68
[ "MIT" ]
null
null
null
graph/src/pos.cpp
Kei18/grid-pathfinding
f444df84459258d7b4d8ceffdbbf2e201b042a68
[ "MIT" ]
null
null
null
#include "../include/pos.hpp" #include <cmath> #include <iomanip> #include <iostream> Pos::Pos(int _x, int _y) : x(_x), y(_y) {} Pos::~Pos() {} void Pos::print() const { std::cout << "(" << std::right << std::setw(3) << x << ", " << std::right << std::setw(3) << y << ")"; } void Pos::println() const ...
16.884058
75
0.559657
Kei18
75b3bb26b4830acd89ab68090c6bee29c2b8f80d
2,097
hpp
C++
fw/include/pin.hpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
fw/include/pin.hpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
fw/include/pin.hpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
#pragma once #include "callback.hpp" #include "Arduino.h" #ifndef CPUS_COUNT #define CPUS_COUNT 2 #endif class Pin { public: typedef uint8_t pin_num_t; typedef uint8_t pin_mode_t; typedef int intr_mode_t; typedef uint8_t Trigger; static constexpr pin_mode_t KEEP_CURRENT = 255; static conste...
25.573171
111
0.721984
cednik
75b3c8b3de8a618f3818cd8ce9b5a58c897875ee
270
cpp
C++
node_modules/lzz-gyp/lzz-source/basl_HasTokenSameLexeme.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/basl_HasTokenSameLexeme.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/basl_HasTokenSameLexeme.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// basl_HasTokenSameLexeme.cpp // #include "basl_HasTokenSameLexeme.h" #ifndef LZZ_ENABLE_INLINE #include "basl_HasTokenSameLexeme.inl" #endif #define LZZ_INLINE inline namespace basl { HasTokenSameLexeme::~ HasTokenSameLexeme () {} } #undef LZZ_INLINE
18
45
0.755556
SuperDizor
75b7b9c71e4f39df31ec65ad52140fb0666cccd2
73,086
cpp
C++
tests/das_tests/license_tests.cpp
powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
1
2021-07-26T02:42:01.000Z
2021-07-26T02:42:01.000Z
tests/das_tests/license_tests.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
tests/das_tests/license_tests.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...
47.489279
182
0.718017
powerchain-ltd
75c102afad795ec901a63a091ad77763c4f54e5a
1,121
cpp
C++
Graphics/FacesDescription.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
null
null
null
Graphics/FacesDescription.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-06-19T15:55:25.000Z
2019-06-27T07:47:27.000Z
Graphics/FacesDescription.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-07-07T04:37:56.000Z
2019-07-07T04:37:56.000Z
/* * Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include <cassert> #include "Graphics/FacesDescription.h" #include "...
27.341463
107
0.789474
SamirAroudj
75c59110479330941d68685696e94f44ea3fcbe3
18,135
cpp
C++
projects/qt_camera_visualizer/lib/MathMorph.cpp
givorra/TFGacel
bde9a2f296ca5ead52e45c2c01021898a54e2ed0
[ "CC0-1.0" ]
null
null
null
projects/qt_camera_visualizer/lib/MathMorph.cpp
givorra/TFGacel
bde9a2f296ca5ead52e45c2c01021898a54e2ed0
[ "CC0-1.0" ]
null
null
null
projects/qt_camera_visualizer/lib/MathMorph.cpp
givorra/TFGacel
bde9a2f296ca5ead52e45c2c01021898a54e2ed0
[ "CC0-1.0" ]
null
null
null
#include "MathMorph.h" MathMorph::MathMorph() {} /* MY_POINT_CLOUD::Ptr MathMorph::camera_dilate(MY_POINT_CLOUD::Ptr cloud_ptr, double size) { //pcl::search::KdTree<MY_POINT_TYPE>::Ptr tree (new pcl::search::KdTree<MY_POINT_TYPE> ()); MY_POINT_CLOUD::Ptr cloud_out(new MY_POINT_CLOUD(*cloud_ptr)); MY_POIN...
45.451128
208
0.5941
givorra
75c7f3a0c39058035a4eb5f0aa3e0c896d12f8a6
1,261
hpp
C++
include/boost/simd/function/cotd.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/cotd.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/cotd.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
23.351852
100
0.593973
yaeldarmon
75c8be2e1c6af6eb50c8dcd7b49ea443a8e0554e
2,027
hh
C++
utilmm/plugin/abstract_factory.hh
annaborn/utilmm
701f0fe8312471d20dd06e567b988de2e5a67d1a
[ "CECILL-B" ]
null
null
null
utilmm/plugin/abstract_factory.hh
annaborn/utilmm
701f0fe8312471d20dd06e567b988de2e5a67d1a
[ "CECILL-B" ]
3
2015-12-22T16:59:15.000Z
2020-03-11T12:10:19.000Z
utilmm/plugin/abstract_factory.hh
annaborn/utilmm
701f0fe8312471d20dd06e567b988de2e5a67d1a
[ "CECILL-B" ]
2
2015-12-22T14:26:35.000Z
2020-02-28T10:33:29.000Z
// Copyright Vladimir Prus 2004. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_ABSTRACT_FACTORY_VP_2004_08_25 #define BOOST_ABSTRACT_FACTORY_VP_2004_08_25 #include <boost/mpl/inherit_linearly.hp...
29.808824
75
0.695609
annaborn
75cbfe87549a68f7fb8a2aa6fe31c6621ce6d9cd
3,970
cpp
C++
Source/Clang-Tools/AutoBinder/AutoBinder.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
Source/Clang-Tools/AutoBinder/AutoBinder.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
1
2021-04-17T22:38:25.000Z
2021-04-18T00:43:15.000Z
Source/Clang-Tools/AutoBinder/AutoBinder.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2021 the Urho3D project // Copyright (c) 2021 проект Dviglo // Лицензия: MIT #include <clang/ASTMatchers/ASTMatchFinder.h> #include <clang/Driver/Options.h> #include <clang/Tooling/CommonOptionsParser.h> #include <clang/Tooling/Tooling.h> #include <Mustache/mustache.hpp> #include <unordered_set...
35.446429
131
0.680353
1vanK
75cc941279d3c25e49c3182b3e967c97116a23dc
940
cpp
C++
src/draw_sprite.cpp
pabloariasal/chip8emulator
4877915967e48f807a490b396490e6424081f027
[ "MIT" ]
null
null
null
src/draw_sprite.cpp
pabloariasal/chip8emulator
4877915967e48f807a490b396490e6424081f027
[ "MIT" ]
null
null
null
src/draw_sprite.cpp
pabloariasal/chip8emulator
4877915967e48f807a490b396490e6424081f027
[ "MIT" ]
null
null
null
#include "draw_sprite.h" #include <array> namespace { bool isPixelSet(int index, uint8_t row) { row >>= 7 - index; return (row & 0x01u) == 1; } bool invertColor(Color& color) { if (color == Color::BLACK) { color = Color::WHITE; return true; } color = Color::BLACK; return false; } } // namespace...
21.363636
73
0.571277
pabloariasal
75cd507f7cab2ea546c93e23e8415e01ed070181
9,528
cpp
C++
src/strategy/actions/CheckMountStateAction.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
12
2022-03-23T05:14:53.000Z
2022-03-30T12:12:58.000Z
src/strategy/actions/CheckMountStateAction.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
24
2022-03-23T13:56:37.000Z
2022-03-31T18:23:32.000Z
src/strategy/actions/CheckMountStateAction.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
3
2022-03-24T21:47:10.000Z
2022-03-31T06:21:46.000Z
/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version. */ #include "CheckMountStateAction.h" #include "BattlegroundWS.h" #include "Event.h" #include "Playerbots.h" ...
34.647273
205
0.599076
htc16
75cdb3d1bb14ee3edb3b6075340d332f3525bd9f
5,199
cpp
C++
SerialGraphicLCDTouchScreen/lib/src/touchscreen.cpp
scottmccain/serial_tft
964da5120d7b10b00c52c3a46a0ac4878363da39
[ "MIT" ]
null
null
null
SerialGraphicLCDTouchScreen/lib/src/touchscreen.cpp
scottmccain/serial_tft
964da5120d7b10b00c52c3a46a0ac4878363da39
[ "MIT" ]
null
null
null
SerialGraphicLCDTouchScreen/lib/src/touchscreen.cpp
scottmccain/serial_tft
964da5120d7b10b00c52c3a46a0ac4878363da39
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2016 Scott McCain 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,...
26.937824
143
0.620504
scottmccain
75d80b4be17142909ea94e127db032dcd9e9b6ee
11,554
cpp
C++
src/Ops.cpp
omi-lab/tp_caffe2_utils
8874aca09c3aeaa3a1e7544798089fe8cf85866f
[ "MIT" ]
null
null
null
src/Ops.cpp
omi-lab/tp_caffe2_utils
8874aca09c3aeaa3a1e7544798089fe8cf85866f
[ "MIT" ]
null
null
null
src/Ops.cpp
omi-lab/tp_caffe2_utils
8874aca09c3aeaa3a1e7544798089fe8cf85866f
[ "MIT" ]
null
null
null
#include "tp_caffe2_utils/Ops.h" #include "tp_caffe2_utils/FillOps.h" #include "tp_caffe2_utils/ArgUtils.h" #include "tp_caffe2_utils/ModelDetails.h" namespace tp_caffe2_utils { //################################################################################################## caffe2::OperatorDef* addActivationOp(ca...
37.391586
127
0.478968
omi-lab
75e28760017aaede95f352577641cf4f6e42e44c
1,813
cc
C++
src/calcfn.cc
HardGraphite/SimpleCalculator
e72e7ec0177379638ff90adeff574ae4b9a073f7
[ "MIT" ]
null
null
null
src/calcfn.cc
HardGraphite/SimpleCalculator
e72e7ec0177379638ff90adeff574ae4b9a073f7
[ "MIT" ]
null
null
null
src/calcfn.cc
HardGraphite/SimpleCalculator
e72e7ec0177379638ff90adeff574ae4b9a073f7
[ "MIT" ]
null
null
null
#include <calcfn.h> using namespace hgl::calc; double _calc_add(CalcFn::OprdList oprds); double _calc_sub(CalcFn::OprdList oprds); double _calc_mul(CalcFn::OprdList oprds); double _calc_div(CalcFn::OprdList oprds); double _calc_neg(CalcFn::OprdList oprds); double _calc_log10(CalcFn::OprdList...
28.328125
49
0.605626
HardGraphite
75e4a5b8086f2886170c7912f8a0841f3e06a489
2,335
hh
C++
src/core/wakeup_detector.hh
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
src/core/wakeup_detector.hh
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
src/core/wakeup_detector.hh
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
28.47561
112
0.716916
nugulinux
75ed90694863749a3bafa7c306951d08d446a6d4
3,545
cpp
C++
src/URDriver_receiver-component.cpp
AliRoshanbin/URDriver-1
7ed462ff86e242de1e8d148a13a489340cbe6a3e
[ "MIT" ]
3
2016-03-09T10:06:10.000Z
2021-11-10T16:26:40.000Z
src/URDriver_receiver-component.cpp
AliRoshanbin/URDriver-1
7ed462ff86e242de1e8d148a13a489340cbe6a3e
[ "MIT" ]
null
null
null
src/URDriver_receiver-component.cpp
AliRoshanbin/URDriver-1
7ed462ff86e242de1e8d148a13a489340cbe6a3e
[ "MIT" ]
4
2017-02-09T11:00:16.000Z
2021-04-01T13:34:43.000Z
#include "URDriver_receiver-component.hpp" #include <rtt/Component.hpp> #include <iostream> using namespace RTT; URDriver_receiver::URDriver_receiver(std::string const& name) : TaskContext(name,PreOperational) , port_number(30002) // ali: it was 30002 , prop_address("192.168.1.102") , v6(6,0.0) { addProperty("port_nu...
28.36
109
0.711425
AliRoshanbin
75edb62133bc2df4c8124505999a61191d189a78
449
cpp
C++
01-Question_after_WangDao/Chapter_02/2.3/T03.cpp
ysl970629/kaoyan_data_structure
d0a469bf0e9e7040de21eca38dc19961aa7e9a53
[ "MIT" ]
2
2021-03-24T03:29:16.000Z
2022-03-29T16:34:30.000Z
01-Question_after_WangDao/Chapter_02/2.3/T03.cpp
ysl2/kaoyan-data-structure
d0a469bf0e9e7040de21eca38dc19961aa7e9a53
[ "MIT" ]
null
null
null
01-Question_after_WangDao/Chapter_02/2.3/T03.cpp
ysl2/kaoyan-data-structure
d0a469bf0e9e7040de21eca38dc19961aa7e9a53
[ "MIT" ]
null
null
null
// 2020-10-06 #include <iostream> using namespace std; typedef int ElemType; typedef struct LinkNode { ElemType data; struct LinkNode *next; } LinkNode, *LinkList; void printList(LinkList L) { if (L == NULL) return; printList(L->next); cout << L->data << " "; } // ------------------------...
17.269231
57
0.512249
ysl970629
75f318d301b96a725a04117946d4ccb556f1e250
722
cpp
C++
10-regular-expression-matching/10-regular-expression-matching.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
10-regular-expression-matching/10-regular-expression-matching.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
10-regular-expression-matching/10-regular-expression-matching.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
class Solution { public: bool isMatch(string s, string p) { vector<vector<int>> dp(s.length()+1,vector<int>(p.length()+1,0)); dp[s.length()][p.length()]=1; for(int i=s.length();i>=0;i--) { for(int j=p.length()-1;j>=0;j--) { bool first_...
28.88
76
0.33518
SouvikChan
75f4b354b893e8deb3a0a69f8a37ee920203c5cc
422
hpp
C++
asyncio/loop/future.hpp
zhanglix/asyncio
6415e1510bf582b915e74a0b9ba0b66905da250d
[ "MIT" ]
36
2017-07-22T06:08:38.000Z
2022-03-23T10:04:31.000Z
asyncio/loop/future.hpp
zhanglix/asyncio
6415e1510bf582b915e74a0b9ba0b66905da250d
[ "MIT" ]
1
2021-01-17T08:41:50.000Z
2021-01-20T19:58:02.000Z
asyncio/loop/future.hpp
zhanglix/asyncio
6415e1510bf582b915e74a0b9ba0b66905da250d
[ "MIT" ]
8
2017-07-28T13:26:12.000Z
2021-01-20T06:45:39.000Z
#pragma once #include <asyncio/common.hpp> #include <functional> #include "handle_base.hpp" BEGIN_ASYNCIO_NAMESPACE; class FutureBase : public BasicHandle { public: virtual void release() = 0; using DoneCallback = std::function<void(FutureBase *)>; virtual void setDoneCallback(DoneCallback) = 0; }; template ...
19.181818
57
0.739336
zhanglix
75f69b2661f8576081c31aa2bc7a13c51bc88073
1,352
hpp
C++
include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp
angriman/network
3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894
[ "MIT" ]
366
2019-06-27T18:48:18.000Z
2022-03-29T08:36:49.000Z
include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp
angriman/network
3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894
[ "MIT" ]
387
2019-06-24T11:30:39.000Z
2022-03-31T10:37:28.000Z
include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp
angriman/network
3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894
[ "MIT" ]
131
2019-07-04T15:40:13.000Z
2022-03-29T12:34:23.000Z
/* * OverlappingCommunityDetectionAlgorithm.hpp * * Created on: 14.12.2020 * Author: John Gelhausen */ #ifndef NETWORKIT_COMMUNITY_OVERLAPPING_COMMUNITY_DETECTION_ALGORITHM_HPP_ #define NETWORKIT_COMMUNITY_OVERLAPPING_COMMUNITY_DETECTION_ALGORITHM_HPP_ #include <networkit/base/Algorithm.hpp> #include <netw...
26
99
0.727071
angriman
75ffdaa1b2a817749cdd23bc8795114f24a269e1
2,085
cpp
C++
src/main.cpp
jasonwnorris/QuadTree
6ddca00e047d05badd3143804a79652b20db599d
[ "MIT" ]
null
null
null
src/main.cpp
jasonwnorris/QuadTree
6ddca00e047d05badd3143804a79652b20db599d
[ "MIT" ]
null
null
null
src/main.cpp
jasonwnorris/QuadTree
6ddca00e047d05badd3143804a79652b20db599d
[ "MIT" ]
null
null
null
// main.cpp #include <SDL2\SDL.h> #include <iostream> #include <time.h> #include "QuadTree.hpp" int main(int argc, char** argv) { srand(static_cast<unsigned int>(time(nullptr))); SDL_Init(SDL_INIT_EVERYTHING); SDL_Window* window = SDL_CreateWindow("QuadTree", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800...
21.494845
144
0.630216
jasonwnorris
2f007aca3a6857d2c0c414c3c9583d1a3bf14ad2
1,891
hpp
C++
src/objects/Pokemon.hpp
MrtnNmck/Pokemon-3D
50451f91999fe9168e8f520748e39b7e9099624a
[ "Apache-2.0" ]
4
2017-08-25T10:55:44.000Z
2018-05-30T06:39:23.000Z
src/objects/Pokemon.hpp
MrtnNmck/Pokemon-3D
50451f91999fe9168e8f520748e39b7e9099624a
[ "Apache-2.0" ]
1
2021-09-14T10:52:03.000Z
2021-09-14T10:52:03.000Z
src/objects/Pokemon.hpp
MrtnNmck/Pokemon-3D
50451f91999fe9168e8f520748e39b7e9099624a
[ "Apache-2.0" ]
null
null
null
// // Created by Martin on 30. 11. 2015. // #ifndef POKEMON3D_POKEMON_HPP #define POKEMON3D_POKEMON_HPP #include <random> #include "src/objects/MainCharacter.h" #include "src/objects/Attack.hpp" #include "src/animations/Animation.hpp" class Pokemon : public MainCharacter { protected: // TODO: v MainCharacter z...
36.365385
122
0.720783
MrtnNmck
2f07e3a0ae955df41c302afc414f072f60c30670
41,398
cpp
C++
src/ssGUI/Extensions/Dockable.cpp
Neko-Box-Coder/ssGUI
25e218fd79fea105a30737a63381cf8d0be943f6
[ "Apache-2.0" ]
15
2022-01-21T10:48:04.000Z
2022-03-27T17:55:11.000Z
src/ssGUI/Extensions/Dockable.cpp
Neko-Box-Coder/ssGUI
25e218fd79fea105a30737a63381cf8d0be943f6
[ "Apache-2.0" ]
null
null
null
src/ssGUI/Extensions/Dockable.cpp
Neko-Box-Coder/ssGUI
25e218fd79fea105a30737a63381cf8d0be943f6
[ "Apache-2.0" ]
4
2022-01-21T10:48:05.000Z
2022-01-22T15:42:34.000Z
#include "ssGUI/Extensions/Dockable.hpp" #include "ssGUI/ssGUITags.hpp" #include "ssGUI/Extensions/AdvancedPosition.hpp" #include "ssGUI/Extensions/AdvancedSize.hpp" #include "ssGUI/Extensions/Layout.hpp" #include "ssGUI/Extensions/Docker.hpp" #include "ssGUI/EventCallbacks/WindowDragStateChangedEventCallback.hpp" na...
45.194323
221
0.639089
Neko-Box-Coder
2f0bc0be826246498f44a6c70dde094c30512d9a
1,169
cpp
C++
state/state.cpp
iceylala/design-pattern
62865dd8ede485be874556233b0d9469139fdc85
[ "MIT" ]
null
null
null
state/state.cpp
iceylala/design-pattern
62865dd8ede485be874556233b0d9469139fdc85
[ "MIT" ]
null
null
null
state/state.cpp
iceylala/design-pattern
62865dd8ede485be874556233b0d9469139fdc85
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Work; class State { public: virtual void change(Work* w)=0; }; class TwoSite:public State { public: void change(Work *w); }; class Work { private: State* sit; string element; public: Work(); void set(const string &temp){ element = temp; } string&...
12.706522
33
0.558597
iceylala
2f0dc06bf74d53c2241e925133b4488d8bb05f4a
18,977
cpp
C++
JustinGXEngine/JustinGXEngine.cpp
jdsilv17/Custom-Engine
823f021aa2efceb80aa426f3f3eae9da2769ccef
[ "MIT" ]
null
null
null
JustinGXEngine/JustinGXEngine.cpp
jdsilv17/Custom-Engine
823f021aa2efceb80aa426f3f3eae9da2769ccef
[ "MIT" ]
null
null
null
JustinGXEngine/JustinGXEngine.cpp
jdsilv17/Custom-Engine
823f021aa2efceb80aa426f3f3eae9da2769ccef
[ "MIT" ]
null
null
null
#include "JustinGXEngine.h" bool Engine::Initialize(HINSTANCE hInstance, int nCmdShow) { // Initialize global strings LoadStringW(hInstance, IDS_APP_TITLE, this->szTitle, MAX_LOADSTRING); LoadStringW(hInstance, IDC_JUSTINGXENGINE, this->szWindowClass, MAX_LOADSTRING); this->MyRegisterClass(hInstance);...
44.235431
173
0.622965
jdsilv17
2f2203c7f3b0c62eabf2ab4d256b23140f6fa9f9
705
cpp
C++
Anagram_or_Not.cpp
UndefeatedSunny/C-Interview-Problems
5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f
[ "MIT" ]
4
2020-02-25T19:02:46.000Z
2021-04-17T09:13:51.000Z
Anagram_or_Not.cpp
UndefeatedSunny/C-Interview-Problems
5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f
[ "MIT" ]
null
null
null
Anagram_or_Not.cpp
UndefeatedSunny/C-Interview-Problems
5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f
[ "MIT" ]
2
2021-01-08T07:25:35.000Z
2021-04-17T09:14:57.000Z
#include<bits/stdc++.h> using namespace std; int main() { char str1[20],str2[20]; int len,len1,len2,found=0,not_found=0; cout<<"Enter first string :"; cin>>str1; cout<<"Enter second string :"; cin>>str2; len1=strlen(str1); len2=strlen(str2); if(len1==len2) { len=len1; for(int i=0;i<len;i++) { found=0...
14.6875
70
0.567376
UndefeatedSunny
2f255f3cf7d7bf0b6f7124b69a0159fc9eab240c
2,835
cpp
C++
cpp/stl_vector.cpp
BigDataAnalyticsGroup/rewiring
5ab07812a8c95a5a2e6450f359d158765e8e0ac3
[ "Apache-2.0" ]
3
2020-10-29T09:12:17.000Z
2022-03-07T07:25:25.000Z
cpp/stl_vector.cpp
FMSchuhknecht/rewiring
5ab07812a8c95a5a2e6450f359d158765e8e0ac3
[ "Apache-2.0" ]
null
null
null
cpp/stl_vector.cpp
FMSchuhknecht/rewiring
5ab07812a8c95a5a2e6450f359d158765e8e0ac3
[ "Apache-2.0" ]
2
2019-06-14T13:23:01.000Z
2020-12-02T11:43:57.000Z
/* * Copyright 2016 Information Systems Group, Saarland University 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 o...
26.009174
92
0.67866
BigDataAnalyticsGroup
2f2763fe8a6430ea69494b5c660b0774856c6cb2
1,636
cpp
C++
code/1073.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/1073.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/1073.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } struct TreeNod...
24.41791
69
0.441932
Nightwish-cn
2f27b899e809dba06ded9f4f410b2ad126cbf2ed
9,788
cpp
C++
Source/HeliumRain/Game/FlareFleet.cpp
eaglesquads/HeliumRain
74e70482f8d93158ab819406086a513452eee555
[ "BSD-3-Clause" ]
1
2020-02-21T20:11:06.000Z
2020-02-21T20:11:06.000Z
Source/HeliumRain/Game/FlareFleet.cpp
eaglesquads/HeliumRain
74e70482f8d93158ab819406086a513452eee555
[ "BSD-3-Clause" ]
null
null
null
Source/HeliumRain/Game/FlareFleet.cpp
eaglesquads/HeliumRain
74e70482f8d93158ab819406086a513452eee555
[ "BSD-3-Clause" ]
null
null
null
#include "../Flare.h" #include "FlareFleet.h" #include "FlareCompany.h" #include "FlareGame.h" #include "../Player/FlarePlayerController.h" #include "FlareSimulatedSector.h" #define LOCTEXT_NAMESPACE "FlareFleet" /*---------------------------------------------------- Constructor ----------------------------------...
21.995506
205
0.678075
eaglesquads
2f2a375aefbdd9e9c8fc035a4e34818f164495cd
8,026
cpp
C++
PhotonChat/LoadBalancing-cpp/src/Player.cpp
anhtrangg/PhotonChat
4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9
[ "MIT" ]
null
null
null
PhotonChat/LoadBalancing-cpp/src/Player.cpp
anhtrangg/PhotonChat
4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9
[ "MIT" ]
null
null
null
PhotonChat/LoadBalancing-cpp/src/Player.cpp
anhtrangg/PhotonChat
4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9
[ "MIT" ]
null
null
null
/* Exit Games Photon LoadBalancing - C++ Client Lib * Copyright (C) 2004-2020 by Exit Games GmbH. All rights reserved. * http://www.photonengine.com * mailto:developer@photonengine.com */ #include "LoadBalancing-cpp/inc/Player.h" #include "LoadBalancing-cpp/inc/MutableRoom.h" #include "LoadBalancing-cpp/in...
37.680751
254
0.704585
anhtrangg
2f2d19d613585ae90d9f868483c6d5e4c5517f44
2,157
hpp
C++
hdbitset-examples/Lottery/HybridOpenMpAndMPI/LotteryMPI.hpp
FinalLabsOrg/HdBitset
9ba2ad36f9bfc7c3f56233cc19d7a8d7fc613196
[ "MIT" ]
null
null
null
hdbitset-examples/Lottery/HybridOpenMpAndMPI/LotteryMPI.hpp
FinalLabsOrg/HdBitset
9ba2ad36f9bfc7c3f56233cc19d7a8d7fc613196
[ "MIT" ]
null
null
null
hdbitset-examples/Lottery/HybridOpenMpAndMPI/LotteryMPI.hpp
FinalLabsOrg/HdBitset
9ba2ad36f9bfc7c3f56233cc19d7a8d7fc613196
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <mpi.h> #include "hd.h" using namespace std; using namespace hyperdimensional; class LotteryMPI { public: template<unsigned uSize> static void decode(unsigned char* pTransfer, shared_ptr < hdbitset<uSize> > pTarget); template<unsigned uSize> static shared_ptr ...
24.793103
94
0.683357
FinalLabsOrg
2f2ee8bf840e08ee139cb83907aac4df2503553c
220
cpp
C++
nekoichi/SDK/spi.cpp
ecilasun/riscvtool
82a6184f2187044c6be81576d00cacb95a518cbc
[ "MIT" ]
1
2021-10-05T20:30:50.000Z
2021-10-05T20:30:50.000Z
nekoichi/SDK/spi.cpp
ecilasun/riscvtool
82a6184f2187044c6be81576d00cacb95a518cbc
[ "MIT" ]
null
null
null
nekoichi/SDK/spi.cpp
ecilasun/riscvtool
82a6184f2187044c6be81576d00cacb95a518cbc
[ "MIT" ]
1
2021-04-02T22:24:04.000Z
2021-04-02T22:24:04.000Z
#include "spi.h" volatile uint8_t *IO_SPIOutput = (volatile uint8_t* )0x80000014; // SPU send data (write) volatile uint8_t *IO_SPIInput = (volatile uint8_t* )0x80000010; // SPI receive data (read)
44
101
0.672727
ecilasun
2f2f363a4ec7d828617dd49cb8ab40ba7164e0f6
95
cpp
C++
tast/main.cpp
lymslive/fast-cpp-csv-parser
d090446dd9185498c386cf04a5e54e6fa0d5a62e
[ "BSD-3-Clause" ]
null
null
null
tast/main.cpp
lymslive/fast-cpp-csv-parser
d090446dd9185498c386cf04a5e54e6fa0d5a62e
[ "BSD-3-Clause" ]
null
null
null
tast/main.cpp
lymslive/fast-cpp-csv-parser
d090446dd9185498c386cf04a5e54e6fa0d5a62e
[ "BSD-3-Clause" ]
null
null
null
#include "tinytast.hpp" int main(int argc, char* argv[]) { return RUN_TAST(argc, argv); }
13.571429
32
0.652632
lymslive
2f3350442104652be8d1ccf6f421c76a40935adf
1,598
cpp
C++
PRATICA2/TesteFiguras2.cpp
JP-Clemente/INF213_UFV
8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d
[ "MIT" ]
2
2020-11-29T08:06:31.000Z
2020-12-04T13:35:17.000Z
PRATICA2/TesteFiguras2.cpp
JP-Clemente/INF213_UFV
8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d
[ "MIT" ]
null
null
null
PRATICA2/TesteFiguras2.cpp
JP-Clemente/INF213_UFV
8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d
[ "MIT" ]
null
null
null
/* --------------- Arquivo|: TestaFiguras3.cpp ----------------- Testa as classes Retangulo, Circulo e Segemento usando heranca. Criado por Marcus V. A. Andrade - 21/05/2014 Atualizado por Marcus V. A. Andrade - 21/03/2016 */ #include <cstdlib> #include <iostream> #include "Circulo.h" #include "Retangulo.h"...
21.306667
65
0.496871
JP-Clemente
2f351b4bb20eaa74d5d140443ef68bd82368e304
1,019
hh
C++
src/services/IClock.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
71
2018-04-15T13:02:43.000Z
2022-03-26T11:19:18.000Z
src/services/IClock.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
309
2018-04-15T12:10:59.000Z
2022-01-22T20:13:04.000Z
src/services/IClock.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
17
2018-04-17T16:09:31.000Z
2022-03-04T08:49:03.000Z
#ifndef RA_SERVICES_ICLOCK_HH #define RA_SERVICES_ICLOCK_HH #pragma once namespace ra { namespace services { class IClock { public: virtual ~IClock() noexcept = default; IClock(const IClock&) noexcept = delete; IClock& operator=(const IClock&) noexcept = delete; IClock(IClock&&) noexcept = delete; ...
27.540541
108
0.683023
Jamiras
2f3ca2f463d421cf97c7bdc62b05ab686f70895f
1,082
cc
C++
utils/file_loader.cc
stryku/cougar
5352860e89261a6dadd45a2b7b2c6ae421322c0c
[ "Apache-2.0" ]
null
null
null
utils/file_loader.cc
stryku/cougar
5352860e89261a6dadd45a2b7b2c6ae421322c0c
[ "Apache-2.0" ]
4
2021-05-02T08:27:25.000Z
2021-05-15T08:37:26.000Z
utils/file_loader.cc
stryku/cougar
5352860e89261a6dadd45a2b7b2c6ae421322c0c
[ "Apache-2.0" ]
1
2021-04-24T20:20:58.000Z
2021-04-24T20:20:58.000Z
#include "file_loader.hh" #include <fmt/core.h> #include <cerrno> #include <cstdio> #include <stdexcept> namespace Cougar::Utils { static constexpr std::size_t CHUNK_SIZE = 1000 * 1024; void FileLoader::load(const std::string &path) { clear(); FILE *f = std::fopen(path.c_str(), "r"); if (!f) { throw std...
19.321429
78
0.585952
stryku
2f3ca9a186b1b3c23b8b397365a41f6c879fe4d8
1,717
cpp
C++
source/POSIX/XMutex.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
source/POSIX/XMutex.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
source/POSIX/XMutex.cpp
MultiSight/multisight-xsdk
02268e1aeb1313cfb2f9515d08d131a4389e49f2
[ "BSL-1.0" ]
null
null
null
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // XSDK // Copyright (c) 2015 Schneider Electric // // Use, modification, and distribution is subject to the Boost Software License, // Version 1.0 (See accompanying file LICENSE). // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
24.183099
89
0.57484
MultiSight
2f496817196fe59b0899d0260cd12eebb9812356
366
hpp
C++
liblava/util.hpp
liblava/liblava
0e99beb14b9fb32e9bbfa851903cee3110e5c605
[ "MIT" ]
471
2019-09-22T19:12:55.000Z
2022-03-24T23:25:23.000Z
liblava/util.hpp
Cons-Cat/liblava
d6551232320f45df231f444441716b772a48a612
[ "MIT" ]
68
2019-10-25T15:22:00.000Z
2022-03-24T08:52:16.000Z
liblava/util.hpp
Cons-Cat/liblava
d6551232320f45df231f444441716b772a48a612
[ "MIT" ]
31
2019-10-25T12:22:21.000Z
2022-03-28T15:49:11.000Z
/** * @file liblava/util.hpp * @brief Util module * @author Lava Block OÜ and contributors * @copyright Copyright (c) 2018-present, MIT License */ #pragma once #include <liblava/util/log.hpp> #include <liblava/util/random.hpp> #include <liblava/util/telegram.hpp> #include <liblava/util/th...
24.4
56
0.68306
liblava
2f4ea30ffc57199857cf483cf9fbf937aa94aa36
1,172
cpp
C++
Marx/include/Marx/Renderer/Renderer.cpp
TecStylos/Marx
e4903ec6463ceb30614d046db145db2a4fd70133
[ "Apache-2.0" ]
null
null
null
Marx/include/Marx/Renderer/Renderer.cpp
TecStylos/Marx
e4903ec6463ceb30614d046db145db2a4fd70133
[ "Apache-2.0" ]
null
null
null
Marx/include/Marx/Renderer/Renderer.cpp
TecStylos/Marx
e4903ec6463ceb30614d046db145db2a4fd70133
[ "Apache-2.0" ]
1
2021-01-06T20:23:41.000Z
2021-01-06T20:23:41.000Z
#include "mxpch.h" #include "Renderer.h" namespace Marx { Renderer::SceneData* Renderer::s_sceneData = new Renderer::SceneData; void Renderer::init() { RenderCommand::init(); } void Renderer::beginScene(const OrthographicCamera& camera) { s_sceneData->viewProjectionMatrix = glm::transpose(camera.getViewPro...
26.044444
155
0.74744
TecStylos
2f508a584876ff1d3d6bbf308c715523958b1f7a
26,962
cpp
C++
lib/Ntreev.Windows.Forms.Grid/NativeClasses.cpp
NtreevSoft/GridControl
decb1169d9b230ce93be1f0e96305161f2a8d655
[ "MIT" ]
2
2018-04-30T06:25:37.000Z
2018-05-12T20:29:10.000Z
lib/Ntreev.Windows.Forms.Grid/NativeClasses.cpp
NtreevSoft/GridControl
decb1169d9b230ce93be1f0e96305161f2a8d655
[ "MIT" ]
null
null
null
lib/Ntreev.Windows.Forms.Grid/NativeClasses.cpp
NtreevSoft/GridControl
decb1169d9b230ce93be1f0e96305161f2a8d655
[ "MIT" ]
null
null
null
//===================================================================================================================== // Ntreev Grid for .Net 2.0.5190.32793 // https://github.com/NtreevSoft/GridControl // // Released under the MIT License. // // Copyright (c) 2010 Ntreev Soft co., Ltd. // // Permission is...
33.245376
169
0.605296
NtreevSoft
0174fd08d5828c39dc60ea261595bee6764a9344
1,686
cpp
C++
Introductory Problems/grid_paths.cpp
vjerin/CSES-Problem-Set
68070812fa1d27e4653f58dcdabed56188a45110
[ "Apache-2.0" ]
null
null
null
Introductory Problems/grid_paths.cpp
vjerin/CSES-Problem-Set
68070812fa1d27e4653f58dcdabed56188a45110
[ "Apache-2.0" ]
10
2020-10-02T10:28:22.000Z
2020-10-09T18:30:56.000Z
Introductory Problems/grid_paths.cpp
vjerin/CSES-Problem-Set
68070812fa1d27e4653f58dcdabed56188a45110
[ "Apache-2.0" ]
10
2020-10-02T11:16:32.000Z
2020-10-08T18:31:18.000Z
#include <bits/stdc++.h> #define int long long #define MOD 1000000007 using namespace std; int res = 0; bool empty(bool grid[7][7], int r, int c) { if(r < 0 || r >= 7 || c < 0 || c >= 7) { return false; } if(grid[r][c]) { return false; } return true; } void get_paths(bool grid...
24.794118
120
0.422301
vjerin
01803520c752c9207288e4addc2ed994433faed9
1,473
cpp
C++
extra/news/src/apk/htxn/axfd/axfd/axfd-document.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/htxn/axfd/axfd/axfd-document.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/htxn/axfd/axfd/axfd-document.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
// Copyright Nathaniel Christen 2019. // 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 "axfd-document.h" #include "axfd-tile-scope.h" USING_KANS(AXFD) AXFD_Document::AXFD_D...
21.661765
81
0.715547
scignscape
018188d65127b42feddb814bccbe94816bad407c
315
cc
C++
below2.1/magictrick.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/magictrick.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/magictrick.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <map> using namespace std; int main(){ string str; cin>>str; map<char,int> gtc; for (int i = 0; i < str.length(); i++) { if(gtc[str[i]]!=0){ cout<<0; return 0; } gtc[str[i]]++; } cout<<1; return 0; }
15
42
0.434921
danzel-py
0181b1a7e39a58bd7134d70dcc9a3accf02f9ad7
3,853
cpp
C++
Corpos Space/src/game/menu/Menu.cpp
Tomislaw/corpos
bf971cba98a92b8de68547d4f77252f645c9ef28
[ "MIT" ]
null
null
null
Corpos Space/src/game/menu/Menu.cpp
Tomislaw/corpos
bf971cba98a92b8de68547d4f77252f645c9ef28
[ "MIT" ]
null
null
null
Corpos Space/src/game/menu/Menu.cpp
Tomislaw/corpos
bf971cba98a92b8de68547d4f77252f645c9ef28
[ "MIT" ]
null
null
null
#include "Menu.hpp" #include "game/main/Game.hpp" using namespace corpos; void Menu::init() { menuList.setOptimalHeight(300); std::shared_ptr <MenuLabel> labelStart = std::make_shared<MenuLabel>(); labelStart->getLabel().setString("Start game"); labelStart->setOnClikAction([&]() { GameAssetsManager::loadTexture...
36.695238
148
0.717623
Tomislaw
0183801b730cc225e2dd9d50d57ff6f1487bf607
278
cpp
C++
SRGB/src/main.cpp
danimtz/RendererGoBrrr
89b179ec048f751c9078f267cd989d1bcc041d8b
[ "MIT" ]
null
null
null
SRGB/src/main.cpp
danimtz/RendererGoBrrr
89b179ec048f751c9078f267cd989d1bcc041d8b
[ "MIT" ]
null
null
null
SRGB/src/main.cpp
danimtz/RendererGoBrrr
89b179ec048f751c9078f267cd989d1bcc041d8b
[ "MIT" ]
null
null
null
#include <iostream> #include "Application.h" #include "Mesh.h" #include "OBJLoader.h" int main(int argc, char* args[]) { Application *app = new Application(); app->run(); delete app; //Mesh *aaa = OBJLoader::loadMesh("assets\\cube2.obj"); return 0; }
9.266667
56
0.622302
danimtz
0185f3f01de403e5233afb7de70bdffe63e9d348
1,258
hpp
C++
sdk/core/perf/inc/azure/perf/program.hpp
chidozieononiwu/azure-sdk-for-cpp
7d9032fcc815523231d6ff3e1d96d6212e94b079
[ "MIT" ]
null
null
null
sdk/core/perf/inc/azure/perf/program.hpp
chidozieononiwu/azure-sdk-for-cpp
7d9032fcc815523231d6ff3e1d96d6212e94b079
[ "MIT" ]
null
null
null
sdk/core/perf/inc/azure/perf/program.hpp
chidozieononiwu/azure-sdk-for-cpp
7d9032fcc815523231d6ff3e1d96d6212e94b079
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT /** * @file * @brief Define the main performance framewoek program. * */ #pragma once #include "azure/perf/argagg.hpp" #include "azure/perf/test_metadata.hpp" #include <vector> namespace Azure { namespace Perf { /** ...
25.16
92
0.652623
chidozieononiwu
019213789bcdbd7b30c67d8c97c2afdd0050756d
3,735
cpp
C++
Builder/Builder/src/postprocesses_main.cpp
sglab/OpenIRT
1a1522ed82f6bb26f1d40dc93024487869045ab2
[ "BSD-2-Clause" ]
2
2015-09-28T12:59:25.000Z
2020-03-28T22:28:03.000Z
Builder/Builder/src/postprocesses_main.cpp
sglab/OpenIRT
1a1522ed82f6bb26f1d40dc93024487869045ab2
[ "BSD-2-Clause" ]
2
2018-10-26T12:17:53.000Z
2018-11-09T07:04:17.000Z
Builder/Builder/src/postprocesses_main.cpp
sglab/OpenIRT
1a1522ed82f6bb26f1d40dc93024487869045ab2
[ "BSD-2-Clause" ]
null
null
null
// compress_main.cpp : Defines the entry point for the console application. // #include <iostream> #include <stdio.h> #include "DirectTriIndex.h" #include "RearrangeVoxels.h" #include "ExtractBB.h" #include "MergeGeometry.h" #include "HCCMesh.h" #include "GeometryConverter.h" #include "Voxelize.h" #include "MTLGenerat...
23.055556
98
0.642035
sglab
01a8355b87c487d6dbfd441788d509b7c248f69d
953
cpp
C++
Source/Core/Utility/Value.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Utility/Value.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Utility/Value.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /** * @file Value.cpp */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. * See http://www.viz.media.kyoto-u.ac.jp/k...
28.029412
78
0.537251
CCSEPBVR
01add52005565d3321e5156ee799c67cb32aacf7
3,589
cpp
C++
src/plugins/azoth/plugins/abbrev/abbrevsmanager.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/azoth/plugins/abbrev/abbrevsmanager.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/azoth/plugins/abbrev/abbrevsmanager.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
26.585185
110
0.648091
Maledictus
01b8800d83d55d8f7d6be054567dcc49d26ced73
390
cpp
C++
labs/5/Practice_12/solutions/task4.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
labs/5/Practice_12/solutions/task4.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
labs/5/Practice_12/solutions/task4.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include <iostream> using namespace std; int main() { string text; cin >> text; for(int i=0; i<text.length(); i++) { if (text[i] == text[i+1]) { int k = 0; while(text[i] == text[i + k + 1]) { k++; } text.erase(i, k)...
15.6
48
0.364103
triffon
01b92bfb14a277e032868d3db5e9840f2caaf5f3
1,487
cpp
C++
src/Scenes/save.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/Scenes/save.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/Scenes/save.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#include "pch.hpp" #include "save.hpp" #include "ECS/entityUtil.hpp" #include "ECS/Components/charactersComponents.hpp" #include "ECS/Components/physicsComponents.hpp" #include "ECS/Components/objectsComponents.hpp" #include "ECS/Components/graphicsComponents.hpp" namespace ph { struct GameSaveBlob { Vec2 savePointP...
22.530303
64
0.718897
SPC-Some-Polish-Coders
01bc1fce2e1986d4474d872f47806d6812fd6924
155
cpp
C++
src/state/LC.cpp
UmbrellaSampler/carnd-term3-1_path_planning
5d3828753b0ecde20aa4a7ba7d0ef16e21acdea7
[ "MIT" ]
null
null
null
src/state/LC.cpp
UmbrellaSampler/carnd-term3-1_path_planning
5d3828753b0ecde20aa4a7ba7d0ef16e21acdea7
[ "MIT" ]
null
null
null
src/state/LC.cpp
UmbrellaSampler/carnd-term3-1_path_planning
5d3828753b0ecde20aa4a7ba7d0ef16e21acdea7
[ "MIT" ]
null
null
null
// // Created by uwe_e on 03.02.2020. // #include "LC.h" double LC::Cost() const { // Lane change gets always executed return -1; }
11.923077
40
0.554839
UmbrellaSampler
01bd85278a2cee18317d3094364b016789eb2e17
752
hpp
C++
include/sprout/range/algorithm/replace_copy.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/range/algorithm/replace_copy.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/range/algorithm/replace_copy.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
44.235294
79
0.644947
thinkoid
01c5c4fd251b6084e184943fd6b499de1d275b54
103
cpp
C++
3/TCPClient/main.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
3/TCPClient/main.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
3/TCPClient/main.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
#include <iostream> #include "TCPClient.cpp" int main() { TCPClient client; client.start(); }
14.714286
24
0.650485
ulyanyunakh
01cf388e8b6a6a56f14aa9701057e419e02c0c58
5,880
cpp
C++
sources/core/system.cpp
alexandrerodrigopinheiro/libyetzirah
5fdf6dfd4e903cc10addbed67f2e66a4cdbae617
[ "Apache-2.0" ]
null
null
null
sources/core/system.cpp
alexandrerodrigopinheiro/libyetzirah
5fdf6dfd4e903cc10addbed67f2e66a4cdbae617
[ "Apache-2.0" ]
null
null
null
sources/core/system.cpp
alexandrerodrigopinheiro/libyetzirah
5fdf6dfd4e903cc10addbed67f2e66a4cdbae617
[ "Apache-2.0" ]
null
null
null
#include "core/system.h" ygl::core::system::system() : _hud(false), _window(nullptr), _double_window(nullptr), _render(nullptr), _camera(nullptr), _double_scene(nullptr), _event(nullptr), _handler(nullptr), _hertz(nullptr), _info(nullptr) { } ygl::core::system::~system() { this->destroy(); } bool ygl::cor...
21.459854
171
0.67466
alexandrerodrigopinheiro
01d2df441a67e7f683484b52ed949de4472b8502
7,567
cpp
C++
src/Tokenstream.cpp
UtopiaLang/src
be8904f978f3ea0d92afb72895cc2bb052cf4107
[ "Unlicense" ]
7
2021-03-01T17:24:45.000Z
2021-10-01T02:28:25.000Z
src/Tokenstream.cpp
UtopiaLang/Utopia
be8904f978f3ea0d92afb72895cc2bb052cf4107
[ "Unlicense" ]
6
2021-02-27T18:25:45.000Z
2021-09-10T21:27:39.000Z
src/Tokenstream.cpp
UtopiaLang/src
be8904f978f3ea0d92afb72895cc2bb052cf4107
[ "Unlicense" ]
null
null
null
#include "Tokenstream.hpp" #include <optional> #include "is_whitespace.hpp" #include "Profiling.hpp" #include "ParseError.hpp" #include "TokenAssignment.hpp" #include "TokenBlock.hpp" #include "TokenBool.hpp" #include "TokenConcat.hpp" #include "TokenDivide.hpp" #include "TokenEquals.hpp" #include "TokenFunction.hpp"...
22.454006
124
0.525572
UtopiaLang
01d3206744019dbb5d121703f75aecc78a60d57e
10,778
cpp
C++
src/cbag/schematic/cellview_info.cpp
growly/cbag
468bf580223490a8ce0769471e25abf936b56a4e
[ "Apache-2.0", "BSD-3-Clause" ]
7
2020-02-13T21:51:04.000Z
2021-12-11T10:01:45.000Z
src/cbag/schematic/cellview_info.cpp
growly/cbag
468bf580223490a8ce0769471e25abf936b56a4e
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-06-03T19:05:14.000Z
2020-03-17T22:59:36.000Z
src/cbag/schematic/cellview_info.cpp
growly/cbag
468bf580223490a8ce0769471e25abf936b56a4e
[ "Apache-2.0", "BSD-3-Clause" ]
5
2019-06-03T17:02:46.000Z
2020-09-01T23:03:01.000Z
// SPDX-License-Identifier: BSD-3-Clause AND Apache-2.0 /* Copyright (c) 2018, Regents of the University of California 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 mu...
41.6139
100
0.650677
growly
01d3dea0466abde0d50963a8ab1120522bb71411
14,396
cpp
C++
Game/Source/Enemy.cpp
Ar-Ess/Split_Duty_NoNameBros
7c723fa2f4a1d08954b11e3d81c767e226f3f186
[ "MIT" ]
null
null
null
Game/Source/Enemy.cpp
Ar-Ess/Split_Duty_NoNameBros
7c723fa2f4a1d08954b11e3d81c767e226f3f186
[ "MIT" ]
1
2021-02-25T11:10:21.000Z
2021-02-25T11:10:21.000Z
Game/Source/Enemy.cpp
Ar-Ess/Split_Duty_NoNameBros
7c723fa2f4a1d08954b11e3d81c767e226f3f186
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include "App.h" #include "Scene.h" #include "Combat.h" #include "Enemy.h" #include "Pathfinding.h" #include "Log.h" #define DEFAULT_PATH_LENGTH 50 Enemy::Enemy() : Entity(EntityType::ENEMY) { //PathFinding::GetInstance()->CreatePath(*path, iPoint(0, 0), iPoint(0, 0)); } Enemy...
26.908411
144
0.48055
Ar-Ess
01d62e3204e1e18448aaa4abce554e8a673de006
1,411
cpp
C++
src/base/session/extension/MessagingExtension.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
src/base/session/extension/MessagingExtension.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
src/base/session/extension/MessagingExtension.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
#include "BasePCH.h" #include <sne/base/session/extension/MessagingExtension.h> #include <sne/base/session/impl/SessionImpl.h> #include <sne/base/memory/MemoryBlock.h> #include <sne/base/utility/Logger.h> #include <sne/core/Exception.h> namespace sne { namespace base { MessagingExtension::~MessagingExtension() { ...
26.622642
83
0.683203
mark-online
01de575d81a9366ebfad229d41a4902d4711e94e
2,822
cpp
C++
POO/exemploPOO.cpp
geovani-moc/Algoritmos-basico
d2d838c158da62a94946a7af29b24ca7396af34e
[ "Apache-2.0" ]
null
null
null
POO/exemploPOO.cpp
geovani-moc/Algoritmos-basico
d2d838c158da62a94946a7af29b24ca7396af34e
[ "Apache-2.0" ]
null
null
null
POO/exemploPOO.cpp
geovani-moc/Algoritmos-basico
d2d838c158da62a94946a7af29b24ca7396af34e
[ "Apache-2.0" ]
null
null
null
#include <iostream> // PROGRAMADOR: GEOVANI PEREIRA DOS SANTOS // EXEMPLO DE POO EM C++, POLIMORFISMO, CLASSES, HERANCA using namespace std; // inicio questao 1 class Animal { private: string nome; int idade; public: Animal(){} ~Animal(){} virtual void emitirSom(){} virtual void movimento(){}...
18.565789
63
0.573352
geovani-moc
01dfa40a33f2215a67b857be1d57adb07ebc8184
1,060
cpp
C++
bob/bob.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
bob/bob.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
bob/bob.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
#include "bob.h" using namespace std; using namespace boost; namespace bob { string hey(const string message) { const string message_trimmed = trim_copy(message); // Guard empty strings / Check if message is empty if (message_trimmed.empty()) return REPLY_FINE; // Check if message is a...
21.632653
70
0.646226
akilram
01e21b7fb1fd1848e3d1bcc8b8af524b9a9d432e
2,303
cpp
C++
engine/kotek.core.containers.multithreading/src/main_core_containers_multithreading_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
engine/kotek.core.containers.multithreading/src/main_core_containers_multithreading_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
engine/kotek.core.containers.multithreading/src/main_core_containers_multithreading_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
#include "../include/kotek_core_containers_multithreading.h" namespace Kotek { namespace Core { bool InitializeModule_Core_Containers_MultiThreading( ktkMainManager* p_manager) { InitializeModule_Core_Containers_MultiThreading_Atomic(p_manager); InitializeModule_Core_Containers_MultiThreading_Mutex(p_ma...
35.430769
71
0.85063
wh1t3lord
01e23a1b9fe93d2962f63b2e407eedd149433f6e
201
cpp
C++
Labs/Lab6/main.cpp
Xeltide/Comp3512
ec1aff98d4b2fda6446d60afca571940a3701e29
[ "MIT" ]
null
null
null
Labs/Lab6/main.cpp
Xeltide/Comp3512
ec1aff98d4b2fda6446d60afca571940a3701e29
[ "MIT" ]
null
null
null
Labs/Lab6/main.cpp
Xeltide/Comp3512
ec1aff98d4b2fda6446d60afca571940a3701e29
[ "MIT" ]
null
null
null
#include "FixedVector.h" #include <iostream> int main() { lab6::FixedVector<int, 10> numbers; numbers.Add(1); numbers.Add(2); std::cout << numbers[0] << std::endl; system("pause"); return 0; }
14.357143
38
0.646766
Xeltide
01e24a552a21603e3ab827ddaa6d5bee45318fec
3,124
cpp
C++
Ejercicios/TAREA #6-Punto-de-Venta-parte/productos.cpp
AngelaC02/cpp
89464b01bc79b91e2229340481e5f9db0621d00c
[ "MIT" ]
null
null
null
Ejercicios/TAREA #6-Punto-de-Venta-parte/productos.cpp
AngelaC02/cpp
89464b01bc79b91e2229340481e5f9db0621d00c
[ "MIT" ]
null
null
null
Ejercicios/TAREA #6-Punto-de-Venta-parte/productos.cpp
AngelaC02/cpp
89464b01bc79b91e2229340481e5f9db0621d00c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; extern void agregarProducto(string descripcion, int cantidad, double precio); void productos(int opcion) { system("cls"); int opcionProducto = 0; switch (opcion) { case 1: { cout<< "BEBIDAS CALIENTES"<< endl; cout<< "*****************"<<...
22.970588
78
0.422215
AngelaC02
01e5dd225456b00ddf680c9f290272a4767aa4aa
3,868
cpp
C++
vent_control_settings.cpp
jim-sokoloff/emergency-field-ventilator-timer-relay
c6fb63cf889a6cba79d06053890e494960ecd4d9
[ "Apache-2.0" ]
null
null
null
vent_control_settings.cpp
jim-sokoloff/emergency-field-ventilator-timer-relay
c6fb63cf889a6cba79d06053890e494960ecd4d9
[ "Apache-2.0" ]
null
null
null
vent_control_settings.cpp
jim-sokoloff/emergency-field-ventilator-timer-relay
c6fb63cf889a6cba79d06053890e494960ecd4d9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020, Jim Sokoloff 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 wri...
36.838095
129
0.657446
jim-sokoloff
01e61fc26ed94a0be13c45cbeddbcfe2b12162d1
876
hpp
C++
src/mctsnode.hpp
andrewsng/checkers_bot
9d98df021cd236b27ef36702a6e98e613fad3911
[ "MIT" ]
null
null
null
src/mctsnode.hpp
andrewsng/checkers_bot
9d98df021cd236b27ef36702a6e98e613fad3911
[ "MIT" ]
null
null
null
src/mctsnode.hpp
andrewsng/checkers_bot
9d98df021cd236b27ef36702a6e98e613fad3911
[ "MIT" ]
null
null
null
#ifndef MCTSNODE_HPP #define MCTSNODE_HPP #include "board.hpp" #include "move.hpp" #include "checkersgame.hpp" #include "movegen.hpp" #include <vector> #include <memory> #include <optional> #include <utility> class MCTSNode { public: MCTSNode(Board board, int player, std::optional<Move> move = {}); std::pa...
20.372093
69
0.690639
andrewsng
543a03dda8300e9b85cbaa3f227d199ea28c9210
70
cpp
C++
darknet-master/build/modules/video/opencv_perf_video_pch.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/modules/video/opencv_perf_video_pch.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/modules/video/opencv_perf_video_pch.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
#include "C:/opencv/opencv-4.5.1/modules/video/perf/perf_precomp.hpp"
35
69
0.771429
mcyy23633
543bb049ab3219a5e951858c153bb97a4ef4dbc2
154
cpp
C++
Source/VRInteractables/VRInteractablesGameModeBase.cpp
calben/UE4-VRInteractables
61dcf4f091540cacb15d6d4790972159387d9b1b
[ "MIT" ]
null
null
null
Source/VRInteractables/VRInteractablesGameModeBase.cpp
calben/UE4-VRInteractables
61dcf4f091540cacb15d6d4790972159387d9b1b
[ "MIT" ]
null
null
null
Source/VRInteractables/VRInteractablesGameModeBase.cpp
calben/UE4-VRInteractables
61dcf4f091540cacb15d6d4790972159387d9b1b
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "VRInteractables.h" #include "VRInteractablesGameModeBase.h"
17.111111
78
0.785714
calben
543c91e1504073763275497bd8044116f3ae455d
1,717
cpp
C++
src/homework/03_iteration/dna.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-ChelliBean
9e2f45a1d9682f5c9391a594e1284c6beffd9f58
[ "MIT" ]
null
null
null
src/homework/03_iteration/dna.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-ChelliBean
9e2f45a1d9682f5c9391a594e1284c6beffd9f58
[ "MIT" ]
null
null
null
src/homework/03_iteration/dna.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-ChelliBean
9e2f45a1d9682f5c9391a594e1284c6beffd9f58
[ "MIT" ]
null
null
null
#include "dna.h" #include<iostream> using std::string; /* Write code for function get_gc_content that accepts a const reference string parameter and returns a double. Calculate GC content: Iterate string count Gs and Cs, divide count by string length. Return quotient. */ double get_gc_content(const std::string & dna1...
16.669903
81
0.645312
acc-cosc-1337-spring-2020
544185533b55c01b0fdd57f4c4f463e146128426
916
cpp
C++
ViAn/Project/Test/bookmarktest.cpp
NFCSKL/NFC-ViAn
ce04b78b4c9695374d71198f57d4236a5cad1525
[ "MIT" ]
1
2019-12-08T03:53:03.000Z
2019-12-08T03:53:03.000Z
ViAn/Project/Test/bookmarktest.cpp
NFCSKL/NFC-ViAn
ce04b78b4c9695374d71198f57d4236a5cad1525
[ "MIT" ]
182
2018-02-08T11:03:26.000Z
2019-06-27T15:27:47.000Z
ViAn/Project/Test/bookmarktest.cpp
NFCSKL/NFC-ViAn
ce04b78b4c9695374d71198f57d4236a5cad1525
[ "MIT" ]
null
null
null
#include "bookmarktest.h" #include <QTest> void BookmarkTest::initTestCase(){ m_temp_dir.setAutoRemove(true); QVERIFY(m_temp_dir.isValid()); } void BookmarkTest::cleanupTestCase(){ } void BookmarkTest::init() { qDebug() << "Creating new bookmark"; m_bookmark = std::unique_ptr<Bookmark>(new Bookmark...
24.105263
64
0.708515
NFCSKL
544276e6bdbff93e21c4f34fb50c81c69fc6d78d
553
hpp
C++
src/Planet.hpp
bethang/corona3d_2020
868dcea42dbcc04c49b8fbe3635f2a2fbd8c9d6f
[ "MIT" ]
null
null
null
src/Planet.hpp
bethang/corona3d_2020
868dcea42dbcc04c49b8fbe3635f2a2fbd8c9d6f
[ "MIT" ]
null
null
null
src/Planet.hpp
bethang/corona3d_2020
868dcea42dbcc04c49b8fbe3635f2a2fbd8c9d6f
[ "MIT" ]
2
2021-05-26T18:22:15.000Z
2022-01-27T17:31:00.000Z
/* * Planet.hpp * * Created on: May 29, 2020 * Author: rodney */ #ifndef PLANET_HPP_ #define PLANET_HPP_ #include "Common_Functions.hpp" class Planet { public: Planet(); virtual ~Planet(); void init(); // initialize with defaults (Venus mass/radius) void init(double m, double r); double get_mass(); ...
18.433333
72
0.661844
bethang
5446dc70b3d692c6716a556d36038b7dc0de1d28
1,638
hpp
C++
source/Kai/Function.hpp
ioquatix/kai
4f8d00cd05b4123b6389f8dc3187ec1421b4f2da
[ "Unlicense", "MIT" ]
4
2016-07-19T08:53:09.000Z
2021-08-03T10:06:41.000Z
source/Kai/Function.hpp
ioquatix/kai
4f8d00cd05b4123b6389f8dc3187ec1421b4f2da
[ "Unlicense", "MIT" ]
null
null
null
source/Kai/Function.hpp
ioquatix/kai
4f8d00cd05b4123b6389f8dc3187ec1421b4f2da
[ "Unlicense", "MIT" ]
null
null
null
// // Function.h // This file is part of the "Kai" project, and is released under the MIT license. // // Created by Samuel Williams on 13/04/10. // Copyright 2010 Samuel Williams. All rights reserved. // // #ifndef _KFUNCTION_H #define _KFUNCTION_H #include "Object.hpp" #define KAI_BUILTIN_FUNCTION(function) (bu...
24.088235
111
0.704518
ioquatix
544acb2c6342d07a708ea1d87af4006afd274bc0
2,388
cpp
C++
Ansel/src/source/entities/Camera.cpp
maxortner01/ansel
cf9930c921ca439968daa29b242a1b532030088a
[ "BSD-2-Clause" ]
2
2019-04-04T07:26:54.000Z
2019-07-07T20:48:30.000Z
Ansel/src/source/entities/Camera.cpp
maxortner01/ansel
cf9930c921ca439968daa29b242a1b532030088a
[ "BSD-2-Clause" ]
null
null
null
Ansel/src/source/entities/Camera.cpp
maxortner01/ansel
cf9930c921ca439968daa29b242a1b532030088a
[ "BSD-2-Clause" ]
null
null
null
#include "../../headers/entities/camera.h" #include "../../headers/event/Keyboard.h" #include "../../headers/Engine.h" namespace Ansel { Camera::Camera() { location = { 0, 0, 0 }; rotation = { 0, 0, 0 }; } void Camera::pollEvents() { float s = speed * (Engine::getTime() - last_time); if (Keyboard::isKeyPr...
20.947368
138
0.628141
maxortner01
5451def9790860b6ee396c0f6cd6265fee3e337c
829
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/AudioSyncs.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/game/AudioSyncs.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/game/AudioSyncs.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Scripting/Natives/Generated/audio/AudEventStruct.hpp> #include <RED4ext/Scripting/Natives/Generated/audio/AudParameter.hpp> #include <RED4ext/Script...
29.607143
71
0.761158
jackhumbert
5457cc9f57740136fedbea641e81d64d14fdcc95
459
cpp
C++
Baekjoon/10844.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/10844.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/10844.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(void) { int N, mod = 1000000000; long long dp[101][10] = { 0, }, ans = 0; cin >> N; for (int i = 1; i < 10; i++) dp[1][i] = 1; for (int i = 2; i <= N; i++) { dp[i][0] = dp[i - 1][1]; dp[i][9] = dp[i - 1][8]; for (int j = 1; j < 9; j++) ...
19.956522
58
0.446623
Twinparadox
5458e9ab04b23d7b38aad366e9673cbd8a1fe37b
451
cpp
C++
src/task/rejected.cpp
SameAsMuli/todo
75b6380b2e8c9a0696f97f43b103de7d12fbd840
[ "MIT" ]
null
null
null
src/task/rejected.cpp
SameAsMuli/todo
75b6380b2e8c9a0696f97f43b103de7d12fbd840
[ "MIT" ]
null
null
null
src/task/rejected.cpp
SameAsMuli/todo
75b6380b2e8c9a0696f97f43b103de7d12fbd840
[ "MIT" ]
null
null
null
#include <sstream> // std::stringstream #include "task/rejected.hpp" #include "util/ansi.hpp" namespace todo { namespace task { Rejected::Rejected() : CompleteAbstract("rejected", '/') {} std::string Rejected::format(const Task &task) { std::stringstream ss; ss << util::ansi::foreground_red << task.getPref...
20.5
63
0.649667
SameAsMuli
5462edc1ff6b2feb8267261303d8966957f32c96
2,055
cpp
C++
codeforces/D - Om Nom and Necklace/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Om Nom and Necklace/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Om Nom and Necklace/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729# created: Jun/18/2020 12:32 * solution_verdict: Accepted language: GNU C++14 * run...
28.150685
111
0.442822
kzvd4729
54647a479195d2a60f1e9cde641741077b1267e2
593
hpp
C++
characters/Medusa.hpp
sonamdkindy/fantasycombat
1203d336db2c2f2a8815a449ee881a5f54b2a641
[ "MIT" ]
null
null
null
characters/Medusa.hpp
sonamdkindy/fantasycombat
1203d336db2c2f2a8815a449ee881a5f54b2a641
[ "MIT" ]
null
null
null
characters/Medusa.hpp
sonamdkindy/fantasycombat
1203d336db2c2f2a8815a449ee881a5f54b2a641
[ "MIT" ]
null
null
null
/********************************************************************* ** Program name: Medusa.hpp ** Author: Sonam D. Kindy ** Date: 11/11/17 ** Description: This file is the Medusa subclass specification/interface. *********************************************************************/ #ifndef MEDUSA_HPP #define MEDU...
23.72
73
0.494098
sonamdkindy
5468ce1778fecd1114ac1c6967b9734dcf757220
11,022
cpp
C++
tools/source_maker/source_templates/wxwidgets.cpp
wxphp/wxphp
a691f72e66162fabf4408abe9545d2f4cccb15fa
[ "PHP-3.01" ]
269
2015-01-01T08:03:31.000Z
2022-01-23T04:13:53.000Z
tools/source_maker/source_templates/wxwidgets.cpp
wxphp/wxphp
a691f72e66162fabf4408abe9545d2f4cccb15fa
[ "PHP-3.01" ]
92
2015-01-01T13:03:06.000Z
2020-11-23T02:43:58.000Z
tools/source_maker/source_templates/wxwidgets.cpp
wxphp/wxphp
a691f72e66162fabf4408abe9545d2f4cccb15fa
[ "PHP-3.01" ]
54
2015-01-10T17:28:26.000Z
2021-06-10T22:57:19.000Z
/* * @author Mário Soares * @contributors Jefferson González * @contributors René Vögeli / Rangee GmbH * * @license * This file is part of wxPHP check the LICENSE file for information. * * @description * Main start point for the wxWidgets php extension * * @note * Some parts of this file are auto-generated ...
27.693467
189
0.664671
wxphp
546eb21252dda258eb26665bf591b7d2c2b6884e
6,072
cpp
C++
BVH Builder/main2.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
2
2021-07-28T23:08:29.000Z
2021-09-14T19:32:36.000Z
BVH Builder/main2.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
BVH Builder/main2.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
#include "Defines.h" #include "Engine Includes/MainInclude.h" #include "HighLevel/DirectX/HighLevel.h" #include "HighLevel/DirectX/Utlities.h" #include "Engine/Model/Mesh.h" HighLevel gHighLevel; Model mModel; Texture DefaultTexture; Camera *cPlayer; NewMesh<3> mNewMesh; bool _DirectX::FrameFunction() { //Sco...
26.172414
104
0.610343
FirowMD
546f806fe4d620ca3eb7756b1571ce8cff7beddd
5,871
cpp
C++
target.cpp
marionette-of-u/kp19pp
61a80859774e4c391b9a6e2b2e98387bacb92410
[ "BSD-2-Clause-FreeBSD" ]
4
2015-12-16T05:33:11.000Z
2018-06-06T14:18:31.000Z
target.cpp
marionette-of-u/kp19pp
61a80859774e4c391b9a6e2b2e98387bacb92410
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
target.cpp
marionette-of-u/kp19pp
61a80859774e4c391b9a6e2b2e98387bacb92410
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "target.hpp" namespace kp19pp{ namespace target{ term_type epsilon_functor::operator ()() const{ return 0; } term_type end_of_seq_functor::operator ()() const{ return (std::numeric_limits<int>::max)(); } semantic_type::semantic_type() : ...
43.488889
134
0.539431
marionette-of-u
5471c23e8b00e040c3e9d1455c0f115e7c5311ed
1,863
cpp
C++
tests/message-mgmt/mssg.cpp
sahilg-xilinx/XRT
e0825c342c73e11c585d8ac15fc57486f1d8aa3e
[ "Apache-2.0" ]
359
2018-10-05T03:05:08.000Z
2022-03-31T06:28:16.000Z
tests/message-mgmt/mssg.cpp
sahilg-xilinx/XRT
e0825c342c73e11c585d8ac15fc57486f1d8aa3e
[ "Apache-2.0" ]
5,832
2018-10-02T22:43:29.000Z
2022-03-31T22:28:05.000Z
tests/message-mgmt/mssg.cpp
sahilg-xilinx/XRT
e0825c342c73e11c585d8ac15fc57486f1d8aa3e
[ "Apache-2.0" ]
442
2018-10-02T23:06:29.000Z
2022-03-21T08:34:44.000Z
#include <iostream> #include <string> #include <getopt.h> #include <thread> // host_src includes #include "xclhal2.h" #include "xclbin.h" void foo(int num, xclDeviceHandle handle) { xclLogMsg(handle, XRT_NOTICE, "XRT", "(5) Running Thread number %d", num); } int main(int argc, char** argv) { xclDeviceInfo2 de...
27.80597
90
0.577026
sahilg-xilinx
54763fcc90137468e020fa4b6bffd32a3e614e70
1,102
cc
C++
src/workers/close.cc
bengotow/better-sqlite3
2606eef344cdf22f23ec8bd403f4aeb305f644cb
[ "MIT" ]
2
2017-10-10T06:24:35.000Z
2021-06-15T15:01:39.000Z
src/workers/close.cc
bengotow/better-sqlite3
2606eef344cdf22f23ec8bd403f4aeb305f644cb
[ "MIT" ]
null
null
null
src/workers/close.cc
bengotow/better-sqlite3
2606eef344cdf22f23ec8bd403f4aeb305f644cb
[ "MIT" ]
2
2017-03-15T06:34:50.000Z
2017-05-05T02:47:03.000Z
#include <sqlite3.h> #include <nan.h> #include "close.h" #include "../objects/database/database.h" #include "../util/macros.h" CloseWorker::CloseWorker(Database* db, bool still_connecting) : Nan::AsyncWorker(NULL), db(db), still_connecting(still_connecting) {} void CloseWorker::Execute() { if (!still_connecting) { ...
24.488889
87
0.674229
bengotow
54777c1b03848acdd180ab1c2bf048f45a0add81
1,050
cpp
C++
test/test_tbsr.cpp
watagashi0619/TFHE
392c06812edd3ccfa56099fbacb8428fbc1fc277
[ "MIT" ]
3
2021-08-11T05:36:05.000Z
2021-12-29T06:26:30.000Z
test/test_tbsr.cpp
watagashi0619/TFHE
392c06812edd3ccfa56099fbacb8428fbc1fc277
[ "MIT" ]
1
2021-09-13T12:53:43.000Z
2021-09-19T04:12:41.000Z
test/test_tbsr.cpp
watagashi0619/TFHE
392c06812edd3ccfa56099fbacb8428fbc1fc277
[ "MIT" ]
null
null
null
#include <array> #include <cassert> #include <iostream> #include <random> #include "key.hpp" #include "params.hpp" #include "tbsr.hpp" #include "tlwe.hpp" #include "trgsw.hpp" #include "trlwe.hpp" #include "util.hpp" using namespace TFHE; void test_tbsr_add() { // secret key secret_key skey; // generate ...
26.25
85
0.625714
watagashi0619
547a9a9ccd2100f6f258cd586fc509b27f1a18cc
3,861
cpp
C++
PROJECT_KART/minigame1.cpp
keithmulqueen/Project-KART
6e170ec754b728581bbfcad8c2329ebf26da83ac
[ "Unlicense" ]
null
null
null
PROJECT_KART/minigame1.cpp
keithmulqueen/Project-KART
6e170ec754b728581bbfcad8c2329ebf26da83ac
[ "Unlicense" ]
null
null
null
PROJECT_KART/minigame1.cpp
keithmulqueen/Project-KART
6e170ec754b728581bbfcad8c2329ebf26da83ac
[ "Unlicense" ]
null
null
null
#include "minigame1.h" #include "ui_minigame1.h" MiniGame1::MiniGame1(QWidget *parent) : QDialog(parent), ui(new Ui::MiniGame1) { ui->setupUi(this); buttons.push_back(ui->pushButton); buttons.push_back(ui->pushButton_2); buttons.push_back(ui->pushButton_3); buttons.push_back(ui->pushButton_...
32.445378
174
0.62704
keithmulqueen
5486638402411922cc15fe751c923fa95862153a
2,876
cpp
C++
software/tests/pid_learner.cpp
Mateck/Eirbot1A_2018
730ddb85fc40b9b8f5eef05142ad609fffb004ce
[ "MIT" ]
3
2018-01-26T18:08:18.000Z
2018-03-03T19:08:37.000Z
software/tests/pid_learner.cpp
Mateck/Eirbot1A_2018
730ddb85fc40b9b8f5eef05142ad609fffb004ce
[ "MIT" ]
null
null
null
software/tests/pid_learner.cpp
Mateck/Eirbot1A_2018
730ddb85fc40b9b8f5eef05142ad609fffb004ce
[ "MIT" ]
1
2018-02-08T16:44:44.000Z
2018-02-08T16:44:44.000Z
// DO NOT USE // MOTORS DIRECTION BLINK WHEN ROBOT IS STOPPED0P #include "mbed.h" #include "errors.h" #include "robot1.h" #include "qei.h" #include "pid.h" #include "motors.h" int err = 0; Timer tim; // Serial PC Serial pc(USBTX, USBRX); // Left Qei TIM_Encoder_InitTypeDef* p_encoder_left = new TIM_E...
30.273684
76
0.695063
Mateck
54866b75e625593f783f66a1a8d3e1cfa136219e
1,487
cpp
C++
oadrtest/oadrtest/helper/HttpDelegate.cpp
AnalyticsFire/OpenADR-VEN-Library
621e410370c3b3b91a5973d1fc19094278eeff75
[ "Apache-2.0" ]
null
null
null
oadrtest/oadrtest/helper/HttpDelegate.cpp
AnalyticsFire/OpenADR-VEN-Library
621e410370c3b3b91a5973d1fc19094278eeff75
[ "Apache-2.0" ]
3
2021-01-20T13:02:54.000Z
2021-02-19T14:05:34.000Z
oadrtest/oadrtest/helper/HttpDelegate.cpp
AnalyticsFire/OpenADR-VEN-Library
621e410370c3b3b91a5973d1fc19094278eeff75
[ "Apache-2.0" ]
null
null
null
/* * HttpDelegate.cpp * * Created on: May 20, 2021 * Author: Michal Kowalczyk */ #include "HttpDelegate.h" HttpDelegate::HttpDelegate(IHttp &http) : m_http(http) { } bool HttpDelegate::post(std::string url, std::string content) { return m_http.post(url, content); } void HttpDelegate::setParameters(std::...
21.550725
72
0.66846
AnalyticsFire
5487315f43d40a1a0b383121ec90a0f3b1968e1a
3,673
cpp
C++
Morphs/Importers/CoreUtils/Shared/CanvasTex/cpp/Source/Android-Mac/TextureCompression.cpp
bghgary/BabylonPolymorph
32ff708abb0d1c0b7f613b18ac7803be95f0cb31
[ "MIT" ]
null
null
null
Morphs/Importers/CoreUtils/Shared/CanvasTex/cpp/Source/Android-Mac/TextureCompression.cpp
bghgary/BabylonPolymorph
32ff708abb0d1c0b7f613b18ac7803be95f0cb31
[ "MIT" ]
null
null
null
Morphs/Importers/CoreUtils/Shared/CanvasTex/cpp/Source/Android-Mac/TextureCompression.cpp
bghgary/BabylonPolymorph
32ff708abb0d1c0b7f613b18ac7803be95f0cb31
[ "MIT" ]
null
null
null
// // Copyright (C) Microsoft. All rights reserved. // #include "TextureCompression.h" #include "ScratchImage.h" #include <CanvasTex/Image.h> #include <gli/core/bc.hpp> #include <gli/convert.hpp> namespace { //----------------------------------------------------------------------------------------------------------...
42.709302
191
0.630003
bghgary
548792b7132622efbd8a29a0c76bfecb8a71f82b
820
hpp
C++
src/test/C/GaussianDerivates/GaussianDerivatesIncludes.hpp
dikujepsen/OpenTran
af9654fcf55e394e7bece38e59bbdc3dd343f092
[ "MIT" ]
1
2015-02-09T12:56:07.000Z
2015-02-09T12:56:07.000Z
v3.0/test/C/old_version_of_same_code/GaussianDerivates/GaussianDerivatesIncludes.hpp
dikujepsen/OpenTran
af9654fcf55e394e7bece38e59bbdc3dd343f092
[ "MIT" ]
null
null
null
v3.0/test/C/old_version_of_same_code/GaussianDerivates/GaussianDerivatesIncludes.hpp
dikujepsen/OpenTran
af9654fcf55e394e7bece38e59bbdc3dd343f092
[ "MIT" ]
null
null
null
float He(const int n, const float x) { float v; switch(n) { case 0: v = 1; break; case 1: v = x; break; case 2: v = x*x-1; break; case 3: v = pow(x,3)-3*x; break; case 4: v = pow(x,4)-6*x*x+3; break; case 5: v = pow(x,5)-10*pow(x,3)+15*x; break; defau...
15.185185
83
0.482927
dikujepsen