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
82df2939e6d0c2674d9781d1948cc98f56527611
1,207
hpp
C++
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/Common/SmartPointers.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/Common/SmartPointers.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/Common/SmartPointers.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2013-2014 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef SSVU_CORE_COMMON_SMARTPOINTERS #define SSVU_CORE_COMMON_SMARTPOINTERS namespace ssvu { /// @brief Creates and returns an `ssvu::UPtr<T>`. /// @details Wraps ...
41.62069
160
0.694283
questor
82e9d3f2292f47682a6e237817879e5991c73a94
8,994
hpp
C++
trunk/src/app/srs_app_st.hpp
roy2220/srs.old
f736b2492f9ce3515616c4f3ecab5cab47becb8d
[ "MIT" ]
1
2019-01-17T10:46:17.000Z
2019-01-17T10:46:17.000Z
trunk/src/app/srs_app_st.hpp
roy2220/srs.old
f736b2492f9ce3515616c4f3ecab5cab47becb8d
[ "MIT" ]
1
2020-07-22T11:10:20.000Z
2020-07-23T06:52:52.000Z
trunk/src/app/srs_app_st.hpp
roy2220/srs.old
f736b2492f9ce3515616c4f3ecab5cab47becb8d
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2013-2016 SRS(ossrs) 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, merg...
34.45977
107
0.651434
roy2220
82ee27568ee8a2194be332c797702ad4520e016e
22,527
cpp
C++
applications/mne_show_fiff/mne_fiff_exp_set.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
applications/mne_show_fiff/mne_fiff_exp_set.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
applications/mne_show_fiff/mne_fiff_exp_set.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file mne_fiff_exp_set.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date December, 2016 * * @section LI...
42.185393
162
0.381231
13grife37
82f20b075f7d08551061b925bd067b2df5bccc92
1,157
cpp
C++
2021/day_07/day_07.cpp
andrewparr/advent-of-code
f2b476ac837e1d42d180418e81abf900e9c3a1b6
[ "Unlicense" ]
null
null
null
2021/day_07/day_07.cpp
andrewparr/advent-of-code
f2b476ac837e1d42d180418e81abf900e9c3a1b6
[ "Unlicense" ]
null
null
null
2021/day_07/day_07.cpp
andrewparr/advent-of-code
f2b476ac837e1d42d180418e81abf900e9c3a1b6
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> int main(int argc, char** argv) { std::vector<int> numbers; while (!std::cin.eof()) { int i; char ch; std::cin >> i; numbers.push_back(i); std::cin >> ch; } uint32_t max = *std::max_element(numbers.begi...
23.612245
69
0.39758
andrewparr
82f9e4c2c02ab3ef8ed6deaf5eccc73282c8da47
881
hpp
C++
sprig/uck/uck.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/uck/uck.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/uck/uck.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
32.62963
79
0.635641
bolero-MURAKAMI
82fa83df31b1187b07ddb71174a550a7f382da5f
222
cpp
C++
vibrato.cpp
Schoonology/roto
9d08e5f3ea6a53f5c7556c881b0eb00b6ed25237
[ "MIT" ]
35
2015-12-04T17:28:50.000Z
2021-04-25T21:23:36.000Z
vibrato.cpp
Schoonology/roto
9d08e5f3ea6a53f5c7556c881b0eb00b6ed25237
[ "MIT" ]
null
null
null
vibrato.cpp
Schoonology/roto
9d08e5f3ea6a53f5c7556c881b0eb00b6ed25237
[ "MIT" ]
4
2018-10-19T14:05:07.000Z
2021-04-25T21:27:46.000Z
/* Copyright (c) 2018 Peter Teichman */ #if defined(__cplusplus) extern "C" { #endif /* This is empty while I figure out what to pull out of vibrato_audio.cpp for the test suite. */ #if defined(__cplusplus) } #endif
17.076923
55
0.702703
Schoonology
82fde77464ea7e4db4c938054b84f2ba0a594704
8,927
cc
C++
ns-allinone-2.35/ns-2.35/diffusion3/filter_core/iostats.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2020-05-29T13:04:42.000Z
2020-05-29T13:04:42.000Z
ns-allinone-2.35/ns-2.35/diffusion3/filter_core/iostats.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/ns-2.35/diffusion3/filter_core/iostats.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
// // iostats.cc : Collect various statistics for Diffusion // authors : Chalermek Intanagonwiwat and Fabio Silva // // Copyright (C) 2000-2003 by the University of Southern California // $Id: iostats.cc,v 1.2 2005/09/13 04:53:47 tomh Exp $ // // This program is free software; you can redistribute it and/...
27.383436
86
0.703932
nitishk017
d20000880802242e00811adc9596e19d72d31389
1,152
cpp
C++
GfxFramework/src/Graffics/Infrastruktur/Modell/Modell.cpp
Ohjurot/DirectX-12-Sandbox
99f9b033ae00907144b5cf8efb1c3ae46a22dc7a
[ "MIT" ]
null
null
null
GfxFramework/src/Graffics/Infrastruktur/Modell/Modell.cpp
Ohjurot/DirectX-12-Sandbox
99f9b033ae00907144b5cf8efb1c3ae46a22dc7a
[ "MIT" ]
null
null
null
GfxFramework/src/Graffics/Infrastruktur/Modell/Modell.cpp
Ohjurot/DirectX-12-Sandbox
99f9b033ae00907144b5cf8efb1c3ae46a22dc7a
[ "MIT" ]
null
null
null
#include "Modell.h" void IF3D12::IModell::bind(D3D::Device* ptrDevice){ // Internal placeholder D3D12_VERTEX_BUFFER_VIEW vbView; D3D12_INDEX_BUFFER_VIEW ibView; // Query this->getVertexData(&vbView, NULL); this->getIndexData(&ibView, NULL); // Bind ptrDevice->getCommandList()->IASetVertexBuffers(0, 1, &vbV...
28.097561
136
0.717014
Ohjurot
d20322104d6b7b5b8f4913e2388bb99d5501d38b
11,206
cpp
C++
lib/flow/flowlinedata.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/flow/flowlinedata.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/flow/flowlinedata.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
#ifdef WIN32 #pragma warning(disable : 4251 4100) #endif #include <vapor/VaporFlow.h> #include "Rake.h" #include "VTFieldLine.h" #include <vapor/flowlinedata.h> using namespace VetsUtil; using namespace VAPoR; //Methods on FlowLineData and subclass PathlineData FlowLineData::FlowLineData(int num...
39.597173
103
0.691594
yyr
d203240d4c4232ff22b7e299b518c343960433f6
859
cpp
C++
code/source/game/physics.cpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/game/physics.cpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/game/physics.cpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#include "physics.hpp" #include "physics/entity.hpp" #include "physics/object.hpp" #include "worldentity.hpp" namespace clover { namespace game { void setOwnerWe(physics::Object& phys_obj, WorldEntity* entity) { phys_obj.getProperties().set("we", WeHandle{entity}); } void setOwnerWe(physics::Entity& phys_entity, Wo...
23.216216
69
0.729919
crafn
d207f068c02452b6d31bec46d98c9400a856c7c8
1,159
cpp
C++
oshgui/Dependencies/Source/SimpleImageLoader/Stream.cpp
sdkabuser/DEADCELL-CSGO
dfcd31394c5348529b3c098640466db136b89e0c
[ "MIT" ]
506
2019-03-16T08:34:47.000Z
2022-03-29T14:08:59.000Z
OSHGui/Dependencies/Source/SimpleImageLoader/Stream.cpp
EternityX/oshgui-deadcell
7c565ba7e941ec00cf9f4a2d7639eb8a363a3e9e
[ "MIT" ]
124
2019-03-17T02:54:57.000Z
2021-03-29T01:51:05.000Z
OSHGui/Dependencies/Source/SimpleImageLoader/Stream.cpp
EternityX/oshgui-deadcell
7c565ba7e941ec00cf9f4a2d7639eb8a363a3e9e
[ "MIT" ]
219
2019-03-16T21:39:01.000Z
2022-03-30T08:59:24.000Z
#include "Stream.hpp" namespace SimpleImageLoader { Stream::Stream(const RawData &data) : data_(data), offset_(0) { } //--------------------------------------------------------------------------- void Stream::Seek(size_t offset, SeekPosition position) { if (position == SeekPosition::Begin) { if (of...
18.109375
78
0.446074
sdkabuser
d20bb4034e13ee18a248c0975aa534d2cd72c588
2,831
cc
C++
cpp/icub/gazebo-yarp-plugins/plugins/multicamera/src/MultiCamera.cc
BrunoDaCosta/NL_limit_cycles
62c8c93d8ca9d6c7442154c467cd0f9e27329871
[ "RSA-MD" ]
2
2019-07-26T08:51:15.000Z
2020-10-16T09:52:58.000Z
cpp/icub/gazebo-yarp-plugins/plugins/multicamera/src/MultiCamera.cc
BrunoDaCosta/NL_limit_cycles
62c8c93d8ca9d6c7442154c467cd0f9e27329871
[ "RSA-MD" ]
null
null
null
cpp/icub/gazebo-yarp-plugins/plugins/multicamera/src/MultiCamera.cc
BrunoDaCosta/NL_limit_cycles
62c8c93d8ca9d6c7442154c467cd0f9e27329871
[ "RSA-MD" ]
1
2021-01-26T14:34:05.000Z
2021-01-26T14:34:05.000Z
/* * Copyright (C) 2013-2015 Fondazione Istituto Italiano di Tecnologia RBCS & iCub Facility & ADVR * Authors: see AUTHORS file. * CopyPolicy: Released under the terms of the LGPLv2.1 or any later version, see LGPL.TXT or LGPL3.TXT */ #include "gazebo/MultiCamera.hh" #include "yarp/dev/MultiCameraDriver.h" #incl...
32.54023
128
0.718121
BrunoDaCosta
d21792903c4b23ace30adf883a2b90c51199a369
11,749
cpp
C++
dependencies/DevIL/DevIL/src-IL/src/il_wdp.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
478
2015-01-04T16:59:53.000Z
2022-03-07T20:28:07.000Z
dependencies/DevIL/DevIL/src-IL/src/il_wdp.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
83
2015-01-15T21:45:06.000Z
2021-11-08T11:01:48.000Z
dependencies/DevIL/DevIL/src-IL/src/il_wdp.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
175
2015-01-04T03:30:39.000Z
2020-01-27T17:08:14.000Z
//----------------------------------------------------------------------------- // // ImageLib Sources // Last modified: 02/09/2009 // // Filename: src-IL/src/il_wdp.cpp // // Description: Reads a Microsoft HD Photo (.wdp or .hdp) // Based very much on the Microsoft HD Photo Device Porting Kit 1.0 // available at ...
27.323256
150
0.688229
amvb
d22c12c815c5a89b1c52bc2ac6537d82669f013a
1,311
cpp
C++
nov3.cpp
paolaguarasci/domJudge
830f5ca3f271732668930a2a8d3be98d96661691
[ "MIT" ]
null
null
null
nov3.cpp
paolaguarasci/domJudge
830f5ca3f271732668930a2a8d3be98d96661691
[ "MIT" ]
null
null
null
nov3.cpp
paolaguarasci/domJudge
830f5ca3f271732668930a2a8d3be98d96661691
[ "MIT" ]
null
null
null
/* Si ritiene che un biglietto della lotteria sia fortunato se il suo numero identificativo è tale che la somma delle prima metà delle cifre è uguale alla somma della seconda metà delle cifre. Si assume che il numero identificativo sia costituito da un numero pari di cifre. Dato in input un intero rappresentante ...
17.716216
91
0.620137
paolaguarasci
d22d34a02b4b0a16dc9f71c37e076d5fee4a5de9
6,607
cpp
C++
2019/Day07/Day07.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day07/Day07.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day07/Day07.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
// https://adventofcode.com/2019/day/7 #include <iostream> #include <streambuf> #include <fstream> #include <sstream> #include <vector> #include <array> #include <queue> template<size_t SIZE> std::ostream& operator<<(std::ostream& os, const std::array<uint8_t, SIZE>& arr) { for (size_t i = 0; i < SIZE - 1; ++i) os...
24.380074
97
0.62797
luddet
d23171bb678610e1ee7123c9fdf093c4a80110b1
839
cpp
C++
rd-cpp/src/rd_core_cpp/src/test/cases/GeneratorUtilTest.cpp
denis417/rd
480f10035ba17caea63fe31475ac484dff09176c
[ "Apache-2.0" ]
309
2018-04-12T11:10:10.000Z
2022-03-27T18:16:56.000Z
rd-cpp/src/rd_core_cpp/src/test/cases/GeneratorUtilTest.cpp
denis417/rd
480f10035ba17caea63fe31475ac484dff09176c
[ "Apache-2.0" ]
80
2018-06-14T16:47:13.000Z
2022-03-25T16:34:56.000Z
rd-cpp/src/rd_core_cpp/src/test/cases/GeneratorUtilTest.cpp
denis417/rd
480f10035ba17caea63fe31475ac484dff09176c
[ "Apache-2.0" ]
41
2018-04-16T17:59:32.000Z
2021-12-25T13:12:36.000Z
#include <gtest/gtest.h> #include "util/gen_util.h" #include "thirdparty.hpp" using namespace rd; TEST(hash, contentDeepHashCodeInt) { std::vector<int> a{1, 2, 3}; std::vector<int> b{1, 2, 3, 4, 5}; std::vector<std::vector<int>> c{{1, 2, 3}}; std::vector<std::vector<int>> d{{1, 2, 3}, {4, 5}}; EXPECT_EQ(conten...
28.931034
59
0.72348
denis417
d2321e8ca4c4508c465975c1c6c825aa3df1976d
2,642
cpp
C++
src/utils.cpp
msmania/chakra-debug
9ff5dfdec787432216f1c658284b10b60f399354
[ "MIT" ]
null
null
null
src/utils.cpp
msmania/chakra-debug
9ff5dfdec787432216f1c658284b10b60f399354
[ "MIT" ]
null
null
null
src/utils.cpp
msmania/chakra-debug
9ff5dfdec787432216f1c658284b10b60f399354
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <stdio.h> #include <windows.h> #define KDEXT_64BIT #include <wdbgexts.h> #include "common.h" #define LODWORD(ll) ((uint32_t)((ll)&0xffffffff)) #define HIDWORD(ll) ((uint32_t)(((ll)>>32)&0xffffffff)) address_t load_pointer(address_t addr) { address_t loaded{}; if (!Read...
25.161905
72
0.633232
msmania
d23788ae95575a60572a7b9839a7e11a71105996
7,309
cc
C++
lite/kernels/opencl/softmax_image_compute.cc
sryio/Paddle-Lite
9fbc45f5821488af1329554c11fd8eb7257e1484
[ "Apache-2.0" ]
6
2020-07-01T02:52:16.000Z
2021-06-22T12:15:59.000Z
lite/kernels/opencl/softmax_image_compute.cc
guoxixiao/Paddle-Lite
e0d0c65d055d7fc7aedffb531282935cae64dccd
[ "Apache-2.0" ]
null
null
null
lite/kernels/opencl/softmax_image_compute.cc
guoxixiao/Paddle-Lite
e0d0c65d055d7fc7aedffb531282935cae64dccd
[ "Apache-2.0" ]
1
2021-07-24T15:30:46.000Z
2021-07-24T15:30:46.000Z
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
37.482051
80
0.581749
sryio
d23a88d4fb9b156f0bf91afba5bc632e9216845c
2,675
cpp
C++
src/add-ons/media/plugins/matroska/libebml/EbmlBinary.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/add-ons/media/plugins/matroska/libebml/EbmlBinary.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/add-ons/media/plugins/matroska/libebml/EbmlBinary.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/**************************************************************************** ** libebml : parse EBML files, see http://embl.sourceforge.net/ ** ** <file/class description> ** ** Copyright (C) 2002-2005 Steve Lhomme. All rights reserved. ** ** This file is part of libebml. ** ** This library is free software; you can ...
26.22549
88
0.679252
axeld
d23dda4cd4976001a466e20d30697ea367165293
153
cpp
C++
Gems/Cesium/Code/Tests/CesiumSystemComponentTest.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
8
2021-08-31T02:14:19.000Z
2021-12-28T19:20:59.000Z
Gems/Cesium/Code/Tests/CesiumSystemComponentTest.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
8
2021-07-12T13:55:00.000Z
2021-10-04T14:53:21.000Z
Gems/Cesium/Code/Tests/CesiumSystemComponentTest.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
1
2021-09-16T05:06:18.000Z
2021-09-16T05:06:18.000Z
#include <CesiumSystemComponent.h> #include <AzCore/UnitTest/TestTypes.h> class CesiumSystemComponentTest : public UnitTest::AllocatorsTestFixture { };
21.857143
72
0.816993
CesiumGS
d241d1a078d814b2f568aa9a2fe179fdaad63c30
4,556
cpp
C++
wiring/src/spark_wiring_wifi.cpp
Jacobtbush14/Electron
a672ed1888c17edd062aaafcab2b465e59e8c240
[ "MIT" ]
null
null
null
wiring/src/spark_wiring_wifi.cpp
Jacobtbush14/Electron
a672ed1888c17edd062aaafcab2b465e59e8c240
[ "MIT" ]
null
null
null
wiring/src/spark_wiring_wifi.cpp
Jacobtbush14/Electron
a672ed1888c17edd062aaafcab2b465e59e8c240
[ "MIT" ]
null
null
null
/** ****************************************************************************** * @file spark_wiring_wifi.cpp * @author Satish Nair * @version V1.0.0 * @date 7-Mar-2013 * @brief WiFi utility class to help users manage the WiFi connection **********************************************************************...
34
82
0.625549
Jacobtbush14
d2465720be6244bc23adedaeba1227bed89c91fb
497
cpp
C++
src/workspace/tracklistmodel.cpp
jbruggem/jingles-impro
a20ebcd6272e39413eea33711d0e3d4785472f18
[ "Apache-2.0" ]
1
2015-11-04T14:38:13.000Z
2015-11-04T14:38:13.000Z
src/workspace/tracklistmodel.cpp
jbruggem/jingles-impro
a20ebcd6272e39413eea33711d0e3d4785472f18
[ "Apache-2.0" ]
null
null
null
src/workspace/tracklistmodel.cpp
jbruggem/jingles-impro
a20ebcd6272e39413eea33711d0e3d4785472f18
[ "Apache-2.0" ]
null
null
null
#include "tracklistmodel.h" TrackListModel::TrackListModel(TrackList * list,QObject *parent) : QAbstractListModel(parent), m_list(list) { } QVariant TrackListModel::data(const QModelIndex &index, int role) const{ if (role == Qt::DisplayRole) { return m_list->at(index.row())->getDisplayName()...
21.608696
73
0.672032
jbruggem
d250376b46470efe3a828e7a4df041c41125e9e0
592
hpp
C++
src/animations/Animation.hpp
MrtnNmck/Pokemon-3D
50451f91999fe9168e8f520748e39b7e9099624a
[ "Apache-2.0" ]
4
2017-08-25T10:55:44.000Z
2018-05-30T06:39:23.000Z
src/animations/Animation.hpp
MrtnNmck/Pokemon-3D
50451f91999fe9168e8f520748e39b7e9099624a
[ "Apache-2.0" ]
1
2021-09-14T10:52:03.000Z
2021-09-14T10:52:03.000Z
src/animations/Animation.hpp
MrtnNmck/Pokemon-3D
50451f91999fe9168e8f520748e39b7e9099624a
[ "Apache-2.0" ]
null
null
null
// // Created by Martin on 7. 12. 2015. // #ifndef POKEMON3D_ANIMATION_HPP #define POKEMON3D_ANIMATION_HPP #include <vector> #include "src/animations/Keyframe.hpp" class Animation { public: Animation(); ~Animation(); void init(); void add(KeyframePtr keyframe); glm::vec3 lerp(glm::vec3 a, glm...
16.444444
54
0.685811
MrtnNmck
d25188cf53c98af252b6273034492c55a60abf09
2,669
cpp
C++
backend/modeldesign/model.cpp
den-makarov/electronshik
8065842ab0e190b51e8a8745ff984b34fb8da82a
[ "BSD-3-Clause" ]
null
null
null
backend/modeldesign/model.cpp
den-makarov/electronshik
8065842ab0e190b51e8a8745ff984b34fb8da82a
[ "BSD-3-Clause" ]
null
null
null
backend/modeldesign/model.cpp
den-makarov/electronshik
8065842ab0e190b51e8a8745ff984b34fb8da82a
[ "BSD-3-Clause" ]
null
null
null
#include "model.h" #include "modeldesign/elements/basic/resistor.h" #include "modeldesign/elements/basic/capacitor.h" #include "modeldesign/elements/basic/inductor.h" #include "modeldesign/elements/basic/switch.h" #include "modeldesign/elements/sources/voltagesource.h" #include "modeldesign/parameters/switchstate.h" #i...
29.988764
86
0.717872
den-makarov
d25258ccbdf1ff702a29279d865429673774970b
1,419
hpp
C++
include/range/all_of.hpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
include/range/all_of.hpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
include/range/all_of.hpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013, 2015 Rogier van Dalen. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
27.823529
80
0.768851
rogiervd
d2551da938ae7a40042c3e94c3106e141f5af800
5,765
cpp
C++
libcross2d/source/platforms/gl2/shaders/crt_caligari.cpp
minkcv/pinballnx
2a911c144c97278abcff00c237766380908031de
[ "MIT" ]
6
2019-07-01T03:21:02.000Z
2021-09-13T17:15:01.000Z
libcross2d/source/platforms/gl2/shaders/crt_caligari.cpp
minkcv/pinballnx
2a911c144c97278abcff00c237766380908031de
[ "MIT" ]
3
2019-07-01T03:53:56.000Z
2020-06-17T09:14:27.000Z
libcross2d/source/platforms/gl2/shaders/crt_caligari.cpp
minkcv/pinballnx
2a911c144c97278abcff00c237766380908031de
[ "MIT" ]
1
2019-07-23T12:28:30.000Z
2019-07-23T12:28:30.000Z
// // Created by cpasjuste on 17/09/18. // const char *crt_caligari_v = R"text( // Parameter lines go here: // 0.5 = the spot stays inside the original pixel // 1.0 = the spot bleeds up to the center of next pixel #pragma parameter SPOT_WIDTH "CRTCaligari Spot Width" 0.9 0.1 1.5 0.05 #pragma parameter SPOT_HEIGHT "CR...
28.259804
144
0.734432
minkcv
d25d98ccf109bada648d0b43187cfcd0e5d6ea3a
1,835
cpp
C++
Valiance/src/Core/Application.cpp
ricardonunosr/valiance
d67c3ecdab0ff31e6c8e6bc15357b745e22be842
[ "MIT" ]
null
null
null
Valiance/src/Core/Application.cpp
ricardonunosr/valiance
d67c3ecdab0ff31e6c8e6bc15357b745e22be842
[ "MIT" ]
null
null
null
Valiance/src/Core/Application.cpp
ricardonunosr/valiance
d67c3ecdab0ff31e6c8e6bc15357b745e22be842
[ "MIT" ]
null
null
null
#include "Application.h" #include <iostream> #include <memory> #include "IndexBuffer.h" #include "Shader.h" #include "Util/OpenGLDebug.h" #include "VertexArray.h" #include "VertexBuffer.h" #include "VertexBufferLayout.h" #include "glad/glad.h" #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_openg...
24.144737
86
0.621253
ricardonunosr
d920e92c8cd74b9cda30639c6d4eeb7338a95fce
1,044
cpp
C++
src/MapLogic/skull.cpp
ppbbalcer/gamejam_2016
6fec70be5cb853b8856ed7746c259a144185a791
[ "Fair", "Unlicense" ]
2
2016-01-29T18:37:05.000Z
2016-01-29T21:16:31.000Z
src/MapLogic/skull.cpp
ppbbalcer/gamejam_2016
6fec70be5cb853b8856ed7746c259a144185a791
[ "Fair", "Unlicense" ]
null
null
null
src/MapLogic/skull.cpp
ppbbalcer/gamejam_2016
6fec70be5cb853b8856ed7746c259a144185a791
[ "Fair", "Unlicense" ]
null
null
null
#include "field.h" #include "field_impl.h" #include "skull.h" #include "../Player.h" #include "../GlobalData.h" #include <cassert> bool Skull::IsGolden() { return GetType()==GOLDEN_SKULL; } int Skull::GetType() { if (enabled<=0) return INACTIVE_SKULL; else { int result=Field::GetType(); assert(result==GOLDE...
16.061538
55
0.683908
ppbbalcer
d92119cbe87be3c79ebb44543ce6710aed022b40
668
cpp
C++
tomasulo_simulator/setopwidget.cpp
Billijk/Tomasulo-simulator
dc2993d8129d4d01e1459671423273f9b68b4de9
[ "MIT" ]
null
null
null
tomasulo_simulator/setopwidget.cpp
Billijk/Tomasulo-simulator
dc2993d8129d4d01e1459671423273f9b68b4de9
[ "MIT" ]
null
null
null
tomasulo_simulator/setopwidget.cpp
Billijk/Tomasulo-simulator
dc2993d8129d4d01e1459671423273f9b68b4de9
[ "MIT" ]
null
null
null
#include "setopwidget.h" #include "ui_setopwidget.h" setOpwidget::setOpwidget(QWidget *parent) : QWidget(parent), ui(new Ui::setOpwidget) { ui->setupUi(this); connect(ui->okButton, SIGNAL(clicked(bool)), this, SLOT(setOpSlot())); connect(ui->cancelButton, SIGNAL(clicked(bool)), this, SLOT(hide()));...
25.692308
74
0.685629
Billijk
d923c13f7a0593440d599ca64d330dd4bfda1979
1,348
cpp
C++
Akel/src/Core/hardwareInfo.cpp
NurissGames/Akel
9580f7eb1d4a0dbe20459bd83a5e681a040c29de
[ "MIT" ]
3
2021-12-01T17:59:30.000Z
2022-01-22T20:29:08.000Z
Akel/src/Core/hardwareInfo.cpp
NurissGames/Akel
9580f7eb1d4a0dbe20459bd83a5e681a040c29de
[ "MIT" ]
null
null
null
Akel/src/Core/hardwareInfo.cpp
NurissGames/Akel
9580f7eb1d4a0dbe20459bd83a5e681a040c29de
[ "MIT" ]
1
2021-12-01T17:59:32.000Z
2021-12-01T17:59:32.000Z
// This file is a part of Akel // Authors : @kbz_8 // Created : 19/04/2021 // Updated : 05/01/2022 #include <Core/core.h> namespace Ak::Core { void printCPUinfo() { CPU cinfo; std::cout << "CPU vendor : " << cinfo.vendor() << '\n' << "CPU Brand String : " << cinfo.model() << ...
37.444444
83
0.421365
NurissGames
d92d9caab5a9c0c596eb928f3ed8b8014dcc5b05
4,150
cpp
C++
Arduino/src/main.cpp
swarnavaghosh04/MotionPrism
a8c4b832ccfcf1d3cd8d64fd1115a3b9db42b4dc
[ "MIT" ]
null
null
null
Arduino/src/main.cpp
swarnavaghosh04/MotionPrism
a8c4b832ccfcf1d3cd8d64fd1115a3b9db42b4dc
[ "MIT" ]
null
null
null
Arduino/src/main.cpp
swarnavaghosh04/MotionPrism
a8c4b832ccfcf1d3cd8d64fd1115a3b9db42b4dc
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <Wire.h> #include <I2Cdev.h> #include <MPU6050_6Axis_MotionApps20.h> // Thanks to Jeff Rowberg's example code for the MPU6050 DMP6 /* ============================================ I2Cdev device library code is placed under the MIT license Copyright (c) 2012 Jeff Rowberg Permis...
29.642857
95
0.659277
swarnavaghosh04
d93151e4c0cc8e0cd7b9cefb136d3a92582cce39
2,206
hpp
C++
Graph/BFSGraph.hpp
Acamol/Algorithms-in-CPP
3c890a53078971653b13bf2bfd0aeb9efc05fe44
[ "MIT" ]
null
null
null
Graph/BFSGraph.hpp
Acamol/Algorithms-in-CPP
3c890a53078971653b13bf2bfd0aeb9efc05fe44
[ "MIT" ]
1
2018-09-12T13:12:27.000Z
2018-09-12T13:12:27.000Z
Graph/BFSGraph.hpp
Acamol/Algorithms-in-CPP
3c890a53078971653b13bf2bfd0aeb9efc05fe44
[ "MIT" ]
null
null
null
/* The definition of Breadth-First Search can be found here: https://en.wikipedia.org/wiki/Breadth-first_search The complexity is O(V+E). */ #ifndef __BFSGRAPH_HPP__ #define __BFSGRAPH_HPP__ #include "../Data Structures/Graph.hpp" #include <unordered_set> #include <queue> #include <memory> namespace Acamol { /* ...
22.979167
80
0.589755
Acamol
d933682d2d44d45a3e96753fc87e71f7db9da596
1,457
hpp
C++
oanda_v20/include/oanda/v20/endpoint/OandaAuthorization.hpp
CodeRancher/offcenter_oanda
c7817299b2c7199508307b2379179923e3f60fdc
[ "Apache-2.0" ]
null
null
null
oanda_v20/include/oanda/v20/endpoint/OandaAuthorization.hpp
CodeRancher/offcenter_oanda
c7817299b2c7199508307b2379179923e3f60fdc
[ "Apache-2.0" ]
null
null
null
oanda_v20/include/oanda/v20/endpoint/OandaAuthorization.hpp
CodeRancher/offcenter_oanda
c7817299b2c7199508307b2379179923e3f60fdc
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Scott Brauer * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
23.885246
75
0.729581
CodeRancher
d9359544a6183450fe0eea09f9a7755fdd884075
2,504
cpp
C++
src/MyApplication.cpp
0Hub0/3D-Fluid
2c6e50fb8b36e8cef31d49f5e1187d648bba9b6c
[ "MIT" ]
null
null
null
src/MyApplication.cpp
0Hub0/3D-Fluid
2c6e50fb8b36e8cef31d49f5e1187d648bba9b6c
[ "MIT" ]
null
null
null
src/MyApplication.cpp
0Hub0/3D-Fluid
2c6e50fb8b36e8cef31d49f5e1187d648bba9b6c
[ "MIT" ]
7
2018-02-15T12:50:56.000Z
2018-05-31T14:44:09.000Z
#include "core/Application.h" #include "Mesh.h" #include <iostream> using namespace std; class MyApplication: public Application { private: Program* program = NULL; Renderer *renderer = NULL; float angle = 0; Mesh* dragon = NULL; Buffer* vertex = NULL; Buffer* normal = NULL; Buffer* index...
26.083333
114
0.650559
0Hub0
d935d2fb38e559574ed5ac17e47926ad94474760
763
cpp
C++
Game/Explosion.cpp
maxPrakken/Intake
42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e
[ "MIT" ]
null
null
null
Game/Explosion.cpp
maxPrakken/Intake
42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e
[ "MIT" ]
null
null
null
Game/Explosion.cpp
maxPrakken/Intake
42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e
[ "MIT" ]
null
null
null
#include "Explosion.h" Explosion::Explosion() { size = Vector2(100, 100); spitesheetPath = "assets/spritesheets/Explosion.png"; animator.rows = Vector2(4, 1); animator.paused = true; animator.cur = 0; animator.animateFromTo = Vector2(1, 3); animator.switchAfter = 0.1f; } Explosion::Explosion(Vector2 position, ...
19.564103
54
0.699869
maxPrakken
d9394287b54376097653f08973b724e01e8161dc
3,820
hpp
C++
ros2_full_sensor_suite/include/ros2_full_sensor_suite/gazebo_ros_imu.hpp
nikostsagk/botanbot_sim
7b0c7a0336f04a04ac9c4c963f374a15064077b4
[ "Apache-2.0" ]
null
null
null
ros2_full_sensor_suite/include/ros2_full_sensor_suite/gazebo_ros_imu.hpp
nikostsagk/botanbot_sim
7b0c7a0336f04a04ac9c4c963f374a15064077b4
[ "Apache-2.0" ]
1
2022-03-26T18:21:11.000Z
2022-03-28T09:31:00.000Z
ros2_full_sensor_suite/include/ros2_full_sensor_suite/gazebo_ros_imu.hpp
nikostsagk/botanbot_sim
7b0c7a0336f04a04ac9c4c963f374a15064077b4
[ "Apache-2.0" ]
1
2022-03-25T13:35:02.000Z
2022-03-25T13:35:02.000Z
//================================================================================================= // Copyright (c) 2012, Johannes Meyer, TU Darmstadt // Modification Copyright (c) 2020, Fetullah Atas, Norwegian University of Life Sciences // All rights reserved. // Redistribution and use in source and binary forms, ...
35.700935
99
0.691885
nikostsagk
d94110b9384a7c87be5e5d8939b3ecbd56a63386
14,653
cc
C++
client/bundle_installer_unittest.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
4
2016-05-19T09:22:52.000Z
2020-10-22T03:45:41.000Z
client/bundle_installer_unittest.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
1
2015-06-15T06:26:34.000Z
2015-06-15T06:26:34.000Z
client/bundle_installer_unittest.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
1
2015-06-24T19:26:58.000Z
2015-06-24T19:26:58.000Z
// Copyright 2010 Google 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 // // Unless required by applicable law or agreed to in...
37.863049
80
0.632908
rocious
d942c7bbfcf5aa6c4ee5292fcc681a50845496d5
9,171
cpp
C++
code/wxWidgets/src/mac/carbon/choice.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/mac/carbon/choice.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/mac/carbon/choice.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: choice.cpp // Purpose: wxChoice // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 // RCS-ID: $Id: choice.cpp,v 1.61 2005/05/10 06:29:20 SC Exp $ // Copyright: (c) Stefan Csomor // Licence: ...
28.481366
122
0.549995
Bloodknight
d9432325938f87b9f7d7144b8155ca666b41b4a8
9,660
cpp
C++
Syndra/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
ErfanMo77/Syndra-Engine
4eb544ea392e803d272d00bc01684cae7030ebaf
[ "Apache-2.0" ]
31
2021-05-05T18:48:00.000Z
2022-03-23T18:53:11.000Z
Syndra/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
ErfanMo77/Syndra-Engine
4eb544ea392e803d272d00bc01684cae7030ebaf
[ "Apache-2.0" ]
3
2021-07-13T12:15:08.000Z
2021-12-31T17:21:12.000Z
Syndra/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
ErfanMo77/Syndra-Engine
4eb544ea392e803d272d00bc01684cae7030ebaf
[ "Apache-2.0" ]
8
2021-07-06T07:41:01.000Z
2022-01-07T07:37:03.000Z
#include "lpch.h" #include "Platform/OpenGL/OpenGLFrameBuffer.h" #include <glad/glad.h> namespace Syndra { static const uint32_t s_MaxFramebufferSize = 8192; static GLenum TextureTarget(bool multisampled) { return multisampled ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D; } static void CreateTextures(bool mul...
33.776224
165
0.772671
ErfanMo77
d94478dfba8d3c8c88199cb63d58e5b929ebb723
912
cpp
C++
LeetCode/Problems/Algorithms/#2070_MostBeautifulItemForEachQuery_sol3_sort_and_upper_bound_O((N+Q)logN)_time_O(N)_extra_space_343ms_90MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#2070_MostBeautifulItemForEachQuery_sol3_sort_and_upper_bound_O((N+Q)logN)_time_O(N)_extra_space_343ms_90MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#2070_MostBeautifulItemForEachQuery_sol3_sort_and_upper_bound_O((N+Q)logN)_time_O(N)_extra_space_343ms_90MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> maximumBeauty(vector<vector<int>>& items, vector<int>& queries) { const int N = items.size(); const int Q = queries.size(); vector<pair<int, int>> sortedItems(N); for(int i = 0; i < N; ++i){ sortedItems[i] = {items[i][...
32.571429
107
0.473684
Tudor67
d95cb108391c1a7863f797ec0693d58a8e05f7c0
1,002
hpp
C++
luanics/profiling/Macros.hpp
luanics/cpp-illustrated
6049de2119a53d656a63b65d9441e680355ef196
[ "MIT" ]
null
null
null
luanics/profiling/Macros.hpp
luanics/cpp-illustrated
6049de2119a53d656a63b65d9441e680355ef196
[ "MIT" ]
null
null
null
luanics/profiling/Macros.hpp
luanics/cpp-illustrated
6049de2119a53d656a63b65d9441e680355ef196
[ "MIT" ]
null
null
null
#pragma once #include "luanics/profiling/GlobalNodeManager.hpp" #include "luanics/profiling/Node.hpp" #include "luanics/profiling/Reporter.hpp" #include "luanics/profiling/ScopedEntrance.hpp" #include "luanics/profiling/ScopedStart.hpp" #ifdef LUANICS_PROFILING #define LUANICS_NODE_MANAGER_INSTANCE luanics::profilin...
35.785714
112
0.814371
luanics
d9600c140fd4ec83446bee1a048458089e76e0fd
2,685
cpp
C++
software/shared/CoreDatabaseConnector.cpp
UB909/FridgeManagement
f3f2dfc3775799812f70e1db76785eefb30caf9f
[ "BSD-2-Clause" ]
null
null
null
software/shared/CoreDatabaseConnector.cpp
UB909/FridgeManagement
f3f2dfc3775799812f70e1db76785eefb30caf9f
[ "BSD-2-Clause" ]
null
null
null
software/shared/CoreDatabaseConnector.cpp
UB909/FridgeManagement
f3f2dfc3775799812f70e1db76785eefb30caf9f
[ "BSD-2-Clause" ]
null
null
null
/** * @author Sebastian Winter * @copyright 2-clause BSD license */ #include "CoreDatabaseConnector.h" #include "MySqlException.h" #include "history_items/Category.h" #include "items/Category.h" #include "sql_parameters/IntegerParameter.h" #include "sql_parameters/StringParameter.h" namespace com { namespac...
25.817308
125
0.700559
UB909
d96106297e7ff29dd70a3ebbf98ea2eff02025f8
3,513
cpp
C++
origin/sequence/algorithm.test/sort.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
7
2017-11-22T19:11:00.000Z
2020-08-16T15:53:10.000Z
origin/sequence/algorithm.test/sort.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
null
null
null
origin/sequence/algorithm.test/sort.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
1
2020-08-07T12:31:36.000Z
2020-08-07T12:31:36.000Z
// Copyright (c) 2008-2010 Kent State University // Copyright (c) 2011-2012 Texas A&M University // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #include <cassert> #include <vector> #inclu...
28.560976
86
0.645317
asutton
d961acaf04ccc9ad548a75f7cffea36c13ee9611
2,374
hpp
C++
headers/gui/button.hpp
CobraDevTeam/gameDevClient
8820832c231bc918a34a9d5110e5891233ff3a1f
[ "Apache-2.0" ]
null
null
null
headers/gui/button.hpp
CobraDevTeam/gameDevClient
8820832c231bc918a34a9d5110e5891233ff3a1f
[ "Apache-2.0" ]
null
null
null
headers/gui/button.hpp
CobraDevTeam/gameDevClient
8820832c231bc918a34a9d5110e5891233ff3a1f
[ "Apache-2.0" ]
null
null
null
#ifndef BUTTON_HPP #define BUTTON_HPP #include <memory> #include <functional> #include "SFML/Graphics/Text.hpp" #include "SFML/Graphics/Sprite.hpp" #include "SFML/Graphics/RenderStates.hpp" #include "SFML/Graphics/RenderTarget.hpp" #include "headers/gui/component.hpp" #include "headers/resourcemanagement/resourcehold...
28.95122
179
0.638585
CobraDevTeam
d962882eb35e0aabe9c23885d7853a28107bec1f
2,063
cpp
C++
segment_tree/segmentTree.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
1
2020-08-11T17:50:01.000Z
2020-08-11T17:50:01.000Z
segment_tree/segmentTree.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
null
null
null
segment_tree/segmentTree.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
null
null
null
//Keep calm and admire #include<bits/stdc++.h> using namespace std; #define ll long long int #define fastio() ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); #define F first #define S second #define endl "\n" #define pb push_back #define all(v) v.begin(),v.end() ll MAX = 1e18; ll MOD = 1000000007; ll MIN = ...
23.443182
97
0.482792
ankit2001
d962e3d82fdbe23df27185289441aa415198a890
5,201
cpp
C++
polytracker/src/polytracker/logging.cpp
fuzzuf/polytracker
6d82282797479b7cb33b2b53a264ec85bd801959
[ "Apache-2.0" ]
null
null
null
polytracker/src/polytracker/logging.cpp
fuzzuf/polytracker
6d82282797479b7cb33b2b53a264ec85bd801959
[ "Apache-2.0" ]
null
null
null
polytracker/src/polytracker/logging.cpp
fuzzuf/polytracker
6d82282797479b7cb33b2b53a264ec85bd801959
[ "Apache-2.0" ]
null
null
null
#include "polytracker/logging.h" #include "polytracker/main.h" #include "polytracker/output.h" #include <atomic> #include <chrono> #include <fstream> #include <iomanip> #include <iostream> #include <mutex> #include <set> #include <thread> #include <tuple> #include <unordered_map> extern char *forest_mem; extern input_...
39.105263
93
0.740435
fuzzuf
d965656cb9b7f4262771a3629eee151ee9ece1fb
3,773
cc
C++
ChiModules/LinearBoltzmannSolver/lbs_03cc_angleagg_azimuthal.cc
iwhalvic/chi-tech
425709c918704db09c13acf316b8aecb282e20de
[ "MIT" ]
null
null
null
ChiModules/LinearBoltzmannSolver/lbs_03cc_angleagg_azimuthal.cc
iwhalvic/chi-tech
425709c918704db09c13acf316b8aecb282e20de
[ "MIT" ]
null
null
null
ChiModules/LinearBoltzmannSolver/lbs_03cc_angleagg_azimuthal.cc
iwhalvic/chi-tech
425709c918704db09c13acf316b8aecb282e20de
[ "MIT" ]
null
null
null
#include "lbs_linear_boltzmann_solver.h" #include "ChiMesh/SweepUtilities/FLUDS/AUX_FLUDS.h" #include "ChiMath/Quadratures/product_quadrature.h" #include "chi_log.h" extern ChiLog& chi_log; #include "ChiTimer/chi_timer.h" extern ChiTimer chi_program_timer; #include "ChiConsole/chi_console.h" extern ChiConsole& ...
32.525862
86
0.598198
iwhalvic
d96e225e7ababd9345f766ce512be0f81326145f
22,165
cpp
C++
Code/Tools/Libs/ToolsFoundation/Object/Implementation/DocumentObjectMirror.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/Tools/Libs/ToolsFoundation/Object/Implementation/DocumentObjectMirror.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Tools/Libs/ToolsFoundation/Object/Implementation/DocumentObjectMirror.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <ToolsFoundationPCH.h> #include <Foundation/IO/MemoryStream.h> #include <Foundation/Logging/Log.h> #include <Foundation/Serialization/BinarySerializer.h> #include <ToolsFoundation/Object/DocumentObjectMirror.h> #include <ToolsFoundation/Serialization/DocumentObjectConverter.h> // clang-format off EZ_BEGIN_ST...
33.330827
139
0.690909
fereeh
d97180853a500af47a9c545344f469507ed83f6e
3,481
hpp
C++
CmnMath/module/algebra/inc/algebra/matrix3x3.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/module/algebra/inc/algebra/matrix3x3.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/module/algebra/inc/algebra/matrix3x3.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
// Geometric Tools LLC, Redmond WA 98052 // Copyright (c) 1998-2015 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 1.0.2 (2014/12/13) #ifndef CMNMATH_ALGEBRA_MATRIX3X3_HPP__ #define C...
30.269565
78
0.47314
Khoronus
d973261db067e8bc2491d8a61dba977280ac2715
2,586
cpp
C++
third_party/openplay2.2/Source/Utilities/Macintosh/SetupLibraryState.cpp
mickaelcala/TNTbasic
1cbf9f4bceb11ee3dc2010b808addb3499761336
[ "BSD-2-Clause" ]
5
2018-09-22T13:14:50.000Z
2021-12-09T22:32:00.000Z
third_party/openplay2.2/Source/Utilities/Macintosh/SetupLibraryState.cpp
mctully/tntbasic
1cbf9f4bceb11ee3dc2010b808addb3499761336
[ "BSD-2-Clause" ]
null
null
null
third_party/openplay2.2/Source/Utilities/Macintosh/SetupLibraryState.cpp
mctully/tntbasic
1cbf9f4bceb11ee3dc2010b808addb3499761336
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 1999-2004 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * Portions Copyright (c) 1999-2004 Apple Computer, Inc. All Rights * Reserved. This file contains Original Code and/or Modifications of * Original Code as defined in and that are subject to the Apple Publ...
31.925926
90
0.534803
mickaelcala
d97460e363ec7b37db50aec9b0d6d438c6220217
2,289
cpp
C++
tools/ifaceed/ifaceed/history/dialogues/dialoguesphraseswap.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
tools/ifaceed/ifaceed/history/dialogues/dialoguesphraseswap.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
tools/ifaceed/ifaceed/history/dialogues/dialoguesphraseswap.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "dialoguesphraseswap.h" #include "../core/editor.h" #include "../closuremethodcall.h" #include "../blockedclosuremethodcall.h" #include "../../gui/actions/actions.h" #include "../../gui/actions/dialogueactions.h" #include "../../gui/uiblocks/uiblocks.h" #include "../../gui/uiblocks/uiphraseblock...
30.932432
90
0.5391
mamontov-cpp
d97a833c9571f7bee02ac1da7f6ca7c1d8f8da62
613
cpp
C++
MrGimmick/TrapDoorSound.cpp
CodingC1402/SpaghettiEngine
80fddf7c68ae7476a5880aae8fd0eac5bbf6ad1a
[ "MIT" ]
1
2021-06-02T09:31:15.000Z
2021-06-02T09:31:15.000Z
MrGimmick/TrapDoorSound.cpp
CornyCodingCorn/SpaghettiEngine
80fddf7c68ae7476a5880aae8fd0eac5bbf6ad1a
[ "MIT" ]
1
2021-07-13T13:56:18.000Z
2021-07-13T13:56:18.000Z
MrGimmick/TrapDoorSound.cpp
CodingC1402/SpaghettiEngine
80fddf7c68ae7476a5880aae8fd0eac5bbf6ad1a
[ "MIT" ]
2
2021-04-25T02:08:42.000Z
2021-04-29T04:18:34.000Z
#include "TrapDoorSound.h" #include "FieldNames.h" REGISTER_FINISH(TrapDoorSound, BaseSoundScript) {} void TrapDoorSound::PlayTickSound() { _soundManager->Play(Fields::SoundManager::_tick); } void TrapDoorSound::StopTickSound() { _soundManager->Stop(Fields::SoundManager::_tick); } void TrapDoorSound::PlayOpenTrap...
19.774194
64
0.768352
CodingC1402
d97c0adc356a3c8d8345ed401695692ac0aee001
1,210
hpp
C++
origin/type/empty.hpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
7
2017-11-22T19:11:00.000Z
2020-08-16T15:53:10.000Z
origin/type/empty.hpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
null
null
null
origin/type/empty.hpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
1
2020-08-07T12:31:36.000Z
2020-08-07T12:31:36.000Z
// Copyright (c) 2008-2010 Kent State University // Copyright (c) 2011-2012 Texas A&M University // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #ifndef ORIGIN_TYPE_EMPTY_HPP #define ORIGIN...
27.5
80
0.657851
asutton
d982d9be588218a1367f9c1de6a7de07dba9672e
7,434
hpp
C++
Stratum/ShaderCompiler.hpp
cryptobuks1/Stratum
3ecf56c0ce9010e6e95248c0d63edc41eeb13910
[ "MIT" ]
2
2019-10-01T22:55:47.000Z
2019-10-04T20:25:29.000Z
Stratum/ShaderCompiler.hpp
cryptobuks1/Stratum
3ecf56c0ce9010e6e95248c0d63edc41eeb13910
[ "MIT" ]
null
null
null
Stratum/ShaderCompiler.hpp
cryptobuks1/Stratum
3ecf56c0ce9010e6e95248c0d63edc41eeb13910
[ "MIT" ]
null
null
null
#pragma once #include <fstream> #include <Util/Util.hpp> struct SpirvModule { std::vector<uint32_t> mSpirv; inline SpirvModule() {} inline void Read(std::ifstream& file) { uint32_t l; file.read(reinterpret_cast<char*>(&l), sizeof(uint32_t)); mSpirv.resize(l); file.read(reinterpret_cast<char*>(mSpirv.data(...
34.901408
106
0.710519
cryptobuks1
d98e514a453ee01918a4422929fcae1ca092f463
3,379
cc
C++
src/RTT_Format_Reader/Nodes.cc
keadyk/Draco
129fbff1d74a3f5498670e952b7d4142f37b2aac
[ "BSD-3-Clause-Open-MPI" ]
1
2020-03-19T07:05:08.000Z
2020-03-19T07:05:08.000Z
src/RTT_Format_Reader/Nodes.cc
5l1v3r1/Draco
0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/RTT_Format_Reader/Nodes.cc
5l1v3r1/Draco
0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//----------------------------------*-C++-*--------------------------------// /*! * \file RTT_Format_Reader/Nodes.cc * \author B.T. Adams * \date Wed Jun 7 10:33:26 2000 * \brief Implementation file for RTT_Format_Reader/Nodes class. * \note Copyright (C) 2016-2020 Triad National Security, LLC. * ...
30.441441
80
0.593963
keadyk
d995a0c98ed31caf0ef243479eb32f39870ea6d7
1,198
hpp
C++
source/quantum-script-extension-md5.hpp
g-stefan/quantum-script-extension-md5
7decd4e20d5ef77d972e1fd2a6eebaad212e9de5
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-md5.hpp
g-stefan/quantum-script-extension-md5
7decd4e20d5ef77d972e1fd2a6eebaad212e9de5
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-md5.hpp
g-stefan/quantum-script-extension-md5
7decd4e20d5ef77d972e1fd2a6eebaad212e9de5
[ "MIT", "Unlicense" ]
null
null
null
// // Quantum Script Extension MD5 // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef QUANTUM_SCRIPT_EXTENSION_MD5_HPP #define QUANTUM_SCRIPT_EXTENSION_MD5_HPP #ifndef Q...
23.96
101
0.762938
g-stefan
d99f7e68a8b6eba5e2c9cae5a78c0491100ede31
4,952
cpp
C++
DAT205/src/math/vec3.cpp
krabbstek/DAT205
c35d03af1737cb1552d98c7ea541273381184170
[ "Apache-2.0" ]
null
null
null
DAT205/src/math/vec3.cpp
krabbstek/DAT205
c35d03af1737cb1552d98c7ea541273381184170
[ "Apache-2.0" ]
null
null
null
DAT205/src/math/vec3.cpp
krabbstek/DAT205
c35d03af1737cb1552d98c7ea541273381184170
[ "Apache-2.0" ]
null
null
null
#include "vec3.h" #include "vec2.h" #include "vec4.h" #include <sstream> vec3::vec3() : x(0.0f), y(0.0f), z(0.0f) { } vec3::vec3(float f) : x(f), y(f), z(f) { } vec3::vec3(float x, float y) : x(x), y(y), z(0.0f) { } vec3::vec3(float x, float y, float z) : x(x), y(y), z(z) { } vec3::vec3(const vec2& vec) : x...
13.383784
68
0.557149
krabbstek
d9a023133ce95b9dbee461acabcd704b4c4a75f5
1,445
hpp
C++
glm/gtx/extend.hpp
sultgalu/glm
fe667e4a544eda7671d4cccad4c3f86d2c44b593
[ "MIT" ]
null
null
null
glm/gtx/extend.hpp
sultgalu/glm
fe667e4a544eda7671d4cccad4c3f86d2c44b593
[ "MIT" ]
null
null
null
glm/gtx/extend.hpp
sultgalu/glm
fe667e4a544eda7671d4cccad4c3f86d2c44b593
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2006-01-07 // Updated : 20...
29.489796
99
0.525952
sultgalu
d264296e16bf4909cf3cb1c8a5197ec9a797a80d
1,811
cpp
C++
Algo/huffman_coding/huffman_coding_test.cpp
MilosSubotic/huffman_coding
0f567fc3c722c419a1668dfb249204f7bebadb92
[ "MIT" ]
1
2019-03-23T12:26:47.000Z
2019-03-23T12:26:47.000Z
Algo/huffman_coding/huffman_coding_test.cpp
MilosSubotic/huffman_coding
0f567fc3c722c419a1668dfb249204f7bebadb92
[ "MIT" ]
null
null
null
Algo/huffman_coding/huffman_coding_test.cpp
MilosSubotic/huffman_coding
0f567fc3c722c419a1668dfb249204f7bebadb92
[ "MIT" ]
null
null
null
/** * @license MIT * @brief Test Huffman coding. */ /////////////////////////////////////////////////////////////////////////////// #include <iostream> #include <vector> #include <string> #include <iomanip> #include <cstdlib> using namespace std; #include "huffman_coding.h" /////////////////////////////////////...
22.6375
79
0.478741
MilosSubotic
d26712acf526240080968a8f4a2e28c47685703e
4,091
cpp
C++
source/Scenes/Menu.cpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
source/Scenes/Menu.cpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
source/Scenes/Menu.cpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
#include "components.hpp" #include "Menu.hpp" namespace Scenes { Menu::Menu() : Application::Scene(cocos2d::Scene::create()) { cocos2d::Vec2 origin = Master::instance().get<Components::Metric>().origin(); cocos2d::Size size = Master::instance().get<Components::Metric>().size(); Views::Ui::Panel play; Views::U...
45.966292
160
0.71694
1pkg
d267f1978bddd624c4122aa36b91f8e89b06cc86
8,940
cpp
C++
src/ukf.cpp
Ytodi31/Unscented_Kalman_Filter
9336bcac352f174cd9e7fac1c4d683e40bc3bf98
[ "MIT" ]
1
2021-05-30T14:41:33.000Z
2021-05-30T14:41:33.000Z
src/ukf.cpp
Ytodi31/Unscented_Kalman_Filter
9336bcac352f174cd9e7fac1c4d683e40bc3bf98
[ "MIT" ]
null
null
null
src/ukf.cpp
Ytodi31/Unscented_Kalman_Filter
9336bcac352f174cd9e7fac1c4d683e40bc3bf98
[ "MIT" ]
null
null
null
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using Eigen::MatrixXd; using Eigen::VectorXd; /** * Initializes Unscented Kalman filter */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_laser_ = true; // if this is false, radar measurements will be i...
28.471338
114
0.629642
Ytodi31
d268c45a7492981dd9771968eb1f4635662b82fe
1,476
inl
C++
src/ace/ACE_wrappers/ace/MEM_Stream.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/ace/MEM_Stream.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/ace/MEM_Stream.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
// -*- C++ -*- #include "ace/MEM_Stream.h" #include "ace/OS_NS_sys_socket.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_MEM_Stream::ACE_MEM_Stream (void) { // ACE_TRACE ("ACE_MEM_Stream::ACE_MEM_Stream"); } ACE_INLINE ACE_MEM_Stream::ACE_MEM_Stream (ACE_HANDLE h) { // ACE_TRACE ("ACE_MEM_Stream::ACE_MEM_S...
19.945946
70
0.72561
wfnex
d26bea339b05b00dc81722697e39b0d3e79d777e
3,842
cpp
C++
mutex_utils.cpp
zerodefect/mutex_example
0c6c874ab540a8227811a7edd9df6c04b1370ed5
[ "MIT" ]
null
null
null
mutex_utils.cpp
zerodefect/mutex_example
0c6c874ab540a8227811a7edd9df6c04b1370ed5
[ "MIT" ]
null
null
null
mutex_utils.cpp
zerodefect/mutex_example
0c6c874ab540a8227811a7edd9df6c04b1370ed5
[ "MIT" ]
null
null
null
#include "mutex_utils.hpp" #include <cassert> #include <iostream> #include "clock_wait.hpp" /////////////////////////////////////////////////////////////////////////// class mutexattr_releaser final { public: mutexattr_releaser() = delete; explicit mutexattr_releaser(pthread_mutexattr_t &mutexattr) : ...
24.628205
93
0.542166
zerodefect
d27024929151e42f593fc3701ce274428d35e71f
959
hpp
C++
include/Mirage/Viewer/Viewer.hpp
PlathC/ImPro
f391a49d2e381df53b22002fc57b9f13935cd910
[ "MIT" ]
3
2019-07-29T20:29:02.000Z
2020-04-15T13:47:36.000Z
include/Mirage/Viewer/Viewer.hpp
PlathC/ImPro
f391a49d2e381df53b22002fc57b9f13935cd910
[ "MIT" ]
1
2021-01-20T14:09:04.000Z
2021-01-20T16:52:09.000Z
include/Mirage/Viewer/Viewer.hpp
PlathC/ImPro
f391a49d2e381df53b22002fc57b9f13935cd910
[ "MIT" ]
null
null
null
#ifndef MIRAGE_VIEWER #define MIRAGE_VIEWER #include <functional> #include <QFileDialog> #include <QLabel> #include <QMainWindow> #include <QMessageBox> #include "Mirage/Image/ImageParser.hpp" namespace Ui { class Viewer; } namespace mrg { class Viewer : public QMainWindow { Q_OBJECT public: ...
20.404255
97
0.657977
PlathC
d273f747556b02f20f46a99484d37e3882ee9311
73
cpp
C++
cpp/formatting/snippets/BraceWrapping.AfterUnion.cpp
tristan0x/hpc-coding-conventions
5d4bcd2d410e67bdc1d23d3280c08ee5c9df943b
[ "Apache-2.0" ]
1
2019-01-17T14:07:07.000Z
2019-01-17T14:07:07.000Z
cpp/formatting/snippets/BraceWrapping.AfterUnion.cpp
tristan0x/hpc-coding-conventions
5d4bcd2d410e67bdc1d23d3280c08ee5c9df943b
[ "Apache-2.0" ]
null
null
null
cpp/formatting/snippets/BraceWrapping.AfterUnion.cpp
tristan0x/hpc-coding-conventions
5d4bcd2d410e67bdc1d23d3280c08ee5c9df943b
[ "Apache-2.0" ]
null
null
null
// Brace on same line than *union* definitions union foo { int x; }
12.166667
46
0.643836
tristan0x
d273fd784ba9e59ca60d009c02a5fd94a3f60c27
631
cpp
C++
src/examples/009Chapter/9-2-5-assign-swap/main.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
src/examples/009Chapter/9-2-5-assign-swap/main.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
src/examples/009Chapter/9-2-5-assign-swap/main.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
#include<algorithm> #include<iostream> #include<list> #include<string> #include<vector> using std::cout; using std::list; using std::vector; using std::string; int main() { list<string> names; vector<const char*> names1{"joe", "john", "mary"}; vector<const char*> names2{"jake", "pat", "mario"}; names...
16.605263
55
0.564184
artgonzalez
d278adb5ab49c4abdb1449f3019b7eb3b78553de
1,391
cpp
C++
source/GUI/Business/controller.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/GUI/Business/controller.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/GUI/Business/controller.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
#include "controller.h" /** * @brief Controller::Controller * Initializes the controller object. */ Controller::Controller() { } /** * @brief Controller::get Read the contents of the controller and fills the * QListWidgets with the sensors and controllers. * @param filename The path to the file containing the c...
29.595745
77
0.719626
Guiraffo
d27be6073e5d085b24596394748e42460984821b
18,214
cpp
C++
src/gui/MatchTemplateResultsPanel.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
7
2020-09-09T10:59:59.000Z
2020-11-19T15:26:53.000Z
src/gui/MatchTemplateResultsPanel.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
85
2020-09-11T15:07:02.000Z
2021-02-08T20:38:13.000Z
src/gui/MatchTemplateResultsPanel.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
6
2021-03-26T13:04:10.000Z
2021-11-18T19:28:16.000Z
//#include "../core/core_headers.h" #include "../core/gui_core_headers.h" extern MyMainFrame *main_frame; extern MyImageAssetPanel *image_asset_panel; extern MyMovieAssetPanel *movie_asset_panel; MatchTemplateResultsPanel::MatchTemplateResultsPanel( wxWindow* parent ) : MatchTemplateResultsPanelParent( parent ) { ...
32.123457
934
0.768145
ngrigorieff
d27da6577247f4c3b9be51b31cb48ce4ac4eb002
5,541
cpp
C++
src/ConsoleTestReporter.cpp
renebarto/unittest-cpp
7f778fb16dec60e378da059b80dd9e340891e360
[ "Unlicense" ]
null
null
null
src/ConsoleTestReporter.cpp
renebarto/unittest-cpp
7f778fb16dec60e378da059b80dd9e340891e360
[ "Unlicense" ]
null
null
null
src/ConsoleTestReporter.cpp
renebarto/unittest-cpp
7f778fb16dec60e378da059b80dd9e340891e360
[ "Unlicense" ]
null
null
null
#include <unittest-cpp/ConsoleTestReporter.h> #include <iomanip> #include <unittest-cpp/Console.h> #include <unittest-cpp/TestDetails.h> #include <unittest-cpp/TestResults.h> using namespace std; namespace UnitTestCpp { ConsoleTestReporter::ConsoleTestReporter(bool useColor) : StreamTestReporter(std::cout) ...
31.305085
103
0.650244
renebarto
d2838d613f7d4f6ba42ff3a93e6d892b6f7885d7
11,208
cpp
C++
src/caffe/layers/region_loss_layer.cpp
zhangnju/sparse_net
e61f44981d5affe73653f707faa0a228b1b607a4
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/layers/region_loss_layer.cpp
zhangnju/sparse_net
e61f44981d5affe73653f707faa0a228b1b607a4
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/layers/region_loss_layer.cpp
zhangnju/sparse_net
e61f44981d5affe73653f707faa0a228b1b607a4
[ "Intel", "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <cfloat> #include <vector> #include <cmath> #include <iostream> #include <fstream> #include <sstream> #include "caffe/layers/region_loss_layer.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/util/region_util.hpp" #include "caffe/util/bbox_util.hpp" int iter = 0; namespace ...
35.808307
151
0.570485
zhangnju
d286b3fcaff48518f383615d7b39fbd2c9649180
1,222
cpp
C++
Cpp/742_closest_leaf_in_a_binary_tree/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/742_closest_leaf_in_a_binary_tree/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/742_closest_leaf_in_a_binary_tree/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "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: int findClosestLeaf(TreeNode* root, int k) { if (!root) return 0; if (!root->le...
27.772727
103
0.528642
zszyellow
d2873738f3ca64a948389a83e6b8e35c76d11bd3
1,031
cpp
C++
PC_Clase7/slidingWindowsMaximum.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
PC_Clase7/slidingWindowsMaximum.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
PC_Clase7/slidingWindowsMaximum.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *********...
24.547619
82
0.43356
Angelussz
d2881b819e0a79da940526508d3459e52d8eb977
5,164
cpp
C++
osquery/tables/system/centos/rpm_packages.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
null
null
null
osquery/tables/system/centos/rpm_packages.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
null
null
null
osquery/tables/system/centos/rpm_packages.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
1
2016-09-03T18:08:49.000Z
2016-09-03T18:08:49.000Z
/* * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
29.175141
79
0.6555
Akhilpakanati
d28a8a307a8b4022c8b59dfb005dfc24311f1d72
3,527
cpp
C++
Tests/unit-tests/Source/wali/graph/randomFwpdsTests.cpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-03-07T17:25:57.000Z
2022-02-04T20:17:00.000Z
src/wpds/Tests/unit-tests/Source/wali/graph/randomFwpdsTests.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
1
2018-03-03T05:58:55.000Z
2018-03-03T12:26:10.000Z
src/wpds/Tests/unit-tests/Source/wali/graph/randomFwpdsTests.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
15
2015-09-25T17:44:35.000Z
2021-07-18T18:25:38.000Z
/** * You can only run any one test using FWPDS at a time. * This is because RegExp do not clean properly. * */ #include "gtest/gtest.h" #include "buddy/bdd.h" // ::std #include <iostream> #include <vector> #include <utility> #include <limits> #include <sstream> #include <string> #include <cstdlib> // ::wali::dom...
22.902597
86
0.62943
jusito
d28b33c233ebb4d11b9e06a7e2ceb594dd89d6bf
187
cpp
C++
src/ready.cpp
dongocthanhchau/sms
d1f9363b3876e1987fed81898f55a4b9b922de0c
[ "MIT" ]
null
null
null
src/ready.cpp
dongocthanhchau/sms
d1f9363b3876e1987fed81898f55a4b9b922de0c
[ "MIT" ]
null
null
null
src/ready.cpp
dongocthanhchau/sms
d1f9363b3876e1987fed81898f55a4b9b922de0c
[ "MIT" ]
1
2021-08-24T12:48:44.000Z
2021-08-24T12:48:44.000Z
#include "ready.h" bool SIMReady=0; bool getSIMReady(void) { return SIMReady; } void setSIMReady(void) { SIMReady = 1; } void setnotSIMReady(void) { SIMReady = 0; }
11.6875
26
0.631016
dongocthanhchau
d29000d4f01970c6a48745c50253fd3eb04f0e62
2,171
cpp
C++
cpp_module_04/ex00/main.cpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
1
2022-01-27T02:32:39.000Z
2022-01-27T02:32:39.000Z
cpp_module_04/ex00/main.cpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
null
null
null
cpp_module_04/ex00/main.cpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
32.893939
80
0.318287
anolivei
d29300d000ec07fa10914cbd4dcfad15d8c6bd53
565
hh
C++
src/error.hh
nicuveo/SAW
1c59270686310e4950fed2f62acd0f62a1c6660c
[ "MIT" ]
null
null
null
src/error.hh
nicuveo/SAW
1c59270686310e4950fed2f62acd0f62a1c6660c
[ "MIT" ]
null
null
null
src/error.hh
nicuveo/SAW
1c59270686310e4950fed2f62acd0f62a1c6660c
[ "MIT" ]
null
null
null
// // Copyright Antoine Leblanc 2010 - 2015 // Distributed under the MIT license. // // http://nauths.fr // http://github.com/nicuveo // mailto://antoine.jp.leblanc@gmail.com // #ifndef SAW_ERROR_HH_ # define SAW_ERROR_HH_ //HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH // Includes # include...
15.694444
70
0.759292
nicuveo
d2995337e78a9c4a1bc98eeefe614fe5043fb965
625
cpp
C++
Components/Scripts/FirstScript.cpp
TheoRussell/Game-Engine
7cbb39012908c5bc9065fab9ccc6685b96bbc26e
[ "MIT" ]
null
null
null
Components/Scripts/FirstScript.cpp
TheoRussell/Game-Engine
7cbb39012908c5bc9065fab9ccc6685b96bbc26e
[ "MIT" ]
null
null
null
Components/Scripts/FirstScript.cpp
TheoRussell/Game-Engine
7cbb39012908c5bc9065fab9ccc6685b96bbc26e
[ "MIT" ]
null
null
null
#include "FirstScript.h" FirstScript::FirstScript() { SetName("FirstScript"); } FirstScript::~FirstScript() { } void FirstScript::OnStart() { AddForce(glm::vec3(0.0f, 3000.0f, 0.0)); } void FirstScript::OnFixedUpdate(float deltaTime) { AddTorque(glm::vec3(0.0f, 0.0f, 100.0f)); AddForc...
15.243902
51
0.5936
TheoRussell
d299d42036facf2b030c34329148956b5d75dfe6
1,523
hpp
C++
src/dialing_directory_dao.hpp
digitalcraig/EtherTerm
4f994bb9ecbb48fbb77875d4d655b65a8b257d42
[ "Zlib" ]
106
2015-02-01T18:01:48.000Z
2022-02-10T04:51:11.000Z
src/dialing_directory_dao.hpp
digitalcraig/EtherTerm
4f994bb9ecbb48fbb77875d4d655b65a8b257d42
[ "Zlib" ]
60
2015-02-01T18:00:39.000Z
2022-01-17T17:27:34.000Z
src/dialing_directory_dao.hpp
digitalcraig/EtherTerm
4f994bb9ecbb48fbb77875d4d655b65a8b257d42
[ "Zlib" ]
16
2015-02-02T00:00:35.000Z
2021-08-17T01:42:58.000Z
#ifndef DIALING_DIRECTORY_DAO_HPP #define DIALING_DIRECTORY_DAO_HPP #include <memory> #include <string> class DialingDirectory; typedef std::shared_ptr<DialingDirectory> dial_directory_ptr; /** * @class DialingDirectoryDao * @author Micahel Griffin * @date 09/07/2019 * @file dialing_directory_dao.hp...
22.731343
72
0.642154
digitalcraig
d29c8c2f5c4155ee10a74b9bfa3471540b774354
11,629
cc
C++
code/addons/sequencer/tracksequencer.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/addons/sequencer/tracksequencer.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/addons/sequencer/tracksequencer.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // sequenzermanager.cc // (C) 2007 Radon Labs GmbH //------------------------------------------------------------------------------ #include "stdneb.h" #include "tracksequencer.h" #include "track.h" #include "trackbar.h" #include "seque...
28.294404
100
0.521455
gscept
d29e13fe94380d4158b0c8db69b628b8bceea093
5,024
cpp
C++
examples/custom_attributes_particles2.cpp
jdduke/three_cpp
c902f9eadeb4fbdeb9f662e88959f034efd89654
[ "MIT" ]
214
2015-01-11T06:34:35.000Z
2022-03-26T18:32:32.000Z
examples/custom_attributes_particles2.cpp
silky/three_cpp
dfaa824eed1f5c4180d961072807a05c4826eef8
[ "MIT" ]
11
2015-03-07T14:08:16.000Z
2021-03-11T20:58:44.000Z
examples/custom_attributes_particles2.cpp
silky/three_cpp
dfaa824eed1f5c4180d961072807a05c4826eef8
[ "MIT" ]
47
2015-01-24T11:30:13.000Z
2022-03-08T05:44:32.000Z
#include "common.hpp" #include <three/core/geometry.hpp> #include <three/cameras/perspective_camera.hpp> #include <three/extras/image_utils.hpp> #include <three/objects/mesh.hpp> #include <three/materials/shader_material.hpp> #include <three/objects/particle_system.hpp> #include <three/renderers/renderer_parameters.hp...
27.911111
99
0.608081
jdduke
d2a12af2f89cf90d40a7f295e3fa2dce24ea2dc4
1,848
cpp
C++
src/3d/surface/Surface.cpp
MohammadFakhreddin/CpuGraphicRasterizer
d4deb5b4213d6da1be4d88e6ab102853a16c5de4
[ "MIT" ]
8
2020-01-27T18:14:20.000Z
2020-10-08T11:57:33.000Z
src/3d/surface/Surface.cpp
MohammadFakhreddin/CpuGraphicRasterizer
d4deb5b4213d6da1be4d88e6ab102853a16c5de4
[ "MIT" ]
null
null
null
src/3d/surface/Surface.cpp
MohammadFakhreddin/CpuGraphicRasterizer
d4deb5b4213d6da1be4d88e6ab102853a16c5de4
[ "MIT" ]
1
2020-03-19T08:41:56.000Z
2020-03-19T08:41:56.000Z
#include "./Surface.h" #include <cassert> Surface::Surface( const Constants::LightPrecision lightPrecision, Texture* texture, const unsigned long edgeIndex[3] ) : Surface( lightPrecision, texture, edgeIndex[0], edgeIndex[1], edgeIndex[2] ) {} Surface::Surface( const Constants::Light...
21.488372
94
0.686147
MohammadFakhreddin
d2a12c2b2a53d16b7f070dca5c1d1f3a506936ca
13,028
cc
C++
src/prediction_mask_test.cc
jbeich/libgav1
a65020e665c2cf76651b50b6626c1baa61a5c718
[ "Apache-2.0" ]
null
null
null
src/prediction_mask_test.cc
jbeich/libgav1
a65020e665c2cf76651b50b6626c1baa61a5c718
[ "Apache-2.0" ]
null
null
null
src/prediction_mask_test.cc
jbeich/libgav1
a65020e665c2cf76651b50b6626c1baa61a5c718
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The libgav1 Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
60.595349
79
0.820847
jbeich
d2a75ccb4443e800caf0b3d0c11091a0fa315de2
1,110
hpp
C++
include/RED4ext/Scripting/Natives/Generated/physics/SystemBodyParams.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/physics/SystemBodyParams.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/physics/SystemBodyParams.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/Transform.hpp> #include <RED4ext/Scripting/Natives/Generated/Vector3.hpp> #include <RED4ext/Scripting/Natives/Generated/physics/SimulationType.hpp> nam...
30
73
0.72973
jackhumbert
d2a7979b790540256392fae1bfa2ee9f33c7f45b
363
hpp
C++
day17/intel.hpp
aspingley/basic_cpp
61a9692c4977c7af79b8cb264aea01c662e8a71a
[ "MIT" ]
1
2021-01-14T13:30:21.000Z
2021-01-14T13:30:21.000Z
day17/intel.hpp
aspingley/basic_cpp
61a9692c4977c7af79b8cb264aea01c662e8a71a
[ "MIT" ]
null
null
null
day17/intel.hpp
aspingley/basic_cpp
61a9692c4977c7af79b8cb264aea01c662e8a71a
[ "MIT" ]
2
2020-10-13T04:35:29.000Z
2020-12-17T12:18:46.000Z
#include <string> #include <vector> namespace intel{ class Connectivity{ public: bool connect(const std::string&); // developed by Intel // to be developed by client of Connectivity library virtual std::vector<std::string> discover() = 0; // makes the class abstract ...
27.923077
88
0.606061
aspingley
d2ab786da3a8650332ec063ff8be2920a56d6385
413
hpp
C++
src/task.hpp
Asetyan/todo
5bbdf5bf4d231c6ca027cb7f41b5e933baba41d9
[ "MIT" ]
17
2015-09-21T14:38:26.000Z
2022-03-09T03:05:46.000Z
src/task.hpp
Asetyan/todo
5bbdf5bf4d231c6ca027cb7f41b5e933baba41d9
[ "MIT" ]
2
2016-06-15T19:17:01.000Z
2019-02-10T10:03:22.000Z
src/task.hpp
Asetyan/todo
5bbdf5bf4d231c6ca027cb7f41b5e933baba41d9
[ "MIT" ]
6
2017-07-15T07:53:36.000Z
2021-11-06T18:06:20.000Z
#ifndef TASK #define TASK #include <string> // representation of a to-do list item class Task { private: std::string name; bool complete; public: Task(std::string name); static bool cmp(const Task &a, const Task &b); void toggleComplete(); bool completed() const; bool div(); std::...
13.322581
51
0.615012
Asetyan
d2abbb964e0808b8282e22125581211404f76d78
6,217
hxx
C++
include/graphics/nxwidgets/ibitmap.hxx
DS-LK/incubator-nuttx-apps
5719753399c41529478ced0a3af9a8fae93a50a9
[ "Apache-2.0" ]
132
2019-12-17T23:45:42.000Z
2022-03-30T11:58:30.000Z
include/graphics/nxwidgets/ibitmap.hxx
VanFeo/incubator-nuttx-apps
009e66874538658c10a26bc076d27e9de48fabc6
[ "Apache-2.0" ]
443
2020-01-01T03:06:24.000Z
2022-03-31T08:57:35.000Z
include/graphics/nxwidgets/ibitmap.hxx
VanFeo/incubator-nuttx-apps
009e66874538658c10a26bc076d27e9de48fabc6
[ "Apache-2.0" ]
232
2019-12-21T10:18:12.000Z
2022-03-30T07:42:13.000Z
/**************************************************************************** * apps/include/graphics/nxwidgets/ibitmap.hxx * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding...
36.145349
80
0.613801
DS-LK
d2b6086176e5a9bdb522809d7588697882d1cda2
537
cc
C++
src/hadamard_test.cc
tczajka/octal-games
30baeb79f420ab406e3b9f0378462aba989a47ad
[ "MIT" ]
1
2021-04-17T10:29:24.000Z
2021-04-17T10:29:24.000Z
src/hadamard_test.cc
tczajka/octal-games
30baeb79f420ab406e3b9f0378462aba989a47ad
[ "MIT" ]
null
null
null
src/hadamard_test.cc
tczajka/octal-games
30baeb79f420ab406e3b9f0378462aba989a47ad
[ "MIT" ]
null
null
null
#include "hadamard.h" #include "bit_util.h" #include "gtest/gtest.h" #include <random> using std::uint32_t; using std::uint64_t; TEST(HadamardTest, test_hadamard_transform) { uint64_t a[64]; uint64_t b[64]; std::mt19937 rng; std::uniform_int_distribution<uint64_t> dist; for (int i=0;i<64;++i) a[i]=b[i]=dist...
20.653846
52
0.625698
tczajka
d2b828cbd9374cc0ab1650965764eef39f6f2e27
3,216
cpp
C++
VoxelIt/src/ObjImporter.cpp
Frizlee/VoxelIt
4946c1d3e7847cd0f991e8b3fbe0436486a9958c
[ "MIT" ]
null
null
null
VoxelIt/src/ObjImporter.cpp
Frizlee/VoxelIt
4946c1d3e7847cd0f991e8b3fbe0436486a9958c
[ "MIT" ]
null
null
null
VoxelIt/src/ObjImporter.cpp
Frizlee/VoxelIt
4946c1d3e7847cd0f991e8b3fbe0436486a9958c
[ "MIT" ]
null
null
null
#include <VoxelIt/ObjImporter.hpp> #include <VoxelIt/Mesh.hpp> #include <iostream> #include <regex> #include <assimp/Importer.hpp> #include <assimp/Exporter.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> using namespace vit; using namespace std; ObjImporter::ObjImporter() { } vector<experimental::file...
31.841584
118
0.65796
Frizlee
d2b8d4e39750718106cb3fd8473c49a4796bbedc
557
cpp
C++
Brickjoon_Src/Bronze3/23738.cpp
waixxt3213/Brickjoon
66b38d7026febb090d47db1c8c56793ff1e54617
[ "MIT" ]
1
2021-07-29T14:27:44.000Z
2021-07-29T14:27:44.000Z
Brickjoon_Src/Bronze3/23738.cpp
naixt1478/Brickjoon
3aa8c7121baf508128ce4f7cbb2ba44ca8745a87
[ "MIT" ]
null
null
null
Brickjoon_Src/Bronze3/23738.cpp
naixt1478/Brickjoon
3aa8c7121baf508128ce4f7cbb2ba44ca8745a87
[ "MIT" ]
1
2020-10-10T14:35:59.000Z
2020-10-10T14:35:59.000Z
#include <bits/stdc++.h> using namespace std; string matching(char s,string s2 = "") { if(s == 'B') s2 = "v"; else if(s == 'E') s2 = "ye"; else if(s == 'H') s2 = "n"; else if(s == 'P') s2 = "r"; else if(s == 'C') s2 = "s"; else if(s == 'Y') s2 = "u"; else if(s == 'X') s2 = "h"; else s2...
19.892857
41
0.463196
waixxt3213
d2b99b41318ad76a171e93a198af443a834792f0
3,187
cxx
C++
Plugins/SciberQuestToolKit/SciberQuest/CartesianBounds.cxx
demarle/ParaView
ec9642303012a3344f9be7a0acea45cc2b329720
[ "Apache-2.0", "BSD-3-Clause" ]
1
2019-04-22T09:09:18.000Z
2019-04-22T09:09:18.000Z
Plugins/SciberQuestToolKit/SciberQuest/CartesianBounds.cxx
JamesLinus/ParaView
d0dd28e0527c230044f1891db2d8ad0170a04af0
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Plugins/SciberQuestToolKit/SciberQuest/CartesianBounds.cxx
JamesLinus/ParaView
d0dd28e0527c230044f1891db2d8ad0170a04af0
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-06-23T09:05:08.000Z
2020-06-23T09:05:08.000Z
/* * Copyright 2012 SciberQuest Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditi...
31.245098
80
0.66081
demarle
d2b9da635f57aef30fc7da549edb5da91e70a02d
1,069
cpp
C++
example/workgroup.cpp
clin99/cpp-taskflow
da0429b5908772a6b2de52a72184ea17675074fe
[ "MIT" ]
9
2018-06-05T02:59:40.000Z
2021-03-30T09:14:27.000Z
example/workgroup.cpp
clin99/cpp-taskflow
da0429b5908772a6b2de52a72184ea17675074fe
[ "MIT" ]
null
null
null
example/workgroup.cpp
clin99/cpp-taskflow
da0429b5908772a6b2de52a72184ea17675074fe
[ "MIT" ]
null
null
null
// A simple example to capture the following task dependencies. // // TaskA---->TaskB---->TaskD // TaskA---->TaskC---->TaskD #include <taskflow/taskflow.hpp> // the only include you need int main(){ tf::Taskflow tf; tf::Framework f1; f1.name("F1") .emplace( [&](){ std::puts("TaskA"); }, [&](){ st...
19.796296
97
0.497661
clin99
d2bc017978e63a328d39c86b9676bd093bd9ff02
3,487
hxx
C++
include/fdp/objects/io_object.hxx
FAIRDataPipeline/FDP-Cpp-API
8b96abbe72112f8f58b9b4d1b6841aa5651eaa2f
[ "BSD-3-Clause" ]
null
null
null
include/fdp/objects/io_object.hxx
FAIRDataPipeline/FDP-Cpp-API
8b96abbe72112f8f58b9b4d1b6841aa5651eaa2f
[ "BSD-3-Clause" ]
null
null
null
include/fdp/objects/io_object.hxx
FAIRDataPipeline/FDP-Cpp-API
8b96abbe72112f8f58b9b4d1b6841aa5651eaa2f
[ "BSD-3-Clause" ]
null
null
null
#ifndef __FDP_IOOBJECT_HXX__ #define __FDP_IOOBJECT_HXX__ #include <string> #include <cstddef> #include <json/value.h> #include "fdp/utilities/logging.hxx" #include "fdp/objects/api_object.hxx" namespace FDP { /** * @brief Class for API objects * */ class IOObject { private: ...
43.049383
137
0.579295
FAIRDataPipeline
d2c6c0ba5062460fef923019b1590c8f5aeff5e1
6,526
cpp
C++
FPTree.cpp
sharique1006/Apriori-and-FPTree
89f0f68905a5503e26365209a6d024867acc4583
[ "MIT" ]
null
null
null
FPTree.cpp
sharique1006/Apriori-and-FPTree
89f0f68905a5503e26365209a6d024867acc4583
[ "MIT" ]
null
null
null
FPTree.cpp
sharique1006/Apriori-and-FPTree
89f0f68905a5503e26365209a6d024867acc4583
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <algorithm> #include <fstream> #include <string.h> #include <stdio.h> #include <iterator> #include <map> using namespace std; class FPnode { public: int item; int freq; unordered_map<int,FPnode*> childs; FPnode* parent; FPnode(int items,int f, FPnode* p){ item = items; fre...
22.122034
90
0.565431
sharique1006
d2ca7c549165db7e6748f62a23cf540cdc002edf
3,999
cpp
C++
App/Lua/LuaNodeScript.cpp
jefaramvangorp/nodin
5a3e9c1abc698723f8596e09d0ad6c293c38393d
[ "MIT" ]
null
null
null
App/Lua/LuaNodeScript.cpp
jefaramvangorp/nodin
5a3e9c1abc698723f8596e09d0ad6c293c38393d
[ "MIT" ]
null
null
null
App/Lua/LuaNodeScript.cpp
jefaramvangorp/nodin
5a3e9c1abc698723f8596e09d0ad6c293c38393d
[ "MIT" ]
null
null
null
// Includes. #include "App/Lua/LuaNodeScript.h" #include "App/Logger.h" // Selene. #include <selene.h> // STD. #include <string> #include <sstream> #include <iostream> namespace { void logError(std::string message) { Logger::instance().logError(message); } void logMessage(std::string messag...
22.093923
106
0.623906
jefaramvangorp
d2ce1280b2cae351d4b55a37b9d3818586923786
3,200
hpp
C++
include/cex/filesystem.hpp
hispid/libcex
ddab6b73b04248249626a6800e4e79c878ccdc34
[ "MIT" ]
null
null
null
include/cex/filesystem.hpp
hispid/libcex
ddab6b73b04248249626a6800e4e79c878ccdc34
[ "MIT" ]
null
null
null
include/cex/filesystem.hpp
hispid/libcex
ddab6b73b04248249626a6800e4e79c878ccdc34
[ "MIT" ]
null
null
null
//************************************************************************* // File filesystem.hpp // Date 24.05.2018 - #1 // Copyright (c) 2018-2018 by Patrick Fial //------------------------------------------------------------------------- // Filesystem functions // Middleware that loads content from local filesystem...
36.363636
123
0.576875
hispid
d2d0e8cba63bce4c2e3241a519d3f2cef310734f
1,531
cpp
C++
cpp/arrayMisc/longestSubstrWoDupChar.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
null
null
null
cpp/arrayMisc/longestSubstrWoDupChar.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
null
null
null
cpp/arrayMisc/longestSubstrWoDupChar.cpp
locmpham/codingtests
3805fc98c0fa0dbee52e12531f6205e77b52899e
[ "MIT" ]
1
2021-07-09T19:13:11.000Z
2021-07-09T19:13:11.000Z
// // // Longest substring without duplicate chars. // // #include <iostream> #include <array> using namespace std; // Use a lastSeen table to record the last index of chars observed // // 1/ Scan thru the string, left->right, looks for char that we have seen previously // 2/ If found a dup, reset starting index ...
23.921875
92
0.598302
locmpham
d2d3edaec2892ace461bafbd8d3e35471eb7b935
1,115
cpp
C++
src/editor/sidemenu/IconHelper.cpp
yuxshao/pxtone-qt
2ff9e88a63730f576a2748c0a51f7fde3b161e3a
[ "MIT" ]
54
2020-06-20T19:04:59.000Z
2022-03-19T20:27:30.000Z
src/editor/sidemenu/IconHelper.cpp
yuxshao/pxtone-qt
2ff9e88a63730f576a2748c0a51f7fde3b161e3a
[ "MIT" ]
37
2020-06-18T15:06:01.000Z
2022-03-21T06:22:04.000Z
src/editor/sidemenu/IconHelper.cpp
yuxshao/pxtone-qt
2ff9e88a63730f576a2748c0a51f7fde3b161e3a
[ "MIT" ]
8
2020-11-18T02:19:41.000Z
2022-01-14T22:18:41.000Z
#include "IconHelper.h" #include <QApplication> #include <QPainter> #include <QPalette> void recolor(QPixmap &src, QColor color) { QImage srcImage = src.toImage(); const auto format = srcImage.hasAlphaChannel() ? QImage::Format_ARGB32_Premultiplied : QImage::Fo...
31.857143
84
0.699552
yuxshao
d2d9c77e56b4311bc0cea74ad1ad56c34bc72f44
1,874
hpp
C++
NeuralNetworkCode/src/Synapse/ExponentialCurrentSynapse.hpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
NeuralNetworkCode/src/Synapse/ExponentialCurrentSynapse.hpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
NeuralNetworkCode/src/Synapse/ExponentialCurrentSynapse.hpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
#ifndef EXPONENTIALCURRENTSYNAPSE #define EXPONENTIALCURRENTSYNAPSE #include <iostream> #include <vector> #include <random> #include <typeinfo> #include <valarray> #include "Synapse.hpp" #include "../NeuronPop/NeuronPop.hpp" #include "../GlobalFunctions.hpp" //*********************************************...
37.48
102
0.60619
SFB1089
d2dc0d294f653b1a6f51e6431fdafa2932dfc6e0
1,297
cpp
C++
src/Engine/Scene/DefaultLightManager.cpp
Yasoo31/Radium-Engine
e22754d0abe192207fd946509cbd63c4f9e52dd4
[ "Apache-2.0" ]
78
2017-12-01T12:23:22.000Z
2022-03-31T05:08:09.000Z
src/Engine/Scene/DefaultLightManager.cpp
neurodiverseEsoteric/Radium-Engine
ebebc29d889a9d32e0637e425e589e403d8edef8
[ "Apache-2.0" ]
527
2017-09-25T13:05:32.000Z
2022-03-31T18:47:44.000Z
src/Engine/Scene/DefaultLightManager.cpp
neurodiverseEsoteric/Radium-Engine
ebebc29d889a9d32e0637e425e589e403d8edef8
[ "Apache-2.0" ]
48
2018-01-04T22:08:08.000Z
2022-03-03T08:13:41.000Z
#include <Engine/Scene/DefaultLightManager.hpp> #include <Engine/RadiumEngine.hpp> namespace Ra { namespace Engine { namespace Scene { DefaultLightManager::DefaultLightManager() { m_data = std::make_unique<DefaultLightStorage>(); } const Scene::Light* DefaultLightManager::getLight( size_t li ) const { retur...
22.754386
71
0.659985
Yasoo31