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
1f7828509331300374d9e4f69ea1965b8c62c79d
275
hpp
C++
src/input.hpp
EngineerSmith/luasteam
1f0ed902b6cbeff9a07ffc7b6bdd7fb6536ea286
[ "MIT" ]
61
2018-10-17T10:12:01.000Z
2022-03-21T14:03:40.000Z
src/input.hpp
EngineerSmith/luasteam
1f0ed902b6cbeff9a07ffc7b6bdd7fb6536ea286
[ "MIT" ]
22
2018-08-21T20:43:25.000Z
2022-02-01T18:11:14.000Z
src/input.hpp
EngineerSmith/luasteam
1f0ed902b6cbeff9a07ffc7b6bdd7fb6536ea286
[ "MIT" ]
12
2018-09-12T20:03:25.000Z
2021-09-30T18:50:35.000Z
#ifndef LUASTEAM_INPUT #define LUASTEAM_INPUT #include "common.hpp" namespace luasteam { // Adds functions from ISteamInput void add_input(lua_State *L); void init_input(lua_State *L); void shutdown_input(lua_State *L); } // namespace luasteam #endif // LUASTEAM_INPUT
16.176471
34
0.770909
EngineerSmith
1f78d68625445377668f46b9b08ec9d0d3124799
1,066
hpp
C++
examples/user_app/NFSUserApp.hpp
SwirtaB/TIN_Networks-File-System
5ef929ff53e05cdafa32c64fd57ec59d52e7d621
[ "MIT" ]
null
null
null
examples/user_app/NFSUserApp.hpp
SwirtaB/TIN_Networks-File-System
5ef929ff53e05cdafa32c64fd57ec59d52e7d621
[ "MIT" ]
null
null
null
examples/user_app/NFSUserApp.hpp
SwirtaB/TIN_Networks-File-System
5ef929ff53e05cdafa32c64fd57ec59d52e7d621
[ "MIT" ]
null
null
null
#pragma once #include "NFSConnection.hpp" #include <string> #include <list> #include <vector> #include <iostream> namespace nfs { typedef std::vector<std::string> stringVector; struct Operantion { std::string name; stringVector args; }; struct OperantionCall: Operantion { str...
22.680851
82
0.640713
SwirtaB
1f85ad19c4d319be35cbc57362633536efcfd7c1
987
hpp
C++
Behavioral/Interpreter/include/Token.hpp
craviee/design-patterns-modern-cpp
39896c8a2491c5599f79afa65a07deda2e4e7dd7
[ "Unlicense" ]
3
2019-11-15T01:38:31.000Z
2020-04-21T13:04:19.000Z
Behavioral/Interpreter/include/Token.hpp
craviee/design-patterns-modern-cpp
39896c8a2491c5599f79afa65a07deda2e4e7dd7
[ "Unlicense" ]
23
2019-11-29T09:13:42.000Z
2020-02-05T14:53:03.000Z
Behavioral/Interpreter/include/Token.hpp
craviee/design-patterns-modern-cpp
39896c8a2491c5599f79afa65a07deda2e4e7dd7
[ "Unlicense" ]
null
null
null
#pragma once #include "TokenType.hpp" #include <string> class Token { public: Token(TokenType type) : type{type}{}; Token(TokenType _type, int _number) { if(_type == TokenType::INTEGER) { type = _type; number = _number; } ...
25.973684
62
0.440729
craviee
1f86be6725ada69643ecd73f78d99c557e06f5ea
1,145
cpp
C++
ReferenceTests/src/tests/Catch_Discover/UT_NotDefaultDiscoverable.cpp
dmkozh/TestAdapter_Catch2
6584596594f11bf477fddebfd1211483ca091ee3
[ "MIT" ]
91
2018-06-28T13:38:11.000Z
2022-03-21T11:37:18.000Z
ReferenceTests/src/tests/Catch_Discover/UT_NotDefaultDiscoverable.cpp
dmkozh/TestAdapter_Catch2
6584596594f11bf477fddebfd1211483ca091ee3
[ "MIT" ]
55
2018-07-13T18:05:05.000Z
2022-02-26T11:07:09.000Z
ReferenceTests/src/tests/Catch_Discover/UT_NotDefaultDiscoverable.cpp
dmkozh/TestAdapter_Catch2
6584596594f11bf477fddebfd1211483ca091ee3
[ "MIT" ]
26
2018-07-24T06:55:22.000Z
2022-02-02T03:08:48.000Z
/** Basic Info ** Copyright: 2019 Johnny Hendriks Author : Johnny Hendriks Year : 2019 Project: VSTestAdapter for Catch2 Licence: MIT Notes: None ** Basic Info **/ /************ * Includes * ************/ // Catch2 #include <catch.hpp> /************** * Start code * **************/ namespace CatchDiscove...
23.367347
212
0.69083
dmkozh
1f8ca08bb77316dee5092a8fa9610154917f987b
20,284
cpp
C++
MMOCoreORB/src/server/zone/ZoneServerImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/ZoneServerImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/ZoneServerImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ #include "server/zone/ZoneServer.h" #include "server/zone/ZoneClientSession.h" #include "server/zone/Zone.h" #include "server/db/ServerDatabase.h" #include "conf/ConfigManager.h" #include "server/zone/managers/object/ObjectManager.h" #include ...
24.1764
128
0.723378
V-Fib
1f925e8835c9f8e2046041cef2ae4336322b5040
157
hpp
C++
pythran/pythonic/__builtin__/abs.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
1
2018-03-24T00:33:03.000Z
2018-03-24T00:33:03.000Z
pythran/pythonic/__builtin__/abs.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/abs.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_BUILTIN_ABS_HPP #define PYTHONIC_BUILTIN_ABS_HPP #include "pythonic/include/__builtin__/abs.hpp" #include "pythonic/numpy/abs.hpp" #endif
19.625
47
0.828025
SylvainCorlay
1f92a96899e08fa4a8abfa4f09c4e4f35098e634
587
hpp
C++
coconut-pulp-renderer/src/main/c++/coconut/pulp/renderer/PerspectiveLens.hpp
mikosz/coconut
547bfd55062f09d7af853043c393fc51e8a7a8b6
[ "Apache-2.0" ]
1
2017-05-02T12:01:54.000Z
2017-05-02T12:01:54.000Z
coconut-pulp-renderer/src/main/c++/coconut/pulp/renderer/PerspectiveLens.hpp
mikosz/coconut
547bfd55062f09d7af853043c393fc51e8a7a8b6
[ "Apache-2.0" ]
null
null
null
coconut-pulp-renderer/src/main/c++/coconut/pulp/renderer/PerspectiveLens.hpp
mikosz/coconut
547bfd55062f09d7af853043c393fc51e8a7a8b6
[ "Apache-2.0" ]
null
null
null
#ifndef _COCONUT_PULP_RENDERER_PERSPECTIVELENS_HPP_ #define _COCONUT_PULP_RENDERER_PERSPECTIVELENS_HPP_ #include "Lens.hpp" namespace coconut { namespace pulp { namespace renderer { class PerspectiveLens : public Lens { public: PerspectiveLens( pulp::math::Handedness handedness, Angle fov, float aspectRatio,...
17.264706
60
0.780239
mikosz
1f9adfae6a326d48bc07ec955a9574a77e65dd96
66
hpp
C++
src/boost_fusion_sequence_comparison_enable_comparison.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_sequence_comparison_enable_comparison.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_sequence_comparison_enable_comparison.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/sequence/comparison/enable_comparison.hpp>
33
65
0.848485
miathedev
1f9b1d5ad14d09e076c1366c9225da0893377845
9,908
cpp
C++
src/quadrature/tetrahedron/tetrahedron_jinyun.cpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2018-07-12T17:06:33.000Z
2021-11-20T23:13:26.000Z
src/quadrature/tetrahedron/tetrahedron_jinyun.cpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
119
2016-06-22T07:36:04.000Z
2019-03-10T19:38:12.000Z
src/quadrature/tetrahedron/tetrahedron_jinyun.cpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2017-10-08T16:51:38.000Z
2021-03-15T08:08:04.000Z
#include "quadrature/tetrahedron/tetrahedron_jinyun.hpp" #include <algorithm> namespace neon { tetrahedron_jinyun::tetrahedron_jinyun(int const minimum_degree) { switch (minimum_degree) { case 1: { m_degree = 1; m_weights = {1.0}; m_coordinates = {{0, 0.25,...
57.271676
97
0.515947
dbeurle
1fa1be51ba926c2e18cdf0486c1dad6e4a4faf35
293
cpp
C++
exemplos/8_Apontadores/troca_pointer.cpp
danielgs83/cpe-unb
f958d2a4899a8d4d5c1465637d1d1b10610661e4
[ "CC0-1.0" ]
1
2022-02-04T17:16:50.000Z
2022-02-04T17:16:50.000Z
exemplos/8_Apontadores/troca_pointer.cpp
danielgs83/cpe-unb
f958d2a4899a8d4d5c1465637d1d1b10610661e4
[ "CC0-1.0" ]
null
null
null
exemplos/8_Apontadores/troca_pointer.cpp
danielgs83/cpe-unb
f958d2a4899a8d4d5c1465637d1d1b10610661e4
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; void troca(int *end_x, int *end_y) { int aux; //troca de valores entre var. aux = *end_x; *end_x = *end_y; *end_y = aux; } int main() { int a = 100, b = 200; troca(&a, &b); cout << "a = " << a << ", b = " << b << endl; return 0; }
15.421053
47
0.52901
danielgs83
1fa462ae20afc4c655861f6e1e4876361938522c
3,893
cpp
C++
src/Components/ble/Peripheral.cpp
winneymj/nrf52840_mbed_GC9A01
d2984256a1f82b16bdf837438a7be8bcfe8855de
[ "Apache-2.0" ]
2
2020-10-04T22:10:20.000Z
2021-03-06T02:07:11.000Z
src/Components/ble/Peripheral.cpp
winneymj/nrf52840_mbed_GC9A01
d2984256a1f82b16bdf837438a7be8bcfe8855de
[ "Apache-2.0" ]
null
null
null
src/Components/ble/Peripheral.cpp
winneymj/nrf52840_mbed_GC9A01
d2984256a1f82b16bdf837438a7be8bcfe8855de
[ "Apache-2.0" ]
1
2020-10-18T19:46:03.000Z
2020-10-18T19:46:03.000Z
/* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
28.625
91
0.697149
winneymj
1fac51426872768c4d7b4b364555c9efbfae9ed7
1,262
cpp
C++
src/CGUL/Utility/Version.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
8
2015-05-06T17:48:12.000Z
2021-05-26T15:52:05.000Z
src/CGUL/Utility/Version.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
null
null
null
src/CGUL/Utility/Version.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
3
2016-04-03T09:17:25.000Z
2019-04-02T01:41:13.000Z
// C++ General Utility Library (mailto:cgul@zethes.com) // Copyright (C) 2012-2014, Joshua Brookover and Amber Thrall // All rights reserved. /** @file Version.cpp */ #include "Version.hpp" /** @returns A version in the format "1.2.3" */ _CGUL_EXPORT CGUL::String CGUL::GetCGULVersion() { return U8("") + GetCGU...
26.851064
110
0.709192
Zethes
1faf9cd199cccee94f8bc1a925f09f6495373711
1,602
hpp
C++
2016_10_12/chess_engine.hpp
exbibyte/hr
100514dfc2a1c9b5366c12ec0a75e889132a620e
[ "MIT" ]
null
null
null
2016_10_12/chess_engine.hpp
exbibyte/hr
100514dfc2a1c9b5366c12ec0a75e889132a620e
[ "MIT" ]
null
null
null
2016_10_12/chess_engine.hpp
exbibyte/hr
100514dfc2a1c9b5366c12ec0a75e889132a620e
[ "MIT" ]
null
null
null
#ifndef CHESS_ENGINE_H #define CHESS_ENGINE_H #include "chess_move.hpp" #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <cassert> #include <map> #include <list> #include <stack> #include <set> enum piece_type{ queen = 0, knight, bishop, rook, };...
21.945205
83
0.672285
exbibyte
1fb081f8d47d2da793c3e345debb5db4e61765c7
20,107
cpp
C++
src/loader/gui/imgui.cpp
Archomeda/gw2-addon-loader
700782c4d97c40fd3fbeff23e4df49ba5b5e3d97
[ "MIT" ]
12
2018-03-21T13:48:38.000Z
2021-08-05T22:14:50.000Z
src/loader/gui/imgui.cpp
megai2/gw2-addon-loader
91f23075f19ca0cde3c38104b85e311a1644e273
[ "MIT" ]
2
2019-01-31T22:32:38.000Z
2021-02-23T17:12:39.000Z
src/loader/gui/imgui.cpp
Archomeda/gw2-addon-loader
700782c4d97c40fd3fbeff23e4df49ba5b5e3d97
[ "MIT" ]
5
2019-05-07T19:53:14.000Z
2019-09-27T22:30:24.000Z
#include "imgui.h" #include "BitmapFontAtlas.h" #include "../resource.h" #define D3DFVF_IMGUIVERTEX (D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1) using namespace std; namespace loader::gui::imgui { static INT64 imGuiFrequency; static INT64 imGuiTime; static HMODULE imGuiModule; static HWND imGuiWnd; ...
39.118677
234
0.597006
Archomeda
1fb398752b01de056ccfcd4617b8fb0d0987bf50
2,151
cpp
C++
test/utils/strings/one-away.cpp
tiagoinacio/algorithms_cpp
af08794fd21f67ee603c3538bb07a4cd9b5bc999
[ "MIT" ]
null
null
null
test/utils/strings/one-away.cpp
tiagoinacio/algorithms_cpp
af08794fd21f67ee603c3538bb07a4cd9b5bc999
[ "MIT" ]
null
null
null
test/utils/strings/one-away.cpp
tiagoinacio/algorithms_cpp
af08794fd21f67ee603c3538bb07a4cd9b5bc999
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "utils/strings/one-away.h" #include <string> TEST(oneAway_str, with_empty_string) { std::string str(""); EXPECT_EQ(isOneAway(str, ""), true); } TEST(oneAway_str, with_equal_string) { std::string str("abc def ghj"); EXPECT_EQ(isOneAway(str, "abc def ghj"), true); } ...
18.704348
54
0.671781
tiagoinacio
1fb62664fbdc0feb70a4f5d6537d39da26b42ed9
3,097
cpp
C++
tests/https.cpp
shimondoodkin/net
3dce378376eb23b4e15d71a9a87b100716756f4e
[ "BSL-1.0" ]
1
2022-02-20T22:19:55.000Z
2022-02-20T22:19:55.000Z
tests/https.cpp
shimondoodkin/net
3dce378376eb23b4e15d71a9a87b100716756f4e
[ "BSL-1.0" ]
null
null
null
tests/https.cpp
shimondoodkin/net
3dce378376eb23b4e15d71a9a87b100716756f4e
[ "BSL-1.0" ]
1
2022-02-22T00:08:02.000Z
2022-02-22T00:08:02.000Z
#include <cert.hpp> #include <boost/asio/ssl/context.hpp> #include <boost/beast/core/flat_buffer.hpp> #include <net/client.hpp> #include <net/server.hpp> #include <boost/beast.hpp> #include <chrono> #include <cstdlib> #include <future> #include <stdexcept> #include <iostream> #include <thread> int server_side() { ...
31.927835
95
0.576041
shimondoodkin
1fc0faff0e64f4a31ab8056a7ee78bdab301a63c
520
cpp
C++
src/Editor/Prefab.cpp
HyperionDH/Tristeon
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
38
2017-12-04T10:48:28.000Z
2018-05-11T09:59:41.000Z
src/Editor/Prefab.cpp
Tristeon/Tristeon3D
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
9
2017-12-04T09:58:55.000Z
2018-02-05T00:06:41.000Z
src/Editor/Prefab.cpp
Tristeon/Tristeon3D
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
3
2018-01-10T13:39:12.000Z
2018-03-17T20:53:22.000Z
#ifdef TRISTEON_EDITOR #include "Prefab.h" #include "XPlatform/typename.h" nlohmann::json Tristeon::Prefab::getPrefabData() { return prefabFile->GetPrefabData(); } nlohmann::json Tristeon::Prefab::serialize() { nlohmann::json output; output["typeID"] = TRISTEON_TYPENAME(Prefab); output["prefabFilePath"] = prefa...
20
63
0.755769
HyperionDH
1fc3fb3ad44ca496aad95e1aff8351f2c278b17b
548
cpp
C++
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex05-stsan0
48022fdda5a12a10f2902ff3e9e10e82787cf841
[ "MIT" ]
null
null
null
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex05-stsan0
48022fdda5a12a10f2902ff3e9e10e82787cf841
[ "MIT" ]
null
null
null
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex05-stsan0
48022fdda5a12a10f2902ff3e9e10e82787cf841
[ "MIT" ]
null
null
null
// Random Rectangle #include <ctime> #include <iostream> #include <cstdlib> #include <string> int main() { // Attain random seed value from time(0) unsigned seed = time(0); srand(seed); // establish base; make width modulus'd by length const int length = 40+1; int width = rand() % length; // Assign the...
18.896552
62
0.624088
CSUF-CPSC120-2019F23-24
1fc84149cbae6370d61c20a8f1bcace6fb1931c6
3,814
cpp
C++
jlp_wxplot/jlp_wxplot_gdev/jlp_gdev_wxwid_events.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
null
null
null
jlp_wxplot/jlp_wxplot_gdev/jlp_gdev_wxwid_events.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
null
null
null
jlp_wxplot/jlp_wxplot_gdev/jlp_gdev_wxwid_events.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
1
2020-07-09T00:20:49.000Z
2020-07-09T00:20:49.000Z
/****************************************************************************** * jlp_gdev_wxwid_events.cpp * JLP_GDev_wxWID class * Purpose: Events used by the popup menu when displaying * a curve/image with wxwidgets * * Author: JLP * Version: 12/02/2017 ***********************************...
31.00813
79
0.621657
jlprieur
1fc95ac4b98a0b4c14b72018f72f2ff3368fc1bf
10,811
cpp
C++
src/acpi/acpi.cpp
djphoenix/phoenix-os
989a2cfa5fbb01b274dde19017f66412e8e0dd72
[ "MIT" ]
null
null
null
src/acpi/acpi.cpp
djphoenix/phoenix-os
989a2cfa5fbb01b274dde19017f66412e8e0dd72
[ "MIT" ]
null
null
null
src/acpi/acpi.cpp
djphoenix/phoenix-os
989a2cfa5fbb01b274dde19017f66412e8e0dd72
[ "MIT" ]
null
null
null
// PhoeniX OS ACPI subsystem // Copyright © 2017 Yury Popov a.k.a. PhoeniX #include "acpi.hpp" #include "efi.hpp" #include "cpu.hpp" #include "pagetable.hpp" #include "memop.hpp" #include "portio.hpp" ACPI ACPI::controller {}; enum LAPIC_VALUES { LAPIC_DISABLE = 0x10000, LAPIC_SW_ENABLE = 0x100, LAPIC_...
28.301047
90
0.678383
djphoenix
1fd07cfee070c69e8b987015eb7602c1bd25ac30
2,419
hpp
C++
src/gvs/vis-client/scene/drawables.hpp
LoganBarnes/geometry-visualization-server
3ea890d760ada4e5a248e98dded2e27ba6bd5dde
[ "MIT" ]
1
2019-01-09T12:17:40.000Z
2019-01-09T12:17:40.000Z
src/gvs/vis-client/scene/drawables.hpp
LoganBarnes/geometry-visualization-server
3ea890d760ada4e5a248e98dded2e27ba6bd5dde
[ "MIT" ]
1
2019-04-03T17:10:59.000Z
2019-04-03T17:10:59.000Z
src/gvs/vis-client/scene/drawables.hpp
LoganBarnes/geometry-visualization-server
3ea890d760ada4e5a248e98dded2e27ba6bd5dde
[ "MIT" ]
1
2019-04-03T16:24:18.000Z
2019-04-03T16:24:18.000Z
// /////////////////////////////////////////////////////////////////////////////////////// // Geometry Visualization Server // Copyright (c) 2019 Logan Barnes - All Rights Reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (...
41.706897
107
0.675072
LoganBarnes
1fd67b35a3b7988f67ed6317f1468d31320c5c04
2,884
cpp
C++
source/kprintf.cpp
batitous/KlipFramework
bd7fc18e85f864fb79727ae2874049b14a40adca
[ "MIT" ]
null
null
null
source/kprintf.cpp
batitous/KlipFramework
bd7fc18e85f864fb79727ae2874049b14a40adca
[ "MIT" ]
null
null
null
source/kprintf.cpp
batitous/KlipFramework
bd7fc18e85f864fb79727ae2874049b14a40adca
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2013 Baptiste Burles, Kliplab 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, c...
24.033333
81
0.57975
batitous
1fdb742b19845ee7ac53f77eab1c49a2232ce28a
4,558
cpp
C++
IBSimu/einzel/rz/einzel.cpp
DanielWinklehner/uspas_ionsource_problems
cea34902459f5b8cc0fa4b90fbd39d368aee923c
[ "MIT" ]
1
2018-06-21T10:17:25.000Z
2018-06-21T10:17:25.000Z
IBSimu/einzel/rz/einzel.cpp
DanielWinklehner/uspas_ionsource_problems
cea34902459f5b8cc0fa4b90fbd39d368aee923c
[ "MIT" ]
null
null
null
IBSimu/einzel/rz/einzel.cpp
DanielWinklehner/uspas_ionsource_problems
cea34902459f5b8cc0fa4b90fbd39d368aee923c
[ "MIT" ]
null
null
null
/* Cylindrically symmetric simulation of an einzel lens * * A 10 keV, 1 mA Ar-8+ beam propagates through a cylindrically * symmetric, accelerating einzel lens with 5 kV voltage. * * This is the first example of the Jyvaskyla Summer School course * Computational Ion Optics with IBSimu (PH1). */ #include <fstream...
27.293413
71
0.655551
DanielWinklehner
1fdf2c5385da1b98431feda091a5ed2bb19796fc
26,012
cpp
C++
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_cursor.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_cursor.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_cursor.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
38.365782
100
0.682992
sam1016yu
1fe799b775aae4f305566c5d6f2c646151b5b9a9
3,374
cc
C++
larq_compute_engine/mlir/transforms/translate_tflite.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
larq_compute_engine/mlir/transforms/translate_tflite.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
larq_compute_engine/mlir/transforms/translate_tflite.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
#include "flatbuffers/flexbuffers.h" #include "larq_compute_engine/mlir/ir/lce_ops.h" #include "mlir/IR/PatternMatch.h" #include "mlir/Pass/Pass.h" #include "mlir/Transforms/GreedyPatternRewriteDriver.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" namespace mlir { namespace TFL { namespace { struct Transla...
40.166667
80
0.692353
godhj93
1feb4e13a980ec68e38d7cb418f4b8e9a78ac1ea
3,186
cpp
C++
Scarlet-Additions/Scarlet-OpenAL/Source/Core/InterfaceOpenAL.cpp
jesseobrien247/Scarlet-Series
9e1ae579d2fd9bd9a3f99f376da8dc6c2bce070a
[ "Apache-2.0" ]
null
null
null
Scarlet-Additions/Scarlet-OpenAL/Source/Core/InterfaceOpenAL.cpp
jesseobrien247/Scarlet-Series
9e1ae579d2fd9bd9a3f99f376da8dc6c2bce070a
[ "Apache-2.0" ]
null
null
null
Scarlet-Additions/Scarlet-OpenAL/Source/Core/InterfaceOpenAL.cpp
jesseobrien247/Scarlet-Series
9e1ae579d2fd9bd9a3f99f376da8dc6c2bce070a
[ "Apache-2.0" ]
null
null
null
#include "InterfaceOpenAL.h" #include <ScarletAudioFX.h> #include "Resources/OpenALBuffer.h" #include "Resources/OpenALDevice.h" #include "Resources/OpenALListener.h" #include "Resources/OpenALSource.h" namespace OpenAL { // Can Handle Engine/Module Manager Events. void InterfaceOpenAL::OnGlobal(Event& _Even...
53.1
161
0.655681
jesseobrien247
1feeaf1e090321382c71ed7ff7611c802c806ced
3,118
cpp
C++
Official Windows Platform Sample/XAML FlipView control sample/[C++]-XAML FlipView control sample/C++/Windows/Scenario3_InteractiveContent.xaml.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/XAML FlipView control sample/[C++]-XAML FlipView control sample/C++/Windows/Scenario3_InteractiveContent.xaml.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/XAML FlipView control sample/[C++]-XAML FlipView control sample/C++/Windows/Scenario3_InteractiveContent.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2015-12-25T11:15:10.000Z
2015-12-25T11:15:10.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
30.568627
120
0.677678
zzgchina888
1ff1fe547fd07f3673c4b46f9ca14809b932fd0f
4,555
cpp
C++
ccc/src/v20200210/model/MessageBody.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
ccc/src/v20200210/model/MessageBody.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
ccc/src/v20200210/model/MessageBody.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
27.77439
138
0.659495
suluner
1ff8b8bcb2898803fae75d23cbce6477d83d5965
244
cpp
C++
quincySystemLibrary/tests/src/thread/MutexTest.cpp
quincycs/CollegeProjects
ff1634af0399e3cefaa0f6dcbc60acff4522f016
[ "MIT" ]
null
null
null
quincySystemLibrary/tests/src/thread/MutexTest.cpp
quincycs/CollegeProjects
ff1634af0399e3cefaa0f6dcbc60acff4522f016
[ "MIT" ]
null
null
null
quincySystemLibrary/tests/src/thread/MutexTest.cpp
quincycs/CollegeProjects
ff1634af0399e3cefaa0f6dcbc60acff4522f016
[ "MIT" ]
null
null
null
/* * MutexTest.cpp * * Created on: Jul 8, 2010 * Author: quincy */ #include "MutexTest.hpp" namespace quincySystemLibrary_Tests { void MutexTest::RunTests()throw(exception){ //there are no mutex tests, but IPC uses mutexes. } }
14.352941
50
0.680328
quincycs
1ffa09c7ba769315f6bee5192a561c594ae19a1e
2,802
cpp
C++
project2D/Player.cpp
ASharpy/AI-Project
0d7972aed20a2323c56906bd0861f41b86e3e4ef
[ "MIT" ]
null
null
null
project2D/Player.cpp
ASharpy/AI-Project
0d7972aed20a2323c56906bd0861f41b86e3e4ef
[ "MIT" ]
null
null
null
project2D/Player.cpp
ASharpy/AI-Project
0d7972aed20a2323c56906bd0861f41b86e3e4ef
[ "MIT" ]
null
null
null
#include "Player.h" #include <iostream> #include "BSM.h" Player::Player(float PosX, float PosY) { position = {PosX,PosY}; width = 15; BM = new BSM(); //int playerindex2 = NM.index((int)player2->position.x, (int)player2->position.y); } void Player::update(float deltaTime) { tempvec.x = 0; tempvec.y = 0;...
14.825397
110
0.629907
ASharpy
1ffd8700869ef02fb8d162700ac9b4c11857d6ca
432
hh
C++
src/browser/statusbar/position.hh
deurzen/bowser
e94c0f6f8b91c8e0d19da45b94f01480398e4c45
[ "BSD-3-Clause" ]
1
2019-07-08T13:40:32.000Z
2019-07-08T13:40:32.000Z
src/browser/statusbar/position.hh
deurzen/bowser
e94c0f6f8b91c8e0d19da45b94f01480398e4c45
[ "BSD-3-Clause" ]
null
null
null
src/browser/statusbar/position.hh
deurzen/bowser
e94c0f6f8b91c8e0d19da45b94f01480398e4c45
[ "BSD-3-Clause" ]
null
null
null
#ifndef __BOWSER__BROWSER__STATUSBAR__POSITION__GUARD__ #define __BOWSER__BROWSER__STATUSBAR__POSITION__GUARD__ #include "textbase.hh" class position_t : public textbase_t { Q_OBJECT public: position_t(QWidget& parent) : textbase_t(parent), m_parent(parent) { textbase_t::setTex...
17.28
55
0.729167
deurzen
1fff3859be5c2727bdeb856efd8295792b57988c
1,478
cpp
C++
leetcode2/implementtrieprefixtree.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
leetcode2/implementtrieprefixtree.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
leetcode2/implementtrieprefixtree.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class TrieNode { public: // Initialize your data structure here. TrieNode() { isWord=false; memset(child,NULL,sizeof(child)); } bool isWord; TrieNode* child[26]; }; class Trie { public: Trie() { root = new TrieNode(); } // Inserts a word into the trie. void ...
20.527778
60
0.466171
WIZARD-CXY
950094ad31622d0f269abc5e58ffa6372adb6624
76
cpp
C++
CONTRIB/LLVM/_Demo/Lib_GZ/Lib_GZ.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
1
2021-05-05T20:42:24.000Z
2021-05-05T20:42:24.000Z
CONTRIB/LLVM/_Demo/Lib_GZ/Lib_GZ.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
CONTRIB/LLVM/_Demo/Lib_GZ/Lib_GZ.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
#include "Lib_GZ/Lib_GZ.h" #include "Lib_GZ/Lib_GZ.icpp" GZ_mCppLib(Lib_GZ)
25.333333
29
0.776316
Cwc-Test
9501f2ebfba5160ff3758c71b65ab19ee138a520
361
hpp
C++
src/engine/core/DedicatedServerMode.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
1
2018-06-22T15:46:42.000Z
2018-06-22T15:46:42.000Z
src/engine/core/DedicatedServerMode.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
3
2018-05-13T14:15:53.000Z
2018-05-29T08:06:26.000Z
src/engine/core/DedicatedServerMode.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
null
null
null
/// @file #pragma once #include "IEngineExecMode.hpp" struct IEngineServer; class CDedicatedServerMode final : public IEngineExecMode { public: CDedicatedServerMode(); ~CDedicatedServerMode(); void Init(ICoreEnv *apCoreEnv) override; void Shutdown() override; void Frame(float afTimeStep) override; private:...
17.190476
57
0.770083
BlackPhrase
9507a8632f5cab8811dfdcb8c438807713fef56e
1,290
cpp
C++
aws-cpp-sdk-workmail/source/model/ListMailDomainsResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-workmail/source/model/ListMailDomainsResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-workmail/source/model/ListMailDomainsResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/workmail/model/ListMailDomainsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws...
25.8
110
0.755814
perfectrecall
9507e24a46ea4c5ec7326ec7b039e5ebc843afbd
2,186
cpp
C++
platform/switch/source/objects/image.cpp
henlo-birb/lovepotion
3b7128f0683252915cd0178a3e028a553b01fdc1
[ "0BSD" ]
null
null
null
platform/switch/source/objects/image.cpp
henlo-birb/lovepotion
3b7128f0683252915cd0178a3e028a553b01fdc1
[ "0BSD" ]
null
null
null
platform/switch/source/objects/image.cpp
henlo-birb/lovepotion
3b7128f0683252915cd0178a3e028a553b01fdc1
[ "0BSD" ]
null
null
null
#include "objects/image/image.h" #include "modules/image/imagemodule.h" #include "deko3d/deko.h" #include "modules/graphics/graphics.h" using namespace love; Image::Image(const Slices& slices, bool validate) : Texture(slices.GetTextureType()), data(slices), mipmapsType(MIPMAPS_NONE), sRGB(Graphics::...
28.38961
97
0.627173
henlo-birb
9508e25dc4b7413909b3c345c5869efaaed4fe35
1,154
cpp
C++
tests/test1.cpp
IonkinaM/laba5
2473e58ea7ec82c4f7ce670b90a65d57f65d84a2
[ "MIT" ]
null
null
null
tests/test1.cpp
IonkinaM/laba5
2473e58ea7ec82c4f7ce670b90a65d57f65d84a2
[ "MIT" ]
null
null
null
tests/test1.cpp
IonkinaM/laba5
2473e58ea7ec82c4f7ce670b90a65d57f65d84a2
[ "MIT" ]
null
null
null
// Copyright 2021 Your Name <your_email> #include <stdexcept> #include <gtest/gtest.h> #include <task1.hpp> TEST(Stack1, PushTest) { Stack1<int> s; EXPECT_EQ(s.stack_size(), 0); s.push(1); EXPECT_EQ(s.stack_size(), 1); EXPECT_EQ(s.head(), 1); s.push(11); EXPECT_EQ(s.stack_size(), 2); EXPECT_EQ(s.head(...
26.837209
71
0.696707
IonkinaM
9509923adbf78028b31e54d8462e6f112a7f44e1
10,009
cpp
C++
src/Access/RowPolicyCache.cpp
monadbobo/ClickHouse
73b0f8db8c327a1d63cc7ebcc56087a3f9866dae
[ "Apache-2.0" ]
null
null
null
src/Access/RowPolicyCache.cpp
monadbobo/ClickHouse
73b0f8db8c327a1d63cc7ebcc56087a3f9866dae
[ "Apache-2.0" ]
1
2020-04-04T04:25:47.000Z
2020-04-04T04:25:47.000Z
src/Access/RowPolicyCache.cpp
monadbobo/ClickHouse
73b0f8db8c327a1d63cc7ebcc56087a3f9866dae
[ "Apache-2.0" ]
null
null
null
#include <Access/RowPolicyCache.h> #include <Access/EnabledRowPolicies.h> #include <Access/AccessControlManager.h> #include <Parsers/ASTLiteral.h> #include <Parsers/ASTFunction.h> #include <Parsers/ExpressionListParsers.h> #include <Parsers/parseQuery.h> #include <Common/Exception.h> #include <Common/quoteString.h> #in...
32.080128
142
0.631831
monadbobo
95154eadaa570aa4adfbc09b329a12f8e57b7c78
804
cpp
C++
course-1/ppa06.cpp
tylerdn7/mooc
ab15959d8006e054b6ce772004b57845c6bd2a39
[ "MIT" ]
null
null
null
course-1/ppa06.cpp
tylerdn7/mooc
ab15959d8006e054b6ce772004b57845c6bd2a39
[ "MIT" ]
null
null
null
course-1/ppa06.cpp
tylerdn7/mooc
ab15959d8006e054b6ce772004b57845c6bd2a39
[ "MIT" ]
null
null
null
/** ** IIT CSE - 101 ** Practice Programmin Assignment - 03 ** Ahasanul Basher Hamza ** Date: 27/02/18 ***/ #include <iostream> #include <string> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> using namespace std; int * getArray1D(int n) { int *ara = new int[n]; return ara; } /*Q...
17.106383
142
0.580846
tylerdn7
9516a9723e97de8047f3a0fd4e5f11c0a78a4660
1,738
hpp
C++
HotPatcher/Source/HotPatcherEditor/Classes/Commandlets/CommandletHelper.hpp
kongbawa/HotPatcher
7b6ec7db73614f1404ca32676e4c9a808d0bce05
[ "MIT" ]
1
2021-12-10T09:16:37.000Z
2021-12-10T09:16:37.000Z
HotPatcher/Source/HotPatcherEditor/Classes/Commandlets/CommandletHelper.hpp
kongbawa/HotPatcher
7b6ec7db73614f1404ca32676e4c9a808d0bce05
[ "MIT" ]
null
null
null
HotPatcher/Source/HotPatcherEditor/Classes/Commandlets/CommandletHelper.hpp
kongbawa/HotPatcher
7b6ec7db73614f1404ca32676e4c9a808d0bce05
[ "MIT" ]
null
null
null
#pragma once #include "ETargetPlatform.h" #include "FlibPatchParserHelper.h" #define PATCHER_CONFIG_PARAM_NAME TEXT("-config=") namespace CommandletHelper { namespace NSPatch { void ReceiveMsg(const FString& InMsgType,const FString& InMsg) { UE_LOG(LogHotPatcherCommandlet,Display,TEXT("%s:%s"...
26.738462
111
0.729574
kongbawa
951fb609c54e82055c454d95569e0cf537dcbfdc
8,542
cpp
C++
src/uniformization.cpp
connorzl/geometry-central
99114ffaf3efb58c912f94402dd0426cbb17d3f1
[ "MIT" ]
null
null
null
src/uniformization.cpp
connorzl/geometry-central
99114ffaf3efb58c912f94402dd0426cbb17d3f1
[ "MIT" ]
null
null
null
src/uniformization.cpp
connorzl/geometry-central
99114ffaf3efb58c912f94402dd0426cbb17d3f1
[ "MIT" ]
null
null
null
#include "geometrycentral/uniformization.h" Uniformization::Uniformization(HalfedgeMesh* m, Geometry<Euclidean> *g, VertexData<int> s) : mesh(m), geom(g), singularities(s) { cmEdgeLengths = EdgeData<double>(mesh); cmAngles = HalfedgeData<double>(mesh); cmAreas = FaceData<double>(mesh); cmCurvatures = V...
37.13913
129
0.5727
connorzl
9523068e6c1697e7a3735e2f9612a4e9f37d13bb
86
cpp
C++
src/AbstractEntities/truthvaluefield.cpp
SergeyG22/SmartCheckers
64b6e7125bddf3c876961cea47cde303b9d6b79a
[ "MIT" ]
1
2022-01-25T09:39:18.000Z
2022-01-25T09:39:18.000Z
src/AbstractEntities/truthvaluefield.cpp
SergeyG22/SmartCheckers
64b6e7125bddf3c876961cea47cde303b9d6b79a
[ "MIT" ]
null
null
null
src/AbstractEntities/truthvaluefield.cpp
SergeyG22/SmartCheckers
64b6e7125bddf3c876961cea47cde303b9d6b79a
[ "MIT" ]
null
null
null
#include "../../include/truthvaluefield.h" TruthValueField::TruthValueField() { }
10.75
42
0.697674
SergeyG22
9523f1c15db003aeca435770255ca672516c9147
1,279
cpp
C++
sdl1/f1spirit/RacingCCar.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/f1spirit/RacingCCar.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/f1spirit/RacingCCar.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
#ifdef _WIN32 #include "windows.h" #endif #include "math.h" #include "stdlib.h" #include "string.h" #include "GL/gl.h" #include "GL/glu.h" #include "SDL.h" #include "SDL_image.h" #include "SDL_mixer.h" #include "SDL_net.h" #include "F1Spirit.h" #include "sound.h" #include "List.h" #include "2DCMC.h" #include "auxili...
14.211111
38
0.698202
pdpdds
9524d194694526d3f91f6b0927b1910100464cf5
1,941
cpp
C++
leetcode/problems/hard/906-super-palindromes.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/hard/906-super-palindromes.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/hard/906-super-palindromes.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Super Palindromes https://leetcode.com/problems/super-palindromes/ Let's say a positive integer is a super-palindrome if it is a palindrome, and it is also the square of a palindrome. Given two positive integers left and right represented as strings, return the number of super-palindromes integers in the inclusive...
28.544118
152
0.555384
wingkwong
9525ba5359e5887f0a43fb75eee1c397227bacfb
61
cpp
C++
maylee/source/utilities_tester/main.cpp
eidolonsystems/maylee
a0a2e94bdc8543f88e428bee53b83db7a4bca0c0
[ "MIT" ]
null
null
null
maylee/source/utilities_tester/main.cpp
eidolonsystems/maylee
a0a2e94bdc8543f88e428bee53b83db7a4bca0c0
[ "MIT" ]
null
null
null
maylee/source/utilities_tester/main.cpp
eidolonsystems/maylee
a0a2e94bdc8543f88e428bee53b83db7a4bca0c0
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "maylee/maylee/catch.hpp"
20.333333
34
0.819672
eidolonsystems
952e4dd055002e6ef1c555ece3259801972bc501
1,227
cpp
C++
2021/11. Sorting/20311019/2. LongestSite/2. LongestSite.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
7
2021-03-24T16:30:45.000Z
2022-03-27T09:02:15.000Z
2021/11. Sorting/20311019/2. LongestSite/2. LongestSite.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
null
null
null
2021/11. Sorting/20311019/2. LongestSite/2. LongestSite.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
17
2021-03-22T09:42:22.000Z
2022-03-28T03:24:07.000Z
#include <iostream> #include <sstream> using namespace std; int main() { int m = 0, pos = 0, len_string = 1, len = 1, lastPos = 0, lastLen = 0; string array_string; cout << "Enter array: "; getline(cin, array_string, '\n'); int array_size = array_string.size(); int* d = new int[array_size]; ...
21.910714
81
0.419723
GeorgiIT
952f2ca449eacd9987336fc860179d7a1cef98c2
425
cc
C++
Graph/938.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
Graph/938.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
Graph/938.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
class Solution { public: int ans = 0; int lb; int hb; void inorder(TreeNode* root){ if (!root) return; inorder(root->left); if (root->val<=hb && root->val>=lb) { ans += root->val; } inorder(root->right); } int rangeSumBST(TreeNode* root, int l...
19.318182
56
0.475294
guohaoqiang
952fba1839b860e017bc70c8dc216b330585e977
5,020
hpp
C++
src/base/rmg/bitmap.hpp
khantkyawkhaung/robot-monitor-graphics
2d365b3f3537e141cd1ec82f840c300abd79082b
[ "MIT" ]
2
2020-06-16T14:47:11.000Z
2020-07-09T15:34:55.000Z
src/base/rmg/bitmap.hpp
khantkyawkhaung/robot-monitor-graphics
2d365b3f3537e141cd1ec82f840c300abd79082b
[ "MIT" ]
null
null
null
src/base/rmg/bitmap.hpp
khantkyawkhaung/robot-monitor-graphics
2d365b3f3537e141cd1ec82f840c300abd79082b
[ "MIT" ]
null
null
null
/** * @file bitmap.hpp * @brief 2D image loading and manipulation * * Opens PNG, TIFF files and uses them for material bmptures or sprite images. * Color images or grayscale images. * * @copyright Copyright (c) 2020 Khant Kyaw Khaung * * @license{This project is released under the MIT License.} */ #pragm...
20.829876
78
0.566733
khantkyawkhaung
952fdf04094f5b0e141f6f3e0d5c49557bac0c70
9,853
cpp
C++
src/math/ConvexHullGraham.cpp
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
2
2016-06-23T21:20:19.000Z
2020-03-25T15:01:07.000Z
src/math/ConvexHullGraham.cpp
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
null
null
null
src/math/ConvexHullGraham.cpp
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
null
null
null
// ============================================================================= // ConvexHullGraham.cpp // // Copyright (C) 2007-2012 by Bach // This file is part of the LiSA project. // The LiSA project is licensed under MIT license. // // ===================================================================...
30.223926
127
0.553841
bach74
9533720fe9c1bd4bf4e6244aff3412492ef0a67c
841
cc
C++
cvd_src/draw.cc
rolandmas/libcvd
34d8e26dbc7d0923dce084b873aa2f2e9eb600d4
[ "BSD-2-Clause" ]
187
2015-01-23T16:56:21.000Z
2022-01-22T19:39:34.000Z
cvd_src/draw.cc
rolandmas/libcvd
34d8e26dbc7d0923dce084b873aa2f2e9eb600d4
[ "BSD-2-Clause" ]
44
2015-06-03T09:54:44.000Z
2021-10-04T02:41:48.000Z
cvd_src/draw.cc
rolandmas/libcvd
34d8e26dbc7d0923dce084b873aa2f2e9eb600d4
[ "BSD-2-Clause" ]
76
2015-02-19T18:44:38.000Z
2022-01-05T12:22:13.000Z
#include <cvd/draw.h> namespace CVD { std::vector<ImageRef> getCircle(int radius) { std::vector<ImageRef> points; int y = 0; for(int x = -radius; x <= 0; x++) { int nexty2 = radius * radius - ((x + 1) * (x + 1)); while(true) { points.push_back(ImageRef(x, y)); if(y * y >= nexty2) break; ++y; ...
19.113636
64
0.56956
rolandmas
95369e2986592222677dcd598e09092b14c23751
981
cpp
C++
emilio/operadores.cpp
nery556/programacionnery
01174228004bd88d803e8eba70c1333999e3f49a
[ "MIT" ]
null
null
null
emilio/operadores.cpp
nery556/programacionnery
01174228004bd88d803e8eba70c1333999e3f49a
[ "MIT" ]
null
null
null
emilio/operadores.cpp
nery556/programacionnery
01174228004bd88d803e8eba70c1333999e3f49a
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include <string> using namespace std; int main(){ float a,b,c; a=45; b=16; //cout << "Dame dos numeros" << endl; /*cin >> a >> b; cout << "La suma es " << a+b << endl; cout << "La resta es " << a-b << endl; cout << "La multiplicacion es " << a*b <...
18.509434
75
0.511723
nery556
953920c17c55b7197948e2fe9fcbe79ca3ea30f9
2,460
cpp
C++
Others/524-longest-word-in-dictionary-through-deleting.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
Others/524-longest-word-in-dictionary-through-deleting.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
Others/524-longest-word-in-dictionary-through-deleting.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; //leetcode submit region begin(Prohibit modification and deletion) class Solution { public: string findLongestWord(string s, vector<string> &dictionary) { string temp = ""; for (const auto &matc...
27.333333
87
0.374797
wandsX
95422c9066282c274ee490607b16cc3ed599b2f9
3,693
cpp
C++
sdl/sdlaudio.cpp
a7omic/snes9x-pb
1b97b6e853e696e472058a5fd505648b3a49c6f5
[ "Unlicense" ]
2
2015-10-03T18:38:58.000Z
2022-03-02T17:05:42.000Z
sdl/sdlaudio.cpp
a7omic/snes9x-pb
1b97b6e853e696e472058a5fd505648b3a49c6f5
[ "Unlicense" ]
2
2015-05-13T10:06:29.000Z
2016-04-18T12:09:59.000Z
sdl/sdlaudio.cpp
a7omic/snes9x-pb
1b97b6e853e696e472058a5fd505648b3a49c6f5
[ "Unlicense" ]
null
null
null
/*********************************************************************************** Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. See CREDITS file to find the copyright owners of this file. SDL Input/Audio/Video code (many lines of code come from snes9x & drnoksnes) (c) Copyright 2011 ...
25.825175
85
0.688871
a7omic
9545762d9ef61adba08502e8b3ac7aaad3424873
442
cpp
C++
SubscribePrintForm.cpp
hyo0913/MQTT-Client-with-QMQTT
d9974d755dcc4f16c1e89b426c45be3854bcdbb5
[ "MIT" ]
1
2021-02-10T08:56:12.000Z
2021-02-10T08:56:12.000Z
SubscribePrintForm.cpp
hyo0913/MQTT-Client-using-qmqtt
d9974d755dcc4f16c1e89b426c45be3854bcdbb5
[ "MIT" ]
null
null
null
SubscribePrintForm.cpp
hyo0913/MQTT-Client-using-qmqtt
d9974d755dcc4f16c1e89b426c45be3854bcdbb5
[ "MIT" ]
null
null
null
#include "SubscribePrintForm.h" #include "ui_SubscribePrintForm.h" SubscribePrintForm::SubscribePrintForm(const QString &topic) : QWidget(NULL), ui(new Ui::SubscribePrintForm) { ui->setupUi(this); ui->labelTopic->setText(topic); } SubscribePrintForm::~SubscribePrintForm() { delete u...
20.090909
63
0.699095
hyo0913
95459bfc0f37d4e5f3be85abf899a1126dd65bde
4,347
cpp
C++
src/pd/items.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/pd/items.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/pd/items.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
#include "items.h" #include "simpleresource.h" #include "level.h" #include "dungeon.h" #include "gamescene.h" #include "glog.h" #include "hero.h" #include "charsprite.h" #include "belongings.h" #include "splash.h" #include "statistics.h" #include "badge.h" #include "amuletscene.h" #include "../engine/game....
20.7
97
0.600644
mtribiere
954684d82a76722142bf0ec6167d8190165f3aaa
10,911
cpp
C++
SeriousSkaStudio/ColoredButton.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
SeriousSkaStudio/ColoredButton.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
SeriousSkaStudio/ColoredButton.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
// ColoredButton.cpp : implementation file // #include "stdafx.h" #include "seriousskastudio.h" #include "ColoredButton.h" #ifdef _DEBUG #undef new #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CCol...
28.121134
102
0.70351
openlastchaos
954b650d308fa6e5d2e357db99573048527408a7
6,137
cpp
C++
Framework/Source/Effects/SSR/HZB.cpp
guoxx/DDGI
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
[ "BSD-3-Clause" ]
15
2019-11-12T21:45:58.000Z
2022-02-08T07:07:06.000Z
Framework/Source/Effects/SSR/HZB.cpp
guoxx/DDGI
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
[ "BSD-3-Clause" ]
1
2020-01-16T07:21:23.000Z
2020-02-07T02:39:27.000Z
Framework/Source/Effects/SSR/HZB.cpp
guoxx/DDGI
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
[ "BSD-3-Clause" ]
3
2020-05-16T12:35:34.000Z
2022-01-23T07:30:47.000Z
/*************************************************************************** * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. ***************************************************************************/ #include "Framework.h" #include "HZB.h" #include "Utils/Gui.h" #include "API/RenderContext.h" #i...
42.916084
132
0.616262
guoxx
954e55511f888acfd96c82d84bf52b061cdea3a6
7,796
cpp
C++
src/UserInterface/Focusable.cpp
sabachan/framework
e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd
[ "MIT" ]
null
null
null
src/UserInterface/Focusable.cpp
sabachan/framework
e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd
[ "MIT" ]
null
null
null
src/UserInterface/Focusable.cpp
sabachan/framework
e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Focusable.h" #include "Container.h" namespace sg { namespace ui { //============================================================================= IFocusable::IFocusable() SG_CODE_FOR_ASSERT(: m_isRoot(false)) { } //'''''''''''''''''''''''''''''''''''''''''''''''''''''''...
37.84466
126
0.529759
sabachan
95508e40e93c67975e29ff9093f9fb032331d322
12,422
cpp
C++
src/db/TDBHandler.cpp
aogaki/GBSWebAPI
848bfe96234d8dbd8fbb8389da5a8a299f866af6
[ "Apache-2.0" ]
null
null
null
src/db/TDBHandler.cpp
aogaki/GBSWebAPI
848bfe96234d8dbd8fbb8389da5a8a299f866af6
[ "Apache-2.0" ]
null
null
null
src/db/TDBHandler.cpp
aogaki/GBSWebAPI
848bfe96234d8dbd8fbb8389da5a8a299f866af6
[ "Apache-2.0" ]
null
null
null
#include <TAxis.h> #include <TBufferJSON.h> #include <bsoncxx/exception/exception.hpp> #include <iostream> #include <utility> #include "TDBHandler.hpp" using bsoncxx::builder::stream::close_document; using bsoncxx::builder::stream::document; using bsoncxx::builder::stream::finalize; using bsoncxx::builder::stream::o...
34.032877
80
0.62816
aogaki
9552b6c2e5f119496535455589165c627210d13e
5,887
cpp
C++
src/plugins/WxSensorPrep/WxSensorPrep.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
src/plugins/WxSensorPrep/WxSensorPrep.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
src/plugins/WxSensorPrep/WxSensorPrep.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------------- // $Id: WxSensorPrep.cpp 135 2008-12-19 00:49:58Z omcf $ // -------------------------------------------------------------------------- // Copyright (c) 2008 Hewlett-Packard Development Company, L.P. // // Permission is hereby granted, free o...
27.900474
96
0.542891
SchademanK
955f78ebcb1f7659dd58f96b1008d44e031b7948
3,176
cc
C++
cvmfs/notify/cmd_sub.cc
egede/cvmfs
168cdbeeec9dabd1898d4ab7964cb3b9f63cfcd7
[ "BSD-3-Clause" ]
null
null
null
cvmfs/notify/cmd_sub.cc
egede/cvmfs
168cdbeeec9dabd1898d4ab7964cb3b9f63cfcd7
[ "BSD-3-Clause" ]
null
null
null
cvmfs/notify/cmd_sub.cc
egede/cvmfs
168cdbeeec9dabd1898d4ab7964cb3b9f63cfcd7
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the CernVM File System. */ #include "cmd_sub.h" #include "logging.h" #include "manifest.h" #include "notify/messages.h" #include "signature.h" #include "subscriber_supervisor.h" #include "subscriber_ws.h" #include "supervisor.h" #include "util/pointer.h" #include "util/posix.h" #include "...
29.407407
79
0.671285
egede
9570f49b05981af920f9a8e00bc5c5ee81caea50
254
cpp
C++
Source/PsFacebookMobile/Private/PsFacebookMobileSettings.cpp
PushkinStudio/PsFacebookMobile
6fe11e977558895b3f01da43a8d5f01931e31470
[ "MIT" ]
10
2019-07-20T12:33:45.000Z
2022-01-10T12:59:33.000Z
Source/PsFacebookMobile/Private/PsFacebookMobileSettings.cpp
PushkinStudio/PsFacebookMobile
6fe11e977558895b3f01da43a8d5f01931e31470
[ "MIT" ]
10
2019-06-03T15:22:13.000Z
2021-01-11T13:40:17.000Z
Source/PsFacebookMobile/Private/PsFacebookMobileSettings.cpp
PushkinStudio/PsFacebookMobile
6fe11e977558895b3f01da43a8d5f01931e31470
[ "MIT" ]
6
2019-11-20T10:51:17.000Z
2020-11-04T18:48:36.000Z
// Copyright 2015-2021 Mail.Ru Group. All Rights Reserved. #include "PsFacebookMobileSettings.h" UPsFacebookMobileSettings::UPsFacebookMobileSettings(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) , bEnableFacebook(true) { }
25.4
97
0.818898
PushkinStudio
95766534755d6d2287a93731314ba2ff9ef44a90
418
cpp
C++
engine/core/render/base/shader/editor/node/color/shader_node_gray_scale.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
engine/core/render/base/shader/editor/node/color/shader_node_gray_scale.cpp
timi-liuliang/echo
406b049ef55a1d01ac66820e1a64e1ab60437b69
[ "MIT" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
engine/core/render/base/shader/editor/node/color/shader_node_gray_scale.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
#include "shader_node_gray_scale.h" #ifdef ECHO_EDITOR_MODE static const char* code = R"(vec3 GrayScale(vec3 rgb) { float gray = dot(rgb, vec3(0.3, 0.59, 0.11)); return vec3(gray, gray, gray); })"; namespace Echo { ShaderNodeGrayScale::ShaderNodeGrayScale() : ShaderNodeGLSL() { setCode(code); } ShaderNode...
14.413793
53
0.700957
blab-liuliang
957d194842e8d70a3824d588a23bee039f5eb4ec
16,013
cpp
C++
voxblox_skeleton/src/skeleton_planner.cpp
madratman/mav_voxblox_planning
848d95cd33848c9338a74749054d611df2c2692f
[ "BSD-3-Clause" ]
308
2018-09-27T13:43:59.000Z
2022-03-21T01:47:19.000Z
voxblox_skeleton/src/skeleton_planner.cpp
standmit/mav_voxblox_planning
c03223707a674c1ad992b55b4b89dad371b900b7
[ "BSD-3-Clause" ]
52
2018-09-27T14:56:38.000Z
2022-03-29T08:04:09.000Z
voxblox_skeleton/src/skeleton_planner.cpp
standmit/mav_voxblox_planning
c03223707a674c1ad992b55b4b89dad371b900b7
[ "BSD-3-Clause" ]
129
2018-10-03T16:34:35.000Z
2022-03-09T05:53:29.000Z
#include "voxblox_skeleton/skeleton_planner.h" namespace voxblox { SkeletonAStar::SkeletonAStar() : max_iterations_(0), skeleton_layer_(nullptr) {} SkeletonAStar::SkeletonAStar(const Layer<SkeletonVoxel>* skeleton_layer) : max_iterations_(0), skeleton_layer_(skeleton_layer) { CHECK_NOTNULL(skeleton_layer_); } ...
37.589202
80
0.725098
madratman
957da1397e3db729f9cc0eaef09cca083bd05359
2,515
hpp
C++
src/axom/klee/Units.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/klee/Units.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/klee/Units.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #ifndef AXOM_UNITS_HPP #define AXOM_UNITS_HPP #include <string> namespace axom { namespace inlet { class Proxy; } name...
23.952381
83
0.72167
bmhan12
958271122e95c908e3545e108ed192d9cf7dc57f
8,703
cpp
C++
trellis/core/monitor_interface.cpp
agtonomy/trellis
ef50dc85d11af5badae9ca1487df100817c2b97f
[ "Apache-2.0" ]
13
2021-10-18T00:48:31.000Z
2022-02-06T06:23:47.000Z
trellis/core/monitor_interface.cpp
agtonomy/trellis
ef50dc85d11af5badae9ca1487df100817c2b97f
[ "Apache-2.0" ]
6
2021-11-24T18:26:54.000Z
2022-02-09T00:08:18.000Z
trellis/core/monitor_interface.cpp
agtonomy/trellis
ef50dc85d11af5badae9ca1487df100817c2b97f
[ "Apache-2.0" ]
1
2022-01-05T16:39:59.000Z
2022-01-05T16:39:59.000Z
/* * Copyright (C) 2021 Agtonomy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
40.859155
119
0.610594
agtonomy
95867ab1f2942ca098121df9fa2cab7ef0ab66e0
1,536
cpp
C++
152_maximum_product_subarray/subarray.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
152_maximum_product_subarray/subarray.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
152_maximum_product_subarray/subarray.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <algorithm> #include <vector> #include <unordered_map> #include <thread> #include <mutex> #include <condition_variable> using namespace std; template <typename T> void print_vector(vector<T> const &v) { cout << "["; for (auto it = v.begin(); it != v.end(); i...
18.506024
78
0.486328
neojou
958807ad76aa72710f7d5e1a11840c94d98a122f
7,963
cc
C++
Pechkin/Reference/source/lib/image_c_bindings.cc
scmccart/TuesPechkin
a4aa58e2d5f2a8f898a692f4469cf4baaabacbf0
[ "CC-BY-3.0" ]
262
2015-01-05T13:03:31.000Z
2022-03-05T11:37:44.000Z
Pechkin/Reference/source/lib/image_c_bindings.cc
scmccart/TuesPechkin
a4aa58e2d5f2a8f898a692f4469cf4baaabacbf0
[ "CC-BY-3.0" ]
41
2015-01-08T08:45:52.000Z
2020-04-20T15:59:34.000Z
Pechkin/Reference/source/lib/image_c_bindings.cc
scmccart/TuesPechkin
a4aa58e2d5f2a8f898a692f4469cf4baaabacbf0
[ "CC-BY-3.0" ]
108
2015-01-22T20:20:10.000Z
2022-01-21T10:43:52.000Z
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*- // vi:set ts=4 sts=4 sw=4 noet : // // Copyright 2010 wkhtmltopdf authors // // This file is part of wkhtmltopdf. // // wkhtmltopdf is free software: you can redistribute it and/or modify // ...
42.132275
128
0.766294
scmccart
958d4624d27babecb59f7e935df5d52d332d938d
1,785
cpp
C++
src/groundtruth.cpp
lightofanima/ImageBackgroundRemoval
e0eb017f0769a7d9671d4973182427f8d4869815
[ "MIT" ]
1
2018-05-03T14:02:39.000Z
2018-05-03T14:02:39.000Z
src/groundtruth.cpp
lightofanima/ImageBackgroundRemoval
e0eb017f0769a7d9671d4973182427f8d4869815
[ "MIT" ]
null
null
null
src/groundtruth.cpp
lightofanima/ImageBackgroundRemoval
e0eb017f0769a7d9671d4973182427f8d4869815
[ "MIT" ]
2
2018-06-29T06:59:19.000Z
2018-10-16T03:06:54.000Z
#include <vector> #include <opencv2\opencv.hpp> #include "rawrgbchar.h" #include "io.h" #include "groundtruth.h" std::vector<cv::Mat> GenerateGroundTruth (RawRgbChar* foreground, RawRgbChar* background) { //Prepare and wrap in Mat: Inform("Preparing ground truth"); using namespace cv; Mat matCharF[5]; Mat matCha...
28.333333
118
0.647619
lightofanima
95907b8bb956dcbfa9e73e8dc9251460881bb949
7,421
cpp
C++
src/command.cpp
blueshen/redox
39a418d13238f5ffdfa1f2ac7ced3bd8a9012d42
[ "Apache-2.0" ]
448
2015-01-21T10:28:48.000Z
2022-03-09T19:15:07.000Z
src/command.cpp
blueshen/redox
39a418d13238f5ffdfa1f2ac7ced3bd8a9012d42
[ "Apache-2.0" ]
57
2015-01-28T02:12:59.000Z
2021-12-08T18:12:33.000Z
src/command.cpp
blueshen/redox
39a418d13238f5ffdfa1f2ac7ced3bd8a9012d42
[ "Apache-2.0" ]
148
2015-01-29T23:21:50.000Z
2021-09-12T11:43:48.000Z
/* * Redox - A modern, asynchronous, and wicked fast C++11 client for Redis * * https://github.com/hmartiro/redox * * Copyright 2015 - Hayk Martirosyan <hayk.mart at gmail dot com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
26.985455
95
0.6677
blueshen
9591af2ad6bb2e2db609ee5690d6f3a051919137
6,642
cpp
C++
pgadmin/utils/sysLogger.cpp
jinfroster/pgadmin3
8d573a7f13a8b4161225363f1972d75004589275
[ "PostgreSQL" ]
null
null
null
pgadmin/utils/sysLogger.cpp
jinfroster/pgadmin3
8d573a7f13a8b4161225363f1972d75004589275
[ "PostgreSQL" ]
null
null
null
pgadmin/utils/sysLogger.cpp
jinfroster/pgadmin3
8d573a7f13a8b4161225363f1972d75004589275
[ "PostgreSQL" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // // Copyright (C) 2002 - 2014, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // // sysLogger.cpp - Log handling class // ////////////////////////////////////////////...
21.220447
110
0.658838
jinfroster
d2e86830c824e30d6678f547bb30e7e621ee00f7
307
cpp
C++
tests/algorithms/main.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
tests/algorithms/main.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
tests/algorithms/main.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019, Zhirnov Andrey. For more information see 'LICENSE' #include "stl/Common.h" #include <iostream> extern void Test_CmdBatchSort (); int main () { Test_CmdBatchSort(); FG_LOGI( "Tests.Algorithms finished" ); #ifdef PLATFORM_WINDOWS std::cin.ignore(); #endif return 0; }
15.35
79
0.70684
zann1x
d2eadaf036ae45de6108b78c4497c7991be5a8c3
238
cpp
C++
project_a/src/project_a.cpp
Karsten1987/modern_cmake_example
6e48b3b4ae3309846986649d216b327fae062237
[ "Apache-2.0" ]
null
null
null
project_a/src/project_a.cpp
Karsten1987/modern_cmake_example
6e48b3b4ae3309846986649d216b327fae062237
[ "Apache-2.0" ]
null
null
null
project_a/src/project_a.cpp
Karsten1987/modern_cmake_example
6e48b3b4ae3309846986649d216b327fae062237
[ "Apache-2.0" ]
null
null
null
#include "project_a/project_a.hpp" #include "./internal_include/project_a.hpp" #include "stdio.h" void ProjectA::print() const { fprintf(stdout, "printing ProjectA\n"); internal::ProjectAHelper a_helper; a_helper.print_debug(); }
19.833333
43
0.743697
Karsten1987
d2ec108dec095030122e5a4a73701097fa05b9f8
9,954
cpp
C++
export/windows/cpp/obj/src/WrenchPickup.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/WrenchPickup.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/WrenchPickup.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_WrenchPickup #include <WrenchPickup.h> #endif #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxObject #include <flixel/FlxObject.h> #endif #ifndef INCLUDED_flixel_FlxSprite #include <flixel/FlxSprite.h> #endif...
37.704545
218
0.698111
TinyPlanetStudios
d2efa64c79d5ef03354fd4723ade8c5500a0e4f7
1,109
cpp
C++
src/ui/wx/settings-main.cpp
keithbowes/r3r
a2631ea86479c21dae64c6663f1ededd4c3dfa81
[ "BSD-3-Clause" ]
4
2016-05-07T12:54:16.000Z
2020-06-21T05:45:30.000Z
src/ui/wx/settings-main.cpp
keithbowes/r3r
a2631ea86479c21dae64c6663f1ededd4c3dfa81
[ "BSD-3-Clause" ]
null
null
null
src/ui/wx/settings-main.cpp
keithbowes/r3r
a2631ea86479c21dae64c6663f1ededd4c3dfa81
[ "BSD-3-Clause" ]
1
2018-03-18T19:53:30.000Z
2018-03-18T19:53:30.000Z
#include "events.h" #include "settings-display.h" #include "settings-headers.h" #include "settings-http.h" #include "settings-main.h" #include "settings-programs.h" #include "settings-subscriptions.h" #include "settingsdialog.h" SettingsDialog * dlg; wxFrame *pFrame; void CreateSettingsDialog(wxFrame * parent) { dlg...
17.887097
59
0.715059
keithbowes
d2f5bb2d807bc309ed9d6bcfc3cccdf145396c84
10,202
cpp
C++
src/CoordinadorIsaac.cpp
Alejandro-Casanova/Videojuego-IIC
2df67acbc89e8c76bd73bfd3c1801c1aa4c73d4b
[ "MIT" ]
null
null
null
src/CoordinadorIsaac.cpp
Alejandro-Casanova/Videojuego-IIC
2df67acbc89e8c76bd73bfd3c1801c1aa4c73d4b
[ "MIT" ]
null
null
null
src/CoordinadorIsaac.cpp
Alejandro-Casanova/Videojuego-IIC
2df67acbc89e8c76bd73bfd3c1801c1aa4c73d4b
[ "MIT" ]
null
null
null
#include "CoordinadorIsaac.h" #include "ETSIDI.h" #include "freeglut.h" #include <sstream> #include "GestorDeTeclado.h" #include "GestorSprites.h" #include <iostream> #include <fstream> #include <algorithm> #include <ctime> CoordinadorIsaac:: CoordinadorIsaac() { } CoordinadorIsaac::~CoordinadorIsaac() { } void...
26.092072
113
0.650167
Alejandro-Casanova
9603c67e816546b3414d003e63cd2f84be051e78
8,015
cpp
C++
projects/src/test/TestBattery.cpp
adriansaridache/demo_fruity
8545d15ca6765396547fec23570fc6f80d05d979
[ "OLDAP-2.4" ]
null
null
null
projects/src/test/TestBattery.cpp
adriansaridache/demo_fruity
8545d15ca6765396547fec23570fc6f80d05d979
[ "OLDAP-2.4" ]
2
2017-09-19T11:46:02.000Z
2017-09-19T11:49:14.000Z
projects/fruitymesh/src/test/TestBattery.cpp
Bardo91/fruitymesh_grvc
872d3cb5e92a7fa6d4823b7295d20f459058fb19
[ "OLDAP-2.4" ]
null
null
null
/** Copyright (c) 2014-2015 "M-Way Solutions GmbH" FruityMesh - Bluetooth Low Energy mesh protocol [http://mwaysolutions.com/] This file is part of FruityMesh FruityMesh is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foun...
35
193
0.796007
adriansaridache
960625cf4253ffe913f083e3aaf215e646fcbe12
2,653
hpp
C++
lib/cpalgo/ds/binary_indexed_tree_2d.hpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
lib/cpalgo/ds/binary_indexed_tree_2d.hpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
lib/cpalgo/ds/binary_indexed_tree_2d.hpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#pragma once #include <functional> #include <map> #include <stdexcept> // BinaryIndexedTree // // Space: O(NM) // Time: // Query: O(logN logM logNM) // Update: O(logN logM logNM) // template<class T = int64_t> class BinaryIndexedTree2D { public: using F = std::function<T(T const&, T const&)>; protected: ...
27.635417
62
0.465888
xirc
960d6d98ffa2e097d64bf0e7d7e4f6d4a28969d4
2,060
hpp
C++
Firmware/Src/io/usb/UsbMidi.hpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
Firmware/Src/io/usb/UsbMidi.hpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
Firmware/Src/io/usb/UsbMidi.hpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
#ifndef USB_USBMIDI_HPP_ #define USB_USBMIDI_HPP_ #include <stdint.h> namespace freertos { class Queue; } namespace midi { struct MidiPacket { uint8_t header; uint8_t data[3]; }; union MidiInput { uint32_t input; MidiPacket packet; }; enum CodeIndexNumber { kMiscellaneousFunctionCodes = 0x...
22.150538
96
0.712136
borgu
9616786fd5042fc7a8166be1ad61f97a6b8880fa
2,248
cpp
C++
app/examGen/GenSolution.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
2
2019-07-15T05:01:57.000Z
2019-09-25T20:23:04.000Z
app/examGen/GenSolution.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
null
null
null
app/examGen/GenSolution.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
null
null
null
#include "GenSolution.h" #include "GenExam.h" #include "GenItem.h" #include "GenOption.h" #include "GenOptions.h" #include "Log.h" GenSolution::GenSolution(GenExam *pExam) : ILeafGenerator{} , pExam_{pExam} , solutions_{} { type_ = "GenSolution"; LOGD(id_ + ", initialised", 2); } IGen...
26.761905
81
0.498665
josokw
961735b8039210f39ebadebc383b4ed16ea29ab2
1,587
cc
C++
code/render/models/framebatchtype.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/models/framebatchtype.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/models/framebatchtype.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // modelnodetype.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2015 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "models/framebatcht...
26.898305
80
0.512917
gscept
9623d33e94dd2c525873654a9cabb0f91d00dfe5
5,995
cpp
C++
scripts/engine_pt.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
1
2021-10-04T02:36:30.000Z
2021-10-04T02:36:30.000Z
scripts/engine_pt.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
null
null
null
scripts/engine_pt.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
null
null
null
/* Renegade Scripts.dll Copyright 2017 Tiberian Technologies This file is part of the Renegade scripts.dll The Renegade scripts.dll is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at yo...
27.004505
167
0.692911
TheUnstoppable
96280fd765f2d2a8ee59a94ac31ea1e22daeed54
5,946
cpp
C++
prt/prt.cpp
soundsilence/Tracer
3a71b2afcbd3debc34d601962a80967d8aa1cae0
[ "MIT" ]
null
null
null
prt/prt.cpp
soundsilence/Tracer
3a71b2afcbd3debc34d601962a80967d8aa1cae0
[ "MIT" ]
null
null
null
prt/prt.cpp
soundsilence/Tracer
3a71b2afcbd3debc34d601962a80967d8aa1cae0
[ "MIT" ]
null
null
null
#include "prt.h" #include "stdio.h" #include <sys/types.h> #include <sys/stat.h> #include "direct.h" using namespace std; using namespace cv; using namespace Eigen; /// <summary> /// Creates a cubemap with a single pixel has color (1, 1, 1) and other pixels black. /// </summary> /// <param name="face_index">The index...
25.194915
122
0.589304
soundsilence
96287c08d0a5828feb140e838ac0cfaa3aededb1
3,073
cpp
C++
leetcode291.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode291.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode291.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
class Solution { private: vector<int> cnts; vector<pair<int, int>> dict; int cnt; int pat_len; int str_len; bool isExist(int x, int y, string& str) { if(x > y) return true; for(auto& item: dict) { if(item.first == -1) continue; ...
32.010417
107
0.391149
SJTUGavinLiu
9628871c670f6df9415247be35c9622d38bd0e1d
2,794
cpp
C++
ZooidEngine/Renderer/GL/GLFrameBuffer.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
4
2019-05-31T22:55:49.000Z
2020-11-26T11:55:34.000Z
ZooidEngine/Renderer/GL/GLFrameBuffer.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
null
null
null
ZooidEngine/Renderer/GL/GLFrameBuffer.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
1
2018-04-11T02:50:47.000Z
2018-04-11T02:50:47.000Z
#include "GLFrameBuffer.h" #include "GLTexture.h" #include "GLRenderBuffer.h" #include "Enums.h" namespace ZE { GLFrameBuffer::GLFrameBuffer() : m_bColorAttached(false), m_fbo(0) { } void GLFrameBuffer::create() { IGPUFrameBuffer::create(); glGenFramebuffers(1, &m_fbo); } void GLFrameBuffer::addTe...
24.086207
168
0.739084
azon04
962a512944dfff0ba5fc045ec8d30a8365574769
3,799
cpp
C++
J1939/J1939Frame.cpp
ardenjay/J1939-Framework
6cc44b6d1f8b3f34c665541b26d81301477a956a
[ "MIT" ]
6
2020-08-29T01:19:51.000Z
2022-03-29T07:25:37.000Z
J1939/J1939Frame.cpp
ardenjay/J1939-Framework
6cc44b6d1f8b3f34c665541b26d81301477a956a
[ "MIT" ]
8
2019-12-04T04:41:44.000Z
2022-02-26T21:26:57.000Z
J1939/J1939Frame.cpp
ardenjay/J1939-Framework
6cc44b6d1f8b3f34c665541b26d81301477a956a
[ "MIT" ]
1
2021-09-30T20:05:04.000Z
2021-09-30T20:05:04.000Z
/* * J1939Frame.cpp * * Created on: Sep 23, 2017 * Author: famez */ #include <iostream> #include <sstream> #include <string.h> #include <string> #include <Assert.h> #include <Utils.h> #include <J1939Frame.h> #define UNKNOWN_FRAME "Unknown" namespace std { template<typename _CharT, typename _Traits> inli...
21.105556
80
0.677283
ardenjay
9635e8082d468018a8047eaf5abc159423a92f8f
635
hpp
C++
include/sherlock/Deallocator.hpp
vmlaker/sherlock-cpp
b2607b0541955807345b99cb2530ba07f119ff2d
[ "MIT" ]
5
2017-05-12T09:11:53.000Z
2021-06-30T15:30:57.000Z
include/sherlock/Deallocator.hpp
vmlaker/sherlock-cpp
b2607b0541955807345b99cb2530ba07f119ff2d
[ "MIT" ]
2
2016-04-27T01:59:46.000Z
2017-05-12T09:03:19.000Z
include/sherlock/Deallocator.hpp
vmlaker/sherlock-cpp
b2607b0541955807345b99cb2530ba07f119ff2d
[ "MIT" ]
3
2016-11-07T10:03:47.000Z
2019-12-03T09:19:48.000Z
#ifndef SHERLOCK_DEALLOCATOR_HPP_INCLUDED #define SHERLOCK_DEALLOCATOR_HPP_INCLUDED // Include 3rd party headers. #include <opencv2/opencv.hpp> #include <bites.hpp> namespace sherlock { /*! Memory deallocation thread. */ class Deallocator : public bites::Thread { public: Deallocator( bites::ConcurrentQueue ...
22.678571
65
0.710236
vmlaker
9637b6995b88f4fa17fdcb494ee53b572cb3f52d
1,885
cpp
C++
TitaniumRose/src/TitaniumRose/Renderer/PerspectiveCamera.cpp
Zinadore/Hazel-D3D12
084cf9a473b6c66a2890f107667f687d6c7ed0a0
[ "Apache-2.0" ]
null
null
null
TitaniumRose/src/TitaniumRose/Renderer/PerspectiveCamera.cpp
Zinadore/Hazel-D3D12
084cf9a473b6c66a2890f107667f687d6c7ed0a0
[ "Apache-2.0" ]
null
null
null
TitaniumRose/src/TitaniumRose/Renderer/PerspectiveCamera.cpp
Zinadore/Hazel-D3D12
084cf9a473b6c66a2890f107667f687d6c7ed0a0
[ "Apache-2.0" ]
null
null
null
#include "trpch.h" #include "TitaniumRose/Renderer/PerspectiveCamera.h" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/quaternion.hpp> namespace Roses { PerspectiveCamera::PerspectiveCamera(const glm::vec3& position, float fov, float aspectRatio, float zNear, float zFar) : m_ProjectionMatrix(glm::pers...
30.403226
122
0.725729
Zinadore
963bfd922633b8aa39f78e52eccdfe34f8289d83
678
cpp
C++
tests/unittest/Core/mapiterators.cpp
Yasoo31/Radium-Engine
e22754d0abe192207fd946509cbd63c4f9e52dd4
[ "Apache-2.0" ]
78
2017-12-01T12:23:22.000Z
2022-03-31T05:08:09.000Z
tests/unittest/Core/mapiterators.cpp
Yasoo31/Radium-Engine
e22754d0abe192207fd946509cbd63c4f9e52dd4
[ "Apache-2.0" ]
527
2017-09-25T13:05:32.000Z
2022-03-31T18:47:44.000Z
tests/unittest/Core/mapiterators.cpp
Yasoo31/Radium-Engine
e22754d0abe192207fd946509cbd63c4f9e52dd4
[ "Apache-2.0" ]
48
2018-01-04T22:08:08.000Z
2022-03-03T08:13:41.000Z
#include <Core/Utils/StdMapIterators.hpp> #include <string> #include <catch2/catch.hpp> TEST_CASE( "Core/Utils/StdMapIterators", "[Core][Core/Utils][StdMapIterators]" ) { std::map<int, std::string> myMap {{2, "2"}, {3, "3"}}; //! [Iterating over keys] for ( const auto& k : Ra::Core::Utils::map_keys( myM...
29.478261
82
0.573746
Yasoo31
963dc5efe9381de2c4fd5b2273153ea0b67e8d64
620
cpp
C++
Integration/Double-Exponential/C++/DoubleExp.cpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
null
null
null
Integration/Double-Exponential/C++/DoubleExp.cpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
null
null
null
Integration/Double-Exponential/C++/DoubleExp.cpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
1
2021-12-15T02:03:01.000Z
2021-12-15T02:03:01.000Z
#include <iostream> #include "DoubleExp.hpp" #define starting_exponent 10 #define maximum_exponent 50 #define relative_tolerance 1e-10 #define absolute_tolerance 1e-10 #define precision 20 // #define LD double #define LD long double typedef LD (*func)(LD); // LD f(LD x){return exp( -pow(x , 2 )/1e-15 ) ;} ...
17.714286
72
0.667742
dkaramit
963e74daebcf127a63e3fba9ba169c637bda8e62
2,967
cpp
C++
Pdf/pdfix_sdk_example_cpp-master/src/CreateRedactionMark.cpp
laoola/ProjectCode
498a66cb9274f6bb7cca0d6e6052304d61740ba2
[ "Unlicense" ]
1
2021-08-23T05:56:09.000Z
2021-08-23T05:56:09.000Z
Pdf/pdfix_sdk_example_cpp-master/src/CreateRedactionMark.cpp
laoola/ProjectCode
498a66cb9274f6bb7cca0d6e6052304d61740ba2
[ "Unlicense" ]
null
null
null
Pdf/pdfix_sdk_example_cpp-master/src/CreateRedactionMark.cpp
laoola/ProjectCode
498a66cb9274f6bb7cca0d6e6052304d61740ba2
[ "Unlicense" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // CreatePage.cpp // Copyright (c) 2020 Pdfix. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// /*! \page CPP_Samples C++ Samples - \subpage Creat...
31.231579
100
0.650489
laoola
96435231cddc9f74b7531467ad217df4275299e3
4,050
cpp
C++
ME625_NURBS_SweptSurfaces/BSplineCurve.cpp
houes/ME625_NURBS_SweptSurfaces
0b3062a0ae5c7dbb885ac35ad12bcf2afaeec66e
[ "MIT" ]
3
2020-04-10T22:55:20.000Z
2022-02-08T11:10:28.000Z
ME625_NURBS_SweptSurfaces/BSplineCurve.cpp
houes/ME625_NURBS_SweptSurfaces
0b3062a0ae5c7dbb885ac35ad12bcf2afaeec66e
[ "MIT" ]
null
null
null
ME625_NURBS_SweptSurfaces/BSplineCurve.cpp
houes/ME625_NURBS_SweptSurfaces
0b3062a0ae5c7dbb885ac35ad12bcf2afaeec66e
[ "MIT" ]
null
null
null
#include "BSplineCurve.h" #include"Point.h" #include<assert.h> #include<algorithm> using namespace std; vector3D BSplineCurve::getFirstDerivative(double u) { return getDeriOfBSplineCurve(p,U,controlPts,u); } Point3D BSplineCurve::getPointAt(double u) { return curvePoint(n,p,U,controlPts,u); } BSplineCurve BSpli...
21.315789
145
0.576543
houes
964597f26cbdbb776fc3c2e12d647f455f1fe5b5
5,399
cpp
C++
app/control_module.cpp
nr-parikh/acme_robotics_perception_module
c681454b8b77c5e0aa7f990cc1fd6345f717920f
[ "MIT" ]
null
null
null
app/control_module.cpp
nr-parikh/acme_robotics_perception_module
c681454b8b77c5e0aa7f990cc1fd6345f717920f
[ "MIT" ]
null
null
null
app/control_module.cpp
nr-parikh/acme_robotics_perception_module
c681454b8b77c5e0aa7f990cc1fd6345f717920f
[ "MIT" ]
2
2017-10-16T03:16:35.000Z
2020-12-12T20:18:20.000Z
/** * @file control_module.cpp * @author nrparikh * @copyright MIT license * * @brief DESCRIPTION * Implementation file for the class ControlModule. The class computes the * action based on the readings from camera and ultrasonic sensor. * */ #include "control_module.hpp" #include <memory> #include <strin...
37.755245
80
0.586961
nr-parikh
964a023e02684f02edf579d0f96b2a3f9e75207d
541
cpp
C++
src/chess/bench/suggester_bench.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
src/chess/bench/suggester_bench.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
src/chess/bench/suggester_bench.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
#include <chess/Board.h> #include <chess/Suggester.h> #include <benchmark/benchmark.h> using chess::Board; using chess::Suggester; namespace { void bench_suggester_standard_board(benchmark::State& state) { auto board = Board::standard(); for (auto _ : state) { auto suggester ...
23.521739
78
0.680222
owengage
964db02ca0f8b4c48deda5d132f8d91a0453e079
3,436
hpp
C++
include/Turtlebotstates.hpp
senthilarul/QLearning-ENPM808X
191fa68edee2bea409625080c93f88ce8165a10a
[ "BSD-3-Clause" ]
8
2020-03-13T01:30:09.000Z
2021-06-07T01:48:20.000Z
include/Turtlebotstates.hpp
senthilarul/QLearning-ENPM808X
191fa68edee2bea409625080c93f88ce8165a10a
[ "BSD-3-Clause" ]
3
2018-12-25T04:56:26.000Z
2021-03-12T06:21:31.000Z
include/Turtlebotstates.hpp
senthilarul/QLearning-ENPM808X
191fa68edee2bea409625080c93f88ce8165a10a
[ "BSD-3-Clause" ]
1
2019-05-22T02:36:45.000Z
2019-05-22T02:36:45.000Z
#pragma once /** * Copyright (c) 2017, Senthil Hariharan Arul * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of co...
30.40708
77
0.731374
senthilarul
965d28b79e84f26a249f8510190c8a41dc3e0de9
3,216
cpp
C++
src/common/Honey/String/Util.cpp
Qarterd/Honeycomb
9b7066529444cdd85d3e3467b02b72eea651853d
[ "CC0-1.0" ]
33
2015-05-08T00:11:01.000Z
2022-03-04T08:25:06.000Z
src/common/Honey/String/Util.cpp
Qarterd/Honeycomb
9b7066529444cdd85d3e3467b02b72eea651853d
[ "CC0-1.0" ]
null
null
null
src/common/Honey/String/Util.cpp
Qarterd/Honeycomb
9b7066529444cdd85d3e3467b02b72eea651853d
[ "CC0-1.0" ]
6
2015-08-08T13:47:14.000Z
2021-04-06T02:29:41.000Z
// Honeycomb, Copyright (C) 2015 NewGamePlus Inc. Distributed under the Boost Software License v1.0. #pragma hdrstop #include "Honey/String/Util.h" #include "Honey/Misc/Exception.h" namespace honey { namespace string { void parseArgv(const String& str, int& argc, char**& argv) { std::stringstream is...
26.578512
102
0.426617
Qarterd
965d613aa8eb0926f1393784bd77a735ac729911
2,553
cc
C++
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// { dg-do run { target c++11 } } // 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com> // // Copyright (C) 2011-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General P...
25.277228
74
0.629064
best08618
9667cc95b10a73e6d10711244aa3f07d42a1cd7a
537
cpp
C++
src/core/Timestep.cpp
caioss/molpp
051f94545a6c687189697c950b1a4060a18060d5
[ "BSD-3-Clause" ]
null
null
null
src/core/Timestep.cpp
caioss/molpp
051f94545a6c687189697c950b1a4060a18060d5
[ "BSD-3-Clause" ]
null
null
null
src/core/Timestep.cpp
caioss/molpp
051f94545a6c687189697c950b1a4060a18060d5
[ "BSD-3-Clause" ]
null
null
null
#include "Timestep.hpp" using namespace mol::internal; Timestep::Timestep() : m_num_atoms { 0 } {} Timestep::Timestep(size_t const num_atoms) : m_num_atoms { num_atoms }, m_coords(3, num_atoms) {} Timestep::Timestep(Timestep &&src) noexcept : Timestep() { swap(src); } Timestep &Timestep::operator=(Timestep &...
15.794118
50
0.649907
caioss
9676d2f26c1b66233f44b19f251701da9648f971
199
cpp
C++
events/SFMLKeyEvent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
events/SFMLKeyEvent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
events/SFMLKeyEvent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#include "SFMLKeyEvent.hh" SFMLKeyEvent::SFMLKeyEvent(const sf::Keyboard::Key key, const bool active) : AEvent("SFMLKeyEvent"), _key(key), _active(active) {} SFMLKeyEvent::~SFMLKeyEvent() {}
19.9
74
0.718593
deb0ch
967871e0209369947eefd318a92898860b89a42b
1,853
hpp
C++
include/gold/widget.hpp
josiest/gold
140d7c92fce8548b8a4cc6d2eda4be5b12e32975
[ "MIT" ]
null
null
null
include/gold/widget.hpp
josiest/gold
140d7c92fce8548b8a4cc6d2eda4be5b12e32975
[ "MIT" ]
null
null
null
include/gold/widget.hpp
josiest/gold
140d7c92fce8548b8a4cc6d2eda4be5b12e32975
[ "MIT" ]
null
null
null
#pragma once // frameworks #include <SDL.h> #include <SDL_ttf.h> // data types #include <cstdint> #include <cstddef> // std::size_t #include <string> // templates data-types and concepts #include <concepts> #include "gold/result.hpp" namespace au { class iwidget { public: /** Get the bounds of this widget. */ ...
22.059524
65
0.653535
josiest