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
2e6472624d19f4a6953c91fa1ead51c4a31a64e7
1,767
cpp
C++
cEpiabm/test/sweeps/test_basic_host_progression_sweep.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
11
2021-12-02T15:24:02.000Z
2022-03-10T14:02:13.000Z
cEpiabm/test/sweeps/test_basic_host_progression_sweep.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
119
2021-11-24T13:56:48.000Z
2022-03-30T11:52:07.000Z
cEpiabm/test/sweeps/test_basic_host_progression_sweep.cpp
SABS-R3-Epidemiology/epiabm
8eb83fd2de84104f6f77929e3771095f7b033ddc
[ "BSD-3-Clause" ]
3
2022-01-13T03:05:19.000Z
2022-03-11T22:00:17.000Z
#include "sweeps/basic_host_progression_sweep.hpp" #include "population_factory.hpp" #include "../catch/catch.hpp" #include "helpers.hpp" #include <random> using namespace epiabm; TEST_CASE("sweeps/basic_host_progression_sweep: test initialize basic_host_progression_sweep", "[BasicHostProgressionSweep]") { Ba...
36.8125
130
0.760045
Saketkr21
2e651cf97ae569489afbeca6698bd0ffe753622a
367
hpp
C++
hls/config.hpp
CICS-ICT/ik-acceleration
6451a330e970e75a7e5b5597f92cb58ebb7bcc5c
[ "MIT" ]
2
2021-03-01T10:40:16.000Z
2021-04-12T16:16:53.000Z
hls/config.hpp
CICS-ICT/ik-acceleration
6451a330e970e75a7e5b5597f92cb58ebb7bcc5c
[ "MIT" ]
null
null
null
hls/config.hpp
CICS-ICT/ik-acceleration
6451a330e970e75a7e5b5597f92cb58ebb7bcc5c
[ "MIT" ]
null
null
null
#ifndef M_PI #define M_PI (3.14159265358979323846) #endif #ifndef N #define N 100 #endif #ifndef MAX_DEGREE #define MAX_DEGREE (100) #endif #ifndef direction_number #define direction_number (10) #endif #ifndef random_times #define random_times (100) #endif #ifndef random_ratio #define random_ratio (1.0) #endif #i...
12.655172
37
0.776567
CICS-ICT
2e68ae727967f6267630c2b0f27ad031bc20920c
11,044
cpp
C++
src/GlyphFont.cpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
1
2016-05-21T12:45:20.000Z
2016-05-21T12:45:20.000Z
src/GlyphFont.cpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
null
null
null
src/GlyphFont.cpp
jasonwnorris/SuperAwesomeGameEngine
908adf2099898b2c2028a8c8e8887f1d53be181f
[ "MIT" ]
null
null
null
// GlyphFont.cpp // SAGE Includes #include <SAGE/GlyphFont.hpp> #include <SAGE/Math.hpp> // SDL Includes #if defined __ANDROID__ #include <SDL.h> #else #include <SDL2/SDL.h> #endif // STL Includes #include <algorithm> #if SDL_BYTEORDER == SDL_BIG_ENDIAN Uint32 Rmask = 0xff000000; Uint32 Gmask = 0x00ff0000; Uint32 B...
22.538776
144
0.629573
jasonwnorris
2e6c6f84d140530d5e6befba3db6c4d0065d17fd
632
cpp
C++
RTHeightfield/MatrixStack.cpp
AndreSilvs/RTMasterThesis
9eb6c34dbe5acb10ab818c2d34b16d786db11030
[ "MIT" ]
1
2020-06-18T19:21:01.000Z
2020-06-18T19:21:01.000Z
RTHeightfieldScalable/MatrixStack.cpp
AndreSilvs/RTMasterThesis
9eb6c34dbe5acb10ab818c2d34b16d786db11030
[ "MIT" ]
null
null
null
RTHeightfieldScalable/MatrixStack.cpp
AndreSilvs/RTMasterThesis
9eb6c34dbe5acb10ab818c2d34b16d786db11030
[ "MIT" ]
null
null
null
#include "MatrixStack.h" #include "MatrixCalcs.h" MatrixStack::MatrixStack() { } Matrix4D &MatrixStack::getMatrix() { return _matrix; } Matrix4D *MatrixStack::getMatrixPtr() { return &_matrix; } const Matrix4D &MatrixStack::getMatrix() const { return _matrix; } const Matrix4D *Matri...
18.057143
56
0.656646
AndreSilvs
2e6cfabbd686db101dbe789f6dd3b6f68e1282ee
2,558
cpp
C++
engine/calculators/source/PoisonCalculator.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/calculators/source/PoisonCalculator.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/calculators/source/PoisonCalculator.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "PoisonCalculator.hpp" #include "Random.hpp" const int PoisonCalculator::BASE_POISON_DURATION_MEAN = 15; const int PoisonCalculator::BASE_POISON_PCT_CHANCE = 25; // The chance of being poisoned is reduced by 1 per every x points of // health. const int PoisonCalculator::BASE_POISON_CHANCE_HEALTH_MODIFIER = 5...
31.580247
133
0.763096
prolog
2e6f6fe6a6877fb64b0809012ccb389c40f3a28c
3,142
cpp
C++
LinkedLists/SumofLinkedLists.cpp
tdkhan/algo-expert
f14c0a86acd2b77f9744c2d7d936759f31375a83
[ "MIT" ]
null
null
null
LinkedLists/SumofLinkedLists.cpp
tdkhan/algo-expert
f14c0a86acd2b77f9744c2d7d936759f31375a83
[ "MIT" ]
null
null
null
LinkedLists/SumofLinkedLists.cpp
tdkhan/algo-expert
f14c0a86acd2b77f9744c2d7d936759f31375a83
[ "MIT" ]
null
null
null
/* ################################################################################################### You're given two Linked Lists of potentially unequal length. Each Linked List represents a non-negative integer, where each node in the Linked List is a digit of that integer, and the first node in each Linked List ...
28.306306
103
0.633673
tdkhan
2e70911d9e72c20d7077169d36c6c3fdb72de1cd
13,572
cpp
C++
uav_vision/src/platform_tracking_real.cpp
meandme234/uav-autonomous-landing
40e5566a8577b3f443ae0ec8052b2f46d329a998
[ "MIT" ]
29
2019-06-17T12:13:27.000Z
2020-12-31T02:41:36.000Z
uav_vision/src/platform_tracking_real.cpp
meandme234/uav-autonomous-landing
40e5566a8577b3f443ae0ec8052b2f46d329a998
[ "MIT" ]
3
2020-01-18T02:14:20.000Z
2020-03-03T06:31:34.000Z
uav_vision/src/platform_tracking_real.cpp
meandme234/uav-autonomous-landing
40e5566a8577b3f443ae0ec8052b2f46d329a998
[ "MIT" ]
15
2019-09-29T05:33:51.000Z
2021-04-06T20:38:36.000Z
#include <ros/ros.h> #include <std_msgs/Empty.h> #include <std_srvs/Empty.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/PoseStamped.h> #include <tf/transform_listener.h> #include <geometry_msgs/PointStamped.h> #include <hector_uav_msgs/Altimeter.h> #include <string> #include <std_msgs/Int8.h> //#include <...
39.684211
159
0.632847
meandme234
2e7184a9f2e709fd8f09794df2d86156e88a4668
1,394
cc
C++
Engine/spcOpenGL/gl4/shading/gl4shader.cc
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
null
null
null
Engine/spcOpenGL/gl4/shading/gl4shader.cc
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
1
2021-09-09T12:51:56.000Z
2021-09-09T12:51:56.000Z
Engine/spcOpenGL/gl4/shading/gl4shader.cc
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
null
null
null
#include <spcOpenGL/gl4/shading/gl4shader.hh> #include <spcOpenGL/gl4/gl4exceptions.hh> #include <GL/glew.h> namespace spc::opengl { GL4Shader::GL4Shader(eGL4ShaderType type) { switch (type) { case eST_Vertex: m_type = GL_VERTEX_SHADER; break; case eST_TessEval: m_type = GL_TESS_EVALUATION_SHADE...
17.871795
67
0.685079
marcellfischbach
2e73d8046f9eaf1e656a9adec94602942e5660ba
444
hpp
C++
Score.hpp
Haileyhaile/SFML-Game
db393a1df514da40892d25425d68c1535e6b82e0
[ "MIT" ]
null
null
null
Score.hpp
Haileyhaile/SFML-Game
db393a1df514da40892d25425d68c1535e6b82e0
[ "MIT" ]
null
null
null
Score.hpp
Haileyhaile/SFML-Game
db393a1df514da40892d25425d68c1535e6b82e0
[ "MIT" ]
null
null
null
// // Score.hpp // SFML // // Created by Hailey Le on 12/3/19. // Copyright © 2019 Phuong Thao Le. All rights reserved. // #ifndef Score_hpp #define Score_hpp #include "Commons.hpp" class Score { private: unsigned int *score = nullptr; unsigned int bestScore = 0; Font scoreFont; Text text; public:...
16.444444
57
0.657658
Haileyhaile
2e77e3dc5a51abbb910e445b633c7da029f1fdfa
6,507
cc
C++
programs/gencode.cc
TigerZhang/memcached
225cf31292b2102b06f5095e29f0948b2ec646b2
[ "BSD-3-Clause" ]
1
2016-03-25T16:58:08.000Z
2016-03-25T16:58:08.000Z
programs/gencode.cc
TigerZhang/memcached
225cf31292b2102b06f5095e29f0948b2ec646b2
[ "BSD-3-Clause" ]
null
null
null
programs/gencode.cc
TigerZhang/memcached
225cf31292b2102b06f5095e29f0948b2ec646b2
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2012 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
30.985714
98
0.495927
TigerZhang
2e78bdc66cfbfabef35d8d834852e729d7b3f63e
14,266
cpp
C++
source/utopian/core/AssimpLoader.cpp
simplerr/Papageno
7ec1da40dc0459e26f5b9a8a3f72d8962237040d
[ "MIT" ]
62
2020-11-06T17:29:24.000Z
2022-03-21T19:21:16.000Z
source/utopian/core/AssimpLoader.cpp
simplerr/Papageno
7ec1da40dc0459e26f5b9a8a3f72d8962237040d
[ "MIT" ]
134
2017-02-25T20:47:43.000Z
2022-03-14T06:54:58.000Z
source/utopian/core/AssimpLoader.cpp
simplerr/Papageno
7ec1da40dc0459e26f5b9a8a3f72d8962237040d
[ "MIT" ]
6
2021-02-19T07:20:19.000Z
2021-12-27T09:07:27.000Z
#include <vector> #include "AssimpLoader.h" #include "core/renderer/Primitive.h" #include "core/Log.h" #include "core/ModelLoader.h" #include "core/renderer/Model.h" #include "vulkan/handles/Device.h" #include "vulkan/handles/DescriptorSetLayout.h" #include "vulkan/handles/DescriptorSet.h" #include "vulkan/TextureLoad...
36.116456
190
0.527408
simplerr
2e78fa0366915263f09cfd696cdb06a54626d21a
1,576
cpp
C++
5/2.cpp
deepankar/prog-challenges-sol
7c4f9e117e7b22a181fb96f104e576e88115eef9
[ "MIT" ]
null
null
null
5/2.cpp
deepankar/prog-challenges-sol
7c4f9e117e7b22a181fb96f104e576e88115eef9
[ "MIT" ]
null
null
null
5/2.cpp
deepankar/prog-challenges-sol
7c4f9e117e7b22a181fb96f104e576e88115eef9
[ "MIT" ]
null
null
null
#include <limits.h> #include <numeric> #include <stdio.h> #include <iostream> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #include <vector> #include <stack> #include <queue> #include <map> #include <algorithm> #include <string> #include <stdint.h> #include <sstream> using namespace std...
18.325581
56
0.513325
deepankar
2e79c0eb00b024bf762115f07dfcd2e67155d72a
22,843
cpp
C++
src/importers/eavlSiloImporter.cpp
jsmeredith/EAVL
114924a92aed4f1adfcf4f751151d9355c593944
[ "Apache-2.0", "BSD-2-Clause" ]
6
2016-12-11T21:40:00.000Z
2018-04-04T10:33:40.000Z
src/importers/eavlSiloImporter.cpp
jsmeredith/EAVL
114924a92aed4f1adfcf4f751151d9355c593944
[ "Apache-2.0", "BSD-2-Clause" ]
3
2015-02-11T20:55:01.000Z
2017-05-31T01:56:21.000Z
src/importers/eavlSiloImporter.cpp
jsmeredith/EAVL
114924a92aed4f1adfcf4f751151d9355c593944
[ "Apache-2.0", "BSD-2-Clause" ]
6
2015-05-24T06:27:45.000Z
2020-05-08T12:17:07.000Z
// Copyright 2010-2014 UT-Battelle, LLC. See LICENSE.txt for more information. #include "eavlSiloImporter.h" #include "eavlCoordinates.h" #include "eavlCellSetAllStructured.h" #include "eavlCellSetExplicit.h" #include "eavlException.h" #include <string.h> #if 1 // FORCING SINGLE-PRECISION HERE template<class T> stati...
28.518102
108
0.541304
jsmeredith
2e7bd0d569996cf244092f35d4e0c1660ab31b02
2,405
cpp
C++
aws-cpp-sdk-dlm/source/model/EventParameters.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-dlm/source/model/EventParameters.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-dlm/source/model/EventParameters.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/dlm/model/EventParameters.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace...
24.292929
118
0.754262
perfectrecall
2e809bc843376a283671453fe40170fe2412180c
500
cpp
C++
srcs/oper.cpp
Hunterlige/IRC
9e08d5a5566013cc3fee9e730433795698ada2c7
[ "MIT" ]
null
null
null
srcs/oper.cpp
Hunterlige/IRC
9e08d5a5566013cc3fee9e730433795698ada2c7
[ "MIT" ]
null
null
null
srcs/oper.cpp
Hunterlige/IRC
9e08d5a5566013cc3fee9e730433795698ada2c7
[ "MIT" ]
null
null
null
#ifndef OPER_CPP # define OPER_CPP #include "../include/server.hpp" void oper(vector<string> *vec, User & usr, Server & srv) { if (usr.is_oper()) { send_error(400, usr, "OPER"); return; } string name = vec->front(); string pass = (vec->size() == 1) ? "" : (*vec)[1]; if (srv.check_oper(name, pass) == false) {...
19.230769
56
0.602
Hunterlige
2e80be9fdf1473e8bf96be333929b4577d608835
1,490
cpp
C++
SDK/ARKSurvivalEvolved_ProjXenomorphWebBall_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_ProjXenomorphWebBall_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_ProjXenomorphWebBall_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_ProjXenomorphWebBall_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------...
26.140351
143
0.704027
2bite
2e932ae74f04e29ad46ceceafc10b06f2e9c4b3a
7,626
cc
C++
SPEO/src/island_EA.cc
LandBuffalo/SPEO
cdfc057dfe92b7f6941f58b411f5fae5efbdcee1
[ "MIT" ]
null
null
null
SPEO/src/island_EA.cc
LandBuffalo/SPEO
cdfc057dfe92b7f6941f58b411f5fae5efbdcee1
[ "MIT" ]
null
null
null
SPEO/src/island_EA.cc
LandBuffalo/SPEO
cdfc057dfe92b7f6941f58b411f5fae5efbdcee1
[ "MIT" ]
null
null
null
#include "island_EA.h" IslandEA::IslandEA(const NodeInfo node_info):migrate_(node_info) { node_info_ = node_info; CheckAndCreatRecordFile(); } IslandEA::~IslandEA() { } int IslandEA::CheckAndCreatRecordFile() { file_name_ = "./Results/SPEO_CPU.csv"; ifstream exist_file; exist_file.open(file_name_...
33.594714
294
0.710202
LandBuffalo
2e9ae4b218fae0686f89f4bbf12da8bdf7afd25d
110
cpp
C++
engine/src/registry.cpp
saltpowered/entt-reactive
8207df28047b9f0473581ee10e2edb906bdd4629
[ "MIT" ]
9
2019-07-30T15:57:56.000Z
2019-08-07T01:41:25.000Z
engine/src/registry.cpp
vibi-manx/entt-reactive
8207df28047b9f0473581ee10e2edb906bdd4629
[ "MIT" ]
null
null
null
engine/src/registry.cpp
vibi-manx/entt-reactive
8207df28047b9f0473581ee10e2edb906bdd4629
[ "MIT" ]
1
2020-03-24T04:50:06.000Z
2020-03-24T04:50:06.000Z
#include "registry.h" entt::registry& Registry::get() { static entt::registry registry; return registry; }
15.714286
33
0.718182
saltpowered
2e9baba73149767fc7e7eb0986651d7c56a25c94
61,596
cpp
C++
src/qt/qtwebkit/Source/JavaScriptCore/runtime/StringPrototype.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/JavaScriptCore/runtime/StringPrototype.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/JavaScriptCore/runtime/StringPrototype.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 1999-2001 Harri Porten (porten@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserved. * Copyright (C) 2009 Torch Mobile, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
39.919637
220
0.633937
zwollerob
2eb01d7c48b78beabfcb77fed9a207283f75c6d7
3,265
cpp
C++
src/common/base/mod_base.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/common/base/mod_base.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/common/base/mod_base.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //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 a...
35.48913
92
0.704135
toppic-suite
2eb3c4d821cb105daaf6649be5a302b84e6b1710
68,638
cpp
C++
src/storage.cpp
bakaoh/libnunchuk
0c5a8ba6cd2b9d12a50ecc79eb9eec7267dc02c0
[ "MIT" ]
null
null
null
src/storage.cpp
bakaoh/libnunchuk
0c5a8ba6cd2b9d12a50ecc79eb9eec7267dc02c0
[ "MIT" ]
null
null
null
src/storage.cpp
bakaoh/libnunchuk
0c5a8ba6cd2b9d12a50ecc79eb9eec7267dc02c0
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Enigmo // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "storage.h" #include <descriptor.h> #include <utils/bip32.hpp> #include <utils/txutils.hpp> #include <utils/json.hpp> #include <utils/loguru....
38.409625
80
0.642093
bakaoh
2eb3e3d0268d61dbc04b52d3c98f9f406a07ef8a
3,967
cpp
C++
src/Lumos/MultisampledFrameBuffer.cpp
Shunxu-H/DayLight
78e82d49af0b75fba3f85cbd425a2f94f3c46751
[ "BSD-2-Clause" ]
6
2017-09-29T16:34:25.000Z
2018-04-23T12:28:19.000Z
src/Lumos/MultisampledFrameBuffer.cpp
Shunxu-H/DayLight
78e82d49af0b75fba3f85cbd425a2f94f3c46751
[ "BSD-2-Clause" ]
1
2019-01-01T22:09:17.000Z
2019-01-01T22:09:17.000Z
src/Lumos/MultisampledFrameBuffer.cpp
Shunxu-H/DayLight
78e82d49af0b75fba3f85cbd425a2f94f3c46751
[ "BSD-2-Clause" ]
null
null
null
#include "Common/Utility.h" #include "MultisampledFrameBuffer.h" namespace Daylight::Lumos{ MultisampledFrameBuffer::MultisampledFrameBuffer(){} MultisampledFrameBuffer::MultisampledFrameBuffer(const size_t & width, const size_t & height) : FrameBuffer_base() , _colorTexBuffer(width, height, Texture::DEFAULTSA...
30.751938
101
0.644316
Shunxu-H
e484f2e15e6eba2519f14249b9aadaf175e7b368
496
cpp
C++
src/utilities_stats.cpp
smehringer/SViper
4111bc709c03d500cde03b4fb5b1fc1daac9e55d
[ "BSD-3-Clause" ]
25
2017-12-01T10:20:36.000Z
2022-01-13T03:57:27.000Z
src/utilities_stats.cpp
smehringer/SViper
4111bc709c03d500cde03b4fb5b1fc1daac9e55d
[ "BSD-3-Clause" ]
14
2017-12-11T12:48:24.000Z
2021-11-29T08:50:17.000Z
src/utilities_stats.cpp
smehringer/SViper
4111bc709c03d500cde03b4fb5b1fc1daac9e55d
[ "BSD-3-Clause" ]
7
2018-02-08T10:44:39.000Z
2021-09-23T01:38:49.000Z
#include <iostream> #include <sviper/stats.h> using namespace sviper; int main(int argc, char ** argv) { if (argc != 3) { std::cerr << "[ERROR] Please provide bam file name and a contig name to use (e.g. chr1)" << std::endl; return -1; } auto stat = stats_insert_size(std::string(argv[...
26.105263
110
0.566532
smehringer
e486dca184bd54e9ff5ec78437e801b3c2c8d9c0
8,313
cpp
C++
HelloSineWave/Source/MainComponent.cpp
COx2/amcj009-juce-study
80684563d8f7c9e5e5b10cb08f8f6038d5509916
[ "MIT" ]
4
2020-11-14T04:59:52.000Z
2020-11-14T06:36:28.000Z
HelloSineWave/Source/MainComponent.cpp
COx2/amcj009-juce-study
80684563d8f7c9e5e5b10cb08f8f6038d5509916
[ "MIT" ]
null
null
null
HelloSineWave/Source/MainComponent.cpp
COx2/amcj009-juce-study
80684563d8f7c9e5e5b10cb08f8f6038d5509916
[ "MIT" ]
null
null
null
#include "MainComponent.h" //============================================================================== MainComponent::MainComponent() : sliderGain(std::make_unique<juce::Slider>(juce::Slider::RotaryHorizontalVerticalDrag, juce::Slider::TextBoxBelow)) , sliderFrequency(std::make_unique<juce::Slider>(j...
39.585714
155
0.62721
COx2
e48c8eb7f90ed8a445c2350f4feeac94abfdbcc4
891
hpp
C++
src/InputData.hpp
srirampc/parabayl
883f6b2e772a3646f3dc9689f9e598fc596548b5
[ "Apache-2.0" ]
null
null
null
src/InputData.hpp
srirampc/parabayl
883f6b2e772a3646f3dc9689f9e598fc596548b5
[ "Apache-2.0" ]
null
null
null
src/InputData.hpp
srirampc/parabayl
883f6b2e772a3646f3dc9689f9e598fc596548b5
[ "Apache-2.0" ]
null
null
null
/*** * $Id: InputData.hpp 255 2009-06-15 14:38:15Z zola $ ** * File: InputData.hpp * Created: May 22, 2009 * * Author: Jaroslaw Zola <jaroslaw.zola@gmail.com> * Copyright (c) 2009 Jaroslaw Zola * Distributed under the [LICENSE]. * See accompanying file LICENSE. */ #ifndef INPUT_DATA_HPP #define INPUT_...
20.25
82
0.673401
srirampc
e4960a9b07ac8a51fd3cfe8381adf5a79f9cefb7
3,517
cpp
C++
examples/schroedinger-splitting/kernels.cpp
kho19/ginkgo
cb17428bd2381a15d6c01cac42fa1e7016891239
[ "BSD-3-Clause" ]
1
2022-03-14T13:07:18.000Z
2022-03-14T13:07:18.000Z
examples/schroedinger-splitting/kernels.cpp
kho19/ginkgo
cb17428bd2381a15d6c01cac42fa1e7016891239
[ "BSD-3-Clause" ]
null
null
null
examples/schroedinger-splitting/kernels.cpp
kho19/ginkgo
cb17428bd2381a15d6c01cac42fa1e7016891239
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2021, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
38.648352
78
0.662496
kho19
e4991fb2f49250c6e0c65cc32f6f410d7a9cb3df
3,294
cpp
C++
src/core/multimedia/couchplaylist.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
src/core/multimedia/couchplaylist.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
src/core/multimedia/couchplaylist.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
/* * couchplaylist.cpp * * Created on: 10 Sep 2016 * Author: jimmypoms */ #include "couchplaylist.h" #include <algorithm> CouchPlaylist::CouchPlaylist(QObject *parent) : QObject(parent), m_repeatMode(RepeatNone), m_shuffleMode(ShuffleNone), m_currentMapIndex(0) { m_randomEngine = std::default_...
21.38961
99
0.65088
jimmypoms
e49b088a823496054db7a389e6cfe166d1c17966
1,850
cpp
C++
Src/PlayerPickups.cpp
joshua-barnett/SnakeGame
d9fb55c869d7f301a681aaa9ec51686311ee858b
[ "MIT" ]
13
2019-08-08T08:47:36.000Z
2021-12-24T17:11:51.000Z
Src/PlayerPickups.cpp
joshua-barnett/SnakeGame
d9fb55c869d7f301a681aaa9ec51686311ee858b
[ "MIT" ]
null
null
null
Src/PlayerPickups.cpp
joshua-barnett/SnakeGame
d9fb55c869d7f301a681aaa9ec51686311ee858b
[ "MIT" ]
3
2019-08-09T10:44:45.000Z
2021-07-23T13:18:12.000Z
#include "PlayerPickups.h" #include "Engine/Vector2.h" #include "Constants.h" #include "Components/Components.h" #include <vector> void movePickup(entt::registry & registry) { //we need to place the pickup somewhere valid //cell is valid if it is not occupied by the snake, the current pickup, and is within bounds ...
25.694444
93
0.671351
joshua-barnett
e4a0f3525ce9ff4ea14439786347eeb5fcc83c9e
7,865
cpp
C++
foedus_code/tests-core/src/foedus/storage/masstree/test_masstree_peek.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/tests-core/src/foedus/storage/masstree/test_masstree_peek.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/tests-core/src/foedus/storage/masstree/test_masstree_peek.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
35.427928
99
0.706039
sam1016yu
e4a7dd2a745888e1f5c49176410c2f193a5b8e10
1,545
cpp
C++
cgiServer/cgiserver.cpp
zlonqi/longky
cc793313bed5ef8041face306279825328c70351
[ "MIT" ]
null
null
null
cgiServer/cgiserver.cpp
zlonqi/longky
cc793313bed5ef8041face306279825328c70351
[ "MIT" ]
null
null
null
cgiServer/cgiserver.cpp
zlonqi/longky
cc793313bed5ef8041face306279825328c70351
[ "MIT" ]
null
null
null
#include "cgiserver.h" #include "fastcgi.h" CgiServer::CgiServer(EventLoop *loop, const InetAddress &listenAddr, int poolThreads, int loopThreads) : server_(loop, listenAddr, "CGIServer", tank::net::TcpServer::kReusePort), poolThreads_(poolThreads), loopThreads_(loopThreads)...
37.682927
106
0.616181
zlonqi
e4aa3ffbc0cd506e32f74bf3618af4ac0325f78b
1,457
cpp
C++
LLY/LLY/resource/material/Material.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
3
2015-07-04T03:35:51.000Z
2017-09-10T08:23:25.000Z
LLY/LLY/resource/material/Material.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
LLY/LLY/resource/material/Material.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
#include "Material.h" #include "Technique.h" #include "RenderState.h" #include "../Program.h" namespace lly { Material::Material() : _current_tech(nullptr) , _template(false) { } Material::~Material() { for (auto& tech : _teches) { delete tech; } _teches.clear(); } Technique* Material::create...
14.867347
63
0.610158
ooeyusea
e4aba5be01c5b8d05d9d900bcf1220cc7741ceee
297
hxx
C++
source/code/icelib/public/ice/output/elements/namespace.hxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
source/code/icelib/public/ice/output/elements/namespace.hxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
2
2019-09-30T05:20:37.000Z
2019-10-10T19:18:59.000Z
source/code/icelib/public/ice/output/elements/namespace.hxx
iceshard-engine/code-emitter
b86eda2bc0cbdc4302fb4b03ce012ca2a0f3aeea
[ "BSD-3-Clause-Clear" ]
null
null
null
#pragma once #include <ice/output/elements/base/container.hxx> namespace ice::output { struct Namespace { std::string name; bool emit_unnamed{ true }; }; template<> auto identifier(Namespace const& data) noexcept -> std::string; } // namespace ice::output
16.5
67
0.643098
iceshard-engine
e4ac4461a13defce99f16bfb3eaf40c59b4022b7
8,155
cc
C++
src/_parsetest.cc
earlchew/libert
4b15eb24a5332dff7fb79a04aa586cb94eaa62a0
[ "BSD-3-Clause" ]
null
null
null
src/_parsetest.cc
earlchew/libert
4b15eb24a5332dff7fb79a04aa586cb94eaa62a0
[ "BSD-3-Clause" ]
null
null
null
src/_parsetest.cc
earlchew/libert
4b15eb24a5332dff7fb79a04aa586cb94eaa62a0
[ "BSD-3-Clause" ]
null
null
null
/* -*- c-basic-offset:4; indent-tabs-mode:nil -*- vi: set sw=4 et: */ /* // Copyright (c) 2016, Earl Chew // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source cod...
35.92511
80
0.660822
earlchew
e4b3227c8d55027830bcdfe3efa862f4cd95875f
951
cpp
C++
Merge Sort.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Merge Sort.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Merge Sort.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
#include<bits/stdc++.h> using namespace std; void show(int arr[],int n){ for(int i=0;i<n;i++) cout<<arr[i]<<" "; cout<<endl; } void merge(int a[],int left,int right,int mid){ int i=left; int j=mid+1; int k=left; int b[right+1]; while(i<=mid&&j<=right){ if(a[i]<a[j]){ ...
19.8125
47
0.430074
Subhash3
e4b48f365858bb52b9494e097b884322296be953
11,505
cc
C++
examples/mutelemetry_example.cc
edelsys/colibri
4cce9d1c3facff1a8115c84f2ffb28676f3745ce
[ "MIT" ]
5
2021-01-15T12:55:18.000Z
2022-03-15T10:23:54.000Z
examples/mutelemetry_example.cc
edelsys/colibri
4cce9d1c3facff1a8115c84f2ffb28676f3745ce
[ "MIT" ]
null
null
null
examples/mutelemetry_example.cc
edelsys/colibri
4cce9d1c3facff1a8115c84f2ffb28676f3745ce
[ "MIT" ]
1
2021-02-26T07:53:45.000Z
2021-02-26T07:53:45.000Z
/* * Copyright (c) 2020, EDEL LLC <http://www.edelsys.com> * All Rights Reserved * * Licensed under the MIT License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/MIT * * Permission is hereby granted, free of ch...
32.684659
80
0.626945
edelsys
e4b4915b798c35e3ec9289507a515a7e2c780f6f
5,743
cpp
C++
BeeT/BeeTGUI/ItemList.cpp
traguill/BeeT
fb10cdbeb147a036dbdc9375b74b64e11c01d3fb
[ "MIT" ]
7
2019-03-28T08:47:16.000Z
2021-12-28T08:09:23.000Z
BeeT/BeeTGUI/ItemList.cpp
traguill/BeeT
fb10cdbeb147a036dbdc9375b74b64e11c01d3fb
[ "MIT" ]
3
2018-04-28T11:06:05.000Z
2018-05-05T07:53:43.000Z
BeeT/BeeTGUI/ItemList.cpp
traguill/BeeT
fb10cdbeb147a036dbdc9375b74b64e11c01d3fb
[ "MIT" ]
3
2020-07-10T15:45:29.000Z
2022-02-18T08:12:05.000Z
#include "ItemList.h" #include "Log.h" #include <algorithm> using namespace std; // -------------------------------------------------------------------------------------- struct MatchFilterItems { bool open; string category; vector<string> items; }; // ------------------------------------------------------------...
21.27037
187
0.652272
traguill
e4c62dcae49a42aa27a0e8787db9c6c051b55137
6,475
cc
C++
src/sagtension/line_cable_unloader.cc
Overhead-Transmission-Line-Software/Models
c270d48dc9d8a6eaed1d13851da7207474356342
[ "Unlicense" ]
null
null
null
src/sagtension/line_cable_unloader.cc
Overhead-Transmission-Line-Software/Models
c270d48dc9d8a6eaed1d13851da7207474356342
[ "Unlicense" ]
null
null
null
src/sagtension/line_cable_unloader.cc
Overhead-Transmission-Line-Software/Models
c270d48dc9d8a6eaed1d13851da7207474356342
[ "Unlicense" ]
null
null
null
// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org/> #include "models/sagtension/line_cable_unloader.h" #include <cmath> #include "models/sagtension/catenary_cable_unloader.h" LineCableUnloader::LineCableUnloader() { condition_...
27.7897
80
0.715367
Overhead-Transmission-Line-Software
e4c960f328e64124a35fb1635d691c965c30d0f3
154
cpp
C++
ares/msx/vdp/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/msx/vdp/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/msx/vdp/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto VDP::serialize(serializer& s) -> void { if(Model::MSX()) TMS9918::serialize(s); if(Model::MSX2()) V9938::serialize(s); Thread::serialize(s); }
25.666667
44
0.649351
CasualPokePlayer
e4ca6135915ef054e74e5e8246191f6a423be067
10,899
cpp
C++
src/QtYangVrRecord/recordmainwindow.cpp
yangxinghai/yangrecord
787eaca132df1e427f5fc5b4391db1436d481088
[ "MIT" ]
1
2021-11-11T02:06:55.000Z
2021-11-11T02:06:55.000Z
src/QtYangVrRecord/recordmainwindow.cpp
yangxinghai/yangrecord
787eaca132df1e427f5fc5b4391db1436d481088
[ "MIT" ]
null
null
null
src/QtYangVrRecord/recordmainwindow.cpp
yangxinghai/yangrecord
787eaca132df1e427f5fc5b4391db1436d481088
[ "MIT" ]
1
2022-01-24T07:59:48.000Z
2022-01-24T07:59:48.000Z
#include "recordmainwindow.h" #include "ui_recordmainwindow.h" #include "yangrecliving/YangRecordUtilFactory.h" #include "yangrecliving/YangRecMessageI.h" #include "src/yangwinutil/yangrecordcontext.h" #include "yangutil/sys/YangLog.h" #include "yangutil/sys/YangFileUtil.h" #include <QMessageBox> RecordMainWindow::Reco...
24.770455
123
0.639875
yangxinghai
e4d30340a0db28e0d15025d88dcaacda07e4410e
2,084
hpp
C++
Client/source/Shaders/LightToLightDiffuseMap.hpp
isonil/mmorpg
679afebd7231a103146325a59e92bc1ebda9fc29
[ "MIT" ]
12
2016-05-31T06:28:26.000Z
2021-02-10T03:46:13.000Z
Client/source/Shaders/LightToLightDiffuseMap.hpp
isonil/MMORPG
679afebd7231a103146325a59e92bc1ebda9fc29
[ "MIT" ]
null
null
null
Client/source/Shaders/LightToLightDiffuseMap.hpp
isonil/MMORPG
679afebd7231a103146325a59e92bc1ebda9fc29
[ "MIT" ]
6
2016-05-22T17:22:34.000Z
2021-01-11T23:33:35.000Z
#ifndef LIGHT_TO_LIGHT_DIFFUSE_MAP_HPP #define LIGHT_TO_LIGHT_DIFFUSE_MAP_HPP const char VERTEX_SHADER_LIGHT_TO_LIGHT_DIFFUSE_MAP[] = STRINGIFY( varying vec2 screenPos; void main(void) { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; gl_TexCoord[0] = gl_TextureMatrix[0] * gl_Multi...
37.890909
92
0.675624
isonil
e4d3199490850d76cdb16ffd55f38f70654df9c3
540
cpp
C++
Source/Shooter/ShooterPlayerController.cpp
AyoubRez/Shooter
061931ca6f5a5af7b0de82cc6fc3bbda1adeb088
[ "Apache-2.0" ]
1
2021-11-22T14:22:34.000Z
2021-11-22T14:22:34.000Z
Source/Shooter/ShooterPlayerController.cpp
AyoubRez/Shooter
061931ca6f5a5af7b0de82cc6fc3bbda1adeb088
[ "Apache-2.0" ]
257
2021-11-15T09:25:49.000Z
2021-12-19T16:09:47.000Z
Source/Shooter/ShooterPlayerController.cpp
AyoubRez/Shooter
061931ca6f5a5af7b0de82cc6fc3bbda1adeb088
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ShooterPlayerController.h" #include "Blueprint/UserWidget.h" AShooterPlayerController::AShooterPlayerController() { } void AShooterPlayerController::BeginPlay() { Super::BeginPlay(); //Check Our HUDOverlayClass TSubClassOf ...
19.285714
78
0.762963
AyoubRez
e4d4bbf9c6ad61f601feb5946212327fe6474020
13,095
cpp
C++
GCode/CodeEdit.cpp
sinzens/GCode
5341a603b6cda956aed52646e2747f56532f8570
[ "OLDAP-2.5" ]
1
2020-09-26T11:14:01.000Z
2020-09-26T11:14:01.000Z
GCode/CodeEdit.cpp
sinzens/GCode
5341a603b6cda956aed52646e2747f56532f8570
[ "OLDAP-2.5" ]
null
null
null
GCode/CodeEdit.cpp
sinzens/GCode
5341a603b6cda956aed52646e2747f56532f8570
[ "OLDAP-2.5" ]
null
null
null
#include "CodeEdit.h" #include "LineArea.h" #include "MainWindow.h" #include <QPainter> #include <QStyleOption> #include <QTextBlock> #include <QCompleter> #include <QAbstractItemView> #include <QScrollBar> #include <QDebug> static QVector<QPair<QString, QString>> parentheses = { {"(", ")"}, {"{", "}"}, {...
26.670061
140
0.573654
sinzens
e4daf9c7681a85e8e4122357140a6114110a92eb
7,796
cpp
C++
Win32xx/samples/TabDemo/src/Mainfrm.cpp
mufunyo/VisionRGBApp
c09092770032150083eda171a22b1a3ef0914dab
[ "Unlicense" ]
2
2021-03-25T04:19:22.000Z
2021-05-03T03:23:30.000Z
Win32xx/samples/TabDemo/src/Mainfrm.cpp
mufunyo/VisionRGBApp
c09092770032150083eda171a22b1a3ef0914dab
[ "Unlicense" ]
null
null
null
Win32xx/samples/TabDemo/src/Mainfrm.cpp
mufunyo/VisionRGBApp
c09092770032150083eda171a22b1a3ef0914dab
[ "Unlicense" ]
1
2020-12-28T08:53:42.000Z
2020-12-28T08:53:42.000Z
//////////////////////////////////////////////////// // Mainfrm.cpp #include "stdafx.h" #include "mainfrm.h" #include "Classes.h" #include "Files.h" #include "MyDialog.h" #include "resource.h" // Definitions for the CMainFrame class CMainFrame::CMainFrame() { //Set the tab control as the fram's view window S...
27.842857
111
0.660595
mufunyo
e4dde8e5f5781927ae659086d405aa91baa44acc
3,745
cpp
C++
src/game/client/deferred/vgui/vgui_particles.cpp
Joshua-Ashton/C-RUN
c97ac1e85bfab5403e239628ae05c4b06ad5a4ee
[ "Unlicense" ]
7
2017-08-24T06:27:04.000Z
2019-08-08T21:18:56.000Z
game/client/deferred/vgui/vgui_particles.cpp
jonathonracz/swarm-deferred
c617517d07612f7a61bfe61da7a2114c38c36322
[ "Apache-2.0" ]
null
null
null
game/client/deferred/vgui/vgui_particles.cpp
jonathonracz/swarm-deferred
c617517d07612f7a61bfe61da7a2114c38c36322
[ "Apache-2.0" ]
5
2017-06-11T03:25:50.000Z
2019-04-13T19:27:39.000Z
#include "cbase.h" #include "deferred/vgui/vgui_deferred.h" #include "vgui/ISurface.h" #include "particles/particles.h" using namespace vgui; REGISTER_PROJECTABLE_FACTORY( CVGUIParticles, "particle" ); CVGUIParticles::CVGUIParticles() { m_ViewSetup.m_bOrtho = true; m_ViewSetup.zNear = 0; m_ViewSetup.zFar = 200...
23.26087
107
0.725234
Joshua-Ashton
e4de436eda778b164bc6c7cd1ec2d07b81ed95fb
8,098
cpp
C++
3dparty/taglib/taglib/trueaudio/trueaudiofile.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
3,066
2016-06-10T09:23:40.000Z
2022-03-31T11:01:01.000Z
3dparty/taglib/taglib/trueaudio/trueaudiofile.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
414
2016-09-20T20:26:05.000Z
2022-03-29T00:43:13.000Z
3dparty/taglib/taglib/trueaudio/trueaudiofile.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
310
2016-06-13T21:53:04.000Z
2022-03-18T14:36:38.000Z
/*************************************************************************** copyright : (C) 2006 by Lukáš Lalinský email : lalinsky@gmail.com copyright : (C) 2004 by Allan Sandfeld Jensen email : kde@carewolf.org (original ...
26.038585
98
0.564337
olanser
e4de780e34fc8b3cea60450c9a604f483bb378a6
844
hpp
C++
include/boost/di/extension/bindings/constructor_bindings.hpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
1
2018-04-09T01:45:17.000Z
2018-04-09T01:45:17.000Z
include/boost/di/extension/bindings/constructor_bindings.hpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
null
null
null
include/boost/di/extension/bindings/constructor_bindings.hpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
1
2020-04-14T03:39:20.000Z
2020-04-14T03:39:20.000Z
// // Copyright (c) 2012-2018 Kris Jusiak (kris at jusiak dot net) // // 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) // #pragma once #include <type_traits> #include "boost/di.hpp" BOOST_DI_NAMESPACE_BEGIN namesp...
27.225806
119
0.716825
chnlkw
e4e2737fd59d1d17e0789e5a9433a9f887348e48
314
cpp
C++
SEARCHING/index of last occurence.cpp
ghostumar/DSA
ca8ca00d1c2cb132c46ace68f862c09883491f3c
[ "Apache-2.0" ]
null
null
null
SEARCHING/index of last occurence.cpp
ghostumar/DSA
ca8ca00d1c2cb132c46ace68f862c09883491f3c
[ "Apache-2.0" ]
null
null
null
SEARCHING/index of last occurence.cpp
ghostumar/DSA
ca8ca00d1c2cb132c46ace68f862c09883491f3c
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int lastoccurence(int arr[],int n,int x){ for(int i=n-1;i>0;i--){ if(arr[i]==x){ return i; } } return -1; } int main(){ int arr[]={1,10,10,20,20,40},n=6,x; cout<<"Enter the element to be searched"<<endl; cin>>x; cout<<lastoccurence(arr,n,x); }
18.470588
49
0.582803
ghostumar
e4e2fad74acf4d9f54e66c0fb9019ab499e80f7b
16,794
cpp
C++
Master-Code/spike/info/ctwmcmc/CTWMCMCSampleComp.cpp
joaodornas/random-code
8db8cbccab674c4b77efaed86086dc6a99e5b9a1
[ "Apache-2.0" ]
1
2021-01-13T05:01:59.000Z
2021-01-13T05:01:59.000Z
Master-Code/spike/info/ctwmcmc/CTWMCMCSampleComp.cpp
joaodornas/random-code
8db8cbccab674c4b77efaed86086dc6a99e5b9a1
[ "Apache-2.0" ]
null
null
null
Master-Code/spike/info/ctwmcmc/CTWMCMCSampleComp.cpp
joaodornas/random-code
8db8cbccab674c4b77efaed86086dc6a99e5b9a1
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010, Weill Medical College of Cornell University * All rights reserved. * * This software is distributed WITHOUT ANY WARRANTY * under license "license.txt" included with distribution and * at http://neurodatabase.org/src/license. */ /** @file * @brief Computational routines for sampling CT...
36.90989
168
0.673217
joaodornas
e4e384f4c71a115e4c967b363bcb377240d07216
1,081
cpp
C++
globals.cpp
erick-at-github/Skippers-Revenge
496d7c3e90339847bbb2884e6d119821f4f575ca
[ "MIT" ]
2
2020-07-30T05:00:52.000Z
2021-12-10T02:22:17.000Z
globals.cpp
erick-at-github/Skippers-Revenge
496d7c3e90339847bbb2884e6d119821f4f575ca
[ "MIT" ]
null
null
null
globals.cpp
erick-at-github/Skippers-Revenge
496d7c3e90339847bbb2884e6d119821f4f575ca
[ "MIT" ]
null
null
null
/* * globals.cpp * * Created on: May, 2019 * Author: esantiago */ #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <SDL2/SDL_mixer.h> #include "LTexture.h" #include "GameState.h" #include "globals.h" //The window we'll be rendering to SDL_Window *gWindow = NULL; //The window renderer SDL_Renderer...
18.964912
89
0.750231
erick-at-github
e4e504addc0130c793d0d8a5cd6cfbb9302e29f9
1,094
cpp
C++
buttonFanControl.cpp
Sc0rpe/GreenHousePi
a193cee9acbe61f5c682b3d48132b315a6a97af8
[ "Unlicense" ]
null
null
null
buttonFanControl.cpp
Sc0rpe/GreenHousePi
a193cee9acbe61f5c682b3d48132b315a6a97af8
[ "Unlicense" ]
3
2018-04-26T14:16:54.000Z
2018-10-09T14:37:35.000Z
buttonFanControl.cpp
Sc0rpe/GreenHousePi
a193cee9acbe61f5c682b3d48132b315a6a97af8
[ "Unlicense" ]
null
null
null
/* * 2018 Rico Schulz * * */ // this software contious reads the value of the fan toggle button // toggling off the fan when the button is pressed and expanding the cooldown about 45 minutes // this programm should be started after booting thus should be put in the /etc/rc.local file #include <wiringPi.h> #include <io...
23.276596
94
0.706581
Sc0rpe
e4eb80c47c213e2e6cfdb986dd279e6e81f1c999
2,606
cpp
C++
src/modules/http/StatusCodes.cpp
broiler47/silentloop
195a08b1791354ad3f604dd5a2d9cb2ae27f364b
[ "MIT" ]
null
null
null
src/modules/http/StatusCodes.cpp
broiler47/silentloop
195a08b1791354ad3f604dd5a2d9cb2ae27f364b
[ "MIT" ]
null
null
null
src/modules/http/StatusCodes.cpp
broiler47/silentloop
195a08b1791354ad3f604dd5a2d9cb2ae27f364b
[ "MIT" ]
null
null
null
// // Created by palulukan on 6/2/20. // #include "StatusCodes.h" const std::map<int, std::string> http::STATUS_CODES = { { 100, "Continue" }, { 101, "Switching Protocols" }, { 102, "Processing" }, // RFC { 251,8, obsoleted by RFC { 491,8 { 103, "Early Hints" }, { 200, "OK" }, ...
36.194444
83
0.503837
broiler47
e4ede567ed5cc7dd21ad8f6b33863a3bd3b3d261
3,439
cpp
C++
src/liblvr2/display/Color.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
src/liblvr2/display/Color.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
src/liblvr2/display/Color.cpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
/** * Copyright (c) 2018, University Osnabrück * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this li...
35.822917
82
0.629253
uos
e4efbe1d12861bf07d78b06c366092bebfab89af
6,626
cpp
C++
CS302/fall17/4/testDS.cpp
3SUM/monalisa
d2139f94278a773c86fd4d1288df48c032271ebe
[ "MIT" ]
5
2021-12-31T23:11:19.000Z
2022-01-20T22:30:48.000Z
CS302/fall17/4/testDS.cpp
3SUM/monalisa
d2139f94278a773c86fd4d1288df48c032271ebe
[ "MIT" ]
1
2022-01-01T09:34:34.000Z
2022-01-13T05:32:30.000Z
CS302/fall17/4/testDS.cpp
3SUM/monalisa
d2139f94278a773c86fd4d1288df48c032271ebe
[ "MIT" ]
4
2022-01-01T09:33:38.000Z
2022-02-14T23:28:36.000Z
// Main program for testing // Test the stack and queue implementations #include <fstream> #include <iostream> #include <string> #include "linkedQueue.h" #include "linkedStack.h" using namespace std; int main() { // ***************************************************************** // Headers... strin...
23.834532
79
0.459704
3SUM
e4f68d8c15cc164d7fa294b83dede61603d9210a
2,423
hpp
C++
src/ParallelVideoCapture/parallel_video_capture.hpp
a5ndri0s/LiveFaceReco_RaspberryPi
4a480b639e2981c0ce5eea7b5f72e90fe4d2fe8b
[ "BSD-3-Clause" ]
131
2020-08-03T01:02:45.000Z
2022-03-29T16:03:24.000Z
src/ParallelVideoCapture/parallel_video_capture.hpp
y9luiz/LiveFaceReco_RaspberryPi
29857b6595a228ff751e49e2b5f2a6726802857a
[ "BSD-3-Clause" ]
16
2020-08-25T13:49:07.000Z
2022-03-30T07:16:26.000Z
src/ParallelVideoCapture/parallel_video_capture.hpp
y9luiz/LiveFaceReco_RaspberryPi
29857b6595a228ff751e49e2b5f2a6726802857a
[ "BSD-3-Clause" ]
38
2020-08-03T01:40:09.000Z
2022-02-16T02:51:30.000Z
#pragma once #include <opencv2/opencv.hpp> #include <thread> #include <mutex> #include <memory> #include <atomic> #include <unistd.h> /** * this class overides all * constructors presents and some methods in * cv::VideoCapture class * https://docs.opencv.org/3.4/d8/dfe/classcv_1_1VideoCapture.html * Also a...
25.239583
94
0.587701
a5ndri0s
e4f8b6bd519fef37e85b85fd050146a82810a82e
25,381
cpp
C++
Peach3D/RenderDX/Peach3DTextureLoader.cpp
singoonhe/peach3d
ac09379b3131cb01f34a59bd995c33fa14b9d563
[ "MIT" ]
null
null
null
Peach3D/RenderDX/Peach3DTextureLoader.cpp
singoonhe/peach3d
ac09379b3131cb01f34a59bd995c33fa14b9d563
[ "MIT" ]
null
null
null
Peach3D/RenderDX/Peach3DTextureLoader.cpp
singoonhe/peach3d
ac09379b3131cb01f34a59bd995c33fa14b9d563
[ "MIT" ]
null
null
null
// // Peach3DTextureLoader.cpp // Peach3DLib // // Created by singoon.he on 9/4/14. // Copyright (c) 2014 singoon.he. All rights reserved. // #include "Peach3DTextureLoader.h" #include "Peach3DIPlatform.h" #include "Peach3DRenderDX.h" #if (_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/) && !defined(DXGI_1_2_FORMATS...
39.844584
138
0.614712
singoonhe
e4fa823461dfc952e35a557b6e0738905932713f
1,355
cpp
C++
source/utilities/utilities_test/utf.test.cpp
coder0xff/Plange
26535f6c72d7ab0aaf753218ddbf3f4ad16283f7
[ "BSD-3-Clause" ]
16
2015-12-04T18:17:03.000Z
2020-09-11T08:40:32.000Z
source/utilities/utilities_test/utf.test.cpp
coder0xff/Plange
26535f6c72d7ab0aaf753218ddbf3f4ad16283f7
[ "BSD-3-Clause" ]
12
2017-07-12T02:04:05.000Z
2018-07-07T01:17:12.000Z
source/utilities/utilities_test/utf.test.cpp
coder0xff/Plange
26535f6c72d7ab0aaf753218ddbf3f4ad16283f7
[ "BSD-3-Clause" ]
5
2016-11-11T11:47:47.000Z
2020-02-06T02:07:30.000Z
#include "utf.hpp" #include "gtest/gtest.h" TEST(UtfTest, RoundTrip32) { auto const original = U"A©☺💩"; // A=1 byte, © (A9)=2 bytes, ☺ (263A)=3 bytes, 💩 (1F4A9)=4 bytes auto const utf8 = to_utf8(original); char expectedUtf8[10] = { char(0x41), char(0xC2), char(0xA9), char(0xE2), char(0x98), char(0xBA), char(0...
28.229167
120
0.674539
coder0xff
e4fc4bba43e33fa56f8abd7be0e484379322863b
1,490
cpp
C++
dpcpp/bfs/kernel2.dp.cpp
CR-G/rodinia-dpct-dpcpp
a0e80bd715c3cc7c3356e1e00245b91e15927d2c
[ "MIT" ]
1
2022-03-28T18:13:13.000Z
2022-03-28T18:13:13.000Z
dpcpp/bfs/kernel2.dp.cpp
artecs-group/rodinia-dpct-dpcpp
a0e80bd715c3cc7c3356e1e00245b91e15927d2c
[ "MIT" ]
7
2021-04-15T11:53:20.000Z
2021-05-15T08:58:30.000Z
dpcpp/bfs/kernel2.dp.cpp
artecs-group/rodinia-dpct-dpcpp
a0e80bd715c3cc7c3356e1e00245b91e15927d2c
[ "MIT" ]
null
null
null
#include <CL/sycl.hpp> #include <dpct/dpct.hpp> #include "bfs.hpp" /********************************************************************************* Implementing Breadth first search on CUDA using algorithm given in HiPC'07 paper "Accelerating Large Graph Algorithms on the GPU using CUDA" Copyright (c) 2008 Inter...
33.111111
111
0.67651
CR-G
e4ff9909546e79e7e48fcf516bc540297bbf13dd
849
cpp
C++
sem13-fork-exec-pipe/simpliest_example.cpp
yuri-pechatnov/caos_2019-2020
692b4245955bc8158fb90138d44526d6fae8444e
[ "MIT" ]
32
2019-10-04T20:02:32.000Z
2020-07-21T17:18:06.000Z
sem13-fork-exec-pipe/simpliest_example.cpp
yuri-pechatnov/caos_2019-2020
692b4245955bc8158fb90138d44526d6fae8444e
[ "MIT" ]
2
2020-04-05T12:52:13.000Z
2020-05-04T23:42:02.000Z
sem13-fork-exec-pipe/simpliest_example.cpp
yuri-pechatnov/caos
616fe20bfc101f5653c6ef162c988503b1842a75
[ "MIT" ]
10
2020-09-03T17:25:42.000Z
2022-02-18T23:36:51.000Z
// %%cpp simpliest_example.cpp // %run gcc simpliest_example.cpp -o simpliest_example.exe // %run ./simpliest_example.exe #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <sys/wait.h> #include <sched.h> int main() { pid_t pid = fork(); printf("Hello world! fork result (c...
28.3
126
0.636042
yuri-pechatnov
07e5b52139e6e49b2005b7ffeab802557f22dbc3
406
cpp
C++
NativeTestUtilities/TestTrace.cpp
qulia/CrackingTheCodingInterview
2f752cbaf28ecebf8d5f624b962710e745327245
[ "Apache-2.0" ]
null
null
null
NativeTestUtilities/TestTrace.cpp
qulia/CrackingTheCodingInterview
2f752cbaf28ecebf8d5f624b962710e745327245
[ "Apache-2.0" ]
null
null
null
NativeTestUtilities/TestTrace.cpp
qulia/CrackingTheCodingInterview
2f752cbaf28ecebf8d5f624b962710e745327245
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "TestTrace.h" #include "CppUnitTest.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace NativeTestUtilities { const void TestTrace::Write(const char * message) { Logger::WriteMessage(message); } const void TestTrace::WriteLine(const char * message) { Writ...
20.3
68
0.743842
qulia
07eb512808ca3129896a9f45aa76db222f0803d5
384
cpp
C++
src/rss/rssicon.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
1
2017-05-21T15:31:02.000Z
2017-05-21T15:31:02.000Z
src/rss/rssicon.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
null
null
null
src/rss/rssicon.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
null
null
null
#include "rssicon.h" RssIcon::RssIcon(QWidget* parent) : ClickableLabel(parent) { setObjectName("locationbar-rss-icon"); setCursor(Qt::PointingHandCursor); setFocusPolicy(Qt::ClickFocus); setVisible(false); } void RssIcon::mousePressEvent(QMouseEvent* ev) { ClickableLabel::mousePressEvent(ev);...
20.210526
46
0.708333
bubapl
07eeafd147afd467d4d92c47ea3ad403ce9dd5f8
2,517
cpp
C++
source/FAST/Examples/Segmentation/neuralNetworkCTSegmentation.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Examples/Segmentation/neuralNetworkCTSegmentation.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Examples/Segmentation/neuralNetworkCTSegmentation.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
/** * @example neuralNetworkCTSegmentation.cpp */ #include <FAST/Tools/CommandLineParser.hpp> #include <FAST/Importers/ImageFileImporter.hpp> #include <FAST/Visualization/SimpleWindow.hpp> #include <FAST/Algorithms/ImagePatch/PatchGenerator.hpp> #include <FAST/Algorithms/ImagePatch/PatchStitcher.hpp> #include <FAST/A...
39.952381
148
0.704807
andreped
07ef654ba5dc59df9b2ac3240906e5c922424495
9,679
cpp
C++
Source/AllProjects/CIDLib/CIDLib_TextFileStream.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/CIDLib/CIDLib_TextFileStream.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/CIDLib/CIDLib_TextFileStream.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDLib_TextFileStream.cpp // // AUTHOR: Dean Roddey // // CREATED: 09/28/1996 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://ope...
25.471053
84
0.512036
MarkStega
07f36b6513f691b105338115b9c4c2cd28ac770e
881
cpp
C++
IA20-IOTExpressLib/src/ia20/iot/Listener.cpp
InvenireAude/IA20-BuilderTools
7ef0116bd2d1db83e3d3583c9059d5b2ee5462d6
[ "Apache-2.0" ]
null
null
null
IA20-IOTExpressLib/src/ia20/iot/Listener.cpp
InvenireAude/IA20-BuilderTools
7ef0116bd2d1db83e3d3583c9059d5b2ee5462d6
[ "Apache-2.0" ]
null
null
null
IA20-IOTExpressLib/src/ia20/iot/Listener.cpp
InvenireAude/IA20-BuilderTools
7ef0116bd2d1db83e3d3583c9059d5b2ee5462d6
[ "Apache-2.0" ]
null
null
null
/* * File: Listener.cpp * * Copyright (C) 2021, Albert Krzymowski * */ #include "Listener.h" #include <ia20/iot/logger/LogLevel.h> #include <ia20/iot/tools/sys/TaskPort.h> namespace IA20 { namespace IOT { /*************************************************************************/ Listener::Listener(){ IA20_T...
25.171429
75
0.464245
InvenireAude
07f68c6f5c9bd508b49cc1e982700d30b83ebf85
438
cxx
C++
src/main.cxx
bodand/Mage
00301128706326d5c935c592d268497157546347
[ "BSD-3-Clause" ]
null
null
null
src/main.cxx
bodand/Mage
00301128706326d5c935c592d268497157546347
[ "BSD-3-Clause" ]
null
null
null
src/main.cxx
bodand/Mage
00301128706326d5c935c592d268497157546347
[ "BSD-3-Clause" ]
null
null
null
/* Mage project * * Copyright (c) 2021, András Bodor <bodand@pm.me> * Licensed under the BSD 3-Clause license * * src/main.cxx -- * Main entry point for the mage executable. */ #include <iostream> #include <mana/regex.hxx> int main() { mana::regex re(R"xXx(ye*t)xXx"); std::string str; std::cin ...
19.043478
106
0.577626
bodand
07f732ba9d160d47da10484372708fb76b806cfa
42,070
cpp
C++
sources/curly.hpp/curly.cpp
shaglund/curly.hpp
9bb8fb8a4739a18f1d24b8c204e57e40ff09f77d
[ "MIT" ]
null
null
null
sources/curly.hpp/curly.cpp
shaglund/curly.hpp
9bb8fb8a4739a18f1d24b8c204e57e40ff09f77d
[ "MIT" ]
null
null
null
sources/curly.hpp/curly.cpp
shaglund/curly.hpp
9bb8fb8a4739a18f1d24b8c204e57e40ff09f77d
[ "MIT" ]
5
2019-08-12T08:08:48.000Z
2019-12-03T12:04:02.000Z
/******************************************************************************* * This file is part of the "https://github.com/blackmatov/curly.hpp" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2019, by Matvey Cherevko (blackmatov@gmail.com) *************************...
33.602236
128
0.53228
shaglund
07f9ddb806d848ce2ba5bf32cc6e404a92323950
1,334
cpp
C++
BZOJ/3238/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3238/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3238/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #define maxp 1000010 #define maxn 500010 #define alp 26 #define LL long long using namespace std; int n; struct SAM{ int tot,pre[maxp],son[maxp][alp],size[maxp],step[maxp],du[maxp]; LL sum[maxp]; void clear(){tot=1;} int ins(int p,int c){ int np=++tot;step[n...
21.868852
98
0.557721
sjj118
07fc36cf752524dbac95a959ff1a64e3a4aa523e
1,641
cpp
C++
vkconfig_core/command_line.cpp
gtskhadadze83/VulkanTools
92cb0f6246369ff825eb82dbb1f8a301e87c4958
[ "Apache-2.0" ]
null
null
null
vkconfig_core/command_line.cpp
gtskhadadze83/VulkanTools
92cb0f6246369ff825eb82dbb1f8a301e87c4958
[ "Apache-2.0" ]
null
null
null
vkconfig_core/command_line.cpp
gtskhadadze83/VulkanTools
92cb0f6246369ff825eb82dbb1f8a301e87c4958
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
29.836364
84
0.605119
gtskhadadze83
58037b361b0988b966d813979aded2bb50a87909
894
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/ui/WorldMapPlayerMappinController.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-03-18T17:22:09.000Z
2022-03-18T17:22:09.000Z
include/RED4ext/Scripting/Natives/Generated/game/ui/WorldMapPlayerMappinController.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/game/ui/WorldMapPlayerMappinController.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-02-13T01:44:55.000Z
2022-02-13T01:44:55.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/game/ui/BaseWorldMapMappinController.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/ImageWidgetReference.hpp> namespace RED4ext { namespace gam...
34.384615
87
0.788591
jackhumbert
580523b4a22379665ef642e01d1a4d5bc57c02a8
346
cpp
C++
Code full house/buoi9-nguyen dinh trung duc/bai3.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi9-nguyen dinh trung duc/bai3.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi9-nguyen dinh trung duc/bai3.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/* bai 3 */ #include<stdio.h> int main(){ int n; scanf("%d", &n); int a[n]; for(int i=0; i<n;i++){ scanf("%d", &a[i]); } int m1=-1e9, m2=-1e9; for(int i=0;i<n;i++){ if(a[i]>m1){ m2=m1; m1=a[i]; } else if(a[i]>m2 && a[i]!=m1){ m2=a[i]; } } printf("%d ",m1); if(m2==-1e9){ printf("-1"); } ...
12.814815
31
0.436416
ducyb2001
580766bb1ae6920bdadc8ace7b3b745db338c795
22,067
cpp
C++
sysdeps/vinix/generic/generic.cpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
sysdeps/vinix/generic/generic.cpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
sysdeps/vinix/generic/generic.cpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
#include <bits/ensure.h> #include <mlibc/debug.hpp> #include <mlibc/all-sysdeps.hpp> #include <errno.h> #include <dirent.h> #include <fcntl.h> #include <limits.h> #include <asm/ioctls.h> #include <stdlib.h> #define STUB_ONLY { \ __ensure(!"STUB_ONLY function was called"); \ __builti...
24.491676
148
0.616577
vinix-os
580a6efc10a7407ee64d1d0c272232a481a907f5
732
cpp
C++
.LHP/He10/T.Hung/10721/10721/10721.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/He10/T.Hung/10721/10721/10721.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/He10/T.Hung/10721/10721/10721.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
// AC UVa #include "pch.h" #include <iostream> #include <cstdio> #include <algorithm> #define maxN 52 typedef int maxn; typedef long long maxr; maxn N, K, M; maxr f[maxN][maxN]; void Process() { for (maxn i = 0; i <= N; i++) std::fill(f[i], f[i] + N + 1, 0); f[0][0] = 1; for (maxn i = 1; i <= N; i++) { for (...
17.023256
64
0.490437
sxweetlollipop2912
5814d8673ecd56d8771486809692ee9521759ca8
475
cpp
C++
test/test_fenwick_tree_truncated.cpp
jermp/psds
df18b6de638d64de9308a3a6d1b15606650c849a
[ "MIT" ]
19
2020-06-26T09:34:08.000Z
2022-03-10T03:06:21.000Z
test/test_fenwick_tree_truncated.cpp
jermp/psds
df18b6de638d64de9308a3a6d1b15606650c849a
[ "MIT" ]
null
null
null
test/test_fenwick_tree_truncated.cpp
jermp/psds
df18b6de638d64de9308a3a6d1b15606650c849a
[ "MIT" ]
1
2020-11-18T09:17:31.000Z
2020-11-18T09:17:31.000Z
#include "test_common.hpp" #include "test_tree.hpp" TEST_CASE("test fenwick_tree_truncated_node64") { uint64_t n = sizeof(sizes) / sizeof(sizes[0]); for (uint64_t i = 0; i != n; ++i) { test_tree<fenwick_tree_truncated<node64>>(sizes[i]); } } TEST_CASE("test fenwick_tree_truncated_node256") { u...
29.6875
61
0.648421
jermp
5818eb1c280654a4c305c98b7091413b867fa117
1,813
hh
C++
etc/ron/todevicenotify.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
32
2017-11-02T12:33:21.000Z
2022-02-07T22:25:58.000Z
etc/ron/todevicenotify.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
2
2019-02-18T08:47:16.000Z
2019-05-24T14:41:23.000Z
etc/ron/todevicenotify.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
10
2018-06-13T11:54:53.000Z
2020-09-08T06:52:43.000Z
#ifndef TODEVICENOTIFY_HH #define TODEVICENOTIFY_HH #include <click/element.hh> #include <click/string.hh> #include <click/task.hh> #include "queuenotify.hh" #include "../../elements/userlevel/fromdevice.hh" #include "../../elements/userlevel/todevice.hh" /* * =title ToDeviceNotify.u * =c * ToDeviceNotify(DEVNAME) ...
26.275362
77
0.730281
MacWR
581a1fa9e1139a40858f20364f95e080b55b23e3
1,981
hpp
C++
src/MGData.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
5
2015-07-10T16:35:08.000Z
2021-09-13T03:29:37.000Z
src/MGData.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
null
null
null
src/MGData.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
null
null
null
//@HEADER // *************************************************** // // Kokkos HPCG: Refactored code to replace most/all // allocated arrays with views. // // // // // // *************************************************** //@HEADER /*! @file MGData.hpp HPCG data structure */ #ifndef MGDATA_HPP #define MGDATA...
24.7625
126
0.687532
zabookey
581f7342f08d14928723ec195136f51bf96d0a5d
814
cpp
C++
src/plugins/lhtr/inserttabledialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
null
null
null
src/plugins/lhtr/inserttabledialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
null
null
null
src/plugins/lhtr/inserttabledialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
23.941176
83
0.585995
Maledictus
5825985330f349e8eaefc2a7b75b7db031486780
924
cpp
C++
cpp/observer/main.cpp
ZhangShuaiH/demos
8e4926e6fb40de54d9b50b9e36e3e90ea541e719
[ "Apache-2.0" ]
1
2021-05-18T14:07:05.000Z
2021-05-18T14:07:05.000Z
cpp/observer/main.cpp
ZhangShuaiH/demos
8e4926e6fb40de54d9b50b9e36e3e90ea541e719
[ "Apache-2.0" ]
null
null
null
cpp/observer/main.cpp
ZhangShuaiH/demos
8e4926e6fb40de54d9b50b9e36e3e90ea541e719
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <functional> #include <iomanip> #include <unordered_set> #include <string> #define ddd(expr) std::cout<<__FUNCTION__<<"::"<<__LINE__<<"::"<<#expr<<"->"<<expr<<std::endl using namespace std; class QObject{ public: virtual void signal(int val){ ddd(""); ...
20.086957
93
0.622294
ZhangShuaiH
5825a69aed23cd25e5fa73c939bfd18a07dc4116
7,477
cpp
C++
src/database/vtk/generated/SoVtkCursor3D.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/database/vtk/generated/SoVtkCursor3D.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/database/vtk/generated/SoVtkCursor3D.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation 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....
20.769444
81
0.686104
OpenXIP
582710165504a3124a44915bd7bb9348979560ac
1,610
cpp
C++
sliding_median.cpp
elsantodel90/cses-problemset
15550a4533ee0476e763c670134f768c85a87a4f
[ "Unlicense" ]
null
null
null
sliding_median.cpp
elsantodel90/cses-problemset
15550a4533ee0476e763c670134f768c85a87a4f
[ "Unlicense" ]
null
null
null
sliding_median.cpp
elsantodel90/cses-problemset
15550a4533ee0476e763c670134f768c85a87a4f
[ "Unlicense" ]
1
2021-05-14T15:28:31.000Z
2021-05-14T15:28:31.000Z
#include <iostream> #include <queue> using namespace std; #define forn(i,n) for(int i=0;i<int(n);i++) const int MAXN = 1000000; int x[MAXN]; template<int K> struct Comp { bool operator()(int i, int j) { return (x[i] != x[j]) ? (K*x[i] < K*x[j]) : (K*i < K*j); } }; const int INF = 1000010000; template <int K>...
18.72093
94
0.542236
elsantodel90
58294fe5afcc0ca4e23f31af517fa80479842a32
3,733
cpp
C++
modules/examples/ex-cartesian.cpp
theseankelly/libo3d3xx
01cdf9560d69b1ee91ca9b4298df7bb4efb45e52
[ "Apache-2.0" ]
36
2015-04-04T15:19:50.000Z
2018-10-11T14:33:05.000Z
modules/examples/ex-cartesian.cpp
theseankelly/libo3d3xx
01cdf9560d69b1ee91ca9b4298df7bb4efb45e52
[ "Apache-2.0" ]
111
2015-04-22T16:12:55.000Z
2018-10-16T08:03:40.000Z
modules/examples/ex-cartesian.cpp
theseankelly/libo3d3xx
01cdf9560d69b1ee91ca9b4298df7bb4efb45e52
[ "Apache-2.0" ]
40
2015-07-13T09:29:31.000Z
2018-09-14T06:56:24.000Z
/* * Copyright (C) 2016 Love Park Robotics, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
30.85124
79
0.669167
theseankelly
582da7d8138c9719b0a323f4f5045916a64705f4
1,056
hpp
C++
Sources/Engine/Mesh/VertexArrayObject.hpp
ValentinCamus/GIR-Engine
1aa8f6d44f65a00bc19e932ecd5ce98136015ee0
[ "MIT" ]
4
2020-01-21T14:51:29.000Z
2020-02-26T17:02:40.000Z
Sources/Engine/Mesh/VertexArrayObject.hpp
ValentinCamus/GIR-Engine
1aa8f6d44f65a00bc19e932ecd5ce98136015ee0
[ "MIT" ]
null
null
null
Sources/Engine/Mesh/VertexArrayObject.hpp
ValentinCamus/GIR-Engine
1aa8f6d44f65a00bc19e932ecd5ce98136015ee0
[ "MIT" ]
3
2020-02-18T10:55:46.000Z
2021-11-14T12:02:44.000Z
#pragma once #include <Engine/OpenGL/OpenGL.hpp> #include "Engine/Component/OpenGLComponent.hpp" namespace gir { class VertexArrayObject : public OpenGLComponent { public: explicit VertexArrayObject(); ~VertexArrayObject() override; void Bind() override; void Unbind() ov...
25.756098
96
0.64678
ValentinCamus
583023117c02cffac79e7ba526e8fa89bacf28c4
4,226
cpp
C++
vcl/src/main.cpp
UnrealLink/Projet-INF443
a80e698d35d2b5057137a11d5a50418c9efcfcbd
[ "MIT" ]
null
null
null
vcl/src/main.cpp
UnrealLink/Projet-INF443
a80e698d35d2b5057137a11d5a50418c9efcfcbd
[ "MIT" ]
null
null
null
vcl/src/main.cpp
UnrealLink/Projet-INF443
a80e698d35d2b5057137a11d5a50418c9efcfcbd
[ "MIT" ]
null
null
null
// Include VCL library #include "vcl/vcl.hpp" // Include common part for exercises #include "helper_scene.hpp" #include "project/scene.hpp" // ************************************** // // Global data declaration // ************************************** // // Storage for shaders indexed by their names std::map<s...
29.347222
98
0.634169
UnrealLink
58392369b78c967c01f1219aae2575ab577ba6ea
3,798
cpp
C++
src/AudioFilter90Deg_F32.cpp
boblark/DSP_TeensyAudio_F32
2f2a3a0f8341b21fbaacf370f207cd397ff4c5ff
[ "MIT" ]
1
2021-09-13T17:19:38.000Z
2021-09-13T17:19:38.000Z
src/AudioFilter90Deg_F32.cpp
boblark/DSP_TeensyAudio_F32
2f2a3a0f8341b21fbaacf370f207cd397ff4c5ff
[ "MIT" ]
null
null
null
src/AudioFilter90Deg_F32.cpp
boblark/DSP_TeensyAudio_F32
2f2a3a0f8341b21fbaacf370f207cd397ff4c5ff
[ "MIT" ]
1
2021-01-30T18:33:51.000Z
2021-01-30T18:33:51.000Z
/* * AudioFilter90Deg_F32.cpp * * 22 March 2020 * Bob Larkin, in support of the library: * Chip Audette, OpenAudio, Apr 2017 * ------------------- * There are two channels that update synchronously, but operate * independently. The I-channel, coresponding to a "Left" * audio channel, is filtered with an N...
34.527273
99
0.679568
boblark
5839788987c38a8b443c1234d084bb32b932f399
1,444
cpp
C++
AI/Src/SteeringBehavior_Pursuit.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
1
2020-09-02T06:00:14.000Z
2020-09-02T06:00:14.000Z
AI/Src/SteeringBehavior_Pursuit.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
null
null
null
AI/Src/SteeringBehavior_Pursuit.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // SteeringBehavior_Pursuit.cpp // Created on: 15-09-2009 // Last modified: 15-09-2009 // Original author: Arvydas Slekaitis (C) /////////////////////////////////////////////////////////// #include <SteeringBehavior_Pursuit.h> using namespace Regi...
35.219512
205
0.554017
ArvydasSlekaitis
583a66922c7830900e5a68f31ad6366a04c6b59b
2,763
cc
C++
src/xenia/cpu/raw_module.cc
Hevmo79/ninja-
d35ee68d678935f230a4461099fca8523ede5aa5
[ "BSD-3-Clause" ]
7
2017-08-08T23:02:24.000Z
2021-09-05T02:07:27.000Z
src/xenia/cpu/raw_module.cc
Hevmo79/ninja-
d35ee68d678935f230a4461099fca8523ede5aa5
[ "BSD-3-Clause" ]
1
2016-02-20T13:48:42.000Z
2016-02-20T13:48:42.000Z
src/xenia/cpu/raw_module.cc
Hevmo79/ninja-
d35ee68d678935f230a4461099fca8523ede5aa5
[ "BSD-3-Clause" ]
2
2018-04-04T12:49:57.000Z
2018-10-16T16:42:04.000Z
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
32.892857
79
0.644589
Hevmo79
583d96f1b24c085304041ec1cd819bd4be64ec3d
1,927
cpp
C++
mvn02/main.cpp
glebd/interview
086d2bd0f7e563ef267c74a2fcc22083a3e6f5c9
[ "Unlicense", "MIT" ]
null
null
null
mvn02/main.cpp
glebd/interview
086d2bd0f7e563ef267c74a2fcc22083a3e6f5c9
[ "Unlicense", "MIT" ]
null
null
null
mvn02/main.cpp
glebd/interview
086d2bd0f7e563ef267c74a2fcc22083a3e6f5c9
[ "Unlicense", "MIT" ]
null
null
null
// // Given an array of integers that represent base 2 exponents, // the binarian is the sum of 2 raised to power of each element. // Determine the minimum number of array elements required // to represent the binarian value of the input array. // #include <vector> #include "catch.hpp" using namespace std; int powe...
20.072917
87
0.586404
glebd
584150e98465f9e1d4da70fb12c3871bedf49126
5,226
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/PriorityQueue.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/PriorityQueue.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/PriorityQueue.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ // This ifndef/define/endif stuff only needed if qRealTemplatesAvailable && !qTemplatesHasRepository #ifndef __PriorityQueue__cc #define __PriorityQueue__cc /* * $Header: /fuji/lewis/RCS/PriorityQueue.cc,v 1.9 1992/11/13 03:36:34 lewis Exp $ ...
25.368932
116
0.586682
SophistSolutions
5841cb08af559ebd3e350fca16c48ffbeed003e2
534
hpp
C++
src/client/client.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
null
null
null
src/client/client.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
8
2020-05-21T22:03:27.000Z
2020-06-28T20:30:03.000Z
src/client/client.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
null
null
null
#ifndef CLIENT_H #define CLIENT_H #include <boost/asio.hpp> class Client { public: Client(boost::asio::io_service& t_io_service, const std::string t_host, const std::size_t t_port, const boost::asio::ip::tcp& t_protocol_type = boost::asio::ip::tcp::v4()); void send(const std::string& t_file_name); private: ...
25.428571
176
0.724719
TheSonOfDeimos
584334dc28bc2ec7ae4138e9c5efe076ac1cdac9
20,366
cpp
C++
ext/gdiplus/gdip_pen_brush.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
1
2017-05-04T05:48:19.000Z
2017-05-04T05:48:19.000Z
ext/gdiplus/gdip_pen_brush.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
null
null
null
ext/gdiplus/gdip_pen_brush.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
null
null
null
/* * gdip_pen_brush.cpp * Copyright (c) 2017 Yagi Sumiya * Released under the MIT License. */ #include "ruby_gdiplus.h" const rb_data_type_t tPen = _MAKE_DATA_TYPE( "Pen", 0, GDIP_OBJ_FREE(Pen *), NULL, NULL, &cPen); /** * * @overload initialize(color, width=1.0) * @param color [Gdiplus::Color or Inte...
25.779747
120
0.642394
yagisumi
5844fc0e911a9242fb808bb0c816ea7551e837c1
821
cpp
C++
Cpp/src/rk4.cpp
joaonizer/sLLGS
a55bdd403160a7b024d1ab5df72467d0e0e572b3
[ "Unlicense" ]
null
null
null
Cpp/src/rk4.cpp
joaonizer/sLLGS
a55bdd403160a7b024d1ab5df72467d0e0e572b3
[ "Unlicense" ]
null
null
null
Cpp/src/rk4.cpp
joaonizer/sLLGS
a55bdd403160a7b024d1ab5df72467d0e0e572b3
[ "Unlicense" ]
null
null
null
/* * rk4.cpp * * Created on: 25 de out de 2017 * Author: joaonizer * * Runge-Kuta method for solving LLGS */ #include "functions_sLLGS.h" Eigen::RowVector3d rk4( Eigen::RowVector3d m, Eigen::RowVector3d h_eff, Eigen::RowVector3d i_s, double dt, // Normalized time_step (non-dimensional) ...
18.244444
57
0.599269
joaonizer
584bf64a9b3fcd5caf3a8b22c0d00c9f91e04d5a
2,148
cpp
C++
src/universe/entity/entities/BuildingEntity.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/universe/entity/entities/BuildingEntity.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/universe/entity/entities/BuildingEntity.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "BuildingEntity.h" #include <util/serializers/glm.h> glm::dmat4 BuildingEntity::get_model_matrix(bool bullet) { glm::dmat4 mat = glm::dmat4(); WorldState now = traj.get_state(0, 0, bullet); glm::dvec3 pos = now.cartesian.pos; glm::dquat rot = now.rotation; //debug_drawer->add_line(glm::dvec3(0, 0, 0)...
24.689655
95
0.74162
Ghimli
584f54ef5aaf9b52d4155778e577c83dfb17299d
2,515
cpp
C++
codeforces/E - Sandy and Nuts/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/E - Sandy and Nuts/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/E - Sandy and Nuts/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Feb/17/2019 15:37 * solution_verdict: Accepted language: GNU C++14 * run...
25.15
111
0.475944
kzvd4729
5853649754cac2e545e427088887eb0b1b9e3d3f
4,952
hpp
C++
src/priority/partition.hpp
tehwalris/mpi-myers-diff
9d6dafc9dc16dcf97b4c712dbb8c6dace25eeee5
[ "MIT" ]
2
2021-11-09T11:30:02.000Z
2022-01-13T17:47:49.000Z
src/priority/partition.hpp
tehwalris/mpi-myers-diff
9d6dafc9dc16dcf97b4c712dbb8c6dace25eeee5
[ "MIT" ]
null
null
null
src/priority/partition.hpp
tehwalris/mpi-myers-diff
9d6dafc9dc16dcf97b4c712dbb8c6dace25eeee5
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <cassert> #include "side.hpp" class RoundRobinPartition { public: RoundRobinPartition( int num_workers, int target_worker) : num_workers(num_workers), target_worker(target_worker) { assert(num_workers >= 0); assert(target_worke...
22.306306
115
0.637116
tehwalris
5854d63b408b4cbbef7084e87254fdee3a5caf35
835
cpp
C++
FBRendererD3D12/IndexBuffer.cpp
technicalart/FBRenderer
05f3c91ec245a9408dd711395362395afe97eb4d
[ "MIT" ]
null
null
null
FBRendererD3D12/IndexBuffer.cpp
technicalart/FBRenderer
05f3c91ec245a9408dd711395362395afe97eb4d
[ "MIT" ]
null
null
null
FBRendererD3D12/IndexBuffer.cpp
technicalart/FBRenderer
05f3c91ec245a9408dd711395362395afe97eb4d
[ "MIT" ]
1
2019-08-07T08:27:13.000Z
2019-08-07T08:27:13.000Z
#include "pch.h" #include "IndexBuffer.h" #include "ConverterD3D12.h" #include "RendererD3D12.h" using namespace fb; bool IndexBuffer::Initialize(const void* indexData, UINT size, EIndexBufferFormat format, bool keepData) { Format = format; switch (format) { case EIndexBufferFormat::R16: { ElementCount = size /...
20.365854
104
0.717365
technicalart
5856a464c18649ed2c3f4b17ee75632c7b2df990
4,346
hpp
C++
include/codegen/include/System/Runtime/Remoting/Activation/ActivationServices.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Runtime/Remoting/Activation/ActivationServices.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Runtime/Remoting/Activation/ActivationServices.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:49 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
57.946667
192
0.776116
Futuremappermydud
58583e8a6d4a148b95e7e70df146b08842f9e28b
5,318
cpp
C++
src/OISBBindable.cpp
fire-archive/oisb
2e1a1a5f58dee986122a1aef8a98e5e610a845a4
[ "Zlib" ]
null
null
null
src/OISBBindable.cpp
fire-archive/oisb
2e1a1a5f58dee986122a1aef8a98e5e610a845a4
[ "Zlib" ]
null
null
null
src/OISBBindable.cpp
fire-archive/oisb
2e1a1a5f58dee986122a1aef8a98e5e610a845a4
[ "Zlib" ]
null
null
null
/* The zlib/libpng License Copyright (c) 2009-2010 Martin Preisler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpos...
29.876404
101
0.585935
fire-archive
58592d3e1421f29271a59e35094ce47bf2f2fca1
10,413
cpp
C++
source/net/OpenSslSocket.cpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
19
2017-03-28T02:17:42.000Z
2021-02-12T03:26:58.000Z
source/net/OpenSslSocket.cpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
3
2016-07-14T10:15:06.000Z
2016-11-22T21:04:01.000Z
source/net/OpenSslSocket.cpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
9
2017-10-19T07:15:42.000Z
2019-09-17T07:08:25.000Z
#include "net/OpenSslSocket.hpp" #include "net/OpenSslCert.hpp" #include "net/OpenSsl.hpp" #include "net/Cert.hpp" #include <openssl/opensslconf.h> #include <openssl/crypto.h> #include <openssl/x509.h> #include <openssl/pem.h> #include <openssl/ssl.h> #ifndef OPENSSL_THREADS # error OPENSSL_THREADS required #endif ...
35.298305
143
0.547105
wnewbery
585ba2268b5b2801776631a079e3e968523e75d3
530
hpp
C++
GaiaUDP/Endpoint.hpp
RoboPioneers/GaiaUDP
a674de73a1eee43d0b5f18f0224c8c6584b201d5
[ "MIT" ]
null
null
null
GaiaUDP/Endpoint.hpp
RoboPioneers/GaiaUDP
a674de73a1eee43d0b5f18f0224c8c6584b201d5
[ "MIT" ]
null
null
null
GaiaUDP/Endpoint.hpp
RoboPioneers/GaiaUDP
a674de73a1eee43d0b5f18f0224c8c6584b201d5
[ "MIT" ]
null
null
null
#pragma once #include <boost/asio.hpp> namespace Gaia::UDP { /// Represents the information of a socket, contains ip, port and other information. using Endpoint = boost::asio::ip::udp::endpoint; /** * @brief Make an endpoint object according the given ip address and port. * @param ip Text of IP. Be cautious t...
29.444444
92
0.718868
RoboPioneers
585ef406647df0c925fbd6e775e81034c76738c2
1,330
cpp
C++
1-8-15z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-8-15z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-8-15z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
// // Created by grey on 28.10.2019. // #include <iostream> #include <iomanip> using namespace std; void foo_1_8_15z(){ int n, m, k=1, x=0, y=0, a[100][100] = {}; cin >> n >> m; int n1 = n, m1 = m; while (k <= n1*m1) { // increasing number //go to right for (int i = 0; i < m; ++i) { ...
19.558824
46
0.292481
Kaermor
5862a3b1fc97d034eee9f26b3161419c8c84d292
2,143
cpp
C++
boost_asio/echo/Server.cpp
batangr00t/cppLab
3946e702692dffb53f92c776e9e8c4a073d68bc9
[ "Apache-2.0" ]
null
null
null
boost_asio/echo/Server.cpp
batangr00t/cppLab
3946e702692dffb53f92c776e9e8c4a073d68bc9
[ "Apache-2.0" ]
null
null
null
boost_asio/echo/Server.cpp
batangr00t/cppLab
3946e702692dffb53f92c776e9e8c4a073d68bc9
[ "Apache-2.0" ]
null
null
null
#include "Server.h" #include "Session.h" #include <boost/bind.hpp> using namespace boost::asio::ip; Server::Server( boost::asio::io_service& ioService, unsigned short port) : _logger( log4cplus::Logger::getInstance("echo.Server") ), _ioService( ioService ), _acceptor( ioService, tcp::endpoint( tcp::v4(), port...
27.474359
101
0.692954
batangr00t
5867b88d2a14155e8e748ec9507ea224a7afc85a
14,013
cpp
C++
rviz-plugin-zed-od/src/plugin/src/zed_od_info.cpp
sabrinamoh1/zed-ros-examples
a64d89038b3b060dbbb1f72d8d4e79fb56a06580
[ "MIT" ]
37
2020-02-03T07:26:45.000Z
2022-03-19T07:56:28.000Z
rviz-plugin-zed-od/src/plugin/src/zed_od_info.cpp
sabrinamoh1/zed-ros-examples
a64d89038b3b060dbbb1f72d8d4e79fb56a06580
[ "MIT" ]
29
2020-02-03T07:30:53.000Z
2021-09-13T08:07:30.000Z
rviz-plugin-zed-od/src/plugin/src/zed_od_info.cpp
sabrinamoh1/zed-ros-examples
a64d89038b3b060dbbb1f72d8d4e79fb56a06580
[ "MIT" ]
32
2020-02-05T09:53:21.000Z
2022-03-24T06:52:55.000Z
/* * MIT License * * Copyright (c) 2020 Stereolabs * * 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, modif...
25.203237
118
0.611075
sabrinamoh1