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
6103e30e9979fe5f02c6e7636e57309d0f7f09ff
9,351
cpp
C++
texture-view/src/main/cpp/android_main.cpp
yge58/real-time-caffe-ndkcamera
ad7117787cfdd70d4a276a2ec12286b9d88e04df
[ "MIT" ]
20
2017-10-24T00:25:07.000Z
2021-05-15T08:25:09.000Z
texture-view/src/main/cpp/android_main.cpp
yge58/real-time-caffe-ndkcamera
ad7117787cfdd70d4a276a2ec12286b9d88e04df
[ "MIT" ]
1
2017-11-13T08:32:18.000Z
2017-11-14T01:53:03.000Z
texture-view/src/main/cpp/android_main.cpp
yge58/real-time-caffe-ndkcamera
ad7117787cfdd70d4a276a2ec12286b9d88e04df
[ "MIT" ]
6
2018-04-06T13:38:35.000Z
2020-06-05T03:22:15.000Z
/** * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
39.622881
93
0.637686
yge58
6106308efdb5b30b5d34e6fd914095d0aa3c519f
30,110
hpp
C++
msys64/mingw64/include/c++/8.2.1/ext/pb_ds/assoc_container.hpp
Bhuvanesh1208/ruby2.6.1
17642e3f37233f6d0e0523af68d7600a91ece1c7
[ "Ruby" ]
432
2015-01-03T20:05:29.000Z
2022-03-24T16:39:09.000Z
msys64/mingw64/include/c++/8.2.1/ext/pb_ds/assoc_container.hpp
Bhuvanesh1208/ruby2.6.1
17642e3f37233f6d0e0523af68d7600a91ece1c7
[ "Ruby" ]
75
2020-10-28T00:44:55.000Z
2022-03-05T20:21:53.000Z
msys64/mingw64/include/c++/8.2.1/ext/pb_ds/assoc_container.hpp
Bhuvanesh1208/ruby2.6.1
17642e3f37233f6d0e0523af68d7600a91ece1c7
[ "Ruby" ]
114
2015-01-07T16:23:00.000Z
2022-03-23T18:26:01.000Z
// -*- C++ -*- // Copyright (C) 2005-2018 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the terms // of the GNU General Public License as published by the Free Software // Foundation; either version 3...
34.930394
89
0.667486
Bhuvanesh1208
61069d1b0599f2ea9c0bab435f67b9c5edec5860
1,215
cpp
C++
test/scene_tree/test_stree.cpp
samkellett/g2
99e0598fd5c85fd329a5d820f99563e7d39b65d3
[ "MIT" ]
1
2015-12-15T15:03:14.000Z
2015-12-15T15:03:14.000Z
test/scene_tree/test_stree.cpp
samkellett/g2
99e0598fd5c85fd329a5d820f99563e7d39b65d3
[ "MIT" ]
1
2015-10-23T20:20:23.000Z
2015-10-23T20:20:23.000Z
test/scene_tree/test_stree.cpp
samkellett/g2
99e0598fd5c85fd329a5d820f99563e7d39b65d3
[ "MIT" ]
null
null
null
#include "scene_tree/stree.hpp" #include <gtest/gtest.h> using namespace g2; using testing::Test; struct Fixture : public Test { scene_tree::stree uut; const scene_tree::stree &const_uut; Fixture() : uut("badger", 640, 480), const_uut(uut) { } }; TEST_F(Fixture, TitleIsCorrect) { ASSERT_EQ("badger", u...
15.779221
55
0.706996
samkellett
610ba6c60f739ed079fe62c40a790d793697a46c
854
cpp
C++
Experiment 8.cpp
Pr33datorrr/DS-Practical-File
a5f3e60f59bb768b28b916e036ef936f20f4618c
[ "Apache-2.0" ]
null
null
null
Experiment 8.cpp
Pr33datorrr/DS-Practical-File
a5f3e60f59bb768b28b916e036ef936f20f4618c
[ "Apache-2.0" ]
null
null
null
Experiment 8.cpp
Pr33datorrr/DS-Practical-File
a5f3e60f59bb768b28b916e036ef936f20f4618c
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; void insertionsort(int ar[],int n) { int i,j,k,temp,m; for(i=0;i<n;i++) { m=ar[i]; j=i; while(ar[j-1]>m && j>0) { ar[j]=ar[j-1]; j--; } ar[j]=m; } } int main() { int i...
16.745098
49
0.362998
Pr33datorrr
610cbf57f73e65f49b9467358031751fdcc7b6d1
2,573
cc
C++
src/orbit/RFCavities/Dual_Harmonic_Cav.cc
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
17
2018-02-09T23:39:06.000Z
2022-03-04T16:27:04.000Z
src/orbit/RFCavities/Dual_Harmonic_Cav.cc
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
22
2017-05-31T19:40:14.000Z
2021-09-24T22:07:47.000Z
src/orbit/RFCavities/Dual_Harmonic_Cav.cc
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
37
2016-12-08T19:39:35.000Z
2022-02-11T19:59:34.000Z
#include "Dual_Harmonic_Cav.hh" #include "ParticleMacroSize.hh" #include <iostream> #include <cmath> #include "Bunch.hh" #include "OrbitConst.hh" using namespace OrbitUtils; // Constructor Dual_Harmonic_Cav::Dual_Harmonic_Cav(double ZtoPhi , double RFHNum , ...
19.492424
155
0.678197
LeoRya
610cc30296ba60167615440ae075f7d3014a5d0b
2,612
cpp
C++
game/roydWalkingState.cpp
theepsi/simpsons-arcade
26f716a2aed6a914a799adb00c6cf02e60aab1da
[ "MIT" ]
1
2017-01-04T16:00:15.000Z
2017-01-04T16:00:15.000Z
game/roydWalkingState.cpp
theepsi/simpsons-arcade
26f716a2aed6a914a799adb00c6cf02e60aab1da
[ "MIT" ]
15
2016-12-28T18:27:27.000Z
2017-02-17T09:47:52.000Z
game/roydWalkingState.cpp
theepsi/simpsons-arcade
26f716a2aed6a914a799adb00c6cf02e60aab1da
[ "MIT" ]
1
2019-09-13T09:55:07.000Z
2019-09-13T09:55:07.000Z
#include "core.h" #include "royd.h" #include "player.h" #include "enemy.h" #include "roydIdleState.h" #include "roydWalkingState.h" using namespace std; RoydWalkingState::RoydWalkingState() { } RoydWalkingState::~RoydWalkingState() { } void RoydWalkingState::Update(Character& player) { Enemy* enemy = static_cast<E...
28.703297
98
0.667688
theepsi
610d0bdd53fd948743ef66c4b155d6e2ed4c3da6
678
hpp
C++
library/ATF/_QUEST_CASH.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_QUEST_CASH.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_QUEST_CASH.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE #pragma pack(push, 4) struct _QUEST_CASH { unsigned int dwAvatorSerial; char byQuestType; int nPvpPoint; ...
25.111111
108
0.647493
lemkova
610d2ea418d14532463cf87a2a95dd6c1e6ea3df
168
cpp
C++
docs/mfc/codesnippet/CPP/exceptions-changes-to-exception-macros-in-version-3-0_4.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/exceptions-changes-to-exception-macros-in-version-3-0_4.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/exceptions-changes-to-exception-macros-in-version-3-0_4.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
TRY { // Do something to throw an exception. AfxThrowUserException(); } CATCH(CException, e) { THROW(e); // Wrong. Use THROW_LAST() instead } END_CATCH }
15.272727
50
0.64881
bobbrow
610e8dc7e559b2708faf04f58935bee62dad72f7
2,251
cpp
C++
vm/native_libraries.cpp
larrytheliquid/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
1
2016-05-09T10:45:38.000Z
2016-05-09T10:45:38.000Z
vm/native_libraries.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
1
2022-03-12T14:09:00.000Z
2022-03-12T14:09:00.000Z
vm/native_libraries.cpp
isabella232/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
1
2022-03-12T12:08:44.000Z
2022-03-12T12:08:44.000Z
#include <string> #include "builtin/exception.hpp" #include "builtin/module.hpp" #include "builtin/string.hpp" #include "vm.hpp" #include "native_libraries.hpp" #include "vm/object_utils.hpp" namespace rubinius { void VM::init_native_libraries() { globals.rubinius.get()->set_const(this, "LIBSUFFIX", String:...
27.790123
94
0.667703
larrytheliquid
6111a8f73dd93079b7812474296829519950b2a2
1,162
hpp
C++
src/region.hpp
eldariont/vg
aa394a8477eb3f27ccfe421457e2e013e7907493
[ "BSL-1.0" ]
null
null
null
src/region.hpp
eldariont/vg
aa394a8477eb3f27ccfe421457e2e013e7907493
[ "BSL-1.0" ]
null
null
null
src/region.hpp
eldariont/vg
aa394a8477eb3f27ccfe421457e2e013e7907493
[ "BSL-1.0" ]
null
null
null
#ifndef VG_REGION_HPP_INCLUDED #define VG_REGION_HPP_INCLUDED #include <string> #include <vector> #include <sstream> #include "xg.hpp" namespace vg { using namespace std; // Represent a parsed genomic region. // A -1 for start or end indicates that that coordinate is not used. // Generally regions parsed form user ...
25.822222
84
0.678141
eldariont
611998fe0894ddc8da3fc6e6512a7208a7fa3b8b
7,171
cpp
C++
Dynamic Programming/943. Find the Shortest Superstring.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Dynamic Programming/943. Find the Shortest Superstring.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Dynamic Programming/943. Find the Shortest Superstring.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* Travelling Salesman Problem dp[val][i]: 走过的路径为val, 最后的到达的i所需要的最小cost path[val][i]: 走过的路径为val, 最后的到达的i所需要的最小cost 的上一点 */ class Solution { public: string shortestSuperstring(vector<string>& A) { int n = A.size(); vector<vector<int>>graph(n, vector<int>(n)); for(int i = 0; i<n; ++i){ ...
32.894495
115
0.375819
beckswu
6119f227acd33b0b3b34cec6eeeb6f9f93f0a5c1
4,467
hpp
C++
modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/aligned_store.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/aligned_store.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/aligned_store.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "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 // Copyright 2011 - 2014 MetaScale SAS // // Distributed under the Boost Sof...
34.898438
80
0.478173
psiha
611f5caca5c1c3caba123f9ad30210b802f190f2
571
cpp
C++
tests/test1.cpp
chrisroman/llvm-pass-skeleton
5e0308c38bd8aec7ac33b794f7d9551cfdf01733
[ "MIT" ]
1
2020-10-26T02:45:22.000Z
2020-10-26T02:45:22.000Z
tests/test1.cpp
chrisroman/llvm-pass-skeleton
5e0308c38bd8aec7ac33b794f7d9551cfdf01733
[ "MIT" ]
null
null
null
tests/test1.cpp
chrisroman/llvm-pass-skeleton
5e0308c38bd8aec7ac33b794f7d9551cfdf01733
[ "MIT" ]
null
null
null
#include <stdlib.h> /* exit, EXIT_FAILURE */ #include "track_nullptr.h" void foo(void *p) { return; } // TODO: // create a nullp // call escale(rnullp) // replace all instances of nullptr with nullp void deref_null(int argc) { //void *nullp = nullptr; //escape(&nullp); int *p = (int*) nullptr; ...
17.30303
48
0.52014
chrisroman
6122ab3b23e22c49c9646a3c445f567e7ccd13a8
4,257
cpp
C++
gdal/frmts/nitf/nitfbilevel.cpp
dtusk/gdal1
30dcdc1eccbca2331674f6421f1c5013807da609
[ "MIT" ]
3
2017-01-12T10:18:56.000Z
2020-03-21T16:42:55.000Z
gdal/frmts/nitf/nitfbilevel.cpp
ShinNoNoir/gdal-1.11.5-vs2015
5d544e176a4c11f9bcd12a0fe66f97fd157824e6
[ "MIT" ]
null
null
null
gdal/frmts/nitf/nitfbilevel.cpp
ShinNoNoir/gdal-1.11.5-vs2015
5d544e176a4c11f9bcd12a0fe66f97fd157824e6
[ "MIT" ]
null
null
null
/****************************************************************************** * $Id$ * * Project: NITF Read/Write Library * Purpose: Module implement BILEVEL (C1) compressed image reading. * Author: Frank Warmerdam, warmerdam@pobox.com * *********************************************************************...
37.672566
79
0.571294
dtusk
6123a23ea132e1dca89108f53c573f719945941b
340
cpp
C++
test/incrementalTest/taskexecutor.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/incrementalTest/taskexecutor.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/incrementalTest/taskexecutor.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
#include "taskexecutor.h" #include <QCoreApplication> #include <QDebug> #include "factory.h" #include "task.h" TaskExecutor::TaskExecutor() { } void TaskExecutor::Exec() { qDebug() << Factory::Instance().GetTasks().keys(); for (Task *task : Factory::Instance().GetTasks()) { task->Exec(); } ...
14.782609
54
0.617647
JamesMBallard
6124788fc0796d3af47371f6248c4b272111f6d3
2,492
cpp
C++
src/generated/rpg_skill.cpp
TestGabu/liblcf
c4b58844ef10179910b92a7cfbf23ab593cc2ade
[ "MIT" ]
1
2020-06-13T08:21:53.000Z
2020-06-13T08:21:53.000Z
src/generated/rpg_skill.cpp
TestGabu/liblcf
c4b58844ef10179910b92a7cfbf23ab593cc2ade
[ "MIT" ]
8
2020-06-13T08:22:17.000Z
2022-03-02T00:56:44.000Z
src/generated/rpg_skill.cpp
TestGabu/liblcf
c4b58844ef10179910b92a7cfbf23ab593cc2ade
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2020 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
34.136986
77
0.607143
TestGabu
61291c6337289c39a0f16036e033bfec3e31c400
25,726
cpp
C++
Firmware/graphics/fonts/LcdNova16px.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/graphics/fonts/LcdNova16px.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/graphics/fonts/LcdNova16px.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
/******************************************************************************* * Size: 16 px * Bpp: 2 * Opts: ******************************************************************************/ #ifdef LV_LVGL_H_INCLUDE_SIMPLE #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LCDNOVA16PX #define LCDNOVA...
38.225854
116
0.539571
ValentiWorkLearning
612ab4a1d6d24658a06cf445b492f4b86ff929b7
4,132
cpp
C++
Cala/src/Graphics/Camera.cpp
dominikcondric/Cala
1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810
[ "Apache-2.0" ]
null
null
null
Cala/src/Graphics/Camera.cpp
dominikcondric/Cala
1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810
[ "Apache-2.0" ]
null
null
null
Cala/src/Graphics/Camera.cpp
dominikcondric/Cala
1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810
[ "Apache-2.0" ]
null
null
null
#include "Camera.h" #include <iostream> #include <glm/gtx/string_cast.hpp> #define SPACE_MOVE (movCalagth * deltaTime) #define FULL_CIRCLE (2 * glm::pi<float>()) Camera::Camera() { recalculateEulerAngles(); } void Camera::recalculateEulerAngles() { wDirection = glm::normalize(center - position); center = position...
20.974619
139
0.717086
dominikcondric
9ed412a174a0385263fdc0d2a8dcbdb0169e1ec7
1,102
cpp
C++
test/cpp/asyncworker.cpp
yorkie/nan
f500c71a31da98de4278d8e1d009068b72a34344
[ "MITNFA" ]
380
2015-01-06T15:52:07.000Z
2021-11-08T11:17:02.000Z
test/cpp/asyncworker.cpp
yorkie/nan
f500c71a31da98de4278d8e1d009068b72a34344
[ "MITNFA" ]
124
2015-01-01T02:51:40.000Z
2021-03-03T18:06:55.000Z
test/cpp/asyncworker.cpp
yorkie/nan
f500c71a31da98de4278d8e1d009068b72a34344
[ "MITNFA" ]
36
2015-01-09T19:01:16.000Z
2019-09-05T05:34:12.000Z
/********************************************************************************** * NAN - Native Abstractions for Node.js * * Copyright (c) 2014 NAN contributors * * MIT +no-false-attribs License <https://github.com/rvagg/nan/blob/master/LICENSE> *****************************************************************...
25.627907
84
0.594374
yorkie
9ed5c858eaa34150ae4a77912341a4047fd70f46
22,679
cpp
C++
app.cpp
wang-bin/keygen
4d00bf41b88b1a7e0fec228e89fb94a3a871ffe7
[ "MIT" ]
6
2021-04-09T03:04:11.000Z
2022-02-18T01:38:38.000Z
app.cpp
wang-bin/keygen
4d00bf41b88b1a7e0fec228e89fb94a3a871ffe7
[ "MIT" ]
null
null
null
app.cpp
wang-bin/keygen
4d00bf41b88b1a7e0fec228e89fb94a3a871ffe7
[ "MIT" ]
1
2021-04-09T08:42:25.000Z
2021-04-09T08:42:25.000Z
/* * Copyright (c) 2019-2021 WangBin <wbsecg1 at gmail.com> * This file is part of MDK * MDK SDK: https://github.com/wang-bin/mdk-sdk * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * This code is public domain. */ #ifndef ...
31.897328
236
0.59888
wang-bin
9ed9b5fd17228803f9947dc8b3580215bc18ad57
15,066
cpp
C++
ros/src/airsim_ros_pkgs/src/pd_position_controller_simple.cpp
whatseven/AirSim
fe7e4e7c782cf1077594c1ee6cc1bbfec3f66bd1
[ "MIT" ]
4
2018-06-27T02:18:53.000Z
2019-08-27T18:52:32.000Z
ros/src/airsim_ros_pkgs/src/pd_position_controller_simple.cpp
Abdulkadir-Muhendis/AirSim
c6f0729006ecd6d792a750edc7e27021469c5649
[ "MIT" ]
4
2020-03-05T15:42:17.000Z
2020-03-19T05:37:58.000Z
ros/src/airsim_ros_pkgs/src/pd_position_controller_simple.cpp
Abdulkadir-Muhendis/AirSim
c6f0729006ecd6d792a750edc7e27021469c5649
[ "MIT" ]
4
2020-04-08T21:53:00.000Z
2022-01-14T17:04:29.000Z
#include "pd_position_controller_simple.h" bool PIDParams::load_from_rosparams(const ros::NodeHandle &nh) { bool found = true; found = found && nh.getParam("kp_x", kp_x); found = found && nh.getParam("kp_y", kp_y); found = found && nh.getParam("kp_z", kp_z); found = found && nh.getParam("kp_yaw", ...
43.543353
213
0.694544
whatseven
9ede66f8f8c0478160490390440cd9c6f62476c4
7,571
cpp
C++
level_zero/core/test/unit_tests/sources/debugger/linux/test_l0_debugger_linux.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
level_zero/core/test/unit_tests/sources/debugger/linux/test_l0_debugger_linux.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
level_zero/core/test/unit_tests/sources/debugger/linux/test_l0_debugger_linux.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/execution_environment/root_device_environment.h" #include "shared/source/kernel/debug_data.h" #include "shared/source/os_interface/linux/os_interface.h" #include "opencl/test/unit_test/mocks/linux/mock_dr...
41.828729
127
0.766874
lukaszgotszaldintel
9edee36420ae6d029fe5e7c08bfa2fe67a3ebb86
1,782
cpp
C++
111. Minimum Depth of Binary Tree.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
111. Minimum Depth of Binary Tree.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
111. Minimum Depth of Binary Tree.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
/* Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. Note: A leaf is a node with no children. Example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 return its minimum ...
25.826087
114
0.517957
NeoYY
9ee550ee6ddf842985c6a79ad3843bd996d9ad36
11,290
c++
C++
c++/src/kj/mutex.c++
michaeledgar/capnproto
a211aa603c74ff5ce9ac1b1b8c7b1871148c39ab
[ "MIT" ]
null
null
null
c++/src/kj/mutex.c++
michaeledgar/capnproto
a211aa603c74ff5ce9ac1b1b8c7b1871148c39ab
[ "MIT" ]
null
null
null
c++/src/kj/mutex.c++
michaeledgar/capnproto
a211aa603c74ff5ce9ac1b1b8c7b1871148c39ab
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, inc...
33.802395
98
0.636935
michaeledgar
9ee9bb95e61fce5de7a41a560133841e914e03f2
15,343
cpp
C++
data/409.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/409.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/409.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int/**/ dK /*OSX*/,ta , /*LIV*/ cbh , Vf8aBIx , lKz, JW , RPh , h ,/*HD*/ rOZ , ODplY,Qn , kn5H5B , S9c, OZv //2F , Pc5 ,Wk ,ageqw4H, UP , x74 , WB ,t8f//7WX4R ,//af Zo , EpY, tYq1//l , FMLIpo, yy4BNG, RZyG , cSq,Gc ,QvLJ,SXJ, u2TZ ,//BKv DZn ,dEwTH, tBKTulS8 ,wTiQr ,DP, di9 ,uUe ,vohZ ,Hg...
10.221852
87
0.453106
TianyiChen
9eeac98af5009ed592d4fdb55c08b26df865e519
2,850
cpp
C++
BAC_2nd/ch9/uva10618.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC_2nd/ch9/uva10618.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC_2nd/ch9/uva10618.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa10618 Tango Tango Insurrection // Rujia Liu // Tricky case: .RDLU // Answer: RLRLR (yes, you TURNED around!) #include<cstdio> #include<cstring> #include<cassert> const int UP = 0; const int LEFT = 1; const int RIGHT = 2; const int DOWN = 3; const int maxn = 70 + 5; // d[i][a][b][s] means the minimal future ene...
26.886792
104
0.488421
Anyrainel
9eed1baa918fa824b153af7b47a3524aa46d02d7
12,572
hpp
C++
src/container/ordered_map.hpp
clienthax/neptools
90f3e1cc8cf388e7050b15c44fa51e330973fd53
[ "WTFPL" ]
1
2021-04-23T20:23:26.000Z
2021-04-23T20:23:26.000Z
src/container/ordered_map.hpp
clienthax/neptools
90f3e1cc8cf388e7050b15c44fa51e330973fd53
[ "WTFPL" ]
null
null
null
src/container/ordered_map.hpp
clienthax/neptools
90f3e1cc8cf388e7050b15c44fa51e330973fd53
[ "WTFPL" ]
null
null
null
#ifndef UUID_6D8552D7_1BF6_468A_A6E3_D0829B5390C1 #define UUID_6D8552D7_1BF6_468A_A6E3_D0829B5390C1 #pragma once #include "intrusive.hpp" #include "../shared_ptr.hpp" #include <boost/intrusive/set.hpp> #include <vector> namespace Neptools { NEPTOOLS_GEN_EXCEPTION_TYPE(ItemAlreadyAdded, std::logic_error); template ...
32.569948
84
0.606984
clienthax
9eee905d9168959b415257b0e45eb82e1bdacda0
620
cpp
C++
extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-statement-info.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-statement-info.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-statement-info.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
// Copyright Nathaniel Christen 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "phr-graph-statement-info.h" #include <QRegularExpression> #include <QDebug> #include "...
23.846154
85
0.759677
scignscape
9eef4e7d197ab709c6b0043b1db9641b07d6b67a
2,395
cpp
C++
src/os/linux/VulkanSurfaceXcb.cpp
mlfarrell/VGL-Vulkan-Core
9528f18920c67abd0f722db0e1472972a77c51be
[ "Apache-2.0" ]
60
2018-12-17T07:35:32.000Z
2022-01-27T11:21:03.000Z
src/os/linux/VulkanSurfaceXcb.cpp
mlfarrell/VGL-Vulkan-Core
9528f18920c67abd0f722db0e1472972a77c51be
[ "Apache-2.0" ]
12
2018-12-16T23:30:15.000Z
2020-10-02T06:29:45.000Z
src/os/linux/VulkanSurfaceXcb.cpp
mlfarrell/VulkanConcepts
9528f18920c67abd0f722db0e1472972a77c51be
[ "Apache-2.0" ]
8
2018-12-18T14:16:23.000Z
2021-08-05T01:08:59.000Z
/********************************************************************* Copyright 2018 VERTO STUDIO LLC. 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....
30.705128
121
0.662213
mlfarrell
9ef052b7ec67264d226353784f7f301ff23734de
30,311
hpp
C++
master/core/third/boost/ratio/detail/ratio_io.hpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
master/core/third/boost/ratio/detail/ratio_io.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
197
2017-07-06T16:53:59.000Z
2019-05-31T17:57:51.000Z
master/core/third/boost/ratio/detail/ratio_io.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// ratio_io // // (C) Copyright Howard Hinnant // (C) Copyright 2010 Vicente J. Botet Escriba // 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). // // This code was ada...
28.978011
191
0.675266
importlib
9ef4f8167cb9e25833b85487b6024e71ebe4882e
1,571
cpp
C++
models/cache/mcp-cache/coherence/sharers.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/cache/mcp-cache/coherence/sharers.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/cache/mcp-cache/coherence/sharers.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
#include "sharers.h" namespace manifold { namespace mcp_cache_namespace { /** @brief sharers * * @todo: document this function */ sharers::sharers(size_t size) : data(size) { } /** @brief ~sharers * * @todo: document this function */ sharers::~sharers() { } /** @brief get * * Get the status of a ...
14.412844
61
0.565882
Basseuph
9ef8259611d7e67c3566eaa3ae7425665c2e94e5
600
hpp
C++
includes/eeros/sequencer/SequencerUI.hpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
includes/eeros/sequencer/SequencerUI.hpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
includes/eeros/sequencer/SequencerUI.hpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
#ifndef ORG_EEROS_SEQUENCER_SEQUENCERUI_HPP_ #define ORG_EEROS_SEQUENCER_SEQUENCERUI_HPP_ #include <eeros/core/Thread.hpp> namespace eeros { namespace sequencer { void sigPipeHandler(int signum); // class Sequencer; class SequencerUI : public eeros::Thread { public: SequencerUI(); virtual ~Seq...
18.181818
46
0.703333
RicoPauli
9efc0554ce97d02a80dcaf7c5fadb4ee32bf1b1d
530
cpp
C++
2.3.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
1
2021-07-22T04:19:46.000Z
2021-07-22T04:19:46.000Z
2.3.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
2.3.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; union u { int x; char c; }; int main() { int n,i,j=0; cout<<"ENTER SIZE OF ARRAY: "; cin>>n; union u a[n]; union u *l=a,*r=a+n-1; while(l<=r) { cout<<"ENTER 0 TO ENTER INTEGER 1 FOR CHARACTER "; cin>>i; if(i==1) { cout<<"ENTER CHARACTER: "; cin>>r->c; r-...
13.25
52
0.50566
sushithreddy75
9efd1dae3a7eefaeaa85d7269a5260e45e74697a
103
cpp
C++
chap02/Main.cpp
HarryLovesCode/Vulkan-API-Book
ac552b5d9cba1c4f85d9ec911ec39698b2649c79
[ "MIT" ]
58
2016-03-28T18:53:34.000Z
2021-12-16T09:04:35.000Z
chap03/Main.cpp
HarryLovesCode/Vulkan-API-Book
ac552b5d9cba1c4f85d9ec911ec39698b2649c79
[ "MIT" ]
9
2016-03-24T01:08:31.000Z
2021-05-31T10:56:49.000Z
chap03/Main.cpp
HarryLovesCode/Vulkan-API-Book
ac552b5d9cba1c4f85d9ec911ec39698b2649c79
[ "MIT" ]
6
2016-11-30T15:42:37.000Z
2021-12-16T09:04:34.000Z
#include "VulkanExample.hpp" int main(int argc, char *argv[]) { VulkanExample ve = VulkanExample(); }
25.75
72
0.708738
HarryLovesCode
9effae0a0aae26af71b3e7680cc52677362e4197
10,222
cpp
C++
CViewer.cpp
mhoopmann/KojakSpectrumViewer
35fe56b3686dfdbe36e4bd5aab6f8d7ee04d6491
[ "Apache-2.0" ]
4
2017-06-08T21:28:24.000Z
2021-02-25T13:22:00.000Z
CViewer.cpp
mhoopmann/KojakSpectrumViewer
35fe56b3686dfdbe36e4bd5aab6f8d7ee04d6491
[ "Apache-2.0" ]
null
null
null
CViewer.cpp
mhoopmann/KojakSpectrumViewer
35fe56b3686dfdbe36e4bd5aab6f8d7ee04d6491
[ "Apache-2.0" ]
1
2020-10-04T18:10:01.000Z
2020-10-04T18:10:01.000Z
/* Copyright 2016, Michael R. Hoopmann, Institute for Systems Biology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
21.076289
247
0.648699
mhoopmann
9effedced5b54003e0023eaba910e312ed8ff668
1,497
cpp
C++
sdl2/arkanoid/src/source/App.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/arkanoid/src/source/App.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/arkanoid/src/source/App.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
/* ArkanoidRemakeSDL a sample of object-oriented game programming with C++. version 1.0, May 2016 Copyright (c) 2016 Giovanni Paolo Vigano' The source code of the SDL library used by ArkanoidRemakeSDL can be found here: https://www.libsdl.org/ --- ArkanoidRemakeSDL source code is licensed with the same zlib license:...
26.732143
80
0.708083
pdpdds
7300451101ebda19476d1d6e158e7b8e30ed3994
3,744
cpp
C++
src/support/win32/locale_win32.cpp
baggio63446333/libcxx
fd596ad2a2a848159385d4b2b0f97b379e1b6245
[ "MIT" ]
1
2019-01-02T16:14:19.000Z
2019-01-02T16:14:19.000Z
libxx/libcxx/support/win32/locale_win32.cpp
scott-eddy/libcxx
ff3918c28d405ef619716fd69260b5ca026db2d0
[ "MIT" ]
6
2019-01-02T16:13:43.000Z
2019-01-06T12:31:45.000Z
libxx/libcxx/support/win32/locale_win32.cpp
scott-eddy/libcxx
ff3918c28d405ef619716fd69260b5ca026db2d0
[ "MIT" ]
2
2019-08-09T09:14:31.000Z
2019-09-24T05:28:09.000Z
// -*- C++ -*- //===-------------------- support/win32/locale_win32.cpp ------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
33.72973
99
0.657853
baggio63446333
730573d2d88d24486374b280c1196ba532a9ae1d
2,269
inl
C++
samples/sine.inl
kibergus/LidarVox
ac66dfe94b0e11534aa22bfd64293c614ba19d1c
[ "WTFPL" ]
null
null
null
samples/sine.inl
kibergus/LidarVox
ac66dfe94b0e11534aa22bfd64293c614ba19d1c
[ "WTFPL" ]
null
null
null
samples/sine.inl
kibergus/LidarVox
ac66dfe94b0e11534aa22bfd64293c614ba19d1c
[ "WTFPL" ]
null
null
null
static const dacsample_t dac_buffer_sine[] = { 2047, 2082, 2118, 2154, 2189, 2225, 2260, 2296, 2331, 2367, 2402, 2437, 2472, 2507, 2542, 2576, 2611, 2645, 2679, 2713, 2747, 2780, 2813, 2846, 2879, 2912, 2944, 2976, 3008, 3039, 3070, 3101, 3131, 3161, 3191, 3221, 3250, 3278, 3307, 3335, 3362, 3389, 3416, 3443, 3...
68.757576
73
0.578228
kibergus
730852aeb662c1e4862b0141a2dcfb8ad66ed5b9
9,714
cpp
C++
src/caffe/layers/convolution3d_layer.cpp
antran89/New-C3D-Caffe
50644ddee7321dcd0a9c754f09672ff6fbf2029f
[ "BSD-2-Clause" ]
11
2016-06-06T14:15:53.000Z
2021-09-07T03:12:30.000Z
src/caffe/layers/convolution3d_layer.cpp
antran89/New-C3D-Caffe
50644ddee7321dcd0a9c754f09672ff6fbf2029f
[ "BSD-2-Clause" ]
5
2016-06-13T06:40:23.000Z
2017-01-07T09:49:29.000Z
src/caffe/layers/convolution3d_layer.cpp
antran89/New-C3D-Caffe
50644ddee7321dcd0a9c754f09672ff6fbf2029f
[ "BSD-2-Clause" ]
8
2016-06-12T11:26:00.000Z
2018-01-04T12:33:33.000Z
/* * * Copyright (c) 2015, Facebook, Inc. All rights reserved. * * Licensed under the Creative Commons Attribution-NonCommercial 3.0 * License (the "License"). You may obtain a copy of the License at * https://creativecommons.org/licenses/by-nc/3.0/. * Unless required by applicable law or agreed to in writi...
39.327935
118
0.599341
antran89
730c4f6691fccc14dcf240041cb240fd1f235002
6,787
cc
C++
system_wrappers/source/rtp_to_ntp_estimator.cc
airmelody5211/webrtc-clone
943843f1da42e47668c22ca758830334167f1b17
[ "BSD-3-Clause" ]
2
2019-09-01T23:36:33.000Z
2020-04-13T11:40:13.000Z
system_wrappers/source/rtp_to_ntp_estimator.cc
zhangj1024/webrtc
3a6b729a8edaabd2fe324e1f6f830869ec38d5ab
[ "BSD-3-Clause" ]
2
2019-04-26T04:57:02.000Z
2019-06-11T17:55:16.000Z
system_wrappers/source/rtp_to_ntp_estimator.cc
zhangj1024/webrtc
3a6b729a8edaabd2fe324e1f6f830869ec38d5ab
[ "BSD-3-Clause" ]
4
2021-04-22T09:36:05.000Z
2022-02-21T01:57:59.000Z
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
33.107317
80
0.690585
airmelody5211
730caa6ac54a5c03c3a983c822bb35b6993b7c1c
1,270
cpp
C++
IOI/IOI14P2.cpp
Genius1506/Competitive-Programming
0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947
[ "MIT" ]
null
null
null
IOI/IOI14P2.cpp
Genius1506/Competitive-Programming
0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947
[ "MIT" ]
null
null
null
IOI/IOI14P2.cpp
Genius1506/Competitive-Programming
0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define pb push_back #define all(x) x.begin(),x.end() #define pii pair<int,int> #define f first #define s second const int INF = 0x3f3f3f3f; struct Node{ int mn,mx; }st[1<<22]; void app(int i, int xl, int xr){ st[i].mn =...
24.423077
92
0.555118
Genius1506
730eebf9c1f946f7c0fb44d36f3e05a98c4193c4
1,282
hpp
C++
include/whack/codegen/expressions/factors/floatingpt.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
54
2018-10-28T07:18:31.000Z
2022-03-08T20:30:40.000Z
include/whack/codegen/expressions/factors/floatingpt.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
null
null
null
include/whack/codegen/expressions/factors/floatingpt.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
5
2018-10-28T14:43:53.000Z
2020-04-26T19:52:58.000Z
/** * Copyright 2018-present Onchere Bironga * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
29.813953
75
0.73869
onchere
7310e81a1676f4653d6a3d639e58131b6ab5c47a
2,255
cpp
C++
CheckSuperCalls/Result.cpp
Neo7k/CheckSuperCalls
d799ef9e30988dc39581e63411c9c6061138fb18
[ "MIT" ]
null
null
null
CheckSuperCalls/Result.cpp
Neo7k/CheckSuperCalls
d799ef9e30988dc39581e63411c9c6061138fb18
[ "MIT" ]
null
null
null
CheckSuperCalls/Result.cpp
Neo7k/CheckSuperCalls
d799ef9e30988dc39581e63411c9c6061138fb18
[ "MIT" ]
null
null
null
#include "Result.h" #include "Files.h" #include "Algorithms.h" Result::Result(int threads_num) { issues.resize(threads_num); } Result::~Result() { Clear(); } void Result::AddIssue(Issue* issue, int thread_id) { issues[thread_id].push_back(issue); } Result::IssuesVec Result::GetAllIssues() const { IssuesVec grou...
19.608696
103
0.687361
Neo7k
7313adb79dc2ccb1acbe60345aeea61cdbe116d8
4,215
cpp
C++
benchmarks/BM_writeInterleaved.cpp
michaelwillis/sfizz
0461f6e5e288da71aeccf7b7dfd71302bf0ba175
[ "BSD-2-Clause" ]
281
2019-06-06T05:58:59.000Z
2022-03-06T12:20:09.000Z
benchmarks/BM_writeInterleaved.cpp
michaelwillis/sfizz
0461f6e5e288da71aeccf7b7dfd71302bf0ba175
[ "BSD-2-Clause" ]
590
2019-09-22T00:26:10.000Z
2022-03-31T19:21:58.000Z
benchmarks/BM_writeInterleaved.cpp
michaelwillis/sfizz
0461f6e5e288da71aeccf7b7dfd71302bf0ba175
[ "BSD-2-Clause" ]
44
2019-10-08T08:24:20.000Z
2022-02-26T04:21:44.000Z
// SPDX-License-Identifier: BSD-2-Clause // This code is part of the sfizz library and is licensed under a BSD 2-clause // license. You should have receive a LICENSE.md file along with the code. // If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz #include "SIMDHelpers.h" #include "Buffer.h" ...
38.318182
78
0.688731
michaelwillis
731418d117145f0ad6f2d6a72f319a6057416cfe
7,341
cpp
C++
Assignment2/Program2/main.cpp
Siddhant628/Prog1_Compressor-Decompressor-In-C
94b27155cb03296a6ad2a5989616c6fa78aadb1c
[ "MIT" ]
null
null
null
Assignment2/Program2/main.cpp
Siddhant628/Prog1_Compressor-Decompressor-In-C
94b27155cb03296a6ad2a5989616c6fa78aadb1c
[ "MIT" ]
null
null
null
Assignment2/Program2/main.cpp
Siddhant628/Prog1_Compressor-Decompressor-In-C
94b27155cb03296a6ad2a5989616c6fa78aadb1c
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<stdio.h> #include"main.h" int main(int argc, char* argv[]) { if (argc > 1) { sscanf(argv[1], "%d", &bitsPerValue); } double rootMeanSquaredError; InitializeFiles(); ProcessMetaData(); CalculateTheNumberOfDataShorts(); RecreateData(); rootMeanSq...
30.715481
94
0.738183
Siddhant628
7314771828254f2e8cffa24e852c49cb57046ac7
1,953
hpp
C++
modules/memory/include/shard/memory/allocator.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/memory/include/shard/memory/allocator.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/memory/include/shard/memory/allocator.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Miklos Molnar. All rights reserved. #ifndef SHARD_MEMORY_ALLOCATOR_HPP #define SHARD_MEMORY_ALLOCATOR_HPP #include <shard/core/non_copyable.hpp> #include <cassert> #include <cstddef> #include <type_traits> #include <utility> namespace shard { namespace memory { class allocator { public: e...
26.04
93
0.709165
ikimol
7315e4b1025e0b42f093611714738c06e06e53cb
7,086
cpp
C++
QtFresnelZones/amplitudeplatewindow.cpp
Lnd-stoL/fresnel-zones-qt
ada6d03e285665eb5281808a55f9b7cc8289710b
[ "MIT" ]
2
2015-09-07T19:19:33.000Z
2015-09-07T19:19:40.000Z
QtFresnelZones/amplitudeplatewindow.cpp
Lnd-stoL/fresnel-zones-qt
ada6d03e285665eb5281808a55f9b7cc8289710b
[ "MIT" ]
null
null
null
QtFresnelZones/amplitudeplatewindow.cpp
Lnd-stoL/fresnel-zones-qt
ada6d03e285665eb5281808a55f9b7cc8289710b
[ "MIT" ]
null
null
null
#include "amplitudeplatewindow.h" #include "ui_amplitudeplatewindow.h" #include "colortransform.h" #include "titlewindow.h" AmplitudePlateWindow::AmplitudePlateWindow (Fresnel *fresnel, TitleWindow *tw) : QMainWindow (nullptr), ui (new Ui::AmplitudePlateWindow), titleWindow (tw), _fresnel (fresnel) {...
31.353982
120
0.673582
Lnd-stoL
7316a92f7fada4cda64b8093e97d17806aba954d
4,458
hpp
C++
include/UnityEngine/Rendering/MeshUpdateFlags.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/Rendering/MeshUpdateFlags.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/Rendering/MeshUpdateFlags.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Enum #include ...
57.153846
111
0.769403
marksteward
73174e310e79bdb608eeb0c3c24781615a488735
1,678
cpp
C++
sdl/Hypergraph/src/HypPrune.cpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Hypergraph/src/HypPrune.cpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Hypergraph/src/HypPrune.cpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
36.478261
104
0.717521
sdl-research
73183a28dfa5e628b5284a949a3d2c68a73b745e
4,042
cpp
C++
src/pumex/TextureLoaderJPEG.cpp
pumexx/pumex
86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe
[ "MIT" ]
299
2017-07-17T17:07:39.000Z
2022-03-27T20:33:20.000Z
src/pumex/TextureLoaderJPEG.cpp
pumexx/pumex
86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe
[ "MIT" ]
9
2018-08-09T11:49:37.000Z
2020-12-10T03:55:12.000Z
src/pumex/TextureLoaderJPEG.cpp
pumexx/pumex
86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe
[ "MIT" ]
21
2017-12-03T16:08:21.000Z
2022-01-17T06:34:39.000Z
// // Copyright(c) 2017-2018 Paweł Księżopolski ( pumexx ) // // 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, m...
37.082569
107
0.729342
pumexx
7325237252eec7504392fc9c634e9a7d58a2002c
968
cc
C++
lib/interception/interception_linux.cc
tylerfox/compiler-rt
940db39932e702fbc6ced148ff16263562862f5a
[ "MIT" ]
null
null
null
lib/interception/interception_linux.cc
tylerfox/compiler-rt
940db39932e702fbc6ced148ff16263562862f5a
[ "MIT" ]
null
null
null
lib/interception/interception_linux.cc
tylerfox/compiler-rt
940db39932e702fbc6ced148ff16263562862f5a
[ "MIT" ]
null
null
null
//===-- interception_linux.cc -----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
26.888889
80
0.551653
tylerfox
7326b4cfa424eb64d5f010cf6a3c9e8425b1b03c
1,613
cpp
C++
leetcode/cpp/p216/p216.cpp
davidlunadeleon/leetcode
3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1
[ "Unlicense" ]
1
2020-08-20T23:27:13.000Z
2020-08-20T23:27:13.000Z
leetcode/cpp/p216/p216.cpp
davidlunadeleon/leetcode
3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1
[ "Unlicense" ]
null
null
null
leetcode/cpp/p216/p216.cpp
davidlunadeleon/leetcode
3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1
[ "Unlicense" ]
null
null
null
// Source: https://leetcode.com/problems/combination-sum-iii/ // Date: 12.09.2020 // Solution by: David Luna // Runtime: 0ms // Memory usage: 6.4 MB #include <algorithm> #include <iostream> #include <vector> #include "../lib/vectorUtils/vectorUtils.h" // Leetcode solution starts class Solution { public: std::vec...
18.976471
76
0.593304
davidlunadeleon
7328c6a584e60b42e90d620d4b98842fcdcb9dc8
9,446
cpp
C++
emidi_alpha/CMIDIModule.cpp
Wohlstand/scc
0c22eaa8d52c1339232401ec4d42e1e228253c5f
[ "Zlib" ]
2
2018-10-08T19:02:11.000Z
2018-10-09T17:18:35.000Z
emidi_alpha/CMIDIModule.cpp
Wohlstand/scc
0c22eaa8d52c1339232401ec4d42e1e228253c5f
[ "Zlib" ]
1
2018-10-08T20:33:10.000Z
2018-10-08T20:33:10.000Z
emidi_alpha/CMIDIModule.cpp
Wohlstand/scc
0c22eaa8d52c1339232401ec4d42e1e228253c5f
[ "Zlib" ]
1
2018-10-08T19:27:04.000Z
2018-10-08T19:27:04.000Z
#include "CMIDIModule.hpp" #if defined (_MSC_VER) #if defined (_DEBUG) #define new new( _NORMAL_BLOCK, __FILE__, __LINE__) #endif #endif using namespace dsa; CMIDIModule::CMIDIModule() : m_device(NULL) {} CMIDIModule::~CMIDIModule() {} RESULT CMIDIModule::Reset() { if(m_device==NULL) return FAILUR...
28.197015
93
0.627991
Wohlstand
732b38f10e924e355ecc0e0b37c3ed5c0c819f70
40,498
cpp
C++
Modules/DiffusionImaging/FiberTracking/Algorithms/itkTractsToDWIImageFilter.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/DiffusionImaging/FiberTracking/Algorithms/itkTractsToDWIImageFilter.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/DiffusionImaging/FiberTracking/Algorithms/itkTractsToDWIImageFilter.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
42.185417
200
0.591733
rfloca
73383f8ffdfc68eb51fd4fb298821c7224be93e7
774
cpp
C++
codes/Chapter-04/ObjectasArgu.cpp
muyuuuu/Cpp-Notes
a514559eb4258304768167ea26de1e54f4a792d4
[ "MIT" ]
1
2022-03-25T06:07:27.000Z
2022-03-25T06:07:27.000Z
codes/Chapter-04/ObjectasArgu.cpp
muyuuuu/Cpp-Notes
a514559eb4258304768167ea26de1e54f4a792d4
[ "MIT" ]
null
null
null
codes/Chapter-04/ObjectasArgu.cpp
muyuuuu/Cpp-Notes
a514559eb4258304768167ea26de1e54f4a792d4
[ "MIT" ]
1
2021-09-24T07:28:17.000Z
2021-09-24T07:28:17.000Z
#include <iostream> using std::cout; using std::endl; class Circle { private: double radius = 1.3; public: Circle(); Circle(double r); double getArea(); double getRadius() const; void setRadius(double r); }; Circle::Circle(){ } Circle::Circle(double r){ radius = r; } double Circle::getA...
13.821429
36
0.581395
muyuuuu
733adeba0b39aaed149347103a1631e04134e63d
45,153
cpp
C++
Holo/Il2CppOutputProject/IL2CPP/libil2cpp/vm/MetadataCache.cpp
kyungyeon-lee/ExtendedRealitySearchTask
cd182ca92a056c068e1b8a7fe8b2f9a1dfa1990b
[ "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/IL2CPP/libil2cpp/vm/MetadataCache.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/IL2CPP/libil2cpp/vm/MetadataCache.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "il2cpp-config.h" #include "MetadataCache.h" #include "GlobalMetadata.h" #include <map> #include <limits> #include "il2cpp-tabledefs.h" #include "il2cpp-runtime-stats.h" #include "gc/GarbageCollector.h" #include "metadata/ArrayMetadata.h" #include "metadata/GenericMetadata.h" #include "metadata/GenericMethod....
38.7247
263
0.745111
kyungyeon-lee
733c8797b7d490c0cb4abba5650afa543337c98c
9,867
cpp
C++
code/appLoadingFunctions.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
code/appLoadingFunctions.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
code/appLoadingFunctions.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
/* File: appLoadingFunctions.cpp Author: Taylor Robbins Date: 06\13\2017 Description: ** Includes a collection of functions that manage loading ** various sorts of resources */ Texture_t CreateTexture(const u8* bitmapData, i32 width, i32 height, bool pixelated = false, bool repeat = true) { Texture_t result =...
34.5
120
0.752711
robbitay
733cf1f9b05d617a436002d68ecd1486efd5695d
26,075
cc
C++
engines/ep/tests/module_tests/evp_store_durability_test.cc
gsauere/kv_engine
233945fe4ddb033c2292e51f5845ab630c33276f
[ "BSD-3-Clause" ]
null
null
null
engines/ep/tests/module_tests/evp_store_durability_test.cc
gsauere/kv_engine
233945fe4ddb033c2292e51f5845ab630c33276f
[ "BSD-3-Clause" ]
null
null
null
engines/ep/tests/module_tests/evp_store_durability_test.cc
gsauere/kv_engine
233945fe4ddb033c2292e51f5845ab630c33276f
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2019 Couchbase, 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 * * h...
37.356734
80
0.658792
gsauere
7341ff8afdb7de4a6cbe03adf5e35ae31d1d225b
24,763
hpp
C++
include/boost/parser/detail/printing_impl.hpp
tzlaine/parser
095aa362d777a480fffef415d27d214cd6ffec4a
[ "BSL-1.0" ]
7
2020-08-29T02:10:20.000Z
2022-03-29T20:31:59.000Z
include/boost/parser/detail/printing_impl.hpp
tzlaine/parser
095aa362d777a480fffef415d27d214cd6ffec4a
[ "BSL-1.0" ]
16
2020-08-29T21:33:08.000Z
2022-03-22T03:01:02.000Z
include/boost/parser/detail/printing_impl.hpp
tzlaine/parser
095aa362d777a480fffef415d27d214cd6ffec4a
[ "BSL-1.0" ]
1
2021-09-22T08:15:57.000Z
2021-09-22T08:15:57.000Z
#ifndef BOOST_PARSER_DETAIL_PRINTING_IMPL_HPP #define BOOST_PARSER_DETAIL_PRINTING_IMPL_HPP #include <boost/parser/detail/printing.hpp> #if BOOST_PARSER_USE_BOOST #include <boost/type_index.hpp> #else #include <typeinfo> #endif namespace boost { namespace parser { namespace detail { template<typename T> au...
30.533909
80
0.521988
tzlaine
7343be8c63458715aeb0ac97ad039e989aafe6ee
268
cpp
C++
ch02/list_2.21/main.cpp
shoeisha-books/dokushu-cpp
8a1e7833fe080ed0f3059428c3a76d297a43a5dd
[ "MIT" ]
17
2020-01-01T16:44:05.000Z
2022-03-31T07:20:13.000Z
ch02/list_2.21/main.cpp
shoeisha-books/dokushu-cpp
8a1e7833fe080ed0f3059428c3a76d297a43a5dd
[ "MIT" ]
1
2021-07-04T01:41:53.000Z
2021-07-14T19:17:01.000Z
ch02/list_2.21/main.cpp
shoeisha-books/dokushu-cpp
8a1e7833fe080ed0f3059428c3a76d297a43a5dd
[ "MIT" ]
3
2019-11-28T14:37:09.000Z
2021-05-22T02:55:15.000Z
#include <iostream> int main() { int a = 0; float b = 3.14f; // 変数bはラムダ式の中で使われていないのでコピーされない auto lambda = [=]() // デフォルトのキャプチャ { // OK。aを使っているので、コンパイラーが自動的にaをコピーする std::cout << a << std::endl; }; lambda(); }
15.764706
52
0.503731
shoeisha-books
734558d9c9c239b2ec4a3d04cef6b977ee41cedb
1,392
cpp
C++
qipmsg/trunk/src/qipmsg.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
qipmsg/trunk/src/qipmsg.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
qipmsg/trunk/src/qipmsg.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
// This file is part of QIpMsg. // // QIpMsg is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // QIpMsg is distributed in the hope...
25.777778
71
0.718391
cuibo10
7345f941688db6d7afad6fdc15f148bb0d5c9c80
112,145
cpp
C++
test/line_break_17.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
null
null
null
test/line_break_17.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/line_break_17.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/line_break.hpp> #include <gtest/gtest.h> #include <algorithm> TEST(line, breaks_17) { // × 0021 ÷ 0E01 ÷ // × [0.3] EXCLAMATION MARK (EX) ÷ [999.0] THAI CHARACTER KO KAI (SA_AL) ÷ [0.3] { std::array<uint32_t, 2> cps = {{ 0x21, 0xe01 }...
74.169974
142
0.612029
eightysquirrels
73469628ccd16b0ab0c83e13383f5519f545d01a
64,908
cpp
C++
Source/FDMwkbParticleContainer.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FDMwkbParticleContainer.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FDMwkbParticleContainer.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifdef FDM #include <stdint.h> #include <complex> #include "FDMwkbParticleContainer.H" #include "fdm_F.H" using namespace amrex; /// These are helper functions used when initializing from a morton-ordered /// binary particle file. namespace { inline uint64_t split(unsigned int a) { uint64_t x = a & 0x1fffff; ...
38.248674
211
0.429285
Gosenca
734704a2af5c9d6c41855363309c8b701a770744
3,725
cpp
C++
src/Objects/Motobug.cpp
MainMemory/CuckySonic
af8e10f3c05b286b830001e73f79d9a7a8edc84e
[ "MIT" ]
2
2020-01-10T06:52:40.000Z
2020-12-17T02:57:30.000Z
src/Objects/Motobug.cpp
MainMemory/CuckySonic
af8e10f3c05b286b830001e73f79d9a7a8edc84e
[ "MIT" ]
null
null
null
src/Objects/Motobug.cpp
MainMemory/CuckySonic
af8e10f3c05b286b830001e73f79d9a7a8edc84e
[ "MIT" ]
null
null
null
#include "../Game.h" static const uint8_t animationStand[] = {0x0F,0x02,ANICOMMAND_RESTART}; static const uint8_t animationWalk[] = {0x07,0x00,0x01,0x00,0x02,ANICOMMAND_RESTART}; static const uint8_t animationSmoke[] = {0x01,0x03,0x06,0x04,0x06,0x04,0x06,0x04,0x06,0x05,ANICOMMAND_ADVANCE_ROUTINE}; static const uint8_...
25.168919
171
0.638121
MainMemory
7347dfa1f323a791b26e7004b9f4131f6addf66d
10,387
cpp
C++
sdl2-sonic-drivers/src/files/westwood/ADLFile.cpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
3
2021-10-31T14:24:00.000Z
2022-03-16T08:15:31.000Z
sdl2-sonic-drivers/src/files/westwood/ADLFile.cpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
48
2020-06-05T11:11:29.000Z
2022-02-27T23:58:44.000Z
sdl2-sonic-drivers/src/files/westwood/ADLFile.cpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
null
null
null
#include "ADLFile.hpp" #include <exception> #include <fstream> namespace files { namespace westwood { /*************************************************************************** * Here's the rough structure of ADL files. The player needs only the * * first part, the driver uses ...
36.445614
116
0.527871
Raffaello
734c2ece216873560f4c98a964b007476f90325d
1,847
cpp
C++
ThreadedModFileCount.cpp
jaygarcia/QtModPlayer
a71d922b8c7c2928bedb4658f6111d7ab40c3d69
[ "MIT" ]
null
null
null
ThreadedModFileCount.cpp
jaygarcia/QtModPlayer
a71d922b8c7c2928bedb4658f6111d7ab40c3d69
[ "MIT" ]
7
2018-10-04T12:47:04.000Z
2018-10-13T09:15:20.000Z
ThreadedModFileCount.cpp
jaygarcia/QtModPlayer
a71d922b8c7c2928bedb4658f6111d7ab40c3d69
[ "MIT" ]
null
null
null
#include "ThreadedModFileCount.h" // Based on: https://stackoverflow.com/a/16383433 //QString fileChecksum(const QString &fileName) { // QFile f(fileName); // QCryptographicHash hash(QCryptographicHash::Algorithm::Md5); // if (f.open(QFile::ReadOnly)) { // if (hash.addData(&f)) { // return QString::fromUt...
24.959459
88
0.667569
jaygarcia
73516a39d61c424bd8caa4f9430df34671f84092
4,417
cpp
C++
sdk_core/src/base/network/win/network_util.cpp
turingdriving/Livox-SDK
9306596a2bf15c1343bc023b497465ed0a32909d
[ "BSD-3-Clause" ]
345
2019-01-16T02:19:08.000Z
2022-03-27T14:23:04.000Z
sdk_core/src/base/network/win/network_util.cpp
turingdriving/Livox-SDK
9306596a2bf15c1343bc023b497465ed0a32909d
[ "BSD-3-Clause" ]
152
2019-01-31T06:53:01.000Z
2022-03-30T18:34:02.000Z
sdk_core/src/base/network/win/network_util.cpp
turingdriving/Livox-SDK
9306596a2bf15c1343bc023b497465ed0a32909d
[ "BSD-3-Clause" ]
171
2019-01-24T09:54:32.000Z
2022-03-25T22:18:55.000Z
// // The MIT License (MIT) // // Copyright (c) 2019 Livox. 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 restriction, including without limitation the ri...
31.55
110
0.689608
turingdriving
7351bd42175a0ee9d625150e19d5003f128c1d62
4,126
hpp
C++
test/testutil/storage/supergenius_trie_printer.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
1
2021-07-10T21:25:03.000Z
2021-07-10T21:25:03.000Z
test/testutil/storage/supergenius_trie_printer.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
test/testutil/storage/supergenius_trie_printer.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
#ifndef SUPERGENIUS_CORE_STORAGE_TRIE_SUPERGENIUS_TRIE_DB_SUPERGENIUS_TRIE_DB_PRINTER_HPP #define SUPERGENIUS_CORE_STORAGE_TRIE_SUPERGENIUS_TRIE_DB_SUPERGENIUS_TRIE_DB_PRINTER_HPP #include "storage/trie/supergenius_trie/supergenius_trie.hpp" /// /// \@notice: This module is meant only for test usage and is not exce...
33.819672
92
0.531992
GeniusVentures
73522a532b9fbf2f19dd5ea732af98bdd1c19e3d
1,253
cpp
C++
src/io/nanopolish_fast5_loader.cpp
Yufeng98/nanopolish
1c6ce4d041d461b6a95baff8099cc7e11bb5a8a2
[ "MIT" ]
1
2021-03-01T08:27:02.000Z
2021-03-01T08:27:02.000Z
src/io/nanopolish_fast5_loader.cpp
Yufeng98/nanopolish
1c6ce4d041d461b6a95baff8099cc7e11bb5a8a2
[ "MIT" ]
null
null
null
src/io/nanopolish_fast5_loader.cpp
Yufeng98/nanopolish
1c6ce4d041d461b6a95baff8099cc7e11bb5a8a2
[ "MIT" ]
1
2021-03-01T09:33:53.000Z
2021-03-01T09:33:53.000Z
//--------------------------------------------------------- // Copyright 2019 Ontario Institute for Cancer Research // Written by Jared Simpson (jared.simpson@oicr.on.ca) //--------------------------------------------------------- // // nanopolish_fast5_loader -- A class that manages // opening and reading from fast5 f...
24.096154
91
0.64166
Yufeng98
7353cad65db8399f8e3c44fa4bbb3f20fbc2a92a
1,631
cpp
C++
freeflow/sys/acceptor.test/accept.cpp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
1
2017-07-30T04:18:29.000Z
2017-07-30T04:18:29.000Z
freeflow/sys/acceptor.test/accept.cpp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
null
null
null
freeflow/sys/acceptor.test/accept.cpp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2013-2014 Flowgrammable.org // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at: // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
24.712121
70
0.657879
flowgrammable
735e060a80f95e6c1c92f08b0bcfb0e092df01c1
12,961
hpp
C++
src/shared/pal/src/include/pal/thread.hpp
kouvel/diagnostics
2269f2d8b5a585fd1d1876debe0124bd54ef4792
[ "MIT" ]
null
null
null
src/shared/pal/src/include/pal/thread.hpp
kouvel/diagnostics
2269f2d8b5a585fd1d1876debe0124bd54ef4792
[ "MIT" ]
null
null
null
src/shared/pal/src/include/pal/thread.hpp
kouvel/diagnostics
2269f2d8b5a585fd1d1876debe0124bd54ef4792
[ "MIT" ]
null
null
null
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*++ Module Name: include/pal/thread.hpp Abstract: Header file for thread structures --*/ #ifndef _PAL_THREAD_HPP_ #define _PAL_THREAD_HPP_ #include "corunix.hpp" #...
22.30809
80
0.558985
kouvel
73686483bd969cc670e142087c1cee31e92474f9
2,905
hpp
C++
include/dhnet/rtsp/reply_factory.hpp
liunian1027/rtspserver_asio
692ec1b5c62672bff06c0f3cfb049b1ddc8c074d
[ "MIT" ]
null
null
null
include/dhnet/rtsp/reply_factory.hpp
liunian1027/rtspserver_asio
692ec1b5c62672bff06c0f3cfb049b1ddc8c074d
[ "MIT" ]
null
null
null
include/dhnet/rtsp/reply_factory.hpp
liunian1027/rtspserver_asio
692ec1b5c62672bff06c0f3cfb049b1ddc8c074d
[ "MIT" ]
4
2018-05-02T09:30:17.000Z
2020-05-26T09:23:26.000Z
#ifndef RTSP_REPLY_FACTORY_H__ #define RTSP_REPLY_FACTORY_H__ #include <boost/lexical_cast.hpp> #include <CompLib/RTP/CRTPPacket.h> #include "http.hpp" namespace dhnet { namespace rtsp { namespace stock_string { static char const rtsp_version[] = "RTSP/1.0"; static char const cseq_name[] = "CSeq"; stati...
25.26087
121
0.658176
liunian1027
736be5be7618fc59520bc5040190ba07db8afae6
1,548
cpp
C++
C++/Different Ways to Add Parentheses/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
2
2016-04-27T11:55:44.000Z
2017-02-06T04:15:46.000Z
C++/Different Ways to Add Parentheses/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
C++/Different Ways to Add Parentheses/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
class Solution { public: vector<int> diffWaysToCompute(string input) { unordered_map<string, vector<int>> dpMap; return computeWithDP(input, dpMap); } vector<int> computeWithDP(string input, unordered_map<string, vector<int>> &dpMap) { vector<int> res; int len = input.le...
32.93617
88
0.375323
Leobuaa
736c5f7da3ede445b2ee188896d356af072f10b6
3,932
cpp
C++
ngraph/frontend/onnx/frontend/src/core/model.cpp
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
null
null
null
ngraph/frontend/onnx/frontend/src/core/model.cpp
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
11
2021-08-11T19:59:14.000Z
2022-02-21T13:11:15.000Z
ngraph/frontend/onnx/frontend/src/core/model.cpp
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <onnx/onnx_pb.h> #include "core/model.hpp" #include "ngraph/log.hpp" #include "onnx_framework_node.hpp" #include "ops_bridge.hpp" namespace ngraph { namespace onnx_import { std::string get_node_domain(cons...
35.745455
99
0.53586
v-Golubev
736e13c1ada00d73d163c3be0bbbbb80ab8db4b7
1,744
cpp
C++
src/armnnTfParser/test/PassThru.cpp
VinayKarnam/armnn
98525965c7cfecd9bf48297b433b2122cd1b4a1d
[ "MIT" ]
2
2021-12-09T15:14:04.000Z
2021-12-10T01:37:53.000Z
src/armnnTfParser/test/PassThru.cpp
VinayKarnam/armnn
98525965c7cfecd9bf48297b433b2122cd1b4a1d
[ "MIT" ]
null
null
null
src/armnnTfParser/test/PassThru.cpp
VinayKarnam/armnn
98525965c7cfecd9bf48297b433b2122cd1b4a1d
[ "MIT" ]
3
2022-01-23T11:34:40.000Z
2022-02-12T15:51:37.000Z
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include <boost/test/unit_test.hpp> #include "armnnTfParser/ITfParser.hpp" #include "ParserPrototxtFixture.hpp" BOOST_AUTO_TEST_SUITE(TensorflowParser) struct PassThruFixture : public armnnUtils::ParserPrototxtFixture<armnnTfParse...
32.90566
100
0.611812
VinayKarnam
7376aa55a89d5dcd75fc0e3fd0a7c6f287d5c2bc
913
cpp
C++
C++/Vector-Sort/vector-sort.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
108
2021-03-29T05:04:16.000Z
2022-03-19T15:11:52.000Z
C++/Vector-Sort/vector-sort.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
null
null
null
C++/Vector-Sort/vector-sort.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
32
2021-03-30T03:56:54.000Z
2022-03-27T14:41:32.000Z
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/vector-sort/problem * Original video explanation: https://www.youtube.com/watch?v=augknUhDI6Q * Last verified on: April 17, 2021 */ /* IMPORTANT: * This is the full code for the solution. * Some headers were removed...
20.75
94
0.607886
IsaacAsante
7378bd6cddc8b13bb30bb20ee735444c0647b60c
3,981
cpp
C++
daemon/armnn/ThreadManagementServer.cpp
RufUsul/gator
6a944e7ee1f1c3ab9b2a57efd24c58503122db02
[ "BSD-3-Clause" ]
118
2015-03-24T16:09:42.000Z
2022-03-21T09:01:59.000Z
daemon/armnn/ThreadManagementServer.cpp
RufUsul/gator
6a944e7ee1f1c3ab9b2a57efd24c58503122db02
[ "BSD-3-Clause" ]
26
2016-03-03T23:24:08.000Z
2022-03-21T10:24:43.000Z
daemon/armnn/ThreadManagementServer.cpp
RufUsul/gator
6a944e7ee1f1c3ab9b2a57efd24c58503122db02
[ "BSD-3-Clause" ]
73
2015-06-09T09:44:06.000Z
2021-12-30T09:49:00.000Z
/* Copyright (C) 2019-2021 by Arm Limited. All rights reserved. */ #include "armnn/ThreadManagementServer.h" #include "Logging.h" #include <cassert> namespace armnn { ThreadManagementServer::ThreadManagementServer(std::unique_ptr<IAcceptor> acceptor) : mAcceptor {std::move(acceptor)}, mReaperTh...
30.860465
120
0.518212
RufUsul
7379ca12d99befb2ac773b41a547841e238e0030
841
cpp
C++
src/header_src/tcp_header.cpp
Maxim-byte/pcap_parser-
3f34b824699ec595ff34518d83b278d1cbcdeef5
[ "MIT" ]
null
null
null
src/header_src/tcp_header.cpp
Maxim-byte/pcap_parser-
3f34b824699ec595ff34518d83b278d1cbcdeef5
[ "MIT" ]
null
null
null
src/header_src/tcp_header.cpp
Maxim-byte/pcap_parser-
3f34b824699ec595ff34518d83b278d1cbcdeef5
[ "MIT" ]
null
null
null
#include "../header_hpp/tcp_header.hpp" #include <iostream> #include "../utility/details.hpp" tcp_header tcp_header::read_tcp_header(std::istream &stream, std::error_code & ec) { tcp_header header{}; stream.read(reinterpret_cast<char *>(&header.s_port), sizeof(header.s_port)); stream.read(reinterpret_cas...
38.227273
114
0.692033
Maxim-byte
737a1960b32f8722bf470d9587b56c3369ff090b
26,130
cc
C++
src/resid-dtv/sid.cc
swingflip/C64_mini_VICE
7a6d9d41ae60409a2bb985bb8d6324a7269a0daa
[ "Apache-2.0" ]
2
2018-11-15T19:52:34.000Z
2022-01-17T19:45:01.000Z
src/resid-dtv/sid.cc
Classicmods/C64_mini_VICE
7a6d9d41ae60409a2bb985bb8d6324a7269a0daa
[ "Apache-2.0" ]
null
null
null
src/resid-dtv/sid.cc
Classicmods/C64_mini_VICE
7a6d9d41ae60409a2bb985bb8d6324a7269a0daa
[ "Apache-2.0" ]
3
2019-06-30T05:37:04.000Z
2021-12-04T17:12:35.000Z
// --------------------------------------------------------------------------- // This file is part of reSID, a MOS6581 SID emulator engine. // Copyright (C) 2004 Dag Lem <resid@nimrod.no> // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public Li...
30.348432
111
0.572484
swingflip
737f88fe060bdbba2b796eef27b29b12f56c1695
1,588
hpp
C++
demo/test_events.hpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
demo/test_events.hpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
demo/test_events.hpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
/* * test_conditions.hpp * * Created on: Dec 16, 2014 * Author: masha */ #ifndef DEMO_TEST_EVENTS_HPP_ #define DEMO_TEST_EVENTS_HPP_ #include <atomic> #include <condition_variable> #include <mutex> class test_events { private: typedef std::unique_lock<std::mutex> lock_type; test_events(const test...
18.682353
78
0.547229
mashavorob
738074a30258b22809b9167922ef3139c22c13d7
2,269
cpp
C++
BeLuEngine/BeLuEngine/src/Renderer/Texture/TextureCubeMap.cpp
jocke1995/BeLuEngine
7fdca9736c61c03330975380bd1b377985c8ebd3
[ "MIT" ]
1
2021-03-16T09:16:03.000Z
2021-03-16T09:16:03.000Z
BeLuEngine/BeLuEngine/src/Renderer/Texture/TextureCubeMap.cpp
jocke1995/BeLuEngine
7fdca9736c61c03330975380bd1b377985c8ebd3
[ "MIT" ]
null
null
null
BeLuEngine/BeLuEngine/src/Renderer/Texture/TextureCubeMap.cpp
jocke1995/BeLuEngine
7fdca9736c61c03330975380bd1b377985c8ebd3
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "TextureCubeMap.h" #include "../Misc/Log.h" #include "../GPUMemory/Resource.h" #include "../CommandInterface.h" #include "../GPUMemory/ShaderResourceView.h" #include "../DescriptorHeap.h" #include "TextureFunctions.h" TextureCubeMap::TextureCubeMap(const std::wstring& filePath) : Textur...
28.3625
158
0.766417
jocke1995
73829cba411dc9a16fae422bf22bb0fae83d5e83
28,288
cpp
C++
commit.cpp
BRL-CAD/repowork
d5180d99f1086614301cf4c3db44a2b2dd57ebb3
[ "CC0-1.0" ]
null
null
null
commit.cpp
BRL-CAD/repowork
d5180d99f1086614301cf4c3db44a2b2dd57ebb3
[ "CC0-1.0" ]
null
null
null
commit.cpp
BRL-CAD/repowork
d5180d99f1086614301cf4c3db44a2b2dd57ebb3
[ "CC0-1.0" ]
null
null
null
/* C O M M I T . C P P * BRL-CAD * * Published in 2020 by the United States Government. * This work is in the public domain. * */ /** @file commit.cpp * * The majority of the work is in processing * Git commits. * */ #include "TextFlow.hpp" #include "repowork.h" typedef int (*commitcmd...
31.642058
120
0.611602
BRL-CAD
7382a31e1163f2951bc8af4ecafdc03a15f7606a
8,921
cpp
C++
source/xyo-win-inject-hook.cpp
g-stefan/xyo-win-inject
44ad5fc4f11643f33321532ab4f1eae84b04db33
[ "MIT", "Unlicense" ]
null
null
null
source/xyo-win-inject-hook.cpp
g-stefan/xyo-win-inject
44ad5fc4f11643f33321532ab4f1eae84b04db33
[ "MIT", "Unlicense" ]
null
null
null
source/xyo-win-inject-hook.cpp
g-stefan/xyo-win-inject
44ad5fc4f11643f33321532ab4f1eae84b04db33
[ "MIT", "Unlicense" ]
null
null
null
// // XYO Win Inject // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include <windows.h> #include <stdio.h> #include "xyo-win-inject-hook.hpp" #ifdef XYO_APPLICATION_32BI...
35.26087
167
0.643986
g-stefan
73844cafa77d531a00bece37879f9cf9a068d652
1,606
cpp
C++
problem8.cpp
jurrehart/euler
9eca473c056472ecdcce73480ff09dfb8285b4cd
[ "MIT" ]
null
null
null
problem8.cpp
jurrehart/euler
9eca473c056472ecdcce73480ff09dfb8285b4cd
[ "MIT" ]
null
null
null
problem8.cpp
jurrehart/euler
9eca473c056472ecdcce73480ff09dfb8285b4cd
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #define SEQUENCE_SIZE 13 int main(){ std::string sequence = "73167176531330624919225119674426574742355349194934\ 96983520312774506326239578318016984801869478851843\ 85861560789112949495459501737958331952853208805511\ 12540698747158523863050715693290963295227443043557\ 6689664895...
34.913043
81
0.848692
jurrehart
7384599a1f9c15bd15a25edc5116abbb55dd18dc
6,675
cc
C++
src/MissionManager/SpeedSection.cc
JeremVincent/qgroundcontrol
113907ba991b710f6bf4276e765569a41e6060f2
[ "Apache-2.0" ]
null
null
null
src/MissionManager/SpeedSection.cc
JeremVincent/qgroundcontrol
113907ba991b710f6bf4276e765569a41e6060f2
[ "Apache-2.0" ]
null
null
null
src/MissionManager/SpeedSection.cc
JeremVincent/qgroundcontrol
113907ba991b710f6bf4276e765569a41e6060f2
[ "Apache-2.0" ]
2
2020-03-30T10:45:13.000Z
2020-05-10T11:50:07.000Z
/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * *************************************...
37.290503
205
0.589363
JeremVincent
73849a3691fece0237af7c024bd17ca50033537c
657
cpp
C++
src/Entity/SearchableString.cpp
epfremmer/PHP-Weekly-Issue37c
48d9907f2c427f1bdb122027975509b52b31b711
[ "MIT" ]
null
null
null
src/Entity/SearchableString.cpp
epfremmer/PHP-Weekly-Issue37c
48d9907f2c427f1bdb122027975509b52b31b711
[ "MIT" ]
null
null
null
src/Entity/SearchableString.cpp
epfremmer/PHP-Weekly-Issue37c
48d9907f2c427f1bdb122027975509b52b31b711
[ "MIT" ]
null
null
null
// // Created by Edward Pfremmer on 1/28/16. // #include <string> #include <iostream> #include "SearchableString.h" SearchableString::SearchableString(std::string &value) { this->value = value; std::transform(this->value.begin(), this->value.end(), this->value.begin(), ::tolower); } int SearchableString::se...
21.9
91
0.631659
epfremmer
7385d1402258931e01583346fa4e4d6b7f30d8ed
1,495
hpp
C++
Includes/Rosetta/PlayMode/Zones/HandZone.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Includes/Rosetta/PlayMode/Zones/HandZone.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Includes/Rosetta/PlayMode/Zones/HandZone.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #ifndef ROSETTASTONE_PLAYMODE_HAND_ZONE_HPP #define ROSETTASTONE_PLAYM...
32.5
76
0.724415
Hearthstonepp
738cb5d2ccd4e2e7311e97f8447d72d4b7ef3d1e
1,356
cpp
C++
Code/UnitTests/FoundationTest/Math/RationalTest.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/UnitTests/FoundationTest/Math/RationalTest.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
Code/UnitTests/FoundationTest/Math/RationalTest.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
1
2022-03-28T15:57:46.000Z
2022-03-28T15:57:46.000Z
#include <FoundationTestPCH.h> #include <Foundation/Math/Rational.h> #include <Foundation/Strings/StringBuilder.h> EZ_CREATE_SIMPLE_TEST(Math, Rational) { EZ_TEST_BLOCK(ezTestBlock::Enabled, "Rational") { ezRational r1(100, 1); EZ_TEST_BOOL(r1.IsValid()); EZ_TEST_BOOL(r1.IsIntegral()); ezRationa...
23.37931
94
0.671091
alinoctavian
7391ceecd4ad4c946718103dda945c6223da4bda
1,338
cpp
C++
Codeforces/1430/A.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
2
2021-09-14T15:57:24.000Z
2022-03-18T14:11:04.000Z
Codeforces/1430/A.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
Codeforces/1430/A.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
/* "Do I really belong in this game I ponder, I just wanna play my part." - Guts over fear, Eminem */ #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #include<bits/stdc++.h> using namespace std; typedef long long int ll; #define ff first #define Shazam ios_base::sync_with_stdio(false); cin.tie(NULL); cout.ti...
30.409091
81
0.532138
noobie7
7392b76a1b427fefdf472f85efd15ca7ad569c38
2,129
cpp
C++
src/WAM/indexing.cpp
ThermalSpan/russWAM
c237bb782a83f7f6e2ccfa50800a55523ca22f67
[ "MIT" ]
null
null
null
src/WAM/indexing.cpp
ThermalSpan/russWAM
c237bb782a83f7f6e2ccfa50800a55523ca22f67
[ "MIT" ]
null
null
null
src/WAM/indexing.cpp
ThermalSpan/russWAM
c237bb782a83f7f6e2ccfa50800a55523ca22f67
[ "MIT" ]
null
null
null
// // indexing.cpp // russWAM // // Created by Russell Wilhelm Bentley on 12/14/15. // Copyright (c) 2015 Russell Wilhelm Bentley. // Distributed under the MIT License // #include <unordered_map> #include "WAM.h" void WAM::switch_on_term (int V, int C, int L, int S) { DataCell* cell = deref (getGlobalReg (1)...
26.6125
84
0.566933
ThermalSpan
73976fd199445a9bce3917ba16e45a51a9da480d
4,125
hpp
C++
include/codegen/include/System/Text/RegularExpressions/RegexMatchTimeoutException.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Text/RegularExpressions/RegexMatchTimeoutException.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Text/RegularExpressions/RegexMatchTimeoutException.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:17 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.TimeoutException #include "System/TimeoutException.hp...
57.291667
189
0.764121
Futuremappermydud
7399ebe3536abecfb9d9fbed610345d99323aa5d
1,127
cc
C++
Mu2eKinKal/src/KKMaterial.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
1
2021-06-23T22:09:28.000Z
2021-06-23T22:09:28.000Z
Mu2eKinKal/src/KKMaterial.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
Mu2eKinKal/src/KKMaterial.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
null
null
null
#include "Mu2eKinKal/inc/KKMaterial.hh" #include "GeometryService/inc/GeomHandle.hh" #include "TrackerGeom/inc/Tracker.hh" #include "GeometryService/inc/GeometryService.hh" namespace mu2e { using StrawMaterial = KinKal::StrawMaterial; using MatDBInfo = MatEnv::MatDBInfo; KKMaterial::KKMaterial(KKMaterial::Confi...
36.354839
81
0.751553
lborrel
739a6f4f141af45a2a085e53288975b7e3d8fa48
1,596
hpp
C++
src/Cello/compute_SolverNull.hpp
brittonsmith/enzo-e
56d8417f2bdfc60f38326ba7208b633bfcea3175
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Cello/compute_SolverNull.hpp
brittonsmith/enzo-e
56d8417f2bdfc60f38326ba7208b633bfcea3175
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Cello/compute_SolverNull.hpp
brittonsmith/enzo-e
56d8417f2bdfc60f38326ba7208b633bfcea3175
[ "MIT", "BSD-3-Clause" ]
null
null
null
// See LICENSE_CELLO file for license and copyright information /// @file compute_SolverNull.hpp /// @author James Bordner (jobordner@ucsd.edu) /// @date 2018-02-26 /// @brief [\ref Compute] Declaration for the SolverNull class #ifndef COMPUTE_SOLVER_NULL_HPP #define COMPUTE_SOLVER_NULL_HPP #include <...
21.567568
73
0.64787
brittonsmith
739c8494350cf191d9e24c8019930ade06e20f14
1,140
cpp
C++
.tutorials/zetcode.com_sources/07_wxWidgets_widgets_I/02_wxBitmapButton/bitmapbutton.cpp
Y2Kill/VSCode-wxWidgets-MinGW-W64-template
6263a547ddb54b6a2fd4fb0836c91b790f8980d7
[ "CC0-1.0" ]
null
null
null
.tutorials/zetcode.com_sources/07_wxWidgets_widgets_I/02_wxBitmapButton/bitmapbutton.cpp
Y2Kill/VSCode-wxWidgets-MinGW-W64-template
6263a547ddb54b6a2fd4fb0836c91b790f8980d7
[ "CC0-1.0" ]
null
null
null
.tutorials/zetcode.com_sources/07_wxWidgets_widgets_I/02_wxBitmapButton/bitmapbutton.cpp
Y2Kill/VSCode-wxWidgets-MinGW-W64-template
6263a547ddb54b6a2fd4fb0836c91b790f8980d7
[ "CC0-1.0" ]
null
null
null
#include "bitmapbutton.h" BitmapButton::BitmapButton(const wxString& title) : wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(250, 130)) { wxImage::AddHandler( new wxPNGHandler ); wxPanel *panel = new wxPanel(this); slider = new wxSlider(panel, ID_SLIDER, 0, 0, 100, wxPoint(10, 30), wxSize...
34.545455
90
0.685088
Y2Kill
739e12ebecbfb83a18bb111ace63527088490fc2
19,377
cc
C++
src/ui/scenic/lib/scenic/session.cc
sunshinewithmoonlight/fuchsia-2003
02b23026dc7fecbad063210d5d45fa1b17feeb8b
[ "BSD-3-Clause" ]
null
null
null
src/ui/scenic/lib/scenic/session.cc
sunshinewithmoonlight/fuchsia-2003
02b23026dc7fecbad063210d5d45fa1b17feeb8b
[ "BSD-3-Clause" ]
null
null
null
src/ui/scenic/lib/scenic/session.cc
sunshinewithmoonlight/fuchsia-2003
02b23026dc7fecbad063210d5d45fa1b17feeb8b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia 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 "src/ui/scenic/lib/scenic/session.h" #include <lib/async/cpp/task.h> #include <lib/async/default.h> #include <lib/async/time.h> #include <trace/...
40.537657
100
0.672189
sunshinewithmoonlight
73a932b1db523bea917aadd851a5c13b16995fe6
13,407
cc
C++
src/c++/perf_analyzer/perf_utils.cc
BobLiu20/client
fb291d78595fe69624f9c220eb6654f98ab4202f
[ "BSD-3-Clause" ]
null
null
null
src/c++/perf_analyzer/perf_utils.cc
BobLiu20/client
fb291d78595fe69624f9c220eb6654f98ab4202f
[ "BSD-3-Clause" ]
null
null
null
src/c++/perf_analyzer/perf_utils.cc
BobLiu20/client
fb291d78595fe69624f9c220eb6654f98ab4202f
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of condi...
31.398126
80
0.62527
BobLiu20
73ab1d14780db312299f85e00d2e9565d763bb08
8,203
cpp
C++
Source/MediaInfo/Multiple/File_MiXml.cpp
meganz/MediaInfoLib
bb7dd9d10039074df6ca92527e20b1df25ad8ee9
[ "BSD-2-Clause" ]
7
2018-04-07T23:57:00.000Z
2021-11-21T19:38:19.000Z
Source/MediaInfo/Multiple/File_MiXml.cpp
meganz/MediaInfoLib
bb7dd9d10039074df6ca92527e20b1df25ad8ee9
[ "BSD-2-Clause" ]
null
null
null
Source/MediaInfo/Multiple/File_MiXml.cpp
meganz/MediaInfoLib
bb7dd9d10039074df6ca92527e20b1df25ad8ee9
[ "BSD-2-Clause" ]
2
2018-12-20T00:00:00.000Z
2021-06-10T19:06:27.000Z
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-compilation #include "Medi...
43.86631
166
0.344386
meganz
73ac5872b13e524dbbafd908d38757145cdb87ab
568
cpp
C++
src/sampapi/0.3.7-R3-1/CPlayerInfo.cpp
kin4stat/SAMP-API
94eb9a0d8218038b7ea0c1132e37b6420e576dbf
[ "MIT" ]
25
2020-01-02T06:13:58.000Z
2022-03-15T12:23:04.000Z
src/sampapi/0.3.7-R3-1/CPlayerInfo.cpp
kin4stat/SAMP-API
94eb9a0d8218038b7ea0c1132e37b6420e576dbf
[ "MIT" ]
null
null
null
src/sampapi/0.3.7-R3-1/CPlayerInfo.cpp
kin4stat/SAMP-API
94eb9a0d8218038b7ea0c1132e37b6420e576dbf
[ "MIT" ]
29
2019-07-07T15:37:03.000Z
2022-02-23T18:36:16.000Z
/* This is a SAMP (0.3.7-R3) API project file. Developer: LUCHARE <luchare.dev@gmail.com> See more here https://github.com/LUCHARE/SAMP-API Copyright (c) 2018 BlastHack Team <BlastHack.Net>. All rights reserved. */ #include "sampapi/0.3.7-R3-1/CPlayerInfo.h" SAMPAPI_BEGIN_V037R3_1 CPlayerInfo::CPlayerInfo(co...
24.695652
100
0.721831
kin4stat
73ad273b87962bae0566e756720aa1ba46726f82
685
cpp
C++
tests/init.cpp
sagerg/cpp-password-reader
4298e78247db6c06b1a9aa8035a86f13705d97ca
[ "BSD-3-Clause" ]
1
2020-07-24T22:51:36.000Z
2020-07-24T22:51:36.000Z
tests/init.cpp
sagerg/cpp-password-reader
4298e78247db6c06b1a9aa8035a86f13705d97ca
[ "BSD-3-Clause" ]
null
null
null
tests/init.cpp
sagerg/cpp-password-reader
4298e78247db6c06b1a9aa8035a86f13705d97ca
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> int main() { const char *FILENAME = "test.csv"; const unsigned int ROWSIZE = 5; std::string users[ROWSIZE] = {"John Doe", "Joe Apple", "Suzan Salo", "Joni Vien", "Apple Tim"}; std::ofstream file(FILENAME); for (int i = 0; i < ROWSIZE; ++i) { if (!i...
25.37037
99
0.449635
sagerg
73ae5330a5c3d6288e55ce0f6ac79c7690f1fcd8
5,241
hpp
C++
src/thread_src/map_gen.hpp
enarvaezrd/vspln-move
d24f3854133f97a18e8d01bd9ba0d0c20c72d201
[ "MIT" ]
null
null
null
src/thread_src/map_gen.hpp
enarvaezrd/vspln-move
d24f3854133f97a18e8d01bd9ba0d0c20c72d201
[ "MIT" ]
null
null
null
src/thread_src/map_gen.hpp
enarvaezrd/vspln-move
d24f3854133f97a18e8d01bd9ba0d0c20c72d201
[ "MIT" ]
null
null
null
#ifndef MAP_GEN #define MAP_GEN #include "uav_ugv_commands.hpp" class ObstacleMapGen { public: ObstacleMapGen(int map_size_, float scale_, int image_size_, float rad_int_, float rad_ext_, std::string laser_topic_) : MapSize(map_size_ + 1), ...
42.266129
150
0.564396
enarvaezrd