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
5bb99e4934fdde31856d7e0bb0f0eafb102b45f1
1,065
cpp
C++
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
// // // #include "Graphics/Light.hpp" namespace aeyon { Light::Light() : m_type(Type::Directional), m_renderMode(RenderMode::Auto), m_color(Color::White), m_intensity(1.0f), m_range(10.0f), m_spotAngle(30.0f) { } void Light::setType(Light::Type type) { m_type = type; } void Light::setRenderMode(Lig...
14.013158
105
0.673239
Trypio
5bb9bfcdcd7d0d8fd4502d33647d8d8e1d387953
1,344
hpp
C++
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
#ifndef FLUX_NORMALMATERIAL_H #define FLUX_NORMALMATERIAL_H #include <iostream> #include <cassert> #include <string> #include <array> #include "FluxMaterial.hpp" #include "FluxRectangle2D.hpp" #include "FluxTexture.hpp" #include "FluxUtils.hpp" #include "FluxError.hpp" #include "SDL_image.h" class Sprite; namespac...
24.888889
97
0.65253
LightCollective
5bbbaddab8dc336f6e06ff3808cfa0dac343e479
1,602
cpp
C++
src/sprite/fix_single_picture_clothe.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/sprite/fix_single_picture_clothe.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/sprite/fix_single_picture_clothe.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2019 // // Lapin library #include "lapin_private.h" // This function turn into a copy of the sent sprite all defaulty filled closet sprites // EXCEPT for the underlying picture. // It is used by dressed sprite to avoid having to repeat big chunks of configura...
31.411765
110
0.691635
Damdoshi
5bbc9a3412b37287ed8fcb2281704c4301529b41
225
cpp
C++
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <stdio.h> #include <string.h> int main() { char a[20]; gets(a); int len=strlen(a); if((a[len-1]-48)%2!=0) { printf("1\n"); } else { printf("0\n"); } return 0; }
13.235294
26
0.431111
Tech-Intellegent
5bbd7208c2480752d8b35039a58d350ff1c306a9
5,360
hpp
C++
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
2
2020-02-11T08:08:00.000Z
2020-11-06T13:51:29.000Z
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
13
2020-02-10T19:04:32.000Z
2021-05-25T14:38:30.000Z
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
1
2021-04-24T20:40:31.000Z
2021-04-24T20:40:31.000Z
// 5.45 AK Magazine class CUP_30Rnd_545x39_AK_M: CA_Magazine { mass = 10; }; class CUP_60Rnd_545x39_AK74M_M: CUP_30Rnd_545x39_AK_M { mass = 20; }; // 762 AK Magazine class CUP_30Rnd_762x39_AK47_M: CA_Magazine { mass = 11; }; class CUP_30Rnd_762x39_AK47_bakeli...
27.208122
107
0.651679
SynixeContractors
5bc82887e54501ec6502d9ea13c9631ddd38d84f
1,788
hpp
C++
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
8
2020-11-26T08:58:55.000Z
2021-11-13T10:57:55.000Z
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
null
null
null
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 RoboMaster-OSS // // 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 ...
29.311475
75
0.750559
robomaster-oss
5bc82ab3d81ac76d5faeba692edd565987e101a9
509
cpp
C++
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#include "FourBarracksMarine.h" #include "..\..\UnitUtil.h" using UAlbertaBot::MetaPairVector; using UAlbertaBot::MetaPair; using UAlbertaBot::UnitUtil::GetAllUnitCount; AKBot::FourBarracksMarine::FourBarracksMarine(BWAPI::Player self) : _self(self) { } void AKBot::FourBarracksMarine::getBuildOrderGoal(MetaPairVect...
28.277778
95
0.787819
kant2002
5bc8b174cbfb092c780ac0cdfaa72ab30645cdd9
923
hpp
C++
src/app/shady.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/app/shady.hpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/app/shady.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#pragma once #include "app/window.hpp" #include "input/input_listener.hpp" #include "scene/scene.hpp" #include <memory> namespace shady::app { class Shady : public input::InputListener { public: ~Shady() override = default; void Init(); void MainLoop(); // InputListener ov...
17.75
77
0.670639
JacobDomagala
5bc8cbd7a0d5107c2cce44332aa4e5e09684301d
4,308
cc
C++
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
1
2021-02-02T06:19:24.000Z
2021-02-02T06:19:24.000Z
#include "mediapipe/framework/calculator_framework.h" #include "mediapipe/framework/port/logging.h" // #include "mediapipe/framework/formats/image_frame.h" // #include "mediapipe/framework/formats/image_frame_opencv.h" // #include "mediapipe/gpu/gpu_buffer.h" #if !defined(MEDIAPIPE_DISABLE_GPU) // #include "mediapip...
34.190476
101
0.539461
milad-4274
5bcb04a9abf5ae86e5f923df933b641ce434e06b
940
cpp
C++
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; typedef unsigned int uint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool flag=c=='...
18.431373
45
0.610638
sshockwave
5bcd206e9835466a5120b4089c129d50f349fe17
386
cpp
C++
cmake/tests/cxx14_variable_templates.cpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2019-04-29T08:34:59.000Z
2019-04-29T08:34:59.000Z
cmake/tests/cxx14_variable_templates.cpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2017-07-24T07:16:26.000Z
2017-07-24T08:03:33.000Z
cmake/tests/cxx14_variable_templates.cpp
biddisco/hpx
2d244e1e27c6e014189a6cd59c474643b31fad4b
[ "BSL-1.0" ]
1
2019-03-13T04:53:43.000Z
2019-03-13T04:53:43.000Z
// Copyright (C) 2017 Hartmut Kaiser // // 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) struct true_type { enum { value = 1; } } template <typename T> struct is_foobar : true_type {}; template <typename T>...
21.444444
80
0.709845
bremerm31
5bd1983220b8653b058e44faf0c7964ae1015047
1,672
cpp
C++
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
4
2019-05-20T19:27:09.000Z
2019-11-03T04:21:53.000Z
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
5
2019-05-21T12:56:22.000Z
2019-06-23T21:33:33.000Z
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
null
null
null
#include "cws80_data_plot.h" #include "utility/dynarray.h" #include "utility/scope_guard.h" #include "utility/c++std/string_view.h" #include <memory> namespace cws80 { static std::string escape(cxx::string_view str) { size_t len = str.size(); std::string result; result.reserve(len * 2); for (size_t i ...
26.125
80
0.546053
jpcima
5bd806f42789913af748eb5eeb16f939325577bf
344
hpp
C++
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-04-24T10:04:37.000Z
2018-05-11T08:27:03.000Z
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
null
null
null
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-05-16T08:44:19.000Z
2020-12-04T16:04:32.000Z
#include <opencv2/opencv.hpp> #include "../../../util/src/OpenCVWindow.hpp" #include "../../../util/src/Projection.hpp" class ProjectionWindow : public OpenCVWindow { public: ProjectionWindow(cv::Point2i position, cv::Size size, Projection& projection); void drawImage(cv::Mat image_camera); protected: Pro...
22.933333
80
0.715116
fbredius
5bd82e7c893eca589657ac7020b43b620c7bbaba
4,694
cpp
C++
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */...
25.372973
80
0.722625
luisivan
5be2ffad3758934f15928b7bb11b0380c0c2bdb4
638
cpp
C++
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
#include<stdio.h> #include<string> #include<string.h> #include<iostream> #include<stdlib.h> #include<signal.h> #include<unistd.h> #include<sqlite3.h> #include<signal.h> #include"HandleSigint.h" #include"fileRemove.h" using namespace std; /*this function will remove files after year*/ extern sqlite3 *db; void fileRemove...
22
72
0.760188
Linux-pt
5be410cbc70bb1984ca3c0ecc7a8ef02d9c55287
1,907
cpp
C++
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
/* write a program to demonstrate private inherited variables access permission */ #include <iostream> using namespace std; class A { private: int id; public: A(): id(0) { cout << "Calling from A" << endl; } public: A(int p_id): id(p_id) { } public: int GetId() { return id; } }; class B: public A...
17.82243
97
0.65076
Imran4424
5bea5f5e6bf1779dc4096ee2588acd72e2ed5184
383
cpp
C++
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
//545D - Queue #include<stdio.h> #include <algorithm> using namespace std; int main(){ int n; int que[100000],p=0; scanf("%d",&n); for(int i=0;i<n;i++)scanf("%d",&que[i]); sort(que,que+n); long long suma=0; for(int i=0;i<n;i++){ if(suma<=que[i]){ p++; sum...
17.409091
44
0.462141
wgarcia1309
5bf1edef9eff26c7e93c255bced0cf2f11366586
1,800
cpp
C++
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
1
2016-10-18T02:29:20.000Z
2016-10-18T02:29:20.000Z
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
// Common/StringToInt.cpp #include "StdAfx.h" #include "StringToInt.h" UInt64 ConvertStringToUInt64(const char *s, const char **end) { UInt64 result = 0; for (;;) { char c = *s; if (c < '0' || c > '9') { if (end != NULL) *end = s; return result; } resul...
18.367347
68
0.46
LiveMirror
5bff29986e5e26f27a8f4a9811d4b3a62c335423
194
cpp
C++
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int H,M,S,time; cin>>time; H=time/3600; time%=3600; M=time/60; time%=60; S=time; cout<<H<<':'<<M<<':'<<S; return 0; }
12.933333
26
0.541237
codexvn
7502e62de121ada92a815e67c913fb52a43ed365
1,624
inl
C++
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
namespace ph { template<typename T, typename... Args> void EntitiesTemplateStorage::assign(const std::string& templateName, Args&&... arguments) { auto entityTemplate = mTemplatesMap.at(templateName); mTemplatesRegistry.assign<T>(entityTemplate, arguments...); } template<typename T, typename... Args> void EntitiesT...
29
101
0.78633
MirrasHue
75043a97fd2b37be88b853d11ae47972b47c2e83
3,204
cpp
C++
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
// This file is part of the Yttrium toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include <yttrium/base/logger.h> #include "ring_log.h" #include <atomic> #include <cassert> #include <condition_variable> #include <iostream> #include <mutex> #include <thread> namespace { static...
24.458015
131
0.669164
blagodarin
7506eb9c65e13225df00efd8f07260a6c9016d1f
512
hpp
C++
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // 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> // #ifndef XYO_DATASTRUCTURES_TGETCLASSOFMEMBER_HPP #define XYO_DATASTRUCTURES_TGETCLASSOFMEMBER_HPP #ifndef XYO__DEPEN...
18.285714
63
0.703125
g-stefan
750723c6225ceb501ee7042e102824b9504268d1
3,801
cpp
C++
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
16
2017-02-28T20:03:06.000Z
2021-01-25T05:27:05.000Z
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
null
null
null
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
7
2019-09-25T17:48:51.000Z
2021-10-05T08:43:37.000Z
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
32.487179
85
0.572481
Outerra
750e410c6d3a5070660bcb480b0dbca3cf91cdc3
3,073
cxx
C++
207_course_schedule/207_course_schedule.cxx
MonikaBhasin7/leetcode
a771c38242413e3ac0aacf08db43917bbc564765
[ "MIT" ]
12
2019-09-20T18:16:42.000Z
2022-01-08T23:58:16.000Z
207_course_schedule/207_course_schedule.cxx
Mogileeswaran/leetcode
532d6f88b65440a81c4bb0985d3688eee6414ac8
[ "MIT" ]
null
null
null
207_course_schedule/207_course_schedule.cxx
Mogileeswaran/leetcode
532d6f88b65440a81c4bb0985d3688eee6414ac8
[ "MIT" ]
3
2019-10-08T21:26:31.000Z
2021-09-18T13:29:38.000Z
// Copyright (c) 2018-2019 Philip Deljanov // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, p...
35.321839
98
0.627075
MonikaBhasin7
750e9a995ec127b04ba7b8b5c066e87f225ae54a
1,023
hpp
C++
libs/core/include/fcppt/function_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/function_impl.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/function_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_FUNCTION_IMPL_HPP_INCLUDED #define FCPPT_FUNCTION_IMPL_HPP_INCLUDED #include <fcppt/...
28.416667
80
0.72825
freundlich
75137404f640283d792df4e96e99350df1ea95c5
5,511
hh
C++
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
3
2021-05-19T14:33:59.000Z
2022-03-14T02:12:47.000Z
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
null
null
null
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
1
2020-01-24T15:10:34.000Z
2020-01-24T15:10:34.000Z
/*--------------------------------------------------------------------------*\ | | | SparseTool : DRIVER FOR TESTING THE TOOLKIT INTERFACING WITH UMFPACK | | | | dat...
27.147783
89
0.506986
ceccocats
75141c854073599766c07027f50bbc9989a95064
3,883
hpp
C++
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
1
2019-05-17T05:00:37.000Z
2019-05-17T05:00:37.000Z
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
null
null
null
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
2
2019-05-17T13:00:26.000Z
2019-08-08T11:40:52.000Z
/* * Copyright © 2021 Nikita Dudko. All rights reserved. * Contacts: <nikita.dudko.95@gmail.com> * Licensed under the Apache License, Version 2.0 */ #pragma once #include <cstddef> #include <functional> #include <memory> #include <stdexcept> #include <string> #include <string_view> #include <utility> #include <ve...
29.416667
77
0.679887
lem0nez
75166c6ae44d0e14e858b02a5b7a8807cb73d6e4
648
cpp
C++
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
#include <catch/catch.hpp> #include <2020/Day05Puzzle.hpp> namespace TwentyTwenty { TEST_CASE("Day 5 getSeatInfo works", "[2020][Day05]") { const auto indexes = Day05Puzzle::getSeatInfo("FBFBBFFRLR"); REQUIRE(44 == indexes.row); REQUIRE(5 == indexes.column); REQUIRE(357 == indexes.seatId); } TEST_C...
20.25
62
0.648148
MarkRDavison
7518c409840daa6eb4498fd901ce4eeccaf7d95d
1,146
cpp
C++
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <initializer_list> #include <string> #include <memory> using namespace std; class StrBlob { public: typedef vector<string>::size_type size_type; StrBlob(): data(make_shared<vector<string>>()) { }; StrBlob(initializer_list<string> il): data(make_shared<vector<s...
22.038462
57
0.630017
Links789
752318ebdaf95cddb8d6023cbdf05e11e4832007
6,885
hpp
C++
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file Utility_TetrahedronHelpers.hpp //! \author Alex Robinson, Eli Moll //! \brief Tetrahedron helper functions //! //---------------------------------------------------------------------------// #ifndef UTILITY_TETRAHEDRON_HE...
35.673575
80
0.620625
lkersting
970cb03d6ee4217ba5ea5004c6fcebc2d5abdc5e
2,718
hpp
C++
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
180
2017-09-11T00:44:36.000Z
2022-03-25T09:23:47.000Z
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
109
2015-01-19T07:33:38.000Z
2017-08-12T00:29:13.000Z
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
32
2017-09-20T10:47:29.000Z
2022-03-24T06:13:03.000Z
/// /// \file Archive/ArchiveEntry.hpp /// /// Library storage for archive entries. /// Entries are used for polymorphic factories. /// /// \copyright /// Copyright (c) 2016-2017 Josh Blum /// SPDX-License-Identifier: BSL-1.0 /// #pragma once #include <Pothos/Config.hpp> #include <Pothos/Archive/StreamArchiver.hpp> #i...
24.486486
86
0.69794
lsbharadwaj
9711cbf792a9b7244e3a13751f0ad904f5f13f7d
253
cpp
C++
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/* bai 11 1352 C */ #include<stdio.h> #include<math.h> int so(int n, int k){ return (k + floor(k - 1) / (n - 1)); } int main(){ int T; scanf("%d",&T); while(T--){ int n,k; scanf("%d%d",&n,&k); printf("%d\n", so(n, k)); } return 0; }
14.055556
37
0.478261
ducyb2001
971299468b75fc123ae03dff111f16d042561e6f
1,096
hpp
C++
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
2
2020-05-04T15:19:33.000Z
2020-05-22T21:49:47.000Z
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
null
null
null
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
null
null
null
#include <BaseSocket.hpp> #include <sys/socket.h> using namespace EtNet; class CSocketImpl : public EtNet::CBaseSocket { public: CSocketImpl() = default; CSocketImpl(EtNet::ESocketMode opMode) : CBaseSocket(opMode) {} EtNet::ESocketMode testSocketMode() { int type, domain; ...
24.355556
77
0.557482
embtom
9715ac81c1e685e6887f766760088de5dc2472e9
4,247
cpp
C++
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
1
2022-02-05T13:49:09.000Z
2022-02-05T13:49:09.000Z
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
1
2022-03-15T06:54:37.000Z
2022-03-16T05:31:24.000Z
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
null
null
null
#include "pch.h" #include "model_config.h" #include "json/json.h" template <typename T> vector<T> tokenize(const string& data, const char delimiter) { vector<T> result; std::string token; std::stringstream ss(data); while (getline(ss, token, delimiter)) { if (std::is_same_v<T, float>) result.push_ba...
35.099174
107
0.61879
dhkdnduq
9715f950c7d0dfec6cfed867e052a4f75942baef
1,282
cpp
C++
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
2
2019-06-28T08:07:18.000Z
2019-06-28T09:11:00.000Z
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
1
2019-08-26T09:13:39.000Z
2019-08-26T09:13:39.000Z
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
null
null
null
#ifdef _WIN64 || _WIN32 #include <windows.h> #elif __APPLE__ #include "TargetConditionals.h" #if TARGET_OS_IPHONE && TARGET_IPHONE_SIMULATOR // define something for simulator #elif TARGET_OS_IPHONE // define something for iphone #else #define TARGET_OS_OSX 1 // defin...
25.137255
71
0.653666
hana-alice
97214b83a74b0f043d57a6df8a4bceac33d44a54
1,759
hh
C++
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
3
2016-10-05T17:57:53.000Z
2021-01-13T04:12:20.000Z
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
2
2019-08-23T12:05:46.000Z
2019-08-23T12:24:31.000Z
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
4
2018-01-26T05:20:00.000Z
2022-03-30T21:59:55.000Z
/****************************************************************************** This source file is part of the Delaunay project. Copyright T.J. Corona This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distributed u...
28.370968
83
0.715179
vibraphone
972496eac115fa86f80f44223afdb4486f3ae126
53
hxx
C++
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
1
2020-03-13T20:56:48.000Z
2020-03-13T20:56:48.000Z
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
template<class GM,class ACC> void export_mp_based();
17.666667
28
0.792453
amueller
9725a8400863d68e0996631352808776e194afe9
898
cpp
C++
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
mettaursp/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
1
2021-01-17T13:05:20.000Z
2021-01-17T13:05:20.000Z
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
#include "TerrainTypes.h" namespace TerrainTypes { std::shared_ptr<Status> Status::Unloaded() { static Status status; static std::shared_ptr<Status> state(&status, [] (void*) {}); status.State = Enum::ChunkStatus::Unloaded; return state; } float VoxelData::GetOccupancy() const { if (Data & 0x8000) ...
16.943396
63
0.664811
mettaursp
9725f9a2ff65e05b46379a1bdd7fa6886c9a76c8
1,018,452
cpp
C++
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshHandles #include "UnityEngine/ProBuilder/MeshHandles.hpp"...
89.20487
929
0.781459
Fernthedev
972ea6c416ef31d648218b047096e244f33c2350
5,417
cpp
C++
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
9
2020-07-17T15:45:29.000Z
2022-01-17T11:17:22.000Z
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
63
2020-06-18T07:57:45.000Z
2022-03-25T12:52:50.000Z
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
20
2020-07-20T09:51:15.000Z
2022-03-24T09:19:45.000Z
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2021 Sky UK * * 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...
26.169082
97
0.656083
jignatius
97372d5efbca90c4ba27541f517115385b81974c
4,672
cc
C++
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
1
2018-09-26T21:14:37.000Z
2018-09-26T21:14:37.000Z
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
null
null
null
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
null
null
null
#include "costas.h" #include <cassert> #include <cmath> #ifdef __ARM_NEON__ #include "./neon/neon_mathfun.h" #endif #define M_2PI (2 * M_PI) Costas::Costas() { float damp = sqrtf(2.0f)/2.0f; float bw = 0.005f; phase_ = 0.0f; freq_ = 0.0f; alpha_ = (4 * damp * bw) / (1.0 + 2.0 * damp * bw + bw * bw); bet...
26.39548
70
0.574914
lxe
97377533cea3e4ab739e7c37dec9b8596584b958
7,844
cpp
C++
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
/* * chronos, the cron-job.org execution daemon * Copyright (C) 2017 Patrick Schlangen <patrick@schlangen.me> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the L...
25.303226
127
0.720551
ophellos
973b358270688a3e1f65e19ef73ee627a2c363f3
479
cpp
C++
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
10
2020-09-07T14:18:33.000Z
2022-01-15T16:39:25.000Z
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
null
null
null
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
5
2021-04-19T02:15:58.000Z
2022-02-05T14:55:57.000Z
#include "StdAfx.h" #include "Cell.h" CCell::CCell(void) { shMcc.value(-1); shMnc.value(-1); iLac.value(-1); iCellId.value(-1); } CCell::~CCell(void) { } void CCell::readFrom(CJceInputStream& paramd) { } void CCell::writeTo(CJceOutputStream& paramJceOutputStream) { paramJceOutputS...
16.517241
60
0.655532
alex2ching
9742aa30c98975ef40db7c44d5d0b00497c8a943
753
cpp
C++
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void fib(int num){ if(num==1){ cout<<"0 "; } else if(num==2){ cout<<"1 "; } else{ int first_num = 0; int second_num = 1; cout<<first_num<<" "<<second_num<<" "; int new_second; for(int i=3; i<=num; i++){ ...
22.147059
80
0.5166
neerajsingh869
97462a44b917207be0aea1dad73accc1c6a2a186
5,532
cpp
C++
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
1
2021-02-24T23:00:44.000Z
2021-02-24T23:00:44.000Z
#include "Renderer.h" #include <iostream> #include "platform.h" #include <GLES/gl.h> #include <EGL/egl.h> #include <EGL/eglext.h> #include "Font.h" #include <SDL/SDL.h> #include "InputManager.h" #include "Log.h" #ifdef _RPI_ #include <bcm_host.h> #endif namespace Renderer { SDL_Surface* sdlScreen; EGLDisplay d...
23.540426
223
0.685466
dem1980
97599792c4c62fb301288faa1a481411b209e273
10,861
cpp
C++
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch....
30.855114
102
0.652518
zzgchina888
975a772cab49b5a436594142e8021addb6541323
2,081
cpp
C++
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
#include "sym.h" #include <windows.h> #include <Dbghelp.h> #pragma comment(lib, "Dbghelp.lib") /* #pragma comment(lib, "msvcrtd.lib") // msvcmrtd.lib extern "C" { extern char* __unDName(char *,const char*,int,int,int,unsigned short int); extern char* __unDNameEx(char *,const char*,int,int,int,void *,unsign...
20.81
102
0.588179
beru
975de2855a9caa68cbffe7f2d7feb8b4b78bac01
18,449
cpp
C++
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
5
2021-05-27T21:50:33.000Z
2022-01-28T11:54:32.000Z
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#include <iostream> #include "obj.h" #include <GodotGlobal.hpp> #include <Viewport.hpp> #include <StaticBody2D.hpp> #include <SceneTree.hpp> #include <Rect2.hpp> #include <Label.hpp> #include <String.hpp> #include <wchar.h> #include <string> #include <stdlib.h> #include "City.h" #include "Player.h" #inclu...
37.497967
312
0.633313
jerry871002
976068e04faa5cf81f933fc171fcd31c10055d30
298
cpp
C++
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
1
2021-01-12T05:42:07.000Z
2021-01-12T05:42:07.000Z
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
#include <iostream> using namespace std; int main(void){ int init_index=1; int max_val=-1; int new_num=1; for(int i=0;i<9;i++){ cin>>new_num; if(new_num>max_val){ init_index=i+1; max_val=new_num; } } cout<<max_val<<"\n"; cout<<init_index<<"\n"; return 0; }
16.555556
25
0.590604
sml0399
9761c5dea3e304a7ca0027a0edd3606915b8c986
32,263
cpp
C++
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
1
2022-01-05T03:51:02.000Z
2022-01-05T03:51:02.000Z
#include "Renderer/RendererVoxelTerrain.h" #include "Core/Profiler.h" #include "Core/ResourceManager.h" #include "Shader/ShaderMain.h" RendererVoxelTerrain::RendererVoxelTerrain() { SetUniforms(); SetShaders(); } RendererVoxelTerrain::~RendererVoxelTerrain() { } void RendererVoxelTerrain::Init(Scene* scene) { } ...
54.962521
169
0.756005
imgui-works
9765c8a50f00e6b08d045ca6e3a456fb5457b036
7,725
cpp
C++
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
#include "HixConfig.h" #include "HixMQTT.h" #include "HixWebServer.h" #include "secret.h" #include <Arduino.h> #include <ArduinoOTA.h> #include <IRac.h> #include <IRrecv.h> #include <IRremoteESP8266.h> #include <IRtext.h> #include <IRutils.h> #include <ir_Samsung.h> // runtime global variables HixConfig g_config; H...
31.024096
103
0.590421
hixfield
9766e69a3f35868c1e6305d430e86f975943c091
451
cpp
C++
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" namespace...
32.214286
98
0.547672
vishnuk007
9767dfb1a725fa9ae232f2c9e57b067c1937a06b
1,482
cpp
C++
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
#include "gtest/gtest.h" #include <fstream> #include <hypro/datastructures/HybridAutomaton/HybridAutomaton.h> #include <hypro/datastructures/reachability/Settings.h> #include <hypro/parser/antlr4-flowstar/ParserWrapper.h> TEST( ParserTest, ParseAutomaton ) { using namespace hypro; // create model-file. std::ofstr...
28.5
116
0.751687
hypro
976c4149789956fee078a3de90d99e6043886fad
416
cpp
C++
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
/* * Created by * Shivani Bhardwaj <shivanib134@gmail.com> */ #include<iostream> #define MOD 1000007 using namespace std; int main() { int T; uint64_t N,r,s; cin>>T; while(T--) { cin>>N; r=N*(N+1); r%=MOD; s=N*(N-1); s/=...
14.857143
44
0.377404
shivanib01
9774dcb1f5bcf2b97467e4ec34013ab6e8306940
7,165
cpp
C++
Samples/NodeEditor/Font/FontGen.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
Samples/NodeEditor/Font/FontGen.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
Samples/NodeEditor/Font/FontGen.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
/* ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2010 Charlie C. Contributor(s): none yet. ------------------------------------------------------------------------------- This software i...
18.61039
119
0.619958
gamekit-developers
9777594691a8ea3733d7cb02e2b1ca29e91db8e3
22,146
cpp
C++
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Chalico_Character_BP_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------...
30.336986
249
0.745372
2bite
97807f636c765e316cc56cf2d2e3b4a9bb38ee1c
303
cpp
C++
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS //Eigen won't work otherwise. #endif #define MACKEY_USE_OPEN_MP #include "Groups/C4.hpp" #include "impl/Test_Massey.ipp" int main() { mackey::test::test_Massey<C4<Eigen::Matrix<short, 1, -1>, Eigen::SparseMatrix<short>>>(); return 0; }
23.307692
90
0.755776
NickG-Math
97845eee4bcfc72dfc283f98c4fb2bb1682db878
1,942
cc
C++
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
10
2018-12-26T23:08:40.000Z
2021-02-04T23:22:01.000Z
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
40
2018-12-15T21:10:04.000Z
2021-07-29T06:21:22.000Z
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
6
2018-12-15T20:46:19.000Z
2020-11-27T09:39:34.000Z
// %bin(thrust_stand_control_test_balsaq_main) #include "control/test_stand/thrust_stand_control_test_bq.hh" #include "infrastructure/balsa_queue/bq_main_macro.hh" // %deps(yaml-cpp) #include <cassert> namespace jet { namespace control { namespace { // Generate a servo command from the pre-ordained yaml format Quad...
25.552632
79
0.730175
sentree
9787da1e44fe4e2ac444c1fcae16a13f17576eaf
20,998
cpp
C++
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) 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 Lic...
27.88579
115
0.635632
sparkoss
978ad894f348097280073ead77b046ee1ec80368
2,704
cpp
C++
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
1
2022-03-21T05:28:49.000Z
2022-03-21T05:28:49.000Z
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
null
null
null
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> #include <queue> #include <cmath> #include "graph.h" using namespace std; const double loss_prob = 0.2; vector<int> edges[NODE_NUM_MAX]; int weight[NODE_NUM_MAX]; int TW; int n; // tot node number int in_deg[NODE_NUM_MAX]; double value[NODE_...
26.509804
113
0.534763
Fisher-Wang
978b0745cdbb9a7290a6b84e53810831e21dadd7
822
hpp
C++
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
1
2019-06-14T10:35:50.000Z
2019-06-14T10:35:50.000Z
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once namespace gridtools { /** \ingroup storage * @{ */ /** * @brief A class that represents th...
25.6875
107
0.63382
jdahm
978e020e66f0cc4e3c67b9b86e74a1afac53c2e5
8,739
cc
C++
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
1
2016-02-25T12:48:59.000Z
2016-02-25T12:48:59.000Z
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
null
null
null
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
2
2016-02-25T12:49:14.000Z
2017-07-06T14:00:54.000Z
/* * ===================================================================================== * * Filename: TcpServerBase.cc * * Description: TcpServerBase * * Version: 1.0 * Created: 2015年04月08日 21时00分30秒 * Revision: none * Compiler: gcc * * Author: Petrus (),...
34.405512
130
0.662433
codeplayer2org
9792904fa9b0d2d6dd78e2e6415ed2f7c3b9b867
3,942
cpp
C++
Shoot/src/CacheFile.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Shoot/src/CacheFile.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Shoot/src/CacheFile.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: May 31st 2013 */ #include "Shoot.h" #include "CacheFile.h" namespace shoot { //! statics std::map<std::string, CacheFile::Info> CacheFile::m_sCache; //! clears the cache void CacheFile::Clear() { for(std::map<std::string, CacheFile::Info>::iterator it = m_sCache.begin(); it ...
19.809045
115
0.625824
franticsoftware
97930b3d0c3748085ae805bf5c5aa90a79a32826
1,103
cpp
C++
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
8
2022-01-16T02:56:56.000Z
2022-03-31T02:09:53.000Z
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
null
null
null
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
null
null
null
#include "engineprocess.h" #include <QDebug> #include <QDir> #include <QFileInfo> EngineProcess::EngineProcess(const QString &program, QObject *parent) : QProcess(parent) { setProgram(program); setWorkingDirectory(QFileInfo(program).dir().absolutePath()); } void EngineProcess::start() { // auto data...
20.425926
71
0.599275
shogimaru
9794dd433874f8d290e4c2a90d8d222ae4ab394c
200,676
inl
C++
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.294868559f, 0.486702561f}, std::array<float,2>{0.655109107f, 0.635469735f}, std::array<float,2>{0.930609345f, 0.155407801f}, std::array<float,2>{0.0130536128f, 0.92444694f}, std::array<float,2>{0.229893953f, 0.0536426306f}, std::array<float,2>{0.753561437f, 0.823331594f}, std::array<float,2>{0.51...
48.993164
52
0.734652
st-ario
97a2afd505a844aa2fcd8175fddc03dda559acf6
420
cpp
C++
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
1
2021-09-10T00:49:21.000Z
2021-09-10T00:49:21.000Z
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
null
null
null
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
null
null
null
#include "kasofs/kasofs.hpp" #include <cstdlib> // EXIT_SUCCESS/EXIT_FAILURE int main() { auto owner = kasofs::User{0, 0}; auto vfs = kasofs::Vfs{owner, kasofs::FilePermissions{0707}}; auto maybeRoot = vfs.nodeById(vfs.rootId()); if (!maybeRoot) return EXIT_FAILURE; return (*maybeRoot)....
24.705882
66
0.640476
abbyssoul
97a30db1852441ffd5dca54c1338088dbe2784a9
2,669
cpp
C++
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
1
2019-03-15T17:24:52.000Z
2019-03-15T17:24:52.000Z
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
// #define BOOST_TEST_MODULE parsers // #include <boost/test/included/unit_test.hpp> // #include "systems/system.hpp" // // #include "parsers/potential_energy.hpp" // #include "parsers/cluster_parser.hpp" // BOOST_AUTO_TEST_SUITE(parsers) // BOOST_AUTO_TEST_CASE(surface_reconstruction_test) // { // const char*...
48.527273
218
0.666542
simonraschke
97a87e267247141171fd05173a28642a5e57f6e6
268
cpp
C++
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "concrete_creator.h" #include "concrete_product.h" concrete_creator::concrete_creator(): creator() { } concrete_creator::~concrete_creator() = default; i_product * concrete_creator::create_product() { return new concrete_product; }
14.888889
47
0.761194
vigilantmaster
97b6bfeee73bce76ec634b36cb5a73eaadaccd83
274
cpp
C++
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
1
2018-11-15T18:53:44.000Z
2018-11-15T18:53:44.000Z
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
null
null
null
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
null
null
null
#include "DirectionalLight.h" namespace a3d { DirectionalLight::DirectionalLight(Vector direction, Colour colour) : Light(LightTypes::DIRECTIONAL, colour), _direction(direction) { } const Vector& DirectionalLight::getDirection() const { return _direction; } }
18.266667
68
0.751825
Catchouli-old
b6323b4945ccbe85e4773b134f7618dc504394a6
1,892
cpp
C++
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
1
2020-06-23T06:30:59.000Z
2020-06-23T06:30:59.000Z
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
null
null
null
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
null
null
null
// // Created by Mor on 30/04/2020. // #include "SongPlays.h" SongPlays::SongPlays(int songId, int artistId, MostPlayedListNode *ptrToListNode) : songId(songId), artistId(artistId), ptrToListNode(ptrToListNode), ptrToSong(nullptr) {} int SongPlays::getSongId() const { return songId; } int SongPlays::get...
25.917808
128
0.678118
sivanyo
b632f568d5015ffa645885cda063fc7f4d3a5521
2,986
cpp
C++
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
3
2022-01-11T03:29:03.000Z
2022-02-03T03:46:44.000Z
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
27
2022-02-02T04:54:29.000Z
2022-03-27T18:58:15.000Z
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SpawningActor.h" #include "GruntCharacter.h" #include "CustomGameMode.h" #include "Kismet/GameplayStatics.h" #include "GameFramework/GameModeBase.h" #include "DrawDebugHelpers.h" #include "EngineUtils.h" #include "SymbioticGameMo...
20.736111
123
0.713999
Verb-Noun-Studios
b63afe8194090ac5b4c1ab136c4bc586106ba9d8
416
hpp
C++
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
// From https://www.geeksforgeeks.org/find-significant-set-bit-number/ #ifndef INCLUDED_ROUND_DOWN_TO_POWER_OF_2_HPP #define INCLUDED_ROUND_DOWN_TO_POWER_OF_2_HPP #include <cstddef> inline constexpr std::size_t round_down_to_power_of_2(std::size_t n) { if (n == 0) return 0; int msb = 0; n = n ...
18.086957
70
0.629808
mstankus
b63fc4e65fd426699d624b3f0fd5e009206123af
25,052
cpp
C++
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
4
2019-09-05T22:22:57.000Z
2021-03-28T02:09:24.000Z
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. 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 t...
32.963158
115
0.433059
RogerioY
b642a8d35135ae8eb5183376dff83b920344d05b
5,828
cpp
C++
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
#include "Components\Collider.h" #include "Components\Transform.h" #include "Components\Terrain.h" #include "Components\RigidBody.h" #include "Components\PlayerController.h" #include "Entitys\GameObject.h" #include "Physics\PhysXManager.h" #include "all_includes.h" #include <algorithm> Collider::Collider() { m_phy...
23.595142
187
0.721174
JustenG
b652cac6890f2b0a6b0635531a8a1e3f243f4b43
1,807
cc
C++
src/proto/test_helper.cc
cuisonghui/tera
99a3f16de13dd454a64d64e938fcfeb030674d5f
[ "Apache-2.0", "BSD-3-Clause" ]
2,003
2015-07-13T08:36:45.000Z
2022-03-26T02:10:07.000Z
src/proto/test_helper.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
981
2015-07-14T00:03:24.000Z
2021-05-10T09:50:01.000Z
src/proto/test_helper.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
461
2015-07-14T02:53:35.000Z
2022-03-10T10:31:49.000Z
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "proto/test_helper.h" #include "common/base/string_number.h" #include "proto/table_schema.pb.h" namespace tera { TableSchema DefaultTableSchema...
24.753425
79
0.731599
cuisonghui
b6578e72e8dc79fb8c89b0c68d441905d7e96261
927
cpp
C++
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
#include "ModuleInput.h" #include "Application.h" #include "ModuleRender.h" #include <iostream> //TODO: Create log systemS #include "GLFW/glfw3.h" bool ModuleInput::PreUpdate() { glfwPollEvents(); if(glfwGetKey(App->m_Render->m_window, GLFW_KEY_ESCAPE) == GLFW_PRESS) glfwSetWindowShouldClose(App->m_Ren...
25.054054
74
0.704423
solidajenjo
b657f26d3d6f34b77e0449a66e73d171a044ee63
1,527
cpp
C++
cpp/src/msg_server/HttpParserWrapper.cpp
KevinHM/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
22
2015-05-02T11:21:32.000Z
2022-03-04T09:58:19.000Z
cpp/src/msg_server/HttpParserWrapper.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
null
null
null
cpp/src/msg_server/HttpParserWrapper.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
21
2015-01-02T01:21:04.000Z
2021-05-12T09:52:54.000Z
// // HttpPdu.cpp // http_msg_server // // Created by jianqing.du on 13-9-29. // Copyright (c) 2013年 ziteng. All rights reserved. // #include "HttpParserWrapper.h" #include "http_parser.h" CHttpParserWrapper* CHttpParserWrapper::m_instance = NULL; CHttpParserWrapper::CHttpParserWrapper() { } CHttpParserWrapper...
22.455882
83
0.72888
KevinHM
b6580db2284ebba5387c2475713446ccbb7d1b37
688
hpp
C++
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
6
2019-04-12T19:51:23.000Z
2021-09-16T07:12:57.000Z
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
null
null
null
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
1
2019-07-07T07:23:58.000Z
2019-07-07T07:23:58.000Z
// // mesh_Generated_multi_faults.hpp // hybrid_fem_bie // // Created by Max on 2/13/18. // // #ifndef mesh_Generated_multi_faults_hpp #define mesh_Generated_multi_faults_hpp #include <stdio.h> #include <iostream> #include <Eigen/Eigen> #include "Meshrectangular.hpp" #include "update_mesh_topology.hpp" #include "s...
27.52
278
0.774709
XiaoMaResearch
b65e92954048b8e7386489defc4ff1a542622328
1,021
cpp
C++
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
null
null
null
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
1
2022-01-21T16:26:39.000Z
2022-01-21T16:55:33.000Z
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> unsigned n_of_chars_in_memory(std::string const &s) { unsigned sum(0); for(auto i = 1; i < s.size()-1; ++i) { sum++; if(s.at(i) == '\\') { if(s.at(i+1) == 'x') i+=3; else i++; } } re...
23.204545
59
0.468168
two-six
b66fbd2a5f4a1bd9d166b98296b4a14729fbcdc2
5,521
hpp
C++
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
26.671498
80
0.690636
voxie-viewer
b67505036df98c899510c61ab158cff7395792ad
2,409
hpp
C++
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
#ifndef APPLICATION_SOLAR_HPP #define APPLICATION_SOLAR_HPP #include "application.hpp" #include "model.hpp" #include "structs.hpp" #include "pixel_data.hpp" #include "texture_loader.hpp" #include <scene_graph.hpp> // gpu representation of model class ApplicationSolar : public Application { public: // allocate and ...
26.184783
77
0.7555
Mielein
b6759b1c1cb1200bb2efa0ade160b07c458788f0
2,714
cpp
C++
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
2
2021-03-25T05:50:17.000Z
2021-04-06T12:53:18.000Z
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
1
2021-03-09T00:03:56.000Z
2021-03-09T00:03:56.000Z
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
1
2021-04-05T13:10:55.000Z
2021-04-05T13:10:55.000Z
#include <mem_comparable_closure.hpp> #include "widget.hpp" #include "gui_event.hpp" #include "ui.hpp" #include "backend/xcb_backend.hpp" using fluxpp::Ui; using fluxpp::backend::XCBBackend; using namespace mem_comparable_closure; using namespace fluxpp::widgets::screen; using namespace fluxpp::widgets::application;...
31.55814
95
0.707811
Glinrens-corner
b677bc2892b5acf998fecfd548d31cc6f3e96c29
153
inl
C++
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
1
2020-04-26T03:07:12.000Z
2020-04-26T03:07:12.000Z
// -*- C++ -*- ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Shared_Object::ACE_Shared_Object (void) { } ACE_END_VERSIONED_NAMESPACE_DECL
15.3
44
0.751634
azerothcore
b67adaee3804aaafbb3f8f8a7b5b2af2f26b0466
1,601
cpp
C++
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** #define MAXN 15 int N; int M[MAXN][MAXN]; struct edge_t { int i, j; }; bool operator<(edge_t lhs, edge_t rhs) noexcept { return M[lhs.i][lhs.j] < M[rhs.i][rhs.j]; } bool connected(edge_t lhs, edge_t rhs) { return lhs.i == rhs.i || lhs.j == rhs.i ...
20.792208
80
0.490319
brunodccarvalho
b67d23d70ddb63d1283152d45294363517bb11cc
541
cpp
C++
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
1
2021-06-28T11:24:42.000Z
2021-06-28T11:24:42.000Z
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
#include "Material.hpp" namespace Avokii::Graphics { Material::Material() { } Material::Material( ResourceLoader& r_loader ) { (void)r_loader; AV_NOT_IMPLEMENTED; } std::shared_ptr<Material> Material::LoadResource( ResourceLoader& r_loader ) { (void)r_loader; AV_NOT_IMPLEMENTED; return {}; } voi...
16.90625
87
0.713494
Katipo007
b680f864e5316eac3e79dc00d1d7a1a6e6331774
1,282
hpp
C++
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#ifdef COFFEE_OS_WINDOWS #include "system/input/mouse/input_mouse.h" #include "wide/application/application.h" namespace coffee { namespace input { //-OPERATIONS---------------------------------------------------------------------------------// void MouseButton::Update(const basic::Time& time_step) { ...
25.137255
100
0.457878
skarab
b6813ddc36cbf25afa1760a597443c2d9f772a74
1,776
cpp
C++
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
#include <EditorPluginKrautPCH.h> #include <EditorFramework/EditorApp/EditorApp.moc.h> #include <EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.h> // clang-format off EZ_BEGIN_STATIC_REFLECTED_TYPE(ezKrautAssetMaterial, ezNoBase, 1, ezRTTIDefaultAllocator<ezKrautAssetMaterial>) { EZ_BEGIN_PROPERTIES { ...
48
162
0.817005
alinoctavian
b681445beca2d805c50439def8635b8c4066945e
3,640
cc
C++
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */ /********************************************************************* Copyright 1999-2007, University of Cincinnati. All rights reserved. By using this software the USER indicates that he or she has read, understood and will comply with the f...
30.847458
76
0.740385
nerdling
b681d88a54998d29575d60c45f96efc581cb8aa1
13,914
hpp
C++
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <set> #include <algorithm> #include <boost/algorithm/string/case_conv.hpp> #define BOOST_LOCALE_ENABLE_CHAR16_T 1 #define BOOST_LOCALE_ENABLE_CHAR32_T 1 #include <boost/locale.hpp> #include "crunningerror.hpp" namespace MoonDb { class CIconv { public: /** ...
22.050713
146
0.617004
zzccttu
b68d417fffaab37cc64634972a1a8c89b0820cc5
850
hpp
C++
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-17T07:33:48.000Z
2018-09-12T13:03:23.000Z
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-30T03:54:51.000Z
2021-03-09T22:36:13.000Z
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include <boost/variant.hpp> #include <components/material/material.hpp> #include <components/light/light.hpp> #include <components/light/pointlight.hpp> #include "data-container.hpp" #include "singleton.hpp" namespace Engine { namespace Data { template <type...
21.25
78
0.656471
DavidPeicho
b6925aa9428f366a426078f537d113393c154362
65,944
cc
C++
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
3
2015-01-01T16:04:49.000Z
2016-05-08T13:54:15.000Z
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
null
null
null
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
null
null
null
// Copyright 2006-2008 the V8 project authors. 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 lis...
33.389367
80
0.681715
martine
b6958eef89a7093d2879e57ef381231442a0232b
10,318
cpp
C++
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
4
2021-06-30T16:00:20.000Z
2021-10-13T06:17:56.000Z
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
#include "D3D12DescriptorCreator.hpp" #include "D3D12SrvDescriptorManager.hpp" D3D12::DescriptorCreator::DescriptorCreator(FrameGraph* frameGraph, RenderableScene* renderableScene): mFrameGraphToCreateDescriptors(frameGraph), mSceneToMakeDescriptors(renderableScene) { mTextureTableRequestState = DescriptorReques...
38.356877
208
0.804323
Sixshaman
b69b33d50d34e906eede8e7ca0ce1a8a7780839b
697
hpp
C++
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
2
2017-05-02T13:18:59.000Z
2020-12-23T03:03:26.000Z
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
null
null
null
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
null
null
null
#ifndef __DEV_CGA_VIDEO_HPP__ #define __DEV_CGA_VIDEO_HPP__ #include <dev/Driver.hpp> namespace dev { class StdCgaVideo : public Driver { public: StdCgaVideo(); ~StdCgaVideo(); virtual bool Probe(); virtual void WriteChar(char c); virtual void Write(const char* c); virtual void GotoXY(unsigned shor...
20.5
72
0.728838
RoseLeBlood
b6a54b14e7ca7e67b05b5990701a80e12f9dd7eb
780
hpp
C++
modules/core/src/parallel/parallel.hpp
xipingyan/opencv
39c3334147ec02761b117f180c9c4518be18d1fa
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/core/src/parallel/parallel.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/core/src/parallel/parallel.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #define OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #include "opencv2/core/parallel/p...
26
90
0.802564
xipingyan
b6a82b1e560222979105dfc6b80da5fc28f01b97
9,480
cpp
C++
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
#include "Settings.h" Settings::Settings(Controls_Settings& settings) : settings(settings) { font.loadFromFile("Dense-Regular.otf"); text.setFont(font); text.setFillColor(Color::White); } Settings::~Settings() { } void Settings::keyEvent(State& state, Keyboard::Key key) { if (isChanging) { changeKey(key); r...
18.772277
141
0.623734
meowniverse
b6ade1fce511f2d5fe22f475af1429c32d270503
4,524
cpp
C++
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
2
2021-09-10T09:48:10.000Z
2021-09-10T20:34:57.000Z
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
null
null
null
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
null
null
null
#include "gui.h" #include <tinysdl.h> #include "imgui.h" #include "imgui_impl_sdl.h" #include "imgui_impl_opengl3.h" using namespace MB; using namespace TinySDL; GUI::GUI(SDL_Window* _window, SDL_GLContext* context) : window(_window) { IMGUI_CHECKVERSION(); ImGui::CreateContext(); ImGui_ImplSDL2_InitF...
42.280374
80
0.683687
luihabl
b6b143763857f7f4243a3c1d6d3c9754f10218ca
9,121
cc
C++
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
1
2021-01-14T15:44:24.000Z
2021-01-14T15:44:24.000Z
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
null
null
null
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
null
null
null
/// \file /// Source code for the class VarContainer and its derived classes. #include <ilang/ila/var_container.h> #include <ilang/ila/ast_hub.h> namespace ilang { VarContainerPtr VarContainer::Make(const std::string& name, const SortPtr& t) { std::string prefix = name + "_"; // also makes name a bit more private...
30.302326
106
0.658042
Anonymous-Stranger
b6c4a2b499ea346fb7350164c4f270152a1e349d
2,936
hpp
C++
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
4
2019-05-03T05:38:15.000Z
2020-08-25T15:23:19.000Z
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
41.352113
80
0.471049
jsiwek
b6c6375a0fa098946132ec8224cc762121989ac7
14,131
hpp
C++
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
2
2021-09-16T15:14:39.000Z
2021-09-17T14:39:52.000Z
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
/// @ref gtc_type_aligned /// @file glm/gtc/type_aligned.hpp /// /// @see core (dependence) /// /// @defgroup gtc_type_aligned GLM_GTC_type_aligned /// @ingroup gtc /// /// @brief Aligned types. /// <glm/gtc/type_aligned.hpp> need to be included to use these features. #pragma once #if !GLM_HAS_ALIGNED_TYPE # error "G...
39.035912
74
0.813884
caolongcl
b6d2f0b95dd1f4736c1502bcb8a27d87bd826a0f
1,531
cpp
C++
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
#include <type_list.h> #include <gtest/gtest.h> namespace stdx::test { struct literal { constexpr literal() = default; }; TEST(TypeList, class_template_argument_deduction) { { using my_type_list = stdx::type_list<int, double, literal>; stdx::type_list tl(int{}, double{}, literal{}); ...
23.553846
65
0.568256
peterlauro