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
4d0c73022fef67c16d3d3c9df859a479c89e6cfd
16,321
cpp
C++
src/peco/net/utils.cpp
littlepush/libpeco
c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e
[ "MIT" ]
1
2020-04-14T06:31:56.000Z
2020-04-14T06:31:56.000Z
src/peco/net/utils.cpp
littlepush/libpeco
c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e
[ "MIT" ]
null
null
null
src/peco/net/utils.cpp
littlepush/libpeco
c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e
[ "MIT" ]
null
null
null
/* utils.cpp libpeco 2022-02-17 Push Chen */ /* MIT License Copyright (c) 2019 Push Chen 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 li...
28.533217
79
0.650818
littlepush
4d0f14fa29ac19f33da798f7a7884ac3909d5d09
1,116
cpp
C++
6. Heaps/buildHeap_in_O(N).cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
6. Heaps/buildHeap_in_O(N).cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
6. Heaps/buildHeap_in_O(N).cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; void print(vector<int> v){ for(int x:v){ cout<<x<<" "; } cout<<endl; } bool minHeap = false; bool compare(int a, int b){ if(minHeap){ return a<b; } else{ return a>b; } } int he...
18
88
0.512545
suraj0803
4d1419b88b24596be819e55615be446ece598eca
11,137
cpp
C++
kernel/platform/pc64/src/init/LoadRootsrv.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
4
2021-06-22T20:52:30.000Z
2022-02-04T00:19:44.000Z
kernel/platform/pc64/src/init/LoadRootsrv.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
kernel/platform/pc64/src/init/LoadRootsrv.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
#include "tar.h" #include "elf.h" #include <platform.h> #include <log.h> #include <runtime/SmartPointers.h> #include <mem/PhysicalAllocator.h> #include <sched/Scheduler.h> #include <sched/Task.h> #include <sched/Thread.h> #include <vm/Map.h> #include <vm/MapEntry.h> #include <bootboot.h> extern "C" BOOTBOOT bootboo...
32.852507
130
0.652779
tristanseifert
4d18095825a90b5f380a9e80b607b58587b2bdd4
604
cpp
C++
CF/1614.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
CF/1614.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
CF/1614.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
/* /\ In The Name Of Allah /\ Author : Jawahiir Nabhan */ #include <bits/stdc++.h> #define pb push_back using namespace std; typedef long long ll; const char nl = '\n'; int main() { int T; cin>> T; while(T--) { int N,l,r,k; cin>> N >> l >> r >> k; vector <int> a(N); for(int ...
20.133333
52
0.390728
jawahiir98
4d18363789494a9ef59749044f51c4b812584f2e
450
cpp
C++
src/app.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
3
2021-08-07T15:11:35.000Z
2021-11-17T18:59:45.000Z
src/app.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
null
null
null
src/app.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
null
null
null
#include <geodesuka/engine.h> #include <geodesuka/core/app.h> namespace geodesuka::core { app::app(engine* aEngine, int argc, char* argv[]) { this->Engine = aEngine; } // This is used engine side to generate thread for Application. void app::run() { // App is now ready to be run. this->ExitApp.store(false...
20.454545
64
0.673333
ShaderKitty
4d1ad0332c11dc690a87a9178325e4946dd8226f
1,193
cpp
C++
12085 Mobile Casanova.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
12085 Mobile Casanova.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
12085 Mobile Casanova.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> using namespace std; unsigned int numbers[100005]; int main() { int N, T = 1; while (cin >> N, N) { for (int i = 0; i < N; ++i) cin >> numbers[i]; numbers[N] = 0; // Never common with the one before it cout << "Case " << T++ << ":\n"; ...
27.744186
88
0.352054
zihadboss
4d1ea956eaaea5c6e3865e987283b15556b26719
1,009
hpp
C++
test/comparison/earcut.hpp
pboyer/earcut.hpp
4ad849c1eb3fa850465f6a14ba31fe03de714538
[ "ISC" ]
16
2020-12-27T16:38:06.000Z
2022-03-19T23:29:50.000Z
test/comparison/earcut.hpp
pboyer/earcut.hpp
4ad849c1eb3fa850465f6a14ba31fe03de714538
[ "ISC" ]
null
null
null
test/comparison/earcut.hpp
pboyer/earcut.hpp
4ad849c1eb3fa850465f6a14ba31fe03de714538
[ "ISC" ]
null
null
null
#pragma once #include <mapbox/earcut.hpp> #include <array> #include <memory> #include <vector> template <typename Coord, typename Polygon> class EarcutTesselator { public: using Vertex = std::array<Coord, 2>; using Vertices = std::vector<Vertex>; EarcutTesselator(const Polygon &polygon_) : polygo...
22.931818
80
0.582755
pboyer
4d270d8fceded650098263a5ff502d5ac9d11ddf
2,962
hpp
C++
ishtar/include/emit/TypeName.hpp
Djelnar/mana_lang
a50feb48bd4c7a7a321bd5f28e382cbad0c6ef09
[ "MIT" ]
null
null
null
ishtar/include/emit/TypeName.hpp
Djelnar/mana_lang
a50feb48bd4c7a7a321bd5f28e382cbad0c6ef09
[ "MIT" ]
null
null
null
ishtar/include/emit/TypeName.hpp
Djelnar/mana_lang
a50feb48bd4c7a7a321bd5f28e382cbad0c6ef09
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <fmt/format.h> #include "compatibility.types.hpp" #include "utils/string.split.hpp" #include "utils/string.replace.hpp" #include <map> using namespace std; struct TypeName; static map<tuple<int, int, int>, TypeName*>* __TypeName_cache = nullptr; struct TypeName { wstring ...
29.326733
138
0.630655
Djelnar
4d28deb35221698a4eb4c16efc6fd23df8704f25
94,063
cc
C++
0012_Integer_to_Roman/0012.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0012_Integer_to_Roman/0012.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0012_Integer_to_Roman/0012.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
// Symbol Value // I 1 // V 5 // X 10 // L 50 // C 100 // D 500 // M 1000 #include <assert.h> #include <array> #include <string> #include <fstream> using std::string; char cheat_chart[][16] = { "","I", "II", "III", "IV", "V"...
543.716763
1,498
0.648331
LuciusKyle
4d297430a48c4e706fb72fb72a3f98aebcd32ae8
16,035
cpp
C++
FGUI/widgets/form.cpp
Jacckii/fgui
668d80b00c8c3e7908f5f67dd42260fe04ac01e4
[ "MIT" ]
null
null
null
FGUI/widgets/form.cpp
Jacckii/fgui
668d80b00c8c3e7908f5f67dd42260fe04ac01e4
[ "MIT" ]
null
null
null
FGUI/widgets/form.cpp
Jacckii/fgui
668d80b00c8c3e7908f5f67dd42260fe04ac01e4
[ "MIT" ]
null
null
null
// // FGUI - feature rich graphical user interface // // library includes #include "form.hpp" #include "groupbox.hpp" namespace FGUI { void CForm::Render() { // handle input system FGUI::INPUT.PullInput(); if (FGUI::INPUT.GetKeyPress(GetKey())) { // toggle main form on and off SetState(!GetState());...
26.115635
207
0.65488
Jacckii
4d2a1af1df214bd2662ea9af9f4330368f286590
5,329
cpp
C++
src/clReflectScan/Main.cpp
chip5441/clReflect
d366cced2fff9aefcfc5ec6a0c97ed6c827263eb
[ "MIT" ]
null
null
null
src/clReflectScan/Main.cpp
chip5441/clReflect
d366cced2fff9aefcfc5ec6a0c97ed6c827263eb
[ "MIT" ]
1
2020-02-22T09:59:21.000Z
2020-02-22T09:59:21.000Z
src/clReflectScan/Main.cpp
chip5441/clReflect
d366cced2fff9aefcfc5ec6a0c97ed6c827263eb
[ "MIT" ]
null
null
null
// // =============================================================================== // clReflect // ------------------------------------------------------------------------------- // Copyright (c) 2011-2012 Don Williamson & clReflect Authors (see AUTHORS file) // Released under MIT License (see LICENSE file) ...
28.497326
139
0.64346
chip5441
4d2d672703c5773c83494c90ace77bba3c193a79
4,527
hpp
C++
include/Mahi/Gui/Transform.hpp
1over/mahi-gui
a460f831d06746eb0e83555305a3eab174ee85b9
[ "MIT" ]
358
2020-03-22T05:30:25.000Z
2022-03-29T13:20:18.000Z
include/Mahi/Gui/Transform.hpp
1over/mahi-gui
a460f831d06746eb0e83555305a3eab174ee85b9
[ "MIT" ]
32
2020-03-25T13:16:28.000Z
2022-02-07T21:58:41.000Z
include/Mahi/Gui/Transform.hpp
1over/mahi-gui
a460f831d06746eb0e83555305a3eab174ee85b9
[ "MIT" ]
64
2020-03-22T16:56:59.000Z
2022-03-19T13:50:18.000Z
// MIT License // // Copyright (c) 2020 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 l...
41.916667
91
0.726972
1over
4d2de854dd84ca179d07c01cb4c557641fbd48ce
1,125
cpp
C++
N0413-Arithmetic-Slices/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0413-Arithmetic-Slices/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0413-Arithmetic-Slices/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
// // main.cpp // LeetCode-Solution // // Created by Loyio Hex on 3/3/22. // #include <iostream> #include <chrono> #include <vector> using namespace std; using namespace std::chrono; class Solution { public: int numberOfArithmeticSlices(vector<int>& nums) { int len = nums.size(); if (len == 1)...
21.226415
74
0.503111
loyio
4d320cb4168e07c288fbf2ffe2ffa85908102660
3,339
cpp
C++
src/SSAO/GBuffer.cpp
fqhd/Sokuban
1b41fb6c6e7c865447824eaffce0dff8c7efafa4
[ "MIT" ]
1
2021-11-17T07:52:45.000Z
2021-11-17T07:52:45.000Z
src/SSAO/GBuffer.cpp
fqhd/Sokuban
1b41fb6c6e7c865447824eaffce0dff8c7efafa4
[ "MIT" ]
null
null
null
src/SSAO/GBuffer.cpp
fqhd/Sokuban
1b41fb6c6e7c865447824eaffce0dff8c7efafa4
[ "MIT" ]
null
null
null
#include "GBuffer.hpp" void GBuffer::init(unsigned int width, unsigned int height){ glGenFramebuffers(1, &m_fboID); glBindFramebuffer(GL_FRAMEBUFFER, m_fboID); // - position color buffer glGenTextures(1, &m_positionTextureID); glBindTexture(GL_TEXTURE_2D, m_positionTextureID); glTexImag...
37.1
105
0.758311
fqhd
2ec0117ea59b42bc7d14cf7d64aef029254fcde2
12,084
cpp
C++
runtime/qrt/internal_compiler/xacc_internal_compiler.cpp
vetter/qcor
6f86835737277a26071593bb10dd8627c29d74a3
[ "BSD-3-Clause" ]
59
2019-08-22T18:40:38.000Z
2022-03-09T04:12:42.000Z
runtime/qrt/internal_compiler/xacc_internal_compiler.cpp
vetter/qcor
6f86835737277a26071593bb10dd8627c29d74a3
[ "BSD-3-Clause" ]
137
2019-09-13T15:50:18.000Z
2021-12-06T14:19:46.000Z
runtime/qrt/internal_compiler/xacc_internal_compiler.cpp
vetter/qcor
6f86835737277a26071593bb10dd8627c29d74a3
[ "BSD-3-Clause" ]
26
2019-07-08T17:30:35.000Z
2021-12-03T16:24:12.000Z
/******************************************************************************* * Copyright (c) 2018-, UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies this distribution. * * Contributors: * Alexa...
33.566667
81
0.638613
vetter
2ec02fda5fe7db14036fea086c6c492bcfbc1353
1,017
cpp
C++
programs/chapter_10/old/example_10_0/modules/pir/pir.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2021-05-03T17:21:37.000Z
2021-06-08T08:32:07.000Z
programs/chapter_10/old/example_10_0/modules/pir/pir.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
null
null
null
programs/chapter_10/old/example_10_0/modules/pir/pir.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2020-10-14T19:06:24.000Z
2021-06-08T08:32:09.000Z
//=====[Libraries]============================================================= #include "mbed.h" #include "pir.h" //=====[Declaration of private defines]====================================== //=====[Declaration of private data types]===================================== //=====[Declaration and initialization of p...
26.076923
79
0.496559
epernia
2ec12e9175f0a442ed2324081911c226e60a13f4
4,563
cpp
C++
src/hir_expand/erased_types.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
1,706
2015-01-18T11:01:10.000Z
2022-03-31T00:31:54.000Z
src/hir_expand/erased_types.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
215
2015-03-26T10:31:36.000Z
2022-03-13T02:04:13.000Z
src/hir_expand/erased_types.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
114
2015-03-26T10:29:02.000Z
2022-03-21T20:59:37.000Z
/* * MRustC - Rust Compiler * - By John Hodge (Mutabah/thePowersGang) * * hir_expand/erased_types.cpp * - HIR Expansion - Replace `impl Trait` with the real type */ #include <hir/visitor.hpp> #include <hir/expr.hpp> #include <hir_typeck/static.hpp> #include <algorithm> #include "main_bindings.hpp" namespace { ...
30.218543
172
0.526846
bjorn3
2ec2130a3012d5f534b52827cbebfd8040e4ea68
3,624
cxx
C++
reflow/dtls_wrapper/DtlsFactory.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
reflow/dtls_wrapper/DtlsFactory.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
reflow/dtls_wrapper/DtlsFactory.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef USE_SSL #include <cassert> #include <iostream> #include <rutil/ssl/OpenSSLInit.hxx> #include <openssl/e_os2.h> #include <openssl/rand.h> #include <openssl/err.h> #include <openssl/crypto.h> #include <openssl/ssl.h> #include "DtlsFactory.hxx" #include "DtlsSocke...
26.452555
94
0.715232
dulton
2ec329002a0f52f0f7939833605fed1fad4d4a0d
2,485
cpp
C++
test/op/Conv2DBackPropTest.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
null
null
null
test/op/Conv2DBackPropTest.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2021-09-07T09:13:03.000Z
2021-09-07T09:13:03.000Z
test/op/Conv2DBackPropTest.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2020-03-10T02:17:47.000Z
2020-03-10T02:17:47.000Z
// // Conv2DBackPropTest.cpp // MNNTests // // Created by MNN on 2019/9/26. // Copyright © 2018, Alibaba Group Holding Limited // #include "MNNTestSuite.h" #include "Expr.hpp" #include "ExprCreator.hpp" #include "TestUtils.h" using namespace MNN::Express; class Conv2DBackPropTest : public MNNTestCase{ virtua...
28.895349
83
0.452314
z415073783
2ecb0e9f2302503b0c1a8944fbdaf30fe9cc14b5
7,820
cpp
C++
moai/src/zlcore/ZLFile.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/zlcore/ZLFile.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/zlcore/ZLFile.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #ifdef NACL #include "NaClFile.h" #endif #include <zlcore/zl_util.h> #include <zlcore/ZLFile.h> #include <zlcore/ZLFileSystem.h> #include <zlcore/ZLVirtualPath.h> #include <zlcore/ZLZipStream.h> #ifdef MOAI_COM...
21.966292
113
0.438491
jjimenezg93
2ed0eaef2a0c250f055097d9314285f0f213c6e5
3,752
cpp
C++
engine/src/Resources.cpp
CutiaGames/CutiaEngine
b81d9e7a01c7ec6f49d2a94df1a1976ac7634151
[ "MIT" ]
1
2018-05-11T04:11:27.000Z
2018-05-11T04:11:27.000Z
engine/src/Resources.cpp
CutiaGames/CutiaEngine
b81d9e7a01c7ec6f49d2a94df1a1976ac7634151
[ "MIT" ]
8
2018-05-11T03:15:30.000Z
2018-06-06T18:47:58.000Z
engine/src/Resources.cpp
CutiaGames/CutiaEngine
b81d9e7a01c7ec6f49d2a94df1a1976ac7634151
[ "MIT" ]
1
2018-05-11T16:28:17.000Z
2018-05-11T16:28:17.000Z
#include "Resources.hpp" #include "Game.hpp" std::unordered_map<std::string, std::shared_ptr<SDL_Texture> > Resources::imageTable; std::unordered_map<std::string, std::shared_ptr<Mix_Music> > Resources::musicTable; std::unordered_map<std::string, std::shared_ptr<Mix_Chunk> > Resources::soundTable; std::unordered_map<s...
25.52381
128
0.628465
CutiaGames
2ed5a119a57866d3d9245c88f8f3627f76a20b66
436
cpp
C++
src/sound/save_effect.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/sound/save_effect.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/sound/save_effect.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-2018 // // Bibliotheque Lapin #include <string.h> #include "lapin_private.h" #define PATTERN "%s -> %p" bool bunny_save_effect(const t_bunny_effect *_eff, const char *file) { struct bunny_effect *eff = (struct bunny_effect*)_eff; if (bun...
20.761905
59
0.68578
Damdoshi
2ed73b79bc251975da43140d2079171c5afb7147
1,359
hpp
C++
include/eepp/graphics/fonthelper.hpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
include/eepp/graphics/fonthelper.hpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
include/eepp/graphics/fonthelper.hpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
#ifndef EE_GRAPHICSFONTHELPER_HPP #define EE_GRAPHICSFONTHELPER_HPP namespace EE { namespace Graphics { enum EE_FONT_TYPE { FONT_TYPE_TTF = 1, FONT_TYPE_TEX = 2 }; enum EE_FONT_HALIGN { FONT_DRAW_LEFT = (0 << 0), FONT_DRAW_RIGHT = (1 << 0), FONT_DRAW_CENTER = (2 << 0), FONT_DRAW_HALIGN_MASK = (3 << 0) }; ...
19.414286
89
0.690213
dogtwelve
2ed7c5c100a54b741f94d33c79fe5394607caecb
4,574
cpp
C++
llvm/3.4.2/llvm-3.4.2.src/lib/Support/StreamableMemoryObject.cpp
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
36
2015-01-13T19:34:04.000Z
2022-03-07T22:22:15.000Z
llvm/3.4.2/llvm-3.4.2.src/lib/Support/StreamableMemoryObject.cpp
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
7
2015-10-20T19:05:01.000Z
2021-11-13T14:55:47.000Z
llvm/3.4.2/llvm-3.4.2.src/lib/Support/StreamableMemoryObject.cpp
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
18
2015-04-23T20:59:52.000Z
2021-11-18T20:06:39.000Z
//===- StreamableMemoryObject.cpp - Streamable data interface -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.211268
80
0.683428
tangyibin
2eda6038ee1087d5d26b3849f661f3ff8b17436c
5,135
cpp
C++
test/test_inputmap.cpp
carlcc/gainput
0d63da54e1c536295e39f360e883f6e5bb6a68d0
[ "MIT" ]
3,058
2017-10-03T01:33:22.000Z
2022-03-30T22:04:23.000Z
test/test_inputmap.cpp
marcoesposito1988/gainput
a96e16dc873a62e0996a8ee27c85cad17f783110
[ "MIT" ]
157
2018-01-26T10:18:33.000Z
2022-03-06T10:59:23.000Z
test/test_inputmap.cpp
marcoesposito1988/gainput
a96e16dc873a62e0996a8ee27c85cad17f783110
[ "MIT" ]
388
2017-12-21T10:52:32.000Z
2022-03-31T18:25:49.000Z
#include "catch.hpp" #include <gainput/gainput.h> using namespace gainput; enum TestButtons { ButtonA, ButtonStart = ButtonA, ButtonB, ButtonC, ButtonD, ButtonE, ButtonF, ButtonG, ButtonCount }; TEST_CASE("InputMap/create", "") { InputManager manager; InputMap map(manager, "testmap"); REQUIRE(&manager...
28.848315
73
0.742162
carlcc
2edb74012b69c690542f07b751cb6ef226b2532d
22,472
cpp
C++
molecular/gfx/opengl/GlCommandSink.cpp
petrarce/molecular-gfx
fdf95c28a5693a2e1f9abaedda9521f8521b1f84
[ "MIT" ]
null
null
null
molecular/gfx/opengl/GlCommandSink.cpp
petrarce/molecular-gfx
fdf95c28a5693a2e1f9abaedda9521f8521b1f84
[ "MIT" ]
1
2019-10-23T14:33:25.000Z
2019-10-23T14:33:25.000Z
molecular/gfx/opengl/GlCommandSink.cpp
petrarce/molecular-gfx
fdf95c28a5693a2e1f9abaedda9521f8521b1f84
[ "MIT" ]
2
2020-09-24T13:33:39.000Z
2022-03-29T13:17:47.000Z
/* GlCommandSink.cpp MIT License Copyright (c) 2019-2020 Fabian Herb Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mo...
33.894419
191
0.767132
petrarce
2edc8fb22f93cfe732adc670cdfb5d5c495179c8
9,521
cpp
C++
aligned-types-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
aligned-types-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
aligned-types-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
/* * Copyright 1993-2015 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
28.002941
95
0.604243
BeauJoh
2edebe498538eb35f41ceb8f08790d873710904f
1,188
hpp
C++
simulation/libsimulator/include/simulator/nat.hpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/include/simulator/nat.hpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/include/simulator/nat.hpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Arvid Norberg All rights reserved. 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 3 of the License, or (at your option) any later version. ...
22.846154
73
0.728956
SylemST-UtilCollection
2ee072991c17b1497ae153980f6bc9260119375e
481
cpp
C++
122A-luckyDivision.cpp
utkuozbudak/Codeforces
bf0b58604f9150f83356a8633407f873b1a49164
[ "MIT" ]
1
2020-02-29T20:01:03.000Z
2020-02-29T20:01:03.000Z
122A-luckyDivision.cpp
utkuozbudak/Codeforces
bf0b58604f9150f83356a8633407f873b1a49164
[ "MIT" ]
null
null
null
122A-luckyDivision.cpp
utkuozbudak/Codeforces
bf0b58604f9150f83356a8633407f873b1a49164
[ "MIT" ]
null
null
null
#include <iostream> #include "string" using namespace std; int main(int argc, const char * argv[]) { int n; cin>>n; string s = to_string(n); bool flag = true; for(int i=0;i<s.length();i++) { if(s.at(i)== '4' || s.at(i) == '7') continue; else flag = false; } if(...
17.178571
71
0.455301
utkuozbudak
2ee7ccf009097205e3573651df2770506f364526
1,095
cpp
C++
Leetcode/L46.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
8
2021-02-14T01:48:09.000Z
2022-01-29T09:12:55.000Z
Leetcode/L46.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
Leetcode/L46.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
#include <vector> #include <iostream> #include <functional> #define FOR(i, a, b) for (int i = a; i < b; i++) using namespace std; class Solution { public: vector<vector<int>> permute(vector<int> nums) { const int N = nums.size(); vector<vector<int>> ans; vector<bool> used(N, false); ...
23.297872
53
0.438356
yanjinbin
2ee8af1983d8a6962a8e3cc5652578af7d603173
1,793
cpp
C++
Source/Urho3D/Graphics/Direct3D11/D3D11ConstantBuffer.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
Source/Urho3D/Graphics/Direct3D11/D3D11ConstantBuffer.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
1
2021-04-17T22:38:25.000Z
2021-04-18T00:43:15.000Z
Source/Urho3D/Graphics/Direct3D11/D3D11ConstantBuffer.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2021 the Urho3D project // Copyright (c) 2021 проект Dviglo // Лицензия: MIT #include "../../Precompiled.h" #include "../../Graphics/Graphics.h" #include "../../Graphics/GraphicsImpl.h" #include "../../Graphics/ConstantBuffer.h" #include "../../IO/Log.h" #include "../../DebugNew.h" using names...
21.60241
128
0.626882
1vanK
2ef024d12862684091c5cba12dd8f350567e315d
3,451
cpp
C++
src/Value/Value.cpp
DmitrySoshnikov/mmgc
57dd46374131758f2db5cf744c9fc2e4870f55e0
[ "MIT" ]
3
2019-10-27T02:35:48.000Z
2021-07-23T14:06:03.000Z
src/Value/Value.cpp
DmitrySoshnikov/mmgc
57dd46374131758f2db5cf744c9fc2e4870f55e0
[ "MIT" ]
null
null
null
src/Value/Value.cpp
DmitrySoshnikov/mmgc
57dd46374131758f2db5cf744c9fc2e4870f55e0
[ "MIT" ]
2
2019-10-29T09:54:25.000Z
2019-11-28T02:19:18.000Z
/** * The MIT License (MIT) * Copyright (c) 2018-present Dmitry Soshnikov <dmitry.soshnikov@gmail.com> */ #include "Value.h" #include <stdexcept> #include <string> /** * Returns the type of the value. */ Type Value::getType() { if (_value & 1) { return Type::Number; } else if (_value == Value::TRUE || _v...
19.172222
77
0.623587
DmitrySoshnikov
2ef1e2efa50baec9038aa2b06097c1ccf9ff634b
13,570
cpp
C++
src/core/hw/gfxip/gfx9/gfx9PipelineChunkPs.cpp
ardacoskunses/pal
b2000b19a20b8ea1df06f50733d51e37c803b9c0
[ "MIT" ]
null
null
null
src/core/hw/gfxip/gfx9/gfx9PipelineChunkPs.cpp
ardacoskunses/pal
b2000b19a20b8ea1df06f50733d51e37c803b9c0
[ "MIT" ]
null
null
null
src/core/hw/gfxip/gfx9/gfx9PipelineChunkPs.cpp
ardacoskunses/pal
b2000b19a20b8ea1df06f50733d51e37c803b9c0
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2015-2018 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
47.118056
120
0.628592
ardacoskunses
2ef78ae07de7820a064167e31e229956b76ee6ff
1,046
cpp
C++
src/xray/editor/world/sources/property_integer_limited.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/property_integer_limited.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/property_integer_limited.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 07.12.2007 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "property_integer_limited.h" proper...
23.244444
77
0.546845
ixray-team
2efc95b839c26f5d7faa4b2cbdab481ba04b3704
478
cpp
C++
Engine/src/Engine.cpp
listopat/Ray-Tracer
e29c37475b7b575c399cce03b0f4d7fafc942643
[ "MIT" ]
2
2020-12-27T21:49:38.000Z
2020-12-28T22:49:11.000Z
Engine/src/Engine.cpp
listopat/Ray-Tracer
e29c37475b7b575c399cce03b0f4d7fafc942643
[ "MIT" ]
null
null
null
Engine/src/Engine.cpp
listopat/Ray-Tracer
e29c37475b7b575c399cce03b0f4d7fafc942643
[ "MIT" ]
null
null
null
#include <Engine.h> #include <SceneParser.h> #include <ImageIOInterface.h> #include <fstream> void Engine::renderToFile(std::string scenePath, std::string outputPath) { std::ifstream ifs(scenePath); nlohmann::json sceneJson = nlohmann::json::parse(ifs); Camera camera = SceneParser::getCameraFromSceneJSON(sceneJso...
26.555556
72
0.771967
listopat
2c01a95c0be9a3dcccd40093413dff54587a4329
2,614
cpp
C++
src/simulator/simulator.cpp
happydpc/RobotSimulator
0c09d09e802c3118a2beabc7999637ce1fa4e7a7
[ "MIT" ]
1
2021-12-22T18:24:08.000Z
2021-12-22T18:24:08.000Z
src/simulator/simulator.cpp
happydpc/RobotSimulator
0c09d09e802c3118a2beabc7999637ce1fa4e7a7
[ "MIT" ]
null
null
null
src/simulator/simulator.cpp
happydpc/RobotSimulator
0c09d09e802c3118a2beabc7999637ce1fa4e7a7
[ "MIT" ]
null
null
null
//-------------------------------------------------- // Robot Simulator // simulator.cpp // Date: 2020-06-21 // By Breno Cunha Queiroz //-------------------------------------------------- #include "simulator.h" #include "objects/basic/importedObject.h" #include "objects/basic/plane.h" #include "objects/basic/box.h" #i...
26.673469
131
0.657995
happydpc
2c05b81bb231c3c4338610f4df8a995eeda15619
5,576
cpp
C++
Development/Source/Engine/Framework/Graphics/DX12/SwapchainDX12.cpp
onovytskyi/Headless-Droid-Engine
358cd3164bfe5b1d0aaf38c4a1a96dce54ac00c9
[ "MIT" ]
null
null
null
Development/Source/Engine/Framework/Graphics/DX12/SwapchainDX12.cpp
onovytskyi/Headless-Droid-Engine
358cd3164bfe5b1d0aaf38c4a1a96dce54ac00c9
[ "MIT" ]
null
null
null
Development/Source/Engine/Framework/Graphics/DX12/SwapchainDX12.cpp
onovytskyi/Headless-Droid-Engine
358cd3164bfe5b1d0aaf38c4a1a96dce54ac00c9
[ "MIT" ]
null
null
null
#include "Engine/Config/Bootstrap.h" #include "Engine/Framework/Graphics/Swapchain.h" #if defined(HD_GRAPHICS_API_DX12) #include "Engine/Debug/Assert.h" #include "Engine/Debug/Log.h" #include "Engine/Foundation/Memory/Utils.h" #include "Engine/Framework/Graphics/Backend.h" #include "Engine/Framework/Graphics/DX12/Te...
35.74359
173
0.630739
onovytskyi
2c07ab83a256fc9d21b95c3671fbcfc83004ac5e
8,728
cc
C++
SimG4Core/MagneticField/src/CMSFieldManager.cc
akhter-towsifa/cmssw
c9dad837e419070a532a4951c397bcc68f5bd095
[ "Apache-2.0" ]
1
2021-01-25T16:39:35.000Z
2021-01-25T16:39:35.000Z
SimG4Core/MagneticField/src/CMSFieldManager.cc
akhter-towsifa/cmssw
c9dad837e419070a532a4951c397bcc68f5bd095
[ "Apache-2.0" ]
2
2021-02-17T10:06:46.000Z
2021-02-22T08:00:41.000Z
SimG4Core/MagneticField/src/CMSFieldManager.cc
akhter-towsifa/cmssw
c9dad837e419070a532a4951c397bcc68f5bd095
[ "Apache-2.0" ]
null
null
null
#include "FWCore/MessageLogger/interface/MessageLogger.h" #include "SimG4Core/MagneticField/interface/CMSFieldManager.h" #include "SimG4Core/MagneticField/interface/Field.h" #include "CLHEP/Units/GlobalSystemOfUnits.h" #include "G4ChordFinder.hh" #include "G4MagIntegratorStepper.hh" #include "G4PropagatorInField.hh" #...
37.947826
117
0.623854
akhter-towsifa
2c09499c65944a7e2454ae72a6072ca1dc77b716
2,566
cpp
C++
Source/ReadingTracker/Private/SubmixRecorder.cpp
scivi-tools/scivi.ue.board
c41ea99f4016f22f122bc38b45410ee773c2ec1b
[ "MIT" ]
1
2022-02-17T19:48:49.000Z
2022-02-17T19:48:49.000Z
Source/ReadingTracker/Private/SubmixRecorder.cpp
scivi-tools/scivi.ue.board
c41ea99f4016f22f122bc38b45410ee773c2ec1b
[ "MIT" ]
null
null
null
Source/ReadingTracker/Private/SubmixRecorder.cpp
scivi-tools/scivi.ue.board
c41ea99f4016f22f122bc38b45410ee773c2ec1b
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SubmixRecorder.h" #include "AudioDevice.h" #include "AudioDeviceManager.h" #include "Sound/SoundSubmix.h" // Sets default values for this component's properties USubmixRecorder::USubmixRecorder() { // Set this component to be...
25.156863
172
0.767732
scivi-tools
2c0ca1775a2045a5a922d50f94a7b78f217b262e
5,132
cpp
C++
src/bind/window/snap_win.cpp
e-ntro-py/win-vind
1ec805420732c82a46e2c79720db728ded792814
[ "MIT" ]
null
null
null
src/bind/window/snap_win.cpp
e-ntro-py/win-vind
1ec805420732c82a46e2c79720db728ded792814
[ "MIT" ]
null
null
null
src/bind/window/snap_win.cpp
e-ntro-py/win-vind
1ec805420732c82a46e2c79720db728ded792814
[ "MIT" ]
null
null
null
#include "snap_win.hpp" #include <functional> #include "winutil.hpp" #include "core/ntypelogger.hpp" #include "util/box2d.hpp" #include "util/def.hpp" #include "util/screen_metrics.hpp" #include "util/winwrap.hpp" namespace { using namespace vind ; inline void snap_foreground_window( const std::...
31.484663
93
0.543453
e-ntro-py
2c0ec26d20ec240c296e5ceff6e6fc481db1046d
772
cpp
C++
cppcode/cpp execise/day07/final.cpp
jiedou/study
606676ebc3d1fb1a87de26b6609307d71dafec22
[ "Apache-2.0" ]
null
null
null
cppcode/cpp execise/day07/final.cpp
jiedou/study
606676ebc3d1fb1a87de26b6609307d71dafec22
[ "Apache-2.0" ]
null
null
null
cppcode/cpp execise/day07/final.cpp
jiedou/study
606676ebc3d1fb1a87de26b6609307d71dafec22
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class Point2D { public: Point2D (int x = 0, int y = 0) : m_x (x), m_y (y) {} void draw (void) const { cout << "2D(" << m_x << ',' << m_y << ')' << endl; } protected: int m_x; int m_y; }; class Point3D : public Point2D { public: void draw (void) const { cout << "3D...
17.953488
43
0.537565
jiedou
2c15bcdda00f40b655aa33941d2d37b886fb76b3
314
cpp
C++
Xtreme Rappers/Xtreme Rappers.cpp
Sleepy105/IEEE-Xtreme-13.0
c24fe4fff553e338bffc8f042fcbcc2ace4ccf5d
[ "MIT" ]
null
null
null
Xtreme Rappers/Xtreme Rappers.cpp
Sleepy105/IEEE-Xtreme-13.0
c24fe4fff553e338bffc8f042fcbcc2ace4ccf5d
[ "MIT" ]
null
null
null
Xtreme Rappers/Xtreme Rappers.cpp
Sleepy105/IEEE-Xtreme-13.0
c24fe4fff553e338bffc8f042fcbcc2ace4ccf5d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { uint64_t a, b, n = 0; cin >> a >> b; if (!(a && b)) cout << 0; else if (a >= b*2) { cout << b; } else if (b >= a*2) { cout << a; } else cout << a/3+b/3; return 0; }
14.952381
26
0.356688
Sleepy105
2c18eec2985f433249a34a289c55aa0fb5f6ad4c
262
hpp
C++
src/vm_error.hpp
cuttle-system/cuttle-vm
ec34cb75e335130c6deb8b46ed47a3545415c8af
[ "MIT" ]
null
null
null
src/vm_error.hpp
cuttle-system/cuttle-vm
ec34cb75e335130c6deb8b46ed47a3545415c8af
[ "MIT" ]
null
null
null
src/vm_error.hpp
cuttle-system/cuttle-vm
ec34cb75e335130c6deb8b46ed47a3545415c8af
[ "MIT" ]
null
null
null
#pragma once #include <stdexcept> namespace cuttle { namespace vm { class vm_error : public std::runtime_error { public: vm_error() : runtime_error("Unknown vm error") {} explicit vm_error(std::string msg) : runtime_error(msg.c_str()) {} }; } }
18.714286
69
0.675573
cuttle-system
2c1a8d20538c054fb169ba7447bcd9afd1845b21
571
cpp
C++
Chapter 10. Generic Algorithms/Codes/10.31 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 10. Generic Algorithms/Codes/10.31 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 10. Generic Algorithms/Codes/10.31 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
1
2021-09-30T14:08:03.000Z
2021-09-30T14:08:03.000Z
#include <iostream> #include <vector> #include <algorithm> #include <iterator> int main() { // Get int sequences from the standard input. std::istream_iterator<int> istream_iterator(std::cin), istream_endIter; // Copy int sequences from standard input to the vector and sort all integers. std::vector<int> vec(...
27.190476
80
0.71979
Yunxiang-Li
2c1ad73b964a9b6ddeafecb8ba82be45d1345cb2
987
cpp
C++
samples/cpp/mao/53_pyrDown.cpp
chenghyang2001/opencv-2.4.11
020af901059236c702da580048d25e9fe082e8f8
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/mao/53_pyrDown.cpp
chenghyang2001/opencv-2.4.11
020af901059236c702da580048d25e9fe082e8f8
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/mao/53_pyrDown.cpp
chenghyang2001/opencv-2.4.11
020af901059236c702da580048d25e9fe082e8f8
[ "BSD-3-Clause" ]
1
2020-07-22T07:08:24.000Z
2020-07-22T07:08:24.000Z
#include <stdio.h> #include <stdio.h> //:read /home/peter/mao/53_pyrDown.cpp //---------------------------------【頭文件、命名空間包含部分】---------------------------- // 描述:包含程序所使用的頭文件和命名空間 //------------------------------------------------------------------------------------------------ #include <opencv2/opencv.hpp> #include...
27.416667
99
0.450861
chenghyang2001
2c1ddc3dfb21d125f5eadb54a1ce0e51645905ff
1,092
hpp
C++
Includes/Core/Grid.hpp
Jeckhys/golPlayground
7ad5282340ec5badda9322e2aab54c4ea996d983
[ "MIT" ]
null
null
null
Includes/Core/Grid.hpp
Jeckhys/golPlayground
7ad5282340ec5badda9322e2aab54c4ea996d983
[ "MIT" ]
null
null
null
Includes/Core/Grid.hpp
Jeckhys/golPlayground
7ad5282340ec5badda9322e2aab54c4ea996d983
[ "MIT" ]
null
null
null
#ifndef HEADER_GRID_HPP #define HEADER_GRID_HPP #include <vector> class Grid { public: Grid(int width, int height); ~Grid() = default; /** * Compute the next generation internally. */ void nextGeneration(); void setState(int line, int column, bool value)...
26
72
0.608059
Jeckhys
2c20a7ba3d7e15c4e8f2ba7ceedf6550849f5c7d
6,331
cpp
C++
TomGine/GLDCWindowGetEvent.cpp
OpenNurbsFit/OpenNurbsFit
d1ca01437a6da6bbf921466013ff969def5dfe65
[ "BSD-3-Clause" ]
14
2015-07-06T13:04:49.000Z
2022-02-06T10:09:05.000Z
TomGine/GLDCWindowGetEvent.cpp
OpenNurbsFit/OpenNurbsFit
d1ca01437a6da6bbf921466013ff969def5dfe65
[ "BSD-3-Clause" ]
1
2020-12-07T03:26:39.000Z
2020-12-07T03:26:39.000Z
TomGine/GLDCWindowGetEvent.cpp
OpenNurbsFit/OpenNurbsFit
d1ca01437a6da6bbf921466013ff969def5dfe65
[ "BSD-3-Clause" ]
11
2015-07-06T13:04:43.000Z
2022-03-29T10:57:04.000Z
/* * Software License Agreement (GNU General Public License) * * Copyright (c) 2011, Thomas Mörwald * * 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 3 of the License, ...
17.635097
73
0.632601
OpenNurbsFit
2c295066ece7629cb207ed41049e01a2444a60f1
4,515
cpp
C++
src/Entity.cpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
1
2018-06-12T13:35:31.000Z
2018-06-12T13:35:31.000Z
src/Entity.cpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/Entity.cpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#include "Precompiled.hpp" #include "Entity.hpp" #include "Time.hpp" #include "Room.hpp" Entity::Entity() : mRemoved(false) , mFrameCounter(0) , mRoom(0) { } Entity::~Entity() { } void Entity::setPosition(float2 position) { mPosition = position; } float2 Entity::getPosition() { return mPosition; } void Entity::se...
20.522727
93
0.636766
darkbitsorg
2c2f08ebc758310c6978fb56a3c15f1b4412181d
802
hpp
C++
source/ui/scene/settingsScene.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
source/ui/scene/settingsScene.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
source/ui/scene/settingsScene.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
/* ** settingsScene.hpp for UI in /home/escoba_j/Downloads/irrlicht-1.8.3/ui/scene ** ** Made by Joffrey Escobar ** Login <escoba_j@epitech.net> ** ** Started on Sun May 29 03:00:07 2016 Joffrey Escobar */ #ifndef SETTINGSSCENE_HPP #define SETTINGSSCENE_HPP #include <vector> #include <string> #include <utility> #i...
18.651163
79
0.720698
Stephouuu
2c2f4016621901e8c25420b89f2e1198b1afa2c2
5,750
cpp
C++
igvc_navigation/src/path_follower/path_follower.cpp
jiajunmao/igvc-software
ea1b11d9bb20e85e5f47aa03f930e9b65877d80c
[ "MIT" ]
2
2020-06-04T01:33:01.000Z
2021-12-22T03:59:53.000Z
igvc_navigation/src/path_follower/path_follower.cpp
jiajunmao/igvc-software
ea1b11d9bb20e85e5f47aa03f930e9b65877d80c
[ "MIT" ]
null
null
null
igvc_navigation/src/path_follower/path_follower.cpp
jiajunmao/igvc-software
ea1b11d9bb20e85e5f47aa03f930e9b65877d80c
[ "MIT" ]
2
2020-06-04T01:26:43.000Z
2021-12-22T03:59:54.000Z
#define _USE_MATH_DEFINES #include <Eigen/Dense> #include <cmath> #include <iostream> #include <geometry_msgs/PointStamped.h> #include <geometry_msgs/PoseStamped.h> #include <igvc_msgs/velocity_pair.h> #include <nav_msgs/Odometry.h> #include <visualization_msgs/MarkerArray.h> #include <tf/transform_datatypes.h> #in...
33.045977
106
0.704696
jiajunmao
2c40fb408529f022c3148e790e76fef540fb1e09
2,923
cc
C++
wobble/term.cc
spanezz/wobble
482266913b1bf1907555b620d88a29c66f3d1638
[ "BSD-3-Clause" ]
1
2017-01-10T12:46:54.000Z
2017-01-10T12:46:54.000Z
wobble/term.cc
spanezz/wobble
482266913b1bf1907555b620d88a29c66f3d1638
[ "BSD-3-Clause" ]
1
2015-10-01T15:03:33.000Z
2015-11-23T15:50:33.000Z
wobble/term.cc
spanezz/wobble
482266913b1bf1907555b620d88a29c66f3d1638
[ "BSD-3-Clause" ]
3
2015-09-15T06:35:50.000Z
2018-04-03T10:59:15.000Z
#include "term.h" #include <unistd.h> #include <cerrno> #include <system_error> namespace wobble { namespace term { #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" #define ANSI_COLOR_YELLOW "\x1b[33m" #define ANSI_COLOR_BLUE "\x1b[34m" #define ANSI_COLOR_MAGENTA "\x1b[35m" #define ANS...
19.357616
84
0.575094
spanezz
2c4435cd742ce64637c3d027dcc8bb8197814463
2,186
cpp
C++
modules/task_1/romanuyk_algoritm_kennona/algoritm_kennona.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/romanuyk_algoritm_kennona/algoritm_kennona.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/romanuyk_algoritm_kennona/algoritm_kennona.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
1
2021-12-02T22:38:53.000Z
2021-12-02T22:38:53.000Z
// Copyright 2020 Romanuyk Sergey #include <vector> #include <random> #include "../../../modules/task_1/romanuyk_algoritm_kennona/algoritm_kennona.h" std::vector<double> genMatrix(int n) { int SIZE = n * n; std::random_device rd; std::mt19937 gen(rd()); std::uniform_real_distribution<> urd(-50, 50); ...
28.025641
79
0.467521
stasyurin
2c445efc4e762428c06e95d1ca3ca31ee298c411
57,216
cpp
C++
AuthServer.cpp
apostoldevel/module-AuthServer
284b0271eac5bc52a1710d47eb4acbad0f778a82
[ "MIT" ]
null
null
null
AuthServer.cpp
apostoldevel/module-AuthServer
284b0271eac5bc52a1710d47eb4acbad0f778a82
[ "MIT" ]
null
null
null
AuthServer.cpp
apostoldevel/module-AuthServer
284b0271eac5bc52a1710d47eb4acbad0f778a82
[ "MIT" ]
null
null
null
/*++ Program name: Apostol Web Service Module Name: AuthServer.cpp Notices: Module: OAuth 2 Authorization Server Author: Copyright (c) Prepodobny Alen mailto: alienufo@inbox.ru mailto: ufocomp@gmail.com --*/ //---------------------------------------------------------------------------------------...
44.805012
167
0.483519
apostoldevel
2c44abb54c5fd459022aedda333fb842d8826d66
1,751
hpp
C++
src/signedzoneimp.hpp
sischkg/nxnsattack
c20896e40187bbcacb5c0255ff8f3cc7d0592126
[ "MIT" ]
5
2020-05-22T10:01:51.000Z
2022-01-01T04:45:14.000Z
src/signedzoneimp.hpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
1
2020-06-07T14:09:44.000Z
2020-06-07T14:09:44.000Z
src/signedzoneimp.hpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
2
2020-03-10T03:06:20.000Z
2021-07-25T15:07:45.000Z
#ifndef SIGNED_ZONE_IMP_HPP #define SIGNED_ZONE_IMP_HPP #include "abstractzoneimp.hpp" #include "nsecdb.hpp" #include "nsec3db.hpp" namespace dns { class SignedZoneImp : public AbstractZoneImp { private: ZoneSigner mSigner; NSECDBPtr mNSECDB; NSECDBPtr mNSEC3DB; bool mEnableNSEC; ...
39.795455
138
0.73044
sischkg
2c45ddb59e4267c50323ce35521d2e5e4f0c714e
760
cpp
C++
docs/mfc/reference/codesnippet/CPP/cwnd-class_65.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/reference/codesnippet/CPP/cwnd-class_65.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/reference/codesnippet/CPP/cwnd-class_65.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// In this example a rectangle is drawn in a view. // The OnChangeRect() function changes the dimensions // of the rectangle and then calls CWnd::Invalidate() so the // client area of the view will be redrawn next time the // window is updated. It then calls CWnd::UpdateWindow // to force the new rectangle to be paint...
28.148148
60
0.710526
bobbrow
2c46ee4492448793b16bf05202c35e10261f85fd
15,687
cpp
C++
src/framebufferobject.cpp
AlessandroParrotta/parrlib
d1679ee8a7cff7d14b2d93e898ed58fecff13159
[ "MIT" ]
2
2020-05-08T20:27:14.000Z
2021-01-21T10:28:19.000Z
src/framebufferobject.cpp
AlessandroParrotta/parrlib
d1679ee8a7cff7d14b2d93e898ed58fecff13159
[ "MIT" ]
null
null
null
src/framebufferobject.cpp
AlessandroParrotta/parrlib
d1679ee8a7cff7d14b2d93e898ed58fecff13159
[ "MIT" ]
1
2020-05-08T20:27:16.000Z
2020-05-08T20:27:16.000Z
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <parrlib/framebufferobject.h> #include <parrlib/timer.h> #include <parrlib/context.h> #include <iostream> void FrameBufferObject::addAttachment(GLenum att, FrameBufferObject::ColorAttachment format) { if (attachments.find(att) != attachments.end()) { std::cout...
35.979358
165
0.730159
AlessandroParrotta
2c493b1afc411ba07e17453bb470fa3dde154b8e
4,441
cpp
C++
projects/PathosEngine/src/pathos/render/postprocessing/anti_aliasing_fxaa.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/PathosEngine/src/pathos/render/postprocessing/anti_aliasing_fxaa.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/PathosEngine/src/pathos/render/postprocessing/anti_aliasing_fxaa.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "anti_aliasing_fxaa.h" #include "pathos/shader/shader.h" #include "pathos/render/render_device.h" #include "pathos/render/scene_render_targets.h" namespace pathos { void FXAA::initializeResources(RenderCommandList& cmdList) { std::string vshader = R"( #version 430 core layout (location = 0) in vec3 posi...
36.105691
113
0.747579
codeonwort
2c4df4e10509d9bc13f215281642d935ff5f472f
145
cpp
C++
Windows-Socket-C++/Projects/TCP-Socket/Thread.cpp
khanh245/Windows-Socket
443f145aa94125d0ac5d5f8efce56c2a61508906
[ "MIT" ]
1
2017-04-27T13:45:16.000Z
2017-04-27T13:45:16.000Z
Windows-Socket-C++/Projects/TCP-Socket/Thread.cpp
khanh245/Windows-Socket
443f145aa94125d0ac5d5f8efce56c2a61508906
[ "MIT" ]
1
2017-08-08T14:26:32.000Z
2017-08-10T09:19:32.000Z
Windows-Socket-C++/Projects/TCP-Socket/Thread.cpp
khanh245/Windows-Socket
443f145aa94125d0ac5d5f8efce56c2a61508906
[ "MIT" ]
null
null
null
#include "Thread.h" Kronos::Thread::Thread() { } Kronos::Thread::Thread(Kronos::IRunnable* runnableObj) { } Kronos::Thread::~Thread() { }
8.055556
54
0.648276
khanh245
2c51287740901c6901e09416029cc3b55ea170f9
1,413
cpp
C++
cpp/atcoder/DPL_1_B.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
cpp/atcoder/DPL_1_B.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
cpp/atcoder/DPL_1_B.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <map> #include <algorithm> #include <queue> #include <iomanip> // clang-format off #define rep(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmi...
21.738462
87
0.457183
KeiichiHirobe
2c5cbc4506d717f3d1f7307983521593c7f1e88c
308
cpp
C++
Poker/Classes/GameState.cpp
zivlhoo/Poker
f0525b7c5119256c70b2e76b7c09d8729dcd5f76
[ "Apache-2.0" ]
null
null
null
Poker/Classes/GameState.cpp
zivlhoo/Poker
f0525b7c5119256c70b2e76b7c09d8729dcd5f76
[ "Apache-2.0" ]
null
null
null
Poker/Classes/GameState.cpp
zivlhoo/Poker
f0525b7c5119256c70b2e76b7c09d8729dcd5f76
[ "Apache-2.0" ]
null
null
null
// // GameState.cpp // Poker // // Created by ZivHoo on 15/6/27. // // #include "GameState.h" static GameState* instance = nullptr; GameState::GameState() { } GameState::~GameState() { } GameState* GameState::getInstance() { if( !instance ) instance = new GameState(); return instance; }
11.846154
47
0.633117
zivlhoo
2c5df87d48a229dbef6e8a08344c80b0b87671c4
2,707
hpp
C++
examples/vector-io.hpp
yangxianpku/cuarma
404f20b5b3fa74e5e27338e89343450f8853024c
[ "X11", "MIT" ]
null
null
null
examples/vector-io.hpp
yangxianpku/cuarma
404f20b5b3fa74e5e27338e89343450f8853024c
[ "X11", "MIT" ]
null
null
null
examples/vector-io.hpp
yangxianpku/cuarma
404f20b5b3fa74e5e27338e89343450f8853024c
[ "X11", "MIT" ]
null
null
null
#pragma once /* ========================================================================= Copyright (c) 2015-2017, COE of Peking University, Shaoqiang Tang. ----------------- cuarma - COE of Peking University, Shaoqiang Tang. ----------------- ...
22.188525
81
0.595863
yangxianpku
2c6034f85cfba4de83792b04d8f79b0d932271b0
658
hpp
C++
tlab/include/tlab/threading_model.hpp
gwonhyeong/tlab
f84963f2636fdb830ab300b92ec1d8395ce2da58
[ "MIT" ]
null
null
null
tlab/include/tlab/threading_model.hpp
gwonhyeong/tlab
f84963f2636fdb830ab300b92ec1d8395ce2da58
[ "MIT" ]
null
null
null
tlab/include/tlab/threading_model.hpp
gwonhyeong/tlab
f84963f2636fdb830ab300b92ec1d8395ce2da58
[ "MIT" ]
null
null
null
/** * @file threading_mode.hpp * @author ghtak (gwonhyeong.tak@gmail.com) * @brief * @version 0.1 * @date 2019-07-29 * * @copyright Copyright (c) 2019 * */ #ifndef __tlab_threading_model_h__ #define __tlab_threading_model_h__ #include <mutex> namespace tlab{ namespace internal { class no_lock{ pub...
17.315789
44
0.636778
gwonhyeong
2c64ec6635d67cb39e81767676dc80ed898a03d8
929
cc
C++
lib/asan/lit_tests/stack-overflow.cc
SaleJumper/android-source-browsing.platform--external--compiler-rt
1f922a5259510f70a12576e7a61eaa0033a02b16
[ "MIT" ]
1
2015-02-04T20:57:19.000Z
2015-02-04T20:57:19.000Z
src/llvm/projects/compiler-rt/lib/asan/lit_tests/stack-overflow.cc
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/llvm/projects/compiler-rt/lib/asan/lit_tests/stack-overflow.cc
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-05-26T06:41:58.000Z
2021-05-26T06:41:58.000Z
// RUN: %clangxx_asan -m64 -O0 %s -o %t && %t 2>&1 | %symbolize | FileCheck %s // RUN: %clangxx_asan -m64 -O1 %s -o %t && %t 2>&1 | %symbolize | FileCheck %s // RUN: %clangxx_asan -m64 -O2 %s -o %t && %t 2>&1 | %symbolize | FileCheck %s // RUN: %clangxx_asan -m64 -O3 %s -o %t && %t 2>&1 | %symbolize | FileCheck %s // R...
46.45
78
0.564047
SaleJumper
2c655d8b404ce1a8a699ae4e320b9ae1a58f2661
4,757
hh
C++
nox/src/include/port-stats-in.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
28
2015-02-04T13:59:25.000Z
2021-12-29T03:44:47.000Z
nox/src/include/port-stats-in.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
552
2015-01-05T18:25:54.000Z
2022-03-16T18:51:13.000Z
nox/src/include/port-stats-in.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
25
2015-02-04T18:48:20.000Z
2020-06-18T15:51:05.000Z
/* Copyright 2008 (C) Nicira, Inc. * * This file is part of NOX. * * NOX 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. * * N...
27.982353
75
0.678159
ayjazz
2c67cba99306424bfbc2015ff0c3d863ff86f4da
1,631
hh
C++
cc/virus/name.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
cc/virus/name.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
cc/virus/name.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
#pragma once #include "ext/fmt.hh" #include "ext/compare.hh" #include "utils/string.hh" // ---------------------------------------------------------------------- namespace ae::virus::inline v2 { class Name { public: Name() = default; Name(const Name&) = default; Name(Name&&) = d...
33.979167
189
0.543225
skepner
2c69920a4a1a923c7063902112d73590db5567b5
5,819
hpp
C++
sdk/storage/inc/datalake/directory_client.hpp
CaseyCarter/azure-sdk-for-cpp
b9212922e7184e4b03756f0f6f586aec00997744
[ "MIT" ]
null
null
null
sdk/storage/inc/datalake/directory_client.hpp
CaseyCarter/azure-sdk-for-cpp
b9212922e7184e4b03756f0f6f586aec00997744
[ "MIT" ]
1
2021-02-23T00:43:57.000Z
2021-02-23T00:49:17.000Z
sdk/storage/inc/datalake/directory_client.hpp
CaseyCarter/azure-sdk-for-cpp
b9212922e7184e4b03756f0f6f586aec00997744
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #pragma once #include "common/storage_credential.hpp" #include "common/storage_uri_builder.hpp" #include "credentials/credentials.hpp" #include "datalake/path_client.hpp" #include "datalake_options.hpp" #include "datalake_res...
40.978873
100
0.701151
CaseyCarter
ef1b35f95afb4e08cd5cd564be8b762e6aadb2f9
599
cpp
C++
MinecraftSpeedrunHelper/Memory/HookManager.cpp
FFace32/MinecraftSpeedrunHelper
1ebf57fbb2c1f0e48d9f67fc10bbbae1db9a7b69
[ "MIT" ]
1
2020-08-10T13:21:54.000Z
2020-08-10T13:21:54.000Z
MinecraftSpeedrunHelper/Memory/HookManager.cpp
FFace32/MinecraftSpeedrunHelper
1ebf57fbb2c1f0e48d9f67fc10bbbae1db9a7b69
[ "MIT" ]
null
null
null
MinecraftSpeedrunHelper/Memory/HookManager.cpp
FFace32/MinecraftSpeedrunHelper
1ebf57fbb2c1f0e48d9f67fc10bbbae1db9a7b69
[ "MIT" ]
null
null
null
#include "HookManager.h" #include "DetourHook.h" #include <thread> using namespace Memory; HookManager::HookManager() { InitMinHook(); } Hook* HookManager::RegisterHook( Hook* Hook ) { return m_Hooks.emplace_back( Hook ); } void HookManager::Unhook() { if ( m_Hooks.empty() ) return UninitMinHook(); for ( con...
18.71875
143
0.702838
FFace32
ef1daf2e4801b4f51b7344e007e9c39ab8101209
2,719
hpp
C++
include/algorithms/algorithm.hpp
Felix-Droop/static_task_scheduling
084b7d53caeff9ac3593aa7e3d2c5206afd234d0
[ "MIT" ]
null
null
null
include/algorithms/algorithm.hpp
Felix-Droop/static_task_scheduling
084b7d53caeff9ac3593aa7e3d2c5206afd234d0
[ "MIT" ]
null
null
null
include/algorithms/algorithm.hpp
Felix-Droop/static_task_scheduling
084b7d53caeff9ac3593aa7e3d2c5206afd234d0
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <cctype> #include <functional> #include <optional> #include <ranges> #include <string> #include <algorithms/cpop.hpp> #include <algorithms/dbca.hpp> #include <algorithms/heft.hpp> #include <algorithms/rbca.hpp> #include <algorithms/tdca.hpp> #include <cluster/cluster.hpp> #inclu...
25.895238
86
0.589923
Felix-Droop
ef1ebb6e3d5ac696e3cf2bb4bb532f6bbb1555be
45
cpp
C++
Ejercicios/Ejercicio39- Modulacion/calculadora.cpp
FabiolaCastillo8/cpp
b81808e0e90090b4e385540c29089dc53859d086
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio39- Modulacion/calculadora.cpp
FabiolaCastillo8/cpp
b81808e0e90090b4e385540c29089dc53859d086
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio39- Modulacion/calculadora.cpp
FabiolaCastillo8/cpp
b81808e0e90090b4e385540c29089dc53859d086
[ "MIT" ]
null
null
null
int sumar(int a, int b) { return a +b; }
9
23
0.533333
FabiolaCastillo8
ef237a79fd6740d5bec2ca20494573b6b8eac87a
3,427
cpp
C++
src/input/FileInput.cpp
fgguo/A-heterogeneous-dataflow-system
421715922ca87b8fd1e680a1a2e5e0c071f1d3ea
[ "BSD-3-Clause" ]
2
2020-05-09T04:17:02.000Z
2020-05-27T09:05:49.000Z
src/input/FileInput.cpp
fgguo/A-heterogeneous-dataflow-system
421715922ca87b8fd1e680a1a2e5e0c071f1d3ea
[ "BSD-3-Clause" ]
null
null
null
src/input/FileInput.cpp
fgguo/A-heterogeneous-dataflow-system
421715922ca87b8fd1e680a1a2e5e0c071f1d3ea
[ "BSD-3-Clause" ]
null
null
null
#include "../communication/Window.hpp" #include <unistd.h> #include <stdlib.h> #include <ctime> #include <cstring> #include "FileInput.hpp" using namespace std; FileInput::FileInput(string file, Window* window) : Input() { this->fileName = new char[file.length()]; this->window = window; strcpy(this->fileName,...
21.41875
74
0.62562
fgguo
ef2e4ffb6e958871ef82b5013eb80768a42d3d07
1,472
cp
C++
Sources_Common/Tasks/CNewMailTask.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Sources_Common/Tasks/CNewMailTask.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Sources_Common/Tasks/CNewMailTask.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
29.44
100
0.754755
mulberry-mail
ef33fe889e821a38493209168937e223d3ab1434
1,656
cpp
C++
drv/hd44780/hd44780.example.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
drv/hd44780/hd44780.example.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
drv/hd44780/hd44780.example.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
// Example for STM32F4DISCOVERY development board #include "gpio/gpio.hpp" #include "tim/tim.hpp" #include "systick/systick.hpp" #include "drv/hd44780/hd44780.hpp" #include "drv/di/di.hpp" #include "FreeRTOS.h" #include "task.h" using namespace hal; using namespace drv; struct di_poll_task_ctx_t { di &button_1; hd...
19.714286
72
0.66244
yhsb2k
ef346a60f06e4ccbe3095fc09dd3557bea0b78be
6,762
hpp
C++
src/Expression.hpp
tefu/cpsl
49b9a2fade84c2ce8e4d5ed3001a4bce65b70026
[ "MIT" ]
null
null
null
src/Expression.hpp
tefu/cpsl
49b9a2fade84c2ce8e4d5ed3001a4bce65b70026
[ "MIT" ]
null
null
null
src/Expression.hpp
tefu/cpsl
49b9a2fade84c2ce8e4d5ed3001a4bce65b70026
[ "MIT" ]
null
null
null
#ifndef CPSL_EXPRESSION_H #define CPSL_EXPRESSION_H #include <string> #include <vector> #include <memory> #include "ProgramNode.hpp" #include "Type.hpp" #include "FormalParameter.hpp" struct Expression : ProgramNode { virtual std::string gen_asm()=0; virtual bool is_constant() const=0; virtual Type* data_type() ...
22.316832
91
0.684265
tefu
ef3b76535518b23423a5999d0ef174c92dd5d56e
15,984
cpp
C++
AkameCore/Source Files/Rendering/Model.cpp
SudharsanZen/Akame
376efe3929e4426e6dc01440ab9f6aa3e8dcb2bf
[ "Apache-2.0" ]
2
2022-03-30T20:58:58.000Z
2022-03-31T02:06:17.000Z
AkameCore/Source Files/Rendering/Model.cpp
SudharsanZen/Akame
376efe3929e4426e6dc01440ab9f6aa3e8dcb2bf
[ "Apache-2.0" ]
null
null
null
AkameCore/Source Files/Rendering/Model.cpp
SudharsanZen/Akame
376efe3929e4426e6dc01440ab9f6aa3e8dcb2bf
[ "Apache-2.0" ]
null
null
null
#include "Rendering/Model.h" #include<iostream> #include"misc/temp.h" #include"Core/Log/Log.h" #include"Components/Animation/SkeletalMesh.h" #include"Animation/AnimationControllerSystem.h" #include"Core/Scene.h" #pragma warning(push, 0) #pragma warning( disable : 26812) #pragma warning( disable : 26495) #include<assim...
27.653979
126
0.666229
SudharsanZen
ef3bc7942e919768065e1fab05d103374b7de34e
946
cpp
C++
Example/interprocess_14/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/interprocess_14/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/interprocess_14/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/interprocess/managed_shared_memory.hpp> #include <boost/interprocess/sync/named_mutex.hpp> #include <boost/interprocess/sync/named_condition.hpp> #include <boost/interprocess/sync/scoped_lock.hpp> #include <iostream> using namespace boost::interprocess; int main() { managed_shared_memory managed_shm...
26.277778
65
0.674419
KwangjoJeong
ef3e895793e05651b6aace107751c179c5d77cb1
37,177
cpp
C++
titan-infinite/src/texture.cpp
KyleKaiWang/titan-infinite
d2905e050501fc076589bb8e1578d3285ec5aab0
[ "Apache-2.0" ]
null
null
null
titan-infinite/src/texture.cpp
KyleKaiWang/titan-infinite
d2905e050501fc076589bb8e1578d3285ec5aab0
[ "Apache-2.0" ]
null
null
null
titan-infinite/src/texture.cpp
KyleKaiWang/titan-infinite
d2905e050501fc076589bb8e1578d3285ec5aab0
[ "Apache-2.0" ]
null
null
null
/* * Vulkan Renderer Program * * Copyright (C) 2020 Kyle Wang */ #include "pch.h" #include "texture.h" #include <filesystem> #include <gli.hpp> namespace texture { TextureObject loadTexture( const std::string& filename, VkFormat format, Device* device, int num_requested_compon...
39.932331
171
0.63585
KyleKaiWang
ef4071cc75c614136a68f101bdf4354167a039ca
2,003
cpp
C++
src/calc_velocity.cpp
suwamaro/rpa
fc9d37f03705334ee17b77de6ad2b8feab3cc7b0
[ "Apache-2.0" ]
null
null
null
src/calc_velocity.cpp
suwamaro/rpa
fc9d37f03705334ee17b77de6ad2b8feab3cc7b0
[ "Apache-2.0" ]
null
null
null
src/calc_velocity.cpp
suwamaro/rpa
fc9d37f03705334ee17b77de6ad2b8feab3cc7b0
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * Functions for calculating the velocity * * Copyright (C) 2018 by Hidemaro Suwa * e-mail:suwamaro@phys.s.u-tokyo.ac.jp * *****************************************************************************/ #include "calc_velocity.h" #include "...
26.706667
78
0.550175
suwamaro
ef4a1a3291c0ae6b2b9c88915e8663566e7e59d2
3,137
cpp
C++
common/display.cpp
CybJaz/Simulations
bcb99907afaccc06c7b1f294a77122da2819ee5a
[ "MIT" ]
null
null
null
common/display.cpp
CybJaz/Simulations
bcb99907afaccc06c7b1f294a77122da2819ee5a
[ "MIT" ]
2
2018-04-02T14:47:24.000Z
2018-04-02T14:55:42.000Z
common/display.cpp
CybJaz/Simulations
bcb99907afaccc06c7b1f294a77122da2819ee5a
[ "MIT" ]
null
null
null
#include "display.h" #include <iostream> #include <GL/glew.h> Display::Display(unsigned int width, unsigned int height, const std::string& title) : _title(title), _fullscreen(false), _width(width), _height(height) { SDL_Init(SDL_INIT_EVERYTHING); SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8); SDL_GL_SetAttribute(SDL_...
24.130769
93
0.756774
CybJaz
ef4cf4a05b06bc98102021a2459362b8b9798c89
9,781
cpp
C++
src/Lib/scheduling/ScreamScheduler.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Lib/scheduling/ScreamScheduler.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Lib/scheduling/ScreamScheduler.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
#include "CorePch.h" #include <rtp++/scheduling/ScreamScheduler.h> #include <scream/code/RtpQueue.h> #include <scream/code/ScreamTx.h> #include <rtp++/experimental/ExperimentalRtcp.h> #include <rtp++/experimental/Scream.h> #define ENABLE_SCREAM_LOG true namespace rtp_plus_plus { #ifdef ENABLE_SCREAM ScreamScheduler...
36.909434
168
0.668541
miseri
ef4d636592f368cd1c7e37220031970fa1899ad0
3,628
cpp
C++
src/main.cpp
alex-spataru/RFID-Manager
6d7ad667f520466b8a5d3553b6b5b3dc6d2be18f
[ "MIT" ]
2
2020-05-15T09:44:10.000Z
2022-01-11T11:19:36.000Z
src/main.cpp
alex-spataru/RFID-Manager
6d7ad667f520466b8a5d3553b6b5b3dc6d2be18f
[ "MIT" ]
null
null
null
src/main.cpp
alex-spataru/RFID-Manager
6d7ad667f520466b8a5d3553b6b5b3dc6d2be18f
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019 Alex Spataru <https://github.com/alex-spataru> * * 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...
42.682353
87
0.712514
alex-spataru
ef54b3dd95b4ca99180b18e52595461ec87ef8f8
1,212
cpp
C++
src/datatypes.cpp
arjun-menon/vcalc
899c890b100ce33fb4bf2f94653c57d1a1997bc7
[ "Apache-2.0" ]
1
2019-07-16T08:25:52.000Z
2019-07-16T08:25:52.000Z
src/datatypes.cpp
arjun-menon/vcalc
899c890b100ce33fb4bf2f94653c57d1a1997bc7
[ "Apache-2.0" ]
null
null
null
src/datatypes.cpp
arjun-menon/vcalc
899c890b100ce33fb4bf2f94653c57d1a1997bc7
[ "Apache-2.0" ]
null
null
null
#include "common.hpp" map<string, weak_ptr<Symbol>> Symbol::existingSymbols; shared_ptr<Symbol> Symbol::create(const string &name) { if(existingSymbols.find(name) != existingSymbols.end()) if(auto symbol = existingSymbols[name].lock()) return symbol; auto symbol = shared_ptr<Symbol>(new S...
22.867925
59
0.55033
arjun-menon
ef57e19d35c66ec5bf8b193fd9e2be0d99dc4bbb
5,165
hxx
C++
projects/Phantom/phantom/lang/MethodPointer.hxx
vlmillet/phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
12
2019-12-26T00:55:39.000Z
2020-12-03T14:46:56.000Z
projects/Phantom/phantom/lang/MethodPointer.hxx
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
null
null
null
projects/Phantom/phantom/lang/MethodPointer.hxx
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
1
2020-12-09T11:47:13.000Z
2020-12-09T11:47:13.000Z
#pragma once // haunt { // clang-format off #include "MethodPointer.h" #if defined(_MSC_VER) # pragma warning(push, 0) #elif defined(__clang__) # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wall" # pragma clang diagnostic ignored "-Wextra" #endif #include <phantom/namespace> #include <...
47.385321
178
0.654985
vlmillet
ef5827aab40050c59a3fa830f0a790c1ec13ebad
2,133
cpp
C++
Plugins/ChromeDevTools/Source/ChromeDevToolsJSI.cpp
EricBeetsOfficial-Opuscope/BabylonNative
fc7b2add9da4ef8e79ad86e087457685bdb2417f
[ "MIT" ]
474
2019-05-29T09:41:22.000Z
2022-03-31T12:09:35.000Z
Plugins/ChromeDevTools/Source/ChromeDevToolsJSI.cpp
chrisfromwork/BabylonNative
18455a1ac3363354040030adee39cd666c31df68
[ "MIT" ]
593
2019-05-31T23:56:36.000Z
2022-03-31T19:25:09.000Z
Plugins/ChromeDevTools/Source/ChromeDevToolsJSI.cpp
chrisfromwork/BabylonNative
18455a1ac3363354040030adee39cd666c31df68
[ "MIT" ]
114
2019-06-10T18:07:19.000Z
2022-03-11T21:13:27.000Z
#include "ChromeDevTools.h" #include <V8JsiRuntime.h> #include <Babylon/JsRuntime.h> namespace Babylon::Plugins { class ChromeDevTools::Impl final : public std::enable_shared_from_this<ChromeDevTools::Impl> { public: explicit Impl(Napi::Env env) : m_env(env) { ...
27.701299
151
0.551805
EricBeetsOfficial-Opuscope
ef5f5cb056e96601973b80f8e642f8e1836a00d5
7,455
cpp
C++
TimothE/ResourceManager.cpp
Timothy-Needs-to-Die/TimothE
d4f458c166c15f8cb22095ade9c198bd30729f65
[ "Apache-2.0" ]
null
null
null
TimothE/ResourceManager.cpp
Timothy-Needs-to-Die/TimothE
d4f458c166c15f8cb22095ade9c198bd30729f65
[ "Apache-2.0" ]
5
2022-01-17T13:05:42.000Z
2022-01-28T12:40:00.000Z
TimothE/ResourceManager.cpp
Timothy-Needs-to-Die/TimothE
d4f458c166c15f8cb22095ade9c198bd30729f65
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "ResourceManager.h" #include "Core/Graphics/OpenGLError.h" #include "FarmScene.h" #include "MainMenuScene.h" #include "Dirent.h" #include "misc/cpp/imgui_stdlib.h" #include "FarmScene.h" #include "TownScene.h" std::map<std::string, Texture2D*> ResourceManager::_textures; std::map<std::string...
51.770833
158
0.779745
Timothy-Needs-to-Die
ef62b91f0ec7b8260e7193f6b28ce8d08b489b88
6,197
cpp
C++
ionGUI/ionGUI.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
36
2015-06-28T14:53:06.000Z
2021-10-31T04:26:53.000Z
ionGUI/ionGUI.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
90
2015-05-01T07:21:43.000Z
2017-08-30T01:16:41.000Z
ionGUI/ionGUI.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
9
2016-04-08T07:48:02.000Z
2019-07-22T15:13:53.000Z
#include "ionGUI.h" using namespace ion; namespace ImGui { bool SliderDouble(const char * label, double * v, double v_min, double v_max, const char * display_format, double power) { float temp = (float) *v; if (SliderFloat(label, &temp, (float) v_min, (float) v_max, display_format, (float) power)...
23.926641
129
0.611425
iondune
ef64365f574ac3238d50fcfda5a9a1f3d4119b5b
1,664
cc
C++
Source/BladeFramework/source/TimeSource.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/BladeFramework/source/TimeSource.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/BladeFramework/source/TimeSource.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2010/09/08 filename: TimeSource.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #include <TimeSource.h> namespace Blade { //////////////////////////////////////...
24.470588
75
0.478365
OscarGame
ef66959690a9d751b28f80e30ba86dcd4364e351
3,963
cpp
C++
externals/pantheios-1.0.1-beta214/src/core/api.exitprocess.cpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
externals/pantheios-1.0.1-beta214/src/core/api.exitprocess.cpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
externals/pantheios-1.0.1-beta214/src/core/api.exitprocess.cpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
/* ///////////////////////////////////////////////////////////////////////// * File: src/core/api.exitprocess.cpp * * Purpose: Implementation file for Pantheios core API. * * Created: 21st June 2005 * Updated: 20th March 2012 * * Home: http://www.pantheios.org/ * * Copyrigh...
35.383929
78
0.629069
betasheet
ef6d55e7afa2d0ba1283ba681a4d5d5e8a423379
1,107
hpp
C++
include/Parser.hpp
Electrux/alacrity-lang
2931533c0f393cf2d2500ac0848da452fbc19295
[ "BSD-3-Clause" ]
15
2019-03-21T14:37:17.000Z
2021-11-14T20:35:46.000Z
include/Parser.hpp
Electrux/alacrity-lang
2931533c0f393cf2d2500ac0848da452fbc19295
[ "BSD-3-Clause" ]
null
null
null
include/Parser.hpp
Electrux/alacrity-lang
2931533c0f393cf2d2500ac0848da452fbc19295
[ "BSD-3-Clause" ]
5
2019-02-02T10:18:04.000Z
2021-05-06T16:34:04.000Z
/* Copyright (c) 2019, Electrux All rights reserved. Using the BSD 3-Clause license for the project, main LICENSE file resides in project's root directory. Please read that file and understand the license terms before using or altering the project. */ #ifndef PARSER_HPP #define PARSER_HPP #include <variant> #...
22.14
71
0.710027
Electrux
ef757c4c99b400e488caa342cf57e5c0f9eb2d3c
15,471
hh
C++
db/slt3/var.hh
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
3
2016-05-09T15:29:29.000Z
2017-11-22T06:16:18.000Z
db/slt3/var.hh
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
null
null
null
db/slt3/var.hh
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2008,2009,2010, CodeSLoop Team Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaim...
38.105911
134
0.6136
codesloop
ef75b739187f4073199194f217cc6cb0915e7c4a
126
cpp
C++
source/ion/ecs/component.cpp
dvdbrink/ion
a5fe2aba7927b7a90e913cbf72325a04172fc494
[ "MIT" ]
null
null
null
source/ion/ecs/component.cpp
dvdbrink/ion
a5fe2aba7927b7a90e913cbf72325a04172fc494
[ "MIT" ]
null
null
null
source/ion/ecs/component.cpp
dvdbrink/ion
a5fe2aba7927b7a90e913cbf72325a04172fc494
[ "MIT" ]
null
null
null
#include <ion/ecs/component.hpp> namespace ion { namespace ecs { BaseComponent::Family BaseComponent::next_family = 0; }}
21
57
0.738095
dvdbrink
ef7bf9b91a1d1b22cdc00210840d14dee0d80daa
163
cpp
C++
src/rendering/engine/engine/resources/pipeline.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
null
null
null
src/rendering/engine/engine/resources/pipeline.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
1
2019-12-02T20:17:52.000Z
2019-12-02T20:17:52.000Z
src/rendering/engine/engine/resources/pipeline.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
null
null
null
// This file is part of Tempest project // Author: Karol Kontny #include "pipeline.h" namespace tst { namespace engine {} // namespace engine } // namespace tst
18.111111
39
0.717791
Bargor
ef7ea1008a8c8e331ef658e1214d65c362b8bda2
3,283
cpp
C++
examples/utility/workpool/example_file_open_pool.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
26
2015-08-25T16:07:58.000Z
2019-07-05T15:21:22.000Z
examples/utility/workpool/example_file_open_pool.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-10-15T22:55:15.000Z
2017-09-19T12:41:10.000Z
examples/utility/workpool/example_file_open_pool.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-09-15T10:34:52.000Z
2018-10-30T11:46:46.000Z
// example_file_open_pool.cpp // // Copyright (c) 2007, 2008, 2018 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // 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. // #incl...
25.449612
89
0.514164
vipalade
ef7f7edbc30bb01f0314d4d5a6f7cf3ef88d5c6f
122,193
cc
C++
processors/IA32/bochs/cpu/sse.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
445
2016-06-30T08:19:11.000Z
2022-03-28T06:09:49.000Z
processors/IA32/bochs/cpu/sse.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
439
2016-06-29T20:14:36.000Z
2022-03-17T19:59:58.000Z
processors/IA32/bochs/cpu/sse.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
137
2016-07-02T17:32:07.000Z
2022-03-20T11:17:25.000Z
///////////////////////////////////////////////////////////////////////// // $Id: sse.cc,v 1.62 2008/08/11 18:53:23 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2003 Stanislav Shwartsman // Written by Stanislav Shwartsman [sshwarts at sourceforg...
30.245792
101
0.654399
pavel-krivanek
ef821a915e4496f4b87de51ce0211e94400c8404
1,563
cpp
C++
test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02.pass.cpp
caiohamamura/libcxx
27c836ff3a9c505deb9fd1616012924de8ff9279
[ "MIT" ]
1,244
2015-01-02T21:08:56.000Z
2022-03-22T21:34:16.000Z
test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02.pass.cpp
caiohamamura/libcxx
27c836ff3a9c505deb9fd1616012924de8ff9279
[ "MIT" ]
125
2015-01-22T01:08:00.000Z
2020-05-25T08:28:17.000Z
test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02.pass.cpp
caiohamamura/libcxx
27c836ff3a9c505deb9fd1616012924de8ff9279
[ "MIT" ]
124
2015-01-12T15:06:17.000Z
2022-03-26T07:48:53.000Z
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
17.761364
80
0.540627
caiohamamura
ef8384dfd2ab7e23d4c854917133686efed4604b
2,736
cpp
C++
src/GameData.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/GameData.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/GameData.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
1
2021-02-24T23:00:44.000Z
2021-02-24T23:00:44.000Z
#include "GameData.h" #include <boost/filesystem.hpp> #include <iostream> const std::string GameData::xmlTagGameList = "gameList"; const std::string GameData::xmlTagGame = "game"; const std::string GameData::xmlTagName = "name"; const std::string GameData::xmlTagPath = "path"; const std::string GameData::xmlTagDescri...
19.683453
111
0.703947
dem1980
ef84a29ef3afd61450620e6687cf4cf220c7f7e4
7,898
hpp
C++
include/geometricks/data_structure/quad_tree.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
include/geometricks/data_structure/quad_tree.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
include/geometricks/data_structure/quad_tree.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
#ifndef GEOMETRICKS_DATA_STRUCTURE_QUAD_TREE_HPP #define GEOMETRICKS_DATA_STRUCTURE_QUAD_TREE_HPP //C stdlib includes #include <stdint.h> #include <assert.h> //C++ stdlib includesca #include <type_traits> //Project includes #include "shapes.hpp" #include "geometricks/memory/allocator.hpp" #include "internal/small_ve...
34.190476
162
0.609775
mitthy
ef8627edd1d9bc81fe84b0e6c41e724cbe8e3ff1
2,533
hpp
C++
Example/Toturial-3/5 - thread - producer consumer list/thread - producer consumer list/MTLibrary/LockList.hpp
orenccl/Winsock-Multi-Client-Server
143bb3b6c856270249632dc01f5223f65180ca89
[ "MIT" ]
2
2019-11-11T01:03:02.000Z
2019-11-11T01:04:54.000Z
Example/Toturial-3/5 - thread - producer consumer list/thread - producer consumer list/MTLibrary/LockList.hpp
orenccl/MintServer
143bb3b6c856270249632dc01f5223f65180ca89
[ "MIT" ]
null
null
null
Example/Toturial-3/5 - thread - producer consumer list/thread - producer consumer list/MTLibrary/LockList.hpp
orenccl/MintServer
143bb3b6c856270249632dc01f5223f65180ca89
[ "MIT" ]
null
null
null
#pragma once #include "List/TMPSinglyList.hpp" #include "List/TMPDoublyList.hpp" #include "Lock.h" template < class DATA_TYPE > class TMPSinglyLockList : public TMPSinglyList< DATA_TYPE > { public: CLock Locker; inline void Create(UINT object_max) { TMPSinglyList< DATA_TYPE >::Create(object_max); Locker.Creat...
23.238532
68
0.703514
orenccl
ef87588eef357ff09ac11b86790d501435602102
2,813
cpp
C++
tester.cpp
ReinaldoDiasAbreu/TestesAutomatizados
06ce12a3af585d3f3ffadf0e9966346112460c2f
[ "MIT" ]
null
null
null
tester.cpp
ReinaldoDiasAbreu/TestesAutomatizados
06ce12a3af585d3f3ffadf0e9966346112460c2f
[ "MIT" ]
null
null
null
tester.cpp
ReinaldoDiasAbreu/TestesAutomatizados
06ce12a3af585d3f3ffadf0e9966346112460c2f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <cstdlib> #include <string> using namespace std; /* Programa de Automatização de Testes */ void help() { cout << endl << " TESTER" << endl << endl; cout << " Executa comparaçoes entre as entradas e saídas especificadas." << endl << ...
35.607595
118
0.424102
ReinaldoDiasAbreu
ef8b264cd7a612e3c1bfe6c2f13a18893deaf7b6
1,630
cpp
C++
add_strings.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
add_strings.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
add_strings.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <sstream> using namespace std; class Solution { public: string addStrings(string num1, string num2) { int n1 = 0, n2 = 0; int i, j; int carry = 0; int sum; string results = ""; string str1, str2; for (i = (num1.size() - 1), j = (num2.size() - 1); (i >= 0)...
14.684685
76
0.423313
shirishbahirat
ef8bc7dabcb3e35dfd2bb55ab965a44577b48b70
20,488
cpp
C++
src/plugProjectNishimuraU/KurageMgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/plugProjectNishimuraU/KurageMgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/plugProjectNishimuraU/KurageMgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_80489A38 lbl_80489A38: .asciz "246-KurageMgr" .skip 2 .global lbl_80489A48 lbl_80489A48: .4byte 0x834E8389 .4byte 0x83518368 .4byte 0x8362834E ...
23.906651
71
0.600693
projectPiki