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
c36fc3fa4469b7a0fea40fb2f91b89dea6a5fced
37
cpp
C++
out_sourced/plot.cpp
ipsch/kielflow
54f3ac1903b17bb3f14e67c3cbba341dff55158a
[ "Apache-2.0" ]
null
null
null
out_sourced/plot.cpp
ipsch/kielflow
54f3ac1903b17bb3f14e67c3cbba341dff55158a
[ "Apache-2.0" ]
null
null
null
out_sourced/plot.cpp
ipsch/kielflow
54f3ac1903b17bb3f14e67c3cbba341dff55158a
[ "Apache-2.0" ]
null
null
null
#include "plot.hpp"
1.947368
19
0.378378
ipsch
c371e05f58509a455f8bd6b3c0fd0d9fb487bf88
2,994
cpp
C++
CDFTester/DumpBuffer.cpp
cmarlin/cdf
5cb500030219b2b915d6c6f058456e56269f675f
[ "MIT" ]
null
null
null
CDFTester/DumpBuffer.cpp
cmarlin/cdf
5cb500030219b2b915d6c6f058456e56269f675f
[ "MIT" ]
null
null
null
CDFTester/DumpBuffer.cpp
cmarlin/cdf
5cb500030219b2b915d6c6f058456e56269f675f
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <cstdlib> #include "DumpBuffer.hpp" #include "tga.h" void dumpBufferUB(const char* filename, const uint8_t* _data, const int _width, const int _height) { uint8_t* outData = new uint8_t[_width * _height * sizeof(uint32_t)]; for(int j=0; j<_height; ++j) { for(int i=0; i<_width; ++i) ...
27.981308
104
0.664329
cmarlin
c372b2c3e8350def17dc24bd3138a8b26550064c
1,789
cpp
C++
ManyEmu/GameView.cpp
boucha05/ManyEmu
04828efdb3020e72e2a43f921b3e15c9e5f9b508
[ "MIT" ]
2
2015-12-08T04:35:00.000Z
2016-05-17T03:36:46.000Z
ManyEmu/GameView.cpp
boucha05/ManyEmu
04828efdb3020e72e2a43f921b3e15c9e5f9b508
[ "MIT" ]
null
null
null
ManyEmu/GameView.cpp
boucha05/ManyEmu
04828efdb3020e72e2a43f921b3e15c9e5f9b508
[ "MIT" ]
null
null
null
#include "GameSession.h" #include "GameView.h" GameView::GameView() { clear(); } void GameView::clear() { mGameSession = nullptr; mGraphics = nullptr; mTexture = nullptr; mTexSizeX = 0; mTexSizeY = 0; } void GameView::setGameSession(GameSession& gameSession, IGraphics& graphics, ITexture& tex...
25.927536
133
0.664617
boucha05
c3737027ce4385ab9668a9c8d1d8ca2da6fc68cc
16,753
cpp
C++
extension/sv_helper/SGA/SuffixTools/BWTAlgorithms.cpp
GenePlus/ncsv
f0f426ae4b64de86eee88518e3a1daf5718ce407
[ "Apache-2.0", "MIT" ]
1
2020-09-30T09:31:20.000Z
2020-09-30T09:31:20.000Z
extension/sv_helper/SGA/SuffixTools/BWTAlgorithms.cpp
GenePlus/ncsv
f0f426ae4b64de86eee88518e3a1daf5718ce407
[ "Apache-2.0", "MIT" ]
null
null
null
extension/sv_helper/SGA/SuffixTools/BWTAlgorithms.cpp
GenePlus/ncsv
f0f426ae4b64de86eee88518e3a1daf5718ce407
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // bwt_algorithms.cpp - Algorithms for aligning to a bwt structure // #include "BWTAlgorithms...
32.913556
142
0.618994
GenePlus
c3738137ba15be45171af20643eae482f9bfc227
2,250
cpp
C++
codes/HDU/hdu4610.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4610.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4610.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <ctime> #include <algorithm> using namespace std; const int maxn = 1e6; const int maxm = 1e3 + 5; const int mod = 1e9 + 7; const int inf = 0x3f3f3f3f; typedef long long ll; int cnt[maxn+5], sum[maxn+5], vis[maxn+5], val[20]; ll pow_mod...
16.071429
51
0.459556
JeraKrs
c374b72ea70fd5441e0a6cb4d926a1b4fb4a6af6
1,795
cpp
C++
src/caffe/MultiSolver.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
1
2017-01-04T03:35:46.000Z
2017-01-04T03:35:46.000Z
src/caffe/MultiSolver.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/MultiSolver.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
#include <boost/bind.hpp> #include <boost/make_shared.hpp> #include <vector> #include "caffe/internode/tree_cluster.hpp" #include "caffe/MultiSolver.hpp" namespace caffe { template <typename Dtype> MultiSolver<Dtype>::MultiSolver(shared_ptr<Solver<Dtype> > root_solver) : root_solver_(root_solver) , iter_size(root...
25.28169
71
0.618942
shayanshams66
c374bc1b536ee3d2764586d6d08f1052a9c174be
5,051
cxx
C++
Filters/vtkThickTubeFilter.cxx
djelouze/vtkKinship
49894f19fd402fb821c12ccd41e5da977f62473f
[ "Unlicense" ]
12
2018-05-04T08:32:05.000Z
2022-03-23T02:20:54.000Z
Filters/vtkThickTubeFilter.cxx
jeromevelut/vtkKinship
49894f19fd402fb821c12ccd41e5da977f62473f
[ "Unlicense" ]
3
2018-05-07T09:32:21.000Z
2018-10-19T08:21:03.000Z
Filters/vtkThickTubeFilter.cxx
djelouze/vtkKinship
49894f19fd402fb821c12ccd41e5da977f62473f
[ "Unlicense" ]
8
2018-05-25T09:22:19.000Z
2022-03-25T06:47:11.000Z
// Copyright (c) 2010, Jérôme Velut // 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 conditions and ...
39.155039
85
0.727975
djelouze
c37980e89f8ec2a697288e4bf5fcf14dc6046c28
7,934
cpp
C++
Tudat/Mathematics/GeometricShapes/geometricShapesToFile.cpp
JPelamatti/ThesisTUDAT
b94ce35fb7c8fa44ae83238e296a979dfa3adfe8
[ "BSD-3-Clause" ]
null
null
null
Tudat/Mathematics/GeometricShapes/geometricShapesToFile.cpp
JPelamatti/ThesisTUDAT
b94ce35fb7c8fa44ae83238e296a979dfa3adfe8
[ "BSD-3-Clause" ]
null
null
null
Tudat/Mathematics/GeometricShapes/geometricShapesToFile.cpp
JPelamatti/ThesisTUDAT
b94ce35fb7c8fa44ae83238e296a979dfa3adfe8
[ "BSD-3-Clause" ]
1
2019-05-30T03:42:22.000Z
2019-05-30T03:42:22.000Z
/* Copyright (c) 2010-2015, Delft University of Technology * 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 ...
42.202128
99
0.619738
JPelamatti
c37ace6ff0ae3718b097b05000b30d829cf43979
2,632
cpp
C++
codechef/SEPT17/SEACO.cpp
dhwanisanmukhani/competitive-coding
5392dea65b6ac370ac641c993120d7f252f5b1ac
[ "MIT" ]
null
null
null
codechef/SEPT17/SEACO.cpp
dhwanisanmukhani/competitive-coding
5392dea65b6ac370ac641c993120d7f252f5b1ac
[ "MIT" ]
null
null
null
codechef/SEPT17/SEACO.cpp
dhwanisanmukhani/competitive-coding
5392dea65b6ac370ac641c993120d7f252f5b1ac
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstdio> #include <string> using namespace std; #define icin(x) scanf("%d", &x) #define lcin(x) scanf("%lld", &x) typedef long long ll; const ll lint=1000000007; class SegmentTree{ private: struct Node{ ll l,r; ll data; ll lazy; Node(ll _l=0, ll _r=0,ll _data = 0...
22.117647
80
0.556611
dhwanisanmukhani
c37c02277589c2b0f4a543cee7b46b068a21aea4
3,666
cpp
C++
src/gpu/GrImageIDTextureAdjuster.cpp
lsalzman/moz-skia
e8acd45f8ab38780df2e99877acb1e0b5846ab2c
[ "Apache-2.0" ]
7
2016-01-12T23:32:32.000Z
2021-12-03T11:21:26.000Z
src/gpu/GrImageIDTextureAdjuster.cpp
lsalzman/moz-skia
e8acd45f8ab38780df2e99877acb1e0b5846ab2c
[ "Apache-2.0" ]
null
null
null
src/gpu/GrImageIDTextureAdjuster.cpp
lsalzman/moz-skia
e8acd45f8ab38780df2e99877acb1e0b5846ab2c
[ "Apache-2.0" ]
6
2015-12-09T14:00:19.000Z
2021-12-06T03:08:43.000Z
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrImageIDTextureAdjuster.h" #include "GrContext.h" #include "GrGpuResourcePriv.h" #include "SkBitmap.h" #include "SkGrPriv.h" #include "SkImage_Base.h" #include "Sk...
37.030303
93
0.671577
lsalzman
c37ee17aa3d1d4eaf7b58cf9c2a276230113daef
2,528
cpp
C++
logerr/src/LogStream.cpp
nholthaus/logerr
3dbf9f49a10d1f300c22adcbb03eb5716aba2873
[ "MIT" ]
3
2020-10-17T15:41:38.000Z
2021-02-14T02:18:39.000Z
logerr/src/LogStream.cpp
nholthaus/logerr
3dbf9f49a10d1f300c22adcbb03eb5716aba2873
[ "MIT" ]
null
null
null
logerr/src/LogStream.cpp
nholthaus/logerr
3dbf9f49a10d1f300c22adcbb03eb5716aba2873
[ "MIT" ]
null
null
null
//------------------------------ // INCLUDES //------------------------------ #include <LogStream.h> #include <ostream> thread_local std::string LogStream::m_string; //-------------------------------------------------------------------------------------------------- // LogStream () [] //-----------------------------...
30.829268
120
0.307358
nholthaus
c3806a5c708e1f63f769679f6c7c6f6f3f5fd2f3
1,581
cpp
C++
C++/Algorithms/SortingAlgorithms/mergeSortInPlace.cpp
sohamnandi77/AlgorithmsAndDataStructure
09c1c6aa54ef2683c15ef4d98256604b4b21e295
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Sorting/15. MergeSortInPlace.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Sorting/15. MergeSortInPlace.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
// * Complexity -> O(N*logN) // * Stable, In Place #include <iostream> using namespace std; void merge(int *a, int l, int m, int r) // * Complexity->O(n + m) { int mx = max(a[m], a[r]) + 1; int i = l, j = m + 1, k = l; while (i <= m && j <= r && k <= r) { // recover back original element to co...
21.08
70
0.41809
sohamnandi77
c3823fb00602a36c0f4da7a9b79163092cb6703c
4,387
cpp
C++
src/prod/test/TestCommon/TestConfigstore.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/test/TestCommon/TestConfigstore.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/test/TestCommon/TestConfigstore.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
27.248447
122
0.5783
AnthonyM
c38bf0ace687cfbdcaa6a59a78674a785d1c3242
812
hpp
C++
src/utilities/BracketMethod.hpp
kthr/fluid-registration
c51b71c3aace2c3822475335c5bcd1016031af0a
[ "MIT" ]
1
2021-07-29T00:59:13.000Z
2021-07-29T00:59:13.000Z
src/utilities/BracketMethod.hpp
kthr/fluid-registration
c51b71c3aace2c3822475335c5bcd1016031af0a
[ "MIT" ]
null
null
null
src/utilities/BracketMethod.hpp
kthr/fluid-registration
c51b71c3aace2c3822475335c5bcd1016031af0a
[ "MIT" ]
null
null
null
/* * BracketMethod.hpp * * Created on: Jul 20, 2012 * Author: kthierbach */ #ifndef BRACKETMETHOD_HPP_ #define BRACKETMETHOD_HPP_ #include "math.h" #include "Utilities.hpp" #include "ImageDifference.hpp" #define TINY (0.1e-12) class Bracketmethod { public: double ax, bx, cx, fa, fb, fc; void bracket...
21.945946
100
0.699507
kthr
c394b3e2b641a4da10dc25705874eca3f44ad9c7
2,256
cpp
C++
Src/lunaui/launcher/elements/buttons/pixbuttonsimple.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
Src/lunaui/launcher/elements/buttons/pixbuttonsimple.cpp
penk/luna-sysmgr
60c7056a734cdb55a718507f3a739839c9d74edf
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
Src/lunaui/launcher/elements/buttons/pixbuttonsimple.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
null
null
null
/* @@@LICENSE * * Copyright (c) 2011-2012 Hewlett-Packard Development Company, L.P. * * 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...
21.283019
102
0.742908
ericblade
c39d93b1d29eebeceb637289b27924511edf5b99
418
cpp
C++
08. Strings/findingduplicatesnaivemethod.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
2
2021-09-27T14:12:28.000Z
2021-09-28T03:35:46.000Z
08. Strings/findingduplicatesnaivemethod.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
2
2021-09-30T09:07:11.000Z
2021-10-17T18:42:34.000Z
08. Strings/findingduplicatesnaivemethod.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int duplicate(string name) { for (int i = 0; i < name.length()-1; i++) { for (int j = i+1; j < name.length(); j++) { if(name[i]==name[j]) { cout<<name[i]<<" Duplicate found"<<endl; } ...
16.72
56
0.437799
pratik8696
c39f6d56d7ac09ff61715e1f339cc8b528279a9a
33
hpp
C++
src/boost_lambda_core.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_lambda_core.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_lambda_core.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/lambda/core.hpp>
16.5
32
0.757576
miathedev
c39fa347eb0a350a2e0d1e703231ecb751484bd3
328
hpp
C++
source/reusable/stdlib/future.hpp
alf-p-steinbach/NPP-plugin-Empty-files-as-Unicode
aeae720140a1fc4aa4a18104e7a834ace2276875
[ "MIT" ]
13
2017-06-20T13:24:39.000Z
2018-02-27T08:49:17.000Z
source/future.hpp
alf-p-steinbach/Wrapped-stdlib
1280c3b68f30197549efd61af35ca57c477d59fe
[ "BSL-1.0" ]
null
null
null
source/future.hpp
alf-p-steinbach/Wrapped-stdlib
1280c3b68f30197549efd61af35ca57c477d59fe
[ "BSL-1.0" ]
1
2018-01-11T17:32:22.000Z
2018-01-11T17:32:22.000Z
#pragma once // Source encoding: utf-8 with BOM ∩ // #include <stdlib/future.hpp> // // Primitives for asynchronous computations. // Copyright © 2017 Alf P. Steinbach, distributed under Boost license 1.0. #include <stdlib/fix/msvc_wolfcalls_about_std_functions.hpp> #include <future> #include <stdlib/all/non_io_fix...
32.8
74
0.753049
alf-p-steinbach
c3a0b2a17c5f4bafeda5089a09e75ff62fcde645
4,071
cpp
C++
Source/PathFinding/Scene.cpp
VictorLeach96/PathFinding
da5333bf57aaf4d0197e6d45d3c01a6976d88be6
[ "MIT" ]
null
null
null
Source/PathFinding/Scene.cpp
VictorLeach96/PathFinding
da5333bf57aaf4d0197e6d45d3c01a6976d88be6
[ "MIT" ]
null
null
null
Source/PathFinding/Scene.cpp
VictorLeach96/PathFinding
da5333bf57aaf4d0197e6d45d3c01a6976d88be6
[ "MIT" ]
null
null
null
#include "Header.h" //Setup grid with default cells void Scene::SetupGrid() { //Loop through each grid cell for (int i=0; i<GRID_W; i++) { for (int z=0; z<GRID_H; z++) { //Create default grass node at grid cell PushNode(make_shared<Node>(Empty, newPoint(i, z))); } } } bool Scene::Updat...
23.396552
139
0.674527
VictorLeach96
c3a3e340c1646d4b1b2aff8df49be1773f2ad2e4
3,199
hpp
C++
src/mathCombinatorics/runtime_modint.hpp
today2098/algorithm
b180355635d3d1ea0a8c3dff40ae1c9bac636f95
[ "MIT" ]
null
null
null
src/mathCombinatorics/runtime_modint.hpp
today2098/algorithm
b180355635d3d1ea0a8c3dff40ae1c9bac636f95
[ "MIT" ]
null
null
null
src/mathCombinatorics/runtime_modint.hpp
today2098/algorithm
b180355635d3d1ea0a8c3dff40ae1c9bac636f95
[ "MIT" ]
null
null
null
#ifndef ALGORITHM_RUNTIME_MODINT_HPP #define ALGORITHM_RUNTIME_MODINT_HPP #include <cassert> #include <iostream> #include <utility> #include <vector> namespace algorithm { namespace runtime_modint { std::vector<int> mods({998'244'353, 1'000'000'007}); template <int id> class RuntimeModint { long long val; pub...
31.673267
105
0.589872
today2098
c3a4cce52cc2d22a1e38443687f368c7a1649ebb
15,229
cpp
C++
src/main.cpp
machinelevel/bens-game
e265d9a045426e71c86585503566e3572372f5a7
[ "MIT" ]
null
null
null
src/main.cpp
machinelevel/bens-game
e265d9a045426e71c86585503566e3572372f5a7
[ "MIT" ]
null
null
null
src/main.cpp
machinelevel/bens-game
e265d9a045426e71c86585503566e3572372f5a7
[ "MIT" ]
null
null
null
/**************************************************\ Release 1 Completion List //Finish translation pics Boss shots harm player? Skate park! x Detect or message for "Ordinal 11"? //Fix small texture button problem?? //Spawn health sooner? Or invincibility timer? //Power link? //Fly into port //permanent sc...
23.982677
122
0.605818
machinelevel
c3a4db4538c79df481827eaefb1c08ce979d0903
1,261
hpp
C++
src/Supreme.hpp
JRThimesch/Pizza-Shop
55f2268d492e40750b4d79d83b12e1f0c3f8a899
[ "MIT" ]
null
null
null
src/Supreme.hpp
JRThimesch/Pizza-Shop
55f2268d492e40750b4d79d83b12e1f0c3f8a899
[ "MIT" ]
null
null
null
src/Supreme.hpp
JRThimesch/Pizza-Shop
55f2268d492e40750b4d79d83b12e1f0c3f8a899
[ "MIT" ]
null
null
null
// File Name: Supreme.hpp // Author: Jonathan Thimesch // Student ID: D696H345 // Exam Number: 3 #include <cstdlib> #include <cstdio> #include <ostream> #include "Pizza.h" #ifndef SRC_SUPREME_HPP_ #define SRC_SUPREME_HPP_ class Supreme : public Pizza { private: PanSize panSize; bool initialize...
24.25
82
0.675654
JRThimesch
c3a8daf9a9ce88b093e362d946e8167b7a026fb8
10,714
cpp
C++
BoardGame/source/Board/Entity.cpp
tatjam/TinyEmpires
799d2557b17ede16527a7547c5effa65cfee4223
[ "MIT" ]
null
null
null
BoardGame/source/Board/Entity.cpp
tatjam/TinyEmpires
799d2557b17ede16527a7547c5effa65cfee4223
[ "MIT" ]
null
null
null
BoardGame/source/Board/Entity.cpp
tatjam/TinyEmpires
799d2557b17ede16527a7547c5effa65cfee4223
[ "MIT" ]
null
null
null
#include "Entity.h" sf::Vector2i Entity::getPosition() { return position; } bool Entity::setPosition(sf::Vector2i nPos, bool set) { Tile actual = owner->game->board->getTile(getPosition().x, getPosition().y); Tile newPos = owner->game->board->getTile(nPos.x, nPos.y); if (newPos.entityOnTop != NULL && newPos.en...
17.506536
128
0.621617
tatjam
c3a8ffb34f74d8693f3555d35fa330d076c2a205
378
cpp
C++
src/hardware_concurrency.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
19
2015-04-25T15:19:59.000Z
2022-02-28T03:00:42.000Z
src/hardware_concurrency.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
1
2016-01-28T08:50:02.000Z
2021-08-24T02:34:48.000Z
src/hardware_concurrency.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
7
2015-04-17T16:38:45.000Z
2021-06-25T03:39:39.000Z
#include <hardware_concurrency.hpp> #ifdef ENVIRONMENT_WINDOWS #include <windows.h> #else #include <unistd.h> #endif namespace MCPP { Word HardwareConcurrency () noexcept { #ifdef ENVIRONMENT_WINDOWS SYSTEM_INFO sysinfo; GetSystemInfo(&sysinfo); return sysinfo.dwNumberOfProcessors; #else r...
11.8125
39
0.722222
RobertLeahy
ce7b3a5a0998614514b98a01b5e9722ab99b4d33
716
cc
C++
example/demangle.cc
Leedehai/sblz
b6c39cf72ae71c68914d817a4c8801e78e6a3a18
[ "MIT" ]
1
2021-08-17T12:43:31.000Z
2021-08-17T12:43:31.000Z
example/demangle.cc
Leedehai/sblz
b6c39cf72ae71c68914d817a4c8801e78e6a3a18
[ "MIT" ]
null
null
null
example/demangle.cc
Leedehai/sblz
b6c39cf72ae71c68914d817a4c8801e78e6a3a18
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Leedehai. All rights reserved. // Use of this source code is governed under the LICENSE.txt file. // ----- // sblz::itanium::Demangle() just implements part of the demangling routine: // argument types are not extracted. #include <iostream> #include "sblz/sblz.h" int main(int argc, char* argv[]...
31.130435
79
0.657821
Leedehai
ce7b8c8122500bb176d414aeae00aa104a2130a9
3,824
hpp
C++
SysLib/Include/Pointer_Array.hpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
SysLib/Include/Pointer_Array.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
SysLib/Include/Pointer_Array.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Pointer_Array.hpp - array of indexed pointers //********************************************************* #ifndef POINTER_ARRAY_HPP #define POINTER_ARRAY_HPP #include "Data_Array.hpp" #include "Index_Array.hpp" //-----------------------------------------...
37.861386
105
0.556747
kravitz
ce7c39bf66b4daa4809aea5da575da1a884300b2
821
cpp
C++
1179.cpp
edufcarvalho/URI
99491ef0aed3bd25024873eac24256e7327a31ca
[ "MIT" ]
2
2020-09-17T01:31:20.000Z
2020-10-19T21:24:18.000Z
1179.cpp
edufcarvalho/URI
99491ef0aed3bd25024873eac24256e7327a31ca
[ "MIT" ]
1
2020-09-17T22:00:05.000Z
2020-09-30T07:21:47.000Z
1179.cpp
edufcarvalho/URI
99491ef0aed3bd25024873eac24256e7327a31ca
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> using namespace std; int main(void) { int i, j, tmp; vector <int> even, odd; for (i = 0; i < 15; i++) { scanf("%d", &tmp); if (tmp % 2 == 0) even.push_back(tmp); else odd.push_back(tmp); if (odd.size() == 5) { for (j = 0; j...
20.525
54
0.367844
edufcarvalho
ce7ce93ef0d203ed7e3708a9c236e5a0ab33df48
783
cpp
C++
examples/all.cpp
abainbridge/deadfrog-lib
42f1ac20eaef61356d8588ba8c99688cd3e85185
[ "MIT" ]
7
2016-07-06T14:20:00.000Z
2021-02-26T02:31:27.000Z
examples/all.cpp
abainbridge/deadfrog-lib
42f1ac20eaef61356d8588ba8c99688cd3e85185
[ "MIT" ]
1
2021-04-19T09:47:38.000Z
2021-04-19T14:17:29.000Z
examples/all.cpp
abainbridge/deadfrog-lib
42f1ac20eaef61356d8588ba8c99688cd3e85185
[ "MIT" ]
1
2020-07-11T14:13:55.000Z
2020-07-11T14:13:55.000Z
void AaPolyTestMain(); void BenchmarkMain(); void ColourWhirlMain(); void FluidMain(); void FractalFernMain(); void GasMain(); void HarmonographMain(); void HelloWorldMain(); void LatticeBoltzmannMain(); void MandelbrotMain(); void Sierpinski3DMain(); void StretchBlitMain(); void TestMain(); #ifdef _M...
20.076923
53
0.634738
abainbridge
ce7d68c759b3385d574710a7eb1fd6ac37a09868
2,381
cpp
C++
3fd/utils/asynchronous.cpp
faburaya/3fd
2fa0b57b9702902178c878fe3d317d55ec4cdc95
[ "MS-PL" ]
23
2017-04-23T08:32:55.000Z
2022-02-21T00:13:29.000Z
3fd/utils/asynchronous.cpp
faburaya/3fd
2fa0b57b9702902178c878fe3d317d55ec4cdc95
[ "MS-PL" ]
3
2018-10-16T23:02:50.000Z
2021-11-17T19:43:21.000Z
3fd/utils/asynchronous.cpp
faburaya/3fd
2fa0b57b9702902178c878fe3d317d55ec4cdc95
[ "MS-PL" ]
4
2018-08-01T13:24:41.000Z
2021-06-11T20:59:52.000Z
// // Copyright (c) 2020 Part of 3FD project (https://github.com/faburaya/3fd) // It is FREELY distributed by the author under the Microsoft Public License // and the observance that it should only be used for the benefit of mankind. // #include "pch.h" #include "concurrency.h" #include <3fd/core/exceptions.h> #include...
33.535211
129
0.545569
faburaya
ce889f1b06774cea68691ddfd614e68e57f175c8
5,961
cpp
C++
Gem/Code/Source/EntityLatticeTestComponent.cpp
Bindless-Chicken/o3de-atom-sampleviewer
13b11996079675445ce4e321f53c3ac79e01702d
[ "Apache-2.0", "MIT" ]
null
null
null
Gem/Code/Source/EntityLatticeTestComponent.cpp
Bindless-Chicken/o3de-atom-sampleviewer
13b11996079675445ce4e321f53c3ac79e01702d
[ "Apache-2.0", "MIT" ]
null
null
null
Gem/Code/Source/EntityLatticeTestComponent.cpp
Bindless-Chicken/o3de-atom-sampleviewer
13b11996079675445ce4e321f53c3ac79e01702d
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <EntityLatticeTestComponent.h> #include <Atom/Component/DebugCamera/NoClipControllerComp...
32.57377
123
0.653246
Bindless-Chicken
ce8973228b092bfc1c5f9fa319778b19df7c641a
717
cpp
C++
bl_gpi.cpp
jc19000/Acsedo_arduino_lib
ffbd8d5c7f5a3793730a28c4cb76fd8d4afc11cc
[ "MIT" ]
null
null
null
bl_gpi.cpp
jc19000/Acsedo_arduino_lib
ffbd8d5c7f5a3793730a28c4cb76fd8d4afc11cc
[ "MIT" ]
null
null
null
bl_gpi.cpp
jc19000/Acsedo_arduino_lib
ffbd8d5c7f5a3793730a28c4cb76fd8d4afc11cc
[ "MIT" ]
null
null
null
#include "bl_gpi.h" #include "ArduinoJson.h" BL_GPI::BL_GPI(int p_id,int p_period): BL_Interface(p_id,p_period) {} void BL_GPI::setup(const JsonVariant p_config) { DEBUG_PRINT("Start bl to gpi"); pin=p_config["pin"]; state=p_config["default"]; pinMode(pin, INPUT); } void BL_GPI::compute(){ state = digitalRea...
17.071429
51
0.665272
jc19000
ce8a7ddd903c2c94a44d8e573b18c0b9d76ae68c
1,405
cpp
C++
Source/Test2DPlatformer/PlatformerCameraActor.cpp
tanis2000/Unreal-Test2DPlatformer
0d9c22a71f1cd35d3f861285324e8a42205bd745
[ "MIT" ]
14
2017-09-10T16:04:05.000Z
2021-11-24T02:28:51.000Z
Source/Test2DPlatformer/PlatformerCameraActor.cpp
tanis2000/Unreal-Test2DPlatformer
0d9c22a71f1cd35d3f861285324e8a42205bd745
[ "MIT" ]
1
2021-04-13T23:00:43.000Z
2021-04-13T23:00:43.000Z
Source/Test2DPlatformer/PlatformerCameraActor.cpp
tanis2000/Unreal-Test2DPlatformer
0d9c22a71f1cd35d3f861285324e8a42205bd745
[ "MIT" ]
7
2016-10-23T21:38:23.000Z
2021-11-24T02:29:05.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "PlatformerCameraActor.h" #include "Test2DPlatformer.h" #include "PixelPerfectCameraComponent.h" #include "Components/SceneComponent.h" // Sets default values APlatformerCameraActor::APlatformerCameraActor() { // Create a dummy r...
32.674419
118
0.79573
tanis2000
ce901042624a69b6db526f677c5a293c1a06ffff
202
cc
C++
below2.1/fyi.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/fyi.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/fyi.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ string str; cin>>str; if(str[0]=='5'&&str[1]=='5'&&str[2]=='5'){ cout<<1; } else{ cout<<0; } return 0; }
14.428571
46
0.455446
danzel-py
ce95044b19b07f8b43df81396887d3ab79af7c7d
5,477
cpp
C++
compiler/codegen/ConstantLoadInsn.cpp
KavinduZoysa/nballerina
04b246d196909baa35164ddc33e0e2c48a448934
[ "Apache-2.0" ]
null
null
null
compiler/codegen/ConstantLoadInsn.cpp
KavinduZoysa/nballerina
04b246d196909baa35164ddc33e0e2c48a448934
[ "Apache-2.0" ]
null
null
null
compiler/codegen/ConstantLoadInsn.cpp
KavinduZoysa/nballerina
04b246d196909baa35164ddc33e0e2c48a448934
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/...
43.125984
118
0.685047
KavinduZoysa
ce9962605c95dd21c799217c4db5774de3b40bd3
1,081
cpp
C++
android-ndk-r10b/tests/device/test-stlport_static-exception/jni/rethrow6.cpp
perezite/Boost4Android
9ed03a45815aead156c129da1927cc04b8caa6a3
[ "BSL-1.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
android-ndk-r10b/tests/device/test-stlport_static-exception/jni/rethrow6.cpp
perezite/Boost4Android
9ed03a45815aead156c129da1927cc04b8caa6a3
[ "BSL-1.0" ]
null
null
null
android-ndk-r10b/tests/device/test-stlport_static-exception/jni/rethrow6.cpp
perezite/Boost4Android
9ed03a45815aead156c129da1927cc04b8caa6a3
[ "BSL-1.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// { dg-do run } // Testcase for proper handling of rethrow. #include <stdio.h> int c, d; int wrong; struct A { int i; A () { i = c++; printf ("A() %d\n", i); } A (const A&) { i = c++; printf ("A(const A&) %d\n", i); } ~A() { printf ("~A() %d\n", i); ++d; } }; struct B { ~B () { try { printf (...
14.038961
59
0.412581
perezite
ce9fde1796152b181d19af686c2bb604ab24716d
1,139
cpp
C++
src/m581expM.cpp
CardinalModules/TheXOR
910b76622c9100d9755309adf76542237c6d3a77
[ "CC0-1.0" ]
1
2021-12-12T22:08:23.000Z
2021-12-12T22:08:23.000Z
src/m581expM.cpp
CardinalModules/TheXOR
910b76622c9100d9755309adf76542237c6d3a77
[ "CC0-1.0" ]
null
null
null
src/m581expM.cpp
CardinalModules/TheXOR
910b76622c9100d9755309adf76542237c6d3a77
[ "CC0-1.0" ]
1
2021-12-12T22:08:29.000Z
2021-12-12T22:08:29.000Z
#include "../include/m581expM.hpp" void m581expM::process(const ProcessArgs &args) { int curStp = getStep(); if(curStp >= 0) { float v = inputs[IN_1+ curStp].getNormalVoltage(LVL_OFF); if(curStp != prevStep || v != prevVoltage) { outputs[OUT].setVoltage(v); prevStep=curStp; prevVoltage = v; } } } ...
25.886364
139
0.640913
CardinalModules
cea29200c5f9ff8fcf24d2e11c5f9b462ea291fa
129
cc
C++
Pods/gRPC-Core/src/core/ext/filters/client_channel/parse_address.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
Pods/gRPC-Core/src/core/ext/filters/client_channel/parse_address.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
Pods/gRPC-Core/src/core/ext/filters/client_channel/parse_address.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:27b0a1460f3d75d96fddbc104d9b723de245007c6370c3f61be0fa82f625bf8e size 7693
32.25
75
0.883721
MrsTrier
cea89ba7e094aece0bb5ef8137412dd65ee710fd
737
cpp
C++
Day07/smallestMissing.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
1
2022-03-31T13:49:46.000Z
2022-03-31T13:49:46.000Z
Day07/smallestMissing.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
null
null
null
Day07/smallestMissing.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; // Function to find first smallest positive missing number in the array int missingNumber(int A[], int n) { bool present[n+1]={false}; for(int i=0;i<n;i++){ if(A[i]>0 && A[i]<=n) present[A[i]]=true; } for(int i=1;i<=n;i++) if(!pr...
20.472222
71
0.485753
tejaswini212
ceac9a76142e1fa5e8e4a32214a41fbf2ca203f9
985
cpp
C++
Algorithms/Implementation/beautiful-triplets.cpp
shreyaschavhan/Hackerrank
34e16a2430ab18217d8b9b64f3053f6450bc420e
[ "MIT" ]
2
2020-10-10T09:58:57.000Z
2021-01-15T08:23:57.000Z
Algorithms/Implementation/beautiful-triplets.cpp
shreyaschavhan/Hackerrank
34e16a2430ab18217d8b9b64f3053f6450bc420e
[ "MIT" ]
null
null
null
Algorithms/Implementation/beautiful-triplets.cpp
shreyaschavhan/Hackerrank
34e16a2430ab18217d8b9b64f3053f6450bc420e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int beautifulTriplets(int d, vector<int> arr) { int countTriplets = 0; for(int i = 0; i < arr.size(); i++){ int k = arr[i]; int count = 0; for(int j = i+1; j < arr.size(); j++){ if(arr[j] - k == d){ // c...
22.386364
71
0.373604
shreyaschavhan
ceaf72541d57e8afb41288dbb988442ed954f738
13,782
cpp
C++
Source/AllProjects/CIDLib/CIDLib.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/CIDLib/CIDLib.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/CIDLib/CIDLib.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDLib.Cpp // // AUTHOR: Dean Roddey // // CREATED: 11/23/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://opensource.org/lic...
30.157549
97
0.645044
eudora-jia
ceb39a11e5d1f0beca26d92861f9c63cc88ab4aa
2,334
cpp
C++
clientplugin/HttpReceiver/FileManager/UploadFileHandleThread.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
1
2016-07-12T06:00:37.000Z
2016-07-12T06:00:37.000Z
clientplugin/HttpReceiver/FileManager/UploadFileHandleThread.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
null
null
null
clientplugin/HttpReceiver/FileManager/UploadFileHandleThread.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
2
2016-09-06T07:59:09.000Z
2020-12-12T03:25:24.000Z
#include "UploadFileHandleThread.h" #include "FileManagerLogHelper.h" #include <boost/filesystem.hpp> #include <fstream> CUploadFileHandleThread *CUploadFileHandleThread::s_pInstance = NULL; CUploadFileHandleThread *CUploadFileHandleThread::GetInstance() { if (NULL == s_pInstance) { s_pInstance = new ...
26.827586
140
0.658526
shrewdlin
ceb66d930fae544c44769f6149d954ae2d071d63
1,012,959
hpp
C++
code_blocks/virtual_account_editor/inlcude/va-editor-256x256.hpp
sokoliko/open-bo-api
ddcad19163532543ad13a0398f0b0119e55d4c3d
[ "MIT" ]
6
2020-02-09T06:40:03.000Z
2021-09-08T09:38:19.000Z
code_blocks/casino-bot/inlcude/va-editor-256x256.hpp
NewYaroslav/888casino-game-bot
3e3b84ab0ef903fd5d8825bad8cd8647f9435d84
[ "MIT" ]
3
2020-02-28T11:30:43.000Z
2020-06-05T12:50:33.000Z
code_blocks/casino-bot/inlcude/va-editor-256x256.hpp
NewYaroslav/888casino-game-bot
3e3b84ab0ef903fd5d8825bad8cd8647f9435d84
[ "MIT" ]
7
2020-03-24T22:31:25.000Z
2021-11-24T17:13:56.000Z
#ifndef VA_EDITOR_256X256_ICON_HPP_INCLUDED #define VA_EDITOR_256X256_ICON_HPP_INCLUDED static const struct { uint32_t width; uint32_t height; uint32_t bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */ uint8_t pixel_data[256 * 256 * 4 + 1]; } va_editor_256x256_icon = { 256, 256, 4, "\000\000\000\000\000\0...
98.556042
148
0.700789
sokoliko
cec1a638e19c3354c18b8afb2118b541fa6bb656
2,870
cpp
C++
Old/alac_Plugin/ALACInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
3
2022-01-05T08:47:51.000Z
2022-01-06T12:42:18.000Z
Old/alac_Plugin/ALACInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
null
null
null
Old/alac_Plugin/ALACInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
1
2022-01-06T16:12:58.000Z
2022-01-06T16:12:58.000Z
#include "stdafx.h" #include <wchar.h> #include "alacinfomanager.h" // actual class definition here CALACInfoManager::CALACInfoManager(void) { } CALACInfoManager::~CALACInfoManager(void) { } void CALACInfoManager::Destroy(void) { delete this; } unsigned long CALACInfoManager::GetNumExtensions(v...
21.578947
123
0.676655
Harteex
cec354b90186e6000d6e43210db0574ca8346ebf
143
cpp
C++
Lab12/Lab12/Curves.cpp
julia-lazariv/Labs-4
b71fc59806749863309a69f7d2cfd1dc7eaa92e6
[ "MIT" ]
null
null
null
Lab12/Lab12/Curves.cpp
julia-lazariv/Labs-4
b71fc59806749863309a69f7d2cfd1dc7eaa92e6
[ "MIT" ]
null
null
null
Lab12/Lab12/Curves.cpp
julia-lazariv/Labs-4
b71fc59806749863309a69f7d2cfd1dc7eaa92e6
[ "MIT" ]
null
null
null
// Curves.cpp #include "Curves.h" Curves::Curves(void) {} Curves::Curves(int x, int y) { this->x = x; this->y = y; } Curves::~Curves(void) {}
13
28
0.608392
julia-lazariv
cec5f89c7de8ab596affe756e242c076d46cbd46
1,352
hpp
C++
include/DaqNI.hpp
gadzooks00/HapEE-Control_Archive
3620d8713c96a60382578671825dddbf09c46be0
[ "MIT" ]
null
null
null
include/DaqNI.hpp
gadzooks00/HapEE-Control_Archive
3620d8713c96a60382578671825dddbf09c46be0
[ "MIT" ]
null
null
null
include/DaqNI.hpp
gadzooks00/HapEE-Control_Archive
3620d8713c96a60382578671825dddbf09c46be0
[ "MIT" ]
null
null
null
/* File: DaqNI.cpp ________________________________ Author(s): Zane Zook (gadzooks@rice.edu) This file defines the DaqNI class which holds all the lower level commands sent to the National Instruments DAQ used for this experiment set. This specific version is customized to work with the two ATI sensors hooked up to th...
26.509804
61
0.568047
gadzooks00
cec6eb774688e59fd2fe5503192755906c6c274b
473
cpp
C++
GoldmanSachs/15_array_pair_sum.cpp
ritikrajdev/revise_with_arsh
0cd6d414791cf8cc6f7c5488f1e3f5cce5581ac6
[ "MIT" ]
null
null
null
GoldmanSachs/15_array_pair_sum.cpp
ritikrajdev/revise_with_arsh
0cd6d414791cf8cc6f7c5488f1e3f5cce5581ac6
[ "MIT" ]
null
null
null
GoldmanSachs/15_array_pair_sum.cpp
ritikrajdev/revise_with_arsh
0cd6d414791cf8cc6f7c5488f1e3f5cce5581ac6
[ "MIT" ]
1
2022-01-11T06:37:01.000Z
2022-01-11T06:37:01.000Z
#include <bits/stdc++.h> using namespace std; class Solution { public: bool canPair(vector<int> nums, int k) { unordered_map<int, size_t> freq_map; for (auto num: nums) freq_map[num % k]++; if (freq_map[0] % 2 != 0) return false; for (int...
21.5
53
0.45666
ritikrajdev
cec8cc34e4b0fcf818eb2fc436ce7918e93c85f8
2,333
hxx
C++
include/osram/extractor/compressed_edge_container.hxx
ambasta/osram
5415b73292e1387fb1dbcab58296ea6fefab9075
[ "BSD-2-Clause" ]
1
2021-01-25T11:07:22.000Z
2021-01-25T11:07:22.000Z
include/osram/extractor/compressed_edge_container.hxx
ambasta/osram
5415b73292e1387fb1dbcab58296ea6fefab9075
[ "BSD-2-Clause" ]
null
null
null
include/osram/extractor/compressed_edge_container.hxx
ambasta/osram
5415b73292e1387fb1dbcab58296ea6fefab9075
[ "BSD-2-Clause" ]
null
null
null
#ifndef OSRAM_EXTRACTOR_COMPRESSED_EDGE_CONTAINER #define OSRAM_EXTRACTOR_COMPRESSED_EDGE_CONTAINER #include <memory> #include <osram/extractor/segment_data_container.hxx> #include <osram/util/typedefs.hxx> #include <unordered_map> #include <vector> namespace osram { namespace extractor { class CompressedEdgeContaine...
28.108434
79
0.781397
ambasta
cec9e6e8148c6249ae27b74acf2f5691aaea47e5
3,567
hpp
C++
libs/core/src/molphene/camera.hpp
janucaria/Molphene
e5374599512ff4400d04c7c16d79d3a111cc1911
[ "MIT" ]
3
2018-05-18T06:30:48.000Z
2018-09-01T13:59:58.000Z
libs/core/src/molphene/camera.hpp
janucaria/Molphene
e5374599512ff4400d04c7c16d79d3a111cc1911
[ "MIT" ]
null
null
null
libs/core/src/molphene/camera.hpp
janucaria/Molphene
e5374599512ff4400d04c7c16d79d3a111cc1911
[ "MIT" ]
null
null
null
#ifndef MOLPHENE_CAMERA_HPP #define MOLPHENE_CAMERA_HPP #include "m3d.hpp" namespace molphene { template<typename TConfig> class Camera { public: using size_type = typename type_configs<TConfig>::size_type; using float_type = typename type_configs<TConfig>::float_type; using vec3f = vec3<float_type>; usin...
21.359281
78
0.651808
janucaria
cecd844200c8e06f83ea968a2d1ed44edadbffc4
20
cc
C++
grammar-example/bad/bad014.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
grammar-example/bad/bad014.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
grammar-example/bad/bad014.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
int foo() return 1;
10
19
0.65
monadplus
cedf6156c3f9b656f30fa863fbf9fbe1fb76ad44
52,426
cpp
C++
unittest/angle_test.cpp
suomesta/ken3
edac96489d5b638dc4eff25454fcca1307ca86e9
[ "MIT" ]
null
null
null
unittest/angle_test.cpp
suomesta/ken3
edac96489d5b638dc4eff25454fcca1307ca86e9
[ "MIT" ]
null
null
null
unittest/angle_test.cpp
suomesta/ken3
edac96489d5b638dc4eff25454fcca1307ca86e9
[ "MIT" ]
null
null
null
/** * @file unittest/angle_test.cpp * @brief Testing ken3::angle using lest. * @author toda * @date 2018-02-13 * @version 0.1.0 * @remark the target is C++11 or more */ #include <tuple> #include "ken3/angle.hpp" #include "unittest/lest.hpp" namespace { // constants constexpr double pi = 3.141592653...
34.696228
89
0.433563
suomesta
cedfc0f5b4e4c66b8918388383efc73bbfeb032f
365
cpp
C++
hw5/Dip5/main.cpp
Dreamerryao/DIP
9e07d9344260e420dde6c821c8d3726f23a876dd
[ "MIT" ]
null
null
null
hw5/Dip5/main.cpp
Dreamerryao/DIP
9e07d9344260e420dde6c821c8d3726f23a876dd
[ "MIT" ]
null
null
null
hw5/Dip5/main.cpp
Dreamerryao/DIP
9e07d9344260e420dde6c821c8d3726f23a876dd
[ "MIT" ]
null
null
null
#include "bmp.h" const char* filepath1 = "./Data/cartoon.bmp"; const char* filepath2 = "./Data/Carimf2.bmp"; const char* filepath4 = "./Data/Carenh.bmp"; const char* filepath3 = "./Data/CarLap.bmp"; int main(){ BMPDATA* gray = readbmp(filepath1); MeanFilter(filepath2,gray); BMPDATA* gray2 = readbmp(filepath1); ...
21.470588
45
0.684932
Dreamerryao
cee0e1adb33790eb8edfb7db196893e44b539d34
7,600
cpp
C++
src/core/integer.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/core/integer.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/core/integer.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file integer.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2001-12-25 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/core/integer.h" #include "o3d/core/debug.h" using namespace o3d; // // Integer32 // Intege...
16.740088
74
0.482895
dream-overflow
cee5046df6812007145185ddb5464d46845b226d
7,902
cpp
C++
src/MdlViewer/main.cpp
nackdai/aten
6d8ca0ddbf4ea77a87b1b5506d43d3a910cf9fef
[ "MIT" ]
49
2018-02-04T07:13:52.000Z
2021-11-23T16:44:17.000Z
src/MdlViewer/main.cpp
nakdai/aten
f6de0840c1631bafbec3162da6a9af5767300e4d
[ "MIT" ]
11
2020-01-21T01:40:20.000Z
2022-02-06T08:14:34.000Z
src/MdlViewer/main.cpp
nakdai/aten
f6de0840c1631bafbec3162da6a9af5767300e4d
[ "MIT" ]
4
2018-10-28T22:19:27.000Z
2021-03-26T09:27:36.000Z
#include <cmdline.h> #include <imgui.h> #include "aten.h" #include "atenscene.h" #include "idaten.h" static const int WIDTH = 1280; static const int HEIGHT = 720; static const char* TITLE = "MdlViewer"; struct Options { std::string input; std::string anm; std::string mtrl; std::string texDir; }; st...
22.385269
74
0.564541
nackdai
cee5418ded6f38058685ed2fab6ae4dd493cbf24
3,698
cpp
C++
main.cpp
adlarkin/RRT_Star_CPP
f62684d93fcd60f3df1d89601960e2cce29b609c
[ "MIT" ]
2
2019-07-25T06:29:52.000Z
2021-02-12T08:08:42.000Z
main.cpp
adlarkin/RRT_Star_CPP
f62684d93fcd60f3df1d89601960e2cce29b609c
[ "MIT" ]
null
null
null
main.cpp
adlarkin/RRT_Star_CPP
f62684d93fcd60f3df1d89601960e2cce29b609c
[ "MIT" ]
1
2020-12-25T15:11:28.000Z
2020-12-25T15:11:28.000Z
#include <string> #include <iostream> #include "Planner/Planner.h" #include "Planner/DistancePlanner.h" #include "Planner/EnergyPlanner.h" #include "Utils/StringParser.h" enum PlannerType {DISTANCE, ENERGY}; // TODO find out how to see which included libraries are unused? (code cleanup) int main(int argc, char** arg...
38.926316
114
0.605192
adlarkin
cef220ae84d0e1628e079245cc978a6bafc66829
2,496
cpp
C++
week3/ex2/Canvas.cpp
alinaduca/CommandDefense
0d3bad3f14a85e1dcc03e81332b39a7e1c75f3fe
[ "MIT" ]
null
null
null
week3/ex2/Canvas.cpp
alinaduca/CommandDefense
0d3bad3f14a85e1dcc03e81332b39a7e1c75f3fe
[ "MIT" ]
null
null
null
week3/ex2/Canvas.cpp
alinaduca/CommandDefense
0d3bad3f14a85e1dcc03e81332b39a7e1c75f3fe
[ "MIT" ]
null
null
null
#include "Canvas.h" Canvas::Canvas(int width, int height) { this->nrLinii = height; this->nrColoane = width; Matrice = new char*[this->nrLinii]; for(int i = 0; i < this->nrLinii; i++) Matrice[i] = new char[this->nrColoane]; for(int i = 0; i < this->nrLinii; i++) for(int j = 0; j < ...
32
113
0.489583
alinaduca
cefd5542d69301958ae544c901a0cc4d72abd075
2,836
cpp
C++
src/Kernel/Color.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Kernel/Color.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Kernel/Color.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "Color.h" #include "ColorHelper.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// void Color::updateRGBA_() const { m_argb = Helper::makeRGBA( m_r, m_g, m_b, m_a ); if( m_argb == Detail::COLOR_IDENTITY_VALUE ) { ...
25.321429
78
0.301128
irov
cefe860da34584ce3601362ae12a5f4c4626c9df
495
cpp
C++
Standard Questions/Algebra/Fundamentals/Euclidean algorithm GCD/Codechef - GCD and LCM.cpp
Cuncis/codeWith-hacktoberfest
9cd5059e4d90b42fa9e12ba5ec8bf3f49c9e6c63
[ "MIT" ]
null
null
null
Standard Questions/Algebra/Fundamentals/Euclidean algorithm GCD/Codechef - GCD and LCM.cpp
Cuncis/codeWith-hacktoberfest
9cd5059e4d90b42fa9e12ba5ec8bf3f49c9e6c63
[ "MIT" ]
null
null
null
Standard Questions/Algebra/Fundamentals/Euclidean algorithm GCD/Codechef - GCD and LCM.cpp
Cuncis/codeWith-hacktoberfest
9cd5059e4d90b42fa9e12ba5ec8bf3f49c9e6c63
[ "MIT" ]
null
null
null
/* * File: Codechef - GCD and LCM * Algorithm: Euclidean algorithm GCD * Created Date: Tuesday July 21st 2020 * Author: preetam rane */ #include <bits/stdc++.h> using namespace std; long long gcd (long long a, long long b) { if (b == 0) return a; else return gcd (b, a % b); } int main(...
15.967742
42
0.517172
Cuncis
ceff2b08951ed6ca1151a36840cd95daa66a9387
636
hpp
C++
android-31/android/provider/MediaStore_Files.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/provider/MediaStore_Files.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/provider/MediaStore_Files.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" namespace android::net { class Uri; } class JString; namespace android::provider { class MediaStore_Files : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit MediaStore_Files(const char *className, const char *sig, Ts...a...
20.516129
157
0.70283
YJBeetle
3008bf743d662a13110f96a0c2d8dfc4445a9728
461
hpp
C++
lib/qos/qos_handler_factory.hpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
2
2019-09-08T11:59:05.000Z
2019-12-04T09:29:43.000Z
lib/qos/qos_handler_factory.hpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
11
2019-06-08T20:13:58.000Z
2019-12-17T12:03:01.000Z
lib/qos/qos_handler_factory.hpp
pmqtt/pmq
49f4b87c6c6dc5adfe7feab4ef3b2b73e0c435fb
[ "Apache-2.0" ]
2
2019-12-04T08:06:27.000Z
2021-06-03T21:24:40.000Z
// // Created by pmqtt on 2019-07-07. // #ifndef PMQ_QOS_HANDLER_FACTORY_HPP #define PMQ_QOS_HANDLER_FACTORY_HPP #include <lib/mqtt/mqtt_types.hpp> #include "qos_handler.hpp" namespace pmq { class qos_handler_factory { public: qos_handler_factory() = default; virtual ~qos_handler_factory() = d...
20.954545
83
0.713666
pmqtt
3008e7899e51000a951e12970e4be88207c85cbb
545
hpp
C++
dll/serialunix/libnserial/comptest/PrintError.hpp
jamescaldwell/SerialPortStream
d25bbf9f9d2f4f32e9f324b23771257d7e4b97d6
[ "MS-PL" ]
478
2016-02-13T14:57:51.000Z
2021-09-24T20:22:29.000Z
dll/serialunix/libnserial/comptest/PrintError.hpp
jamescaldwell/SerialPortStream
d25bbf9f9d2f4f32e9f324b23771257d7e4b97d6
[ "MS-PL" ]
125
2016-03-14T18:00:28.000Z
2021-10-20T15:03:59.000Z
dll/serialunix/libnserial/comptest/PrintError.hpp
jamescaldwell/SerialPortStream
d25bbf9f9d2f4f32e9f324b23771257d7e4b97d6
[ "MS-PL" ]
166
2016-03-05T17:54:14.000Z
2021-09-24T15:26:51.000Z
#ifndef PRINTERROR_HPP #define PRINTERROR_HPP #include <string.h> #include <errno.h> #include "nserial.h" class PrintError { public: PrintError(struct serialhandle *handle) : m_handle(handle) { } friend std::ostream &operator << (std::ostream &os, const PrintError &oe) { os << "; Device: " << serial_getdev...
21.8
75
0.638532
jamescaldwell
300c95621fd4916d3b88a0ae408c953473dc22e0
6,942
cpp
C++
sxaccelerate/src/ipc/tests/test-eventdata.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/ipc/tests/test-eventdata.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/ipc/tests/test-eventdata.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
#include <SxEventBus.h> #include <thread> #include <SxCLI.h> template<uint32_t event> SxEvent getEvent1 () { SxPtr<SxEventData> data = SxPtr<SxEventData>::create ("1"); data->setEventHash (event); SxEvent ev(data); return ev; } template<uint32_t event> SxEvent getEvent2 () { SxString str = "1"; int6...
28.567901
87
0.556468
ashtonmv
3010179654d5222a099294f3d8881471e8bcba1a
194
hpp
C++
IGLFramework/include/acq/impl/cloudManager.hpp
smartgeometry-ucl/compM080-compGV18
14b19caa94da4e2bb6a3fa8e545ec02c1ab39fc6
[ "MIT" ]
4
2018-01-21T17:20:58.000Z
2020-12-24T13:41:02.000Z
IGLFramework/include/acq/impl/cloudManager.hpp
smartgeometry-ucl/compM080-compGV18
14b19caa94da4e2bb6a3fa8e545ec02c1ab39fc6
[ "MIT" ]
null
null
null
IGLFramework/include/acq/impl/cloudManager.hpp
smartgeometry-ucl/compM080-compGV18
14b19caa94da4e2bb6a3fa8e545ec02c1ab39fc6
[ "MIT" ]
3
2018-12-12T15:48:21.000Z
2019-02-15T16:31:30.000Z
// // Created by bontius on 20/01/17. // #ifndef ACQ_CLOUDMANAGER_HPP #define ACQ_CLOUDMANAGER_HPP #include "acq/cloudManager.h" namespace acq { } //...ns acq #endif //ACQ_CLOUDMANAGER_HPP
12.933333
34
0.726804
smartgeometry-ucl
3013460b29e5c6e49a16b92bf8508445f9853dd6
329
cpp
C++
src/grasptargetondestoptask.cpp
CaffeMrDe/HsDualArmSolveMagicCube
0462a3594a84550abcee0ca8f31875688b097ded
[ "Apache-2.0" ]
null
null
null
src/grasptargetondestoptask.cpp
CaffeMrDe/HsDualArmSolveMagicCube
0462a3594a84550abcee0ca8f31875688b097ded
[ "Apache-2.0" ]
null
null
null
src/grasptargetondestoptask.cpp
CaffeMrDe/HsDualArmSolveMagicCube
0462a3594a84550abcee0ca8f31875688b097ded
[ "Apache-2.0" ]
null
null
null
#include "grasptargetondestoptask.h" graspTargetOnDestopTask::graspTargetOnDestopTask() { } void graspTargetOnDestopTask::init() { } void graspTargetOnDestopTask::startTask() { } void graspTargetOnDestopTask::stopTask() { } void graspTargetOnDestopTask::resetTask() { } void graspTargetOnDestopTask::printErro...
10.28125
50
0.765957
CaffeMrDe
30140cc0568cde0bae47bd6b6cfc152d35c91219
2,502
cpp
C++
src/utils/il2cpp-utils-exceptions.cpp
Metalit/beatsaber-hook
d9eed309cee7c3aca3da6c983f8787d2395c1713
[ "MIT" ]
null
null
null
src/utils/il2cpp-utils-exceptions.cpp
Metalit/beatsaber-hook
d9eed309cee7c3aca3da6c983f8787d2395c1713
[ "MIT" ]
null
null
null
src/utils/il2cpp-utils-exceptions.cpp
Metalit/beatsaber-hook
d9eed309cee7c3aca3da6c983f8787d2395c1713
[ "MIT" ]
null
null
null
#include "../../shared/utils/il2cpp-utils-exceptions.hpp" #include "../../shared/utils/il2cpp-functions.hpp" namespace il2cpp_utils { // Init all of the usable il2cpp API, if it has yet to be initialized // Maximum length of characters of an exception message - 1 #ifndef EXCEPTION_MESSAGE_SIE #define E...
44.678571
120
0.570344
Metalit
301b6de9417b5fd83e2cf145f2eb13aaee2fde02
1,453
cpp
C++
src/Interpreter.cpp
shuihan0555/Design-Patterns-in-Cpp17
1ced6fc3f437af03aa3f64240c1f43de758f43f5
[ "MIT" ]
99
2019-12-12T02:59:13.000Z
2022-03-22T06:08:32.000Z
src/Interpreter.cpp
shuihan0555/Design-Patterns-in-Cpp17
1ced6fc3f437af03aa3f64240c1f43de758f43f5
[ "MIT" ]
null
null
null
src/Interpreter.cpp
shuihan0555/Design-Patterns-in-Cpp17
1ced6fc3f437af03aa3f64240c1f43de758f43f5
[ "MIT" ]
27
2020-04-10T13:59:17.000Z
2022-03-20T09:59:29.000Z
#include <iostream> #include <memory> #include <string> #include <string_view> #include <utility> class Context { public: void SetMessage(std::string_view s) { s_ = s; } std::string_view Message() const { return s_; } private: std::string s_; }; class Expression { public: virtual bool Interpret(const Con...
23.063492
77
0.685478
shuihan0555
30237b677867f486169391a0dd864d0cc7f94946
745
cpp
C++
lib/GCOI/SEDREAMS.cpp
ForeverRainbow/speech-analysis
1758655b9202c1c17b06049396672bf4eb63f264
[ "MIT" ]
null
null
null
lib/GCOI/SEDREAMS.cpp
ForeverRainbow/speech-analysis
1758655b9202c1c17b06049396672bf4eb63f264
[ "MIT" ]
null
null
null
lib/GCOI/SEDREAMS.cpp
ForeverRainbow/speech-analysis
1758655b9202c1c17b06049396672bf4eb63f264
[ "MIT" ]
null
null
null
#include "gci_sedreams/gci_sedreams.h" #include "GCOI.h" using namespace Eigen; rpm::vector<GCOI::GIPair> GCOI::estimate_Sedreams(const ArrayXd & x, const double fs, const double meanF0) { const double meanT0 = 1.0 / meanF0; const auto & [ gci, goi ] = Sedreams::gci_sedreams(x, fs, meanT0); rpm::ve...
23.28125
108
0.52349
ForeverRainbow
30277190983bb869d6fe7dc167ff6dcfa0770275
3,854
cpp
C++
src/Core/Array.cpp
equalent/proef
c785eea6c7eaec0f71cff42c30588e32bc28a6f3
[ "MIT" ]
null
null
null
src/Core/Array.cpp
equalent/proef
c785eea6c7eaec0f71cff42c30588e32bc28a6f3
[ "MIT" ]
null
null
null
src/Core/Array.cpp
equalent/proef
c785eea6c7eaec0f71cff42c30588e32bc28a6f3
[ "MIT" ]
null
null
null
/* * Proef * * Copyright (c) Andrey Tsurkan * * MIT License * * 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, cop...
27.528571
93
0.701868
equalent
3028429a020204567aca6a3b0116963f6233eb68
8,132
hpp
C++
tool/metadata_header.hpp
Bjoe/tinyrefl
b7296be55e75024289fe11e2d696d4227fc09f0b
[ "MIT" ]
241
2018-05-10T14:27:04.000Z
2022-03-26T10:38:04.000Z
tool/metadata_header.hpp
Bjoe/tinyrefl
b7296be55e75024289fe11e2d696d4227fc09f0b
[ "MIT" ]
1
2019-08-03T17:40:28.000Z
2019-08-20T13:08:54.000Z
tool/metadata_header.hpp
Bjoe/tinyrefl
b7296be55e75024289fe11e2d696d4227fc09f0b
[ "MIT" ]
15
2018-05-10T17:34:24.000Z
2022-01-20T23:02:44.000Z
R"========( #ifndef TINYREFL_API_CODEGEN_VERSION_MAJOR #error "TINYREFL_API_CODEGEN_VERSION_MAJOR macro not found. API backends must define this macro with the generated code major version they support" #endif // TINYREFL_API_CODEGEN_VERSION_MAJOR #ifndef TINYREFL_API_CODEGEN_VERSION_MINOR #error "TINYREFL_AP...
58.085714
194
0.795991
Bjoe
6f7e80424393719e282d0581702902c8c1422c5b
1,585
cpp
C++
tools/jsoncons/tests/src/error_recovery_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
476
2018-09-07T01:27:11.000Z
2022-03-21T05:16:50.000Z
tools/jsoncons/tests/src/error_recovery_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
594
2018-09-06T02:03:01.000Z
2022-03-23T19:18:26.000Z
tools/jsoncons/tests/src/error_recovery_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
349
2018-09-06T05:02:09.000Z
2022-03-12T11:07:17.000Z
// Copyright 2013 Daniel Parker // Distributed under Boost license #ifdef __linux__ #define BOOST_TEST_DYN_LINK #endif #include <boost/test/unit_test.hpp> #include <jsoncons/json.hpp> #include <jsoncons/json_serializer.hpp> #include <jsoncons/json_reader.hpp> #include <sstream> #include <vector> #include <utility> #...
18.011364
72
0.645426
SheldonHH
6f7eba58ecaee81c0bfb759e4c73a38a68e9f5ad
1,433
cpp
C++
ex2.cpp
Lemon-cmd/DeepPP-Learning
1211c1400eb04d1c689a4d876b3cb3e727184809
[ "MIT" ]
1
2021-01-07T19:21:58.000Z
2021-01-07T19:21:58.000Z
ex2.cpp
Lemon-cmd/DeepPP-Learning
1211c1400eb04d1c689a4d876b3cb3e727184809
[ "MIT" ]
null
null
null
ex2.cpp
Lemon-cmd/DeepPP-Learning
1211c1400eb04d1c689a4d876b3cb3e727184809
[ "MIT" ]
null
null
null
#include "./include/dpp/core.hpp" using namespace dpp; #define L std::unique_ptr<Layer> #define dim2d Eigen::DSizes<ptrdiff_t, 2> #define dim3d Eigen::DSizes<ptrdiff_t, 3> int main() { //A class for parsing a corpus //ParseText<50, 50> corpus ("./data/sly_fox.txt"); // you can create a model and manually add...
34.119048
134
0.673412
Lemon-cmd
6f827f13544e6c2d1f8eff697d6bd3aa5818bf00
536
cpp
C++
scaleExpressionParser.cpp
10110111/asterixInspector
0451a49f0e9c4324052e4270461df5c2012a733e
[ "BSD-3-Clause" ]
3
2020-12-23T01:31:42.000Z
2021-12-10T10:23:02.000Z
scaleExpressionParser.cpp
10110111/asterixInspector
0451a49f0e9c4324052e4270461df5c2012a733e
[ "BSD-3-Clause" ]
null
null
null
scaleExpressionParser.cpp
10110111/asterixInspector
0451a49f0e9c4324052e4270461df5c2012a733e
[ "BSD-3-Clause" ]
3
2019-04-26T06:08:13.000Z
2022-03-01T16:49:07.000Z
/* * This application is free software and is released under the terms of * the BSD license. See LICENSE file for details. * * Copyright (c) 2010 Volker Poplawski (volker@openbios.org) */ #include "scaleExpressionParser.h" extern double parseScaleExpression(const QString& expression, bool& error); QString Scale...
22.333333
75
0.774254
10110111
6f89a97e2f44f52221610c9c16b9e3048911a1e4
78,682
cpp
C++
fallen/Editor/Source/PaintTab.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
188
2017-05-20T03:26:33.000Z
2022-03-10T16:58:39.000Z
fallen/Editor/Source/PaintTab.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
7
2017-05-28T14:28:13.000Z
2022-01-09T01:47:38.000Z
fallen/Editor/Source/PaintTab.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
43
2017-05-20T07:31:32.000Z
2022-03-09T18:39:35.000Z
// Guy Simmons // 20th February 1997. //eaworldhq@eahq-exchange.ea.com #include "Editor.hpp" #include "c:\fallen\headers\game.h" #include "c:\fallen\headers\animtmap.h" #include "c:\fallen\ddlibrary\headers\tga.h" #include "c:\fallen\headers\memory.h" #define SET_TEXTURE_COORDS texture_x=TextureX;if(texture_x>(256...
22.239118
222
0.618159
jordandavidson
6f8acfb089a3a5645c20e3d7dbfcdf79e197d1de
3,162
cpp
C++
src/display/src/Sprite.cpp
projectitis/mac
ea3d23f3352f6e193f23ffb7e3f296f4485e8501
[ "MIT" ]
1
2022-03-26T22:10:18.000Z
2022-03-26T22:10:18.000Z
src/display/src/Sprite.cpp
projectitis/mac
ea3d23f3352f6e193f23ffb7e3f296f4485e8501
[ "MIT" ]
52
2021-05-26T08:10:45.000Z
2022-03-30T07:23:51.000Z
src/display/src/Sprite.cpp
projectitis/mac
ea3d23f3352f6e193f23ffb7e3f296f4485e8501
[ "MIT" ]
null
null
null
/** * GUI library for "mac/μac" * Author: Peter "Projectitis" Vullings <peter@projectitis.com> * Distributed under the MIT licence **/ #include "../Sprite.h" /** * mac (or μac) stands for "Microprocessor App Creator" * mac is a project that enables creating beautiful and useful apps on the * Teensy microproce...
25.095238
114
0.657812
projectitis
6f8bfc8358f522da8bb1e601b70e4061f6160d0f
577
cpp
C++
src/Component.cpp
mariusvn/turbo-engine
63cc2b76bc1aff7de9655916553a03bd768f5879
[ "MIT" ]
2
2021-02-12T13:05:02.000Z
2021-02-22T14:25:00.000Z
src/Component.cpp
mariusvn/turbo-engine
63cc2b76bc1aff7de9655916553a03bd768f5879
[ "MIT" ]
null
null
null
src/Component.cpp
mariusvn/turbo-engine
63cc2b76bc1aff7de9655916553a03bd768f5879
[ "MIT" ]
null
null
null
#include <turbo/Component.hpp> namespace turbo { Component::Component(GameObject* parent): gameObject(parent) {} void Component::disable() { if (this->enabled == true) { this->enabled = false; this->on_disable(); } } void Component::enable() { if (this...
19.896552
67
0.528596
mariusvn
6f8ead8526abad0fc1fa817aa0d0dbfc9285ef6b
1,337
cpp
C++
gameObjects/GameObject.cpp
streusselhirni/HF-ICT_GUI_Game-Pokemon
a260fd8088b3c1ef69a7d197d8de3448459341ba
[ "MIT" ]
null
null
null
gameObjects/GameObject.cpp
streusselhirni/HF-ICT_GUI_Game-Pokemon
a260fd8088b3c1ef69a7d197d8de3448459341ba
[ "MIT" ]
null
null
null
gameObjects/GameObject.cpp
streusselhirni/HF-ICT_GUI_Game-Pokemon
a260fd8088b3c1ef69a7d197d8de3448459341ba
[ "MIT" ]
null
null
null
#include <QString> #include <QPainter> #include <QImage> #include "GameObject.h" GameObject::GameObject(int x, int y, const QString &imgPath, int width) : x(x), y(y), width(width) { this->movie = nullptr; this->img = QImage(imgPath); } GameObject::GameObject(int x, int y, int width, QMovie *movie, int movieSp...
23.051724
107
0.641735
streusselhirni
6f9132e101698d3fd4d91960670ce059d9cc47da
3,001
cpp
C++
Plugins/org.commontk.plugingenerator.ui/ctkPluginGeneratorAbstractUiExtension.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
515
2015-01-13T05:42:10.000Z
2022-03-29T03:10:01.000Z
Plugins/org.commontk.plugingenerator.ui/ctkPluginGeneratorAbstractUiExtension.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
425
2015-01-06T05:28:38.000Z
2022-03-08T19:42:18.000Z
Plugins/org.commontk.plugingenerator.ui/ctkPluginGeneratorAbstractUiExtension.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
341
2015-01-08T06:18:17.000Z
2022-03-29T21:47:49.000Z
/*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the ...
24.008
86
0.734089
kraehlit
6f93bb31b063e56b182560e5a270899e4605c473
665
cpp
C++
src/SpriteManager.cpp
fabiosarts/DVD-Screensaver
6614fc63289a6fd1d2d35a71a99a5c4e555c3a57
[ "MIT" ]
null
null
null
src/SpriteManager.cpp
fabiosarts/DVD-Screensaver
6614fc63289a6fd1d2d35a71a99a5c4e555c3a57
[ "MIT" ]
null
null
null
src/SpriteManager.cpp
fabiosarts/DVD-Screensaver
6614fc63289a6fd1d2d35a71a99a5c4e555c3a57
[ "MIT" ]
null
null
null
#include "SpriteManager.hpp" SpriteManager::SpriteManager() { monitorRects = new MonitorRects(); for (unsigned int i = 0u; i < monitorRects->rcMonitors.size(); i++) { sprites.push_back(new Sprite(monitorRects->rcMonitors.at(i))); } } SpriteManager::~SpriteManager() { while (!sprites.empty()) { delete sprit...
17.972973
68
0.666165
fabiosarts
6f94234c830da3f98c4f659036905425f680dd9a
21,802
cpp
C++
lib/params/Transform3d.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/params/Transform3d.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/params/Transform3d.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
// // $Id$ // // File: Transform3d.cpp // // Author: Kenny Gruchalla // National Renewable Energy Laboratory // // Description: Class to read and write 3d transformations // // #include "Transform3d.h" #include <string> #include <iostream> #include <fstream> #include <sstream> using namespace VAPoR; //===...
29.542005
88
0.398541
yyr
6f953d431e06dbd4228c72b8ed9655ce914d0f23
1,362
cpp
C++
src/srcReader.cpp
anippuleti/lox
9d3bfaf95a1a71e23b6dc2f6f9f0488a507d52bd
[ "MIT" ]
null
null
null
src/srcReader.cpp
anippuleti/lox
9d3bfaf95a1a71e23b6dc2f6f9f0488a507d52bd
[ "MIT" ]
null
null
null
src/srcReader.cpp
anippuleti/lox
9d3bfaf95a1a71e23b6dc2f6f9f0488a507d52bd
[ "MIT" ]
null
null
null
#include "srcReader.h" lox::SrcReader::SrcReader(fs::path const& rfile): m_rdStrm(rfile), m_rdline(), m_pos(m_rdline.cend()), m_line_pos{0, 0}, m_lnGapCnt{0}, m_isEOF{false} { if (fs::is_empty(rfile)) { m_isEOF = true; } else { readLine(); } } void lox::SrcReader::readLine() { ...
20.029412
73
0.606461
anippuleti
6f99d62c82838dad9298fe911a9115a01cc2197c
3,595
cpp
C++
src/Engine/TestParticle.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Engine/TestParticle.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Engine/TestParticle.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
// // Created by Noe TONIOLO on 2019-07-17. // #include "TestParticle.hpp" #include "Particle/ParticleModule/ModuleAttractor.hpp" #include "Particle/ParticleModule/ModuleColor.hpp" #include "Particle/ParticleModule/ModuleMeshParticulizer.hpp" #include "Particle/ParticleModule/ModuleMoveToTarget.hpp" #include "Particle...
35.594059
104
0.732684
Jino42
6f9cee016f619b181742cd9b0bd779097fd4d304
549
cpp
C++
kernelmode/kernel_socket_server/main.cpp
Randshot/r6s-external-nuklear-socket
3b3fb4ab5011e9031b12b07b64a18c2072ba492a
[ "MIT" ]
null
null
null
kernelmode/kernel_socket_server/main.cpp
Randshot/r6s-external-nuklear-socket
3b3fb4ab5011e9031b12b07b64a18c2072ba492a
[ "MIT" ]
null
null
null
kernelmode/kernel_socket_server/main.cpp
Randshot/r6s-external-nuklear-socket
3b3fb4ab5011e9031b12b07b64a18c2072ba492a
[ "MIT" ]
2
2019-10-26T22:11:10.000Z
2019-10-28T10:35:55.000Z
#include "log.h" extern void NTAPI server_thread(void*); extern "C" NTSTATUS DriverEntry( PDRIVER_OBJECT driver_object, PUNICODE_STRING registry_path ) { KeEnterGuardedRegion(); UNREFERENCED_PARAMETER(driver_object); UNREFERENCED_PARAMETER(registry_path); PWORK_QUEUE_ITEM WorkItem = (PWORK_QUEU...
22.875
102
0.781421
Randshot
6fa69e49e582e572c2a3129b791b4eef9cf03025
8,069
cpp
C++
model.cpp
salvato/Buggy
ab897fd59c279cbda6a26beacfb6b636e1aff566
[ "Unlicense" ]
null
null
null
model.cpp
salvato/Buggy
ab897fd59c279cbda6a26beacfb6b636e1aff566
[ "Unlicense" ]
null
null
null
model.cpp
salvato/Buggy
ab897fd59c279cbda6a26beacfb6b636e1aff566
[ "Unlicense" ]
null
null
null
#include <model.h> #include <QVector3D> #include <QVector2D> #include <QImage> unsigned int TextureFromFile(const QString &path, const QString &directory, bool gamma) { Q_UNUSED(gamma) QString filename = QString(path); filename = directory + '/' + filename; unsigned int textureID; glGenTextures...
36.511312
163
0.598215
salvato
6fa7381156e5e76fb50aa0bdd678fc5b714932fa
531
cpp
C++
June-2020/Day-25.cpp
khushi-411/LeetCode
8c6467551e2e208f57daefe8eccf4e4eb357944d
[ "MIT" ]
null
null
null
June-2020/Day-25.cpp
khushi-411/LeetCode
8c6467551e2e208f57daefe8eccf4e4eb357944d
[ "MIT" ]
null
null
null
June-2020/Day-25.cpp
khushi-411/LeetCode
8c6467551e2e208f57daefe8eccf4e4eb357944d
[ "MIT" ]
null
null
null
/* Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive. * There is only one repeated number in nums, return this repeated number. */ class Solution { public: int findDuplicate(vector<int>& nums) { std::sort(nums.begin(), nums.end()); int k;...
25.285714
113
0.502825
khushi-411
6faba55396a11d16893d48b691000f023c4e38d4
110
cpp
C++
hw01/main.cpp
WUST-mengqinyu/course
661cc7f630f85c6aa960c17e39165b27a1ad3bcc
[ "CC0-1.0" ]
null
null
null
hw01/main.cpp
WUST-mengqinyu/course
661cc7f630f85c6aa960c17e39165b27a1ad3bcc
[ "CC0-1.0" ]
null
null
null
hw01/main.cpp
WUST-mengqinyu/course
661cc7f630f85c6aa960c17e39165b27a1ad3bcc
[ "CC0-1.0" ]
null
null
null
#include "rainbow.h" #include "mandel.h" int main() { test_rainbow(); test_mandel(); return 0; }
12.222222
20
0.6
WUST-mengqinyu
6fb200d7bf38a4e4f591f37a1958851e4e413b89
3,455
cpp
C++
e20210021_Hako2/Hako2/Hako2/CommonEffect.cpp
soleil-taruto/Henrietta
b6979a8e0e49829a9b1ca42dc41194db66cbe298
[ "MIT" ]
null
null
null
e20210021_Hako2/Hako2/Hako2/CommonEffect.cpp
soleil-taruto/Henrietta
b6979a8e0e49829a9b1ca42dc41194db66cbe298
[ "MIT" ]
null
null
null
e20210021_Hako2/Hako2/Hako2/CommonEffect.cpp
soleil-taruto/Henrietta
b6979a8e0e49829a9b1ca42dc41194db66cbe298
[ "MIT" ]
null
null
null
#include "all.h" typedef struct CommonEffect_st { int Frame; int PicId; CommonEffectExtra_t Extra; double X; double Y; double R; double Z; double A; double XAdd; double YAdd; double RAdd; double ZAdd; double AAdd; double XAdd2; double YAdd2; double RAdd2; double ZAdd2; double AAdd2; int OutOfScreenF...
18.37766
75
0.654993
soleil-taruto
6fb859759d48bbdb6ebd8292d278ecb2a6759af9
73,554
cpp
C++
src/BwtMapper.cpp
Griffan/FASTQuick
446b9a7c7b41c95cf1f221f1ab4900e1ded0d9a9
[ "MIT" ]
24
2015-03-10T17:45:00.000Z
2021-12-02T00:47:45.000Z
src/BwtMapper.cpp
Griffan/FastPopCon
446b9a7c7b41c95cf1f221f1ab4900e1ded0d9a9
[ "MIT" ]
6
2015-09-29T16:38:24.000Z
2021-04-30T06:11:05.000Z
src/BwtMapper.cpp
Griffan/FastPopCon
446b9a7c7b41c95cf1f221f1ab4900e1ded0d9a9
[ "MIT" ]
6
2015-09-29T04:50:19.000Z
2021-12-11T19:19:36.000Z
#include "BwtMapper.h" #include "../VerifyBamID/Random.h" #include "../libbwa/bwape.h" #include "../libbwa/bwase.h" #include "../libbwa/bwtgap.h" #include "../libbwa/khash.h" #include "Error.h" #include <algorithm> #include <iostream> #include <stdio.h> #include <time.h> #include "Version.h" #include "ctpl_stl.h" //#...
34.195258
222
0.536531
Griffan
6fc6a804d0988fdf27191cb8a25286ac520c5ac2
549
cpp
C++
cpp/1001-10000/1281-1290/Remove Covered Intervals.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/1001-10000/1281-1290/Remove Covered Intervals.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/1001-10000/1281-1290/Remove Covered Intervals.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: int removeCoveredIntervals(vector<vector<int>>& intervals) { int ans = intervals.size(); sort(intervals.begin(), intervals.end()); int left = intervals[0][0]; int right = intervals[0][1]; for (int i = 1; i < intervals.size(); i++) { int l ...
27.45
64
0.449909
KaiyuWei
6fcda74fda182bdc15a6ba6b6ea2a432bd7a10eb
77
cpp
C++
Lesson 06/LinkErr2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
Lesson 06/LinkErr2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
Lesson 06/LinkErr2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
#include <stdio.h> void Function(); int main() { Function(); return 0; }
7.7
18
0.61039
noenemy
6fcee888c8890c22ddc1032c50304138ecc4ff2a
7,742
cc
C++
sfdb/proto/field_path.cc
ipr0/sfdb
1d4b96adf41324a399dbee30c804c35d4f1eecdd
[ "Apache-2.0" ]
5
2020-03-21T19:41:00.000Z
2022-03-09T20:24:02.000Z
sfdb/proto/field_path.cc
ipr0/sfdb
1d4b96adf41324a399dbee30c804c35d4f1eecdd
[ "Apache-2.0" ]
9
2020-03-24T22:22:44.000Z
2022-02-27T01:31:34.000Z
sfdb/proto/field_path.cc
ipr0/sfdb
1d4b96adf41324a399dbee30c804c35d4f1eecdd
[ "Apache-2.0" ]
2
2020-03-25T22:55:48.000Z
2020-04-26T14:35:41.000Z
/* * Copyright (c) 2019 Google LLC. * * 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 copyright ownership. The ASF licenses this file * to you under the Apache License,...
35.677419
80
0.676182
ipr0
6fd208a6dd7c3a1ce6ef7c2124a388ba9cb276c6
639
cpp
C++
example06_multipleObjects/Bui/Microphone.cpp
Cindytb/optix7course
b77c6de9677722fa415080ae555090d7b28b8a1a
[ "Apache-2.0" ]
null
null
null
example06_multipleObjects/Bui/Microphone.cpp
Cindytb/optix7course
b77c6de9677722fa415080ae555090d7b28b8a1a
[ "Apache-2.0" ]
null
null
null
example06_multipleObjects/Bui/Microphone.cpp
Cindytb/optix7course
b77c6de9677722fa415080ae555090d7b28b8a1a
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Microphone.h" Microphone::Microphone(){ Microphone({0, 0, 0}, {0, 0, 0}, 256); } Microphone::Microphone(float3 pos){ Microphone(pos, {0, 0, 0}, 256); } Microphone::Microphone(float3 pos, float3 orientation, int frames_per_buffer) : m_frames_per_buffer(frames_p...
22.821429
90
0.633803
Cindytb
6fd31c0ca2934c724a367da36bca4c367eef3a7d
6,121
hpp
C++
source/include/coffee/basis/pattern/backtracking/TreeNode.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/basis/pattern/backtracking/TreeNode.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/basis/pattern/backtracking/TreeNode.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com) // // 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 limitatio...
30.758794
115
0.686326
ciscoruiz
6fd341a3e67c8a6fe44937cab70710857b9bec04
16,865
cpp
C++
library/state/dainty_state_coffee_machine.cpp
kieme/dainty_examples
a6be5da428b9fa4efa52a917e60b88ce337e391a
[ "MIT" ]
null
null
null
library/state/dainty_state_coffee_machine.cpp
kieme/dainty_examples
a6be5da428b9fa4efa52a917e60b88ce337e391a
[ "MIT" ]
null
null
null
library/state/dainty_state_coffee_machine.cpp
kieme/dainty_examples
a6be5da428b9fa4efa52a917e60b88ce337e391a
[ "MIT" ]
null
null
null
#include <assert.h> #include <iostream> #include "dainty_state.h" namespace coffee_vending_machine { ///////////////////////////////////////////////////////////////////////////////////////// enum timeout_id { POUR_SMALL_T_, POUR_MEDIUM_T_, POUR_LARGE_T_, TEST_TEMP_T_, EXPIRE_T_ }; enum select_id { SMALL_, MED...
36.90372
115
0.410258
kieme
6fd6c2741196eae6491c63ada6f6cb6e5083580d
3,845
cc
C++
test/chrono/clock_test.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
test/chrono/clock_test.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
test/chrono/clock_test.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
// #include <abel/chrono/clock.h> #include <abel/base/profile.h> #if defined(ABEL_HAVE_ALARM) #include <signal.h> #include <unistd.h> #elif defined(__linux__) || defined(__APPLE__) #error all known Linux and Apple targets have alarm #endif #include <gtest/gtest.h> #include <abel/chrono/time.h> namespace { TEST(abe...
35.601852
89
0.610663
Conun
6fd9457de136057b93f10e4a2309325851b8a1bb
835
cpp
C++
Software/app/button.cpp
gotlaufs/rtu-nixie-clock
7fe43f13deb8f5314ce19d00fe6623337c0d0df7
[ "MIT" ]
null
null
null
Software/app/button.cpp
gotlaufs/rtu-nixie-clock
7fe43f13deb8f5314ce19d00fe6623337c0d0df7
[ "MIT" ]
5
2019-02-19T22:23:19.000Z
2019-02-19T22:27:27.000Z
Software/app/button.cpp
gotlaufs/rtu-nixie-clock
7fe43f13deb8f5314ce19d00fe6623337c0d0df7
[ "MIT" ]
null
null
null
#include "button.h" #include <user_config.h> #include <SmingCore/SmingCore.h> Button::Button(unsigned int pin) { pinMode(pin, INPUT); Button::pin = pin; } Button::~Button() { // Nothing to do here.. } // Call this from ISR to register button press void Button::isr() { if (!digitalRead(pin)) { ...
16.7
48
0.560479
gotlaufs
6fda5800291609d002ac9f87342405b2482e5156
1,898
cc
C++
code/addons/qtfeature/qtserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/addons/qtfeature/qtserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/addons/qtfeature/qtserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // qtserver.cc // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "addons/qtfeature/qtserver.h" #include "app/applicati...
21.816092
87
0.4647
gscept
6fea59dfda50f3c313922d2519d436a89483b51c
796
cpp
C++
src/AsyncMutex.cpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
13
2020-10-25T04:02:07.000Z
2022-03-29T13:21:30.000Z
src/AsyncMutex.cpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
18
2020-10-09T04:51:03.000Z
2022-03-01T06:24:23.000Z
src/AsyncMutex.cpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
7
2020-10-23T04:25:28.000Z
2022-03-23T06:52:39.000Z
#include <sharpen/AsyncMutex.hpp> sharpen::AsyncMutex::AsyncMutex() :locked_(false) ,waiters_() ,lock_() {} void sharpen::AsyncMutex::LockAsync() { sharpen::AsyncMutex::MyFuture future; { std::unique_lock<sharpen::SpinLock> lock(this->lock_); if (!this->locked_) { ...
21.513514
72
0.595477
iceBear67
6fec8f850c7023d88c0653256fe2b773befb786d
829
hpp
C++
src/ui/text/client/ServerJoiner.hpp
timorl/neurohex
597be23c6b9109550d96c0eb925b20b6d9f0bea6
[ "MIT" ]
1
2015-08-28T08:09:17.000Z
2015-08-28T08:09:17.000Z
src/ui/text/client/ServerJoiner.hpp
timorl/neurohex
597be23c6b9109550d96c0eb925b20b6d9f0bea6
[ "MIT" ]
null
null
null
src/ui/text/client/ServerJoiner.hpp
timorl/neurohex
597be23c6b9109550d96c0eb925b20b6d9f0bea6
[ "MIT" ]
null
null
null
#ifndef UI_TEXT_CLIENT_SERVERJOINER_HPP #define UI_TEXT_CLIENT_SERVERJOINER_HPP #include"ui/text/CommandShell.hpp" #include"neuroClient/Application.hpp" #include<cassert> namespace ui { namespace text { using Arguments = std::vector<std::string>; /** * @brief Simple shell to connect to server. ...
20.219512
64
0.635706
timorl
6fecc41c6864243b2879fdfa1279a08224b1ae3d
4,425
cpp
C++
example/modify/add_or_modify.cpp
tt4g/winldap-example
4f99d322f24ef75f750a4c5feaab2164b98fe21f
[ "MIT" ]
null
null
null
example/modify/add_or_modify.cpp
tt4g/winldap-example
4f99d322f24ef75f750a4c5feaab2164b98fe21f
[ "MIT" ]
1
2019-06-17T00:47:55.000Z
2019-06-17T03:41:14.000Z
example/modify/add_or_modify.cpp
tt4g/winldap-example
4f99d322f24ef75f750a4c5feaab2164b98fe21f
[ "MIT" ]
null
null
null
#include "modify/add_or_modify.hpp" #include "ldap/ldap_session_impl.hpp" #include "ldap/ldap_message_impl.hpp" #include <windows.h> #include <winldap.h> #include <winber.h> #include <array> #include <iostream> #include <string> namespace tt4g { namespace ldap { namespace { struct str_value_holder__ { str_val...
27.314815
103
0.60113
tt4g
6fef857fff17eca37f41b4e50781c32c035f28dd
1,795
cpp
C++
UVA/193.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/193.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/193.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
// Problem : 193 - Graph isBlacking // Contest : UVa Online Judge // URL : https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=129 // Memory Limit : 32 MB // Time Limit : 3000 ms // Powered by CP Editor (https://github.com/cpeditor/cpeditor) #include<bits/stdc++.h> ...
23.012821
116
0.607799
DT3264
6ff0cd5d3520424a3f08b04020b9cef34e626853
1,343
cpp
C++
cf/1673/A.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
3
2022-03-30T14:14:57.000Z
2022-03-31T04:30:32.000Z
cf/1673/A.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
cf/1673/A.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
// Problem: A. Subtle Substring Subtraction // Contest: Codeforces - Codeforces Round #785 (Div. 2) // URL: https://codeforces.com/contest/1673/problem/A // Memory Limit: 256 MB // Time Limit: 1000 ms // // Handle: chrisann // Date: 2022-04-30 22:41:14 #include <bits/stdc++.h> using namespace std; #define rep(i, a, n)...
23.982143
55
0.459419
Zilanlann