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
108
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
67k
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
3f0614fd6f1a11896a3da3d7a2b660f8d238fdaf
1,009
cpp
C++
xfa/fxfa/parser/cxfa_binditemsdata.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
1
2019-01-12T07:00:46.000Z
2019-01-12T07:00:46.000Z
xfa/fxfa/parser/cxfa_binditemsdata.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
xfa/fxfa/parser/cxfa_binditemsdata.cpp
jamespayor/pdfium
07b4727a34d2f4aff851f0dc420faf617caca220
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/cxfa_binditemsdata.h" #include "xfa/fxfa/parser/cxf...
33.633333
80
0.74331
jamespayor
3f0a346f1e8c71b57165a44ba8b6bce9c754fabb
2,768
cc
C++
gcc-gcc-7_3_0-release/libvtv/testsuite/other-tests/so.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libvtv/testsuite/other-tests/so.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libvtv/testsuite/other-tests/so.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
#include <dlfcn.h> #include <assert.h> #include <unistd.h> #include <vtv_fail.h> extern "C" int printf(const char *, ...); extern "C" int sprintf(char *, const char*, ...); static int counter = 0; extern int failures; template <int i> struct base { virtual char * whoami() { static char sl[100]; sprintf(sl,...
29.446809
124
0.670882
best08618
3f0d1a425429c90e344871374fe4209ff80c2548
4,756
hpp
C++
game/game_objects/editor/object_selector.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
game/game_objects/editor/object_selector.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
game/game_objects/editor/object_selector.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
1
2020-01-29T10:18:23.000Z
2020-01-29T10:18:23.000Z
#include <engine.hpp> #include <game_object.hpp> #include <input_manager.hpp> #include <movable_object.hpp> #include "../space_ship.hpp" #include <SDL2/SDL_mouse.h> // TODO hide this in the engine #include <glm/gtc/matrix_transform.hpp> #include <ptm/glm_to_ptm.hpp> #include <ptm/math.hpp> #include <ptm/vec4.hpp> #i...
30.101266
80
0.555929
antonkanin
3f0dbd9fdc9a02703a12aaa365967bf1a9b6cc2f
2,541
cpp
C++
jagles/src/main/jni/gles/GLES/ToursLoading.cpp
copslock/Gles
9fafaa4cafd6fbcbc3e4d5d650bb1a1637c8cd70
[ "Apache-2.0" ]
1
2021-05-19T02:34:15.000Z
2021-05-19T02:34:15.000Z
jagles/src/main/jni/gles/GLES/ToursLoading.cpp
copslock/Gles
9fafaa4cafd6fbcbc3e4d5d650bb1a1637c8cd70
[ "Apache-2.0" ]
null
null
null
jagles/src/main/jni/gles/GLES/ToursLoading.cpp
copslock/Gles
9fafaa4cafd6fbcbc3e4d5d650bb1a1637c8cd70
[ "Apache-2.0" ]
null
null
null
// // Created by LiHong on 16/1/23. // Copyright (c) 2016 LiHong. All rights reserved. // #include "ToursLoading.h" const char *ToursLoadingSeg = "uniform mat4 projection;\n" "uniform mat4 modelView;\n" "attribute vec4 vPosition;\n" "attribute vec2 aTexCoor;\n" "\n" "varying ve...
24.911765
132
0.651712
copslock
3f10a9f03e514238269127ed9e390d21a12099a4
2,614
hpp
C++
src/Modules/EffectsModule/Entity/FreeFrameEffect.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
src/Modules/EffectsModule/Entity/FreeFrameEffect.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
src/Modules/EffectsModule/Entity/FreeFrameEffect.hpp
danielfilipealmeida/Orange
e0118a7d1391e74c15c707e64a2e0458d51d318f
[ "MIT" ]
null
null
null
// // FreeFrameEffect.hpp // orange // // Created by Daniel Almeida on 13/01/2019. // // IMPORTANT: // FreeFrame filters are currently considered incompatible with GLSL filters. // This is because FreeFrame filters require ArbTex to be disabled while // GLSL requires the oposite. // Also, the used ofxFreeFrame is tw...
27.808511
96
0.555853
danielfilipealmeida
3f162437b1807c63d856305b661308be325dc922
20,620
cc
C++
libport-core/src/main/native/server/manager.cc
jerryz920/portlib
72c6534e8f064b5507a5c79766a13114478d3ffa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
libport-core/src/main/native/server/manager.cc
jerryz920/portlib
72c6534e8f064b5507a5c79766a13114478d3ffa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
libport-core/src/main/native/server/manager.cc
jerryz920/portlib
72c6534e8f064b5507a5c79766a13114478d3ffa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <unordered_map> #include "proto/config.h" #include "proto/statement.pb.h" #include "proto/utils.h" #include "proto/traits.h" #include "manager.h" #include "pplx/threadpool.h" #include "pplx/pplxtasks.h" #include "metadata.h" #include "utils.h" #include <jutils/config/simple.h> #include "config.h" namespace...
40.273438
106
0.651164
jerryz920
3f16a85da2f2141d66168faf3a23dbc0a795b747
12,253
cpp
C++
src/seeds.gratitude.cpp
shakhruz/seeds-smart-contracts
14423aa5901379f7a273536db4a93bf1da996f21
[ "MIT" ]
13
2020-04-05T15:26:58.000Z
2022-03-24T07:29:45.000Z
src/seeds.gratitude.cpp
shakhruz/seeds-smart-contracts
14423aa5901379f7a273536db4a93bf1da996f21
[ "MIT" ]
318
2020-03-09T14:56:45.000Z
2022-03-29T18:26:24.000Z
src/seeds.gratitude.cpp
chuck-h/seeds-smart-contracts
98f8279c52c607e0e3f697f125fcf43980402f27
[ "MIT" ]
3
2021-04-03T04:44:55.000Z
2021-12-15T16:22:03.000Z
#include <seeds.gratitude.hpp> ACTION gratitude::reset () { require_auth(get_self()); auto bitr = balances.begin(); while (bitr != balances.end()) { bitr = balances.erase(bitr); } auto actr = acks.begin(); while (actr != acks.end()) { actr = acks.erase(actr); } auto sitr = sizes.begin(); ...
26.293991
105
0.635028
shakhruz
3f1c925311136420bb6d4fa74bb71a485cb46e71
920
cpp
C++
c++/Comb-Sort.cpp
korolr/hacktoberfest-2023
f9ddd163dcf8b0e968c6ea79a854a0d61d04bcf5
[ "Unlicense" ]
6
2021-10-01T16:09:18.000Z
2021-10-31T12:00:10.000Z
c++/Comb-Sort.cpp
korolr/hacktoberfest-2023
f9ddd163dcf8b0e968c6ea79a854a0d61d04bcf5
[ "Unlicense" ]
7
2021-10-01T15:19:20.000Z
2021-11-01T01:51:43.000Z
c++/Comb-Sort.cpp
korolr/hacktoberfest-2023
f9ddd163dcf8b0e968c6ea79a854a0d61d04bcf5
[ "Unlicense" ]
26
2021-10-01T15:16:33.000Z
2021-10-31T11:55:52.000Z
//Program for Comb Sort in C++ #include<bits/stdc++.h> #include<time.h> using namespace std; int getNextGap(int gap) { gap = (gap*10)/13; if (gap < 1) return 1; return gap; } void Comb_Sort(int arr[], int n) { int gap = n; bool swapped = true; while (gap != 1 || swapped == true) { gap = getNextGap(gap); ...
16.727273
41
0.525
korolr
3f1c998ea2085593a1a2dd6e76d1a94367021f89
8,915
cc
C++
content/renderer/media/peer_connection_handler_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
content/renderer/media/peer_connection_handler_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
content/renderer/media/peer_connection_handler_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" #include "base/utf_string_conversions.h" #include "content/rende...
44.133663
95
0.721705
1065672644894730302
3f1d9331002cd16fcd383c568dfaca2752d3cebe
938
cc
C++
tools/re2c/src/ir/skeleton/maxlen.cc
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
5
2021-07-31T03:34:09.000Z
2021-08-31T21:43:50.000Z
tools/re2c/src/ir/skeleton/maxlen.cc
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
tools/re2c/src/ir/skeleton/maxlen.cc
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
#include "src/util/c99_stdint.h" #include <algorithm> #include <limits> #include <map> #include <utility> #include "src/ir/skeleton/skeleton.h" namespace re2c { // 0 < DIST_MAX < DIST_ERROR <= std::numeric_limits<uint32_t>::max() const uint32_t Node::DIST_ERROR = std::numeric_limits<uint32_t>::max(); const uint32_t ...
18.392157
71
0.609808
351ELEC
3f2034a3e8cad123ecf68947bd18fadf5d9db21e
498
cpp
C++
Niking2D/src/Niking2D/Renderer/VertexArray.cpp
SaNeOr/BabaIsYou_Niking2D
0fcf92c3b55f7c77950bf87f721b1b0010cf11a7
[ "Apache-2.0" ]
1
2020-02-06T18:32:02.000Z
2020-02-06T18:32:02.000Z
Niking2D/src/Niking2D/Renderer/VertexArray.cpp
SaNeOr/BabaIsYou_Niking2D
0fcf92c3b55f7c77950bf87f721b1b0010cf11a7
[ "Apache-2.0" ]
null
null
null
Niking2D/src/Niking2D/Renderer/VertexArray.cpp
SaNeOr/BabaIsYou_Niking2D
0fcf92c3b55f7c77950bf87f721b1b0010cf11a7
[ "Apache-2.0" ]
null
null
null
#include "n2pch.h" #include "VertexArray.h" #include "Renderer.h" #include "Platform/OpenGL/OpenGLVertexArray.h" namespace Niking2D { Ref<VertexArray> Niking2D::VertexArray::Create() { switch (Renderer::GetAPI()) { case RendererAPI::API::None: {N2_CORE_ASSERT(false, "RendererAPI::None is currently is not suppo...
24.9
125
0.726908
SaNeOr
3f20aa8608020d42becbfba298df30270c39a652
1,170
cc
C++
python/dune/xt/la/traits.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
python/dune/xt/la/traits.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
python/dune/xt/la/traits.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
35.454545
120
0.528205
dune-community
3f23f5ac26ac75fbb2037260daf6c7e5533ba4ea
2,450
cc
C++
src/fileio.cc
izzyaxel/libcommons
3dbdf65fa8af05d3b7beb260bd8211ee4f24cfb0
[ "BSD-3-Clause" ]
null
null
null
src/fileio.cc
izzyaxel/libcommons
3dbdf65fa8af05d3b7beb260bd8211ee4f24cfb0
[ "BSD-3-Clause" ]
null
null
null
src/fileio.cc
izzyaxel/libcommons
3dbdf65fa8af05d3b7beb260bd8211ee4f24cfb0
[ "BSD-3-Clause" ]
null
null
null
#include "commons/fileio.hh" #include <stdexcept> #include <fstream> #if defined(WINDOWS) #include <windows.h> #include <libloaderapi.h> #elif defined(LINUX) || defined(OSX) #include <sys/stat.h> #include <unistd.h> #endif std::string readTextFile(std::string const &filePath) { std::ifstream fileIn; fileIn.open(fi...
27.840909
171
0.704082
izzyaxel
3f24cfbd81c7233554345af0e3ea7609b399e7d3
3,153
cpp
C++
src/main.cpp
Raffson/CPU-VM
552d658d52dbf5f97c4506d4a7a959bc232e7c78
[ "MIT" ]
null
null
null
src/main.cpp
Raffson/CPU-VM
552d658d52dbf5f97c4506d4a7a959bc232e7c78
[ "MIT" ]
null
null
null
src/main.cpp
Raffson/CPU-VM
552d658d52dbf5f97c4506d4a7a959bc232e7c78
[ "MIT" ]
null
null
null
/* * main.cpp * * Created on: Jan 13, 2014 * Author: Raffson */ /*! \mainpage Exam for Advanced Programming at University of Antwerp * * \section intro_sec Introduction * * The goal was to make a virtual machine that can execute the following instructions: * \li 1) ADD (addition), currently not support...
30.317308
117
0.592452
Raffson
3f25b5d2c504fed41cbe13ff407906b44d3140a7
2,003
cpp
C++
CraftEngine/ajek-framework/src/x-png-decode.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
9
2017-04-05T01:42:36.000Z
2021-11-14T20:37:58.000Z
CraftEngine/ajek-framework/src/x-png-decode.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
82
2017-04-05T00:26:54.000Z
2019-09-21T22:43:09.000Z
CraftEngine/ajek-framework/src/x-png-decode.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
3
2019-01-08T17:11:17.000Z
2021-08-11T23:59:23.000Z
#include "PCH-framework.h" #include "x-png-decode.h" #include "x-stdfile.h" #include "png.h" void png_LoadFromFile(xBitmapData& dest, const xString& filename) { bug_on (filename.IsEmpty()); bug_on (!xPathIsUniversal(filename)); // paths should be converted at auto* fp = xFopen(filename, "rb"); ...
33.949153
162
0.685971
guibec
3f2aa04d2767660035d782890d5e9ae883d5557b
3,458
cpp
C++
JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Common/Timer/GameTimer.cpp
Jaraffe-github/Old_Engines
0586d383af99cfcf076b18dace49e779a55b88e8
[ "BSD-3-Clause" ]
null
null
null
JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Common/Timer/GameTimer.cpp
Jaraffe-github/Old_Engines
0586d383af99cfcf076b18dace49e779a55b88e8
[ "BSD-3-Clause" ]
null
null
null
JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Common/Timer/GameTimer.cpp
Jaraffe-github/Old_Engines
0586d383af99cfcf076b18dace49e779a55b88e8
[ "BSD-3-Clause" ]
null
null
null
//*************************************************************************************** // GameTimer.cpp by Frank Luna (C) 2011 All Rights Reserved. //*************************************************************************************** #include "stdafx.h" #include "GameTimer.h" JF::JFCGameTimer::JFCGameTimer() :...
26.396947
89
0.614806
Jaraffe-github
3f2e6b46b26fa9f78f9e4bd5de37a97c81977448
3,993
hpp
C++
src/Rendering/Base/include/HG/Rendering/Base/MaterialCollection.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2021-02-26T05:25:48.000Z
2021-09-16T22:30:41.000Z
src/Rendering/Base/include/HG/Rendering/Base/MaterialCollection.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
1
2019-10-19T10:36:43.000Z
2019-10-19T10:36:43.000Z
src/Rendering/Base/include/HG/Rendering/Base/MaterialCollection.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2019-10-22T18:56:59.000Z
2020-03-12T04:38:31.000Z
#pragma once // C++ STL #include <utility> // HG::Core #include <HG/Core/ResourceManager.hpp> // HG::Rendering::Base #include <HG/Rendering/Base/Material.hpp> #include <HG/Rendering/Base/Shader.hpp> // HG::Utils #include <HG/Utils/Loaders/StringLoader.hpp> namespace HG::Rendering::Base { class Renderer; /** * @b...
26.62
120
0.636614
Megaxela
3f32eaa36024b7998fbef50af78fc731cc9b3dd0
1,087
cpp
C++
data/test/cpp/3f32eaa36024b7998fbef50af78fc731cc9b3dd0CServiceLocator.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/cpp/3f32eaa36024b7998fbef50af78fc731cc9b3dd0CServiceLocator.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/cpp/3f32eaa36024b7998fbef50af78fc731cc9b3dd0CServiceLocator.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "CServiceLocator.h" namespace masterclient { CServiceLocator& CServiceLocator::get() { static CServiceLocator serv; return serv; } irr::scene::ISceneManager* CServiceLocator::getSceneManager() const { if (m_device == NULL) return NULL; return m_device->getSceneManager(); } irr::IrrlichtDevice* CService...
21.313725
69
0.731371
harshp8l
3f35e9b62cfa00b9d2b43c3677d86f2efbe3e345
16,494
cpp
C++
src/gbutton.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
19
2020-02-06T17:41:39.000Z
2022-03-31T07:38:15.000Z
src/gbutton.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
9
2020-02-14T15:46:46.000Z
2021-12-22T16:35:53.000Z
src/gbutton.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 M.A.X. Port Team * * 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, ...
26.056872
118
0.579908
klei1984
3f3792ed733c7cf77c30db5f92a9166fd2b5f49e
2,140
cpp
C++
C++/014. Longest Common Prefix.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
3
2018-07-28T15:36:18.000Z
2020-03-17T01:26:22.000Z
C++/014. Longest Common Prefix.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
C++/014. Longest Common Prefix.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
// // Created by 王阳 on 2018/3/28. // /* * Write a function to find the longest common prefix string amongst an array of strings. */ #include "header.h" class Solution { public: string longestCommonPrefix(vector <string> &strs) { if (strs.size() == 0) { return ""; // 如果没有字符串。 } ...
25.47619
89
0.413084
WangYang-wy
3f383172919759efce2a2e4f55029a8ac10a0743
4,346
cpp
C++
ProjectEuler+/euler-0178.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0178.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0178.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
1
2021-05-28T11:14:34.000Z
2021-05-28T11:14:34.000Z
// //////////////////////////////////////////////////////// // # Title // Step Numbers // // # URL // https://projecteuler.net/problem=178 // http://euler.stephan-brumme.com/178/ // // # Problem // Consider the number 45656. // It can be seen that each pair of consecutive digits of 45656 has a difference of one. // A n...
36.830508
159
0.668661
sarvekash
2786495e598e977f16ff42e7a8e685b6fb8e77d1
13,500
cc
C++
src/integrate.cc
esc/Psignifit-3.x
2a2a8a40f39d94f8fee99cb0ba4b9595ae216f88
[ "MIT" ]
6
2015-07-14T23:38:52.000Z
2018-10-12T08:15:36.000Z
src/integrate.cc
esc/Psignifit-3.x
2a2a8a40f39d94f8fee99cb0ba4b9595ae216f88
[ "MIT" ]
null
null
null
src/integrate.cc
esc/Psignifit-3.x
2a2a8a40f39d94f8fee99cb0ba4b9595ae216f88
[ "MIT" ]
5
2015-11-25T10:11:04.000Z
2018-10-12T08:17:48.000Z
#include "integrate.h" #include "errors.h" #include "linalg.h" // #define DEBUG_INTEGRATE PsiIndependentPosterior::PsiIndependentPosterior ( unsigned int nprm, std::vector<PsiPrior*> posteriors, std::vector< std::vector<double> > x, std::vector< std::vector<double> > fx ) : nparams (nprm), fitted_post...
25.961538
157
0.563185
esc
2786811c2154e399199df90e6c754613fd524dc0
2,476
cpp
C++
src/pix/box.cpp
Sonotsugipaa/pixnn
ad0499522c65d118d5f4beffa556f0b3a809a949
[ "MIT" ]
1
2019-09-28T20:50:50.000Z
2019-09-28T20:50:50.000Z
src/pix/box.cpp
Sonotsugipaa/pixnn
ad0499522c65d118d5f4beffa556f0b3a809a949
[ "MIT" ]
null
null
null
src/pix/box.cpp
Sonotsugipaa/pixnn
ad0499522c65d118d5f4beffa556f0b3a809a949
[ "MIT" ]
null
null
null
#include "pix/box_async.hpp" #include <mutex> namespace pix { Box::Box( gla::ShaderProgram& sp, unsigned int w, unsigned int h, glm::vec4 color, glm::vec2 top_left, glm::vec2 bottom_right, GLfloat depth ): Canvas::Canvas(w, h), shader (sp), vb (GL_ARRAY_BUFFER, GL_DYNAMIC_DRAW), ...
23.140187
72
0.662359
Sonotsugipaa
27870ccc20e539870b25d7b6ae1cfe97c0998903
2,082
cxx
C++
src/day05.cxx
ntadej/AdventOfCode2020
a5246e2e97f2e622f99206878718c7b46a7dcc2e
[ "MIT" ]
null
null
null
src/day05.cxx
ntadej/AdventOfCode2020
a5246e2e97f2e622f99206878718c7b46a7dcc2e
[ "MIT" ]
null
null
null
src/day05.cxx
ntadej/AdventOfCode2020
a5246e2e97f2e622f99206878718c7b46a7dcc2e
[ "MIT" ]
null
null
null
#include <algorithm> #include <filesystem> #include <fstream> #include <iostream> #include <string> #include <vector> size_t part_one(const std::filesystem::path &file) { std::ifstream input_file(file); size_t max{}; std::string line; while (std::getline(input_file, line)) { std::replace(line.begin(), lin...
23.931034
97
0.571566
ntadej
2788547f3838e911af852d5eb4c84b0db18f6905
424
cpp
C++
src/Edge.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
93
2019-06-04T06:56:49.000Z
2022-03-30T08:44:58.000Z
src/Edge.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
1
2020-02-06T14:56:41.000Z
2020-07-15T17:31:29.000Z
src/Edge.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
11
2019-06-06T21:11:29.000Z
2021-08-14T05:06:16.000Z
#include "Edge.h" #include "Mesh.h" #include "HalfEdge.h" namespace DDG { // only needed for old code const Vector Edge::Xvector( void ) const { return X()->next->vertex->position - X()->vertex->position; } // standard cotan Laplace coeff for this edge const double Edge::cot( void ) const { return ....
22.315789
63
0.606132
the13fools
278c938eb8d15dc1869c426c1586090a686e157b
5,797
cpp
C++
data/converted/genre__rpgaction_svg.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
data/converted/genre__rpgaction_svg.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
data/converted/genre__rpgaction_svg.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
// this file was auto-generated from "rpgaction.svg" by res2h #include "../Resources.h" const uint16_t genre__rpgaction_svg_size = 1019; const uint8_t genre__rpgaction_svg_data[1019] = { 0x3c,0x73,0x76,0x67,0x20,0x78,0x6d,0x6c,0x6e,0x73, 0x3d,0x22,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x77, 0x77,0x77,0x2e,0x...
52.225225
61
0.72848
AdoPi
278c9df25f31c7311880ac73a578f64bc25e0250
1,176
cc
C++
hackerrank/algorithms/search/sherlock-array.cc
fdavidcl/problems
a917a0e61fd80be38610e607eb86e6685323baa3
[ "MIT" ]
null
null
null
hackerrank/algorithms/search/sherlock-array.cc
fdavidcl/problems
a917a0e61fd80be38610e607eb86e6685323baa3
[ "MIT" ]
null
null
null
hackerrank/algorithms/search/sherlock-array.cc
fdavidcl/problems
a917a0e61fd80be38610e607eb86e6685323baa3
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <functional> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int test_cases; cin >> test_cases; for (int t = 0; t < test_cases; ++t) { int si...
21
76
0.528912
fdavidcl
278da29f7eb135a9d53f57a6151f4c0100f5547e
17,119
cpp
C++
platform/RemotingNG/RemoteGen/src/GenUtility.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
platform/RemotingNG/RemoteGen/src/GenUtility.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
null
null
null
platform/RemotingNG/RemoteGen/src/GenUtility.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
1
2020-11-23T23:37:09.000Z
2020-11-23T23:37:09.000Z
// // GenUtility.cpp // // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "GenUtility.h" #include "Poco/CodeGeneration/Utility.h" #include "Poco/CodeGeneration/GeneratorEngine.h" #include "Poco/CppParser/Utility.h" ...
30.40675
147
0.721304
gboyraz
278e160d0beb8ec45c4e33a51b5be78eb9ffcfae
261
hpp
C++
CPP-projects/CPP_piscine/module6/ex02/base.hpp
krusts31/codam_projects
a79e0a65fdf6e5b5488e5fd51bff1e52d803eab0
[ "MIT" ]
null
null
null
CPP-projects/CPP_piscine/module6/ex02/base.hpp
krusts31/codam_projects
a79e0a65fdf6e5b5488e5fd51bff1e52d803eab0
[ "MIT" ]
null
null
null
CPP-projects/CPP_piscine/module6/ex02/base.hpp
krusts31/codam_projects
a79e0a65fdf6e5b5488e5fd51bff1e52d803eab0
[ "MIT" ]
null
null
null
#ifndef Base_H # define Base_H #include <iostream> #include <stdio.h> #include <stdlib.h> #include <time.h> class Base { public: virtual ~Base(); }; Base::~Base() {} class A : public Base {}; class B : public Base {}; class C : public Base {}; #endif
13.05
26
0.632184
krusts31
27946a8ac1b3b63e1b742b69ccf0d14f9cd460f3
2,525
cpp
C++
ChemistryLib/PhreeqcIOData/CreateAqueousSolution.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
ChemistryLib/PhreeqcIOData/CreateAqueousSolution.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
2
2019-06-05T12:06:11.000Z
2019-06-06T08:45:30.000Z
ChemistryLib/PhreeqcIOData/CreateAqueousSolution.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
/** * \copyright * Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "AqueousSolution.h" #include "BaseLib/Con...
34.121622
86
0.688713
MManicaM
2795c3f2bd7d054b9efa1d3c37351a56659ce787
110
cc
C++
gui/dendrogramview.cc
Maurice189/eye-slitscan
a8ea2402936122f9e5c98152460bd16a4ba97740
[ "MIT" ]
5
2018-07-12T12:32:51.000Z
2021-04-06T12:13:37.000Z
gui/dendrogramview.cc
Maurice189/eye-slitscan
a8ea2402936122f9e5c98152460bd16a4ba97740
[ "MIT" ]
null
null
null
gui/dendrogramview.cc
Maurice189/eye-slitscan
a8ea2402936122f9e5c98152460bd16a4ba97740
[ "MIT" ]
null
null
null
#include "dendrogramview.h" DendrogramView::DendrogramView(QWidget *parent) : QGraphicsView(parent) { }
13.75
49
0.745455
Maurice189
27970497ef1abe554168eefd7182a3ebdd9589d0
21,491
cxx
C++
ds/ds/src/ldap/client/compare.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/ds/src/ldap/client/compare.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/ds/src/ldap/client/compare.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1996 Microsoft Corporation Module Name: compare.cxx handle compare requests to an LDAP server Abstract: This module implements the LDAP compare APIs. Author: Andy Herron (andyhe) 02-Jul-1996 Revision History: --*/ #include "precomp.h" #pragma hdrstop ...
26.499383
104
0.455353
npocmaka
2798cdd0f4f8b344eeb0ccd559b038959ab01e46
1,062
cxx
C++
panda/src/pgraphnodes/lodNodeType.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/pgraphnodes/lodNodeType.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/pgraphnodes/lodNodeType.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file lodNodeType.cxx * @aut...
21.673469
70
0.62806
sean5470
2799a4f9647b4fa47b4a14aa815d9f794dc103b0
536
hpp
C++
ngraph/core/include/ngraph/shape.hpp
henrywu2019/openvino
754ee2eb1a933db72fc3d698d95803f3b8795abe
[ "Apache-2.0" ]
1
2021-12-30T05:47:43.000Z
2021-12-30T05:47:43.000Z
ngraph/core/include/ngraph/shape.hpp
SueHeck/openvino
9d53b3536d82c974382b25ba9489276c71ba8102
[ "Apache-2.0" ]
33
2020-12-05T04:44:56.000Z
2022-02-21T13:13:12.000Z
ngraph/core/include/ngraph/shape.hpp
SueHeck/openvino
9d53b3536d82c974382b25ba9489276c71ba8102
[ "Apache-2.0" ]
1
2021-01-21T12:09:13.000Z
2021-01-21T12:09:13.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <cstdio> #include <numeric> #include <vector> #include "ngraph/attribute_adapter.hpp" #include "ngraph/axis_set.hpp" #include "ngraph/ngraph_visibility.hpp" #include "ngraph/strides.hpp" #include "openvino/co...
21.44
44
0.76306
henrywu2019
279a9659fd60a71b0f0221d02b0717a472cb8474
626
hpp
C++
products/BellHybrid/apps/common/include/common/popups/BellTurnOffOptionWindow.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
products/BellHybrid/apps/common/include/common/popups/BellTurnOffOptionWindow.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
products/BellHybrid/apps/common/include/common/popups/BellTurnOffOptionWindow.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <common/options/BellShortOptionWindow.hpp> namespace gui { class BellTurnOffOptionWindow : public BellShortOptionWindow { public: static c...
27.217391
102
0.696486
bitigchi
279f7816985cf7e2f15f35e78fec6bbc256e8f92
6,861
hpp
C++
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License...
31.186364
107
0.660837
1690296356
27a373c9b0c89c4f06c7a1079a11ceece1e69b4e
3,961
cpp
C++
amd_tressfx/src/Util.cpp
vlj/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
1
2018-08-06T22:31:28.000Z
2018-08-06T22:31:28.000Z
amd_tressfx/src/Util.cpp
0x6E745C/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
null
null
null
amd_tressfx/src/Util.cpp
0x6E745C/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
1
2019-03-16T11:40:23.000Z
2019-03-16T11:40:23.000Z
//-------------------------------------------------------------------------------------- // File: Util.cpp // // // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
28.702899
89
0.590255
vlj
27a70088cc10f8a2feb0f31d7334f88e66b3839a
240
cpp
C++
Codeforces/contests/round-483/a.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
1
2017-06-24T11:17:37.000Z
2017-06-24T11:17:37.000Z
Codeforces/contests/round-483/a.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
null
null
null
Codeforces/contests/round-483/a.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> vec(n); for (int i = 0; i < n; ++i) { cin >> vec[i]; } sort(vec.begin(), vec.end()); cout << vec[(n-1)/2]; }
15
33
0.445833
Anzoteh96
27a8763ee97c5599f5f9ff165d177de69d9138f2
1,810
cpp
C++
mlog/throw.cpp
Lowdham/mlog
034134ec2048fb78084f4772275b5f67efeec433
[ "MIT" ]
2
2021-06-19T04:14:14.000Z
2021-08-30T15:39:49.000Z
mlog/throw.cpp
Lowdham/mlog
034134ec2048fb78084f4772275b5f67efeec433
[ "MIT" ]
1
2021-06-21T15:58:19.000Z
2021-06-22T02:04:39.000Z
mlog/throw.cpp
Lowdham/mlog
034134ec2048fb78084f4772275b5f67efeec433
[ "MIT" ]
null
null
null
// This file is part of mlog. /* BSD 3-Clause License Copyright (c) 2018 - 2021, LH_Mouse All rights reserved. */ #include <cstdarg> // ::va_list #include <cstdio> // ::vasprintf() #include <cstdlib> // ::free() #include "throw.hpp" namespace mlog { // Define the main template. template <typename e...
26.231884
66
0.683425
Lowdham
27a96b1250a84fd89dbdef756b9b0ecfd5df6824
12,358
cpp
C++
src/scene/room.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
1
2019-02-13T15:39:56.000Z
2019-02-13T15:39:56.000Z
src/scene/room.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
null
null
null
src/scene/room.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
2
2017-11-09T12:06:41.000Z
2019-02-13T15:40:02.000Z
#include "vixen.h" namespace Vixen { VX_IMPLEMENT_CLASSID(Room, Model, VX_Room); static const TCHAR* opnames[] = { TEXT("AttachWall"), TEXT("AttachOutgoing"), TEXT("AttachIncoming"), TEXT("AttachFixture"), TEXT("DetachWall") , TEXT("DetachOutging"), TEXT("DetachIncoming"), TEXT("DetachFixture") }; const TCHAR** R...
25.480412
101
0.669364
Caprica666
27abb997becf1e4f59e93ce7a9678edbcf0ca07d
393
cpp
C++
hdu_oj/1000.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
hdu_oj/1000.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
hdu_oj/1000.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
2
2020-01-01T13:49:08.000Z
2021-03-06T06:54:26.000Z
/************************************************************************* > File Name: 1000.cpp > Author: Yang Zhang > Mail: zyziszy@foxmail.com > Created Time: Tue 31 Dec 2019 12:04:02 PM CST ************************************************************************/ #include<iostream> using namespace std; int...
23.117647
74
0.407125
zyzisyz
27abdc36df37acd4730d5e592a8d110c3cfeb134
3,513
cpp
C++
sources/source.cpp
hucker99/lab10_
18a59004a006f30b2c78265698ce892b66504acd
[ "MIT" ]
null
null
null
sources/source.cpp
hucker99/lab10_
18a59004a006f30b2c78265698ce892b66504acd
[ "MIT" ]
null
null
null
sources/source.cpp
hucker99/lab10_
18a59004a006f30b2c78265698ce892b66504acd
[ "MIT" ]
null
null
null
// Copyright 2018 Your Name <your_email> #include <header.hpp> #include <constants.h> int main(int argc, char **argv) { std::string loglevel, pathin, pathout; try { boost::program_options::options_description desc("Allowed options"); desc.add_options() ("log-level", boost::progr...
37.774194
76
0.496442
hucker99
27aef53c2fd91ac85a8838960fc7649933f7a890
3,989
cpp
C++
Engine/source/gui/utility/guiInputCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/gui/utility/guiInputCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/gui/utility/guiInputCtrl.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "gui/utility/guiInputCtrl.h" #include "sim/actionMap.h" #include "console/engineAPI.h" IMPLEMENT_CONOBJECT(GuiInputCtrl); ConsoleDocClass( GuiInputCtrl, "@brief A control that locks the mo...
27.136054
108
0.566307
fr1tz
27b4e85bc39f655ef1f97aaf11e95f772d355697
7,650
hpp
C++
alpaka/include/alpaka/mem/buf/sycl/Copy.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
25
2015-01-30T12:19:48.000Z
2020-10-30T07:52:45.000Z
alpaka/include/alpaka/mem/buf/sycl/Copy.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
101
2015-01-06T11:31:26.000Z
2020-11-09T13:51:19.000Z
alpaka/include/alpaka/mem/buf/sycl/Copy.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
10
2015-06-10T07:54:30.000Z
2020-05-06T10:07:39.000Z
/* Copyright 2022 Jan Stephan * * This file is part of Alpaka. * * 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/. */ #pragma once #ifdef ALPAKA_ACC_SYCL_ENABLED...
39.84375
119
0.644706
ComputationalRadiationPhysics
27b96295585dfc14f12291ada50c4d215e7242b7
1,571
cpp
C++
src/mergesort.cpp
xiangp126/sort_algorithm_gallery
803f5e725b78572249fa545545193fcdee506c21
[ "MIT" ]
null
null
null
src/mergesort.cpp
xiangp126/sort_algorithm_gallery
803f5e725b78572249fa545545193fcdee506c21
[ "MIT" ]
null
null
null
src/mergesort.cpp
xiangp126/sort_algorithm_gallery
803f5e725b78572249fa545545193fcdee506c21
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; void showArray(vector<int> &, int); void mergeSort(vector<int> &, int); void mSort(int *, vector<int> &, int, int); void merge(int *, vector<int> &, int, int); int main() { vector<int> nums {13, 2, 7, 12, 8, -4, 9, 12, 6, 3}; const int N = nums.size()...
24.936508
65
0.526416
xiangp126
27ba6f83974749db260a5c6a80572c15ff23cf28
1,301
hpp
C++
src/cardres.hpp
katsuster/sample_arib_descramble
7a6e9218cf82addcee69e063477172fa4fa6a6aa
[ "Apache-2.0" ]
null
null
null
src/cardres.hpp
katsuster/sample_arib_descramble
7a6e9218cf82addcee69e063477172fa4fa6a6aa
[ "Apache-2.0" ]
null
null
null
src/cardres.hpp
katsuster/sample_arib_descramble
7a6e9218cf82addcee69e063477172fa4fa6a6aa
[ "Apache-2.0" ]
1
2021-03-17T04:49:53.000Z
2021-03-17T04:49:53.000Z
#ifndef CARDRES_HPP__ #define CARDRES_HPP__ #include <cerrno> #include <cstdint> #include <cinttypes> #include "packet.hpp" class cardres_base : public packet { public: cardres_base() : protocol_unit_number(0), unit_length(0), ic_card_instruction(0), return_code(0) { } virtual const packet::stub_base__r...
19.712121
63
0.708686
katsuster
27bc4c63aa336b0bf5c8514c6c53803e6c1c1046
11,866
cpp
C++
src/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31.226316
100
0.647564
dAck2cC2
27bd33b6112e210c9a26b3f39b3818fa4cdedd93
4,085
cpp
C++
mp/src/game/server/hl2rp/hl2rp_gamerules.cpp
HL2RP/HL2RP
7f8570785a106e66036d014bcb4e6bd669421b97
[ "Unlicense" ]
2
2018-07-15T21:40:41.000Z
2022-01-29T15:18:29.000Z
mp/src/game/server/hl2rp/hl2rp_gamerules.cpp
HL2RP/HL2RP
7f8570785a106e66036d014bcb4e6bd669421b97
[ "Unlicense" ]
null
null
null
mp/src/game/server/hl2rp/hl2rp_gamerules.cpp
HL2RP/HL2RP
7f8570785a106e66036d014bcb4e6bd669421b97
[ "Unlicense" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include <cbase.h> #include "hl2rp_gamerules.h" #include "hl2_roleplayer.h" #include <fmtstr.h> #include <networkstringtable_gamedll.h> #include <tier2/f...
27.979452
110
0.756916
HL2RP
27be73a3ee2382f3191d1244862fd414104b5620
21,916
cpp
C++
LLY/LLY/render/Device.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
3
2015-07-04T03:35:51.000Z
2017-09-10T08:23:25.000Z
LLY/LLY/render/Device.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
LLY/LLY/render/Device.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
#include "Device.h" #include "../System.h" #include "../input/Input.h" #include <iostream> #include "../util/FuncUnitl.h" #include "../resource/Program.h" #include "RenderTarget.h" #include "../resource/Texture2D.h" #include "../resource/Texture3D.h" #include "../resource/TextureCube.h" #include "../util/Macros.h" nam...
26.923833
178
0.710851
ooeyusea
27c3778486886920d466b80c020171717eb58399
398
hpp
C++
inc/GraphicsLib/ImGui/imgui_impl_graphicslib.hpp
Sushiwave/graphics-lib
c303e9fb9f11276230a09b45581cdbefa8d2a356
[ "MIT" ]
1
2020-07-13T18:10:33.000Z
2020-07-13T18:10:33.000Z
inc/GraphicsLib/ImGui/imgui_impl_graphicslib.hpp
Sushiwave/graphics-lib
c303e9fb9f11276230a09b45581cdbefa8d2a356
[ "MIT" ]
null
null
null
inc/GraphicsLib/ImGui/imgui_impl_graphicslib.hpp
Sushiwave/graphics-lib
c303e9fb9f11276230a09b45581cdbefa8d2a356
[ "MIT" ]
null
null
null
#pragma once #include <Windows.h> #include <ThirdParty/ExtendedImGui/ImGui/imgui.h> IMGUI_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); IMGUI_IMPL_API bool ImGui_ImplGraphicsLib_Init(); IMGUI_IMPL_API void ImGui_ImplGraphicsLib_Shutdown(); IMGUI_IMPL_API void ImGui_Im...
33.166667
100
0.846734
Sushiwave
27c414c437288c03d54c807d65c211a77ae1b419
10,156
cpp
C++
source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.hpp" #include "Castor3D/Engine.hpp" #include "Castor3D/Material/Texture/Sampler.hpp" #include "Castor3D/Material/Texture/TextureLayout.hpp" #include "Castor3D/Material/Texture/TextureUnit.hpp" #include "Castor3D/Render/RenderDevice.hpp"...
34.900344
134
0.700571
DragonJoker
27c4ebb905770485fa51267b9f2a55802e66fee0
1,745
cpp
C++
core/test/test-stack-api.cpp
tmolitor-stud-tu/umundo
35f5b3ad57034dfd4f27a2c5f56803fa5de9483a
[ "BSD-3-Clause" ]
null
null
null
core/test/test-stack-api.cpp
tmolitor-stud-tu/umundo
35f5b3ad57034dfd4f27a2c5f56803fa5de9483a
[ "BSD-3-Clause" ]
null
null
null
core/test/test-stack-api.cpp
tmolitor-stud-tu/umundo
35f5b3ad57034dfd4f27a2c5f56803fa5de9483a
[ "BSD-3-Clause" ]
null
null
null
#include "umundo/core.h" #include <iostream> #include <stdio.h> #define BUFFER_SIZE 1024*1024 using namespace umundo; bool testStackInstantiation() { Node node1; Node node2; Publisher pub("foo"); Subscriber sub("foo"); node1.addPublisher(pub); node2.addSubscriber(sub); Thread::sleepMs(100); return true; } b...
20.77381
46
0.639542
tmolitor-stud-tu
27c80af676a0666290d391cdcf6467724af589d9
1,777
hpp
C++
utils/elements.in.hpp
c-vigo/mudirac
86c71f6ec25c8328ac7c32abde21c240f41f73e2
[ "MIT" ]
3
2021-03-04T09:17:20.000Z
2022-03-03T04:13:16.000Z
utils/elements.in.hpp
c-vigo/mudirac
86c71f6ec25c8328ac7c32abde21c240f41f73e2
[ "MIT" ]
null
null
null
utils/elements.in.hpp
c-vigo/mudirac
86c71f6ec25c8328ac7c32abde21c240f41f73e2
[ "MIT" ]
2
2022-03-11T10:29:16.000Z
2022-03-25T16:05:47.000Z
/** * MuDirac - A muonic atom Dirac equation solver * by Simone Sturniolo (2019-2020) * * elements.hpp * * Atomic mass and spin data extracted by AME2016 and NUBASE databases. * References: * * AME2016 (masses): * "The Ame2016 atomic mass evaluation (I)" by W.J.Huang, G.Audi, M.Wang, F.G.Kondev, S.N...
26.522388
112
0.708497
c-vigo
27c829b4f304414c9ed69eea63903898ba018a97
2,873
hpp
C++
breath/meta/constant.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/meta/constant.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/meta/constant.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
// =========================================================================== // Copyright 2006-2007 Gennaro Prota // // Licensed under the 3-Clause BSD License. // (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or // <https://opensource.org/licenses/BSD-3...
34.202381
78
0.507135
erez-o
27cff50ff0edcad99e6760d50d5ccf16a5bf3863
4,399
cpp
C++
src/core/log.cpp
celeron55/buildat
6e8202c6d5632485c7209623a7eab834daff49ca
[ "Apache-2.0" ]
7
2015-04-15T14:27:52.000Z
2019-08-02T05:30:22.000Z
src/core/log.cpp
celeron55/buildat
6e8202c6d5632485c7209623a7eab834daff49ca
[ "Apache-2.0" ]
null
null
null
src/core/log.cpp
celeron55/buildat
6e8202c6d5632485c7209623a7eab834daff49ca
[ "Apache-2.0" ]
4
2017-06-14T23:20:54.000Z
2019-04-26T11:43:33.000Z
// http://www.apache.org/licenses/LICENSE-2.0 // Copyright 2014 Perttu Ahola <celeron55@gmail.com> #include "log.h" #include "interface/mutex.h" //#include "interface/thread.h" #include "c55/os.h" #include <atomic> #include <cstdint> #include <cstdio> #include <ctime> #include <cstring> #include <cstdarg> #ifdef _WIN32...
22.105528
79
0.663787
celeron55
27d04cbbd3d105cdf0127cd89531cddd81310fc8
243
cpp
C++
libraries/VAL/src/FastEnvironment.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
65
2015-01-08T09:58:01.000Z
2021-11-16T11:08:31.000Z
libraries/VAL/src/FastEnvironment.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
48
2015-01-19T01:07:16.000Z
2021-07-29T18:26:54.000Z
libraries/VAL/src/FastEnvironment.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
45
2016-01-08T01:57:01.000Z
2022-03-07T04:00:36.000Z
// Copyright 2019 - University of Strathclyde, King's College London and Schlumberger Ltd // This source code is licensed under the BSD license found in the LICENSE file in the root directory of this source tree. #include "FastEnvironment.h"
48.6
122
0.790123
teyssieuman
27d379009b21f8531cf33f81eab0c9d9c3768fdb
1,529
cc
C++
chromeos/network/network_handler_test_helper.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chromeos/network/network_handler_test_helper.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chromeos/network/network_handler_test_helper.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/network/network_handler_test_helper.h" #include "chromeos/network/cellular_esim_profile_handler_impl.h" #include "chromeos/network/net...
33.23913
75
0.773054
chromium
27d3b9fb183e33bc6e6f03dc977f0ad0d19f623d
1,504
cpp
C++
support/general/SimpleEventObserver.cpp
jaylogue/nrf52-baseline-app
ea173fce71e4c9c68a8a9cf556dc0f0165501cb9
[ "Apache-2.0" ]
1
2021-08-07T03:42:41.000Z
2021-08-07T03:42:41.000Z
support/general/SimpleEventObserver.cpp
jaylogue/nrf52-baseline-app
ea173fce71e4c9c68a8a9cf556dc0f0165501cb9
[ "Apache-2.0" ]
null
null
null
support/general/SimpleEventObserver.cpp
jaylogue/nrf52-baseline-app
ea173fce71e4c9c68a8a9cf556dc0f0165501cb9
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2021 Jay Logue * 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 * * Unles...
27.851852
90
0.656915
jaylogue
27d4176d2d18efc511f4d249f3067e47d6bae1bb
628
cpp
C++
CodechefCodes/CANDY123.cpp
debashish05/competitive_programming
e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9
[ "MIT" ]
null
null
null
CodechefCodes/CANDY123.cpp
debashish05/competitive_programming
e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9
[ "MIT" ]
null
null
null
CodechefCodes/CANDY123.cpp
debashish05/competitive_programming
e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9
[ "MIT" ]
null
null
null
//Debashish Roy #include<bits/stdc++.h> #define ll long long int #define loop(k) for(i=0;i<k;++i) #define loop2(k) for(j=1;j<k;++j) #define mod 1000000007 using namespace std; int main() { std::ios_base::sync_with_stdio(false); cin.tie(NULL); int t=1,i=0,j=0; cin>>t; while(t--){ int a,b; ...
19.625
42
0.482484
debashish05
27d4947c64a27699281af712681862c4c61a1730
6,358
cpp
C++
src/laserscan_to_ros_pointcloud.cpp
thanhphong98/laserscan_to_pointcloud
685ee50ebda342676ea03f6948fe19d56e4f22c0
[ "BSD-3-Clause" ]
13
2015-04-28T11:28:20.000Z
2022-03-18T05:34:49.000Z
src/laserscan_to_ros_pointcloud.cpp
thanhphong98/laserscan_to_pointcloud
685ee50ebda342676ea03f6948fe19d56e4f22c0
[ "BSD-3-Clause" ]
null
null
null
src/laserscan_to_ros_pointcloud.cpp
thanhphong98/laserscan_to_pointcloud
685ee50ebda342676ea03f6948fe19d56e4f22c0
[ "BSD-3-Clause" ]
17
2015-01-06T15:20:12.000Z
2022-03-11T07:05:57.000Z
/**\file laserscan_to_ros_pointcloud.cpp * \brief Description... * * @version 1.0 * @author Carlos Miguel Correia da Costa */ // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <includes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #include <l...
57.279279
180
0.471689
thanhphong98
27d5b6ddbdbd4d6116a29db5c65992610bad76f4
732
cpp
C++
Easy/isomorphic_strings.cpp
Nikhil0487/Swift-Leetcode-June-2020
3583280ce03004569e17d059ea6a3325162426f0
[ "MIT" ]
null
null
null
Easy/isomorphic_strings.cpp
Nikhil0487/Swift-Leetcode-June-2020
3583280ce03004569e17d059ea6a3325162426f0
[ "MIT" ]
null
null
null
Easy/isomorphic_strings.cpp
Nikhil0487/Swift-Leetcode-June-2020
3583280ce03004569e17d059ea6a3325162426f0
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<map> using namespace std; bool isIsomorphic(string s, string t) { map<char,char> hash; map<char,bool> taken; for(int i=0;i<s.length();i++) { map<char,char>:: iterator it = hash.find(s[i]); if(it == hash.end()) { if(taken.find(t[i]) != ...
25.241379
55
0.495902
Nikhil0487
27d807299a9d0cbe1df990f2137fb6c02c3574bb
3,222
cpp
C++
src/c++/methods/MeInstanceMethods.cpp
nlspartanNL/SDK
291f1e5869210baedbb5447f8f7388f50ec93950
[ "MIT" ]
null
null
null
src/c++/methods/MeInstanceMethods.cpp
nlspartanNL/SDK
291f1e5869210baedbb5447f8f7388f50ec93950
[ "MIT" ]
null
null
null
src/c++/methods/MeInstanceMethods.cpp
nlspartanNL/SDK
291f1e5869210baedbb5447f8f7388f50ec93950
[ "MIT" ]
1
2020-11-06T01:42:10.000Z
2020-11-06T01:42:10.000Z
#include "c++/ModIOInstance.h" namespace modio { void Instance::getAuthenticatedUser(const std::function<void(const modio::Response &response, const modio::User &user)> &callback) { struct GetAuthenticatedUserCall *get_authenticated_user_call = new GetAuthenticatedUserCall{callback}; get_authenticated_user_calls[c...
42.96
175
0.794538
nlspartanNL
27d85ed95890f1f9b79021077be56dd14936fab1
62,361
cpp
C++
src/third_party/mozjs/extract/js/src/debugger/Frame.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/debugger/Frame.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/debugger/Frame.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=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/. */ ...
31.914534
80
0.666314
benety
27e077c9fefe449e3c11791e639085f8744c6cc7
31,311
cc
C++
onnxruntime/core/graph/signal_ops/signal_defs.cc
Microsoft/onnxruntime
0869f4f4ea9abeb4edf2e5d5b570880f77f81bfa
[ "MIT" ]
669
2018-12-03T22:00:31.000Z
2019-05-06T19:42:49.000Z
onnxruntime/core/graph/signal_ops/signal_defs.cc
Microsoft/onnxruntime
0869f4f4ea9abeb4edf2e5d5b570880f77f81bfa
[ "MIT" ]
440
2018-12-03T21:09:56.000Z
2019-05-06T20:47:23.000Z
onnxruntime/core/graph/signal_ops/signal_defs.cc
Microsoft/onnxruntime
0869f4f4ea9abeb4edf2e5d5b570880f77f81bfa
[ "MIT" ]
140
2018-12-03T21:15:28.000Z
2019-05-06T18:02:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifdef BUILD_MS_EXPERIMENTAL_OPS #include "core/framework/tensorprotoutils.h" #include "core/providers/common.h" #include "core/graph/constants.h" #include "core/graph/signal_ops/signal_defs.h" #include "core/graph/op.h" #...
42.369418
162
0.60426
Microsoft
27e798097cbbe78c69f9b82645a9d818232ebafe
7,096
cc
C++
benchmarks/for_fast.cc
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
benchmarks/for_fast.cc
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
benchmarks/for_fast.cc
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#include <chrono> #include <bitset> #include <iostream> #include <opencv2/highgui/highgui.hpp> #include <opencv2/opencv.hpp> #include <vpp/vpp.hh> #include <vpp/utils/opencv_bridge.hh> //#include <vpp/algorithms/FAST_detector/FAST.hh> #include "get_time.hh" using namespace vpp; template <typename V> void test1(image...
25.433692
107
0.542277
jjzhang166
27e80b2cb3a6701a6b1f364a359f9efda6426cd3
1,330
cpp
C++
smolengine.graphics/src/Primitives/Texture.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
3
2021-05-18T00:01:06.000Z
2021-07-09T15:39:23.000Z
smolengine.graphics/src/Primitives/Texture.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
smolengine.graphics/src/Primitives/Texture.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Primitives/Texture.h" #include "Primitives/Shader.h" #include "Tools/Utils.h" #include <memory> #include <cereal/cereal.hpp> #include <cereal/archives/json.hpp> #include <stb_image/stb_image.h> #ifdef OPENGL_IMPL #include "Backends/OpenGL/OpenglTexture.h" #else #include "Backends/Vulka...
19.558824
141
0.703759
Floritte
27ee1446e82286b16f00edb9ad623b3051860a25
834
hpp
C++
src/rendering/instance.hpp
spencer-melnick/simple-render
c150d6056c1dccf33d8ba26408a284286189b39e
[ "MIT" ]
null
null
null
src/rendering/instance.hpp
spencer-melnick/simple-render
c150d6056c1dccf33d8ba26408a284286189b39e
[ "MIT" ]
null
null
null
src/rendering/instance.hpp
spencer-melnick/simple-render
c150d6056c1dccf33d8ba26408a284286189b39e
[ "MIT" ]
null
null
null
#pragma once // Defines a singleton to access a Vulkan instance // Also hooks in SDL initialization as it is required for Vulkan use #include <vulkan/vulkan.hpp> namespace Rendering { class Instance { public: static Instance& get(); const vk::Instance& getVulkanInstance() co...
24.529412
68
0.606715
spencer-melnick
27eef371a2771e38e57de26376937ba63c7a76b2
1,494
cpp
C++
src/entity-system/model/base/guid/GUIDBase_tests.cpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/entity-system/model/base/guid/GUIDBase_tests.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/entity-system/model/base/guid/GUIDBase_tests.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#include "GUIDBase.hpp" #include <gtest/gtest.h> #include <memory> using namespace inexor::entity_system; // @class Test class for GUIDBase. class ThingThatNeedsGuid : public GUIDBase { public: ThingThatNeedsGuid() : GUIDBase() { } ThingThatNeedsGuid(const xg::Guid &param_GUID) : GUIDBase(param_GU...
25.322034
103
0.702811
inexorgame
27f7fb9a58267232e725e61d6db240c9275e0f3d
569
cpp
C++
CTaskRunner.cpp
KAdamek/task_runner
02e204bdf0b409080c8ea1e900dd5afff626699a
[ "MIT" ]
null
null
null
CTaskRunner.cpp
KAdamek/task_runner
02e204bdf0b409080c8ea1e900dd5afff626699a
[ "MIT" ]
null
null
null
CTaskRunner.cpp
KAdamek/task_runner
02e204bdf0b409080c8ea1e900dd5afff626699a
[ "MIT" ]
null
null
null
#include "CTaskRunner.h" CTaskRunner::CTaskRunner(ITask *task, CTaskMetadata *metadata) { this->task = task; // metadata could be cloned or stored as a pointer this->metadata = *metadata; } void CTaskRunner::run(CHardwareConfiguration *hardwareConfiguration, CTaskData *data) { task->setup(hardwareConfiguration, &...
27.095238
87
0.752197
KAdamek
27fcddaa6197f2e14ed6b2233d45357b866bd11a
2,718
cpp
C++
evogym/simulator/SimulatorCPP/PythonBindings.cpp
federico-camerota/evogym
fb3a792f93a61be15c9715a036da3721f99d2d42
[ "MIT" ]
78
2022-01-30T18:59:39.000Z
2022-03-31T00:26:41.000Z
evogym/simulator/SimulatorCPP/PythonBindings.cpp
Yuxing-Wang-THU/evogym
da3a0508fa6c5d3fcf589194778844b15a387ece
[ "MIT" ]
6
2022-01-31T02:37:49.000Z
2022-03-30T18:52:13.000Z
evogym/simulator/SimulatorCPP/PythonBindings.cpp
Yuxing-Wang-THU/evogym
da3a0508fa6c5d3fcf589194778844b15a387ece
[ "MIT" ]
6
2022-01-31T08:11:33.000Z
2022-02-22T01:49:50.000Z
#include "main.h" #include "Interface.h" #include "Sim.h" #include "Camera.h" #include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> #include <pybind11/eigen.h> namespace py = pybind11; PYBIND11_MODULE(simulator_cpp, m) { m.doc() = "A module for Robot API in c++"; py::class_<Interf...
44.557377
215
0.706402
federico-camerota
27ffadf2d315c812975ece7c4a3a2880ba417958
7,638
cpp
C++
ai/src/ai/ai_estimates_field.cpp
The-city-not-present/noughtsandcrosses-cpp
f0e34b02898f25cc1df1cf0c96733f98c7ccca8e
[ "MIT" ]
null
null
null
ai/src/ai/ai_estimates_field.cpp
The-city-not-present/noughtsandcrosses-cpp
f0e34b02898f25cc1df1cf0c96733f98c7ccca8e
[ "MIT" ]
null
null
null
ai/src/ai/ai_estimates_field.cpp
The-city-not-present/noughtsandcrosses-cpp
f0e34b02898f25cc1df1cf0c96733f98c7ccca8e
[ "MIT" ]
null
null
null
#include "ai_estimates_field.h" long double AI_estimates_field::calc_est_data[14] = { 1.0, 1.0, 1.0, 0.995, 0.88, 0.75, 0.19, 0.13, 0.09, 0.08, 0.0006, 0.0005, 0.0, 0.0 }; // табличные значения long double AI_estimates_field::calc_est( char n, bool player_is_me ) { switch(n) { case 5: return ( playe...
33.946667
139
0.513485
The-city-not-present
7e019bdbe8ad9edaa5c030f7b183c557009c353b
1,256
cpp
C++
LeetCode/C++/General/Easy/ConfusingNumber/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Easy/ConfusingNumber/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Easy/ConfusingNumber/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
#include <cmath> #include <deque> #include <iostream> #include <vector> using namespace std; /* * Approach: use a hashtable (vector<int>) to map each digit that can be rotated to its rotated value. * Then, as we try to rotate each digit in the input number, if a digit cannot be rotated, return false. * Finally, rem...
19.323077
104
0.590764
busebd12
7e0369b65f5f813e2e114f46f61fd92bd0e77f4b
1,021
hpp
C++
src/But/Pattern/detail/DispatcherMockImpl.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
27
2016-01-12T19:30:57.000Z
2022-01-27T15:52:39.000Z
src/But/Pattern/detail/DispatcherMockImpl.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
4
2017-04-10T16:30:22.000Z
2019-04-24T21:02:55.000Z
src/But/Pattern/detail/DispatcherMockImpl.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
2
2016-12-09T17:09:59.000Z
2019-07-16T00:19:31.000Z
#pragma once #include <gmock/gmock.h> #include <But/Pattern/Dispatcher.hpp> #include <But/Mpl/NamedVariadicTemplate.hpp> namespace But { namespace Pattern { namespace detail { template<typename M> struct MockMethod { MOCK_METHOD1_T(handle, void(M const&)); protected: ~MockMethod() = default; }; template<typenam...
20.019608
88
0.665034
el-bart
7e06cfa7e765c4fcc9c794d4bb83b601d73c8295
803
cpp
C++
C++/Binary Tree Inorder Traversal/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
2
2016-04-27T11:55:44.000Z
2017-02-06T04:15:46.000Z
C++/Binary Tree Inorder Traversal/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
C++/Binary Tree Inorder Traversal/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> inorderTraversal(TreeNode* root) { vector<int> res = {}; if (!root)...
22.305556
59
0.39726
Leobuaa
7e0c87a29d8473201fc3837c04ab51eb0567388b
6,200
cpp
C++
source/ConvexHull.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/ConvexHull.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/ConvexHull.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. // HACD headers need to be first. #include <GTGE/HACD/hacdCircularList.h> #include <GTGE/HACD/hacdVector.h> #include <GTGE/HACD/hacdICHull.h> #include <GTGE/HACD/hacdGraph.h> #include <GTGE/HACD/hacdHACD.h> #include <GTGE/ConvexHull.hpp> namespace GT { ...
39.240506
148
0.526774
mackron
7e0ce73a28e51d09218c0a8598a7230106029c7b
139
hpp
C++
libs/api/windows_platform.hpp
ScriptBox99/microsoft-ebpf-for-windows
3087eedf0e9fdd72eea7e0490cb6f6718e242b89
[ "MIT" ]
1,122
2021-05-10T17:08:44.000Z
2022-03-31T06:19:35.000Z
libs/api/windows_platform.hpp
maojun1998/ebpf-for-windows
266578ee633d1d0f3fa70a08af7f7bada10b47de
[ "MIT" ]
404
2021-05-10T19:34:27.000Z
2022-03-31T23:56:34.000Z
libs/api/windows_platform.hpp
maojun1998/ebpf-for-windows
266578ee633d1d0f3fa70a08af7f7bada10b47de
[ "MIT" ]
92
2021-05-10T16:23:26.000Z
2022-03-29T06:17:00.000Z
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT #pragma once extern const ebpf_platform_t g_ebpf_platform_windows;
23.166667
53
0.81295
ScriptBox99
7e0de3befc96af0116cb52f08be03122fb3a0b7d
3,667
cpp
C++
Path_Planning/src/Path_Finding_No_Ros.cpp
Team-Swinburne/autonoumous-tsar22
c648893ca01b8f97cfd78026d694743b35e097d9
[ "MIT" ]
null
null
null
Path_Planning/src/Path_Finding_No_Ros.cpp
Team-Swinburne/autonoumous-tsar22
c648893ca01b8f97cfd78026d694743b35e097d9
[ "MIT" ]
null
null
null
Path_Planning/src/Path_Finding_No_Ros.cpp
Team-Swinburne/autonoumous-tsar22
c648893ca01b8f97cfd78026d694743b35e097d9
[ "MIT" ]
null
null
null
#include <chrono> #include <memory> #include "Path_State.cpp" #include "Temp_Map.cpp" #include "Directions.cpp" #include "Position.cpp" #include "Astar.cpp" #include "Print_Map.cpp" #include "Map_Reading.cpp" #include "Degree_State.cpp" #include <deque> using namespace std::chrono_literals; // delete this comment, gi...
29.336
132
0.657213
Team-Swinburne
7e1cc40c65643e2a5d93ade4964e0614b8a9a879
358
cpp
C++
src/engine/ChessEngineFactory.cpp
patryk-kacperski/chess-engine
d636bf3cab9f5d8b72523ce8f2be493b6666c660
[ "MIT" ]
null
null
null
src/engine/ChessEngineFactory.cpp
patryk-kacperski/chess-engine
d636bf3cab9f5d8b72523ce8f2be493b6666c660
[ "MIT" ]
null
null
null
src/engine/ChessEngineFactory.cpp
patryk-kacperski/chess-engine
d636bf3cab9f5d8b72523ce8f2be493b6666c660
[ "MIT" ]
1
2019-04-05T20:26:27.000Z
2019-04-05T20:26:27.000Z
// // Created by Patryk Kacperski on 09/07/2018. // #include "ChessEngineFactory.h" namespace pkchessengine { std::unique_ptr<ChessEngine> ChessEngineFactory::create() { return nullptr; } std::unique_ptr<ChessEngine> ChessEngineFactory::create(const std::vector<std::vector<PieceInfo>>& initialSt...
22.375
118
0.692737
patryk-kacperski
7e21cbcda03a1ec0e77025ea2dd8395ec6eeb100
2,516
cpp
C++
src/simpcl/src/filters/model_projection.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
17
2020-01-08T14:35:05.000Z
2021-12-09T12:30:07.000Z
src/simpcl/src/filters/model_projection.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
2
2020-01-31T16:31:48.000Z
2022-03-09T12:49:53.000Z
src/simpcl/src/filters/model_projection.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
7
2020-01-08T21:28:58.000Z
2021-12-03T06:00:05.000Z
// Projecting points using a parametric model // Plane Model used. // http://www.pointclouds.org/documentation/tutorials/project_inliers.php // Import dependencies #include <string> #include <ros/ros.h> #include <iostream> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #incl...
33.105263
95
0.736089
senceryazici
7e23e77049b06c245a0089079dfc9f59ba09784d
1,907
cpp
C++
src/chrono_sensor/sensors/ChRadarSensor.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
1,383
2015-02-04T14:17:40.000Z
2022-03-30T04:58:16.000Z
src/chrono_sensor/sensors/ChRadarSensor.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
245
2015-01-11T15:30:51.000Z
2022-03-30T21:28:54.000Z
src/chrono_sensor/sensors/ChRadarSensor.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
351
2015-02-04T14:17:47.000Z
2022-03-30T04:42:52.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2019 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
38.918367
106
0.443629
Benatti1991
7e249df6a21e9cc24da53605e97e20d56a1829a4
4,267
cpp
C++
src/main/single_step_solver.cpp
pmateusz/cordia
f911f4b140e416097342a7261b73e8e39dbe7589
[ "MIT" ]
null
null
null
src/main/single_step_solver.cpp
pmateusz/cordia
f911f4b140e416097342a7261b73e8e39dbe7589
[ "MIT" ]
null
null
null
src/main/single_step_solver.cpp
pmateusz/cordia
f911f4b140e416097342a7261b73e8e39dbe7589
[ "MIT" ]
2
2020-08-30T17:54:40.000Z
2021-05-18T02:28:33.000Z
#include <chrono> #include <utility> #include "util/aplication_error.h" #include "single_step_solver.h" #include "break_constraint.h" #include "progress_printer_monitor.h" #include "cancel_search_limit.h" #include "stalled_search_limit.h" #include "min_dropped_visits_collector.h" namespace rows { SingleStepSolv...
51.409639
140
0.569955
pmateusz
7e273836169cf8c7fa6a68807430cbc02ee1755f
112
cpp
C++
src/host/optimsocgui/src/optimsoccomponent.cpp
koenenwmn/optimsoc
2cbb92af68c17484b0b65c5e837e71e51eaafebc
[ "MIT" ]
48
2017-06-30T15:28:08.000Z
2022-03-07T06:47:31.000Z
src/host/optimsocgui/src/optimsoccomponent.cpp
koenenwmn/optimsoc
2cbb92af68c17484b0b65c5e837e71e51eaafebc
[ "MIT" ]
96
2017-06-20T19:51:03.000Z
2022-03-16T20:22:36.000Z
src/host/optimsocgui/src/optimsoccomponent.cpp
nanvix/optimsoc
aaf9de0bdddec921bde8c31b273d829000c5e5b9
[ "MIT" ]
20
2017-08-17T18:34:51.000Z
2021-09-05T08:36:25.000Z
#include "optimsoccomponent.h" OptimsocComponent::OptimsocComponent(QObject *parent) : QObject(parent) { }
16
55
0.758929
koenenwmn
7e27c6ebef30eb00a6addf676aed5cfa7487b8f5
588
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_apimap.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_apimap.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_apimap.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#include "stddefx.h" #ifndef INCLUDED_CALC_APIMAP #include "calc_apimap.h" #define INCLUDED_CALC_APIMAP #endif namespace calc { template<> ApiMapUINT1::InitMap ApiMapUINT1::d_init(InitMapUINT1); template<> ApiMapINT4::InitMap ApiMapINT4::d_init(InitMapINT4); template<> ApiMapREAL8::InitMap ApiMapREAL8::d_init(Ini...
34.588235
84
0.814626
quanpands
7e29a52aa00653cbadc64bed34e358dffe9a20b5
1,669
hh
C++
EvtGen1_06_00/EvtGenModels/EvtbsToLLLLAmp.hh
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
EvtGen1_06_00/EvtGenModels/EvtbsToLLLLAmp.hh
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
EvtGen1_06_00/EvtGenModels/EvtbsToLLLLAmp.hh
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
27.816667
76
0.536249
klendathu2k
7e2ae383187c5c86098f92ac86f5d12281172e0c
3,189
hpp
C++
include/CQLDriver/Common/ColumnTypes/MapBase.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
41
2018-01-23T09:27:32.000Z
2021-02-15T15:49:07.000Z
include/CQLDriver/Common/ColumnTypes/MapBase.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
20
2018-01-25T04:25:48.000Z
2019-03-09T02:49:41.000Z
include/CQLDriver/Common/ColumnTypes/MapBase.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
5
2018-04-10T12:19:13.000Z
2020-02-17T03:30:50.000Z
#pragma once #include <cstdint> #include <initializer_list> #include "../Exceptions/DecodeException.hpp" #include "../ColumnTrait.hpp" #include "./Int.hpp" namespace cql { /** * A [int] n indicating the number of key/value pairs in the map, followed by n entries. * Each entry is composed of two [bytes] representi...
30.663462
89
0.669489
cpv-project
7e2b1474dff3c8a0ef00d63b4fb62b0e86b44c35
10,154
cpp
C++
digitanks/src/digitanks/ui/ui.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
digitanks/src/digitanks/ui/ui.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
digitanks/src/digitanks/ui/ui.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
#include "digitankswindow.h" #include <glgui/rootpanel.h> #include <tinker_platform.h> #include <strutils.h> #include <sockets/sockets.h> #include <glgui/filedialog.h> #include <ui/instructor.h> #include <tengine/lobby/lobby_client.h> #include <tengine/lobby/lobby_server.h> #include <renderer/renderer.h> #include "...
27.295699
195
0.719815
BSVino
7e2dfabf0541e9fe8f1e6a112981ee4c79d6ea55
3,506
cpp
C++
src/function.cpp
Fadis/libdcompile
ae8879507507c05c00ee49c02ac1e1c32c725a42
[ "BSD-2-Clause" ]
10
2015-01-09T07:54:58.000Z
2019-11-04T15:44:54.000Z
src/function.cpp
Fadis/libdcompile
ae8879507507c05c00ee49c02ac1e1c32c725a42
[ "BSD-2-Clause" ]
null
null
null
src/function.cpp
Fadis/libdcompile
ae8879507507c05c00ee49c02ac1e1c32c725a42
[ "BSD-2-Clause" ]
null
null
null
/***************************************************************************** * Copyright (C) 2012, Naomasa Matsubayashi * * All rights reserved. * * * * R...
49.380282
102
0.577011
Fadis
7e2fe5855d09cb05c741ae37737cefed9d0575bc
2,615
hpp
C++
include/Nazara/Graphics/DepthPipelinePass.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/Graphics/DepthPipelinePass.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/Graphics/DepthPipelinePass.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_GRAPHICS_DEPTHPIPELINEPASS_HPP #define NAZARA_GRAPHICS_DEPTHPIPELINEPASS_HPP #incl...
34.866667
172
0.798088
jayrulez
7e31387852b04a4c94e654536d035d4682fbca73
8,721
cpp
C++
Modular/library/source/TTSender.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
Modular/library/source/TTSender.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
Modular/library/source/TTSender.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/** @file * * @ingroup modularLibrary * * @brief A Sender Object * * @details * * @authors Théo de la Hogue * * @copyright © 2010, Théo de la Hogue @n * This code is licensed under the terms of the "New BSD License" @n * http://creativecommons.org/licenses/BSD/ */ #include "TTSender.h" #define thisTTCla...
25.65
184
0.660819
jamoma
7e33517c5581bc6b16746c399585ef984c5053f2
222
hpp
C++
AppGodRays/src/SunComponent.hpp
jaafersheriff/Neo-Engine
526e83829761322ccf09e661efa825b028426fa5
[ "MIT" ]
6
2017-10-17T17:54:42.000Z
2022-02-13T09:43:02.000Z
AppGodRays/src/SunComponent.hpp
jaafersheriff/Neo-Engine
526e83829761322ccf09e661efa825b028426fa5
[ "MIT" ]
1
2020-04-11T10:37:41.000Z
2021-11-15T21:03:32.000Z
AppGodRays/src/SunComponent.hpp
jaafersheriff/Neo-Engine
526e83829761322ccf09e661efa825b028426fa5
[ "MIT" ]
4
2017-09-08T05:56:51.000Z
2021-02-03T15:16:41.000Z
#pragma once #include "ECS/Component/Component.hpp" #include "ECS/GameObject.hpp" using namespace neo; class SunComponent : public Component { public: SunComponent(GameObject *go) : Component(go) {} };
14.8
39
0.693694
jaafersheriff
ccdefca83f34579e9b5d91a7cccb4c7273914886
2,404
cpp
C++
src/main.cpp
darkhunterbg/hypershot
87e063261ba95b0dfa5c9321691497bdc9e82f87
[ "MIT" ]
null
null
null
src/main.cpp
darkhunterbg/hypershot
87e063261ba95b0dfa5c9321691497bdc9e82f87
[ "MIT" ]
null
null
null
src/main.cpp
darkhunterbg/hypershot
87e063261ba95b0dfa5c9321691497bdc9e82f87
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <string> #include "win32.h" #include "MemoryService.h" #include "GameLoop.h" #include "HiResTimer.h" LRESULT CALLBACK WinProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); void OnAssertFailed(const std::string& msg); void ShowGameWindow(const wchar_t* msg, HINSTANCE hInstance, ...
21.274336
109
0.708819
darkhunterbg
cce0e581a32ac1c747600e91be2404f29d22dbe0
5,116
cc
C++
bin/ledger/storage/impl/btree/tree_node.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
1
2018-02-05T23:33:32.000Z
2018-02-05T23:33:32.000Z
bin/ledger/storage/impl/btree/tree_node.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
null
null
null
bin/ledger/storage/impl/btree/tree_node.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "peridot/bin/ledger/storage/impl/btree/tree_node.h" #include <algorithm> #include <utility> #include "lib/fsl/socket/strings.h" #include "lib/fx...
33.220779
80
0.641908
Acidburn0zzz
cce3801d7f9a5ae5fc83a1a80b0f6a78a2c7a54d
13,277
cpp
C++
CHAPTER14/sources.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER14/sources.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER14/sources.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
//g++ -w -Wall -std=c++11 ../sourcesgui/Graph.cpp ../sourcesgui/Window.cpp ../sourcesgui/GUI.cpp '../sourcesgui/Simple_window.cpp' ../CHAPTER13/sources.cpp sources.cpp C14E01.cpp `fltk-config --ldflags --use-images` -o C14E01 #include "./sources.h" //EX 05 void Striped_rectangle::draw_lines() const { if (fill_color...
31.462085
226
0.599307
lrpinnto
cce90c1506612252d5e8420f04d57d2cfca807d8
4,472
cpp
C++
tests/bench/TAO/Register/object.cpp
barrystyle/LLL-TAO
d9e5b4e4db4cea3976797d8526aedb4bd94256af
[ "MIT" ]
60
2018-04-14T22:17:47.000Z
2022-03-22T14:24:46.000Z
tests/bench/TAO/Register/object.cpp
barrystyle/LLL-TAO
d9e5b4e4db4cea3976797d8526aedb4bd94256af
[ "MIT" ]
60
2019-07-12T14:18:44.000Z
2022-03-30T08:03:19.000Z
tests/bench/TAO/Register/object.cpp
barrystyle/LLL-TAO
d9e5b4e4db4cea3976797d8526aedb4bd94256af
[ "MIT" ]
33
2018-04-16T08:55:36.000Z
2022-03-13T10:17:06.000Z
#include <Util/include/runtime.h> #include <TAO/Register/types/object.h> #include <unit/catch2/catch.hpp> TEST_CASE( "Object Register Benchmarks", "[register]") { using namespace TAO::Register; Object object; object << std::string("byte") << uint8_t(TYPES::MUTABLE) << uint8_t(TYPES::UINT8_T) << uint8_t...
28.851613
124
0.580501
barrystyle
cce99baf58d084edeece5f26bb23fa662b22a12c
10,239
cpp
C++
CGEditor/src/EditorLayer.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
CGEditor/src/EditorLayer.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
CGEditor/src/EditorLayer.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
#include "EditorLayer.h" #include"glad/glad.h" #include"glm/glm.hpp" #include"glm/gtc/matrix_transform.hpp" #include"platform/opengl/OpenGLFrameBuffer.h" namespace CGCore { void EditorLayer::OnAttach() { CG_CLIENT_INFO("App layer attached"); m_Shader = Shader::Create(std::string("../assets/shader/Debug_cube.vert...
44.907895
191
0.714425
chen1180
ccec6484fa2a9304860f85c285a2107c334f797b
760
cpp
C++
src/frame.cpp
mintaka33/ffva
454c3b5bcb2371c100e323dd886cce9a7d39258d
[ "Apache-2.0" ]
3
2019-08-08T04:18:38.000Z
2019-08-20T01:41:06.000Z
src/frame.cpp
mintaka33/ffva
454c3b5bcb2371c100e323dd886cce9a7d39258d
[ "Apache-2.0" ]
null
null
null
src/frame.cpp
mintaka33/ffva
454c3b5bcb2371c100e323dd886cce9a7d39258d
[ "Apache-2.0" ]
null
null
null
#include "frame.hpp" #include <fstream> VFrame::VFrame() { } VFrame::~VFrame() { if (buffer_) { delete [] buffer_; buffer_ = nullptr; } } void VFrame::allocate(int32_t width, int32_t height) { width_ = width; height_ = height; size_ = width * height * 3 / 2; buffer_ = new ui...
18.536585
64
0.497368
mintaka33
cced4c7f6d05a204b4460f834dd64ddcbc97b158
14,445
cpp
C++
MultiComposite/VRClient-Stub/VirtualInput.cpp
DrPotatoNet/MultiComposite
d71e065661a55b22bfcec8b162859e4fbec18782
[ "MIT" ]
2
2020-09-06T08:14:15.000Z
2020-09-06T19:03:12.000Z
MultiComposite/VRClient-Stub/VirtualInput.cpp
Bluscream/MultiComposite
eac46d3fc7167629181b0652087cb6c2ab12747a
[ "MIT" ]
4
2020-09-07T09:50:31.000Z
2020-09-30T05:16:31.000Z
MultiComposite/VRClient-Stub/VirtualInput.cpp
Bluscream/MultiComposite
eac46d3fc7167629181b0652087cb6c2ab12747a
[ "MIT" ]
1
2020-09-29T20:57:15.000Z
2020-09-29T20:57:15.000Z
#include "VirtualInput.h" #include "VRClient.h" #include "Logger.h" vr::EVRInputError VirtualInput::SetActionManifestPath(const char* pchActionManifestPath) { dlog::Println("[VirtualInput::SetActionManifestPath] Called."); return static_cast<IVRInput_010*>(steamInput)->SetActionManifestPath(pchActionManifestPath); ...
59.937759
349
0.849152
DrPotatoNet
cceed2bcecde9a111443315e4e90268cd84c1182
3,285
cpp
C++
USACO/2015 Platinum December Contest/haybales.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
USACO/2015 Platinum December Contest/haybales.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
USACO/2015 Platinum December Contest/haybales.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <set> #include <stack> #include <string.h> #include <math.h> using namespace std; #define PI 3.141592653589793 #define epsilon 0.000000001 #define...
27.838983
94
0.509589
hardik0899
ccef4709f51ae76f955316e4de90d630e85317f7
1,592
cpp
C++
hackathon/HePing/cell_segmentation/cell_segmentation_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/HePing/cell_segmentation/cell_segmentation_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/HePing/cell_segmentation/cell_segmentation_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* cell_segmentation_plugin.cpp * This is a test plugin, you can use it as a demo. * 2019-7-17 : by heping */ #include "v3d_message.h" #include <vector> #include "cell_segmentation_plugin.h" using namespace std; Q_EXPORT_PLUGIN2(cell_segmentation, cellSegmentation); QStringList cellSegmentation::menulist() const...
23.072464
165
0.672111
zzhmark
ccef87ea731620cf17b57865b213d1d8b0d1db92
4,431
cpp
C++
GControl/GControl/GControlDlg.cpp
GongZhihui/GControl
ed2076e3dd025760e5c34f1d4e0f1151451420c9
[ "Apache-2.0" ]
4
2020-02-24T02:36:48.000Z
2020-12-27T12:49:35.000Z
GControl/GControl/GControlDlg.cpp
GongZhihui/GControl
ed2076e3dd025760e5c34f1d4e0f1151451420c9
[ "Apache-2.0" ]
null
null
null
GControl/GControl/GControlDlg.cpp
GongZhihui/GControl
ed2076e3dd025760e5c34f1d4e0f1151451420c9
[ "Apache-2.0" ]
1
2021-03-21T06:04:03.000Z
2021-03-21T06:04:03.000Z
 // GControlDlg.cpp: 实现文件 // #include "stdafx.h" #include "GControl.h" #include "GControlDlg.h" #include "afxdialogex.h" #include "resource.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CGControlDlg 对话框 CGControlDlg::CGControlDlg(CWnd* pParent /*=nullptr*/) : CDialogEx(IDD_GCONTROL_DIALOG, pParent) { m_hIc...
21.509709
79
0.662604
GongZhihui