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
ee825be7ed59f4d159cab9152ee4e6c01e053b1c
1,899
cpp
C++
simulatorCore/src/glBlock.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
4
2016-08-18T03:19:49.000Z
2020-09-20T03:29:26.000Z
simulatorCore/src/glBlock.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
2
2016-08-18T03:25:07.000Z
2016-08-29T17:51:50.000Z
simulatorCore/src/glBlock.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
3
2015-05-14T07:29:55.000Z
2021-07-18T23:45:36.000Z
#include "glBlock.h" #include <sstream> #include "objLoader.h" GlBlock::GlBlock(bID id):blockId(id) { position[0] = 0.0; position[1] = 0.0; position[2] = 0.0; color[0] = 0.5; color[1] = 0.5; color[2] = 0.5; color[3] = 1.0; isHighlighted = false; } GlBlock::GlBlock(bID id,const Vector3D &pos, const Vector3D ...
20.419355
112
0.617167
claytronics
ee88d8839f6bf5d8ce143fdc88e75a258efb6a74
2,648
cpp
C++
CubeEngine/EngineSrc/Texture/TextureMgr.cpp
tangziwen/Cube-Engine
c79b878dcc7e2e382f4463ca63519627d6220afd
[ "MIT" ]
360
2015-01-26T08:15:01.000Z
2021-07-11T16:30:58.000Z
CubeEngine/EngineSrc/Texture/TextureMgr.cpp
multithread3/Cube-Engine
aa76db88fdace41b09cbfc51e5959a9686cca3f3
[ "MIT" ]
6
2015-03-09T09:15:07.000Z
2020-07-06T01:34:00.000Z
CubeEngine/EngineSrc/Texture/TextureMgr.cpp
multithread3/Cube-Engine
aa76db88fdace41b09cbfc51e5959a9686cca3f3
[ "MIT" ]
41
2015-03-10T03:17:46.000Z
2021-07-13T06:26:26.000Z
#include "TextureMgr.h" #include <utility> #include "Utility/log/Log.h" namespace tzw { Texture *TextureMgr::getByPath(std::string filePath, bool isNeedMipMap) { if (filePath.empty()) return nullptr; auto result = m_texturePool.find(filePath); if(result!=m_texturePool.end()) { return result-...
22.632479
125
0.629909
tangziwen
ee8bdbd14703200c0abba03f35df7f3c29f0c2b1
5,980
cc
C++
get-energy.cc
mhirki/rapl-tools
bf27fe416e7c93ea7f54904b47646a3471e8b910
[ "MIT" ]
8
2019-01-17T12:48:34.000Z
2022-02-04T11:40:58.000Z
get-energy.cc
mhirki/rapl-tools
bf27fe416e7c93ea7f54904b47646a3471e8b910
[ "MIT" ]
null
null
null
get-energy.cc
mhirki/rapl-tools
bf27fe416e7c93ea7f54904b47646a3471e8b910
[ "MIT" ]
2
2019-12-01T02:23:07.000Z
2019-12-09T02:56:44.000Z
/* * Measure the energy of executing another program. * Code based on IgProf energy profiling module by Filip Nybäck. * * TODO: * Use waitpid() instead of wait(). * Account for RAPL overflows. * * Author: Mikael Hirki <mikael.hirki@aalto.fi> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #inc...
27.813953
167
0.691304
mhirki
ee8d2481fa3ec70137fdeb4b8fcc3b83a23d4188
2,624
cpp
C++
src/main.cpp
IllidanS4/samp-compat
91a7762f32d89fa3cab0d174546a6529e46dff27
[ "MIT" ]
null
null
null
src/main.cpp
IllidanS4/samp-compat
91a7762f32d89fa3cab0d174546a6529e46dff27
[ "MIT" ]
null
null
null
src/main.cpp
IllidanS4/samp-compat
91a7762f32d89fa3cab0d174546a6529e46dff27
[ "MIT" ]
null
null
null
/* # main.cpp The "main" source file with most of the boilerplate code. Includes the `NativesMain` header for initialising plugin-natives. - `Supports` declares to the SA:MP server which features this plugin uses. - `Load` is called when the plugin loads and sets up the `logprintf` function. */ #include <amx/amx.h> ...
19.58209
83
0.716082
IllidanS4
ee8e079de7f4afbd0ca4779cb9be34e2761d2f32
137
cpp
C++
docs/assets/playground/char_class_union.cpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
null
null
null
docs/assets/playground/char_class_union.cpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
null
null
null
docs/assets/playground/char_class_union.cpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
null
null
null
// INPUT:H123 struct production { static constexpr auto rule // = dsl::identifier(dsl::ascii::upper / dsl::ascii::digit); };
19.571429
65
0.635036
gkgoat1
ee9425fc42b56f5644c040b5b052deb2d31bc2ad
1,096
hpp
C++
include/GlobalNamespace/SR.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/SR.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/SR.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Completed includes // Type namespace: namespace GlobalNamespace { // Size: 0x10 ...
39.142857
107
0.652372
darknight1050
ee96685d4b1d0cea12e5ed0ad31f5b2b98dd200c
4,718
cpp
C++
vm/drivers/cli.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
1
2016-05-09T10:45:38.000Z
2016-05-09T10:45:38.000Z
vm/drivers/cli.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
null
null
null
vm/drivers/cli.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <sys/stat.h> #include "vm/environment.hpp" #include "vm/oop.hpp" #include "vm/type_info.hpp" #include "vm/exception.hpp" using namespace std; using namespace rubinius; /* Loads the runtime kernel files. They're stored in /kernel. * These files consist of classes nee...
32.095238
80
0.633319
samleb
ee97070dd1aa511ba5b3855ccb16fd8b5e3351d6
3,336
hpp
C++
bmc_state_manager.hpp
msbarth/ibm-phosphor-state-manager
bce16c8e6d653f43a9dca5b05d9741ccdbb3ab5d
[ "Apache-2.0" ]
null
null
null
bmc_state_manager.hpp
msbarth/ibm-phosphor-state-manager
bce16c8e6d653f43a9dca5b05d9741ccdbb3ab5d
[ "Apache-2.0" ]
null
null
null
bmc_state_manager.hpp
msbarth/ibm-phosphor-state-manager
bce16c8e6d653f43a9dca5b05d9741ccdbb3ab5d
[ "Apache-2.0" ]
null
null
null
#pragma once #include "xyz/openbmc_project/State/BMC/server.hpp" #include <linux/watchdog.h> #include <sdbusplus/bus.hpp> #include <functional> namespace phosphor { namespace state { namespace manager { using BMCInherit = sdbusplus::server::object::object< sdbusplus::xyz::openbmc_project::State::server::BMC>;...
28.512821
74
0.639089
msbarth
ee9883d50c029ffa8aec2c438de71d0e1409e4ec
130
hxx
C++
src/Providers/UNIXProviders/QueryCapabilities/UNIX_QueryCapabilities_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/QueryCapabilities/UNIX_QueryCapabilities_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/QueryCapabilities/UNIX_QueryCapabilities_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_LINUX #ifndef __UNIX_QUERYCAPABILITIES_PRIVATE_H #define __UNIX_QUERYCAPABILITIES_PRIVATE_H #endif #endif
10.833333
42
0.853846
brunolauze
ee9ad06223a193620c30a7c0344ac7a114660687
1,120
cpp
C++
dataset/test/1624B/8.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/1624B/8.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/1624B/8.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <complex> #include <queue> #include <set> #include <unordered_set> #include <list> #include <chrono> #include <random> #include <iostream> #include <algorithm> #include <cmath> #include <string> #include <vector> #include <map> #include <unordered_map> #include <stack> #include <array> #include...
20.740741
97
0.55625
Karina5005
eea25dcdca81b713365256e88123e13734c81441
399
cpp
C++
Nebula-Storm/src/App.cpp
GalacticKittenSS/Nebula
1620a1dab815d6721b1ae1e3e390ae16313309da
[ "Apache-2.0" ]
3
2021-11-21T21:05:44.000Z
2021-12-27T20:44:08.000Z
Nebula-Storm/src/App.cpp
GalacticKittenSS/Nebula
1620a1dab815d6721b1ae1e3e390ae16313309da
[ "Apache-2.0" ]
null
null
null
Nebula-Storm/src/App.cpp
GalacticKittenSS/Nebula
1620a1dab815d6721b1ae1e3e390ae16313309da
[ "Apache-2.0" ]
null
null
null
#include <Nebula.h> #include <Nebula_EntryPoint.h> #include "EditorLayer.h" namespace Nebula { class NebulaStorm : public Application { public: NebulaStorm(ApplicationCommandLineArgs args): Application("Nebula Storm", args) { PushLayer(new EditorLayer()); } ~NebulaStorm() { } }; Application* CreateAppl...
21
83
0.739348
GalacticKittenSS
eea5d071de1039c97fa41edb0cfaf94d2dc5f739
1,337
cpp
C++
effective-modern-cpp/item39_multi.cpp
miaogen123/daily-coding
5d7f463ad1fee5e512aeb36206526b53b9a781f6
[ "MIT" ]
19
2018-07-06T06:53:56.000Z
2022-01-01T16:36:26.000Z
effective-modern-cpp/item39_multi.cpp
miaogen123/daily-coding
5d7f463ad1fee5e512aeb36206526b53b9a781f6
[ "MIT" ]
null
null
null
effective-modern-cpp/item39_multi.cpp
miaogen123/daily-coding
5d7f463ad1fee5e512aeb36206526b53b9a781f6
[ "MIT" ]
17
2019-03-27T23:18:43.000Z
2021-01-18T11:17:57.000Z
#include<iostream> #include<vector> #include<windows.h> #include<atomic> #include<thread> #include<chrono> #include<future> using namespace std; using namespace std::literals; // //以及多个线程之间使用shared_future std::promise<void> commu_channel; std::atomic<bool> poll_flag(false); std::condition_variable cv; void f() { ...
19.1
69
0.673897
miaogen123
eea86c32bd28db9d839add2d0cfb13ef7a607c1b
928
cpp
C++
arduino/hellospiffs/src/main.cpp
ricklon/kombuchamanager
5ab11322637294e49a4f85c8cc65bdd780af806c
[ "Apache-2.0" ]
null
null
null
arduino/hellospiffs/src/main.cpp
ricklon/kombuchamanager
5ab11322637294e49a4f85c8cc65bdd780af806c
[ "Apache-2.0" ]
null
null
null
arduino/hellospiffs/src/main.cpp
ricklon/kombuchamanager
5ab11322637294e49a4f85c8cc65bdd780af806c
[ "Apache-2.0" ]
null
null
null
/* Hello World SPIFFS based of DFRObot Tutorial https://www.dfrobot.com/blog-1111.html */ #include <Arduino.h> #include "SPIFFS.h" void setup() { Serial.begin(115200); if(!SPIFFS.begin(true)){ Serial.println("An Error has occurred while mounting SPIFFS"); return; } File file = SPIF...
17.509434
74
0.578664
ricklon
eeab701031cf569d33514c1ac4220f3a1ac2d52b
3,118
cpp
C++
src/main.cpp
pawREP/Glacier-Prim-IO
5c6a512656e526b5c5d859623c3670eaa802d88f
[ "MIT" ]
12
2020-04-03T00:00:16.000Z
2022-03-09T11:40:48.000Z
src/main.cpp
pawREP/Glacier-Prim-IO
5c6a512656e526b5c5d859623c3670eaa802d88f
[ "MIT" ]
2
2020-04-12T03:10:09.000Z
2020-05-10T22:24:45.000Z
src/main.cpp
pawREP/Glacier-Prim-IO
5c6a512656e526b5c5d859623c3670eaa802d88f
[ "MIT" ]
4
2020-04-10T03:06:05.000Z
2021-09-30T06:03:30.000Z
#include "mainwindow.h" #include "GlacierFormats.h" #include <iostream> #include <QApplication> #include <QtConcurrent/qtconcurrentrun.h> void initAppStyle() { qApp->setStyle(QStyleFactory::create("Fusion")); QPalette darkPalette; darkPalette.setColor(QPalette::Window, QColor(53, 53, 53)); darkPalett...
39.468354
121
0.716806
pawREP
eead54f4bba87a27acef158e255573de02dfcf37
2,068
cpp
C++
QSettingsDialog/core/qsettingsentry.cpp
cybik/QSettingsDialog
106ab053f042d57a89acec49ddb348aaf2aec14d
[ "BSD-3-Clause" ]
9
2017-04-18T06:10:49.000Z
2022-03-28T14:35:07.000Z
QSettingsDialog/core/qsettingsentry.cpp
cybik/QSettingsDialog
106ab053f042d57a89acec49ddb348aaf2aec14d
[ "BSD-3-Clause" ]
null
null
null
QSettingsDialog/core/qsettingsentry.cpp
cybik/QSettingsDialog
106ab053f042d57a89acec49ddb348aaf2aec14d
[ "BSD-3-Clause" ]
8
2016-12-23T08:24:23.000Z
2022-02-18T01:54:15.000Z
#include "qsettingsentry.h" #include "qsettingsentry_p.h" #include <QThread> #define d this->d_ptr QSettingsEntry::QSettingsEntry(int displaytype, QSettingsLoader *loader) : d_ptr(new QSettingsEntryPrivate(displaytype, loader)) {} QSettingsEntry::QSettingsEntry(int displaytype, QSettingsLoader *loader, const QStrin...
20.07767
167
0.747582
cybik
eead7264b40b36f4dc87ea386eedb960a958322b
1,700
cpp
C++
Practice/2018/2018.12.16/SP-DIVCNTK.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.12.16/SP-DIVCNTK.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.12.16/SP-DIVCNTK.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<cmath> using namespace std; #define ull unsigned long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define RG register #define IL inline const int maxN=101000; const int inf=2147483647; ull n,K,srt; bool notprim...
21.794872
78
0.58
SYCstudio
eeae7fd238aeeb0ea28c1039413c0ecc1f76b3d7
507
hpp
C++
lib/wedges/wedge.hpp
llpm/llpm
47000202b2bb5f09cf739b9094f948744f6d72d2
[ "Apache-2.0" ]
1
2021-11-28T14:56:21.000Z
2021-11-28T14:56:21.000Z
lib/wedges/wedge.hpp
llpm/llpm
47000202b2bb5f09cf739b9094f948744f6d72d2
[ "Apache-2.0" ]
null
null
null
lib/wedges/wedge.hpp
llpm/llpm
47000202b2bb5f09cf739b9094f948744f6d72d2
[ "Apache-2.0" ]
null
null
null
#ifndef __LLPM_WEDGES_WEDGE_HPP__ #define __LLPM_WEDGES_WEDGE_HPP__ #include <util/files.hpp> namespace llpm { // Fwd defs class Module; class Wedge { public: virtual ~Wedge() { } virtual void writeModule(FileSet& fileset, Module* mod) = 0; }; /** * Specifies a class which wraps a module in another, usua...
16.9
64
0.712032
llpm
eeb0a2314fe1a6c64d24e5dee64c0a0f92499f25
17,794
cpp
C++
source/Lib/CommonLib/ContextModelling.cpp
theambient/hhi_next_software
a99e39bad84ccde327c81e62dc2aa83fa73a295a
[ "BSD-3-Clause" ]
null
null
null
source/Lib/CommonLib/ContextModelling.cpp
theambient/hhi_next_software
a99e39bad84ccde327c81e62dc2aa83fa73a295a
[ "BSD-3-Clause" ]
null
null
null
source/Lib/CommonLib/ContextModelling.cpp
theambient/hhi_next_software
a99e39bad84ccde327c81e62dc2aa83fa73a295a
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2017, ITU/ISO/IEC * All rights reserve...
37.940299
168
0.621052
theambient
eeb16b553883c3e711070e8293e2d53f7dae71d6
288
hpp
C++
src/PointwiseFunctions/AnalyticSolutions/NewtonianEuler/Solutions.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/PointwiseFunctions/AnalyticSolutions/NewtonianEuler/Solutions.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/PointwiseFunctions/AnalyticSolutions/NewtonianEuler/Solutions.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once namespace NewtonianEuler { /*! * \ingroup AnalyticSolutionsGroup * \brief Holds classes implementing a solution to the Newtonian Euler system. */ namespace Solutions {} } // namespace NewtonianEuler
22.153846
78
0.756944
macedo22
eeb2595c15e215af9d108f10e63e0a2a7aca8c70
8,829
cpp
C++
jerome/npc/factories/WeightingFactory.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome/npc/factories/WeightingFactory.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome/npc/factories/WeightingFactory.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // WeightingFactory.cpp // // Created by Anton Leuski on 9/1/15. // Copyright (c) 2015 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
35.175299
98
0.643901
leuski-ict
eeb657c35074beacab88d2f7c50b17d4655916c3
179
c++
C++
extra/xftp/xftp-client/supercontrol_exit.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
extra/xftp/xftp-client/supercontrol_exit.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
extra/xftp/xftp-client/supercontrol_exit.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
#include "supercontrol.h++" #include <cstdlib> #include "client.h++" #include "superduperclient.h++" void xftpclient::SuperControl::Exit (Tokenizer & optns) { app.Exit(); }
14.916667
57
0.687151
maciek-27
eeb7d5bb63d4585f6319ba12baf25c3fbaf09b13
1,945
cpp
C++
aws-cpp-sdk-appflow/source/model/UpsolverS3OutputFormatConfig.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-12-06T20:36:35.000Z
2021-12-06T20:36:35.000Z
aws-cpp-sdk-appflow/source/model/UpsolverS3OutputFormatConfig.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-appflow/source/model/UpsolverS3OutputFormatConfig.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/appflow/model/UpsolverS3OutputFormatConfig.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespac...
21.373626
90
0.752699
perfectrecall
eeb8c16b1ee43e8392f2e79fdc2253b928372354
8,661
cc
C++
src/DAF/AE/AESender.cc
Miguel-A/RinaSim
70ff28dc05e8250ca28c438290cf8c08f8a94a23
[ "MIT" ]
1
2016-02-24T19:31:04.000Z
2016-02-24T19:31:04.000Z
src/DAF/AE/AESender.cc
Miguel-A/RinaSim
70ff28dc05e8250ca28c438290cf8c08f8a94a23
[ "MIT" ]
null
null
null
src/DAF/AE/AESender.cc
Miguel-A/RinaSim
70ff28dc05e8250ca28c438290cf8c08f8a94a23
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2014-2016 Brno University of Technology, PRISTINE 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 wit...
29.161616
92
0.583882
Miguel-A
eeb910648792ca5927ca049160a7f2e931de0bfc
3,374
cpp
C++
src/analyze/anaylzeMZ.cpp
Alex4386/pe-parser
45cf63e923adc66e914f913c0094ad3615e126c5
[ "MIT-0" ]
5
2019-08-20T14:04:32.000Z
2020-10-06T10:32:52.000Z
src/analyze/anaylzeMZ.cpp
Alex4386/pe-parser
45cf63e923adc66e914f913c0094ad3615e126c5
[ "MIT-0" ]
1
2019-06-11T03:35:13.000Z
2019-06-11T06:31:13.000Z
src/analyze/anaylzeMZ.cpp
Alex4386/pe-parser
45cf63e923adc66e914f913c0094ad3615e126c5
[ "MIT-0" ]
1
2019-05-27T21:21:32.000Z
2019-05-27T21:21:32.000Z
#include "../common/common.hpp" #include "../parser/parser.hpp" #include "../common/options.hpp" #include "analyze.hpp" int analyzeMZ(MZParser mzParser, CommandLineOptions options) { MZHeader parsedHeader = mzParser.mzHeader; if (!options.outputAsJson) { analyzeMZTerminal(parsedHeader); } else { analyze...
52.71875
104
0.633669
Alex4386
eebd14c6097aa7f5e7970c3f16d4346041f9694d
5,459
cpp
C++
src_lib/csutil.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
src_lib/csutil.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
src_lib/csutil.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
#include <csutil.hpp> double s13::ana::lab2cm_solid_angle_factor(double proton_cm_theta_rad, DatasetType ds_type) { const double p_he4_gamma_cm = 1.12654467394258; const double p_he6_gamma_cm = 1.14966481938141; double gamma = p_he4_gamma_cm; if (ds_type == DatasetType::...
38.174825
82
0.680528
serjinio
eebe79c6c6f524e7f66284e31053c5b8659a7fe1
8,998
cpp
C++
SJone/firmware/lib/L0_LowLevel/source/lpc_sys.cpp
jpan127/RJD-MP3
8659a12e46021882cce6202befa59d88afe4d7c2
[ "MIT" ]
null
null
null
SJone/firmware/lib/L0_LowLevel/source/lpc_sys.cpp
jpan127/RJD-MP3
8659a12e46021882cce6202befa59d88afe4d7c2
[ "MIT" ]
null
null
null
SJone/firmware/lib/L0_LowLevel/source/lpc_sys.cpp
jpan127/RJD-MP3
8659a12e46021882cce6202befa59d88afe4d7c2
[ "MIT" ]
null
null
null
/* * SocialLedge.com - Copyright (C) 2013 * * This file is part of free software framework for embedded processors. * You can use it and/or distribute it as long as this copyright header * remains unmodified. The code is free for personal use and requires * permission to use in a commer...
37.491667
112
0.660369
jpan127
eec0066e8515af438eb866eed0d8668214158c7c
4,428
cpp
C++
sp/src/game/server/ai_condition.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
2,268
2015-01-01T19:31:56.000Z
2022-03-31T20:15:31.000Z
sp/src/game/server/ai_condition.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
241
2015-01-01T15:26:14.000Z
2022-03-31T22:09:59.000Z
sp/src/game/server/ai_condition.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
2,174
2015-01-01T08:18:05.000Z
2022-03-31T10:43:59.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "stringregistry.h" #include "ai_basenpc.h" #include "ai_condition.h" // memdbgon must be the last include file i...
41.773585
89
0.746838
joshmartel
eec0dbdd299e7bcb80be5939c1bfe15d0e5b89db
323
cpp
C++
examples/example_bindings.cpp
avilchess/carma
32857b2ab70a0338d15c81fdaf30945ba238a32e
[ "Apache-2.0" ]
null
null
null
examples/example_bindings.cpp
avilchess/carma
32857b2ab70a0338d15c81fdaf30945ba238a32e
[ "Apache-2.0" ]
null
null
null
examples/example_bindings.cpp
avilchess/carma
32857b2ab70a0338d15c81fdaf30945ba238a32e
[ "Apache-2.0" ]
null
null
null
#include <pybind11/pybind11.h> // include numpy header for usage of array_t #include <pybind11/numpy.h> namespace py = pybind11; #include "manual_conversion.h" #include "automatic_conversion.h" PYBIND11_MODULE(carma_examples, m) { bind_manual_example(m); bind_update_example(m); bind_automatic_example(m);...
21.533333
44
0.758514
avilchess
eec2798f36b1875b318b67e27356e2438fc7d94c
2,317
cpp
C++
src/game_components/Input.cpp
sgol13/boulder-dash
140b7eac3c9f820e84abda07164d057c22540db9
[ "MIT" ]
5
2021-11-28T10:13:12.000Z
2021-12-12T14:51:36.000Z
src/game_components/Input.cpp
sgol13/boulder-dash
140b7eac3c9f820e84abda07164d057c22540db9
[ "MIT" ]
null
null
null
src/game_components/Input.cpp
sgol13/boulder-dash
140b7eac3c9f820e84abda07164d057c22540db9
[ "MIT" ]
null
null
null
// Szymon Golebiowski // Boulder Dash #include "boulder-dash/game_components/Input.hpp" bd::Input::Input(sf::RenderWindow &_window) : Engine(_window) {} void bd::Input::processInputOperations() { handleEvents(); if (!pause_game_) { handleControl(); } } void bd::Input::handleEvents() { sf:...
22.495146
82
0.547259
sgol13
eec54846508065fb7c8e441810362307fc52fdb9
60
hpp
C++
src/boost_geometry_multi_algorithms_intersection.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_multi_algorithms_intersection.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_multi_algorithms_intersection.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/multi/algorithms/intersection.hpp>
30
59
0.833333
miathedev
eec6c98ef1163653d659d69f1693ed732156245e
1,307
cpp
C++
platform/eSDK_LogAPI_V2.1.10/log4cpp/StringQueueAppender.cpp
chewaiwai/huaweicloud-sdk-c-obs
fbcd3dadd910c22af3a91aeb73ca0fee94d759fb
[ "Apache-2.0" ]
22
2019-06-13T01:16:44.000Z
2022-03-29T02:42:39.000Z
platform/eSDK_LogAPI_V2.1.10/log4cpp/StringQueueAppender.cpp
chewaiwai/huaweicloud-sdk-c-obs
fbcd3dadd910c22af3a91aeb73ca0fee94d759fb
[ "Apache-2.0" ]
26
2019-09-20T06:46:05.000Z
2022-03-11T08:07:14.000Z
platform/eSDK_LogAPI_V2.1.10/log4cpp/StringQueueAppender.cpp
chewaiwai/huaweicloud-sdk-c-obs
fbcd3dadd910c22af3a91aeb73ca0fee94d759fb
[ "Apache-2.0" ]
14
2019-07-15T06:42:39.000Z
2022-02-15T10:32:28.000Z
/* * StringQueueAppender.cpp * * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved. * Copyright 2000, Bastiaan Bakker. All rights reserved. * * See the COPYING file for the terms of usage and distribution. */ #include "PortabilityImpl.hh" #include "log4cpp/StringQueueAppender.hh" name...
22.534483
79
0.61974
chewaiwai
eecb0ad8d95d2e9dc558a674b6ca49095dba1708
3,522
cpp
C++
codeforces/B - Cubes/Wrong answer on test 5 (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/B - Cubes/Wrong answer on test 5 (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/B - Cubes/Wrong answer on test 5 (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Oct/03/2020 22:17 * solution_verdict: Wrong answer on test 5 language: GNU C++14 * run...
27.515625
111
0.463941
kzvd4729
eed5a0939b1523d408d7065ff83dc28ac8038ea4
1,132
hpp
C++
Source/Gui/MainWindow.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
4
2018-12-06T01:20:50.000Z
2019-08-04T10:19:23.000Z
Source/Gui/MainWindow.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
Source/Gui/MainWindow.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
/** * Copyright (C) 2015-2019 * Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com> * * This file is part of Dixter Project * License-Identifier: MIT License * See README.md for more information. */ #pragma once #include "WindowBase.hpp" namespace Dixter { namespace Gui { class Panel; class Transl...
18.557377
101
0.674028
alvinahmadov
eed6f642bef3262feb6223e8b7a37f06093b6549
6,612
cpp
C++
tests/BufferPipeTest.cpp
Manuvr/ManuvrOS
e3a812c9b609ad69670ff2f8050a07bd423ebc78
[ "Apache-2.0" ]
5
2015-03-26T22:58:58.000Z
2021-06-15T05:36:57.000Z
tests/BufferPipeTest.cpp
Manuvr/ManuvrOS
e3a812c9b609ad69670ff2f8050a07bd423ebc78
[ "Apache-2.0" ]
2
2016-09-26T09:25:58.000Z
2017-08-03T05:27:24.000Z
tests/BufferPipeTest.cpp
Manuvr/ManuvrOS
e3a812c9b609ad69670ff2f8050a07bd423ebc78
[ "Apache-2.0" ]
2
2016-04-29T07:43:32.000Z
2020-02-07T06:43:01.000Z
#include <cstdio> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <fstream> #include <iostream> #include <Platform/Platform.h> #include "DataStructures/BufferPipe.h" #include "Transports/BufferPipes/XportBridge/XportBridge.h" class DummyTransport : public...
29
101
0.624773
Manuvr
eed94336a762afe8f1e2cf259bceaf86d58c5ecf
4,667
hpp
C++
libs/fnd/serialization/include/bksge/fnd/serialization/detail/load_dispatch.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/serialization/include/bksge/fnd/serialization/detail/load_dispatch.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/serialization/include/bksge/fnd/serialization/detail/load_dispatch.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file load_dispatch.hpp * * @brief load_dispatch の定義 * * @author myoukaku */ #ifndef BKSGE_FND_SERIALIZATION_DETAIL_LOAD_DISPATCH_HPP #define BKSGE_FND_SERIALIZATION_DETAIL_LOAD_DISPATCH_HPP #include <bksge/fnd/serialization/detail/serialize_dispatch.hpp> #include <bksge/fnd/serialization/ver...
21.310502
100
0.664453
myoukaku
eed989a805c02eed03d7c14c8306bf81ff2b10c3
9,433
hh
C++
src/USRP.hh
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
8
2020-12-05T20:30:54.000Z
2022-01-22T13:32:14.000Z
src/USRP.hh
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
3
2020-10-28T22:15:27.000Z
2021-01-27T14:43:41.000Z
src/USRP.hh
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
null
null
null
// Copyright 2018-2020 Drexel University // Author: Geoffrey Mainland <mainland@drexel.edu> #ifndef USRP_H_ #define USRP_H_ #include <atomic> #include <deque> #include <string> #include <thread> #include <uhd/usrp/multi_usrp.hpp> #include "logging.hh" #include "Clock.hh" #include "IQBuffer.hh" /** @brief A USRP. *...
26.202778
81
0.618573
drexelwireless
eedc7e0b05041c3e743fb143b219f6aaa77bc50c
9,215
cpp
C++
DLL/RenderingHUD/rendering-hud.cpp
ClementDreptin/ModdingResources
e5e52285493bd138daf5db373753aaffccf1227a
[ "MIT" ]
null
null
null
DLL/RenderingHUD/rendering-hud.cpp
ClementDreptin/ModdingResources
e5e52285493bd138daf5db373753aaffccf1227a
[ "MIT" ]
null
null
null
DLL/RenderingHUD/rendering-hud.cpp
ClementDreptin/ModdingResources
e5e52285493bd138daf5db373753aaffccf1227a
[ "MIT" ]
null
null
null
#include "pch.h" #include "..\Utils\Utils.h" // HUD API structs and enums enum he_type_t : int { HE_TYPE_FREE, HE_TYPE_TEXT, HE_TYPE_VALUE, HE_TYPE_PLAYERNAME, HE_TYPE_MATERIAL, HE_TYPE_MAPNAME, HE_TYPE_GAMETYPE, HE_TYPE_TIMER_DOWN, HE_TYPE_TIMER_UP, HE_TYPE_TIMER_STATIC, ...
29.347134
188
0.644276
ClementDreptin
4ac02aae273428114c62b071a2417e29c378c34b
991
hpp
C++
src/mlpack/core/math/log_add.hpp
tomjpsun/mlpack
39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-07T14:34:37.000Z
2019-11-07T14:34:37.000Z
src/mlpack/core/math/log_add.hpp
tomjpsun/mlpack
39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-10T17:39:50.000Z
2020-04-11T14:56:25.000Z
src/mlpack/core/math/log_add.hpp
tomjpsun/mlpack
39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file log_add.hpp * @author Arash Abghari * * Functions for logarithmic addition. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If not, see * http://ww...
21.543478
78
0.699294
tomjpsun
4ac445f3891caf4866ab3d9f4575bd66e461d1c1
17,738
cpp
C++
sample/src/VK/Sources/SssrSample.cpp
TheozZhh79/FidelityFX-SSSR
d9bfe98d43782c758e3c28b90754be209471dd96
[ "MIT" ]
126
2020-05-11T16:57:41.000Z
2022-03-29T11:43:53.000Z
sample/src/VK/Sources/SssrSample.cpp
TheozZhh79/FidelityFX-SSSR
d9bfe98d43782c758e3c28b90754be209471dd96
[ "MIT" ]
1
2022-01-28T09:38:08.000Z
2022-01-29T02:27:58.000Z
sample/src/VK/Sources/SssrSample.cpp
TheozZhh79/FidelityFX-SSSR
d9bfe98d43782c758e3c28b90754be209471dd96
[ "MIT" ]
14
2020-05-20T06:15:12.000Z
2022-02-25T21:17:49.000Z
/********************************************************************** Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without...
31.064799
152
0.648664
TheozZhh79
4ac7c3c55c26329ff2bdc88a48551c5760a2c3c6
54
cpp
C++
templates/src/bar.cpp
mcqueen256/mql4dllft
2b918da25efa8056eca967e4d40d07487f030ee8
[ "MIT" ]
null
null
null
templates/src/bar.cpp
mcqueen256/mql4dllft
2b918da25efa8056eca967e4d40d07487f030ee8
[ "MIT" ]
11
2017-07-11T22:26:44.000Z
2017-07-20T04:14:54.000Z
templates/src/bar.cpp
mcqueen256/mql4dllft
2b918da25efa8056eca967e4d40d07487f030ee8
[ "MIT" ]
null
null
null
#include "Bar.hpp" Bar::Bar() { } Bar::~Bar() { }
6
18
0.462963
mcqueen256
4acab282d778b0dc51a38c4f29fc67826ab297e7
739
cpp
C++
Semester 2-2/CSE 2202 Numerical Method Lab/Lab 01/BisectionMethod.cpp
AKC23/AUST
102fb96d79b45c826fb4eb467ba6a7798e1ab4f4
[ "MIT" ]
null
null
null
Semester 2-2/CSE 2202 Numerical Method Lab/Lab 01/BisectionMethod.cpp
AKC23/AUST
102fb96d79b45c826fb4eb467ba6a7798e1ab4f4
[ "MIT" ]
null
null
null
Semester 2-2/CSE 2202 Numerical Method Lab/Lab 01/BisectionMethod.cpp
AKC23/AUST
102fb96d79b45c826fb4eb467ba6a7798e1ab4f4
[ "MIT" ]
null
null
null
#include <stdio.h> #include <bits/stdc++.h> #include <math.h> using namespace std; double f(float x) { // return (x*x*x - x -1); return (tan(x)+x); } int main() { float a = 2, b = 2.1; float root; float f0, f1, f2; if (f(a) * f(b) > 0) { printf("wrong gues...
16.065217
37
0.345061
AKC23
4acae05e90a409aabe41ac3c578007667de6f69d
1,030
cc
C++
labs/evthrift/thrift_server.cc
sandeepsgangwar/evpp
38f0e3e775072a268060a36b6c871a8475ed90bc
[ "BSD-3-Clause" ]
null
null
null
labs/evthrift/thrift_server.cc
sandeepsgangwar/evpp
38f0e3e775072a268060a36b6c871a8475ed90bc
[ "BSD-3-Clause" ]
null
null
null
labs/evthrift/thrift_server.cc
sandeepsgangwar/evpp
38f0e3e775072a268060a36b6c871a8475ed90bc
[ "BSD-3-Clause" ]
3
2019-04-24T08:51:27.000Z
2019-09-04T06:40:00.000Z
#include "thrift_server.h" namespace evthrift { ThriftServer::~ThriftServer() {} void ThriftServer::serve() { server_.SetMessageCallback(std::bind(&ThriftServer::OnMessage, this, std::placeholders::_1, std::placeholders::_2)); ...
26.410256
88
0.605825
sandeepsgangwar
4acde5994af6af142394ab93acf9d67b6c2e8c3f
1,986
cc
C++
cartographer/common/rate_timer_test.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
36
2017-01-17T10:19:30.000Z
2022-02-13T09:11:51.000Z
cartographer/common/rate_timer_test.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
2
2019-06-26T06:01:49.000Z
2019-08-02T04:27:27.000Z
cartographer/common/rate_timer_test.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
37
2016-10-09T01:52:45.000Z
2022-01-22T10:51:54.000Z
/* * Copyright 2016 The Cartographer 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 of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
31.03125
75
0.712487
linghusmile
4acde62f9f0434f5e9bc4a846c5e84444d5e3efb
1,210
cpp
C++
Difficulty 900/Mocha_and_Red_and_Blue.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
Difficulty 900/Mocha_and_Red_and_Blue.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
Difficulty 900/Mocha_and_Red_and_Blue.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // Question: https://codeforces.com/problemset/problem/1559/B void solve() { int n; cin >> n; string a; cin >> a; string s1 = a; string s2 = a; if (a[0] == '?') { s1[0] = 'B'; s2[0] = 'R'; } for (int i = 1; i < n; ...
14.069767
61
0.261983
desmondweh29
4ad042b3c25eed4bf4366b794766f3757459652d
23,384
hpp
C++
include/GlobalNamespace/MainSettingsModelSO.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MainSettingsModelSO.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MainSettingsModelSO.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: PersistentScriptableObject #include "GlobalNamespace/PersistentScripta...
52.313199
4,383
0.731996
darknight1050
4ad308989037d81fec68b1f177b02b8c699e7396
2,907
cpp
C++
Source/AstralShipwright/Nova.cpp
arbonagw/AstralShipwright
8a41015f23fa810ab79d72460f9ada2dd7e37852
[ "BSD-3-Clause" ]
59
2021-11-29T22:20:03.000Z
2022-03-17T00:07:48.000Z
Source/AstralShipwright/Nova.cpp
arbonagw/AstralShipwright
8a41015f23fa810ab79d72460f9ada2dd7e37852
[ "BSD-3-Clause" ]
null
null
null
Source/AstralShipwright/Nova.cpp
arbonagw/AstralShipwright
8a41015f23fa810ab79d72460f9ada2dd7e37852
[ "BSD-3-Clause" ]
4
2022-01-05T09:44:12.000Z
2022-02-21T02:02:32.000Z
// Astral Shipwright - Gwennaël Arbona #include "Nova.h" #include "Game/NovaGameTypes.h" #include "Engine.h" IMPLEMENT_PRIMARY_GAME_MODULE(FNovaModule, AstralShipwright, "AstralShipwright"); #define LOCTEXT_NAMESPACE "AstralShipwright" /*---------------------------------------------------- Debugging tools ----...
25.060345
134
0.643619
arbonagw
4ad9625feae2e3e5c1786b78ceefe6760fb080a7
7,248
cc
C++
service/zookeeper_configuration_service.cc
sharpyfox/soa
193cdae4e1412f09d655d8135c41f82225907099
[ "Apache-2.0" ]
1
2018-12-14T17:47:20.000Z
2018-12-14T17:47:20.000Z
service/zookeeper_configuration_service.cc
sharpyfox/soa
193cdae4e1412f09d655d8135c41f82225907099
[ "Apache-2.0" ]
null
null
null
service/zookeeper_configuration_service.cc
sharpyfox/soa
193cdae4e1412f09d655d8135c41f82225907099
[ "Apache-2.0" ]
null
null
null
/** zookeeper_configuration_service.cc Jeremy Barnes, 26 September 2012 Copyright (c) 2012 Datacratic Inc. All rights reserved. Configuration service using Zookeeper. */ #include "zookeeper_configuration_service.h" #include "soa/service/zookeeper.h" #include "jml/utils/exc_assert.h" #include <boost/algor...
27.664122
79
0.545116
sharpyfox
4ada621e9b0d35e0fc2dc045239521f1cd592c27
13,933
cc
C++
src/fluid/fluidmsg/fluid/ofcommon/common.cc
lionelgo/openair-mme
75bc0993613f61072342f5ae13dca28574253671
[ "BSD-3-Clause" ]
19
2020-04-25T15:51:52.000Z
2021-11-24T04:51:02.000Z
src/fluid/fluidmsg/fluid/ofcommon/common.cc
lionelgo/openair-mme
75bc0993613f61072342f5ae13dca28574253671
[ "BSD-3-Clause" ]
10
2020-09-09T09:54:20.000Z
2021-04-27T20:47:52.000Z
src/fluid/fluidmsg/fluid/ofcommon/common.cc
lionelgo/openair-mme
75bc0993613f61072342f5ae13dca28574253671
[ "BSD-3-Clause" ]
24
2020-05-31T01:41:12.000Z
2022-01-16T17:06:35.000Z
#include "common.hh" namespace fluid_msg { PortCommon::PortCommon() : hw_addr_(), name_(), config_(0), state_(0), curr_(0), advertised_(0), supported_(0), peer_(0) {} PortCommon::PortCommon(EthAddress hw_addr, std::string name, uint32_t config, uin...
34.317734
80
0.656355
lionelgo
4adc33604e648353d6d2e5170a482ca0824e84ed
8,353
cpp
C++
XMath/XErrHand/NT4ProcessInfo.cpp
koalefant/yasli
2096ed8a59ae9c7da467d8de8f1eb811a989dc39
[ "MIT" ]
8
2021-07-08T18:06:33.000Z
2022-01-17T18:29:57.000Z
XMath/XErrHand/NT4ProcessInfo.cpp
koalefant/yasli
2096ed8a59ae9c7da467d8de8f1eb811a989dc39
[ "MIT" ]
null
null
null
XMath/XErrHand/NT4ProcessInfo.cpp
koalefant/yasli
2096ed8a59ae9c7da467d8de8f1eb811a989dc39
[ "MIT" ]
1
2021-12-31T15:52:56.000Z
2021-12-31T15:52:56.000Z
/*---------------------------------------------------------------------- John Robbins - Microsoft Systems Journal Bugslayer Column Windows NT 4.0 access functions for getting to process information. Windows95 and NT5 can use TOOLHELP32.DLL. ------------------------------------------------------------------...
38.851163
73
0.477912
koalefant
4adcff3d14f6a5d04685ea81eee3d833bd4ec8aa
599
cpp
C++
1-100/3.longest-substring-without-repeating-characters.cpp
chadwick2143/Leetcode-Problems
a07ad0165c86305a77acbf480bcba279316256af
[ "MIT" ]
null
null
null
1-100/3.longest-substring-without-repeating-characters.cpp
chadwick2143/Leetcode-Problems
a07ad0165c86305a77acbf480bcba279316256af
[ "MIT" ]
null
null
null
1-100/3.longest-substring-without-repeating-characters.cpp
chadwick2143/Leetcode-Problems
a07ad0165c86305a77acbf480bcba279316256af
[ "MIT" ]
1
2021-07-27T07:03:05.000Z
2021-07-27T07:03:05.000Z
class Solution { public: int lengthOfLongestSubstring(const string& s) { unordered_map<char, int> mapChrIdx; int nMaxLen = 0; int nChrBeg = -1; int nChrIdx = 0; for (const char& c : s) { if (mapChrIdx.count(c) == 1 && mapChrIdx[c] > nChrBeg) { ...
24.958333
66
0.452421
chadwick2143
4adecf3561bc0798c3d9fca682a5604b1cc337ce
850
cpp
C++
client/UI/angelscript/RegistryUtils.cpp
vblanco20-1/NovusCore-Client
662596465a1851cb87240290f34544f4edf76aa0
[ "MIT" ]
null
null
null
client/UI/angelscript/RegistryUtils.cpp
vblanco20-1/NovusCore-Client
662596465a1851cb87240290f34544f4edf76aa0
[ "MIT" ]
null
null
null
client/UI/angelscript/RegistryUtils.cpp
vblanco20-1/NovusCore-Client
662596465a1851cb87240290f34544f4edf76aa0
[ "MIT" ]
null
null
null
#include "RegistryUtils.h" #include <entity/registry.hpp> #include <angelscript.h> #include "../../Scripting/ScriptEngine.h" #include "../../Utils/ServiceLocator.h" #include "../ECS/Components/Singletons/UILockSingleton.h" namespace UIUtils::Registry { void RegisterNamespace() { i32 r = ScriptEngine::S...
31.481481
125
0.667059
vblanco20-1
4ae17bffcf832c2d3d387c99b83e349b73b95b58
1,749
hpp
C++
CSGOSimple/features/visuals.hpp
dodo343434/aurawareSelfLeak
ca05649ce42fb4ceed7dea52e04f73d0627feb65
[ "MIT" ]
null
null
null
CSGOSimple/features/visuals.hpp
dodo343434/aurawareSelfLeak
ca05649ce42fb4ceed7dea52e04f73d0627feb65
[ "MIT" ]
null
null
null
CSGOSimple/features/visuals.hpp
dodo343434/aurawareSelfLeak
ca05649ce42fb4ceed7dea52e04f73d0627feb65
[ "MIT" ]
null
null
null
#pragma once class C_BasePlayer; class C_BaseEntity; class C_BaseCombatWeapon; class C_PlantedC4; class Color; class ClientClass; class CUserCmd; extern unsigned long esp_font; extern unsigned long hit_font; namespace Visuals { namespace Player { bool Begin(C_BasePlayer* pl); void RenderBox();...
16.817308
112
0.683248
dodo343434
4ae471ce2322fd2eb3a37e23556ac93916f5ae13
1,270
hpp
C++
src/oath/base32.hpp
animeslave/bbauth
d10861c8a4a72ee8186fb11de739556c03cbfc4d
[ "Apache-2.0" ]
1
2021-05-20T03:50:21.000Z
2021-05-20T03:50:21.000Z
src/oath/base32.hpp
animeslave/bbry-gauth
d10861c8a4a72ee8186fb11de739556c03cbfc4d
[ "Apache-2.0" ]
3
2021-05-20T03:52:23.000Z
2021-05-20T16:20:29.000Z
src/oath/base32.hpp
BerryTrucks/bbry-gauth
1d6850a0a7756077f55b8253b18611bc3df5045d
[ "Apache-2.0" ]
1
2021-05-20T03:51:14.000Z
2021-05-20T03:51:14.000Z
////////////////////////////////////////////////////////////////////// // Base32.h ////////////////////////////////////////////////////////////////////// #ifndef BASE32_HPP_ #define BASE32_HPP_ #include <stdint.h> /* Base32 encoding / decoding. Encode32 outputs at out bytes with values from 0 to 32 that...
37.352941
91
0.662992
animeslave
4ae7be5391a247fdb49f2c6a31f7ca2d7f6c61e0
1,130
cpp
C++
src/ROSUnit_UpdateReference.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
src/ROSUnit_UpdateReference.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
src/ROSUnit_UpdateReference.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
#include "ROSUnit_UpdateReference.hpp" //TODO rename the topics and class ROSUnit_UpdateReference* ROSUnit_UpdateReference::_instance_ptr = NULL; UpdatePoseMessage ROSUnit_UpdateReference::_pose_ref_msg; ROSUnit_UpdateReference::ROSUnit_UpdateReference(ros::NodeHandle& t_main_handler) : ROSUnit(t_main_handler) { ...
30.540541
109
0.738938
CaptCrunch333
4ae8970872e04db2464dc837d48998bde06abfbb
2,675
hpp
C++
include/board.hpp
oschonrock/chess
51da68c767879ef44a7fcdba85ae9a212ceb7b8b
[ "BSD-3-Clause" ]
null
null
null
include/board.hpp
oschonrock/chess
51da68c767879ef44a7fcdba85ae9a212ceb7b8b
[ "BSD-3-Clause" ]
null
null
null
include/board.hpp
oschonrock/chess
51da68c767879ef44a7fcdba85ae9a212ceb7b8b
[ "BSD-3-Clause" ]
null
null
null
/** * File: board.h * * Content on and manipulation of a chess board implemented as 10x12 squares, * with default out_of_border values. * * "magic" numbers will be used, they aren't magic if you know this structure. * Source way too messy with a lot of variable names and variable calculations instead of plain *...
24.768519
99
0.680374
oschonrock
4aece99356a22bba0e4530067873fc7e15b0d15f
605
hpp
C++
top-k_OAFP_pos/src/varlist.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
top-k_OAFP_pos/src/varlist.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
top-k_OAFP_pos/src/varlist.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
#ifndef VAR_LIST_HPP_ #define VAR_LIST_HPP_ #include <cstdint> #include <cstdlib> #include <iostream> #include <vector> #include "constant_numbers.hpp" #include "common_functions.hpp" #include "vardata.hpp" class VarList{ private: std::vector<VarData*> varlist_; //pointer of VarData's vector public: ...
18.333333
63
0.67438
ShowHey57
4aefe700dc764e8752c22c91169835f102615662
38,368
cpp
C++
TEST_APPS/device/socket_app/cmd_socket.cpp
c1728p9/mbed
784fa91294fb4849ab761fe558af7c3cfa2a9174
[ "Apache-2.0" ]
null
null
null
TEST_APPS/device/socket_app/cmd_socket.cpp
c1728p9/mbed
784fa91294fb4849ab761fe558af7c3cfa2a9174
[ "Apache-2.0" ]
5
2018-08-15T12:02:20.000Z
2018-09-03T11:28:18.000Z
TEST_APPS/device/socket_app/cmd_socket.cpp
c1728p9/mbed
784fa91294fb4849ab761fe558af7c3cfa2a9174
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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...
31.761589
141
0.578294
c1728p9
4af01049cafe3b9f54048a835cd8666a05a6d00c
17,215
cpp
C++
src/LexBase.cpp
eXtremal-ik7/config4cpp
087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d
[ "MIT" ]
null
null
null
src/LexBase.cpp
eXtremal-ik7/config4cpp
087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d
[ "MIT" ]
null
null
null
src/LexBase.cpp
eXtremal-ik7/config4cpp
087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------- // Copyright 2011 Ciaran McHale. // // 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...
23.326558
73
0.5605
eXtremal-ik7
4af02a5b0bec8809fda94987e4977de395d29240
2,658
cpp
C++
src/walker.cpp
markosej11/turtlebot3_walker
5a7e25367588f969383631da62c078abe08b472a
[ "MIT" ]
null
null
null
src/walker.cpp
markosej11/turtlebot3_walker
5a7e25367588f969383631da62c078abe08b472a
[ "MIT" ]
null
null
null
src/walker.cpp
markosej11/turtlebot3_walker
5a7e25367588f969383631da62c078abe08b472a
[ "MIT" ]
null
null
null
/** * @Copyright 2021 Markose Jacob * @file walker.cpp * @author Markose Jacob * @date 11/28/2021 * * @brief Walker class * * @section LICENSE * * MIT License * Copyright (c) 2021 Markose Jacob * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and as...
31.642857
81
0.665538
markosej11
4af31509a5c6a6bdeba357e3ca82e07c42757ce9
6,467
cpp
C++
test/misc/ut_prng.cpp
PascalLG/zinc-cpp
560d51a6b7ccd60e4dcf3b0fd132a9bb56f72911
[ "MIT" ]
1
2021-04-07T11:03:57.000Z
2021-04-07T11:03:57.000Z
test/misc/ut_prng.cpp
PascalLG/zinc-cpp
560d51a6b7ccd60e4dcf3b0fd132a9bb56f72911
[ "MIT" ]
null
null
null
test/misc/ut_prng.cpp
PascalLG/zinc-cpp
560d51a6b7ccd60e4dcf3b0fd132a9bb56f72911
[ "MIT" ]
null
null
null
//======================================================================== // Zinc - Unit Testing // Copyright (c) 2020, Pascal Levy // // 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 with...
49.746154
111
0.640173
PascalLG
4afa96f08d7729d972cae38c04048b5527503392
17,631
cpp
C++
cpp/tests/column/column_view_shallow_test.cpp
karthikeyann/cudf
a00466fe30ce6618e8f790ea1337875558867512
[ "Apache-2.0" ]
3
2020-09-25T21:45:41.000Z
2020-09-28T01:51:57.000Z
cpp/tests/column/column_view_shallow_test.cpp
karthikeyann/cudf
a00466fe30ce6618e8f790ea1337875558867512
[ "Apache-2.0" ]
1
2020-09-26T01:22:44.000Z
2020-09-26T02:25:41.000Z
cpp/tests/column/column_view_shallow_test.cpp
karthikeyann/cudf
a00466fe30ce6618e8f790ea1337875558867512
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
39.799097
100
0.695309
karthikeyann
4afd9707cacc4094c122440407dc12cf6711e195
11,682
cpp
C++
diploidizeSNPlog.cpp
YourePrettyGood/VariantCallingSimulations
3b21879450779ca78c936b961700ceab803daecb
[ "MIT" ]
1
2021-02-15T15:36:55.000Z
2021-02-15T15:36:55.000Z
diploidizeSNPlog.cpp
YourePrettyGood/VariantCallingSimulations
3b21879450779ca78c936b961700ceab803daecb
[ "MIT" ]
null
null
null
diploidizeSNPlog.cpp
YourePrettyGood/VariantCallingSimulations
3b21879450779ca78c936b961700ceab803daecb
[ "MIT" ]
null
null
null
/********************************************************************************** * diploidizeSNPlog.cpp * * Written by Patrick Reilly * * Version 1.0 written 2017/01/23 ...
40.846154
195
0.555128
YourePrettyGood
4afe40388e78839d3c18eb7ba8bfa532b4ed6d53
1,209
cpp
C++
ARDUINO_CODE/Bluetooth.cpp
Allabakshu-shaik/Mercedes-POC
b338c471870830ba4b4fb26e4dc1097e0882a8e2
[ "MIT" ]
46
2020-01-08T16:38:46.000Z
2022-03-30T21:08:07.000Z
ARDUINO_CODE/Bluetooth.cpp
Allabakshu-shaik/Mercedes-POC
b338c471870830ba4b4fb26e4dc1097e0882a8e2
[ "MIT" ]
2
2020-03-28T08:26:29.000Z
2020-08-06T10:52:57.000Z
ARDUINO_CODE/Bluetooth.cpp
Allabakshu-shaik/Mercedes-POC
b338c471870830ba4b4fb26e4dc1097e0882a8e2
[ "MIT" ]
9
2020-03-13T20:53:02.000Z
2021-08-31T08:50:20.000Z
#include "Bluetooth.h" bool BLUETOOTH::isConnected = false; #ifdef ARDUINO_MEGA BLUETOOTH::BLUETOOTH() { Serial1.begin(9600); Serial1.clearWriteError(); } char* BLUETOOTH::read_message() { memset(buffer, 0x00, sizeof(buffer)); if (Serial1.available()) { uint8_t len = Serial1.read(); ...
22.388889
65
0.603805
Allabakshu-shaik
ab00784b9802f57a9c460c2c8dca85543846a516
16,515
cpp
C++
src/ReportWindow.cpp
fantoro/CapitalBe
0d5f7056a61e71693b1ef85b5024c9ce0894ab2f
[ "MIT" ]
2
2017-05-17T07:18:05.000Z
2018-02-28T13:51:47.000Z
src/ReportWindow.cpp
fantoro/CapitalBe
0d5f7056a61e71693b1ef85b5024c9ce0894ab2f
[ "MIT" ]
26
2016-12-20T12:28:52.000Z
2022-03-30T06:00:03.000Z
src/ReportWindow.cpp
fantoro/CapitalBe
0d5f7056a61e71693b1ef85b5024c9ce0894ab2f
[ "MIT" ]
13
2015-01-28T15:26:06.000Z
2020-10-26T06:03:42.000Z
#include "ReportWindow.h" #include <GridLayoutBuilder.h> #include <LayoutBuilder.h> #include <View.h> #include <StringView.h> #include <Bitmap.h> #include <TranslationUtils.h> #include "ReportGrid.h" #include "DateBox.h" #include "StickyDrawButton.h" #include "Layout.h" #include "TimeSupport.h" #include "ObjectList.h" ...
25.252294
111
0.706146
fantoro
ab02beb9d486873696b0937874ecc7c4d546deb7
2,124
cpp
C++
src/ArucoHandler.cpp
bobribbon/team_scheire_OK
e40c52a681e31bd3a0209f11e4de2268cc2d55e1
[ "MIT" ]
null
null
null
src/ArucoHandler.cpp
bobribbon/team_scheire_OK
e40c52a681e31bd3a0209f11e4de2268cc2d55e1
[ "MIT" ]
null
null
null
src/ArucoHandler.cpp
bobribbon/team_scheire_OK
e40c52a681e31bd3a0209f11e4de2268cc2d55e1
[ "MIT" ]
null
null
null
/* * Interactieve OK * Jeroen Lassche (j.lassche@bravis.nl) * * Fork van het project: * Immersief, interactief operatiekwartier * door Team Scheire, Imec en Jan Everaert * https://github.com/imec-int/team_scheire_OK */ #include "ArucoHandler.hpp" #include "ofxOpenCv.h" #include "ofxCv.h" #include "ofxAruco.h" /* * T...
17.848739
95
0.679379
bobribbon
ab073e642a41c91e273bab92f031deae626bb8b4
11,387
cpp
C++
src/plugins/ExampleSensor/ExampleSensor.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
src/plugins/ExampleSensor/ExampleSensor.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
src/plugins/ExampleSensor/ExampleSensor.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------------- // $Id: ExampleSensor.cpp 135 2008-12-19 00:49:58Z omcf $ // -------------------------------------------------------------------------- // Copyright (c) 2008 Hewlett-Packard Development Company, L.P. // // Permission is hereby granted, free ...
27.977887
80
0.530517
SchademanK
ab08e3b9474e22d9d69ffee51a4f1ba6252a60de
3,781
cpp
C++
engine/camera.cpp
meifuku/AFGEngine
21e356eaf293dcaa0eea5823914bbc5c8ae7a85a
[ "MS-PL" ]
8
2021-03-04T23:41:02.000Z
2022-01-06T01:07:01.000Z
engine/camera.cpp
meifuku/AFGEngine
21e356eaf293dcaa0eea5823914bbc5c8ae7a85a
[ "MS-PL" ]
null
null
null
engine/camera.cpp
meifuku/AFGEngine
21e356eaf293dcaa0eea5823914bbc5c8ae7a85a
[ "MS-PL" ]
2
2021-09-14T09:48:51.000Z
2021-12-10T08:54:57.000Z
#include "camera.h" #include "window.h" #include <glad/glad.h> #include <glm/ext/matrix_transform.hpp> #include <glm/vec3.hpp> #include <cmath> #include <algorithm> #include <iostream> #include <fixed_point.h> FixedPoint interpolate(FixedPoint x, FixedPoint min, FixedPoint max, FixedPoint length) { x = x/length; r...
23.93038
89
0.699815
meifuku
ab09711bbd4ba9463609fd235e39c4f3f4968994
3,126
cpp
C++
Source/OverlordProject/Materials/SkinnedDiffuseMaterial.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
Source/OverlordProject/Materials/SkinnedDiffuseMaterial.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
Source/OverlordProject/Materials/SkinnedDiffuseMaterial.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "SkinnedDiffuseMaterial.h" #include "ContentManager.h" #include "TextureData.h" #include "ModelComponent.h" #include "ModelAnimator.h" ID3DX11EffectShaderResourceVariable* SkinnedDiffuseMaterial::m_pDiffuseSRVvariable = nullptr; ID3DX11EffectMatrixVariable* SkinnedDiffuseMateri...
31.897959
116
0.746321
TomvanWaas
ab0eccd9c949ddbf0bce9ecf7a0959643641effa
258
hpp
C++
libng/core/src/libng_core/libcxx/map.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/core/src/libng_core/libcxx/map.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/core/src/libng_core/libcxx/map.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
#pragma once #include <third_party/eastl/eastl.hpp> namespace libng::libcxx { template<class KEY, class VALUE> class map { public: }; } // namespace libng::libcxx namespace libng { template<class KEY, class VALUE> using Map = eastl::map<KEY, VALUE>; }
13.578947
38
0.717054
gapry
ab1c39c3d5de4d3afd619d5508b34ddcc950b773
952
cpp
C++
item.cpp
RichardVN/train-escape-game
a177276b2993288f85e8b1079c1ca2dc8babbd91
[ "MIT" ]
null
null
null
item.cpp
RichardVN/train-escape-game
a177276b2993288f85e8b1079c1ca2dc8babbd91
[ "MIT" ]
null
null
null
item.cpp
RichardVN/train-escape-game
a177276b2993288f85e8b1079c1ca2dc8babbd91
[ "MIT" ]
null
null
null
/***************************************************************** ** Program name: item.cpp ** Author: Richard Nguyen ** Date: 12/10/19 ** Description: Contains member function definitions for the class item. ******************************************************************/ #include "item.hpp" // *****...
17
67
0.462185
RichardVN
ab1cb62e1a59da716cc933d10f92e439dd2db2b4
17,422
cc
C++
arcane/src/arcane/impl/ParallelExchanger.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
16
2021-09-20T12:37:01.000Z
2022-03-18T09:19:14.000Z
arcane/src/arcane/impl/ParallelExchanger.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
66
2021-09-17T13:49:39.000Z
2022-03-30T16:24:07.000Z
arcane/src/arcane/impl/ParallelExchanger.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
11
2021-09-27T16:48:55.000Z
2022-03-23T19:06:56.000Z
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
34.844
118
0.534554
cedricga91
ab1d46e1e554441470b0df611f84f6d6ccc9d2b0
4,548
cpp
C++
src/core/states/euclidean.cpp
jcarpent/crocoddyl
155999999f1fbd0c5760875584c540e2bc13645b
[ "BSD-3-Clause" ]
1
2019-12-21T12:11:15.000Z
2019-12-21T12:11:15.000Z
src/core/states/euclidean.cpp
boyali/crocoddyl
155999999f1fbd0c5760875584c540e2bc13645b
[ "BSD-3-Clause" ]
null
null
null
src/core/states/euclidean.cpp
boyali/crocoddyl
155999999f1fbd0c5760875584c540e2bc13645b
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2019, LAAS-CNRS // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////////////////////////// #...
48.382979
116
0.600484
jcarpent
ab1d6e29f2ebf95f883847c77c2eb8515c8a5c10
3,108
cpp
C++
test/zisa/unit_test/reconstruction/weno_ao.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/reconstruction/weno_ao.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/reconstruction/weno_ao.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #include <numeric> #include <zisa/grid/grid.hpp> #include <zisa/reconstruction/weno_ao.hpp> #include <zisa/testing/testing_framework.hpp> #include <zisa/unit_test/grid/test_grid_factory.hpp> #include <zisa/unit_test/reconstruction/...
34.533333
79
0.500644
1uc
ab1eadd0371c04f108dbb19000c1643ee01cd840
1,361
cpp
C++
Source/10.0.18362.0/ucrt/misc/terminate.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/misc/terminate.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/misc/terminate.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // terminate.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // The terminate handler // #include <corecrt_internal.h> #include <corecrt_terminate.h> static terminate_handler __cdecl get_terminate_or_default( __acrt_ptd const* const ptd ) throw() { return ptd->_terminate ? ...
22.683333
79
0.667891
825126369
ab21d08280b6968b4027ceb8afaa35b34d30d51d
1,596
cpp
C++
QtBiVis/ccell.cpp
Archi0/QtBicVis
c6cd7f456fcf0ac9d2222ef60a2b5621089cb065
[ "MIT" ]
1
2019-10-05T15:17:06.000Z
2019-10-05T15:17:06.000Z
QtBiVis/ccell.cpp
Archi0/QtBicVis
c6cd7f456fcf0ac9d2222ef60a2b5621089cb065
[ "MIT" ]
1
2016-10-18T21:17:22.000Z
2016-10-18T21:17:22.000Z
QtBiVis/ccell.cpp
Archi0/QtBiVis
c6cd7f456fcf0ac9d2222ef60a2b5621089cb065
[ "MIT" ]
null
null
null
#include "ccell.h" CCell::CCell() { sValue = ""; sNumbers = ""; bState =false; // m_pRect = new QRectF(0,0,8,8); // setFlags(ItemIsSelectable); } QString CCell::getSValue() const { return sValue; } void CCell::setSValue(const QString &value) { sValue = value; } void CCell::setState(bool s)...
14.642202
93
0.602757
Archi0
ab2eb0045b69e1139d620b90e58fa6fb3e80a166
431
cpp
C++
05-loops/5.22-drawing-a-right-triangle/trang-solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
2
2020-09-04T22:06:06.000Z
2020-09-09T04:00:25.000Z
05-loops/5.22-drawing-a-right-triangle/trang-solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
14
2020-08-24T01:44:36.000Z
2021-01-01T08:44:17.000Z
05-loops/5.22-drawing-a-right-triangle/trang-solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
1
2020-09-04T22:13:13.000Z
2020-09-04T22:13:13.000Z
#include <iostream> using namespace std; int main() { char triangleChar; int triangleHeight; cout << "Enter a character:" << endl; cin >> triangleChar; cout << "Enter triangle height:" << endl; cin >> triangleHeight; cout << endl; for (int i = 0; i <= triangleHeight; ++i) { for (int j...
18.73913
46
0.529002
trangnart
ab3bb6b00c3541cad8a469b3d29d17898e40ae9f
800
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPTW.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPTW.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPTW.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/LKH.h" #include "./INCLUDE/Segment.h" namespace LKH { GainType LKHAlg::Penalty_TSPTW() { Node *N = Depot, *NextN; GainType Sum = 0, P = 0; int Forward = SUCC(N)->Id != N->Id + DimensionSaved; do { if (N->Id <= DimensionSaved) { if (Sum < N->Earliest) Sum = N->Earliest; els...
28.571429
65
0.57125
BaiChunhui-9803
ab3f6a9aa9c131e7936a28e0735e9bd970780118
7,538
cpp
C++
dynamic/wrappers/cell_based/AbstractCellBasedSimulation3_3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/AbstractCellBasedSimulation3_3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/AbstractCellBasedSimulation3_3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <set> #include <vector> #include <string> #include <map> #include "SmartPointers.hpp" #include "UblasIncludes.hpp" #include "AbstractCellBasedSimulation.hpp" #include "AbstractCellBasedSimulation3_3.cppwg.hpp" namespace py = pybind11; typedef AbstractC...
42.829545
187
0.62762
jmsgrogan
ab3fb3eee8890f5201f17ecd0f5f0f6a7e1a5513
6,328
cpp
C++
source/RAIIGen/Generator/OpenGLESGenerator.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
8
2016-11-02T14:08:51.000Z
2021-03-25T02:00:00.000Z
source/RAIIGen/Generator/OpenGLESGenerator.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
4
2016-08-23T12:37:17.000Z
2016-09-30T01:58:20.000Z
source/RAIIGen/Generator/OpenGLESGenerator.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
null
null
null
//*************************************************************************************************************************************************** //* BSD 3-Clause License //* //* Copyright (c) 2016, Rene Thrane //* All rights reserved. //* //* Redistribution and use in source and binary forms, with or without modif...
41.090909
149
0.670512
Unarmed1000
ab41f97a3c93b5a3104c6e622cd441a024888c7a
524
hxx
C++
lang/Language.hxx
JeneLitsch/lang-get
9c11f12112b59539a954c804ba121c2dd513684e
[ "MIT" ]
null
null
null
lang/Language.hxx
JeneLitsch/lang-get
9c11f12112b59539a954c804ba121c2dd513684e
[ "MIT" ]
null
null
null
lang/Language.hxx
JeneLitsch/lang-get
9c11f12112b59539a954c804ba121c2dd513684e
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <string> #include <string_view> #include <memory> namespace lang { class Language { public: const std::string find(const std::string & key) const; void insert(const std::string & key, const std::string & text); private: std::unordered_map<std::string, std::string>...
27.578947
65
0.715649
JeneLitsch
ab4293a0f786f79d3cbf809561fbb99ba9b51d64
1,071
hpp
C++
sprout/iterator/remove_if_iterator.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/iterator/remove_if_iterator.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/iterator/remove_if_iterator.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_ITERATOR_REMOVE_IF_ITERATOR_HPP #define SPROUT_ITERATOR_REMOVE_IF_ITERATOR_HPP #include <sprout/config.hpp> #include <sprout/iterator/filter_iterator.hpp> namespace sprout { // // remove_if_filter // template<typename Predicate> class remove_if_filter { public: typedef bool result_...
26.775
96
0.744164
osyo-manga
ab4a881d65a6e50bcc24d2037844e8ed2b0c91e3
786
cpp
C++
10815 Andy's First Dictionary.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
10815 Andy's First Dictionary.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
10815 Andy's First Dictionary.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <set> #include <string> using namespace std; inline bool IsLowerCharacter(char c) { return c >= 'a' && c <= 'z'; } int main() { string in; set<string> words; while (cin >> in) { int size = in.size(); string current = ""; for (int ...
20.153846
81
0.433842
zihadboss
ab4bf87dfe24be850b0134f28f82323b4ae73334
1,338
cpp
C++
xc_PZ.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
1
2018-05-17T09:01:12.000Z
2018-05-17T09:01:12.000Z
xc_PZ.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
null
null
null
xc_PZ.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
null
null
null
// eFeFeR, December 2011 #include <stdio.h> #include <stdlib.h> #include <math.h> void xc_PZ(double *rho, double *vxc, double &Exc, int NNR) { const double A = -0.1423; const double B = 1.0529; const double C = 0.3334; const double a = 0.0311; const double b = -0.0480; const double c = 0.0020; const dou...
20.584615
69
0.457399
f-fathurrahman
ab4d5e5d8c20136f62f2dbe5e8b5ae3f0ea720b4
1,454
hpp
C++
src/LuminoEngine/src/Shader/ShaderManager.hpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Shader/ShaderManager.hpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Shader/ShaderManager.hpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #pragma once #ifdef _WIN32 #include <d3dcompiler.h> #endif #include <LuminoEngine/Shader/Common.hpp> #include "../Base/RefObjectCache.hpp" namespace ln { namespace detail { class GraphicsManager; #ifdef _WIN32 typedef HRESULT(WINAPI* PFN_D3DCompile2)( LPCVOID pSrcData, SIZE_T SrcDataSize, LPCSTR pSource...
22.030303
117
0.715956
infinnie
ab5727322eef21d72eef2a063a1f9fe70fadb375
4,905
hpp
C++
dart/dynamics/TemplatedJacobianNode.hpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
4
2021-02-20T15:59:42.000Z
2022-03-25T04:04:21.000Z
dart/dynamics/TemplatedJacobianNode.hpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
1
2021-04-14T04:12:48.000Z
2021-04-14T04:12:48.000Z
dart/dynamics/TemplatedJacobianNode.hpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
2
2019-10-29T12:41:16.000Z
2021-03-22T16:38:27.000Z
/* * Copyright (c) 2015-2016, Humanoid Lab, Georgia Tech Research Corporation * Copyright (c) 2015-2017, Graphics Lab, Georgia Tech Research Corporation * Copyright (c) 2016-2017, Personal Robotics Lab, Carnegie Mellon University * All rights reserved. * * This file is provided under the following "BSD-style" Lic...
37.442748
78
0.759429
axeisghost
ab63318049c59604c4202e5c0c01e64d6bb57272
23,362
cpp
C++
src/lib/sema/SemanticAnalyzer.cpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
src/lib/sema/SemanticAnalyzer.cpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
src/lib/sema/SemanticAnalyzer.cpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
#include "sema/SemanticAnalyzer.hpp" #include "sema/error.hpp" #include "visitor/AstNodeInclude.hpp" #include <algorithm> #include <cassert> static constexpr const char *kRedeclaredSymbolErrorMessage = "symbol '%s' is redeclared"; void SemanticAnalyzer::visit(ProgramNode &p_program) { m_symbol_manager.pushGl...
31.741848
80
0.62653
LittleLaGi
036814d1a97748599afba9b31b875766beed3e52
1,204
cpp
C++
networkit/cpp/io/ThrillGraphBinaryWriter.cpp
tsapko3628/networkit
2953c9f30b676f930e301953f00f014c47edcf69
[ "MIT" ]
1
2019-08-15T10:35:07.000Z
2019-08-15T10:35:07.000Z
networkit/cpp/io/ThrillGraphBinaryWriter.cpp
tsapko3628/networkit
2953c9f30b676f930e301953f00f014c47edcf69
[ "MIT" ]
null
null
null
networkit/cpp/io/ThrillGraphBinaryWriter.cpp
tsapko3628/networkit
2953c9f30b676f930e301953f00f014c47edcf69
[ "MIT" ]
null
null
null
/* * ThrillGraphBinaryWriter.hpp * * @author Michael Hamann <michael.hamann@kit.edu> */ #include <fstream> #include <networkit/io/ThrillGraphBinaryWriter.hpp> namespace NetworKit { void ThrillGraphBinaryWriter::write(const Graph &G, const std::string &path) { if (G.upperNodeIdBound() > std::numeric_limits<uint...
20.758621
96
0.620432
tsapko3628
0368abdcaa74444faedefb6f776d1dc78de63cb1
1,946
hpp
C++
modules/viewer/src/Viewer/gmPointListModel.hpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/viewer/src/Viewer/gmPointListModel.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/viewer/src/Viewer/gmPointListModel.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#pragma once #include "gmViewerExport.hpp" #include "mitkDataNode.h" #include "mitkPointSet.h" #include <QAbstractListModel> namespace gm { namespace ViewItem { class GM_VIEWER_EXPORT PointListModel: public QAbstractListModel { Q_OBJECT protected: mitk::DataNo...
39.714286
146
0.63001
GraphMIC
036a8c4921bc8c9deb1b7043bd6ebf94059d9ef3
2,525
cpp
C++
Visual Mercutio/zModelBP/PSS_RiskProbabilityContainer.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModelBP/PSS_RiskProbabilityContainer.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModelBP/PSS_RiskProbabilityContainer.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_RiskProbabilityContainer ----------------------------------------* **************************************************************************** * Description : Provides a risk probability container * * Devel...
29.705882
78
0.406337
Jeanmilost
036b71e2cb216c6ba9b3abdfebc3a217827c5242
1,078
cpp
C++
tests/Helpers/Helpers.cpp
matheuspf/handy
3c33c2bfc947567d1be483cf1b5ad63716479357
[ "MIT" ]
4
2018-08-06T12:26:43.000Z
2020-09-11T09:59:07.000Z
tests/Helpers/Helpers.cpp
matheuspf/Handy
3c33c2bfc947567d1be483cf1b5ad63716479357
[ "MIT" ]
2
2020-03-24T00:57:46.000Z
2021-02-02T04:53:27.000Z
tests/Helpers/Helpers.cpp
matheuspf/Handy
3c33c2bfc947567d1be483cf1b5ad63716479357
[ "MIT" ]
1
2017-12-05T18:33:22.000Z
2017-12-05T18:33:22.000Z
#include "handy/Helpers/Helpers.h" #include "gtest/gtest.h" #include <fstream> #include <sstream> #include <vector> namespace { TEST(HelpersTest, IsInheritedTest) { struct A {}; struct B : A {}; struct C {}; struct D : B {}; EXPECT_EQ((handy::IsInherited<B, A>::value), true); EXP...
21.56
90
0.636364
matheuspf
0371babcf570722a9dbfa507437e132a9ae3af21
10,211
cpp
C++
tests/Unit/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Test_KerrSchild.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2018-10-01T06:07:16.000Z
2018-10-01T06:07:16.000Z
tests/Unit/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Test_KerrSchild.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
tests/Unit/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Test_KerrSchild.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <algorithm> #include <array> #include <cstddef> #include <limits> #include <string> #include <type_traits> #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/DataVector.hpp" #...
36.730216
94
0.652042
macedo22
037310778e911323870cd8107f3ecc37a31bddd0
639
cpp
C++
core/bookmarks/cbookmark.cpp
VioletGiraffe/FasterThanSight
f23d2e4a3e4f8abcee3d4691dbb35a0823da56e3
[ "MIT" ]
34
2016-06-13T18:38:54.000Z
2022-02-21T00:04:54.000Z
core/bookmarks/cbookmark.cpp
probonopd/FasterThanSight
f23d2e4a3e4f8abcee3d4691dbb35a0823da56e3
[ "MIT" ]
54
2016-05-20T07:38:51.000Z
2019-03-15T17:23:09.000Z
core/bookmarks/cbookmark.cpp
probonopd/FasterThanSight
f23d2e4a3e4f8abcee3d4691dbb35a0823da56e3
[ "MIT" ]
11
2016-12-19T13:14:24.000Z
2022-02-20T23:58:25.000Z
#include "cbookmark.h" #include "assert/advanced_assert.h" DISABLE_COMPILER_WARNINGS #include <QStringBuilder> #include <QStringList> RESTORE_COMPILER_WARNINGS CBookmark::CBookmark(const QString & serializedBookmark) { const QStringList components = serializedBookmark.split(';'); assert_and_return_r(comp...
24.576923
103
0.733959
VioletGiraffe
03738de4a35439a2089b392e1772330b8a3225b7
2,439
cpp
C++
tc 160+/DequeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/DequeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/DequeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <utility> using namespace std; class DequeSort { public: int minDeques(vector <int> data) { vector< pair<int, int> > v; v.push_back(mak...
31.675325
309
0.540795
ibudiselic
037688bd186cf13ba183f3656aa337b6fa8ad0f1
5,072
cpp
C++
nau/src/nau/scene/iScene.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/scene/iScene.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/scene/iScene.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/scene/iScene.h" #include "nau.h" #include "nau/math/matrix.h" using namespace nau::math; using namespace nau::scene; bool IScene::Init() { // MAT4 Attribs.add(Attribute(TRANSFORM, "TRANSFORM", Enums::MAT4, true)); // VEC4 Attribs.add(Attribute(SCALE, "SCALE", Enums::DataType::VEC4, false, new ve...
30.554217
113
0.728312
Khirion
0378c4d26e1cb319d8fd740c05e8c3b7f6dbf715
6,573
cpp
C++
include/types/image.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
include/types/image.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
include/types/image.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "image.hpp" namespace rhizome { namespace types { void image_demo() { std::cout << "Image Demo." << std::endl; Image x; x.set_size(500,500); x.checker_board( 16,16, Color(1,1,1,1), Color(1,0,0,1)); x.save_png("test.png"); ...
33.030151
101
0.42492
nathanmullenax83
03857f744a5c019760a1a6de89003afbd4abe00b
8,545
cpp
C++
lazy-code/Teensy4LazyBoard/src/MessageManagement.cpp
william-redenbaugh/lazy-board
945d2c4c59a560141ee37f4d4eff84014eb997d7
[ "MIT" ]
3
2020-06-07T04:09:27.000Z
2020-08-19T04:33:06.000Z
lazy-code/Teensy4LazyBoard/src/MessageManagement.cpp
william-redenbaugh/lazy-board
945d2c4c59a560141ee37f4d4eff84014eb997d7
[ "MIT" ]
4
2020-06-09T18:15:44.000Z
2020-08-31T22:00:24.000Z
lazy-code/Teensy4LazyBoard/src/MessageManagement.cpp
william-redenbaugh/lazy-board
945d2c4c59a560141ee37f4d4eff84014eb997d7
[ "MIT" ]
null
null
null
/* Author: William Redenbaugh Last Edit Date: 7/3/2020 */ #include "MessageManagement.hpp" /**************************************************************************/ /*! @brief Starts up our serial interface for doing message management stuff */ /*****************************************************...
42.512438
135
0.536337
william-redenbaugh
03878367d1516b142bd72beac2ad6a9f334095d0
1,391
cpp
C++
numerical_methods/qr_decomposition.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
numerical_methods/qr_decomposition.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
numerical_methods/qr_decomposition.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
/** * @file * \brief Program to compute the [QR * decomposition](https://en.wikipedia.org/wiki/QR_decomposition) of a given * matrix. * \author [Krishna Vedala](https://github.com/kvedala) */ #include <array> #include <cmath> #include <cstdlib> #include <ctime> #include <iostream> #include "./qr_decompose.h" u...
23.576271
76
0.588066
dvijaymanohar
0387a307cd2e5a042924d2516566ba5618be1686
29
hpp
C++
src/boost_icl_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_icl_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_icl_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/icl/set.hpp>
14.5
28
0.724138
miathedev
0389994bab6e2f4250852f92faced8ab6ab7fe9b
4,025
cpp
C++
cppwinrt/Scenario5_TimeZone.cpp
lyahdav/CppWinRtUwpSandbox
aad073b768031589cb1165ce8e95cdf8897e35f6
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
cppwinrt/Scenario5_TimeZone.cpp
lyahdav/CppWinRtUwpSandbox
aad073b768031589cb1165ce8e95cdf8897e35f6
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
cppwinrt/Scenario5_TimeZone.cpp
lyahdav/CppWinRtUwpSandbox
aad073b768031589cb1165ce8e95cdf8897e35f6
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
36.926606
95
0.59354
lyahdav
038bcc76f8b5878b30a9e9afed1879afa03d5161
98
hpp
C++
day07/part2.hpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day07/part2.hpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day07/part2.hpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
#pragma once #include "part1.hpp" namespace Part2 { int solve(const vector<IPv7> &ipv7s); }
12.25
41
0.683673
Moremar