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
eb7781b02c9e603f5b794df6dd154b10f52f9327
3,475
hpp
C++
evdev.hpp
alvintpwang/phosphor-gpio-monitor
88bcf7c9c541aaaff34342b5be412b0f03ef2780
[ "Apache-2.0" ]
null
null
null
evdev.hpp
alvintpwang/phosphor-gpio-monitor
88bcf7c9c541aaaff34342b5be412b0f03ef2780
[ "Apache-2.0" ]
null
null
null
evdev.hpp
alvintpwang/phosphor-gpio-monitor
88bcf7c9c541aaaff34342b5be412b0f03ef2780
[ "Apache-2.0" ]
null
null
null
#pragma once #include "file.hpp" #include <libevdev/libevdev.h> #include <systemd/sd-event.h> #include <map> #include <memory> #include <sdbusplus/message.hpp> #include <string> namespace phosphor { namespace gpio { /* Need a custom deleter for freeing up sd_event */ struct EventDeleter { void operator()(sd_eve...
26.526718
76
0.656978
alvintpwang
eb78df14f0b68ef411c93b90d3c9e373a20067dd
7,817
cpp
C++
BinaryTreeMandatory/BinaryTreeMandatory/AvlTree.cpp
Crowdedlight/Algoritmer_Datastructure-Class-execises
68682802ecb5104ca83d01718668126020d23782
[ "MIT" ]
null
null
null
BinaryTreeMandatory/BinaryTreeMandatory/AvlTree.cpp
Crowdedlight/Algoritmer_Datastructure-Class-execises
68682802ecb5104ca83d01718668126020d23782
[ "MIT" ]
null
null
null
BinaryTreeMandatory/BinaryTreeMandatory/AvlTree.cpp
Crowdedlight/Algoritmer_Datastructure-Class-execises
68682802ecb5104ca83d01718668126020d23782
[ "MIT" ]
null
null
null
#include "AvlTree.h" AvlTree::AvlTree() : root{ nullptr } { } AvlTree::AvlTree(const AvlTree & rhs) : root{ nullptr } { root = clone(rhs.root); } AvlTree::AvlTree(AvlTree && rhs) : root{ rhs.root } { rhs.root = nullptr; } AvlTree::~AvlTree() { makeEmpty(); } const int & AvlTree::findMin() const { if (isEmpty())...
16.667377
79
0.608418
Crowdedlight
eb831f00624a577507fc2c1bac6acb70361f1ca6
522
cpp
C++
cpp/pubnub_version_posix.cpp
sghiocel/pubnub-c
149e536e4e1e973a717b324034aa08df9b1bc3a8
[ "MIT" ]
47
2015-07-09T14:14:32.000Z
2022-03-03T21:47:16.000Z
cpp/pubnub_version_posix.cpp
parasyte/c-core
943b39284837ea5db65eb2445fdc27a60753b183
[ "MIT" ]
52
2015-11-03T16:59:24.000Z
2022-03-09T15:52:37.000Z
cpp/pubnub_version_posix.cpp
parasyte/c-core
943b39284837ea5db65eb2445fdc27a60753b183
[ "MIT" ]
69
2015-08-19T11:32:27.000Z
2022-03-31T16:20:13.000Z
/* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */ #include "core/pubnub_version.h" #include "core/pubnub_version_internal.h" #define PUBNUB_SDK_NAME "POSIX" char const *pubnub_sdk_name(void) { return PUBNUB_SDK_NAME; } char const *pubnub_version(void) { return PUBNUB_SDK_VERSION; } char co...
16.3125
68
0.722222
sghiocel
eb85145732216e1ae02674f737a7c9838f8d3455
22,235
cpp
C++
Warcraft II/Warcraft II/j1Collision.cpp
DevCrumbs/Warcraft-II
fd4fab4c629783d6acc18c34bdaac15fcfb54dd1
[ "MIT" ]
9
2019-07-02T06:24:03.000Z
2022-03-18T20:07:02.000Z
Warcraft II/Warcraft II/j1Collision.cpp
DevCrumbs/Warcraft-II
fd4fab4c629783d6acc18c34bdaac15fcfb54dd1
[ "MIT" ]
109
2018-02-21T23:40:29.000Z
2020-04-25T18:26:41.000Z
Warcraft II/Warcraft II/j1Collision.cpp
DevCrumbs/Warcraft-II
fd4fab4c629783d6acc18c34bdaac15fcfb54dd1
[ "MIT" ]
6
2018-06-27T07:30:10.000Z
2020-03-09T19:18:41.000Z
#include "Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Collision.h" #include "j1Input.h" #include "j1Render.h" #include "Entity.h" #include "j1Map.h" #include "j1Printer.h" #include "Brofiler\Brofiler.h" j1Collision::j1Collision() { name.assign("collision"); // COLLIDERS /// PlayerUnit matrix[Coll...
33.43609
220
0.751563
DevCrumbs
eb85b3b6c1d0894c5295a4f7c4910ea64724bdd9
6,124
cpp
C++
libs/math/test/test_recurrence.cpp
anarthal/boost-unix-mirror
8c34eb2fe471d6c3113c680c1fbef29e7a8063a0
[ "BSL-1.0" ]
1
2021-08-15T13:07:07.000Z
2021-08-15T13:07:07.000Z
libs/math/test/test_recurrence.cpp
anarthal/boost-unix-mirror
8c34eb2fe471d6c3113c680c1fbef29e7a8063a0
[ "BSL-1.0" ]
4
2021-10-21T12:42:04.000Z
2022-02-03T08:41:31.000Z
Libs/boost_1_76_0/libs/math/test/test_recurrence.cpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
1
2021-09-06T08:30:20.000Z
2021-09-06T08:30:20.000Z
// (C) Copyright John Maddock 2018. // Use, modification and distribution are subject to 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) #define BOOST_TEST_MODULE test_recurrences #include <boost/config.hpp> #ifndef BOOST_NO_C...
34.59887
185
0.63194
anarthal
eb85fe0324a73c0ecff51f16fc7a7ca3dc16128f
3,231
cc
C++
tests/unit/pthreads/pthreads.cc
elau/graphite_pep
ddce5890f20e272c587c5caed07161db043247b2
[ "MIT" ]
1
2022-03-03T21:04:09.000Z
2022-03-03T21:04:09.000Z
tests/unit/pthreads/pthreads.cc
trevorcarlson/Graphite
8aeb2cb199864dbf517c4a88dfac7fb6ac7d74f4
[ "MIT" ]
1
2022-03-04T20:03:50.000Z
2022-03-04T20:03:50.000Z
tests/unit/pthreads/pthreads.cc
elau/graphite_pep
ddce5890f20e272c587c5caed07161db043247b2
[ "MIT" ]
null
null
null
/**************************************************** * This is a test that will test the pthreads API * * * ****************************************************/ #include <stdio.h> #include <stdlib.h> #include <pthread.h> pthread_barrier_t barrier; pthread_mutex...
26.925
78
0.593624
elau
eb8ac479f4e2dcbc77468e57e44505279edcbd44
445
cpp
C++
atcoder/abc004/b.cpp
L3Sota/atcoder
7d9444e03837b537ebc6f4f917b9567af6cf5483
[ "MIT" ]
null
null
null
atcoder/abc004/b.cpp
L3Sota/atcoder
7d9444e03837b537ebc6f4f917b9567af6cf5483
[ "MIT" ]
null
null
null
atcoder/abc004/b.cpp
L3Sota/atcoder
7d9444e03837b537ebc6f4f917b9567af6cf5483
[ "MIT" ]
null
null
null
#include <iostream>//cin/cout/wcin/wcout/left/right/internal/dec/hex/oct/fixed/scientific using namespace std; int main(void) { const int n = 4; char** grid = new char*[n]; for (int i = 0; i < n; ++i) { grid[i] = new char[n]; for (int j = 0; j < n; ++j) { cin >> grid[i][j]; } } for (int i = n-1; i >=...
16.481481
89
0.503371
L3Sota
eb8d91875a2ad79dc520a1c5feb89aca28726f63
806
cpp
C++
datatypes-json/src/alias.cpp
Grayson/deduction
91652a65e1c8bd42de535efdf8fdbf3f10b5dd97
[ "BSD-2-Clause" ]
null
null
null
datatypes-json/src/alias.cpp
Grayson/deduction
91652a65e1c8bd42de535efdf8fdbf3f10b5dd97
[ "BSD-2-Clause" ]
null
null
null
datatypes-json/src/alias.cpp
Grayson/deduction
91652a65e1c8bd42de535efdf8fdbf3f10b5dd97
[ "BSD-2-Clause" ]
null
null
null
// // alias.cpp // deductionjson // // Created by Grayson Hansard on 3/31/18. // Copyright © 2018 From Concentrate Software. All rights reserved. // #include "alias.hpp" namespace deduction { using nlohmann::json; static char const * const NameLabel = "name"; static char const * const UnderlyingTypeLabel = "u...
24.424242
71
0.689826
Grayson
eb90c2237e90cc0b1308b291f5daa814d82b2fe0
92
cpp
C++
6_TSP/6_TSP.cpp
eduherminio/Academic_ArtificialIntelligence
f0ec4d35cef64a1bf6841ea7ecf1d33017b3745f
[ "MIT" ]
3
2017-05-16T22:25:16.000Z
2019-05-07T16:12:21.000Z
6_TSP/6_TSP.cpp
eduherminio/Academic_ArtificialIntelligence
f0ec4d35cef64a1bf6841ea7ecf1d33017b3745f
[ "MIT" ]
null
null
null
6_TSP/6_TSP.cpp
eduherminio/Academic_ArtificialIntelligence
f0ec4d35cef64a1bf6841ea7ecf1d33017b3745f
[ "MIT" ]
null
null
null
#include "header/controlador.h" int main() { controlador::Controlador c; c.ejecutar(); }
11.5
31
0.695652
eduherminio
eb91d28c5586afd4b4261d148421d23f1e1b1830
5,483
cxx
C++
sources/etx/rt/integrators/path_tracing_gpu.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
180
2022-01-18T18:55:06.000Z
2022-03-21T14:24:39.000Z
sources/etx/rt/integrators/path_tracing_gpu.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
1
2022-02-25T14:05:49.000Z
2022-02-25T14:05:49.000Z
sources/etx/rt/integrators/path_tracing_gpu.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
7
2022-02-02T00:57:57.000Z
2022-02-22T15:53:15.000Z
#include <etx/core/core.hxx> #include <etx/core/environment.hxx> #include <etx/log/log.hxx> #include <etx/rt/integrators/path_tracing_gpu.hxx> #include <etx/rt/shared/path_tracing_shared.hxx> #include <etx/gpu/gpu.hxx> namespace etx { struct ETX_ALIGNED GPUPathTracingImpl { PTGPUData gpu_data = {}; GPUBuffer c...
33.845679
150
0.70983
sergeyreznik
eb958b4362714ebe44f7795a9d14bba63cb6051e
5,692
hpp
C++
lattice/unitcell_xml.hpp
todo-group/lattice
205a3321ad0cf98bb8924a7e6d494c11b3c395b3
[ "Apache-2.0" ]
1
2020-02-29T07:53:57.000Z
2020-02-29T07:53:57.000Z
lattice/unitcell_xml.hpp
todo-group/lattice
205a3321ad0cf98bb8924a7e6d494c11b3c395b3
[ "Apache-2.0" ]
null
null
null
lattice/unitcell_xml.hpp
todo-group/lattice
205a3321ad0cf98bb8924a7e6d494c11b3c395b3
[ "Apache-2.0" ]
2
2019-07-12T06:26:45.000Z
2019-12-06T13:04:09.000Z
/* Copyright (C) 2019-2022 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> 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 requi...
34.920245
96
0.58345
todo-group
eb958d65baea7876f0b81ee354aaadd1f9ffb187
851
cpp
C++
Example/main.cpp
Glitch0011/ThreadedLoop
f7ae84cacb88ecd0c7b678eacf5aca92afb65916
[ "MIT" ]
null
null
null
Example/main.cpp
Glitch0011/ThreadedLoop
f7ae84cacb88ecd0c7b678eacf5aca92afb65916
[ "MIT" ]
null
null
null
Example/main.cpp
Glitch0011/ThreadedLoop
f7ae84cacb88ecd0c7b678eacf5aca92afb65916
[ "MIT" ]
null
null
null
#include <atomic> #include <vector> #include <ThreadedLoop.h> void SumExample() { std::atomic<int> sum; std::vector<int> toSum; for (int i = 0; i < 1000; i++) toSum.push_back(i + 1); { ThreadedLoop<int> loop([&sum](int* start, int* end) { do { sum += *start; } while (++start != end); }, &t...
13.092308
80
0.549941
Glitch0011
eb95e45473ac8071b8c86bac4fa7b8b9277b758c
266
cpp
C++
android-31/android/renderscript/Script_InvokeID.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/renderscript/Script_InvokeID.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/renderscript/Script_InvokeID.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./Script_InvokeID.hpp" namespace android::renderscript { // Fields // QJniObject forward Script_InvokeID::Script_InvokeID(QJniObject obj) : android::renderscript::BaseObj(obj) {} // Constructors // Methods } // namespace android::renderscript
17.733333
90
0.733083
YJBeetle
eb98c91e37818c862af2a2fab0f3e72c4b4eceae
2,519
cpp
C++
src/game/server/damagemodifier.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
14
2021-02-16T14:13:50.000Z
2022-03-17T18:29:19.000Z
src/game/server/damagemodifier.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
7
2021-08-06T18:40:37.000Z
2022-03-09T18:05:08.000Z
src/game/server/damagemodifier.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2021-08-05T16:03:03.000Z
2021-11-26T00:11:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "damagemodifier.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/...
29.290698
81
0.308059
vxsd
eb9d55bbe14546e6d71cffd3f369b3c64a9320ec
3,486
hh
C++
TrkReco/inc/ScanClusterer.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
TrkReco/inc/ScanClusterer.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
TrkReco/inc/ScanClusterer.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
1
2020-05-27T22:33:52.000Z
2020-05-27T22:33:52.000Z
// // Fast clustering in Time-phi plane, followed by single pass clustering similar to TNTClusterer. // // Bertrand Echenard (2020) CIT // #ifndef ScanClusterer_HH #define ScanClusterer_HH #include "fhiclcpp/types/Atom.h" #include "fhiclcpp/types/Sequence.h" #include "RecoDataProducts/inc/StrawDigiCollection.hh" #inc...
46.48
148
0.528686
lborrel
eba28c26809e05dce11d869443ec183faa312371
307
cpp
C++
ChainOfResponsibility/ChainOfResponsibility/CylinderDrawHandler.cpp
jayavardhanravi/DesignPatterns
aa6a37790f447c7caf69c6a1a9c6107074309a03
[ "BSD-2-Clause" ]
8
2020-01-23T23:20:40.000Z
2022-01-08T13:04:08.000Z
ChainOfResponsibility/ChainOfResponsibility/CylinderDrawHandler.cpp
jayavardhanravi/DesignPatterns
aa6a37790f447c7caf69c6a1a9c6107074309a03
[ "BSD-2-Clause" ]
null
null
null
ChainOfResponsibility/ChainOfResponsibility/CylinderDrawHandler.cpp
jayavardhanravi/DesignPatterns
aa6a37790f447c7caf69c6a1a9c6107074309a03
[ "BSD-2-Clause" ]
1
2020-01-28T14:27:54.000Z
2020-01-28T14:27:54.000Z
#include "CylinderDrawHandler.h" CylinderDrawHandler::CylinderDrawHandler() { } CylinderDrawHandler::~CylinderDrawHandler() { } std::string CylinderDrawHandler::Draw(int vertices) { if (vertices == 4) return " [CYLINDER can be drawn] "; else return " [NO CYLINDER] "+DrawHandler::Draw(vertices); }
17.055556
55
0.729642
jayavardhanravi
eba4eb38247f178507883b2a51d1cd510fc9dba1
14,511
cpp
C++
Source/Urho3D/Core/Object.cpp
jayrulez/rbfx
8641813787d558b6e8318c1b8e9da86c0e52f9dc
[ "MIT" ]
48
2016-11-14T00:39:35.000Z
2018-12-18T16:37:43.000Z
Source/Urho3D/Core/Object.cpp
jayrulez/rbfx
8641813787d558b6e8318c1b8e9da86c0e52f9dc
[ "MIT" ]
54
2017-10-18T07:18:12.000Z
2018-12-23T14:09:30.000Z
Source/Urho3D/Core/Object.cpp
jayrulez/rbfx
8641813787d558b6e8318c1b8e9da86c0e52f9dc
[ "MIT" ]
10
2017-11-10T11:46:15.000Z
2018-12-18T11:58:44.000Z
// // Copyright (c) 2008-2022 the Urho3D project. // // 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, m...
28.122093
151
0.652333
jayrulez
eba7f6b74df9e164ac72f5b42e645406b269597b
16,310
cpp
C++
AddressBook.cpp
kytvi2p/i2pd
73d402525636276ac78aa92ea88535911e21928c
[ "BSD-3-Clause" ]
4
2015-09-28T16:01:55.000Z
2021-04-08T19:26:50.000Z
AddressBook.cpp
kytvi2p/i2pd
73d402525636276ac78aa92ea88535911e21928c
[ "BSD-3-Clause" ]
null
null
null
AddressBook.cpp
kytvi2p/i2pd
73d402525636276ac78aa92ea88535911e21928c
[ "BSD-3-Clause" ]
null
null
null
#include <string.h> #include <inttypes.h> #include <string> #include <map> #include <fstream> #include <chrono> #include <condition_variable> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <cryptopp/osrng.h> #include "base64.h" #include "util.h" #include "Identity.h" #include "Log.h" #includ...
28.614035
122
0.648007
kytvi2p
ebac5f0cbbe9f66626f6ef9b8ad67a86f709e96e
408
hpp
C++
include/Hry/System/System.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
8
2020-11-13T23:50:16.000Z
2022-01-03T16:54:00.000Z
include/Hry/System/System.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
1
2021-01-28T01:56:30.000Z
2021-04-07T21:45:52.000Z
include/Hry/System/System.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
2
2021-05-30T18:42:20.000Z
2021-07-04T09:04:34.000Z
/** * This file is part of the hry-core project * @ Author: Piotr Krupa <piotrkrupa06@gmail.com> * @ License: MIT License */ #pragma once #include "Hry/Namespace.hpp" HRY_NS_BEGIN /** * @brief Game's window resize types */ enum ResizeType { Maximized = 0, Minimized, Restored }; /** * @brief Poss...
12.363636
49
0.654412
Hary309
ebb0014748c55ef38c36d6e75c02dcbf5cf15d3e
607
hpp
C++
Include/Time/Clock.hpp
GuildMasterInfinite/CPP-Utilities
76a038f7eec38ee0116f6d8cda915bbba2c1c01e
[ "Unlicense" ]
null
null
null
Include/Time/Clock.hpp
GuildMasterInfinite/CPP-Utilities
76a038f7eec38ee0116f6d8cda915bbba2c1c01e
[ "Unlicense" ]
null
null
null
Include/Time/Clock.hpp
GuildMasterInfinite/CPP-Utilities
76a038f7eec38ee0116f6d8cda915bbba2c1c01e
[ "Unlicense" ]
null
null
null
#pragma once #include "Types.hpp" #include "Conversions.hpp" class Clock final { public: /// Constructs and starts the clock Clock() noexcept; /// Constructs a clock as if it was started at the given time Clock(const TimePoint& start) noexcept; /// Gets how much time has passed since the clock was (re)started...
21.678571
81
0.733114
GuildMasterInfinite
ebb0e1f010d73886186afd14344b73076d92a694
4,822
hpp
C++
compendium/CM/include/cppmicroservices/cm/Configuration.hpp
rohinikumar4073/CppMicroServices
f8ce77814c65eb8273823c7ca5df256ec9768956
[ "Apache-2.0" ]
1
2020-12-08T16:21:45.000Z
2020-12-08T16:21:45.000Z
compendium/CM/include/cppmicroservices/cm/Configuration.hpp
iHouLei/CppMicroServices
aa9cc47dde75ba9ead18df399ce08269c15e3aa1
[ "Apache-2.0" ]
null
null
null
compendium/CM/include/cppmicroservices/cm/Configuration.hpp
iHouLei/CppMicroServices
aa9cc47dde75ba9ead18df399ce08269c15e3aa1
[ "Apache-2.0" ]
null
null
null
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed under t...
41.568966
115
0.659063
rohinikumar4073
ebb0ec4b5232250168fe79497294cde47042e6b9
7,346
cc
C++
src/theia/sfm/view_graph/triplet_extractor.cc
LEON-MING/TheiaSfM_Leon
8ac187b80100ad7f52fe9af49fa4a0db6db226b9
[ "BSD-3-Clause" ]
3
2019-01-17T17:37:37.000Z
2021-03-26T09:21:38.000Z
src/theia/sfm/view_graph/triplet_extractor.cc
LEON-MING/TheiaSfM_Leon
8ac187b80100ad7f52fe9af49fa4a0db6db226b9
[ "BSD-3-Clause" ]
null
null
null
src/theia/sfm/view_graph/triplet_extractor.cc
LEON-MING/TheiaSfM_Leon
8ac187b80100ad7f52fe9af49fa4a0db6db226b9
[ "BSD-3-Clause" ]
3
2019-09-09T03:34:20.000Z
2020-05-21T06:00:50.000Z
// Copyright (C) 2014 The Regents of the University of California (Regents). // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above...
40.811111
79
0.707324
LEON-MING
ebb3d0a2efdb86cd407fefe317137493872e7afe
3,226
hpp
C++
driver/pwm/imxpwm/imxpwmhw.hpp
pjgorka88/imx-iotcore
c73879479ed026e607bf8ac111c836940a7aca00
[ "MIT" ]
68
2018-12-16T11:03:08.000Z
2021-09-30T19:14:02.000Z
driver/pwm/imxpwm/imxpwmhw.hpp
pjgorka88/imx-iotcore
c73879479ed026e607bf8ac111c836940a7aca00
[ "MIT" ]
72
2018-12-18T01:13:18.000Z
2019-11-08T02:13:07.000Z
driver/pwm/imxpwm/imxpwmhw.hpp
pjgorka88/imx-iotcore
c73879479ed026e607bf8ac111c836940a7aca00
[ "MIT" ]
43
2018-12-14T21:38:49.000Z
2021-10-01T02:17:22.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Module Name: // // imxpwmhw.hpp // // Abstract: // // i.MX PWM Hardware Register Definitions // // Environment: // // Kernel mode only // #ifndef _IMXPWMHW_HPP_ #define _IMXPWMHW_HPP_ #pragma warning(push) #pragm...
19.791411
60
0.567576
pjgorka88
ebb588677568470290bb71040d9dff42c851f0f5
852
hpp
C++
test/unit/algo/algo_test.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
test/unit/algo/algo_test.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
test/unit/algo/algo_test.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #p...
28.4
100
0.474178
leha-bot
ebbf9b257fee83fcef886e1f11f1c1512e326690
3,830
hpp
C++
src/Renderer/LRUCache.hpp
sunnycase/swiftshader
592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc
[ "Apache-2.0" ]
1,570
2016-06-30T10:40:04.000Z
2022-03-31T01:47:33.000Z
src/Renderer/LRUCache.hpp
sunnycase/swiftshader
592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc
[ "Apache-2.0" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
src/Renderer/LRUCache.hpp
sunnycase/swiftshader
592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc
[ "Apache-2.0" ]
253
2016-06-30T18:57:10.000Z
2022-03-25T03:57:40.000Z
// Copyright 2016 The SwiftShader Authors. 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 required b...
22.529412
133
0.651436
sunnycase
ebbfd49a91e31e853ecc30ebac8aa1608088fbee
357
cpp
C++
codeforces/82a.double-cola/82a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
3
2018-01-19T14:09:23.000Z
2018-02-01T00:40:55.000Z
codeforces/82a.double-cola/82a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
codeforces/82a.double-cola/82a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; string names[] = {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"}; int main() { long long n; cin >> n ; int f = 5; while (n > f) { n -= f; f *= 2; } f /= 5; cerr << f << " " << n << endl; int pos = ((n+f-1) / f)-1; cerr << pos << endl; cout...
14.28
69
0.504202
KayvanMazaheri
ebc08b1c65dd3ca7ff2073306bf43e5622df3aac
2,208
hpp
C++
fw/include/fw/UniversalPhongEffect.hpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
fw/include/fw/UniversalPhongEffect.hpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
9
2016-12-09T13:02:18.000Z
2019-09-13T09:29:18.000Z
fw/include/fw/UniversalPhongEffect.hpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "glm/glm.hpp" #include "fw/Effect.hpp" #include "fw/Texture.hpp" #include "fw/resources/Cubemap.hpp" #include "fw/components/Transform.hpp" #include "fw/rendering/Light.hpp" #include "fw/rendering/Material.hpp" namespace fw { class UniversalPhongEffect: public EffectBase ...
25.37931
75
0.722373
sienkiewiczkm
ebc85daa625b8a776c75760fbf1300874764cbd3
13,201
cpp
C++
BasiliskII/src/BeOS/ether_beos.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
BasiliskII/src/BeOS/ether_beos.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
BasiliskII/src/BeOS/ether_beos.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * ether_beos.cpp - Ethernet device driver, BeOS specific stuff * * Basilisk II (C) 1997-2008 Christian Bauer * Portions written by Marc Hellwig * * 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 Soft...
24.767355
245
0.680327
jvernet
1b0e1541848101d7744317f27c526c78ecb8de42
22,677
cpp
C++
tests/unittests/graphOptzTest.cpp
artemrakhov/glow
405e632ef138f1d49db9c3181182f7efd837bccc
[ "Apache-2.0" ]
null
null
null
tests/unittests/graphOptzTest.cpp
artemrakhov/glow
405e632ef138f1d49db9c3181182f7efd837bccc
[ "Apache-2.0" ]
null
null
null
tests/unittests/graphOptzTest.cpp
artemrakhov/glow
405e632ef138f1d49db9c3181182f7efd837bccc
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
33.947605
80
0.626979
artemrakhov
1b1007adf232cd0be72cd8ab412fac2382066698
572
hpp
C++
facade/src/facade/service/UserService.hpp
steetstyle/example-microservices
83ac780ce6fd7fa395aec306062945a327376faa
[ "Unlicense" ]
4
2021-01-25T16:34:13.000Z
2022-02-10T01:45:13.000Z
facade/src/facade/service/UserService.hpp
oatpp/example-microservices
1c67d0f0efa45cdcf262ca30e0a2c63a83ead999
[ "Unlicense" ]
null
null
null
facade/src/facade/service/UserService.hpp
oatpp/example-microservices
1c67d0f0efa45cdcf262ca30e0a2c63a83ead999
[ "Unlicense" ]
null
null
null
#ifndef example_facade_example_userService #define example_facade_example_userService #include "oatpp/web/client/ApiClient.hpp" #include "oatpp/core/macro/codegen.hpp" namespace example { namespace facade { namespace service { #include OATPP_CODEGEN_BEGIN(ApiClient) class UserService : public oatpp::web::client::Ap...
22.88
70
0.781469
steetstyle
1b10a71ca7fc92d3d8d9ca6234fcedda75122a68
2,619
hpp
C++
Common/Chopper/Chopper.hpp
Pierre-Narcisi/Babel
1628499767ad178d018650477b6f6884a0d9823b
[ "Unlicense" ]
null
null
null
Common/Chopper/Chopper.hpp
Pierre-Narcisi/Babel
1628499767ad178d018650477b6f6884a0d9823b
[ "Unlicense" ]
null
null
null
Common/Chopper/Chopper.hpp
Pierre-Narcisi/Babel
1628499767ad178d018650477b6f6884a0d9823b
[ "Unlicense" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** babel ** File description: ** Chopper.hpp */ #pragma once #include <cinttypes> #include <vector> #include <cstdlib> #include <memory> #include <unordered_map> #include <functional> #include <queue> #include "Network/ASocket.hpp" #include "Protocol/Protocol.h" #ifdef DEBUG_MAX_PACKET_LE...
22.194915
81
0.693776
Pierre-Narcisi
1b12c39637030c8eb003e92c19f4cceec09a6faa
683
cpp
C++
CoreTest/EdgeSpaceHashTest.cpp
PremiumGraphicsCodes/CGLib
eecd73c5af1a9e0c044e7d675318dbb496aec6b5
[ "MIT" ]
null
null
null
CoreTest/EdgeSpaceHashTest.cpp
PremiumGraphicsCodes/CGLib
eecd73c5af1a9e0c044e7d675318dbb496aec6b5
[ "MIT" ]
null
null
null
CoreTest/EdgeSpaceHashTest.cpp
PremiumGraphicsCodes/CGLib
eecd73c5af1a9e0c044e7d675318dbb496aec6b5
[ "MIT" ]
1
2022-02-03T08:09:03.000Z
2022-02-03T08:09:03.000Z
#include "stdafx.h" #include "../Core/Vertex.h" #include "../Core/EdgeSpaceHash.h" using namespace Crystal::Math; using namespace Crystal::Core; TEST(EdgeSpaceHashTest, TestGetNeighbor) { EdgeSpaceHash hash(1.0f, 100); Vertex v1(Vector3d<float>(0.0f, 0.0f, 0.0f)); Vertex v2(Vector3d<float>(5.0f, 0.0f, 0...
31.045455
73
0.654466
PremiumGraphicsCodes
1b12e6129b90fcf55ec9c11da69373fff6c873e3
6,282
hpp
C++
SDX_Window.hpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
1
2019-10-18T13:45:05.000Z
2019-10-18T13:45:05.000Z
SDX_Window.hpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
1
2019-10-18T13:44:49.000Z
2019-11-29T23:26:27.000Z
SDX_Window.hpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
null
null
null
/* * SDX Window class * * Copyright (c) 2013 Wesley Hamilton * * 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, mo...
32.381443
107
0.758198
ffhighwind
1b17db81ba6b704abbe592f0adff6a1f2862397b
1,253
hpp
C++
Project/Engine/Include/Engine/Components/Physics/BoxCollider.hpp
lcomstive/Graphics-Assessment
bc52f41b31646ca5d2bb20669704db83c4f77361
[ "MIT-0" ]
null
null
null
Project/Engine/Include/Engine/Components/Physics/BoxCollider.hpp
lcomstive/Graphics-Assessment
bc52f41b31646ca5d2bb20669704db83c4f77361
[ "MIT-0" ]
null
null
null
Project/Engine/Include/Engine/Components/Physics/BoxCollider.hpp
lcomstive/Graphics-Assessment
bc52f41b31646ca5d2bb20669704db83c4f77361
[ "MIT-0" ]
1
2022-03-23T00:28:52.000Z
2022-03-23T00:28:52.000Z
#pragma once #include <Engine/Api.hpp> #include <Engine/Components/Physics/Collider.hpp> namespace Engine::Components { struct BoxCollider : public Collider { /// <summary> /// Position offset relative to attached object /// </summary> glm::vec3 Offset = { 0, 0, 0 }; glm::vec3& GetExtents(); ENGINE_AP...
28.477273
86
0.735834
lcomstive
1b1c0828ed79c54b1cc31a54e0cc4798b853d9fc
159
hpp
C++
scripts/experimental/Udacity/l0129.hpp
sbow/mowbot_camera
f12c7b544eb7fffb066894825cdd39d11dcbcb00
[ "MIT" ]
null
null
null
scripts/experimental/Udacity/l0129.hpp
sbow/mowbot_camera
f12c7b544eb7fffb066894825cdd39d11dcbcb00
[ "MIT" ]
null
null
null
scripts/experimental/Udacity/l0129.hpp
sbow/mowbot_camera
f12c7b544eb7fffb066894825cdd39d11dcbcb00
[ "MIT" ]
null
null
null
/* l0129.hpp header file example */ #include <iostream> #include <iomanip> #include <fstream> #include <string> #include <sstream> using namespace std;
13.25
23
0.704403
sbow
1b1d36aaf01d2faf30a75f09605dc1aa91061bee
4,427
cpp
C++
gui_source/htmltable.cpp
jha334201553/xntsv
8519b06a6401e8315035afeb2bb3842d32ced9a1
[ "MIT" ]
null
null
null
gui_source/htmltable.cpp
jha334201553/xntsv
8519b06a6401e8315035afeb2bb3842d32ced9a1
[ "MIT" ]
null
null
null
gui_source/htmltable.cpp
jha334201553/xntsv
8519b06a6401e8315035afeb2bb3842d32ced9a1
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 hors<horsicq@gmail.com> // // 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, ...
25.738372
212
0.591823
jha334201553
1b1da066c67f1d3a7bcec8c2713c2c4e58cbc40b
1,486
hpp
C++
cccc/src/include/expressions/expression.hpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
cccc/src/include/expressions/expression.hpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
cccc/src/include/expressions/expression.hpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
#pragma once #include <lex/source_location.hpp> #include <ir/IRScope.hpp> #include <types/type.hpp> #include <llvm/IR/BasicBlock.h> #include <llvm/IR/Value.h> #include <memory> #include <util> namespace mhc4 { class irconstructer; namespace semantics { class scope; } class expression { public: using pt...
21.536232
81
0.678331
DasNaCl
1b2079453da4433b30d0ad01076ec5a3f1ee2247
2,282
cpp
C++
Elfin Enclave/StupidGame.cpp
irafunesta/elfin-enclave
b354b985ce3bbe91c1201772f8c6ad082cc10d87
[ "MIT" ]
null
null
null
Elfin Enclave/StupidGame.cpp
irafunesta/elfin-enclave
b354b985ce3bbe91c1201772f8c6ad082cc10d87
[ "MIT" ]
null
null
null
Elfin Enclave/StupidGame.cpp
irafunesta/elfin-enclave
b354b985ce3bbe91c1201772f8c6ad082cc10d87
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <conio.h> #include <iostream> #include "StupidGame.h" #include "Map.h" #include "Position.h" #include "Player.h" #include "Snake.h" Entity *player = new Player('@'); Map map; Position snake; char snake_char = 'S'; char prev_snake_char; std::vector<Entity*> entities; Stupid...
17.157895
81
0.638913
irafunesta
1b2b56503d9a3788d8728e072b9e2155588dc487
1,097
cc
C++
cpp/src/array/highFive.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2019-10-17T08:34:55.000Z
2019-10-17T08:34:55.000Z
cpp/src/array/highFive.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2020-05-24T08:32:13.000Z
2020-05-24T08:32:13.000Z
cpp/src/array/highFive.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
null
null
null
#include "test.h" #include "map" /** Question no 1086. easy High Five * Author : Li-Han, Chen; 陳立瀚 * Date : 18th, February, 2020 * Source : https://leetcode.com/problems/high-five/ * * Given a list of scores of different students, return the average score of each student's top five scores * in the order of ea...
27.425
108
0.636281
dacozai
1b2b7b158e123e85c4657ed2e9807cb66cd9fe5c
3,944
cpp
C++
src/layers/legacy/medCoreLegacy/views/navigators/medAbstractNavigator.cpp
aarrieul/medInria-public
0cd113a6b41e40497f1472630e9afa8e688ba85a
[ "BSD-4-Clause", "BSD-1-Clause" ]
61
2015-04-14T13:00:50.000Z
2022-03-09T22:22:18.000Z
src/layers/legacy/medCoreLegacy/views/navigators/medAbstractNavigator.cpp
aarrieul/medInria-public
0cd113a6b41e40497f1472630e9afa8e688ba85a
[ "BSD-4-Clause", "BSD-1-Clause" ]
510
2016-02-03T13:28:18.000Z
2022-03-23T10:23:44.000Z
src/layers/legacy/medCoreLegacy/views/navigators/medAbstractNavigator.cpp
mathildemerle/medInria-public
e8c517ef6263c1d98a62b79ca7aad30a21b61094
[ "BSD-4-Clause", "BSD-1-Clause" ]
36
2015-03-03T22:58:19.000Z
2021-12-28T18:19:23.000Z
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details in the root of the sources or: https://github.com/medInria/medInria-public/blob/master/LICENSE.txt This software is distributed WITHOUT ANY WARRANTY; w...
25.947368
95
0.694473
aarrieul
1b2d1100c45864dc7c648b4590d31ef0f8edcdba
4,884
hpp
C++
cpp/oneapi/dal/algo/subgraph_isomorphism/backend/cpu/si.hpp
PivovarA/oneDAL
79bbe88fb3904c4afc60c5ae900f6199e5b44425
[ "Apache-2.0" ]
null
null
null
cpp/oneapi/dal/algo/subgraph_isomorphism/backend/cpu/si.hpp
PivovarA/oneDAL
79bbe88fb3904c4afc60c5ae900f6199e5b44425
[ "Apache-2.0" ]
12
2019-04-30T11:57:33.000Z
2021-01-15T14:06:49.000Z
cpp/oneapi/dal/algo/subgraph_isomorphism/backend/cpu/si.hpp
PivovarA/oneDAL
79bbe88fb3904c4afc60c5ae900f6199e5b44425
[ "Apache-2.0" ]
2
2019-04-30T09:06:05.000Z
2019-08-15T06:39:47.000Z
/******************************************************************************* * Copyright 2021 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
44
98
0.640459
PivovarA
1b302a1f2f46e7783d5d20dfbde99856f6d29d2a
850
cpp
C++
insitu_plugins/src/Crosshair/Crosshair.cpp
AdamPettinger/insitu
6f19bbd541ebc7ce97807d12f6f3bd7efc7025af
[ "BSD-3-Clause" ]
5
2021-09-15T14:57:19.000Z
2022-02-03T13:44:00.000Z
insitu_plugins/src/Crosshair/Crosshair.cpp
AdamPettinger/insitu
6f19bbd541ebc7ce97807d12f6f3bd7efc7025af
[ "BSD-3-Clause" ]
14
2021-07-15T05:01:22.000Z
2022-01-29T00:08:32.000Z
insitu_plugins/src/Crosshair/Crosshair.cpp
AdamPettinger/insitu
6f19bbd541ebc7ce97807d12f6f3bd7efc7025af
[ "BSD-3-Clause" ]
4
2021-09-13T19:47:05.000Z
2022-01-04T17:35:36.000Z
#include <Crosshair/Crosshair.hpp> #include <Crosshair/Crosshair_dialog.hpp> namespace insitu_plugins { /* Filter Implementation */ Crosshair::Crosshair(void) { // TODO instantiation code } void Crosshair::filterInit(void) { settingsDialog = new CrosshairDialog(this); setSize(QSize(300, 300)); } voi...
20.238095
78
0.665882
AdamPettinger
1b35cd8efc4eb0b9e2a673d3e2303d94c4fef52d
609
cc
C++
Cplusplus/Bootcamp/02_ArrayPointer/Array1.cc
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Cplusplus/Bootcamp/02_ArrayPointer/Array1.cc
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Cplusplus/Bootcamp/02_ArrayPointer/Array1.cc
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
#include <iostream> // dType varName[numElements] // Elemente müssen fest vergeben sein - keine Variable hier möglich int main() { int array1[5] = {2, 3, 4, 51, 0}; for (int i = 0; i < 5; i++) { std::cout << "Index" << i << ": " << array1[i] << std::endl; } // kann auch direkt initialisi...
19.03125
72
0.527094
Kreijeck
1b382c0eca648d2b3efb98f225d11b0f409cad28
11,930
cpp
C++
lib/abcsat/satStore.cpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
98
2018-06-15T09:28:11.000Z
2022-03-31T15:42:48.000Z
lib/abcsat/satStore.cpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
257
2018-05-09T12:14:28.000Z
2022-03-30T16:12:14.000Z
lib/abcsat/satStore.cpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
75
2020-11-26T13:05:15.000Z
2021-12-24T00:28:18.000Z
/**CFile**************************************************************** FileName [satStore.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [SAT solver.] Synopsis [Records the trace of SAT solving in the CNF form.] Author [Alan Mishchenko] Affiliation [UC Berkel...
25.382979
119
0.419531
osamamowafy
1b3dc85302ad33244eb7e3faf822616a3f2f3705
7,732
cpp
C++
DSP/extensions/GeneratorLib/source/TTNoise.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
DSP/extensions/GeneratorLib/source/TTNoise.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
DSP/extensions/GeneratorLib/source/TTNoise.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/** @file * * @ingroup dspGeneratorLib * * @brief GeneratorLib: Noise Generator * * @details * * @authors Tim Place, Nils Peters, Trond Lossius * * @copyright Copyright © 2003 by Timothy Place @n * This code is licensed under the terms of the "New BSD License" @n * http://creativecommons.org/licenses/BSD/ ...
28.116364
151
0.712235
jamoma
1b4150a0e30f0ad8f4414a210c8dcf9b1a9f8bb1
671
cpp
C++
regression/esbmc-cpp/vector/algorithm3/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/vector/algorithm3/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/vector/algorithm3/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// find_if example #include <iostream> #include <cassert> #include <vector> using namespace std; bool IsOdd (int i) { return ((i%2)==1); } template<class InputIterator, class Predicate> InputIterator find_if(InputIterator first, InputIterator last, Predicate pred) { for (; first != last; first++) if (pred(*firs...
19.171429
80
0.669151
shmarovfedor
1b420d067666fa48830300e220fb2ef265c60592
480
cpp
C++
solved/c-e/expanding-rods/lightoj/gen.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/c-e/expanding-rods/lightoj/gen.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/c-e/expanding-rods/lightoj/gen.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> #include <cstdlib> #include <ctime> #define MAXT 20 #define MAXN 1000 int T; void gen() { int L = rand() % (MAXN + 1); int n = rand() % (MAXN + 1); double fac = (rand() % 250 + 1) / 1000.0; double C = fac/n; double dL = L * (1.0 - (rand() % 10)/100.0); double dn = n * (1.0 - (rand() % 10...
12.631579
45
0.51875
abuasifkhan
1b44c4a18dcd785777c59e9c6ad2bb32232f4be0
2,502
cpp
C++
plugins/Tester/lockedNormal.cpp
wmoten/medic
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
[ "MIT" ]
59
2017-08-27T08:51:07.000Z
2022-03-05T13:50:27.000Z
plugins/Tester/lockedNormal.cpp
wmoten/medic
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
[ "MIT" ]
5
2017-09-04T06:08:42.000Z
2020-06-04T02:27:25.000Z
plugins/Tester/lockedNormal.cpp
wmoten/medic
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
[ "MIT" ]
17
2017-10-10T10:21:34.000Z
2022-03-19T06:30:13.000Z
#include "medic/pluginapi.h" #include <set> #include <maya/MFn.h> #include <maya/MStatus.h> #include <maya/MObject.h> #include <maya/MItMeshPolygon.h> #include <maya/MFnSingleIndexedComponent.h> #include <maya/MFnMesh.h> #include <maya/MIntArray.h> using namespace MEDIC; class LockedNormal : public MdTester { s...
19.099237
66
0.593925
wmoten
1b47894c538100686fd579e1a3a44847bfd8487b
4,463
cpp
C++
CEED/BP/occa/src/BPPlotVTU.cpp
noelchalmers/benchparanumal
96c22154a13348c3f34df7483c6977abb5aaa718
[ "MIT" ]
null
null
null
CEED/BP/occa/src/BPPlotVTU.cpp
noelchalmers/benchparanumal
96c22154a13348c3f34df7483c6977abb5aaa718
[ "MIT" ]
null
null
null
CEED/BP/occa/src/BPPlotVTU.cpp
noelchalmers/benchparanumal
96c22154a13348c3f34df7483c6977abb5aaa718
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus 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 limitatio...
30.155405
98
0.60251
noelchalmers
1b4daa8fe1af772ff9b35ad4ce5e8eaffeecbf00
1,927
cpp
C++
src/realtime.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
11
2020-11-07T19:35:24.000Z
2021-08-19T12:25:27.000Z
src/realtime.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
null
null
null
src/realtime.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
5
2020-11-06T20:52:11.000Z
2021-02-25T11:02:31.000Z
/* -------------------------------------------------------------------------- */ /* ------------- RonClient --- Oficial client for RonOTS servers ------------ */ /* -------------------------------------------------------------------------- */ #include "realtime.h" #include <iostream> #include <sys/types.h> #include <...
16.903509
82
0.585885
Nakeib
1b4f6431433459f0f0968e0925a617f3478dc2c9
3,981
cpp
C++
Plot/SpaceBackGround/Solar/SunModel.cpp
MJYCo-Ltd/Map
48ccc120a3c2cd3080fb046da72c7588b1faebc0
[ "MIT" ]
7
2021-11-25T02:12:09.000Z
2022-03-20T12:48:18.000Z
Plot/SpaceBackGround/Solar/SunModel.cpp
MJYCo-Ltd/Map
48ccc120a3c2cd3080fb046da72c7588b1faebc0
[ "MIT" ]
1
2022-03-25T20:47:21.000Z
2022-03-29T02:02:44.000Z
Plot/SpaceBackGround/Solar/SunModel.cpp
MJYCo-Ltd/Map
48ccc120a3c2cd3080fb046da72c7588b1faebc0
[ "MIT" ]
2
2021-12-07T06:22:47.000Z
2021-12-30T05:54:04.000Z
#include <osg/Billboard> #include <osg/Geometry> #include <osg/BlendFunc> #include <osg/Depth> #include <osg/FrontFace> #include <osg/MatrixTransform> #include "SunModel.h" std::string s_getSunVertexSource() { static std::string sunVertex( "#version 330 \n" "out vec3 atmos_v3Directi...
33.175
145
0.57046
MJYCo-Ltd
1b5044b1391d604ce74ee3e6962db1e42d842ef8
1,901
cpp
C++
Source/FacebookParse/Private/ParsePushComponent.cpp
getsetgames/ParsePlugin
7645cde245f4724c709ced896964531b161b6137
[ "MIT" ]
13
2015-09-28T21:02:59.000Z
2021-12-02T15:19:42.000Z
Source/FacebookParse/Private/ParsePushComponent.cpp
getsetgames/ParsePlugin
7645cde245f4724c709ced896964531b161b6137
[ "MIT" ]
null
null
null
Source/FacebookParse/Private/ParsePushComponent.cpp
getsetgames/ParsePlugin
7645cde245f4724c709ced896964531b161b6137
[ "MIT" ]
7
2015-09-16T02:49:43.000Z
2020-09-30T20:42:25.000Z
// // Created by Derek van Vliet on 2015-03-25. // Copyright (c) 2015 Get Set Games Inc. All rights reserved. // #include "ParsePushComponent.h" #include "FacebookParsePrivatePCH.h" #include "CallbackDevice.h" void UParsePushComponent::OnRegister() { Super::OnRegister(); // init here FCoreDelegates::Applicat...
37.27451
173
0.841136
getsetgames
1b52c451d36360c9d5c19208cfc765652d49be13
6,134
cpp
C++
SpaghettiEngine/Framework/Engine/AnimationComponents/SkeletonNode.cpp
CodingC1402/SpaghettiEngine
80fddf7c68ae7476a5880aae8fd0eac5bbf6ad1a
[ "MIT" ]
1
2021-06-02T09:31:15.000Z
2021-06-02T09:31:15.000Z
SpaghettiEngine/Framework/Engine/AnimationComponents/SkeletonNode.cpp
CornyCodingCorn/SpaghettiEngine
80fddf7c68ae7476a5880aae8fd0eac5bbf6ad1a
[ "MIT" ]
1
2021-07-13T13:56:18.000Z
2021-07-13T13:56:18.000Z
SpaghettiEngine/Framework/Engine/AnimationComponents/SkeletonNode.cpp
CodingC1402/SpaghettiEngine
80fddf7c68ae7476a5880aae8fd0eac5bbf6ad1a
[ "MIT" ]
2
2021-04-25T02:08:42.000Z
2021-04-29T04:18:34.000Z
#include "SkeletonNode.h" #include "AnimationTree.h" #include "GameObj.h" #include "SMath.h" #include "GameTimer.h" Node::State SkeletonNode::Tick() { SAnimationTree tree = std::dynamic_pointer_cast<AnimationTree>(_tree.lock()); State result = State::Running; if (!_isRunning) { // store old frame if needed and ...
26.439655
104
0.698891
CodingC1402
1b535ff2f63a37f7abc983233c4eeb3c0a3bd99e
950
cpp
C++
2019Homeworks/20191120_P3_Practice3/10.Wildcard.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
2019Homeworks/20191120_P3_Practice3/10.Wildcard.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
2019Homeworks/20191120_P3_Practice3/10.Wildcard.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include<iostream> #include<string> using namespace std; bool isAbbr(string a,string b){ if(a.length()==1){ if(a=="*")return true; if(a=="?")return b.length()==1; return a==b; } bool res=true; for(int j=0,k=0;j<a.length();j++){ if(a[j]==b[k]||a[j]=='?'){ if(k<...
24.358974
87
0.42
Guyutongxue
1b54c6272cdc86bd1c18b3ae46c9cc84fca0af37
1,009
hpp
C++
src/AbstractActuator.hpp
MustafaSabur/RobotWereld
e696e6e7ad890abb719a78fc1a0c111a680d27e0
[ "BSD-2-Clause" ]
null
null
null
src/AbstractActuator.hpp
MustafaSabur/RobotWereld
e696e6e7ad890abb719a78fc1a0c111a680d27e0
[ "BSD-2-Clause" ]
null
null
null
src/AbstractActuator.hpp
MustafaSabur/RobotWereld
e696e6e7ad890abb719a78fc1a0c111a680d27e0
[ "BSD-2-Clause" ]
null
null
null
#ifndef ABSTRACTACTUATOR_HPP_ #define ABSTRACTACTUATOR_HPP_ #include "Config.hpp" #include <string> class AbstractAgent; class AbstractCommand { public: /** * */ virtual ~AbstractCommand() { } }; // class AbstractCommand class AbstractActuator { public: AbstractActuator(); /** * */ Abstr...
15.765625
89
0.646184
MustafaSabur
1b564ea2272523f9292836c7b6b5d3e9d7808f1d
718
cpp
C++
Day 20-26/Day 20/Q3.cpp
getoxdev/SDE_Interview_Problems
d9203a22ed295b7a5e8ee45f236281c95975e23f
[ "MIT" ]
30
2021-05-27T14:11:33.000Z
2021-08-02T17:51:02.000Z
Day 20-26/Day 20/Q3.cpp
getoxdev/SDE_Interview_Problems
d9203a22ed295b7a5e8ee45f236281c95975e23f
[ "MIT" ]
null
null
null
Day 20-26/Day 20/Q3.cpp
getoxdev/SDE_Interview_Problems
d9203a22ed295b7a5e8ee45f236281c95975e23f
[ "MIT" ]
9
2021-06-02T09:21:04.000Z
2021-07-21T15:05:07.000Z
#include<bits/stdc++.h> #define boost ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define ll long long #define deb(x) cout << #x << "=" << x << endl using namespace std; //Construct BST from given keys struct Node { int data; Node *left; Node *right; Node(int val) { data = val; ...
17.095238
66
0.573816
getoxdev
1b589340e156200ddb3ca1d9214a865970fe66e9
13,509
hpp
C++
em_unet/src/PyGreentea/evaluation/src_cython/zi/tmp/vec_functions.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
10
2018-09-13T17:37:22.000Z
2020-05-08T16:20:42.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/tmp/vec_functions.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
1
2018-12-02T14:17:39.000Z
2018-12-02T20:59:26.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/vl/vec_functions.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
2
2019-03-03T12:06:10.000Z
2020-04-12T13:23:02.000Z
// // Copyright (C) 2010 Aleksandar Zlateski <zlateski@mit.edu> // ---------------------------------------------------------- // // 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 versio...
30.02
82
0.481383
VCG
1b59927c8f6e0a300af72bf806e4e4b8d2397d67
1,619
cpp
C++
src/parameters_example/src/parametric_pub.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/parameters_example/src/parametric_pub.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/parameters_example/src/parametric_pub.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
/** * Node parameters example. * * Roberto Masocco <robmasocco@gmail.com> * * December 3, 2021 */ #include <iostream> #include "../include/parameters_example/parametric_node.hpp" //! No special setup is required here, you only have to start this with: //! ros2 run parameters_examples parametric_pub --ros-args ...
37.651163
85
0.73008
IntelligentSystemsLabUTV
1b5b58c48c9f30210511bda24e93aad5774699fd
2,487
cpp
C++
yak/src/ros/ros_rgbd_camera.cpp
cbw36/yak
8d7c7048f366afcf1c4d9e55db187c6c66410a47
[ "MIT" ]
null
null
null
yak/src/ros/ros_rgbd_camera.cpp
cbw36/yak
8d7c7048f366afcf1c4d9e55db187c6c66410a47
[ "MIT" ]
null
null
null
yak/src/ros/ros_rgbd_camera.cpp
cbw36/yak
8d7c7048f366afcf1c4d9e55db187c6c66410a47
[ "MIT" ]
null
null
null
/* * ros_rgbd_camera.cpp * * Created on: Jun 2, 2015 * Author: mklingen */ #include <ros/ros_rgbd_camera.hpp> #include <ros/console.h> namespace kfusion { RosRGBDCamera::RosRGBDCamera(const ros::NodeHandle& handle) : nodeHandle(handle), transport(handle), hasNewDepth(false), hasNewRGB(fals...
26.741935
133
0.605549
cbw36
1b5ba7934dde92d4d95d19ff2a44aa11ae989bdf
621
cpp
C++
src/0205.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0205.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0205.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <map> #include <hash_map> using namespace std; class Solution { public: bool isIsomorphic(string s, string t) { if (s.empty())return true; char m1[256] = {0}, m2[256] = {0}; for (int i = 0; i < s.si...
18.818182
55
0.536232
killf
1b5bff8fb9a5a003cc0963121c6daff89550fc2e
9,292
cxx
C++
src/processes/flow/collate_process.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
14
2015-05-02T17:06:34.000Z
2019-06-20T10:10:20.000Z
src/processes/flow/collate_process.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
3
2015-02-11T20:09:24.000Z
2018-09-04T21:45:56.000Z
src/processes/flow/collate_process.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
9
2015-08-19T04:48:16.000Z
2021-02-15T14:28:06.000Z
/*ckwg +29 * Copyright 2011-2013 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
24.84492
93
0.679724
linus-sherrill
1b656bcd32095608605408bad98d71b1efb3a217
1,529
cpp
C++
src/gpu/d3d/GrD3DCommandSignature.cpp
jeffa-bob/skia3d
fbf40464468e7a708d2e7b260bd0db39a1c7ac1d
[ "BSD-3-Clause" ]
1
2020-09-15T06:55:34.000Z
2020-09-15T06:55:34.000Z
src/gpu/d3d/GrD3DCommandSignature.cpp
jeffa-bob/skia3d
fbf40464468e7a708d2e7b260bd0db39a1c7ac1d
[ "BSD-3-Clause" ]
3
2021-05-11T22:25:32.000Z
2022-03-02T09:53:47.000Z
src/gpu/d3d/GrD3DCommandSignature.cpp
jeffa-bob/skia3d
fbf40464468e7a708d2e7b260bd0db39a1c7ac1d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2020 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/d3d/GrD3DCommandSignature.h" #include "src/gpu/d3d/GrD3DGpu.h" sk_sp<GrD3DCommandSignature> GrD3DCommandSignature::Make(GrD3DGpu* gpu, ForIndexed forIndexed...
40.236842
94
0.629823
jeffa-bob
1b6574f356f5d4e1e171c12f7b461107475f3c17
1,009
cpp
C++
Those who can not remember the past are condemned to repeat it - DP/Solutions/jorgedftrl/C/main.cpp
gmeligio/axon_training
657f181b732265856c71e97697bfde2062744e5a
[ "MIT" ]
null
null
null
Those who can not remember the past are condemned to repeat it - DP/Solutions/jorgedftrl/C/main.cpp
gmeligio/axon_training
657f181b732265856c71e97697bfde2062744e5a
[ "MIT" ]
5
2019-04-30T22:31:36.000Z
2019-05-07T00:15:23.000Z
Those who can not remember the past are condemned to repeat it - DP/Solutions/jorgedftrl/C/main.cpp
gmeligio/axon_training
657f181b732265856c71e97697bfde2062744e5a
[ "MIT" ]
5
2019-05-01T05:08:43.000Z
2019-05-07T18:13:18.000Z
#include <algorithm> #include <deque> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <string> #include <vector> #define endl '\n' using namespace std; class ft { vector<int> t; public: ft(int n){t.assign(n, 0);} void put(int x) { ...
17.701754
43
0.407334
gmeligio
1b687ae5a3d0396a4f84c6b9a3b31741b6604c85
42,135
cpp
C++
src/COISA/vm.cpp
fpisani/LibMiletusCOISA
92bf8ad9ecc1384207c790cf6f6093b254fe0a62
[ "MIT" ]
1
2021-04-15T15:59:16.000Z
2021-04-15T15:59:16.000Z
src/COISA/vm.cpp
fpisani/LibMiletusCOISA
92bf8ad9ecc1384207c790cf6f6093b254fe0a62
[ "MIT" ]
null
null
null
src/COISA/vm.cpp
fpisani/LibMiletusCOISA
92bf8ad9ecc1384207c790cf6f6093b254fe0a62
[ "MIT" ]
null
null
null
/*************************************************************************** * Copyright (C) 2015 by * * - Carlos Eduardo Millani (carloseduardomillani@gmail.com) * * - Edson Borin (edson@ic.unicamp.br) * * ...
28.761092
120
0.542779
fpisani
1b6f096f1f10aa0fc4dbf17c85656a59c98c5825
6,392
cxx
C++
test/test_Commandline.cxx
casavi/potoo
f40fc04624726907b32ff33e357ad14015c99778
[ "MIT" ]
5
2016-07-08T09:49:43.000Z
2020-03-28T23:32:17.000Z
test/test_Commandline.cxx
casavi/potoo
f40fc04624726907b32ff33e357ad14015c99778
[ "MIT" ]
1
2017-08-03T17:48:02.000Z
2020-05-06T07:57:23.000Z
test/test_Commandline.cxx
casavi/potoo
f40fc04624726907b32ff33e357ad14015c99778
[ "MIT" ]
3
2016-10-13T08:27:38.000Z
2019-05-14T13:38:47.000Z
#include <boost/test/unit_test.hpp> #include <Commandline.hxx> #include <boost/program_options/errors.hpp> // Valid tests BOOST_AUTO_TEST_CASE(commandline_visitor) { PageCommand pc; pc._config = "asdf.json"; auto c = Command(pc); BOOST_CHECK(boost::apply_visitor(config_visitor{}, c) == pc._config); ...
27.084746
102
0.610451
casavi
1b71598a5d1554003450ed2fdf5f442c4d4ce65e
12,084
cpp
C++
pwiz/analysis/eharmony/DataFetcherContainerTest.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/analysis/eharmony/DataFetcherContainerTest.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/analysis/eharmony/DataFetcherContainerTest.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: DataFetcherContainerTest.cpp 2051 2010-06-15 18:39:13Z chambm $ // // // Original author: Kate Hoff <katherine.hoff@proteowizard.org> // // Copyright 2009 Center for Applied Molecular Medicine // University of Southern California, Los Angeles, CA // // Licensed under the Apache License, Version 2.0 (the "L...
28.037123
156
0.64995
edyp-lab
1b7205bbc5b7b1275937dede543f4a4751d919a3
157
cpp
C++
littleVulkanEngine/tutorial01/lve_app_base.cpp
ShaverJT/littleVulkanEngine
0418380916488a1f44072ff33eb15b7b6d9fe573
[ "MIT" ]
324
2020-12-14T22:59:26.000Z
2022-03-30T08:06:39.000Z
littleVulkanEngine/tutorial01/lve_app_base.cpp
ShaverJT/littleVulkanEngine
0418380916488a1f44072ff33eb15b7b6d9fe573
[ "MIT" ]
21
2020-12-20T13:04:49.000Z
2022-03-24T19:59:39.000Z
littleVulkanEngine/tutorial01/lve_app_base.cpp
ShaverJT/littleVulkanEngine
0418380916488a1f44072ff33eb15b7b6d9fe573
[ "MIT" ]
76
2021-01-25T18:05:49.000Z
2022-03-29T07:22:08.000Z
#include "lve_app_base.hpp" namespace lve { void LveAppBase::run() { while (!lveWindow.shouldClose()) { glfwPollEvents(); } } } // namespace lve
13.083333
36
0.649682
ShaverJT
1b741f330b0854af851851344b19090191fa5d28
249
hpp
C++
src/tfMultiset.hpp
frmr/tf
4402ca91eef617f331aa215ece567aa0df53428c
[ "MIT" ]
null
null
null
src/tfMultiset.hpp
frmr/tf
4402ca91eef617f331aa215ece567aa0df53428c
[ "MIT" ]
null
null
null
src/tfMultiset.hpp
frmr/tf
4402ca91eef617f331aa215ece567aa0df53428c
[ "MIT" ]
null
null
null
#pragma once #include <set> namespace tf { template<typename T> class Multiset : public std::multiset<T> { public: using std::multiset<T>::multiset; bool contains(const T& key) const { return this->find(key) != this->end(); } }; }
13.833333
41
0.64257
frmr
1b75b24b6da4688749bc24c321ee2565fc76c769
2,698
cpp
C++
FRBDK/BitmapFontGenerator/source/main.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
110
2016-01-14T14:46:16.000Z
2022-03-27T19:00:48.000Z
FRBDK/BitmapFontGenerator/source/main.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
471
2016-08-21T14:48:15.000Z
2022-03-31T20:22:50.000Z
FRBDK/BitmapFontGenerator/source/main.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
33
2016-01-25T23:30:03.000Z
2022-02-18T07:24:45.000Z
#include <windows.h> #include <crtdbg.h> #include <string> #include <iostream> using namespace std; #include "dynamic_funcs.h" #include "charwin.h" const char *getArgValue(const char *cmdLine, string &value) { cmdLine += strspn(cmdLine, " \t"); int end; if( *cmdLine == '"' ) { end = strcspn(++cmdLine, "\""); ...
20.59542
89
0.650111
patridge
1b78069d3a65b6c9623bdb646ceff66556529b42
4,209
cc
C++
cras/src/tests/loopback_iodev_unittest.cc
mtk09422/chromiumos-third_party-adhd
4532b19aef00d6f8acd9dbd3c391345c67ade258
[ "BSD-1-Clause" ]
null
null
null
cras/src/tests/loopback_iodev_unittest.cc
mtk09422/chromiumos-third_party-adhd
4532b19aef00d6f8acd9dbd3c391345c67ade258
[ "BSD-1-Clause" ]
null
null
null
cras/src/tests/loopback_iodev_unittest.cc
mtk09422/chromiumos-third_party-adhd
4532b19aef00d6f8acd9dbd3c391345c67ade258
[ "BSD-1-Clause" ]
null
null
null
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdio.h> #include <stdlib.h> #include <gtest/gtest.h> extern "C" { #include "cras_audio_area.h" #include "cras_iodev.h" #include "cras_l...
24.758824
77
0.694702
mtk09422
1b7b316816e5fcc795cb14b308e494162dea8fe7
542
cpp
C++
atcoder/abc/abc_155/b.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
atcoder/abc/abc_155/b.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
atcoder/abc/abc_155/b.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> int main() { int N, A; std::cin >> N; int even_cnt = 0; int cnt = 0; for (int i = 0; i < N; i++) { std::cin >> A; if (A % 2 == 0) { even_cnt++; if (A % 3 == 0 | A % 5 == 0) cnt++; } } if (...
18.689655
45
0.383764
hsmtknj
1b7b3e55a22cd8d5a62227335e74d5fd9a26b6ea
624
cpp
C++
greedy/stocks.cpp
sunilgaikwad/coderunner
ec0e5d40eee780716ec45e0e1225e8781a869caf
[ "MIT" ]
null
null
null
greedy/stocks.cpp
sunilgaikwad/coderunner
ec0e5d40eee780716ec45e0e1225e8781a869caf
[ "MIT" ]
null
null
null
greedy/stocks.cpp
sunilgaikwad/coderunner
ec0e5d40eee780716ec45e0e1225e8781a869caf
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int maxProfit(const vector<int> &prices) { int size = prices.size(); if(size < 2) throw invalid_argument("Invalid input"); int profit; int buy = 0; int sell = 1; int mprofit = prices[sell] - prices[buy]; while(sell < size) { profit = pric...
16.421053
43
0.588141
sunilgaikwad
1b7fe72af287c254933aaa91368c931427c162ec
1,092
cpp
C++
Kattis/quickbrownfox.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/quickbrownfox.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/quickbrownfox.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// // https://open.kattis.com/problems/quickbrownfox #include <iostream> #include <cmath> #include <algorithm> #include <string> #include <iomanip> #include <sstream> #include <vector> #include <iomanip> #include <map> using namespace std; bool has[26]; void parse(char c) { if ('a' <= c && c <= 'z') has[c - 'a...
17.612903
52
0.402015
YourName0729
1b854d5ea3ac378a36c521f90b0227d22ae12cb5
3,806
cc
C++
pink/examples/redis_cli_test.cc
kernelai/pinktest
51a5f2afd4c3f71ba03660f50099a0c2267b8c10
[ "BSD-3-Clause" ]
264
2016-07-03T05:45:31.000Z
2022-03-25T03:05:45.000Z
pink/examples/redis_cli_test.cc
rockeet/pink
98870f811e9cfecaaad9fa44ebf99ab2933b18f1
[ "BSD-3-Clause" ]
16
2016-10-13T04:08:36.000Z
2018-01-05T02:41:42.000Z
example/Mcached/mraft/floyd/third/pink/pink/examples/redis_cli_test.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
132
2016-08-13T15:18:31.000Z
2022-03-26T12:54:43.000Z
#include <stdio.h> #include <errno.h> #include "slash/include/xdebug.h" #include "pink/include/pink_cli.h" #include "pink/include/redis_cli.h" using namespace pink; int main(int argc, char* argv[]) { if (argc < 3) { printf ("Usage: ./redis_cli ip port\n"); exit(0); } std::string ip(argv[1]); int port...
30.693548
114
0.585654
kernelai
1b8a0d906aeaf77057ddf802b7edfd4505583aea
1,083
cpp
C++
cppcode/cpp execise/day08/override.cpp
jiedou/study
606676ebc3d1fb1a87de26b6609307d71dafec22
[ "Apache-2.0" ]
null
null
null
cppcode/cpp execise/day08/override.cpp
jiedou/study
606676ebc3d1fb1a87de26b6609307d71dafec22
[ "Apache-2.0" ]
null
null
null
cppcode/cpp execise/day08/override.cpp
jiedou/study
606676ebc3d1fb1a87de26b6609307d71dafec22
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class A {}; class B : public A {}; class Base { public: void aaa (void) { cout << "Base::aaa(void)" << endl; } virtual void bbb (void) { cout << "Base::bbb(void)" << endl; } virtual void ccc (void) { cout << "Base::ccc(void)" << endl; } virtual A* ddd (void) { cou...
17.754098
39
0.55771
jiedou
1b8acbbdae6290a5bc61e1bcb427b09d05040e09
3,940
hpp
C++
packages/utility/distribution/src/Utility_OneDDistributionEntryConverterDB.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/distribution/src/Utility_OneDDistributionEntryConverterDB.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/distribution/src/Utility_OneDDistributionEntryConverterDB.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file Utility_OneDDistributionEntryConverterDB.hpp //! \author Alex Robinson //! \brief 1D distribution parameter entry converter database declaration //! //------------------------------------------------------------------------...
39.009901
80
0.759898
lkersting
b84730cf9f20d800fa18496bcdc9271156ba0994
1,319
hpp
C++
ETF ZBIRKA LASLO KRAUS ZADACI/Zadatak 5.10/Student.hpp
owlCoder/C_Plus_Plus_Projects
d2c70411c9322c89a8d6158a144e161abce65735
[ "MIT" ]
null
null
null
ETF ZBIRKA LASLO KRAUS ZADACI/Zadatak 5.10/Student.hpp
owlCoder/C_Plus_Plus_Projects
d2c70411c9322c89a8d6158a144e161abce65735
[ "MIT" ]
null
null
null
ETF ZBIRKA LASLO KRAUS ZADACI/Zadatak 5.10/Student.hpp
owlCoder/C_Plus_Plus_Projects
d2c70411c9322c89a8d6158a144e161abce65735
[ "MIT" ]
null
null
null
#ifndef STUDENT_HPP_INCLUDED #define STUDENT_HPP_INCLUDED #include "Osoba.hpp" #include <cstdlib> class Student: public Osoba { int* ocene; // Niz ocena. int kap, n; // Kapacitet niza i broj ocena. public: // Stvaran...
23.140351
74
0.444276
owlCoder
b84880b1b5de2658e7895ed361bd8216f1a93d00
10,820
cc
C++
src/sdk/schema_impl.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
src/sdk/schema_impl.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
src/sdk/schema_impl.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "sdk/schema_impl.h" #include <gflags/gflags.h> #include <glog/logging.h> DECLARE_int64(tera_tablet_write_block_size); DECLARE_int64(tera_tablet_ld...
23.318966
95
0.677172
sallon88
b849c28166d320dc84ea7400abb11d210ed54e5a
98
cpp
C++
test/generated/test_unsigned_int.cpp
Neargye/charconv-constexpr-proposal
63fac3a42cd6fdfc79783c718b25918064856ea7
[ "Apache-2.0" ]
4
2020-02-18T14:57:48.000Z
2021-06-27T11:52:00.000Z
test/generated/test_unsigned_int.cpp
Neargye/charconv-constexpr-proposal
63fac3a42cd6fdfc79783c718b25918064856ea7
[ "Apache-2.0" ]
null
null
null
test/generated/test_unsigned_int.cpp
Neargye/charconv-constexpr-proposal
63fac3a42cd6fdfc79783c718b25918064856ea7
[ "Apache-2.0" ]
null
null
null
#include "../test.cxx" constexpr auto _test_unsigned_int = (test_integer<unsigned int>(), true);
24.5
73
0.734694
Neargye
b84c1ac4018e074286e3d2c016638f1a6eae6378
2,011
hpp
C++
modules/boost/simd/base/include/boost/simd/swar/functions/sort.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/swar/functions/sort.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/swar/functions/sort.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
29.144928
131
0.625559
feelpp
b84eecdec526f4d5a2335d58195a219264ef1ee2
4,893
cc
C++
tonic-suite/asr/src/lat/confidence.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
59
2015-07-01T21:41:47.000Z
2021-07-28T07:07:42.000Z
tonic-suite/asr/src/lat/confidence.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
4
2016-01-24T13:25:03.000Z
2021-07-06T09:10:23.000Z
tonic-suite/asr/src/lat/confidence.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
54
2015-06-13T15:31:20.000Z
2021-07-28T07:07:43.000Z
// lat/confidence.cc // Copyright 2013 Johns Hopkins University (Author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // 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 o...
44.481818
79
0.69017
csb1024
b84f7b0ebf9a04e065d1278b837e144d19f46653
669
hpp
C++
src/test/api.hpp
cwood77/gordian
209886982b3cde4e37101f095900e0e844089acc
[ "MIT" ]
null
null
null
src/test/api.hpp
cwood77/gordian
209886982b3cde4e37101f095900e0e844089acc
[ "MIT" ]
null
null
null
src/test/api.hpp
cwood77/gordian
209886982b3cde4e37101f095900e0e844089acc
[ "MIT" ]
null
null
null
#ifndef ___test_api___ #define ___test_api___ #include "../tcatlib/api.hpp" namespace test { class iAsserter { public: virtual void assertTrue(bool value) = 0; }; class iTest { public: virtual ~iTest() {} virtual const char *getName() const = 0; virtual void run(iAsserter& a) = 0; }; #define testDefine...
20.90625
62
0.690583
cwood77
b8544432dae9254c951df4a7a9b439ee41bb3df5
226
cpp
C++
Codeforces/Div2/360B.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
1
2019-09-07T15:56:05.000Z
2019-09-07T15:56:05.000Z
Codeforces/Div2/360B.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
Codeforces/Div2/360B.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); string inp; cin>>inp; cout<<inp; reverse(inp.begin(),inp.end()); cout<<inp<<"\n"; return 0; }
16.142857
35
0.566372
Superdanby
b855602165b69bdcd0cfc2d0391dd40fdfbb7815
11,637
cpp
C++
fboss/agent/hw/bcm/tests/dataplane_tests/BcmOlympicQoSTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
1
2020-03-20T22:47:21.000Z
2020-03-20T22:47:21.000Z
fboss/agent/hw/bcm/tests/dataplane_tests/BcmOlympicQoSTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/bcm/tests/dataplane_tests/BcmOlympicQoSTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
32.872881
80
0.642949
phshaikh
b8556c04995a1a216df4c70ef133816c8207a4a0
5,729
cc
C++
gazebo/gui/model/CollisionConfig_TEST.cc
nyxrobotics/gazebo
4a9b733a8af9a13cd7f3b23d5414d322a3666a55
[ "ECL-2.0", "Apache-2.0" ]
3
2018-07-17T00:17:13.000Z
2020-05-26T08:39:25.000Z
gazebo/gui/model/CollisionConfig_TEST.cc
nyxrobotics/gazebo
4a9b733a8af9a13cd7f3b23d5414d322a3666a55
[ "ECL-2.0", "Apache-2.0" ]
1
2022-02-03T18:32:35.000Z
2022-02-03T18:32:35.000Z
gazebo/gui/model/CollisionConfig_TEST.cc
mingfeisun/gazebo
f3eae789c738f040b8fb27c2dc16dc4c06f2495c
[ "ECL-2.0", "Apache-2.0" ]
2
2016-04-25T22:05:09.000Z
2020-03-08T08:45:12.000Z
/* * Copyright (C) 2015 Open Source Robotics Foundation * * 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 appl...
26.159817
80
0.644266
nyxrobotics
b8588bfd5216c18ff3616c33f016742d4dfb53ba
1,108
cpp
C++
Source/UE4_Demo/Helper/WidgetBlueprintFunctionLibrary.cpp
flyish/UE4_Demo
6f9bcab8bb0febf94751258a9159b154350db7a3
[ "Apache-2.0" ]
null
null
null
Source/UE4_Demo/Helper/WidgetBlueprintFunctionLibrary.cpp
flyish/UE4_Demo
6f9bcab8bb0febf94751258a9159b154350db7a3
[ "Apache-2.0" ]
null
null
null
Source/UE4_Demo/Helper/WidgetBlueprintFunctionLibrary.cpp
flyish/UE4_Demo
6f9bcab8bb0febf94751258a9159b154350db7a3
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "WidgetBlueprintFunctionLibrary.h" #include "Engine/Engine.h" #include "../UE4_DemoGameModeBase.h" #include "../Widgets/UserWidgetsManager.h" void UWidgetBlueprintFunctionLibrary::showWidget(const FString& path, uint8 showType, c...
31.657143
140
0.791516
flyish
b858ef7860a6a472e27b67ee86df3e40aa7c02db
1,783
hpp
C++
src/network/impl/gossiper_broadcast.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
1
2021-07-10T21:25:03.000Z
2021-07-10T21:25:03.000Z
src/network/impl/gossiper_broadcast.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
src/network/impl/gossiper_broadcast.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
#ifndef SUPERGENIUS_GOSSIPER_BROADCAST_HPP #define SUPERGENIUS_GOSSIPER_BROADCAST_HPP #include <gsl/span> #include <unordered_map> #include "libp2p/connection/stream.hpp" #include "libp2p/host/host.hpp" #include "libp2p/peer/peer_info.hpp" #include "network/gossiper.hpp" #include "network/types/gossip_message.hpp"...
29.716667
80
0.731913
GeniusVentures
b859f58c31aa30dfbda073f258f3df113254136b
3,470
cpp
C++
chal1/src/metrics.cpp
mridpin/Robotics_-_Computer_Vision
6a1b9c0b0c064e903b46f18cb89f616e24221676
[ "MIT" ]
null
null
null
chal1/src/metrics.cpp
mridpin/Robotics_-_Computer_Vision
6a1b9c0b0c064e903b46f18cb89f616e24221676
[ "MIT" ]
null
null
null
chal1/src/metrics.cpp
mridpin/Robotics_-_Computer_Vision
6a1b9c0b0c064e903b46f18cb89f616e24221676
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <rosbag/bag.h> #include <rosbag/view.h> #include <tf/transform_listener.h> #include <boost/foreach.hpp> #include <string> #include <geometry_msgs/PoseStamped.h> #include <sensor_msgs/LaserScan.h> #include <algorithm> #include <iostream> #include <cmath> #include <cfloat> #define foreach BO...
29.40678
145
0.671758
mridpin
b85be30b80838497644ab0234b15307c7dd7cd6c
7,296
cpp
C++
src/samplers/SamplerFastPoisson/ScallopedSector.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerFastPoisson/ScallopedSector.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerFastPoisson/ScallopedSector.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
#define _USE_MATH_DEFINES #include <math.h> #include <float.h> #include <stdio.h> #include <algorithm> #include "PDSampling.h" #include "ScallopedSector.h" namespace dunbarPoisson { static const float kTwoPi = (float) (M_PI*2); static float integralOfDistToCircle(float x, float d, float r, float k) { if (r<FLT_EP...
24.732203
134
0.615269
FrancoisGaits
b8685fcb8a73ae4051acf11b5019c35d30b59cb2
9,423
hpp
C++
include/atl/detail/regular_expression/algorithm.hpp
LoringHe/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
2
2020-09-02T05:04:52.000Z
2020-09-04T05:26:33.000Z
include/atl/detail/regular_expression/algorithm.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
include/atl/detail/regular_expression/algorithm.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
// // algorithm.hpp // atl // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // SPDX-License-Identifier: MIT // Copyright (c) 2020 Jinlong He. // #ifndef atl_detail_regular_expression_algorithm_hpp #define atl_detail_regular_expression_algorithm_hpp #include "basic_regular_expression.hp...
45.521739
96
0.540486
LoringHe
b8696c861af535d1f8c194090077f83f943bb595
2,205
cpp
C++
lib/dbg/tet.cpp
Templet-language/cpp98runtime
72f40cff8ff2a82d9baa82ee9655befd5de64ccd
[ "Apache-2.0" ]
null
null
null
lib/dbg/tet.cpp
Templet-language/cpp98runtime
72f40cff8ff2a82d9baa82ee9655befd5de64ccd
[ "Apache-2.0" ]
null
null
null
lib/dbg/tet.cpp
Templet-language/cpp98runtime
72f40cff8ff2a82d9baa82ee9655befd5de64ccd
[ "Apache-2.0" ]
null
null
null
/*--------------------------------------------------------------------------*/ /* Copyright 2010-2013 Sergey Vostokin */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* ...
34.453125
78
0.526077
Templet-language
b869cc215160e32d0cff48492ef403c13bc3f606
4,483
cpp
C++
src/Engine/Core/Net/CNetPacket.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
4
2021-12-16T11:22:30.000Z
2022-01-05T11:20:32.000Z
src/Engine/Core/Net/CNetPacket.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
1
2022-01-07T10:41:38.000Z
2022-01-09T12:04:03.000Z
src/Engine/Core/Net/CNetPacket.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
null
null
null
/* * * MTEngine framework (c) 2009 Marcin Skoczylas * Licensed under MIT * */ #include "enet.h" #include "SYS_Main.h" #include "SYS_Funct.h" #include "NET_Main.h" #include "NET_Includes.h" CNetPacket::CNetPacket() { this->protocolType = 0; this->packetType = NET_PACKET_TYPE_NOTHING; this->frameNum = 0; thi...
22.303483
115
0.694178
slajerek
b86f4156f2003674a305f99ad44ade04f3c618e2
3,119
cc
C++
src/Interface/Modules/Render/Screenshot.cc
Nahusa/SCIRun
c54e714d4c7e956d053597cf194e07616e28a498
[ "MIT" ]
1
2019-05-30T06:00:15.000Z
2019-05-30T06:00:15.000Z
src/Interface/Modules/Render/Screenshot.cc
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
src/Interface/Modules/Render/Screenshot.cc
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
35.044944
134
0.724271
Nahusa
b87103c49bf845aece0f3d6a63b156febb7b3f35
4,944
cpp
C++
Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2016 Metrological Group B.V. * Copyright (C) 2016 Igalia S.L. * * 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 * noti...
42.991304
194
0.738673
ijsf
b87a1c204544cf1602268ffabbaad3a0a5994e43
23,506
hpp
C++
openstudiocore/src/airflow/contam/PrjModelImpl.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/airflow/contam/PrjModelImpl.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/airflow/contam/PrjModelImpl.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
40.319039
143
0.672764
hellok-coder
b87a804e4accb03d004119b7768f9c2fbbfe0236
1,009
cpp
C++
fuzz-tests/kmp.cpp
deadpool2794/Cp
26eab96ef8ea336615fa8d6fadaa8e4d7d6f3a3c
[ "MIT" ]
152
2019-04-09T18:26:41.000Z
2022-03-20T23:19:41.000Z
fuzz-tests/kmp.cpp
deadpool2794/Cp
26eab96ef8ea336615fa8d6fadaa8e4d7d6f3a3c
[ "MIT" ]
1
2020-12-29T03:02:22.000Z
2020-12-29T03:02:22.000Z
fuzz-tests/kmp.cpp
deadpool2794/Cp
26eab96ef8ea336615fa8d6fadaa8e4d7d6f3a3c
[ "MIT" ]
36
2019-11-28T09:27:01.000Z
2022-03-10T18:22:13.000Z
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for(int i = a; i < int(b); ++i) #define trav(a, v) for(auto& a : v) #define all(x) x.begin(), x.end() #define sz(x) (int)(x).size() typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; #include "../content/strings/KMP.h" templat...
17.396552
69
0.51338
deadpool2794
b87ceeb9c685ca39acebea7244c94cf4c184e565
3,006
cc
C++
nextBlock.cc
IvanWeiZ/Quadris
88c44d697c784871735461a7a3b29eeeea69131d
[ "Apache-2.0" ]
null
null
null
nextBlock.cc
IvanWeiZ/Quadris
88c44d697c784871735461a7a3b29eeeea69131d
[ "Apache-2.0" ]
null
null
null
nextBlock.cc
IvanWeiZ/Quadris
88c44d697c784871735461a7a3b29eeeea69131d
[ "Apache-2.0" ]
null
null
null
// // nextBlock.cc // A5 // // Created by Wei Zheng on 4/3/14. // Copyright (c) 2014 Wei Zheng. All rights reserved. // #include "nextBlock.h" using namespace std; char nextBlock::getNextType(){ return NextBlock->gettype(); } block* nextBlock::getNextblock(){ block*btemp=NextBlock; genNextblock(); ...
17.578947
90
0.41151
IvanWeiZ
b87eafb92550e6dceef4d0e1c54639e0e7764c0c
1,941
cpp
C++
chap14/Exer14_40.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap14/Exer14_40.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap14/Exer14_40.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <cstddef> using std::cout; using std::endl; using std::string; using std::vector; using std::size_t; class CompareSize { public: bool operator()(const string &s1, const string &s2) const { return s1.size() < s2.size(); } }; class ...
32.35
108
0.642968
sjbarigye
b882a6218627901e9477b873f9cb8f8208187360
3,808
hpp
C++
SequenceTracker.hpp
SSNikolaevich/arduino-nano-piano-key
3d55e625cfd485cf3826e6d6f3afa4390d15f47c
[ "MIT" ]
null
null
null
SequenceTracker.hpp
SSNikolaevich/arduino-nano-piano-key
3d55e625cfd485cf3826e6d6f3afa4390d15f47c
[ "MIT" ]
null
null
null
SequenceTracker.hpp
SSNikolaevich/arduino-nano-piano-key
3d55e625cfd485cf3826e6d6f3afa4390d15f47c
[ "MIT" ]
null
null
null
#ifndef _SEQUENCE_TRACKER_HPP_ #define _SEQUENCE_TRACKER_HPP_ /** Шаблон класса, предназначенного для отслеживания определённой * последовательности значений в передаваемых ему входных данных. */ template <typename T, int buffer_size = 1024> class SequenceTracker { public: /** Тип указателя на функцию обр...
31.213115
78
0.557248
SSNikolaevich
b88414cfd74d195eda56f3f1e4148598804a255c
1,229
cpp
C++
tests/RandomAluTest3.cpp
bigianb/Play--CodeGen
8aa3a4e63300b0bda680a8d73a63c8d5b0879967
[ "BSD-2-Clause" ]
45
2015-01-27T13:00:06.000Z
2022-03-10T20:24:58.000Z
tests/RandomAluTest3.cpp
bigianb/Play--CodeGen
8aa3a4e63300b0bda680a8d73a63c8d5b0879967
[ "BSD-2-Clause" ]
21
2015-07-14T14:04:33.000Z
2021-11-06T22:54:19.000Z
tests/RandomAluTest3.cpp
bigianb/Play--CodeGen
8aa3a4e63300b0bda680a8d73a63c8d5b0879967
[ "BSD-2-Clause" ]
39
2015-02-16T03:21:30.000Z
2022-01-08T08:30:12.000Z
#include "RandomAluTest3.h" #include "MemStream.h" #define TEST_NUMBER1 (0x00005555) #define TEST_NUMBER2 (0xAAAAAAAA) CRandomAluTest3::CRandomAluTest3(bool useConstant) : m_useConstant(useConstant) { } CRandomAluTest3::~CRandomAluTest3() { } void CRandomAluTest3::Compile(Jitter::CJitter& jitter) { Framework::CM...
18.343284
84
0.722539
bigianb